models.update_api_key_params module

class models.update_api_key_params.UpdateApiKeyParams(expiring_time_msecs=None, is_active=None, name=None)[source]

Bases: object

Implementation of the ‘UpdateApiKeyParams’ model.

Specifies the parameters to create an API key.

Attributes:
expiring_time_msecs (int|long): Specifies a time stamp when the API

key will expire in milli seconds.

is_active (bool): Specifies if the API key is active. Only an active

and not expired API key can be used for authentication.

name (string, required): Specifies the name of API key.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.