Class: Azure::ARM::Scheduler::Models::JobCollectionProperties
- Inherits:
-
Object
- Object
- Azure::ARM::Scheduler::Models::JobCollectionProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#quota ⇒ JobCollectionQuota
Gets or sets the job collection quota.
-
#sku ⇒ Sku
Gets or sets the SKU.
-
#state ⇒ JobCollectionState
include: ‘Enabled’, ‘Disabled’, ‘Suspended’, ‘Deleted’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobCollectionProperties class as Ruby Hash.
Instance Attribute Details
#quota ⇒ JobCollectionQuota
Returns Gets or sets the job collection quota.
23 24 25 |
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb', line 23 def quota @quota end |
#sku ⇒ Sku
Returns Gets or sets the SKU.
16 17 18 |
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb', line 16 def sku @sku end |
#state ⇒ JobCollectionState
include: ‘Enabled’, ‘Disabled’, ‘Suspended’, ‘Deleted’
20 21 22 |
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb', line 20 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for JobCollectionProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 63 64 65 |
# File 'lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb', line 30 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 |