class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerSourceInfo

Periodic timer event source.

Attributes

schedule[RW]

@return [String] Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.

start_time[RW]

@return [DateTime] The time of the day that results in a valid trigger. 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.

topic[RW]

@return [String] Topic where periodic events are published to IoT device.

Private Class Methods

mapper() click to toggle source

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

# 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