Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerSourceInfo
- Inherits:
-
Object
- Object
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerSourceInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb
Overview
Periodic timer event source.
Instance Attribute Summary collapse
-
#schedule ⇒ String
raised.
-
#start_time ⇒ DateTime
Schedule is computed with reference to the time specified upto seconds.
-
#topic ⇒ String
device.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PeriodicTimerSourceInfo class as Ruby Hash.
Instance Attribute Details
#schedule ⇒ String
raised. Supports daily, hourly, minutes, and seconds.
23 24 25 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb', line 23 def schedule @schedule end |
#start_time ⇒ DateTime
Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
19 20 21 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb', line 19 def start_time @start_time end |
#topic ⇒ String
device.
27 28 29 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb', line 27 def topic @topic end |
Class Method Details
.mapper ⇒ Object
Mapper for PeriodicTimerSourceInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PeriodicTimerSourceInfo', type: { name: 'Composite', class_name: 'PeriodicTimerSourceInfo', model_properties: { start_time: { client_side_validation: true, required: true, serialized_name: 'startTime', type: { name: 'DateTime' } }, schedule: { client_side_validation: true, required: true, serialized_name: 'schedule', type: { name: 'String' } }, topic: { client_side_validation: true, required: false, serialized_name: 'topic', type: { name: 'String' } } } } } end |