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: edgeimpulse_api.models.enterprise_trial.EnterpriseTrial | None

  • ambassador: pydantic.types.StrictBool | None

  • company_name: pydantic.types.StrictStr | None

  • created: datetime.datetime

  • email: pydantic.types.StrictStr

  • error: pydantic.types.StrictStr | None

  • evaluation: pydantic.types.StrictBool | None

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

  • has_enterprise_features_access: pydantic.types.StrictBool

  • has_pending_payments: pydantic.types.StrictBool | None

  • id: pydantic.types.StrictInt

  • job_title: pydantic.types.StrictStr | None

  • last_accessed_projects: edgeimpulse_api.models.get_user_response_all_of_last_accessed_projects.GetUserResponseAllOfLastAccessedProjects

  • last_seen: datetime.datetime | None

  • last_tos_acceptance_date: datetime.datetime | None

  • 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: List[edgeimpulse_api.models.permission.Permission] | None

  • photo: pydantic.types.StrictStr | None

  • 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: pydantic.types.StrictStr | None

  • subscription_downgrade_date: datetime.datetime | None

  • subscription_termination_date: datetime.datetime | None

  • success: pydantic.types.StrictBool

  • suspended: pydantic.types.StrictBool

  • tier: edgeimpulse_api.models.user_tier_enum.UserTierEnum

  • timezone: pydantic.types.StrictStr | None

  • username: pydantic.types.StrictStr

  • whitelabels: List[edgeimpulse_api.models.get_user_response_all_of_whitelabels.GetUserResponseAllOfWhitelabels] | None

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

edgeimpulse_api.models.get_user_response.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.get_user_response.to_json(
		self,
		indent=None
)> str

Returns the JSON representation of the model using alias

Parameters

  • self

  • indent=None

Return

str

to_str

edgeimpulse_api.models.get_user_response.to_str(
		self
)> str

Returns the string representation of the model using alias

Parameters

  • self

Return

str

Last updated