Package com.openai.models.skills
Class SkillUpdateParams.Body
-
- All Implemented Interfaces:
public final class SkillUpdateParams.BodyUpdates the default version pointer for a skill.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkillUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringdefaultVersion()The skill version number to set as default. final JsonField<String>_defaultVersion()Returns the raw JSON value of defaultVersion. final Map<String, JsonValue>_additionalProperties()final SkillUpdateParams.Body.BuildertoBuilder()final SkillUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SkillUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
defaultVersion
final String defaultVersion()
The skill version number to set as default.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SkillUpdateParams.Body.Builder toBuilder()
-
validate
final SkillUpdateParams.Body 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 SkillUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.defaultVersion()
-
-
-
-