Class: Azure::ARM::Insights::Models::TimeWindow
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::TimeWindow
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/time_window.rb
Overview
A specific date-time for the profile.
Instance Attribute Summary collapse
-
#end_property ⇒ DateTime
The end time for the profile in ISO 8601 format.
-
#start ⇒ DateTime
The start time for the profile in ISO 8601 format.
-
#time_zone ⇒ String
profile.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TimeWindow class as Ruby Hash.
Instance Attribute Details
#end_property ⇒ DateTime
Returns the end time for the profile in ISO 8601 format.
24 25 26 |
# File 'lib/generated/azure_mgmt_insights/models/time_window.rb', line 24 def end_property @end_property end |
#start ⇒ DateTime
Returns the start time for the profile in ISO 8601 format.
21 22 23 |
# File 'lib/generated/azure_mgmt_insights/models/time_window.rb', line 21 def start @start end |
#time_zone ⇒ String
profile. See 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/time_window.rb', line 18 def time_zone @time_zone end |
Class Method Details
.mapper ⇒ Object
Mapper for TimeWindow class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_insights/models/time_window.rb', line 31 def self.mapper() { required: false, serialized_name: 'TimeWindow', type: { name: 'Composite', class_name: 'TimeWindow', model_properties: { time_zone: { required: false, serialized_name: 'timeZone', type: { name: 'String' } }, start: { required: true, serialized_name: 'start', type: { name: 'DateTime' } }, end_property: { required: true, serialized_name: 'end', type: { name: 'DateTime' } } } } } end |