Sha256: 723176530f23bb13a0f38a110692b0fc22ca915418f64213be72208578b88da3

Contents?: true

Size: 1.76 KB

Versions: 9

Compression:

Stored size: 1.76 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::MediaServices::Mgmt::V2018_07_01
  module Models
    #
    # The IP address range in the CIDR scheme.
    #
    class IPRange

      include MsRestAzure

      # @return [String] The friendly name for the IP address range.
      attr_accessor :name

      # @return [String] The IP address.
      attr_accessor :address

      # @return [Integer] The subnet mask prefix length (see CIDR notation).
      attr_accessor :subnet_prefix_length


      #
      # Mapper for IPRange class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IPRange',
          type: {
            name: 'Composite',
            class_name: 'IPRange',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'address',
                type: {
                  name: 'String'
                }
              },
              subnet_prefix_length: {
                client_side_validation: true,
                required: false,
                serialized_name: 'subnetPrefixLength',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.21.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.20.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.20.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.19.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.19.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.18.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.18.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb
azure_mgmt_media_services-0.17.2 lib/2018-07-01/generated/azure_mgmt_media_services/models/iprange.rb