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
Creates an instance of aDeleteFileResponserecord class.- Parameters:
id- the value for theidrecord componentobject- the value for theobjectrecord componentdeleted- the value for thedeletedrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
-