Documentation Index
Fetch the complete documentation index at: https://docs.nordic.edgeimpulse.com/llms.txt
Use this file to discover all available pages before exploring further.
DataCampaignGraph
class edgeimpulse_api.models.data_campaign_graph.DataCampaignGraph(
**data: Any
)
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Parameters
Bases
- pydantic.main.BaseModel
- pydantic.utils.Representation
Class variables
-
Config
The type of the None singleton.
-
link: pydantic.types.StrictStr
The type of the None singleton.
-
next_update: datetime.datetime
The type of the None singleton.
-
title: pydantic.types.StrictStr
The type of the None singleton.
-
x_data: List[edgeimpulse_api.models.data_campaign_graph_x_data_inner.DataCampaignGraphXDataInner]
The type of the None singleton.
-
y_ticks: List[datetime.datetime]
The type of the None singleton.
Static methods
from_dict
edgeimpulse_api.models.data_campaign_graph.from_dict(
obj: dict
) ‑> edgeimpulse_api.models.data_campaign_graph.DataCampaignGraph
Create an instance of DataCampaignGraph from a dict
Parameters
Return
edgeimpulse_api.models.data_campaign_graph.DataCampaignGraph
from_json
edgeimpulse_api.models.data_campaign_graph.from_json(
json_str: str
) ‑> edgeimpulse_api.models.data_campaign_graph.DataCampaignGraph
Create an instance of DataCampaignGraph from a JSON string
Parameters
Return
edgeimpulse_api.models.data_campaign_graph.DataCampaignGraph
Methods
to_dict
edgeimpulse_api.models.data_campaign_graph.to_dict(
self
)
Returns the dictionary representation of the model using alias
Parameters
to_json
edgeimpulse_api.models.data_campaign_graph.to_json(
self,
indent=None
) ‑> str
Returns the JSON representation of the model using alias
Parameters
Return
str
to_str
edgeimpulse_api.models.data_campaign_graph.to_str(
self
) ‑> str
Returns the string representation of the model using alias
Parameters
Return
str