Class RateLimitsUpdatedEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class RateLimitsUpdatedEventEmitted at the beginning of a Response to indicate the updated rate limits. When a Response is created some tokens will be "reserved" for the output tokens, the rate limits shown here reflect that reservation, which is then adjusted accordingly once the Response is completed. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classRateLimitsUpdatedEvent.BuilderA builder for RateLimitsUpdatedEvent. public final classRateLimitsUpdatedEvent.RateLimit
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final StringeventId()The unique ID of the server event. final List<RateLimitsUpdatedEvent.RateLimit>rateLimits()List of rate limit information. final JsonValue_type()The event type, must be rate_limits.updated.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<List<RateLimitsUpdatedEvent.RateLimit>>_rateLimits()Returns the raw JSON value of rateLimits. final Map<String, JsonValue>_additionalProperties()final RateLimitsUpdatedEvent.BuildertoBuilder()final RateLimitsUpdatedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RateLimitsUpdatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of RateLimitsUpdatedEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        rateLimitsfinal List<RateLimitsUpdatedEvent.RateLimit> rateLimits() List of rate limit information. 
 - 
                                        _typefinal JsonValue _type() The event type, must be rate_limits.updated.Expected to always return the following: JsonValue.from("rate_limits.updated")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _eventIdfinal JsonField<String> _eventId() Returns the raw JSON value of eventId. Unlike eventId, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rateLimitsfinal JsonField<List<RateLimitsUpdatedEvent.RateLimit>> _rateLimits() Returns the raw JSON value of rateLimits. Unlike rateLimits, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal RateLimitsUpdatedEvent.Builder toBuilder() 
 - 
                                        validatefinal RateLimitsUpdatedEvent validate() 
 - 
                                        builderfinal static RateLimitsUpdatedEvent.Builder builder() Returns a mutable builder for constructing an instance of RateLimitsUpdatedEvent. The following fields are required: .eventId() .rateLimits()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-