lib/purecloud/api/chats_api.rb in purecloud-0.28.0 vs lib/purecloud/api/chats_api.rb in purecloud-0.29.1

- old
+ new

@@ -11,22 +11,22 @@ # Get conversations # # @param conversation_id conversation ID # @param participant_id participant ID # @param [Hash] opts the optional parameters - # @return [ConversationEntityListing] + # @return [ChatConversationEntityListing] def get_chats(conversation_id, participant_id, opts = {}) data, status_code, headers = get_chats_with_http_info(conversation_id, participant_id, opts) return data end # Get conversations # # @param conversation_id conversation ID # @param participant_id participant ID # @param [Hash] opts the optional parameters - # @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers + # @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers def get_chats_with_http_info(conversation_id, participant_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ChatsApi#get_chats ..." end @@ -65,11 +65,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'ConversationEntityListing') + :return_type => 'ChatConversationEntityListing') if @api_client.config.debugging @api_client.config.logger.debug "API called: ChatsApi#get_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -77,11 +77,11 @@ # Update conversation participant # # @param conversation_id conversation ID # @param participant_id participant ID # @param [Hash] opts the optional parameters - # @option opts [ParticipantRequest] :body + # @option opts [MediaParticipantRequest] :body # @return [nil] def patch_participants_participant_id(conversation_id, participant_id, opts = {}) patch_participants_participant_id_with_http_info(conversation_id, participant_id, opts) return nil end @@ -89,10 +89,10 @@ # Update conversation participant # # @param conversation_id conversation ID # @param participant_id participant ID # @param [Hash] opts the optional parameters - # @option opts [ParticipantRequest] :body + # @option opts [MediaParticipantRequest] :body # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def patch_participants_participant_id_with_http_info(conversation_id, participant_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ChatsApi#patch_participants_participant_id ..." end