Record Class McpPlanProvenance
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanProvenance
@Generated("copilot-sdk-codegen")
public record McpPlanProvenance(String authority, String validatedAt, CardDigest cardDigest, McpServerCardMediaType mediaType)
extends Record
Provenance of the exact validated JSON MCP card content bound privately to a completed plan and its opaque handle.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanProvenance(String authority, String validatedAt, CardDigest cardDigest, McpServerCardMediaType mediaType) Creates an instance of aMcpPlanProvenancerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityrecord component.Returns the value of thecardDigestrecord 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 themediaTyperecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidatedAtrecord component.
-
Constructor Details
-
McpPlanProvenance
public McpPlanProvenance(String authority, String validatedAt, CardDigest cardDigest, McpServerCardMediaType mediaType) Creates an instance of aMcpPlanProvenancerecord class.- Parameters:
authority- the value for theauthorityrecord componentvalidatedAt- the value for thevalidatedAtrecord componentcardDigest- the value for thecardDigestrecord componentmediaType- the value for themediaTyperecord 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). -
authority
Returns the value of theauthorityrecord component.- Returns:
- the value of the
authorityrecord component
-
validatedAt
Returns the value of thevalidatedAtrecord component.- Returns:
- the value of the
validatedAtrecord component
-
cardDigest
Returns the value of thecardDigestrecord component.- Returns:
- the value of the
cardDigestrecord component
-
mediaType
Returns the value of themediaTyperecord component.- Returns:
- the value of the
mediaTyperecord component
-