class Azure::DataShare::Mgmt::V2019_11_01::Models::ScheduledSourceSynchronizationSetting

A type of synchronization setting based on schedule

Attributes

kind[RW]
recurrence_interval[RW]

@return [RecurrenceInterval] Recurrence Interval. Possible values include: 'Hour', 'Day'

synchronization_time[RW]

@return [DateTime] Synchronization time

Private Class Methods

mapper() click to toggle source

Mapper for ScheduledSourceSynchronizationSetting class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-11-01/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
new() click to toggle source
# File lib/2019-11-01/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb, line 16
def initialize
  @kind = "ScheduleBased"
end