Class: Azure::ARM::Scheduler::Models::JobCollectionQuota

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#max_job_countInteger

Returns Gets or set the maximum job count.

Returns:

  • (Integer)

    Gets or set the maximum job count.



16
17
18
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb', line 16

def max_job_count
  @max_job_count
end

#max_job_occurrenceInteger

Returns Gets or sets the maximum job occurrence.

Returns:

  • (Integer)

    Gets or sets the maximum job occurrence.



19
20
21
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb', line 19

def max_job_occurrence
  @max_job_occurrence
end

#max_recurrenceJobMaxRecurrence

Returns Gets or set the maximum recurrence.

Returns:



22
23
24
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb', line 22

def max_recurrence
  @max_recurrence
end

Class Method Details

.mapperObject

Mapper for JobCollectionQuota class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb', line 29

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