Class: Azure::ARM::MobileEngagement::Models::DeviceLocation
- Inherits:
-
Object
- Object
- Azure::ARM::MobileEngagement::Models::DeviceLocation
- Includes:
- MsRestAzure
- Defined in:
- lib/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
a 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.
16 17 18 |
# File 'lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 16 def countrycode @countrycode end |
#locality ⇒ String
a town or city.
24 25 26 |
# File 'lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 24 def locality @locality end |
#region ⇒ String
state or province.
20 21 22 |
# File 'lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 20 def region @region end |
Class Method Details
.mapper ⇒ Object
Mapper for DeviceLocation class as Ruby Hash. This will be used for serialization/deserialization.
31 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 |
# File 'lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb', line 31 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 |