sample

edgeimpulse_api v1.0.0

edgeimpulse_api.models.sample module

class edgeimpulse_api.models.sample.Sample(*, id: StrictInt, filename: StrictStr, signatureValidate: StrictBool, signatureMethod: Optional[StrictStr] = None, signatureKey: Optional[StrictStr] = None, created: datetime, category: StrictStr, coldstorageFilename: StrictStr, label: StrictStr, intervalMs: float, frequency: float, originalIntervalMs: float, originalFrequency: float, deviceName: Optional[StrictStr] = None, deviceType: StrictStr, sensors: List[Sensor], valuesCount: StrictInt, totalLengthMs: Optional[float] = None, added: datetime, boundingBoxes: List[BoundingBox], boundingBoxesType: StrictStr, chartType: StrictStr, thumbnailVideo: Optional[StrictStr] = None, thumbnailVideoFull: Optional[StrictStr] = None, isDisabled: StrictBool, isProcessing: StrictBool, processingJobId: Optional[StrictInt] = None, processingError: StrictBool, processingErrorString: Optional[StrictStr] = None, metadata: Optional[Dict[str, StrictStr]] = None, projectId: StrictInt, projectOwnerName: Optional[StrictStr] = None, projectName: Optional[StrictStr] = None, projectLabelingMethod: Optional[StrictStr] = None)

Bases: BaseModel

class Config()

Bases: object

allow_population_by_field_name(_ = Tru_ )

validate_assignment(_ = Tru_ )

added(: datetim )

bounding_boxes(: List[BoundingBox )

bounding_boxes_type(: StrictSt )

classmethod bounding_boxes_type_validate_enum(v)

category(: StrictSt )

chart_type(: StrictSt )

classmethod chart_type_validate_enum(v)

coldstorage_filename(: StrictSt )

created(: datetim )

device_name(: Optional[StrictStr )

device_type(: StrictSt )

filename(: StrictSt )

frequency(: floa )

classmethod from_dict(obj: dict)

Create an instance of Sample from a dict

classmethod from_json(json_str: str)

Create an instance of Sample from a JSON string

id(: StrictIn )

interval_ms(: floa )

is_disabled(: StrictBoo )

is_processing(: StrictBoo )

label(: StrictSt )

metadata(: Optional[Dict[str, StrictStr] )

original_frequency(: floa )

original_interval_ms(: floa )

processing_error(: StrictBoo )

processing_error_string(: Optional[StrictStr )

processing_job_id(: Optional[StrictInt )

project_id(: StrictIn )

project_labeling_method(: Optional[StrictStr )

classmethod project_labeling_method_validate_enum(v)

project_name(: Optional[StrictStr )

project_owner_name(: Optional[StrictStr )

sensors(: List[Sensor )

signature_key(: Optional[StrictStr )

signature_method(: Optional[StrictStr )

signature_validate(: StrictBoo )

thumbnail_video(: Optional[StrictStr )

thumbnail_video_full(: Optional[StrictStr )

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

total_length_ms(: Optional[float )

values_count(: StrictIn )

Last updated

Was this helpful?