# 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::MachineLearning::Mgmt::V2017_01_01
  module Models
    #
    # Holds the available configuration options for an Azure ML web service
    # endpoint.
    #
    class RealtimeConfiguration

      include MsRestAzure

      # @return [Integer] Specifies the maximum concurrent calls that can be
      # made to the web service. Minimum value: 4, Maximum value: 200.
      attr_accessor :max_concurrent_calls


      #
      # Mapper for RealtimeConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RealtimeConfiguration',
          type: {
            name: 'Composite',
            class_name: 'RealtimeConfiguration',
            model_properties: {
              max_concurrent_calls: {
                client_side_validation: true,
                required: false,
                serialized_name: 'maxConcurrentCalls',
                constraints: {
                  InclusiveMaximum: 200,
                  InclusiveMinimum: 4
                },
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
