organization_deploy_block module#

class edgeimpulse_api.models.organization_deploy_block.OrganizationDeployBlock(
*,
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,
cliArguments: StrictStr,
requestsCpu: float | None = None,
requestsMemory: StrictInt | None = None,
limitsCpu: float | None = None,
limitsMemory: StrictInt | None = None,
photo: StrictStr,
integrateUrl: StrictStr | None = None,
privileged: StrictBool,
mountLearnBlock: StrictBool,
supportsEonCompiler: StrictBool,
showOptimizations: StrictBool,
category: StrictStr,
sourceCodeAvailable: StrictBool,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

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

Create an instance of OrganizationDeployBlock from a dict

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

Create an instance of OrganizationDeployBlock from a JSON string

id: StrictInt#
integrate_url: StrictStr | None#
last_updated: datetime | None#
last_updated_by_user: CreatedUpdatedByUser | None#
limits_cpu: float | None#
limits_memory: StrictInt | None#
mount_learn_block: StrictBool#
name: StrictStr#
photo: StrictStr#
privileged: StrictBool#
requests_cpu: float | None#
requests_memory: StrictInt | None#
show_optimizations: StrictBool#
source_code_available: StrictBool#
supports_eon_compiler: 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#