Class CatalogMalformedCardError
java.lang.Object
com.github.copilot.generated.rpc.CatalogSearchResult
com.github.copilot.generated.rpc.CatalogMalformedCardError
@Generated("copilot-sdk-codegen")
public final class CatalogMalformedCardError
extends CatalogSearchResult
A card could not be parsed or did not satisfy its declared media type's schema.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Returns the discriminator value for this variant.voidsetMediaType(CatalogMediaType mediaType) voidsetMessage(String message) voidsetReason(CatalogMalformedCardReason reason)
-
Constructor Details
-
CatalogMalformedCardError
public CatalogMalformedCardError()
-
-
Method Details
-
getKind
Description copied from class:CatalogSearchResultReturns the discriminator value for this variant.- Specified by:
getKindin classCatalogSearchResult- Returns:
- the kind discriminator
-
getReason
-
setReason
-
getMediaType
-
setMediaType
-
getMessage
-
setMessage
-