Record Class OpenAiModerationApi.Data
java.lang.Object
java.lang.Record
org.springframework.ai.openai.api.OpenAiModerationApi.Data
- Enclosing class:
OpenAiModerationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionb64Json()Returns the value of theb64Jsonrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therevisedPromptrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
Data
-
-
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). -
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
b64Json
Returns the value of theb64Jsonrecord component.- Returns:
- the value of the
b64Jsonrecord component
-
revisedPrompt
Returns the value of therevisedPromptrecord component.- Returns:
- the value of the
revisedPromptrecord component
-