Sha256: 8a301707e45f792b88536a73bce44ef0691831f613bb7cffc295861aa58f2f6d

Contents?: true

Size: 1.42 KB

Versions: 8

Compression:

Stored size: 1.42 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::CDN::Mgmt::V2016_10_02
  module Models
    #
    # CIDR Ip address
    #
    class CidrIpAddress

      include MsRestAzure

      # @return [String] IP address itself.
      attr_accessor :base_ip_address

      # @return [Integer] The length of the prefix of the ip address.
      attr_accessor :prefix_length


      #
      # Mapper for CidrIpAddress class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.18.1 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.17.7 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.17.6 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.17.5 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.17.4 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.17.3 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb
azure_mgmt_cdn-0.17.2 lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb