models.certificate_details module¶
-
class
models.certificate_details.
CertificateDetails
(cert_file_name=None, expiry_date=None, host_ips=None, mtype=None)[source]¶ Bases:
object
Implementation of the ‘CertificateDetails’ model.
Specifies details about a certificate.
- Attributes:
- cert_file_name (string): Specifies the filename of the certificate.
This is unique to each certificate generated.
- expiry_date (string): Specifies the date in epoch till when the
certificate is valid.
- host_ips (list of string): Each certificate can be deployed to
multiple hosts. List of all hosts is returned after deployment.
- mtype (TypeCertificateDetailsEnum): Specifies the type of the host
such as ‘kSapHana’, ‘kSapOracle’, etc. Specifies the host type of host for generating and deploying a Certificate. ‘kOther’ indicates it is any of the other hosts. ‘kSapOracle’ indicates it is a SAP Oracle host. ‘kSapHana’ indicates it is a SAP HANA host.
-
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.