Class SendAttachment

java.lang.Object
com.github.copilot.generated.rpc.SendAttachment
Direct Known Subclasses:
SendAttachmentBlob, SendAttachmentDirectory, SendAttachmentFile, SendAttachmentGitHubReference, SendAttachmentSelection

@Generated("copilot-sdk-codegen") public abstract class SendAttachment extends Object
A user message attachment — a file, directory, code selection, blob, or GitHub reference
Since:
1.0.0
  • Constructor Details

    • SendAttachment

      public SendAttachment()
  • Method Details

    • getType

      public abstract String getType()
      Returns the discriminator value for this variant.
      Returns:
      the type discriminator