Sha256: a7975dc38abd1abf5665092eecaa1485afbe2d92439e65d15d29576fcc30322c

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 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::ARM::Web
  module Models
    #
    # Legal agreement for a 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: true,
                serialized_name: 'agreementKey',
                type: {
                  name: 'String'
                }
              },
              title: {
                required: true,
                serialized_name: 'title',
                type: {
                  name: 'String'
                }
              },
              content: {
                required: true,
                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.14.0 lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb