Record Class SessionMcpAppsReadResourceResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpAppsReadResourceResult
@Generated("copilot-sdk-codegen")
public record SessionMcpAppsReadResourceResult(List<McpAppsResourceContent> contents)
extends Record
Resource contents returned by the MCP server.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aSessionMcpAppsReadResourceResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpAppsReadResourceResult
Creates an instance of aSessionMcpAppsReadResourceResultrecord class.- Parameters:
contents- the value for thecontentsrecord 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). -
contents
Returns the value of thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-