get_user_response module

GetUserResponse

class edgeimpulse_api.models.get_user_response.GetUserResponse(
		**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

  • activated: pydantic.types.StrictBool

  • active_enterprise_trial: Optional[edgeimpulse_api.models.enterprise_trial.EnterpriseTrial]

  • ambassador: Optional[pydantic.types.StrictBool]

  • company_name: Optional[pydantic.types.StrictStr]

  • created: datetime.datetime

  • email: pydantic.types.StrictStr

  • error: Optional[pydantic.types.StrictStr]

  • evaluation: Optional[pydantic.types.StrictBool]

  • experiments: List[edgeimpulse_api.models.user_experiment.UserExperiment]

  • has_enterprise_features_access: pydantic.types.StrictBool

  • has_pending_payments: Optional[pydantic.types.StrictBool]

  • id: pydantic.types.StrictInt

  • job_title: Optional[pydantic.types.StrictStr]

  • last_seen: Optional[datetime.datetime]

  • last_tos_acceptance_date: Optional[datetime.datetime]

  • mfa_configured: pydantic.types.StrictBool

  • name: pydantic.types.StrictStr

  • notifications: List[pydantic.types.StrictStr]

  • organizations: List[edgeimpulse_api.models.user_organization.UserOrganization]

  • password_configured: pydantic.types.StrictBool

  • pending: pydantic.types.StrictBool

  • permissions: Optional[List[edgeimpulse_api.models.permission.Permission]]

  • photo: Optional[pydantic.types.StrictStr]

  • projects: List[edgeimpulse_api.models.project.Project]

  • projects_sort_order: edgeimpulse_api.models.user_projects_sort_order.UserProjectsSortOrder

  • staff_info: edgeimpulse_api.models.staff_info.StaffInfo

  • stripe_customer_id: Optional[pydantic.types.StrictStr]

  • subscription_downgrade_date: Optional[datetime.datetime]

  • subscription_termination_date: Optional[datetime.datetime]

  • success: pydantic.types.StrictBool

  • suspended: pydantic.types.StrictBool

  • tier: edgeimpulse_api.models.user_tier_enum.UserTierEnum

  • username: pydantic.types.StrictStr

  • whitelabels: Optional[List[edgeimpulse_api.models.get_user_response_all_of_whitelabels.GetUserResponseAllOfWhitelabels]]

Static methods

from_dict

edgeimpulse_api.models.get_user_response.from_dict(
		obj: dict
)> edgeimpulse_api.models.get_user_response.GetUserResponse

Create an instance of GetUserResponse from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.get_user_response.GetUserResponse

from_json

edgeimpulse_api.models.get_user_response.from_json(
		json_str: str
)> edgeimpulse_api.models.get_user_response.GetUserResponse

Create an instance of GetUserResponse from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.get_user_response.GetUserResponse

Methods

to_dict