Class CatalogContractViolationError
java.lang.Object
com.github.copilot.generated.rpc.CatalogSearchResult
com.github.copilot.generated.rpc.CatalogContractViolationError
@Generated("copilot-sdk-codegen")
public final class CatalogContractViolationError
extends CatalogSearchResult
An upstream catalog response broke the wire contract. Most importantly, every result must carry exactly one of a URL or embedded data: a result carrying both, or neither, is refused here rather than being guessed at.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Returns the discriminator value for this variant.voidsetMessage(String message) void
-
Constructor Details
-
CatalogContractViolationError
public CatalogContractViolationError()
-
-
Method Details
-
getKind
Description copied from class:CatalogSearchResultReturns the discriminator value for this variant.- Specified by:
getKindin classCatalogSearchResult- Returns:
- the kind discriminator
-
getReason
-
setReason
-
getMessage
-
setMessage
-