Record Class LlmInferenceHttpRequestStartRequest
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.LlmInferenceHttpRequestStartRequest
@Generated("copilot-sdk-codegen")
public record LlmInferenceHttpRequestStartRequest(String requestId, String sessionId, String method, String url, Map<String, List<String>> headers, LlmInferenceHttpRequestStartTransport transport)
extends Record
The head of an outbound model-layer HTTP request.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionLlmInferenceHttpRequestStartRequest(String requestId, String sessionId, String method, String url, Map<String, List<String>> headers, LlmInferenceHttpRequestStartTransport transport) Creates an instance of aLlmInferenceHttpRequestStartRequestrecord class. -
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.method()Returns the value of themethodrecord component.Returns the value of therequestIdrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportrecord component.url()Returns the value of theurlrecord component.
-
Constructor Details
-
LlmInferenceHttpRequestStartRequest
public LlmInferenceHttpRequestStartRequest(String requestId, String sessionId, String method, String url, Map<String, List<String>> headers, LlmInferenceHttpRequestStartTransport transport) Creates an instance of aLlmInferenceHttpRequestStartRequestrecord class.- Parameters:
requestId- the value for therequestIdrecord componentsessionId- the value for thesessionIdrecord componentmethod- the value for themethodrecord componenturl- the value for theurlrecord componentheaders- the value for theheadersrecord componenttransport- the value for thetransportrecord 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
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
headers
-
transport
Returns the value of thetransportrecord component.- Returns:
- the value of the
transportrecord component
-