SkillVersion Class

  • java.lang.Object
    • com.azure.ai.projects.models.SkillVersion

Implements

public final class SkillVersion
implements JsonSerializable<SkillVersion>

A specific version of a skill.

Method Summary

Modifier and Type Method and Description
static SkillVersion fromJson(JsonReader jsonReader)

Reads an instance of SkillVersion from the JsonReader.

OffsetDateTime getCreatedAt()

Get the createdAt property: The Unix timestamp (seconds) when the skill version was created.

String getDescription()

Get the description property: A human-readable description of the skill version.

String getId()

Get the id property: The unique identifier of the skill version.

String getName()

Get the name property: The name of the skill version.

String getSkillId()

Get the skillId property: The identifier of the parent skill.

String getVersion()

Get the version property: The version identifier.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static SkillVersion fromJson(JsonReader jsonReader)

Reads an instance of SkillVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SkillVersion if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getCreatedAt

public OffsetDateTime getCreatedAt()

Get the createdAt property: The Unix timestamp (seconds) when the skill version was created.

Returns:

the createdAt value.

getDescription

public String getDescription()

Get the description property: A human-readable description of the skill version.

Returns:

the description value.

getId

public String getId()

Get the id property: The unique identifier of the skill version.

Returns:

the id value.

getName

public String getName()

Get the name property: The name of the skill version.

Returns:

the name value.

getSkillId

public String getSkillId()

Get the skillId property: The identifier of the parent skill.

Returns:

the skillId value.

getVersion

public String getVersion()

Get the version property: The version identifier. Skill versions are immutable.

Returns:

the version value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to