Sha256: e04d254fe60370191711f135d04541c7589dc629147692e58a3bf6c21c7d0cb4

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

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

module Azure::ARM::Web
  module Models
    #
    # Represents a legal agreement for top level domain
    #
    class TldLegalAgreement

      include MsRestAzure

      # @return [String] Unique identifier for the agreement
      attr_accessor :agreement_key

      # @return [String] Agreement title
      attr_accessor :title

      # @return [String] Agreement details
      attr_accessor :content

      # @return [String] Url where a copy of the agreement details is hosted
      attr_accessor :url


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.8.0 lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb