class Attachment {

    public Publisher<Byte> getData() {
        return data;
    }

    public  Attachment(String name, File file, String contentType);
    public  Attachment(String name, File file, String contentType, String contentId);
    public  Attachment(String name, byte[] data, String contentType);
    public  Attachment(String name, Publisher<Byte> data, String contentType);
    public  Attachment(String name, byte[] data, String contentType, String contentId);
    public  Attachment(String name, Publisher<Byte> data, String contentType, String contentId);
    public  Attachment(String name, byte[] data, String contentType, String description, String disposition);
    public  Attachment(String name, Publisher<Byte> data, String contentType, String description, String disposition);

}