Record Class CatalogAiSkillCandidateProvenance
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogAiSkillCandidateProvenance
@Generated("copilot-sdk-codegen")
public record CatalogAiSkillCandidateProvenance(String authority, String observedAt, CatalogAiSkillMediaType mediaType)
extends Record
Where and when an AI skill catalog reference was observed. Discovery provenance deliberately carries no content digest because search does not establish the exact validated content a later plan will bind.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogAiSkillCandidateProvenance(String authority, String observedAt, CatalogAiSkillMediaType mediaType) Creates an instance of aCatalogAiSkillCandidateProvenancerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityrecord 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.Returns the value of theobservedAtrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CatalogAiSkillCandidateProvenance
public CatalogAiSkillCandidateProvenance(String authority, String observedAt, CatalogAiSkillMediaType mediaType) Creates an instance of aCatalogAiSkillCandidateProvenancerecord class.- Parameters:
authority- the value for theauthorityrecord componentobservedAt- the value for theobservedAtrecord 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
-
observedAt
Returns the value of theobservedAtrecord component.- Returns:
- the value of the
observedAtrecord component
-
mediaType
Returns the value of themediaTyperecord component.- Returns:
- the value of the
mediaTyperecord component
-