organization_deploy_block module

OrganizationDeployBlock

class edgeimpulse_api.models.organization_deploy_block.OrganizationDeployBlock(
		**data: Any
)

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Parameters

  • **data: Any

Bases

  • pydantic.main.BaseModel

  • pydantic.utils.Representation

Class variables

  • Config

  • category: pydantic.types.StrictStr

  • cli_arguments: pydantic.types.StrictStr

  • created: datetime.datetime

  • created_by_user: Optional[edgeimpulse_api.models.created_updated_by_user.CreatedUpdatedByUser]

  • description: pydantic.types.StrictStr

  • docker_container: pydantic.types.StrictStr

  • docker_container_managed_by_edge_impulse: pydantic.types.StrictBool

  • id: pydantic.types.StrictInt

  • integrate_url: Optional[pydantic.types.StrictStr]

  • last_updated: Optional[datetime.datetime]

  • last_updated_by_user: Optional[edgeimpulse_api.models.created_updated_by_user.CreatedUpdatedByUser]

  • limits_cpu: Optional[float]

  • limits_memory: Optional[pydantic.types.StrictInt]

  • mount_learn_block: pydantic.types.StrictBool

  • name: pydantic.types.StrictStr

  • photo: pydantic.types.StrictStr

  • privileged: pydantic.types.StrictBool

  • requests_cpu: Optional[float]

  • requests_memory: Optional[pydantic.types.StrictInt]

  • show_optimizations: pydantic.types.StrictBool

  • source_code_available: pydantic.types.StrictBool

  • supports_eon_compiler: pydantic.types.StrictBool

  • user_id: Optional[pydantic.types.StrictInt]

  • user_name: Optional[pydantic.types.StrictStr]

Static methods

category_validate_enum

edgeimpulse_api.models.organization_deploy_block.category_validate_enum(
		v
)

Parameters

  • v

from_dict

edgeimpulse_api.models.organization_deploy_block.from_dict(
		obj: dict
)> edgeimpulse_api.models.organization_deploy_block.OrganizationDeployBlock

Create an instance of OrganizationDeployBlock from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.organization_deploy_block.OrganizationDeployBlock

from_json

edgeimpulse_api.models.organization_deploy_block.from_json(
		json_str: str
)> edgeimpulse_api.models.organization_deploy_block.OrganizationDeployBlock

Create an instance of OrganizationDeployBlock from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.organization_deploy_block.OrganizationDeployBlock

Methods

to_dict

edgeimpulse_api.models.organization_deploy_block.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.organization_deploy_block.to_json(
		self,
		indent=None
)> str

Returns the JSON representation of the model using alias

Parameters

  • self

  • indent=None

Return

str

to_str

edgeimpulse_api.models.organization_deploy_block.to_str(
		self
)> str

Returns the string representation of the model using alias

Parameters

  • self

Return

str

Last updated