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.
public final classBetaManagedAgentsAgentParams.Type
-
Method Summary
Modifier and Type Method Description final Stringid()The agentID.final BetaManagedAgentsAgentParams.Typetype()final Optional<Integer>version()The specific agentversion to use.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaManagedAgentsAgentParams.Type>_type()Returns the raw JSON value of type. 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. -
-
Method Detail
-
type
final BetaManagedAgentsAgentParams.Type type()
-
version
final Optional<Integer> version()
The specific
agentversion to use. Omit to use the latest version. Must be at least 1 if specified.
-
_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.
-
_type
final JsonField<BetaManagedAgentsAgentParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, 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() .type()
-
-
-
-