raw_sample_payload module#

class edgeimpulse_api.models.raw_sample_payload.RawSamplePayload(
*,
device_name: StrictStr | None = None,
device_type: StrictStr,
sensors: List[Sensor],
values: List[List[float]],
cropStart: StrictInt | None = None,
cropEnd: StrictInt | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
crop_end: StrictInt | None#
crop_start: StrictInt | None#
device_name: StrictStr | None#
device_type: StrictStr#
classmethod from_dict(
obj: dict,
) RawSamplePayload[source]#

Create an instance of RawSamplePayload from a dict

classmethod from_json(
json_str: str,
) RawSamplePayload[source]#

Create an instance of RawSamplePayload from a JSON string

sensors: List[Sensor]#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

values: List[List[float]]#