whitelabel module#

class edgeimpulse_api.models.whitelabel.Whitelabel(
*,
id: StrictInt,
name: StrictStr,
domain: StrictStr,
ownerOrganizationId: StrictInt | None = None,
themeId: StrictInt,
theme: Theme | None = None,
identityProviders: List[StrictStr],
allowPasswordAuth: StrictBool,
deploymentTargets: List[StrictStr],
allDeploymentTargets: List[StrictStr],
customDeploymentBlocks: List[WhitelabelCustomDeploymentBlocksInner] | None = None,
deploymentOptionsOrder: List[StrictStr] | None = None,
allowSignup: StrictBool,
allowFreeProjects: StrictBool,
exposePublicProjects: StrictBool | None = None,
defaultDeploymentTarget: StrictStr | None = None,
supportedProjectTypes: List[ProjectType],
allowNewProjectUi: StrictBool,
learningBlocks: List[StrictStr],
allLearningBlocks: List[WhitelabelAllLearningBlocksInner],
developmentBoards: List[DevelopmentBoardResponse],
allDevelopmentBoards: List[DevelopmentBoardResponse],
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
all_deployment_targets: List[StrictStr]#
all_development_boards: List[DevelopmentBoardResponse]#
all_learning_blocks: List[WhitelabelAllLearningBlocksInner]#
allow_free_projects: StrictBool#
allow_new_project_ui: StrictBool#
allow_password_auth: StrictBool#
allow_signup: StrictBool#
custom_deployment_blocks: List[WhitelabelCustomDeploymentBlocksInner] | None#
default_deployment_target: StrictStr | None#
deployment_options_order: List[StrictStr] | None#
deployment_targets: List[StrictStr]#
development_boards: List[DevelopmentBoardResponse]#
domain: StrictStr#
expose_public_projects: StrictBool | None#
classmethod from_dict(obj: dict) Whitelabel[source]#

Create an instance of Whitelabel from a dict

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

Create an instance of Whitelabel from a JSON string

id: StrictInt#
identity_providers: List[StrictStr]#
learning_blocks: List[StrictStr]#
name: StrictStr#
owner_organization_id: StrictInt | None#
supported_project_types: List[ProjectType]#
theme: Theme | None#
theme_id: StrictInt#
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