Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ScheduledSourceSynchronizationSetting
- Inherits:
-
SourceShareSynchronizationSetting
- Object
- SourceShareSynchronizationSetting
- Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ScheduledSourceSynchronizationSetting
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb
Overview
A type of synchronization setting based on schedule
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#recurrence_interval ⇒ RecurrenceInterval
include: ‘Hour’, ‘Day’.
-
#synchronization_time ⇒ DateTime
Synchronization time.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ScheduledSourceSynchronizationSetting class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ScheduledSourceSynchronizationSetting
constructor
A new instance of ScheduledSourceSynchronizationSetting.
Constructor Details
#initialize ⇒ ScheduledSourceSynchronizationSetting
Returns a new instance of ScheduledSourceSynchronizationSetting.
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb', line 16 def initialize @kind = "ScheduleBased" end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb', line 20 def kind @kind end |
#recurrence_interval ⇒ RecurrenceInterval
include: ‘Hour’, ‘Day’
24 25 26 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb', line 24 def recurrence_interval @recurrence_interval end |
#synchronization_time ⇒ DateTime
Returns Synchronization time.
27 28 29 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb', line 27 def synchronization_time @synchronization_time end |
Class Method Details
.mapper ⇒ Object
Mapper for ScheduledSourceSynchronizationSetting 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/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScheduleBased', type: { name: 'Composite', class_name: 'ScheduledSourceSynchronizationSetting', model_properties: { kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, recurrence_interval: { client_side_validation: true, required: false, serialized_name: 'properties.recurrenceInterval', type: { name: 'String' } }, synchronization_time: { client_side_validation: true, required: false, serialized_name: 'properties.synchronizationTime', type: { name: 'DateTime' } } } } } end |