Class RateLimitListPageResponse.Builder
-
- All Implemented Interfaces:
public final class RateLimitListPageResponse.BuilderA builder for RateLimitListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final RateLimitListPageResponse.Builder data(List<WorkspaceRateLimit> data)
Rate-limit entries for the workspace: one per group with at least one override, or, with
include_inheritedset totrue, one per group the workspace can see that has organization-level limits.
-
data
final RateLimitListPageResponse.Builder data(JsonField<List<WorkspaceRateLimit>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<WorkspaceRateLimit>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final RateLimitListPageResponse.Builder nextPage(String nextPage)
Opaque cursor for the next page of results, or
nullwhen no entries remain beyond this response.
-
nextPage
final RateLimitListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final RateLimitListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RateLimitListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final RateLimitListPageResponse.Builder addData(WorkspaceRateLimit data)
Adds a single WorkspaceRateLimit to Builder.data.
-
putAdditionalProperty
final RateLimitListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RateLimitListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RateLimitListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RateLimitListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RateLimitListPageResponse build()
Returns an immutable instance of RateLimitListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .nextPage()
-
-
-
-