Class: Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
- Inherits:
-
Object
- Object
- Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb
Overview
Subnet first address, scope, and/or last address.
Instance Attribute Summary collapse
-
#first ⇒ String
First address in the subnet.
-
#last ⇒ String
Last address in the subnet.
-
#scope ⇒ Integer
mask).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EndpointPropertiesSubnetsItem class as Ruby Hash.
Instance Attribute Details
#first ⇒ String
Returns First address in the subnet.
16 17 18 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb', line 16 def first @first end |
#last ⇒ String
Returns Last address in the subnet.
19 20 21 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb', line 19 def last @last end |
#scope ⇒ Integer
mask).
23 24 25 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb', line 23 def scope @scope end |
Class Method Details
.mapper ⇒ Object
Mapper for EndpointPropertiesSubnetsItem class as Ruby Hash. This will be used for serialization/deserialization.
30 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 64 65 66 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EndpointProperties_subnetsItem', type: { name: 'Composite', class_name: 'EndpointPropertiesSubnetsItem', model_properties: { first: { client_side_validation: true, required: false, serialized_name: 'first', type: { name: 'String' } }, last: { client_side_validation: true, required: false, serialized_name: 'last', type: { name: 'String' } }, scope: { client_side_validation: true, required: false, serialized_name: 'scope', type: { name: 'Number' } } } } } end |