Class: Azure::Subscriptions::Mgmt::V2015_11_01::Models::Location
- Inherits:
-
Object
- Object
- Azure::Subscriptions::Mgmt::V2015_11_01::Models::Location
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb
Overview
Location information.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Gets or sets the display name of the location.
-
#id ⇒ String
(/subscriptions/SubscriptionId).
-
#latitude ⇒ String
Gets or sets the latitude of the location.
-
#longitude ⇒ String
Gets or sets the longitude of the location.
-
#name ⇒ String
Gets or sets the location name.
-
#subscription_id ⇒ String
Gets or sets the subscription Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Location class as Ruby Hash.
Instance Attribute Details
#display_name ⇒ String
Returns Gets or sets the display name of the location.
26 27 28 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 26 def display_name @display_name end |
#id ⇒ String
(/subscriptions/SubscriptionId).
17 18 19 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 17 def id @id end |
#latitude ⇒ String
Returns Gets or sets the latitude of the location.
29 30 31 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 29 def latitude @latitude end |
#longitude ⇒ String
Returns Gets or sets the longitude of the location.
32 33 34 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 32 def longitude @longitude end |
#name ⇒ String
Returns Gets or sets the location name.
23 24 25 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 23 def name @name end |
#subscription_id ⇒ String
Returns Gets or sets the subscription Id.
20 21 22 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 20 def subscription_id @subscription_id end |
Class Method Details
.mapper ⇒ Object
Mapper for Location class as Ruby Hash. This will be used for serialization/deserialization.
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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/location.rb', line 39 def self.mapper() { required: false, serialized_name: 'Location', type: { name: 'Composite', class_name: 'Location', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, subscription_id: { required: false, serialized_name: 'subscriptionId', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, display_name: { required: false, serialized_name: 'displayName', type: { name: 'String' } }, latitude: { required: false, serialized_name: 'latitude', type: { name: 'String' } }, longitude: { required: false, serialized_name: 'longitude', type: { name: 'String' } } } } } end |