Class SkillReference
-
- All Implemented Interfaces:
public final class SkillReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkillReference.BuilderA builder for SkillReference.
-
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 SkillReference.BuildertoBuilder()final SkillReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SkillReference.Builderbuilder()Returns a mutable builder for constructing an instance of SkillReference. -
-
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 SkillReference.Builder toBuilder()
-
validate
final SkillReference 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 SkillReference.Builder builder()
Returns a mutable builder for constructing an instance of SkillReference.
The following fields are required:
.skillId()
-
-
-
-