Sha256: 7980d562b51780e8a012f2d109b68a195cd78e95acb44411aaec1beaac094fc8

Contents?: true

Size: 1.47 KB

Versions: 8

Compression:

Stored size: 1.47 KB

Contents

module DropboxApi::Metadata
  # Example of a serialized {FileLink} object:
  #   {
  #     ".tag": "file",
  #     "url": "https://www.dropbox.com/s/2sn712vy1ovegw8/Prime_Numbers.txt?dl=0",
  #     "name": "Prime_Numbers.txt",
  #     "link_permissions": {
  #       "can_revoke": false,
  #       "resolved_visibility": {
  #         ".tag": "public"
  #       },
  #       "revoke_failure_reason": {
  #         ".tag": "owner_only"
  #       }
  #     },
  #     "client_modified": "2015-05-12T15:50:38Z",
  #     "server_modified": "2015-05-12T15:50:38Z",
  #     "rev": "a1c10ce0dd78",
  #     "size": 7212,
  #     "id": "id:a4ayc_80_OEAAAAAAAAAXw",
  #     "path_lower": "/homework/math/prime_numbers.txt",
  #     "team_member_info": {
  #       "team_info": {
  #         "id": "dbtid:AAFdgehTzw7WlXhZJsbGCLePe8RvQGYDr-I",
  #         "name": "Acme, Inc."
  #       },
  #       "display_name": "Roger Rabbit",
  #       "member_id": "dbmid:abcd1234"
  #     }
  #   }
  class FileLink < Base
    field :url, String
    field :name, String
    field :link_permissions, DropboxApi::Metadata::LinkPermissions
    field :client_modified, Time
    field :server_modified, Time
    field :rev, String
    field :size, Integer
    field :id, String, :optional
    field :expires, Time, :optional
    field :path_lower, String, :optional
    field :team_member_info, DropboxApi::Metadata::TeamMemberInfo, :optional
    field :content_owner_team_info, DropboxApi::Metadata::Team, :optional
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dropbox_api-0.1.10 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.9 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.8 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.7 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.6 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.5 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.4 lib/dropbox_api/metadata/file_link.rb
dropbox_api-0.1.3 lib/dropbox_api/metadata/file_link.rb