Record Class McpPlanResourceIdentity
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanResourceIdentity
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanResourceIdentity(String canonicalName, String serverName, String version, String registryId) Creates an instance of aMcpPlanResourceIdentityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecanonicalNamerecord 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 theregistryIdrecord component.Returns the value of theserverNamerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
McpPlanResourceIdentity
public McpPlanResourceIdentity(String canonicalName, String serverName, String version, String registryId) Creates an instance of aMcpPlanResourceIdentityrecord class.- Parameters:
canonicalName- the value for thecanonicalNamerecord componentserverName- the value for theserverNamerecord componentversion- the value for theversionrecord componentregistryId- the value for theregistryIdrecord 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). -
canonicalName
Returns the value of thecanonicalNamerecord component.- Returns:
- the value of the
canonicalNamerecord component
-
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
registryId
Returns the value of theregistryIdrecord component.- Returns:
- the value of the
registryIdrecord component
-