raw_sample_payload

edgeimpulse_api v1.0.0

edgeimpulse_api.models.raw_sample_payload module

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

Bases: BaseModel

class Config()

Bases: object

allow_population_by_field_name(_ = Tru_ )

validate_assignment(_ = Tru_ )

crop_end(: Optional[StrictInt )

crop_start(: Optional[StrictInt )

device_name(: Optional[StrictStr )

device_type(: StrictSt )

classmethod from_dict(obj: dict)

Create an instance of RawSamplePayload from a dict

classmethod from_json(json_str: str)

Create an instance of RawSamplePayload from a JSON string

sensors(: List[Sensor )

to_dict()

Returns the dictionary representation of the model using alias

to_json()

Returns the JSON representation of the model using alias

to_str()

Returns the string representation of the model using alias

values(: List[List[float] )

Last updated

Was this helpful?