Record Class SessionSendSystemNotificationParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionSendSystemNotificationParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionSendSystemNotificationParams(String sessionId, String message, Object kind, Object options)
extends Record
Internal request for sending a system notification.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSendSystemNotificationParams(String sessionId, String message, Object kind, Object options) Creates an instance of aSessionSendSystemNotificationParamsrecord 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.kind()Returns the value of thekindrecord component.message()Returns the value of themessagerecord component.options()Returns the value of theoptionsrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionSendSystemNotificationParams
public SessionSendSystemNotificationParams(String sessionId, String message, Object kind, Object options) Creates an instance of aSessionSendSystemNotificationParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmessage- the value for themessagerecord componentkind- the value for thekindrecord componentoptions- the value for theoptionsrecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-