class Azure::Network::Mgmt::V2019_08_01::Models::AzureReachabilityReportLocation

Parameters that define a geographic location.

Attributes

city[RW]

@return [String] The name of the city or town.

country[RW]

@return [String] The name of the country.

state[RW]

@return [String] The name of the state.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureReachabilityReportLocation',
    type: {
      name: 'Composite',
      class_name: 'AzureReachabilityReportLocation',
      model_properties: {
        country: {
          client_side_validation: true,
          required: true,
          serialized_name: 'country',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        city: {
          client_side_validation: true,
          required: false,
          serialized_name: 'city',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end