Record Class LlmInferenceHttpResponseStartParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.LlmInferenceHttpResponseStartParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record LlmInferenceHttpResponseStartParams(String requestId, Long status, String statusText, Map<String, List<String>> headers)
extends Record
Response head.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.headers()Returns the value of theheadersrecord component.Returns the value of therequestIdrecord component.status()Returns the value of thestatusrecord component.Returns the value of thestatusTextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LlmInferenceHttpResponseStartParams
public LlmInferenceHttpResponseStartParams(String requestId, Long status, String statusText, Map<String, List<String>> headers) Creates an instance of aLlmInferenceHttpResponseStartParamsrecord class.- Parameters:
requestId- the value for therequestIdrecord componentstatus- the value for thestatusrecord componentstatusText- the value for thestatusTextrecord componentheaders- the value for theheadersrecord 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). -
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
statusText
Returns the value of thestatusTextrecord component.- Returns:
- the value of the
statusTextrecord component
-
headers
-