# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Scheduler
  module Models
    #
    # Model object.
    # 
    #
    class JobCollectionQuota

      include MsRestAzure

      # @return [Integer] Gets or set the maximum job count.
      attr_accessor :max_job_count

      # @return [Integer] Gets or sets the maximum job occurrence.
      attr_accessor :max_job_occurrence

      # @return [JobMaxRecurrence] Gets or set the maximum recurrence.
      attr_accessor :max_recurrence


      #
      # Mapper for JobCollectionQuota class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'JobCollectionQuota',
          type: {
            name: 'Composite',
            class_name: 'JobCollectionQuota',
            model_properties: {
              max_job_count: {
                required: false,
                serialized_name: 'maxJobCount',
                type: {
                  name: 'Number'
                }
              },
              max_job_occurrence: {
                required: false,
                serialized_name: 'maxJobOccurrence',
                type: {
                  name: 'Number'
                }
              },
              max_recurrence: {
                required: false,
                serialized_name: 'maxRecurrence',
                type: {
                  name: 'Composite',
                  class_name: 'JobMaxRecurrence'
                }
              }
            }
          }
        }
      end
    end
  end
end
