# 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::Scheduler::Mgmt::V2016_03_01
  module Models
    #
    # Model object.
    #
    #
    class JobCollectionProperties

      include MsRestAzure

      # @return [Sku] Gets or sets the SKU.
      attr_accessor :sku

      # @return [JobCollectionState] Gets or sets the state. Possible values
      # include: 'Enabled', 'Disabled', 'Suspended', 'Deleted'
      attr_accessor :state

      # @return [JobCollectionQuota] Gets or sets the job collection quota.
      attr_accessor :quota


      #
      # Mapper for JobCollectionProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'JobCollectionProperties',
          type: {
            name: 'Composite',
            class_name: 'JobCollectionProperties',
            model_properties: {
              sku: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sku',
                type: {
                  name: 'Composite',
                  class_name: 'Sku'
                }
              },
              state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'state',
                type: {
                  name: 'Enum',
                  module: 'JobCollectionState'
                }
              },
              quota: {
                client_side_validation: true,
                required: false,
                serialized_name: 'quota',
                type: {
                  name: 'Composite',
                  class_name: 'JobCollectionQuota'
                }
              }
            }
          }
        }
      end
    end
  end
end
