Class BetaInlineSkill
-
- All Implemented Interfaces:
public final class BetaInlineSkill
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaInlineSkill.BuilderA builder for BetaInlineSkill.
-
Method Summary
Modifier and Type Method Description final Stringdescription()The description of the skill. final Stringname()The name of the skill. final BetaInlineSkillSourcesource()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<BetaInlineSkillSource>_source()Returns the raw JSON value of source. final Map<String, JsonValue>_additionalProperties()final BetaInlineSkill.BuildertoBuilder()final BetaInlineSkillvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaInlineSkill.Builderbuilder()Returns a mutable builder for constructing an instance of BetaInlineSkill. -
-
Method Detail
-
description
final String description()
The description of the skill.
-
source
final BetaInlineSkillSource 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<BetaInlineSkillSource> _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 BetaInlineSkill.Builder toBuilder()
-
validate
final BetaInlineSkill 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 BetaInlineSkill.Builder builder()
Returns a mutable builder for constructing an instance of BetaInlineSkill.
The following fields are required:
.description() .name() .source()
-
-
-
-