Sha256: 0d8b31e86fdce5260e082117d29db351b330c846c0e926688a4d9b27a17d3762

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 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::V2020_09_01
  module Models
    #
    # The JSON object that represents the range for http status codes
    #
    class HttpErrorRangeParameters

      include MsRestAzure

      # @return [Integer] The inclusive start of the http status code range.
      attr_accessor :begin_property

      # @return [Integer] The inclusive end of the http status code range.
      attr_accessor :end_property


      #
      # Mapper for HttpErrorRangeParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'HttpErrorRangeParameters',
          type: {
            name: 'Composite',
            class_name: 'HttpErrorRangeParameters',
            model_properties: {
              begin_property: {
                client_side_validation: true,
                required: false,
                serialized_name: 'begin',
                constraints: {
                  InclusiveMaximum: 999,
                  InclusiveMinimum: 100
                },
                type: {
                  name: 'Number'
                }
              },
              end_property: {
                client_side_validation: true,
                required: false,
                serialized_name: 'end',
                constraints: {
                  InclusiveMaximum: 999,
                  InclusiveMinimum: 100
                },
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-09-01/generated/azure_mgmt_cdn/models/http_error_range_parameters.rb
azure_mgmt_cdn-0.18.1 lib/2020-09-01/generated/azure_mgmt_cdn/models/http_error_range_parameters.rb