Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation
- Inherits:
-
Object
- Object
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#countrycode ⇒ String
The ISO 3166 two-letter country code.
-
#locality ⇒ String
town or city.
-
#region ⇒ String
state or province.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeviceLocation class as Ruby Hash.
Instance Attribute Details
#countrycode ⇒ String
Returns The ISO 3166 two-letter country code.
17 18 19 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 17 def countrycode @countrycode end |
#locality ⇒ String
town or city.
25 26 27 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 25 def locality @locality end |
#region ⇒ String
state or province.
21 22 23 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 21 def region @region end |
Class Method Details
.mapper ⇒ Object
Mapper for DeviceLocation class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 32 def self.mapper() { required: false, serialized_name: 'DeviceLocation', type: { name: 'Composite', class_name: 'DeviceLocation', model_properties: { countrycode: { required: false, serialized_name: 'countrycode', type: { name: 'String' } }, region: { required: false, serialized_name: 'region', type: { name: 'String' } }, locality: { required: false, serialized_name: 'locality', type: { name: 'String' } } } } } end |