admin_add_organization_user_request module#

class edgeimpulse_api.models.admin_add_organization_user_request.AdminAddOrganizationUserRequest(
*,
usernameOrEmail: StrictStr | None = None,
role: OrganizationMemberRole,
datasets: List[StrictStr],
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
datasets: List[StrictStr]#
classmethod from_dict(
obj: dict,
) AdminAddOrganizationUserRequest[source]#

Create an instance of AdminAddOrganizationUserRequest from a dict

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

Create an instance of AdminAddOrganizationUserRequest from a JSON string

role: OrganizationMemberRole#
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

username_or_email: StrictStr | None#