Class BetaOrganizationRateLimitWebSearchGroup
-
- All Implemented Interfaces:
public final class BetaOrganizationRateLimitWebSearchGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaOrganizationRateLimitWebSearchGroup.BuilderA builder for BetaOrganizationRateLimitWebSearchGroup.
-
Method Summary
Modifier and Type Method Description final Stringid()Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8).final JsonValue_type()Always web_search: the Messages API web search tool.final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final BetaOrganizationRateLimitWebSearchGroup.BuildertoBuilder()final BetaOrganizationRateLimitWebSearchGroupvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaOrganizationRateLimitWebSearchGroup.Builderbuilder()Returns a mutable builder for constructing an instance of BetaOrganizationRateLimitWebSearchGroup. final static BetaOrganizationRateLimitWebSearchGroupof(String id)Returns an immutable instance of BetaOrganizationRateLimitWebSearchGroup with the required id set to the given value. -
-
Method Detail
-
id
final String id()
Opaque identifier of the rate-limit group (for example,
rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
-
_type
final JsonValue _type()
Always
web_search: the Messages API web search tool.Expected to always return the following:
JsonValue.from("web_search")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaOrganizationRateLimitWebSearchGroup.Builder toBuilder()
-
validate
final BetaOrganizationRateLimitWebSearchGroup validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaOrganizationRateLimitWebSearchGroup.Builder builder()
Returns a mutable builder for constructing an instance of BetaOrganizationRateLimitWebSearchGroup.
The following fields are required:
.id()
-
of
final static BetaOrganizationRateLimitWebSearchGroup of(String id)
Returns an immutable instance of BetaOrganizationRateLimitWebSearchGroup with the required id set to the given value.
-
-
-
-