Class Skill
-
- All Implemented Interfaces:
public final class Skill
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkill.BuilderA builder for Skill.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the skill. final LongcreatedAt()Unix timestamp (seconds) for when the skill was created. final StringdefaultVersion()Default version for the skill. final Stringdescription()Description of the skill. final StringlatestVersion()Latest version for the skill. final Stringname()Name of the skill. final JsonValue_object_()The object type, which is 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>_defaultVersion()Returns the raw JSON value of defaultVersion. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_latestVersion()Returns the raw JSON value of latestVersion. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final Skill.BuildertoBuilder()final Skillvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Skill.Builderbuilder()Returns a mutable builder for constructing an instance of Skill. -
-
Method Detail
-
defaultVersion
final String defaultVersion()
Default version for the skill.
-
description
final String description()
Description of the skill.
-
latestVersion
final String latestVersion()
Latest version for the skill.
-
_object_
final JsonValue _object_()
The object type, which is
skill.Expected to always return the following:
JsonValue.from("skill")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.
-
_defaultVersion
final JsonField<String> _defaultVersion()
Returns the raw JSON value of defaultVersion.
Unlike defaultVersion, 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.
-
_latestVersion
final JsonField<String> _latestVersion()
Returns the raw JSON value of latestVersion.
Unlike latestVersion, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Skill.Builder toBuilder()
-
validate
final Skill 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 Skill.Builder builder()
Returns a mutable builder for constructing an instance of Skill.
The following fields are required:
.id() .createdAt() .defaultVersion() .description() .latestVersion() .name()
-
-
-
-