class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Address

The shipping address of the customer.

Attributes

address_line1[RW]

@return [String] The address line1.

address_line2[RW]

@return [String] The address line2.

address_line3[RW]

@return [String] The address line3.

city[RW]

@return [String] The city name.

country[RW]

@return [String] The country name.

postal_code[RW]

@return [String] The postal code.

state[RW]

@return [String] The state name.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/address.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Address',
    type: {
      name: 'Composite',
      class_name: 'Address',
      model_properties: {
        address_line1: {
          client_side_validation: true,
          required: true,
          serialized_name: 'addressLine1',
          type: {
            name: 'String'
          }
        },
        address_line2: {
          client_side_validation: true,
          required: false,
          serialized_name: 'addressLine2',
          type: {
            name: 'String'
          }
        },
        address_line3: {
          client_side_validation: true,
          required: false,
          serialized_name: 'addressLine3',
          type: {
            name: 'String'
          }
        },
        postal_code: {
          client_side_validation: true,
          required: true,
          serialized_name: 'postalCode',
          type: {
            name: 'String'
          }
        },
        city: {
          client_side_validation: true,
          required: true,
          serialized_name: 'city',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: true,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        country: {
          client_side_validation: true,
          required: true,
          serialized_name: 'country',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end