Sha256: ec7c2183b3a16608f7ac569320cf11e2e3ff1b6b33f61108046ff76b99f1d203

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.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 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.10.0 lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb