class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation
Model object.
Attributes
countrycode[RW]
@return [String] The ISO 3166 two-letter country code.
locality[RW]
@return [String] A locality within the administrative region, such as a town or city.
region[RW]
@return [String] An administrative region of the nation, such as a state or province.
Private Class Methods
mapper()
click to toggle source
Mapper for DeviceLocation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeviceLocation', type: { name: 'Composite', class_name: 'DeviceLocation', model_properties: { countrycode: { client_side_validation: true, required: false, serialized_name: 'countrycode', type: { name: 'String' } }, region: { client_side_validation: true, required: false, serialized_name: 'region', type: { name: 'String' } }, locality: { client_side_validation: true, required: false, serialized_name: 'locality', type: { name: 'String' } } } } } end