@@ -594,6 +594,7 @@ def comment_update_with_http_info(project_id, key_id, id, comment_update_paramet
594594 # @option opts [String] :query Search query for comment messages
595595 # @option opts [Array<String>] :locale_ids Search comments by their assigned locales
596596 # @option opts [Array<String>] :filters Specify the filter for the comments
597+ # @option opts [String] :order Order direction. Can be one of: asc, desc.
597598 # @return [Array<Comment>]
598599 def comments_list ( project_id , key_id , comments_list_parameters , opts = { } )
599600 data , _status_code , _headers = comments_list_with_http_info ( project_id , key_id , comments_list_parameters , opts )
@@ -613,6 +614,7 @@ def comments_list(project_id, key_id, comments_list_parameters, opts = {})
613614 # @option opts [String] :query Search query for comment messages
614615 # @option opts [Array<String>] :locale_ids Search comments by their assigned locales
615616 # @option opts [Array<String>] :filters Specify the filter for the comments
617+ # @option opts [String] :order Order direction. Can be one of: asc, desc.
616618 # @return [Array<(Response<(Array<Comment>)>, Integer, Hash)>] Response<(Array<Comment>)> data, response status code and response headers
617619 def comments_list_with_http_info ( project_id , key_id , comments_list_parameters , opts = { } )
618620 if @api_client . config . debugging
@@ -641,6 +643,7 @@ def comments_list_with_http_info(project_id, key_id, comments_list_parameters, o
641643 query_params [ :'query' ] = opts [ :'query' ] if !opts [ :'query' ] . nil?
642644 query_params [ :'locale_ids' ] = @api_client . build_collection_param ( opts [ :'locale_ids' ] , :multi ) if !opts [ :'locale_ids' ] . nil?
643645 query_params [ :'filters' ] = @api_client . build_collection_param ( opts [ :'filters' ] , :multi ) if !opts [ :'filters' ] . nil?
646+ query_params [ :'order' ] = opts [ :'order' ] if !opts [ :'order' ] . nil?
644647
645648 # header parameters
646649 header_params = opts [ :header_params ] || { }
0 commit comments