Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.81 KB

LinkedFile.md

File metadata and controls

48 lines (42 loc) · 1.81 KB

Shortcut::LinkedFile

Properties

Name Type Description Notes
description String The description of the file.
entity_type String A string description of this resource.
story_ids Array<Integer> The IDs of the stories this file is attached to.
mention_ids Array<String> Deprecated: use member_mention_ids.
member_mention_ids Array<String> The members that are mentioned in the description of the file.
name String The name of the linked file.
thumbnail_url String The URL of the file thumbnail, if the integration provided it.
type String The integration type (e.g. google, dropbox, box).
size Integer The filesize, if the integration provided it.
uploader_id String The UUID of the member that uploaded the file.
content_type String The content type of the image (e.g. txt/plain).
updated_at Time The time/date the LinkedFile was updated.
group_mention_ids Array<String> The groups that are mentioned in the description of the file.
id Integer The unique identifier for the file.
url String The URL of the file.
created_at Time The time/date the LinkedFile was created.

Example

require 'shortcut_client_ruby'

instance = Shortcut::LinkedFile.new(
  description: null,
  entity_type: null,
  story_ids: null,
  mention_ids: null,
  member_mention_ids: null,
  name: null,
  thumbnail_url: null,
  type: null,
  size: null,
  uploader_id: null,
  content_type: null,
  updated_at: null,
  group_mention_ids: null,
  id: null,
  url: null,
  created_at: null
)