# 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::DataFactory::Mgmt::V2017_09_01_preview
  module Models
    #
    # Update integration runtime node request.
    #
    class UpdateIntegrationRuntimeNodeRequest

      include MsRestAzure

      # @return [Integer] The number of concurrent jobs permitted to run on the
      # integration runtime node. Values between 1 and
      # maxConcurrentJobs(inclusive) are allowed.
      attr_accessor :concurrent_jobs_limit


      #
      # Mapper for UpdateIntegrationRuntimeNodeRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpdateIntegrationRuntimeNodeRequest',
          type: {
            name: 'Composite',
            class_name: 'UpdateIntegrationRuntimeNodeRequest',
            model_properties: {
              concurrent_jobs_limit: {
                client_side_validation: true,
                required: false,
                serialized_name: 'concurrentJobsLimit',
                constraints: {
                  InclusiveMinimum: 1
                },
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
