Sha256: 6e930748f5ac3bf7a9e774761c57e0e2ae0018cc502bd2590a4cd1f3975a04d4

Contents?: true

Size: 794 Bytes

Versions: 8

Compression:

Stored size: 794 Bytes

Contents

module DropboxApi::Metadata
  # Example of a serialized {SharedFolder} object:
  #
  # ```json
  # {
  #   ".tag" => "complete",
  #   "access_type" => {".tag"=>"owner"},
  #   "is_team_folder" => false,
  #   "policy" => {
  #     "acl_update_policy" => { ".tag" => "owner" },
  #     "shared_link_policy" => { ".tag" => "anyone" }
  #   },
  #   "path_lower" => "/folder_a",
  #   "name" => "folder_a",
  #   "shared_folder_id" => "1231266557",
  #   "time_invited" => "2016-06-04T10:00:35Z"
  # }
  # ```
  class SharedFolder < Base
    field :access_type, String
    field :is_team_folder, :boolean
    field :policy, DropboxApi::Metadata::SharedFolderPolicy
    field :path_lower, String
    field :name, String
    field :shared_folder_id, Integer
    field :time_invited, Time
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.17 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.16 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.15 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.14 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.13 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.12 lib/dropbox_api/metadata/shared_folder.rb
dropbox_api-0.1.11 lib/dropbox_api/metadata/shared_folder.rb