add_api_key_request

edgeimpulse_api v1.0.0

edgeimpulse_api.models.add_api_key_request module

class edgeimpulse_api.models.add_api_key_request.AddApiKeyRequest(*, name: StrictStr, apiKey: StrictStr, isDevelopmentKey: StrictBool, role: StrictStr)

Bases: BaseModel

class Config()

Bases: object

allow_population_by_field_name(_ = Tru_ )

validate_assignment(_ = Tru_ )

api_key(: StrictSt )

classmethod from_dict(obj: dict)

Create an instance of AddApiKeyRequest from a dict

classmethod from_json(json_str: str)

Create an instance of AddApiKeyRequest from a JSON string

is_development_key(: StrictBoo )

name(: StrictSt )

role(: StrictSt )

classmethod role_validate_enum(v)

to_dict()

Returns the dictionary representation of the model using alias

to_json()

Returns the JSON representation of the model using alias

to_str()

Returns the string representation of the model using alias

Last updated

Was this helpful?