Enum Class CatalogMediaType

java.lang.Object
java.lang.Enum<CatalogMediaType>
com.github.copilot.generated.rpc.CatalogMediaType
All Implemented Interfaces:
Serializable, Comparable<CatalogMediaType>, Constable

@Generated("copilot-sdk-codegen") public enum CatalogMediaType extends Enum<CatalogMediaType>
Media type a catalog card is interpreted as
Since:
1.0.0
  • Enum Constant Details

    • APPLICATION_MCP_SERVER_CARD_JSON

      public static final CatalogMediaType APPLICATION_MCP_SERVER_CARD_JSON
      The application/mcp-server-card+json variant.
    • APPLICATION_MCP_SERVER_JSON

      public static final CatalogMediaType APPLICATION_MCP_SERVER_JSON
      The application/mcp-server+json variant.
    • APPLICATION_AI_SKILL

      public static final CatalogMediaType APPLICATION_AI_SKILL
      The application/ai-skill variant.
    • APPLICATION_VND_GITHUB_COPILOT_PLUGIN

      public static final CatalogMediaType APPLICATION_VND_GITHUB_COPILOT_PLUGIN
      The application/vnd.github.copilot-plugin variant.
    • APPLICATION_VND_ANTHROPIC_CLAUDE_PLUGIN_JSON

      public static final CatalogMediaType APPLICATION_VND_ANTHROPIC_CLAUDE_PLUGIN_JSON
      The application/vnd.anthropic.claude-plugin+json variant.
    • APPLICATION_AGENT_PLUGIN_JSON

      public static final CatalogMediaType APPLICATION_AGENT_PLUGIN_JSON
      The application/agent-plugin+json variant.
  • Method Details

    • values

      public static CatalogMediaType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CatalogMediaType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromValue

      public static CatalogMediaType fromValue(String value)