Class: Azure::ApiManagement::Mgmt::V2019_12_01::Models::CertificateInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb

Overview

SSL certificate information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#expiryDateTime

conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.



18
19
20
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 18

def expiry
  @expiry
end

#subjectString



24
25
26
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 24

def subject
  @subject
end

#thumbprintString



21
22
23
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb', line 21

def thumbprint
  @thumbprint
end

Class Method Details

.mapperObject

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-12-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