Sha256: dfed122d55293224504b7ed5db97a286a796d57929b6fa5f6e6244cd5f2c71a7

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::IotHub::Mgmt::V2017_07_01
  module Models
    #
    # The JSON-serialized X509 Certificate.
    #
    class CertificateBodyDescription

      include MsRestAzure

      # @return [String] base-64 representation of the X509 leaf certificate
      # .cer file or just .pem file content.
      attr_accessor :certificate


      #
      # Mapper for CertificateBodyDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'CertificateBodyDescription',
          type: {
            name: 'Composite',
            class_name: 'CertificateBodyDescription',
            model_properties: {
              certificate: {
                required: false,
                serialized_name: 'certificate',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.15.1 lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb
azure_mgmt_iot_hub-0.15.0 lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb