models_v2.register_trusted_cas module

class models_v2.register_trusted_cas.RegisterTrustedCas(certificates=None, only_validate=None)[source]

Bases: object

Implementation of the ‘RegisterTrustedCas’ model.

Specifies the parameters to register a Certificate.

Attributes:
certificates (list of TrustedCaRequest): Specifies the certificates to

be imported.

only_validate (bool): Specifies if the certificates are only to be

validated.

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.