OauthClient

class edgeimpulse_api.models.oauth_client.OauthClient(
		**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 The type of the None singleton.
  • allowed_grant_types: List[edgeimpulse_api.models.oauth_grant_type.OauthGrantType] | None The type of the None singleton.
  • client_id: pydantic.types.StrictStr The type of the None singleton.
  • created_at: datetime.datetime The type of the None singleton.
  • created_by_user_email: pydantic.types.StrictStr | None The type of the None singleton.
  • created_by_user_id: pydantic.types.StrictInt The type of the None singleton.
  • created_by_user_name: pydantic.types.StrictStr | None The type of the None singleton.
  • description: pydantic.types.StrictStr | None The type of the None singleton.
  • id: pydantic.types.StrictInt The type of the None singleton.
  • logo_url: pydantic.types.StrictStr | None The type of the None singleton.
  • name: pydantic.types.StrictStr The type of the None singleton.
  • owner_name: pydantic.types.StrictStr | None The type of the None singleton.
  • owner_url: pydantic.types.StrictStr | None The type of the None singleton.
  • redirect_uris: List[pydantic.types.StrictStr] | None The type of the None singleton.
  • requires_consent: pydantic.types.StrictBool | None The type of the None singleton.
  • scopes: List[edgeimpulse_api.models.o_auth_scope.OAuthScope] | None The type of the None singleton.

Static methods

from_dict

edgeimpulse_api.models.oauth_client.from_dict(
		obj: dict
) ‑> edgeimpulse_api.models.oauth_client.OauthClient
Create an instance of OauthClient from a dict Parameters
  • obj: dict
Return edgeimpulse_api.models.oauth_client.OauthClient

from_json

edgeimpulse_api.models.oauth_client.from_json(
		json_str: str
) ‑> edgeimpulse_api.models.oauth_client.OauthClient
Create an instance of OauthClient from a JSON string Parameters
  • json_str: str
Return edgeimpulse_api.models.oauth_client.OauthClient

Methods

to_dict

edgeimpulse_api.models.oauth_client.to_dict(
		self
)
Returns the dictionary representation of the model using alias Parameters
  • self

to_json

edgeimpulse_api.models.oauth_client.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.oauth_client.to_str(
		self
) ‑> str
Returns the string representation of the model using alias Parameters
  • self
Return str