Class CatalogCandidateSource
java.lang.Object
com.github.copilot.generated.rpc.CatalogCandidateSource
- Direct Known Subclasses:
CatalogCandidateSourceEmbedded, CatalogCandidateSourceUrl
Where a candidate's card came from. Exactly one of a URL or embedded data: the union has no variant carrying both, and no variant carrying neither, so the rule holds structurally rather than by validation.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CatalogCandidateSource
public CatalogCandidateSource()
-
-
Method Details
-
getKind
Returns the discriminator value for this variant.- Returns:
- the kind discriminator
-