create_device_request module#

class edgeimpulse_api.models.create_device_request.CreateDeviceRequest(
*,
deviceId: StrictStr,
deviceType: StrictStr,
ifNotExists: StrictBool,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
device_id: StrictStr#
device_type: StrictStr#
classmethod from_dict(
obj: dict,
) CreateDeviceRequest[source]#

Create an instance of CreateDeviceRequest from a dict

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

Create an instance of CreateDeviceRequest from a JSON string

if_not_exists: 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