lib/algolia/models/ingestion/schedule_trigger.rb in algolia-3.0.0.alpha.15 vs lib/algolia/models/ingestion/schedule_trigger.rb in algolia-3.0.0.alpha.16
- old
+ new
@@ -3,20 +3,20 @@
require 'date'
require 'time'
module Algolia
module Ingestion
- # The trigger information for a task of type 'schedule'.
+ # Trigger information for scheduled tasks.
class ScheduleTrigger
attr_accessor :type
- # A cron expression that represent at which regularity the task should run.
+ # Cron expression for the task's schedule.
attr_accessor :cron
- # The last time the scheduled task ran (RFC3339 format).
+ # The last time the scheduled task ran in RFC3339 format.
attr_accessor :last_run
- # The next scheduled run of the task (RFC3339 format).
+ # The next scheduled run of the task in RFC3339 format.
attr_accessor :next_run
class EnumAttributeValidator
attr_reader :datatype
attr_reader :allowable_values