lib/purecloud/api/scripts_api.rb in purecloud-0.28.0 vs lib/purecloud/api/scripts_api.rb in purecloud-0.29.1
- old
+ new
@@ -13,10 +13,12 @@
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size The total page size requested
# @option opts [Integer] :page_number The page number requested
# @option opts [String] :sort_by variable name requested to sort by
# @option opts [Array<String>] :expand variable name requested by expand list
+ # @option opts [String] :next_page next page token
+ # @option opts [String] :previous_page Previous page token
# @option opts [String] :expand2 Expand
# @option opts [String] :name Name
# @return [EvaluationFormEntityListing]
def get_forms(opts = {})
data, status_code, headers = get_forms_with_http_info(opts)
@@ -28,10 +30,12 @@
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size The total page size requested
# @option opts [Integer] :page_number The page number requested
# @option opts [String] :sort_by variable name requested to sort by
# @option opts [Array<String>] :expand variable name requested by expand list
+ # @option opts [String] :next_page next page token
+ # @option opts [String] :previous_page Previous page token
# @option opts [String] :expand2 Expand
# @option opts [String] :name Name
# @return [Array<(EvaluationFormEntityListing, Fixnum, Hash)>] EvaluationFormEntityListing data, response status code and response headers
def get_forms_with_http_info(opts = {})
if @api_client.config.debugging
@@ -45,10 +49,12 @@
query_params = {}
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
+ query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
+ query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
query_params[:'expand'] = opts[:'expand2'] if opts[:'expand2']
query_params[:'name'] = opts[:'name'] if opts[:'name']
# header parameters
header_params = {}
@@ -648,20 +654,20 @@
end
# Create a script.
#
# @param [Hash] opts the optional parameters
- # @option opts [Body1] :body
+ # @option opts [Body] :body
# @return [Script]
def post_scripts(opts = {})
data, status_code, headers = post_scripts_with_http_info(opts)
return data
end
# Create a script.
#
# @param [Hash] opts the optional parameters
- # @option opts [Body1] :body
+ # @option opts [Body] :body
# @return [Array<(Script, Fixnum, Hash)>] Script data, response status code and response headers
def post_scripts_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ScriptsApi#post_scripts ..."
end