# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Address information for domain registration # class Address include MsRestAzure # @return [String] Address 1 attr_accessor :address1 # @return [String] Address 2 attr_accessor :address2 # @return [String] City attr_accessor :city # @return [String] Country attr_accessor :country # @return [String] Postal code attr_accessor :postal_code # @return [String] State attr_accessor :state # # Mapper for Address class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Address', type: { name: 'Composite', class_name: 'Address', model_properties: { address1: { required: false, serialized_name: 'address1', type: { name: 'String' } }, address2: { required: false, serialized_name: 'address2', type: { name: 'String' } }, city: { required: false, serialized_name: 'city', type: { name: 'String' } }, country: { required: false, serialized_name: 'country', type: { name: 'String' } }, postal_code: { required: false, serialized_name: 'postalCode', type: { name: 'String' } }, state: { required: false, serialized_name: 'state', type: { name: 'String' } } } } } end end end end