whitelabel module

Whitelabel

class edgeimpulse_api.models.whitelabel.Whitelabel(
		**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

  • all_deployment_targets: List[pydantic.types.StrictStr]

  • all_development_boards: List[edgeimpulse_api.models.development_board_response.DevelopmentBoardResponse]

  • all_learning_blocks: List[edgeimpulse_api.models.whitelabel_all_learning_blocks_inner.WhitelabelAllLearningBlocksInner]

  • allow_free_projects: pydantic.types.StrictBool

  • allow_new_project_ui: pydantic.types.StrictBool

  • allow_password_auth: pydantic.types.StrictBool

  • allow_signup: pydantic.types.StrictBool

  • custom_deployment_blocks: List[edgeimpulse_api.models.whitelabel_custom_deployment_blocks_inner.WhitelabelCustomDeploymentBlocksInner] | None

  • default_deployment_target: pydantic.types.StrictStr | None

  • deployment_options_order: List[pydantic.types.StrictStr] | None

  • deployment_targets: List[pydantic.types.StrictStr]

  • development_boards: List[edgeimpulse_api.models.development_board_response.DevelopmentBoardResponse]

  • domain: pydantic.types.StrictStr

  • expose_public_projects: pydantic.types.StrictBool | None

  • id: pydantic.types.StrictInt

  • identity_providers: List[pydantic.types.StrictStr]

  • learning_blocks: List[pydantic.types.StrictStr]

  • name: pydantic.types.StrictStr

  • organizations_limit: pydantic.types.StrictInt | None

  • owner_organization_id: pydantic.types.StrictInt | None

  • supported_project_types: List[edgeimpulse_api.models.project_type.ProjectType]

  • theme: edgeimpulse_api.models.theme.Theme | None

  • theme_id: pydantic.types.StrictInt

Static methods

from_dict

edgeimpulse_api.models.whitelabel.from_dict(
		obj: dict
)> edgeimpulse_api.models.whitelabel.Whitelabel

Create an instance of Whitelabel from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.whitelabel.Whitelabel

from_json

edgeimpulse_api.models.whitelabel.from_json(
		json_str: str
)> edgeimpulse_api.models.whitelabel.Whitelabel

Create an instance of Whitelabel from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.whitelabel.Whitelabel

Methods

to_dict

edgeimpulse_api.models.whitelabel.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.whitelabel.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.whitelabel.to_str(
		self
)> str

Returns the string representation of the model using alias

Parameters

  • self

Return

str

Last updated