get_user_response module
GetUserResponse
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_accessed_projects: edgeimpulse_api.models.get_user_response_all_of_last_accessed_projects.GetUserResponseAllOfLastAccessedProjects
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]
private_personal_projects_used: pydantic.types.StrictInt
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
timezone: Optional[pydantic.types.StrictStr]
username: pydantic.types.StrictStr
whitelabels: Optional[List[edgeimpulse_api.models.get_user_response_all_of_whitelabels.GetUserResponseAllOfWhitelabels]]
Static methods
from_dict
Create an instance of GetUserResponse from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.get_user_response.GetUserResponse
from_json
Create an instance of GetUserResponse from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.get_user_response.GetUserResponse
Methods
to_dict
Returns the dictionary representation of the model using alias
Parameters
self
to_json
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
to_str
Returns the string representation of the model using alias
Parameters
self
Return
str
Last updated