lib/phrase/api/notification_groups_api.rb in phrase-2.8.3 vs lib/phrase/api/notification_groups_api.rb in phrase-2.8.7

- old
+ new

@@ -11,11 +11,11 @@ # List all notification groups from the current user # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [Integer] :page Page number # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default - # @return [Array<Object>] + # @return [Array<NotificationGroupDetail>] def notification_groups_list(opts = {}) data, _status_code, _headers = notification_groups_list_with_http_info(opts) data end @@ -23,11 +23,11 @@ # List all notification groups from the current user # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [Integer] :page Page number # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default - # @return [Array<(Response<(Array<Object>)>, Integer, Hash)>] Response<(Array<Object>)> data, response status code and response headers + # @return [Array<(Response<(Array<NotificationGroupDetail>)>, Integer, Hash)>] Response<(Array<NotificationGroupDetail>)> data, response status code and response headers def notification_groups_list_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: NotificationGroupsApi.notification_groups_list ...' end # resource path @@ -49,11 +49,11 @@ # http body (model) post_body = opts[:body] # return_type - return_type = opts[:return_type] || 'Array<Object>' + return_type = opts[:return_type] || 'Array<NotificationGroupDetail>' # auth_names auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( @@ -75,21 +75,21 @@ # Mark all notification groups as read # Mark all notification groups of the current user as read # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) - # @return [Array<Object>] + # @return [Array<NotificationGroupDetail>] def notification_groups_mark_all_as_read(opts = {}) data, _status_code, _headers = notification_groups_mark_all_as_read_with_http_info(opts) data end # Mark all notification groups as read # Mark all notification groups of the current user as read # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) - # @return [Array<(Response<(Array<Object>)>, Integer, Hash)>] Response<(Array<Object>)> data, response status code and response headers + # @return [Array<(Response<(Array<NotificationGroupDetail>)>, Integer, Hash)>] Response<(Array<NotificationGroupDetail>)> data, response status code and response headers def notification_groups_mark_all_as_read_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: NotificationGroupsApi.notification_groups_mark_all_as_read ...' end # resource path @@ -109,10 +109,10 @@ # http body (model) post_body = opts[:body] # return_type - return_type = opts[:return_type] || 'Array<Object>' + return_type = opts[:return_type] || 'Array<NotificationGroupDetail>' # auth_names auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge(