Class BetaManagedAgentsAgentReference
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentReferenceA resolved agent reference with a concrete version.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentReference.BuilderA builder for BetaManagedAgentsAgentReference.
-
Method Summary
Modifier and Type Method Description final Stringid()final Integerversion()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("agent")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Integer>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentReference.BuildertoBuilder()final BetaManagedAgentsAgentReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentReference.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentReference. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("agent")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.
-
_version
final JsonField<Integer> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentReference.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentReference 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 BetaManagedAgentsAgentReference.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentReference.
The following fields are required:
.id() .version()
-
-
-
-