module:model/Attachment

module:model/Attachment

new module:model/Attachment()

Source:

Constructs a new Attachment.
Contains information about an attachment.

Members

(inner) accessControl :String

Source:
Type:
  • String

(inner) attachmentId :String

Source:
Type:
  • String

(inner) attachmentType :String

Source:

Specifies the type of the attachment for the recipient.

Type:
  • String

(inner) data :String

Source:
Type:
  • String

(inner) label :String

Source:
Type:
  • String

(inner) name :String

Source:
Type:
  • String

(inner) remoteUrl :String

Source:
Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/Attachment}

Source:

Constructs a Attachment from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/Attachment

Optional instance to populate.

Returns:

The populated Attachment instance.

Type
module:model/Attachment