Class SkillVersion
-
- All Implemented Interfaces:
public final class SkillVersion
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkillVersion.BuilderA builder for SkillVersion.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the skill version. final LongcreatedAt()Unix timestamp (seconds) for when the version was created. final Stringdescription()Description of the skill version. final Stringname()Name of the skill version. final JsonValue_object_()The object type, which is skill.version.final StringskillId()Identifier of the skill for this version. final Stringversion()Version number for this skill. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. 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 SkillVersion.BuildertoBuilder()final SkillVersionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SkillVersion.Builderbuilder()Returns a mutable builder for constructing an instance of SkillVersion. -
-
Method Detail
-
description
final String description()
Description of the skill version.
-
_object_
final JsonValue _object_()
The object type, which is
skill.version.Expected to always return the following:
JsonValue.from("skill.version")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.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_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 SkillVersion.Builder toBuilder()
-
validate
final SkillVersion 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 SkillVersion.Builder builder()
Returns a mutable builder for constructing an instance of SkillVersion.
The following fields are required:
.id() .createdAt() .description() .name() .skillId() .version()
-
-
-
-