class Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce

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

Attributes

created[RW]

@return [DateTime] The certificate's create date and time.

expiry[RW]

@return [DateTime] The certificate's expiration date and time.

is_verified[RW]

@return [Boolean] Determines whether certificate has been verified.

subject[RW]

@return [String] The certificate's subject name.

thumbprint[RW]

@return [String] The certificate's thumbprint.

updated[RW]

@return [DateTime] The certificate's last update date and time.

verification_code[RW]

@return [String] The certificate's verification code that will be used for proof of possession.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-07-01/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