organization_dsp_block module#

class edgeimpulse_api.models.organization_dsp_block.OrganizationDspBlock(
*,
id: StrictInt,
name: StrictStr,
dockerContainer: StrictStr,
dockerContainerManagedByEdgeImpulse: StrictBool,
created: datetime,
createdByUser: CreatedUpdatedByUser | None = None,
lastUpdated: datetime | None = None,
lastUpdatedByUser: CreatedUpdatedByUser | None = None,
userId: StrictInt | None = None,
userName: StrictStr | None = None,
description: StrictStr,
requestsCpu: float | None = None,
requestsMemory: StrictInt | None = None,
limitsCpu: float | None = None,
limitsMemory: StrictInt | None = None,
port: StrictInt,
isConnected: StrictBool,
error: StrictStr | None = None,
sourceCodeAvailable: StrictBool,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
created: datetime#
created_by_user: CreatedUpdatedByUser | None#
description: StrictStr#
docker_container: StrictStr#
docker_container_managed_by_edge_impulse: StrictBool#
error: StrictStr | None#
classmethod from_dict(
obj: dict,
) OrganizationDspBlock[source]#

Create an instance of OrganizationDspBlock from a dict

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

Create an instance of OrganizationDspBlock from a JSON string

id: StrictInt#
is_connected: StrictBool#
last_updated: datetime | None#
last_updated_by_user: CreatedUpdatedByUser | None#
limits_cpu: float | None#
limits_memory: StrictInt | None#
name: StrictStr#
port: StrictInt#
requests_cpu: float | None#
requests_memory: StrictInt | None#
source_code_available: 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

user_id: StrictInt | None#
user_name: StrictStr | None#