class Azure::CDN::Mgmt::V2020_09_01::Models::HttpErrorRangeParameters

The JSON object that represents the range for http status codes

Attributes

begin_property[RW]

@return [Integer] The inclusive start of the http status code range.

end_property[RW]

@return [Integer] The inclusive end of the http status code range.

Private Class Methods

mapper() click to toggle source

Mapper for HttpErrorRangeParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_cdn/models/http_error_range_parameters.rb, line 26
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