classify_sample_response module#

class edgeimpulse_api.models.classify_sample_response.ClassifySampleResponse(
*,
success: StrictBool,
error: StrictStr | None = None,
classifications: List[ClassifySampleResponseClassification],
sample: RawSampleData,
windowSizeMs: StrictInt,
windowIncreaseMs: StrictInt,
alreadyInDatabase: StrictBool,
warning: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
already_in_database: StrictBool#
classifications: List[ClassifySampleResponseClassification]#
error: StrictStr | None#
classmethod from_dict(
obj: dict,
) ClassifySampleResponse[source]#

Create an instance of ClassifySampleResponse from a dict

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

Create an instance of ClassifySampleResponse from a JSON string

sample: RawSampleData#
success: StrictBool#
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

warning: StrictStr | None#
window_increase_ms: StrictInt#
window_size_ms: StrictInt#