Class: Azure::IotHub::Mgmt::V2018_01_22::Models::CertificatePropertiesWithNonce

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb

Overview

The description of an X509 CA Certificate including the challenge nonce issued for the Proof-Of-Possession flow.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#createdDateTime

Returns The certificate’s create date and time.

Returns:

  • (DateTime)

    The certificate’s create date and time.



29
30
31
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 29

def created
  @created
end

#expiryDateTime

Returns The certificate’s expiration date and time.

Returns:

  • (DateTime)

    The certificate’s expiration date and time.



20
21
22
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 20

def expiry
  @expiry
end

#is_verifiedBoolean

Returns Determines whether certificate has been verified.

Returns:

  • (Boolean)

    Determines whether certificate has been verified.



26
27
28
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 26

def is_verified
  @is_verified
end

#subjectString

Returns The certificate’s subject name.

Returns:

  • (String)

    The certificate’s subject name.



17
18
19
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 17

def subject
  @subject
end

#thumbprintString

Returns The certificate’s thumbprint.

Returns:

  • (String)

    The certificate’s thumbprint.



23
24
25
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 23

def thumbprint
  @thumbprint
end

#updatedDateTime

Returns The certificate’s last update date and time.

Returns:

  • (DateTime)

    The certificate’s last update date and time.



32
33
34
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 32

def updated
  @updated
end

#verification_codeString

for proof of possession.

Returns:

  • (String)

    The certificate’s verification code that will be used



36
37
38
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 36

def verification_code
  @verification_code
end

Class Method Details

.mapperObject

Mapper for CertificatePropertiesWithNonce class as Ruby Hash. This will be used for serialization/deserialization.



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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificatePropertiesWithNonce',
    type: {
      name: 'Composite',
      class_name: 'CertificatePropertiesWithNonce',
      model_properties: {
        subject: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'subject',
          type: {
            name: 'String'
          }
        },
        expiry: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'expiry',
          type: {
            name: 'DateTimeRfc1123'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'thumbprint',
          type: {
            name: 'String'
          }
        },
        is_verified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isVerified',
          type: {
            name: 'Boolean'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'created',
          type: {
            name: 'DateTimeRfc1123'
          }
        },
        updated: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'updated',
          type: {
            name: 'DateTimeRfc1123'
          }
        },
        verification_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'verificationCode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end