Class: Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb
Overview
The properties of the create Advanced Schedule.
Instance Attribute Summary collapse
-
#month_days ⇒ Array<Integer>
on.
-
#monthly_occurrences ⇒ Array<AdvancedScheduleMonthlyOccurrence>
within a month.
-
#week_days ⇒ Array<String>
on.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AdvancedSchedule class as Ruby Hash.
Instance Attribute Details
#month_days ⇒ Array<Integer>
on. Must be between 1 and 31.
21 22 23 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb', line 21 def month_days @month_days end |
#monthly_occurrences ⇒ Array<AdvancedScheduleMonthlyOccurrence>
within a month.
25 26 27 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb', line 25 def monthly_occurrences @monthly_occurrences end |
#week_days ⇒ Array<String>
on.
17 18 19 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb', line 17 def week_days @week_days end |
Class Method Details
.mapper ⇒ Object
Mapper for AdvancedSchedule class as Ruby Hash. This will be used for serialization/deserialization.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AdvancedSchedule', type: { name: 'Composite', class_name: 'AdvancedSchedule', model_properties: { week_days: { client_side_validation: true, required: false, serialized_name: 'weekDays', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, month_days: { client_side_validation: true, required: false, serialized_name: 'monthDays', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { name: 'Number' } } } }, monthly_occurrences: { client_side_validation: true, required: false, serialized_name: 'monthlyOccurrences', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AdvancedScheduleMonthlyOccurrenceElementType', type: { name: 'Composite', class_name: 'AdvancedScheduleMonthlyOccurrence' } } } } } } } end |