Sha256: cd24c2f5636ea72ccc955c981c276fff47a2e6dd1b551ffa25301f3f10c50845

Contents?: true

Size: 1.7 KB

Versions: 1

Compression:

Stored size: 1.7 KB

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.9.0 lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb