Package com.openai.models.batches
        Class BatchUsage.InputTokensDetails
- 
                    
                    - All Implemented Interfaces:
 
 public final class BatchUsage.InputTokensDetailsA detailed breakdown of the input tokens. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classBatchUsage.InputTokensDetails.BuilderA builder for InputTokensDetails. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final LongcachedTokens()The number of tokens that were retrieved from the cache. final JsonField<Long>_cachedTokens()Returns the raw JSON value of cachedTokens. final Map<String, JsonValue>_additionalProperties()final BatchUsage.InputTokensDetails.BuildertoBuilder()final BatchUsage.InputTokensDetailsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchUsage.InputTokensDetails.Builderbuilder()Returns a mutable builder for constructing an instance of InputTokensDetails. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        cachedTokensfinal Long cachedTokens() The number of tokens that were retrieved from the cache. More on prompt caching. 
 - 
                                        _cachedTokensfinal JsonField<Long> _cachedTokens() Returns the raw JSON value of cachedTokens. Unlike cachedTokens, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal BatchUsage.InputTokensDetails.Builder toBuilder() 
 - 
                                        validatefinal BatchUsage.InputTokensDetails validate() 
 - 
                                        builderfinal static BatchUsage.InputTokensDetails.Builder builder() Returns a mutable builder for constructing an instance of InputTokensDetails. The following fields are required: .cachedTokens()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-