Class BetaSkillReference
-
- All Implemented Interfaces:
public final class BetaSkillReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaSkillReference.BuilderA builder for BetaSkillReference.
-
Method Summary
Modifier and Type Method Description final StringskillId()The ID of the referenced skill. final JsonValue_type()References a skill created with the /v1/skills endpoint. final Optional<String>version()Optional skill version. 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 BetaSkillReference.BuildertoBuilder()final BetaSkillReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaSkillReference.Builderbuilder()Returns a mutable builder for constructing an instance of BetaSkillReference. -
-
Method Detail
-
_type
final JsonValue _type()
References a skill created with the /v1/skills endpoint.
Expected to always return the following:
JsonValue.from("skill_reference")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
version
final Optional<String> version()
Optional skill version. Use a positive integer or 'latest'. Omit for default.
-
_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 BetaSkillReference.Builder toBuilder()
-
validate
final BetaSkillReference 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 BetaSkillReference.Builder builder()
Returns a mutable builder for constructing an instance of BetaSkillReference.
The following fields are required:
.skillId()
-
-
-
-