diff --git a/lib/ioki/model/platform/task_list.rb b/lib/ioki/model/platform/task_list.rb index 15fe3820..4b04c631 100644 --- a/lib/ioki/model/platform/task_list.rb +++ b/lib/ioki/model/platform/task_list.rb @@ -24,6 +24,8 @@ class TaskList < Base attribute :planned_starts_at, on: :read, type: :date_time attribute :prebookable, on: [:read, :create], type: :boolean attribute :product_id, on: :read, type: :string + attribute :service_ends_at, on: [:create, :read, :update], type: :date_time + attribute :service_starts_at, on: [:create, :read, :update], type: :date_time attribute :starts_at, on: [:create, :update], type: :date_time, unvalidated: true attribute :start_place, on: :read, type: :object, class_name: 'Place' attribute :start_place_id, on: [:create, :update], type: :object, class_name: 'Place', unvalidated: true