Class RateLimitsUpdatedEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class RateLimitsUpdatedEvent.BuilderA builder for RateLimitsUpdatedEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
eventId
final RateLimitsUpdatedEvent.Builder eventId(String eventId)
The unique ID of the server event.
 
- 
                                        
eventId
final RateLimitsUpdatedEvent.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
rateLimits
final RateLimitsUpdatedEvent.Builder rateLimits(List<RateLimitsUpdatedEvent.RateLimit> rateLimits)
List of rate limit information.
 
- 
                                        
rateLimits
final RateLimitsUpdatedEvent.Builder rateLimits(JsonField<List<RateLimitsUpdatedEvent.RateLimit>> rateLimits)
Sets Builder.rateLimits to an arbitrary JSON value.
You should usually call Builder.rateLimits with a well-typed
List<RateLimit>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addRateLimit
final RateLimitsUpdatedEvent.Builder addRateLimit(RateLimitsUpdatedEvent.RateLimit rateLimit)
Adds a single RateLimit to rateLimits.
 
- 
                                        
type
final RateLimitsUpdatedEvent.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("rate_limits.updated")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final RateLimitsUpdatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final RateLimitsUpdatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final RateLimitsUpdatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final RateLimitsUpdatedEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final RateLimitsUpdatedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final RateLimitsUpdatedEvent build()
Returns an immutable instance of RateLimitsUpdatedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .rateLimits() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -