Sha256: 81fdd995f346826b6f4d45d68643fc541ca0a0e9a63caab37619930e21816918

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

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

module Azure::ARM::Scheduler
  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()
        {
          required: false,
          serialized_name: 'JobCollectionProperties',
          type: {
            name: 'Composite',
            class_name: 'JobCollectionProperties',
            model_properties: {
              sku: {
                required: false,
                serialized_name: 'sku',
                type: {
                  name: 'Composite',
                  class_name: 'Sku'
                }
              },
              state: {
                required: false,
                serialized_name: 'state',
                type: {
                  name: 'Enum',
                  module: 'JobCollectionState'
                }
              },
              quota: {
                required: false,
                serialized_name: 'quota',
                type: {
                  name: 'Composite',
                  class_name: 'JobCollectionQuota'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.10.0 lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb