Record Class DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters
- Enclosing class:
- DashScopeAgentApi.DashScopeAgentRequest
public static record DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters(DashScopeAgentFlowStreamMode flowStreamMode, Boolean hasThoughts, Boolean incrementalOutput, DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters.DashScopeAgentRequestRagOptions ragOptions)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionDashScopeAgentRequestParameters(DashScopeAgentFlowStreamMode flowStreamMode, Boolean hasThoughts, Boolean incrementalOutput, DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters.DashScopeAgentRequestRagOptions ragOptions) Creates an instance of aDashScopeAgentRequestParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theflowStreamModerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehasThoughtsrecord component.Returns the value of theincrementalOutputrecord component.Returns the value of theragOptionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DashScopeAgentRequestParameters
public DashScopeAgentRequestParameters(DashScopeAgentFlowStreamMode flowStreamMode, Boolean hasThoughts, Boolean incrementalOutput, DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters.DashScopeAgentRequestRagOptions ragOptions) Creates an instance of aDashScopeAgentRequestParametersrecord class.- Parameters:
flowStreamMode- the value for theflowStreamModerecord componenthasThoughts- the value for thehasThoughtsrecord componentincrementalOutput- the value for theincrementalOutputrecord componentragOptions- the value for theragOptionsrecord 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). -
flowStreamMode
Returns the value of theflowStreamModerecord component.- Returns:
- the value of the
flowStreamModerecord component
-
hasThoughts
Returns the value of thehasThoughtsrecord component.- Returns:
- the value of the
hasThoughtsrecord component
-
incrementalOutput
Returns the value of theincrementalOutputrecord component.- Returns:
- the value of the
incrementalOutputrecord component
-
ragOptions
public DashScopeAgentApi.DashScopeAgentRequest.DashScopeAgentRequestParameters.DashScopeAgentRequestRagOptions ragOptions()Returns the value of theragOptionsrecord component.- Returns:
- the value of the
ragOptionsrecord component
-