Record Class SessionUiElicitationParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionUiElicitationParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionUiElicitationParams(String sessionId, McpElicitationFormMode mode, String message, UIElicitationSchema requestedSchema, Map<String,Object> meta, McpTaskMetadata task)
extends Record
Prompt message and JSON schema describing the form fields to elicit from the user.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionUiElicitationParams(String sessionId, McpElicitationFormMode mode, String message, UIElicitationSchema requestedSchema, Map<String, Object> meta, McpTaskMetadata task) Creates an instance of aSessionUiElicitationParamsrecord 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.message()Returns the value of themessagerecord component.meta()Returns the value of themetarecord component.mode()Returns the value of themoderecord component.Returns the value of therequestedSchemarecord component.Returns the value of thesessionIdrecord component.task()Returns the value of thetaskrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionUiElicitationParams
public SessionUiElicitationParams(String sessionId, McpElicitationFormMode mode, String message, UIElicitationSchema requestedSchema, Map<String, Object> meta, McpTaskMetadata task) Creates an instance of aSessionUiElicitationParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmode- the value for themoderecord componentmessage- the value for themessagerecord componentrequestedSchema- the value for therequestedSchemarecord componentmeta- the value for themetarecord componenttask- the value for thetaskrecord 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
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
requestedSchema
Returns the value of therequestedSchemarecord component.- Returns:
- the value of the
requestedSchemarecord component
-
meta
-
task
Returns the value of thetaskrecord component.- Returns:
- the value of the
taskrecord component
-