Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.74 KB

Attachment.md

File metadata and controls

36 lines (30 loc) · 1.74 KB

MergeATSClient::Attachment

Properties

Name Type Description Notes
id String [optional][readonly]
remote_id String The third-party API ID of the matching object. [optional]
file_name String The attachment's name. [optional]
file_url String The attachment's url. [optional]
candidate String [optional]
attachment_type AttachmentTypeEnum The attachment's type. * `RESUME` - RESUME * `COVER_LETTER` - COVER_LETTER * `OFFER_LETTER` - OFFER_LETTER * `OTHER` - OTHER [optional]
remote_was_deleted Boolean [optional][readonly]
modified_at Time This is the datetime that this object was last updated by Merge [optional][readonly]
field_mappings Hash<String, AnyType> [optional][readonly]
remote_data Array<RemoteData> [optional][readonly]

Example

require 'merge_ats_client'

instance = MergeATSClient::Attachment.new(
  id: c640b80b-fac9-409f-aa19-1f9221aec445,
  remote_id: 11167,
  file_name: Candidate Resume,
  file_url: http://alturl.com/p749b,
  candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef,
  attachment_type: RESUME,
  remote_was_deleted: null,
  modified_at: 2021-10-16T00:00Z,
  field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
  remote_data: [{&quot;path&quot;:&quot;/attachments&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
)