add_organization_dsp_block_request module#

class edgeimpulse_api.models.add_organization_dsp_block_request.AddOrganizationDspBlockRequest(
*,
name: StrictStr,
dockerContainer: StrictStr,
description: StrictStr,
requestsCpu: float | None = None,
requestsMemory: StrictInt | None = None,
limitsCpu: float | None = None,
limitsMemory: StrictInt | None = None,
port: StrictInt,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
description: StrictStr#
docker_container: StrictStr#
classmethod from_dict(
obj: dict,
) AddOrganizationDspBlockRequest[source]#

Create an instance of AddOrganizationDspBlockRequest from a dict

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

Create an instance of AddOrganizationDspBlockRequest from a JSON string

limits_cpu: float | None#
limits_memory: StrictInt | None#
name: StrictStr#
port: StrictInt#
requests_cpu: float | None#
requests_memory: StrictInt | None#
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