MCPcopy Index your code
hub / github.com/sendgrid/sendgrid-nodejs / Attachment

Class Attachment

packages/helpers/classes/attachment.d.ts:17–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export default class Attachment implements AttachmentData {
18 content: string;
19 filename: string;
20 type?: string;
21 disposition?: string;
22 contentId?: string;
23
24 constructor(data?: AttachmentData);
25
26 fromData(data: AttachmentData): void;
27 setContent(content: string): void;
28 setFilename(filename: string): void;
29 setType(type: string): void;
30 setDisposition(disposition: string): void;
31 setContentId(contentId: string): void;
32 toJSON(): AttachmentJSON;
33}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected