FileDeletionStatus Class
- java.
lang. Object - com.
azure. ai. openai. models. FileDeletionStatus
- com.
Implements
public final class FileDeletionStatus
implements JsonSerializable<FileDeletionStatus>
A status response from a file deletion operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
String |
getId()
Get the id property: The ID of the resource specified for deletion. |
String |
getObject()
Get the object property: The object type, which is always 'file'. |
boolean |
isDeleted()
Get the deleted property: A value indicating whether deletion was successful. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static FileDeletionStatus fromJson(JsonReader jsonReader)
Reads an instance of FileDeletionStatus from the JsonReader.
Parameters:
Returns:
Throws:
getId
public String getId()
Get the id property: The ID of the resource specified for deletion.
Returns:
getObject
public String getObject()
Get the object property: The object type, which is always 'file'.
Returns:
isDeleted
public boolean isDeleted()
Get the deleted property: A value indicating whether deletion was successful.
Returns:
toJson
Applies to
Azure SDK for Java