Class InputTokenCountParams.Conversation
- 
                    
                    - All Implemented Interfaces:
 
 public final class InputTokenCountParams.ConversationThe conversation that this response belongs to. Items from this conversation are prepended to input_itemsfor this response request. Input items and output items from this response are automatically added to this conversation after this response completes.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceInputTokenCountParams.Conversation.VisitorAn interface that defines how to map each variant of Conversation to a value of type T. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>id()The unique ID of the conversation. final Optional<ResponseConversationParam>responseConversationParam()The conversation that this response belongs to. final BooleanisId()final BooleanisResponseConversationParam()final StringasId()The unique ID of the conversation. final ResponseConversationParamasResponseConversationParam()The conversation that this response belongs to. final Optional<JsonValue>_json()final <T extends Any> Taccept(InputTokenCountParams.Conversation.Visitor<T> visitor)final InputTokenCountParams.Conversationvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InputTokenCountParams.ConversationofId(String id)The unique ID of the conversation. final static InputTokenCountParams.ConversationofResponseConversationParam(ResponseConversationParam responseConversationParam)The conversation that this response belongs to. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        responseConversationParamfinal Optional<ResponseConversationParam> responseConversationParam() The conversation that this response belongs to. 
 - 
                                        isResponseConversationParamfinal Boolean isResponseConversationParam() 
 - 
                                        asResponseConversationParamfinal ResponseConversationParam asResponseConversationParam() The conversation that this response belongs to. 
 - 
                                        acceptfinal <T extends Any> T accept(InputTokenCountParams.Conversation.Visitor<T> visitor) 
 - 
                                        validatefinal InputTokenCountParams.Conversation validate() 
 - 
                                        ofIdfinal static InputTokenCountParams.Conversation ofId(String id) The unique ID of the conversation. 
 - 
                                        ofResponseConversationParamfinal static InputTokenCountParams.Conversation ofResponseConversationParam(ResponseConversationParam responseConversationParam) The conversation that this response belongs to. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-