Class BetaManagedAgentsCustomSkillParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCustomSkillParamsA user-created custom skill.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsCustomSkillParams.BuilderA builder for BetaManagedAgentsCustomSkillParams.
-
Method Summary
Modifier and Type Method Description final StringskillId()Tagged ID of the custom skill (e.g., "skill_01XJ5..."). final Optional<String>version()Version to pin. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("custom")final JsonField<String>_skillId()Returns the raw JSON value of skillId. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsCustomSkillParams.BuildertoBuilder()final BetaManagedAgentsCustomSkillParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsCustomSkillParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsCustomSkillParams. final static BetaManagedAgentsCustomSkillParamsof(String skillId)Returns an immutable instance of BetaManagedAgentsCustomSkillParams with the required skillId set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("custom")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_skillId
final JsonField<String> _skillId()
Returns the raw JSON value of skillId.
Unlike skillId, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _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 BetaManagedAgentsCustomSkillParams.Builder toBuilder()
-
validate
final BetaManagedAgentsCustomSkillParams 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 BetaManagedAgentsCustomSkillParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsCustomSkillParams.
The following fields are required:
.skillId()
-
of
final static BetaManagedAgentsCustomSkillParams of(String skillId)
Returns an immutable instance of BetaManagedAgentsCustomSkillParams with the required skillId set to the given value.
-
-
-
-