Record Class ResponsesReasoning
java.lang.Object
java.lang.Record
com.github.copilot.generated.ResponsesReasoning
@Generated("copilot-sdk-codegen")
public record ResponsesReasoning(String model, String initialEffort, String effort)
extends Record
Original request-level and effective conversation reasoning effort for a provider history boundary; the historical type name is retained for compatibility
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionResponsesReasoning(String model, String initialEffort, String effort) Creates an instance of aResponsesReasoningrecord class. -
Method Summary
Modifier and TypeMethodDescriptioneffort()Returns the value of theeffortrecord 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 theinitialEffortrecord component.model()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResponsesReasoning
Creates an instance of aResponsesReasoningrecord class.- Parameters:
model- the value for themodelrecord componentinitialEffort- the value for theinitialEffortrecord componenteffort- the value for theeffortrecord component
-
-
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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
initialEffort
Returns the value of theinitialEffortrecord component.- Returns:
- the value of the
initialEffortrecord component
-
effort
Returns the value of theeffortrecord component.- Returns:
- the value of the
effortrecord component
-