Record Class OpenAiFileApi.DeleteFileResponse
java.lang.Object
java.lang.Record
org.springframework.ai.openai.api.OpenAiFileApi.DeleteFileResponse
- Enclosing class:
OpenAiFileApi
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteFileResponse(String id, String object, Boolean deleted) Creates an instance of aDeleteFileResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptiondeleted()Returns the value of thedeletedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.object()Returns the value of theobjectrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeleteFileResponse
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
object
Returns the value of theobjectrecord component.- Returns:
- the value of the
objectrecord component
-
deleted
Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-