Class: Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress
- Inherits:
-
Object
- Object
- Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
Overview
CIDR Ip address
Instance Attribute Summary collapse
-
#base_ip_address ⇒ String
Ip address itself.
-
#prefix_length ⇒ Integer
The length of the prefix of the ip address.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CidrIpAddress class as Ruby Hash.
Instance Attribute Details
#base_ip_address ⇒ String
Returns Ip address itself.
16 17 18 |
# File 'lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb', line 16 def base_ip_address @base_ip_address end |
#prefix_length ⇒ Integer
Returns The length of the prefix of the ip address.
19 20 21 |
# File 'lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb', line 19 def prefix_length @prefix_length end |
Class Method Details
.mapper ⇒ Object
Mapper for CidrIpAddress class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 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 |
# File 'lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'cidrIpAddress', type: { name: 'Composite', class_name: 'CidrIpAddress', model_properties: { base_ip_address: { client_side_validation: true, required: false, serialized_name: 'baseIpAddress', type: { name: 'String' } }, prefix_length: { client_side_validation: true, required: false, serialized_name: 'prefixLength', type: { name: 'Number' } } } } } end |