Class: Azure::ARM::Insights::Models::RecurrentSchedule
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::RecurrentSchedule
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb
Overview
The scheduling constraints for when the profile begins.
Instance Attribute Summary collapse
-
#days ⇒ Array<String>
effect on.
-
#hours ⇒ Array<Integer>
effect on.
-
#minutes ⇒ Array<Integer>
takes effect at.
-
#time_zone ⇒ String
examples of valid timezone ids over here: msdn.microsoft.com/en-us/library/azure/dn931928.aspx.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecurrentSchedule class as Ruby Hash.
Instance Attribute Details
#days ⇒ Array<String>
effect on. Possible values are Sunday through Saturday.
22 23 24 |
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 22 def days @days end |
#hours ⇒ Array<Integer>
effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported).
27 28 29 |
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 27 def hours @hours end |
#minutes ⇒ Array<Integer>
takes effect at.
31 32 33 |
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 31 def minutes @minutes end |
#time_zone ⇒ String
examples of valid timezone ids over here: msdn.microsoft.com/en-us/library/azure/dn931928.aspx
18 19 20 |
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 18 def time_zone @time_zone end |
Class Method Details
.mapper ⇒ Object
Mapper for RecurrentSchedule class as Ruby Hash. This will be used for serialization/deserialization.
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 94 95 96 97 98 |
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 38 def self.mapper() { required: false, serialized_name: 'RecurrentSchedule', type: { name: 'Composite', class_name: 'RecurrentSchedule', model_properties: { time_zone: { required: false, serialized_name: 'timeZone', type: { name: 'String' } }, days: { required: false, serialized_name: 'days', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, hours: { required: false, serialized_name: 'hours', type: { name: 'Sequence', element: { required: false, serialized_name: 'NumberElementType', type: { name: 'Number' } } } }, minutes: { required: false, serialized_name: 'minutes', type: { name: 'Sequence', element: { required: false, serialized_name: 'NumberElementType', type: { name: 'Number' } } } } } } } end |