Class: Azure::ARM::DevTestLabs::Models::Schedule
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::Schedule
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/schedule.rb
Overview
A schedule.
Instance Attribute Summary collapse
-
#daily_recurrence ⇒ DayDetails
The daily recurrence of the schedule.
-
#hourly_recurrence ⇒ HourDetails
The hourly recurrence of the schedule.
-
#id ⇒ String
The identifier of the resource.
-
#location ⇒ String
The location of the resource.
-
#name ⇒ String
The name of the resource.
-
#provisioning_state ⇒ String
The provisioning status of the resource.
-
#status ⇒ EnableStatus
include: ‘Enabled’, ‘Disabled’.
-
#tags ⇒ Hash{String => String}
The tags of the resource.
-
#task_type ⇒ String
The task type of the schedule.
-
#time_zone_id ⇒ String
The time zone id.
-
#type ⇒ String
The type of the resource.
-
#unique_identifier ⇒ String
The unique immutable identifier of a resource (Guid).
-
#weekly_recurrence ⇒ WeekDetails
The weekly recurrence of the schedule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Schedule class as Ruby Hash.
Instance Attribute Details
#daily_recurrence ⇒ DayDetails
Returns The daily recurrence of the schedule.
26 27 28 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 26 def daily_recurrence @daily_recurrence end |
#hourly_recurrence ⇒ HourDetails
Returns The hourly recurrence of the schedule.
29 30 31 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 29 def hourly_recurrence @hourly_recurrence end |
#id ⇒ String
Returns The identifier of the resource.
41 42 43 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 41 def id @id end |
#location ⇒ String
Returns The location of the resource.
50 51 52 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 50 def location @location end |
#name ⇒ String
Returns The name of the resource.
44 45 46 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 44 def name @name end |
#provisioning_state ⇒ String
Returns The provisioning status of the resource.
35 36 37 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 35 def provisioning_state @provisioning_state end |
#status ⇒ EnableStatus
include: ‘Enabled’, ‘Disabled’
17 18 19 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 17 def status @status end |
#tags ⇒ Hash{String => String}
Returns The tags of the resource.
53 54 55 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 53 def @tags end |
#task_type ⇒ String
Returns The task type of the schedule.
20 21 22 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 20 def task_type @task_type end |
#time_zone_id ⇒ String
Returns The time zone id.
32 33 34 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 32 def time_zone_id @time_zone_id end |
#type ⇒ String
Returns The type of the resource.
47 48 49 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 47 def type @type end |
#unique_identifier ⇒ String
Returns The unique immutable identifier of a resource (Guid).
38 39 40 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 38 def unique_identifier @unique_identifier end |
#weekly_recurrence ⇒ WeekDetails
Returns The weekly recurrence of the schedule.
23 24 25 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 23 def weekly_recurrence @weekly_recurrence end |
Class Method Details
.mapper ⇒ Object
Mapper for Schedule class as Ruby Hash. This will be used for serialization/deserialization.
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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/schedule.rb', line 60 def self.mapper() { required: false, serialized_name: 'Schedule', type: { name: 'Composite', class_name: 'Schedule', model_properties: { status: { required: false, serialized_name: 'properties.status', type: { name: 'String' } }, task_type: { required: false, serialized_name: 'properties.taskType', type: { name: 'String' } }, weekly_recurrence: { required: false, serialized_name: 'properties.weeklyRecurrence', type: { name: 'Composite', class_name: 'WeekDetails' } }, daily_recurrence: { required: false, serialized_name: 'properties.dailyRecurrence', type: { name: 'Composite', class_name: 'DayDetails' } }, hourly_recurrence: { required: false, serialized_name: 'properties.hourlyRecurrence', type: { name: 'Composite', class_name: 'HourDetails' } }, time_zone_id: { required: false, serialized_name: 'properties.timeZoneId', type: { name: 'String' } }, provisioning_state: { required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, unique_identifier: { required: false, serialized_name: 'properties.uniqueIdentifier', type: { name: 'String' } }, id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |