lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-6.3.0 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-6.3.1
- old
+ new
@@ -158,26 +158,17 @@
# @param [Integer] page_number Page Number, this value is simply for client state
# @param [Integer] page_size Number of records to return, defaults to 50
# @return [Page] Page of WorkerInstance
def page(activity_name: :unset, activity_sid: :unset, available: :unset, friendly_name: :unset, target_workers_expression: :unset, task_queue_name: :unset, task_queue_sid: :unset, ordering: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
params = Twilio::Values.of({
-
'ActivityName' => activity_name,
-
'ActivitySid' => activity_sid,
-
'Available' => available,
-
'FriendlyName' => friendly_name,
-
'TargetWorkersExpression' => target_workers_expression,
-
'TaskQueueName' => task_queue_name,
-
'TaskQueueSid' => task_queue_sid,
-
'Ordering' => ordering,
-
'PageToken' => page_token,
'Page' => page_number,
'PageSize' => page_size,
})