Record Class OpenAiSdkChatOptions.StreamOptions
java.lang.Object
java.lang.Record
org.springframework.ai.openaisdk.OpenAiSdkChatOptions.StreamOptions
- Enclosing class:
OpenAiSdkChatOptions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalPropertiesrecord component.builder()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 theincludeObfuscationrecord component.Returns the value of theincludeUsagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StreamOptions
public StreamOptions(Boolean includeObfuscation, Boolean includeUsage, Map<String, Object> additionalProperties) Creates an instance of aStreamOptionsrecord class.- Parameters:
includeObfuscation- the value for theincludeObfuscationrecord componentincludeUsage- the value for theincludeUsagerecord componentadditionalProperties- the value for theadditionalPropertiesrecord component
-
-
Method Details
-
builder
-
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). -
includeObfuscation
Returns the value of theincludeObfuscationrecord component.- Returns:
- the value of the
includeObfuscationrecord component
-
includeUsage
Returns the value of theincludeUsagerecord component.- Returns:
- the value of the
includeUsagerecord component
-
additionalProperties
-