Record Class LlmInferenceHttpRequestChunkRequest
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.LlmInferenceHttpRequestChunkRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbinary()Returns the value of thebinaryrecord component.cancel()Returns the value of thecancelrecord component.Returns the value of thecancelReasonrecord component.data()Returns the value of thedatarecord component.end()Returns the value of theendrecord 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 therequestIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LlmInferenceHttpRequestChunkRequest
public LlmInferenceHttpRequestChunkRequest(String requestId, String data, Boolean binary, Boolean end, Boolean cancel, String cancelReason) Creates an instance of aLlmInferenceHttpRequestChunkRequestrecord class.- Parameters:
requestId- the value for therequestIdrecord componentdata- the value for thedatarecord componentbinary- the value for thebinaryrecord componentend- the value for theendrecord componentcancel- the value for thecancelrecord componentcancelReason- the value for thecancelReasonrecord 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
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
binary
Returns the value of thebinaryrecord component.- Returns:
- the value of the
binaryrecord component
-
end
Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
cancel
Returns the value of thecancelrecord component.- Returns:
- the value of the
cancelrecord component
-
cancelReason
Returns the value of thecancelReasonrecord component.- Returns:
- the value of the
cancelReasonrecord component
-