update_organization_dsp_block_request module#

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

Bases: BaseModel

class Config[source]#

Bases: object

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

Create an instance of UpdateOrganizationDspBlockRequest from a dict

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

Create an instance of UpdateOrganizationDspBlockRequest from a JSON string

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