Class BetaManagedAgentsAgentParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentParamsSpecification for an Agent. Provide a specific
versionor use the short-formagent="agent_id"for the most recent version
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentParams.BuilderA builder for BetaManagedAgentsAgentParams.
-
Method Summary
Modifier and Type Method Description final Stringid()The agentID.final Optional<Integer>version()The specific agentversion to use.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 BetaManagedAgentsAgentParams.BuildertoBuilder()final BetaManagedAgentsAgentParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentParams. final static BetaManagedAgentsAgentParamsof(String id)Returns an immutable instance of BetaManagedAgentsAgentParams with the required id set to the given value. -
-
Method Detail
-
version
final Optional<Integer> version()
The specific
agentversion to use. Omit to use the latest version. Must be at least 1 if specified.
-
_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 BetaManagedAgentsAgentParams.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentParams 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 BetaManagedAgentsAgentParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentParams.
The following fields are required:
.id()
-
of
final static BetaManagedAgentsAgentParams of(String id)
Returns an immutable instance of BetaManagedAgentsAgentParams with the required id set to the given value.
-
-
-
-