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: Optional[List[edgeimpulse_api.models.whitelabel_custom_deployment_blocks_inner.WhitelabelCustomDeploymentBlocksInner]]

  • default_deployment_target: Optional[pydantic.types.StrictStr]

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

  • deployment_targets: List[pydantic.types.StrictStr]

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

  • domain: pydantic.types.StrictStr

  • expose_public_projects: Optional[pydantic.types.StrictBool]

  • id: pydantic.types.StrictInt

  • identity_providers: List[pydantic.types.StrictStr]

  • learning_blocks: List[pydantic.types.StrictStr]

  • name: pydantic.types.StrictStr

  • owner_organization_id: Optional[pydantic.types.StrictInt]

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

  • theme: Optional[edgeimpulse_api.models.theme.Theme]

  • 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