MCPcopy Create free account
hub / github.com/sendgrid/sendgrid-nodejs / setSendAt

Method setSendAt

packages/helpers/classes/mail.js:152–156  ·  view source on GitHub ↗

* Set send at

(sendAt)

Source from the content-addressed store, hash-verified

150 * Set send at
151 */
152 setSendAt(sendAt) {
153 if (this._checkProperty('sendAt', sendAt, [this._checkUndefined, this._createCheckThatThrows(Number.isInteger, 'Integer expected for `sendAt`')])) {
154 this.sendAt = sendAt;
155 }
156 }
157
158 /**
159 * Set template ID, also checks if the template is dynamic or legacy

Callers 3

fromDataMethod · 0.95
to-json.spec.jsFile · 0.45

Calls 2

_checkPropertyMethod · 0.95

Tested by

no test coverage detected