Record Class SessionMcpPromptsListResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpPromptsListResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalPropertiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.meta()Returns the value of themetarecord component.Returns the value of thenextCursorrecord component.prompts()Returns the value of thepromptsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpPromptsListResult
public SessionMcpPromptsListResult(List<McpPrompt> prompts, String nextCursor, Map<String, Object> meta, Map<String, Object> additionalProperties) Creates an instance of aSessionMcpPromptsListResultrecord class.- Parameters:
prompts- the value for thepromptsrecord componentnextCursor- the value for thenextCursorrecord componentmeta- the value for themetarecord componentadditionalProperties- the value for theadditionalPropertiesrecord 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). -
prompts
-
nextCursor
Returns the value of thenextCursorrecord component.- Returns:
- the value of the
nextCursorrecord component
-
meta
-
additionalProperties
-