Class: Azure::ApiManagement::Mgmt::V2019_01_01::Models::CertificateInformation
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2019_01_01::Models::CertificateInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb
Overview
SSL certificate information.
Instance Attribute Summary collapse
-
#expiry ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
-
#subject ⇒ String
Subject of the certificate.
-
#thumbprint ⇒ String
Thumbprint of the certificate.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateInformation class as Ruby Hash.
Instance Attribute Details
#expiry ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
18 19 20 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 18 def expiry @expiry end |
#subject ⇒ String
Returns Subject of the certificate.
24 25 26 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 24 def subject @subject end |
#thumbprint ⇒ String
Returns Thumbprint of the certificate.
21 22 23 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 21 def thumbprint @thumbprint end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateInformation class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateInformation', type: { name: 'Composite', class_name: 'CertificateInformation', model_properties: { expiry: { client_side_validation: true, required: true, serialized_name: 'expiry', type: { name: 'DateTime' } }, thumbprint: { client_side_validation: true, required: true, serialized_name: 'thumbprint', type: { name: 'String' } }, subject: { client_side_validation: true, required: true, serialized_name: 'subject', type: { name: 'String' } } } } } end |