organization_dsp_block module

OrganizationDspBlock

class edgeimpulse_api.models.organization_dsp_block.OrganizationDspBlock(
		**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

  • 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

  • error: Optional[pydantic.types.StrictStr]

  • id: pydantic.types.StrictInt

  • is_connected: pydantic.types.StrictBool

  • 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]

  • name: pydantic.types.StrictStr

  • port: pydantic.types.StrictInt

  • requests_cpu: Optional[float]

  • requests_memory: Optional[pydantic.types.StrictInt]

  • source_code_available: pydantic.types.StrictBool

  • user_id: Optional[pydantic.types.StrictInt]

  • user_name: Optional[pydantic.types.StrictStr]

Static methods

from_dict

edgeimpulse_api.models.organization_dsp_block.from_dict(
		obj: dict
)> edgeimpulse_api.models.organization_dsp_block.OrganizationDspBlock

Create an instance of OrganizationDspBlock from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.organization_dsp_block.OrganizationDspBlock

from_json

edgeimpulse_api.models.organization_dsp_block.from_json(
		json_str: str
)> edgeimpulse_api.models.organization_dsp_block.OrganizationDspBlock

Create an instance of OrganizationDspBlock from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.organization_dsp_block.OrganizationDspBlock

Methods

to_dict

edgeimpulse_api.models.organization_dsp_block.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json