Class InlineSkill
-
- All Implemented Interfaces:
public final class InlineSkill
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInlineSkill.BuilderA builder for InlineSkill.
-
Method Summary
Modifier and Type Method Description final Stringdescription()The description of the skill. final Stringname()The name of the skill. final InlineSkillSourcesource()Inline skill payload final JsonValue_type()Defines an inline skill for this request. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<InlineSkillSource>_source()Returns the raw JSON value of source. final Map<String, JsonValue>_additionalProperties()final InlineSkill.BuildertoBuilder()final InlineSkillvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InlineSkill.Builderbuilder()Returns a mutable builder for constructing an instance of InlineSkill. -
-
Method Detail
-
description
final String description()
The description of the skill.
-
source
final InlineSkillSource source()
Inline skill payload
-
_type
final JsonValue _type()
Defines an inline skill for this request.
Expected to always return the following:
JsonValue.from("inline")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_source
final JsonField<InlineSkillSource> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InlineSkill.Builder toBuilder()
-
validate
final InlineSkill 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 InlineSkill.Builder builder()
Returns a mutable builder for constructing an instance of InlineSkill.
The following fields are required:
.description() .name() .source()
-
-
-
-