create_whitelabel_request module

CreateWhitelabelRequest

class edgeimpulse_api.models.create_whitelabel_request.CreateWhitelabelRequest(
		**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

  • allow_free_projects: Optional[pydantic.types.StrictBool]

  • allow_password_auth: Optional[pydantic.types.StrictBool]

  • allow_signup: Optional[pydantic.types.StrictBool]

  • deployment_targets: Optional[List[pydantic.types.StrictStr]]

  • documentation_url: Optional[pydantic.types.StrictStr]

  • domain: pydantic.types.StrictStr

  • expose_public_projects: Optional[pydantic.types.StrictBool]

  • identity_providers: Optional[List[pydantic.types.StrictStr]]

  • learning_blocks: Optional[List[pydantic.types.StrictStr]]

  • name: pydantic.types.StrictStr

  • owner_organization_id: pydantic.types.StrictInt

  • sandboxed: Optional[pydantic.types.StrictBool]

Static methods

from_dict

edgeimpulse_api.models.create_whitelabel_request.from_dict(
		obj: dict
)> edgeimpulse_api.models.create_whitelabel_request.CreateWhitelabelRequest

Create an instance of CreateWhitelabelRequest from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.create_whitelabel_request.CreateWhitelabelRequest

from_json

edgeimpulse_api.models.create_whitelabel_request.from_json(
		json_str: str
)> edgeimpulse_api.models.create_whitelabel_request.CreateWhitelabelRequest

Create an instance of CreateWhitelabelRequest from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.create_whitelabel_request.CreateWhitelabelRequest

Methods

to_dict

edgeimpulse_api.models.create_whitelabel_request.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.create_whitelabel_request.to_json(
		self
)> str

Returns the JSON representation of the model using alias

Parameters

  • self

Return

str