Apex
Types

Attachment

An attachment represents a relation between a Salesforce record and a file/folder. Following fields are available on this type -

  1. id - CloudFiles Id of the attachment
  2. resource - Resource object which is attached to the record