Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

vendor: update github.com/dropbox/dropbox-sdk-go-unofficial #2158

Nick Craig-Wood500085d24486
diff --git a/Gopkg.lock b/Gopkg.lock
index 259310713..9b394a177 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -141,14 +141,15 @@
"dropbox/common",
"dropbox/file_properties",
"dropbox/files",
+ "dropbox/seen_state",
"dropbox/sharing",
"dropbox/team_common",
"dropbox/team_policies",
"dropbox/users",
"dropbox/users_common"
]
- revision = "81ac5b288ffc03b166174f520cdc0b227461450e"
- version = "v4.0.0"
+ revision = "7afa861bfde5a348d765522b303b6fbd9d250155"
+ version = "v4.1.0"
[[projects]]
name = "github.com/go-ini/ini"
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/.travis.yml b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/.travis.yml
index dae2b0a5f..e1b69849f 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/.travis.yml
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/.travis.yml
@@ -1,16 +1,22 @@
language: go
go:
- - 1.6.x
- - 1.7.x
- 1.8.x
- 1.9.x
+ - 1.10.x
-install:
- - go get -u golang.org/x/oauth2
-
-before_script:
- - go get -u github.com/mitchellh/gox
+install: go get -u golang.org/x/oauth2
script:
- - gox -osarch="darwin/amd64 linux/amd64 windows/amd64" ./dropbox/...
+ - set -e
+ - GOOS=linux GOARCH=amd64 go install ./dropbox/...
+ - GOOS=darwin GOARCH=amd64 go install ./dropbox/...
+ - GOOS=windows GOARCH=amd64 go install ./dropbox/...
+ - set +e
+
+jobs:
+ include:
+ - stage: run tests
+ go: 1.9.x
+ install: go get -u golang.org/x/oauth2
+ script: go test ./dropbox/...
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/README.md b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/README.md
index 1f01d345a..d2ae4e1e6 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/README.md
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/README.md
@@ -1,4 +1,4 @@
-# Dropbox SDK for Go [UNOFFICIAL] [![GoDoc](https://godoc.org/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox?status.svg)](https://godoc.org/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox) [![Build Status](https://travis-ci.org/dropbox/dropbox-sdk-go-unofficial.svg?branch=master)](https://travis-ci.org/dropbox/dropbox-sdk-go-unofficial)
+# Dropbox SDK for Go [UNOFFICIAL] [![GoDoc](https://godoc.org/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox?status.svg)](https://godoc.org/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox) [![Build Status](https://travis-ci.org/dropbox/dropbox-sdk-go-unofficial.svg?branch=master)](https://travis-ci.org/dropbox/dropbox-sdk-go-unofficial) [![Go Report Card](https://goreportcard.com/badge/github.com/dropbox/dropbox-sdk-go-unofficial)](https://goreportcard.com/report/github.com/dropbox/dropbox-sdk-go-unofficial)
An **UNOFFICIAL** Go SDK for integrating with the Dropbox API v2. Tested with Go 1.5+
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/auth/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/auth/client.go
index ce64535a7..b205eb668 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/auth/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/auth/client.go
@@ -99,7 +99,7 @@ func (dbx *apiImpl) TokenFromOauth1(arg *TokenFromOAuth1Arg) (res *TokenFromOAut
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -158,7 +158,7 @@ func (dbx *apiImpl) TokenRevoke() (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/common/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/common/types.go
index 04fbf1e04..e1f967e08 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/common/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/common/types.go
@@ -118,11 +118,12 @@ func (u *PathRootError) UnmarshalJSON(body []byte) error {
// RootInfo : Information about current user's root.
type RootInfo struct {
- // RootNamespaceId : The namespace id for user's root namespace. It will be
- // the namespace id of the shared team root if the user is member of a CDM
- // team. Otherwise it will be same as `RootInfo.home_namespace_id`.
+ // RootNamespaceId : The namespace ID for user's root namespace. It will be
+ // the namespace ID of the shared team root if the user is member of a team
+ // with a separate team root. Otherwise it will be same as
+ // `RootInfo.home_namespace_id`.
RootNamespaceId string `json:"root_namespace_id"`
- // HomeNamespaceId : The namespace id for user's home namespace.
+ // HomeNamespaceId : The namespace ID for user's home namespace.
HomeNamespaceId string `json:"home_namespace_id"`
}
@@ -205,7 +206,8 @@ func IsRootInfoFromJSON(data []byte) (IsRootInfo, error) {
return nil, nil
}
-// TeamRootInfo : Root info when user is member of a CDM team.
+// TeamRootInfo : Root info when user is member of a team with a separate root
+// namespace ID.
type TeamRootInfo struct {
RootInfo
// HomePath : The path for user's home directory under the shared team root.
@@ -221,7 +223,8 @@ func NewTeamRootInfo(RootNamespaceId string, HomeNamespaceId string, HomePath st
return s
}
-// UserRootInfo : Root info when user is not member of a CDM team.
+// UserRootInfo : Root info when user is not member of a team or the user is a
+// member of a team and the team does not have a separate root namespace.
type UserRootInfo struct {
RootInfo
}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/client.go
index acd3ecc10..8b9c79bc2 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/client.go
@@ -44,7 +44,8 @@ type Client interface {
// PropertiesRemove : Permanently removes the specified property group from
// the file. To remove specific property field key value pairs, see
// `propertiesUpdate`. To update a template, see `templatesUpdateForUser` or
- // `templatesUpdateForTeam`. Templates can't be removed once created.
+ // `templatesUpdateForTeam`. To remove a template, see
+ // `templatesRemoveForUser` or `templatesRemoveForTeam`.
PropertiesRemove(arg *RemovePropertiesArg) (err error)
// PropertiesSearch : Search across property templates for particular
// property field values.
@@ -155,7 +156,7 @@ func (dbx *apiImpl) PropertiesAdd(arg *AddPropertiesArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -222,7 +223,7 @@ func (dbx *apiImpl) PropertiesOverwrite(arg *OverwritePropertyGroupArg) (err err
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -289,7 +290,7 @@ func (dbx *apiImpl) PropertiesRemove(arg *RemovePropertiesArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -361,7 +362,7 @@ func (dbx *apiImpl) PropertiesSearch(arg *PropertiesSearchArg) (res *PropertiesS
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -433,7 +434,7 @@ func (dbx *apiImpl) PropertiesSearchContinue(arg *PropertiesSearchContinueArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -500,7 +501,7 @@ func (dbx *apiImpl) PropertiesUpdate(arg *UpdatePropertiesArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -569,7 +570,7 @@ func (dbx *apiImpl) TemplatesAddForTeam(arg *AddTemplateArg) (res *AddTemplateRe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -641,7 +642,7 @@ func (dbx *apiImpl) TemplatesAddForUser(arg *AddTemplateArg) (res *AddTemplateRe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -710,7 +711,7 @@ func (dbx *apiImpl) TemplatesGetForTeam(arg *GetTemplateArg) (res *GetTemplateRe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -782,7 +783,7 @@ func (dbx *apiImpl) TemplatesGetForUser(arg *GetTemplateArg) (res *GetTemplateRe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -843,7 +844,7 @@ func (dbx *apiImpl) TemplatesListForTeam() (res *ListTemplateResult, err error)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -907,7 +908,7 @@ func (dbx *apiImpl) TemplatesListForUser() (res *ListTemplateResult, err error)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -971,7 +972,7 @@ func (dbx *apiImpl) TemplatesRemoveForTeam(arg *RemoveTemplateArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1038,7 +1039,7 @@ func (dbx *apiImpl) TemplatesRemoveForUser(arg *RemoveTemplateArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1107,7 +1108,7 @@ func (dbx *apiImpl) TemplatesUpdateForTeam(arg *UpdateTemplateArg) (res *UpdateT
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1179,7 +1180,7 @@ func (dbx *apiImpl) TemplatesUpdateForUser(arg *UpdateTemplateArg) (res *UpdateT
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/types.go
index eacda5a1a..93f945847 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_properties/types.go
@@ -35,11 +35,12 @@
// associated properties can't be accessed by any app other than the app that
// created them, and even then, only when the app is linked with the owner of
// the template (either a user or team). User-owned templates are accessed via
-// the user-auth template/*_for_user endpoints, while team-owned templates are
-// accessed via the team-auth template/*_for_team endpoints. Properties
-// associated with either type of template can be accessed via the user-auth
-// properties/* endpoints. Finally, properties can be accessed from a number of
-// endpoints that return metadata, including `files/get_metadata`, and
+// the user-auth file_properties/templates/*_for_user endpoints, while
+// team-owned templates are accessed via the team-auth
+// file_properties/templates/*_for_team endpoints. Properties associated with
+// either type of template can be accessed via the user-auth properties/*
+// endpoints. Finally, properties can be accessed from a number of endpoints
+// that return metadata, including `files/get_metadata`, and
// `files/list_folder`. Properties can also be added during upload, using
// `files/upload`.
package file_properties
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/client.go
index f2becc52e..001522cfb 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/client.go
@@ -104,7 +104,7 @@ func (dbx *apiImpl) Create(arg *CreateFileRequestArgs) (res *FileRequest, err er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -176,7 +176,7 @@ func (dbx *apiImpl) Get(arg *GetFileRequestArgs) (res *FileRequest, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -240,7 +240,7 @@ func (dbx *apiImpl) List() (res *ListFileRequestsResult, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -312,7 +312,7 @@ func (dbx *apiImpl) Update(arg *UpdateFileRequestArgs) (res *FileRequest, err er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/types.go
index 206d7a06f..9f4bfbd6d 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/file_requests/types.go
@@ -145,7 +145,7 @@ type FileRequestDeadline struct {
// Deadline : The deadline for this file request.
Deadline time.Time `json:"deadline"`
// AllowLateUploads : If set, allow uploads after the deadline has passed.
- // These uploads will be marked overdue.
+ // These uploads will be marked overdue.
AllowLateUploads *GracePeriod `json:"allow_late_uploads,omitempty"`
}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/client.go
index 36c7b0fe7..bbe7d268f 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/client.go
@@ -76,6 +76,18 @@ type Client interface {
// CreateFolder : Create a folder at a given path.
// Deprecated: Use `CreateFolderV2` instead
CreateFolder(arg *CreateFolderArg) (res *FolderMetadata, err error)
+ // CreateFolderBatch : Create multiple folders at once. This route is
+ // asynchronous for large batches, which returns a job ID immediately and
+ // runs the create folder batch asynchronously. Otherwise, creates the
+ // folders and returns the result synchronously for smaller inputs. You can
+ // force asynchronous behaviour by using the
+ // `CreateFolderBatchArg.force_async` flag. Use `createFolderBatchCheck` to
+ // check the job status.
+ CreateFolderBatch(arg *CreateFolderBatchArg) (res *CreateFolderBatchLaunch, err error)
+ // CreateFolderBatchCheck : Returns the status of an asynchronous job for
+ // `createFolderBatch`. If success, it returns list of result for each
+ // entry.
+ CreateFolderBatchCheck(arg *async.PollArg) (res *CreateFolderBatchJobStatus, err error)
// CreateFolderV2 : Create a folder at a given path.
CreateFolderV2(arg *CreateFolderArg) (res *CreateFolderResult, err error)
// Delete : Delete the file or folder at a given path. If the path is a
@@ -100,6 +112,10 @@ type Client interface {
DeleteV2(arg *DeleteArg) (res *DeleteResult, err error)
// Download : Download a file from a user's Dropbox.
Download(arg *DownloadArg) (res *FileMetadata, content io.ReadCloser, err error)
+ // DownloadZip : Download a folder from the user's Dropbox, as a zip file.
+ // The folder must be less than 1 GB in size and have fewer than 10,000
+ // total files. The input cannot be a single file.
+ DownloadZip(arg *DownloadZipArg) (res *DownloadZipResult, content io.ReadCloser, err error)
// GetMetadata : Returns the metadata for a file or folder. Note: Metadata
// for the root folder is unsupported.
GetMetadata(arg *GetMetadataArg) (res IsMetadata, err error)
@@ -231,16 +247,19 @@ type Client interface {
// upload session with `uploadSessionStart`.
Upload(arg *CommitInfo, content io.Reader) (res *FileMetadata, err error)
// UploadSessionAppend : Append more data to an upload session. A single
- // request should not upload more than 150 MB.
+ // request should not upload more than 150 MB. The maximum size of a file
+ // one can upload to an upload session is 350 GB.
// Deprecated: Use `UploadSessionAppendV2` instead
UploadSessionAppend(arg *UploadSessionCursor, content io.Reader) (err error)
// UploadSessionAppendV2 : Append more data to an upload session. When the
// parameter close is set, this call will close the session. A single
- // request should not upload more than 150 MB.
+ // request should not upload more than 150 MB. The maximum size of a file
+ // one can upload to an upload session is 350 GB.
UploadSessionAppendV2(arg *UploadSessionAppendArg, content io.Reader) (err error)
// UploadSessionFinish : Finish an upload session and save the uploaded data
// to the given file path. A single request should not upload more than 150
- // MB.
+ // MB. The maximum size of a file one can upload to an upload session is 350
+ // GB.
UploadSessionFinish(arg *UploadSessionFinishArg, content io.Reader) (res *FileMetadata, err error)
// UploadSessionFinishBatch : This route helps you commit many files at once
// into a user's Dropbox. Use `uploadSessionStart` and
@@ -250,11 +269,12 @@ type Client interface {
// route to finish all your upload sessions in a single request.
// `UploadSessionStartArg.close` or `UploadSessionAppendArg.close` needs to
// be true for the last `uploadSessionStart` or `uploadSessionAppendV2`
- // call. This route will return a job_id immediately and do the async commit
- // job in background. Use `uploadSessionFinishBatchCheck` to check the job
- // status. For the same account, this route should be executed serially.
- // That means you should not start the next job before current job finishes.
- // We allow up to 1000 entries in a single request.
+ // call. The maximum size of a file one can upload to an upload session is
+ // 350 GB. This route will return a job_id immediately and do the async
+ // commit job in background. Use `uploadSessionFinishBatchCheck` to check
+ // the job status. For the same account, this route should be executed
+ // serially. That means you should not start the next job before current job
+ // finishes. We allow up to 1000 entries in a single request.
UploadSessionFinishBatch(arg *UploadSessionFinishBatchArg) (res *UploadSessionFinishBatchLaunch, err error)
// UploadSessionFinishBatchCheck : Returns the status of an asynchronous job
// for `uploadSessionFinishBatch`. If success, it returns list of result for
@@ -265,8 +285,9 @@ type Client interface {
// than 150 MB. This call starts a new upload session with the given data.
// You can then use `uploadSessionAppendV2` to add more data and
// `uploadSessionFinish` to save all the data to a file in Dropbox. A single
- // request should not upload more than 150 MB. An upload session can be used
- // for a maximum of 48 hours. Attempting to use an
+ // request should not upload more than 150 MB. The maximum size of a file
+ // one can upload to an upload session is 350 GB. An upload session can be
+ // used for a maximum of 48 hours. Attempting to use an
// `UploadSessionStartResult.session_id` with `uploadSessionAppendV2` or
// `uploadSessionFinish` more than 48 hours after its creation will return a
// `UploadSessionLookupError.not_found`.
@@ -348,7 +369,7 @@ func (dbx *apiImpl) AlphaGetMetadata(arg *AlphaGetMetadataArg) (res IsMetadata,
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -424,7 +445,7 @@ func (dbx *apiImpl) AlphaUpload(arg *CommitInfoWithProperties, content io.Reader
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -510,7 +531,7 @@ func (dbx *apiImpl) Copy(arg *RelocationArg) (res IsMetadata, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -582,7 +603,7 @@ func (dbx *apiImpl) CopyBatch(arg *RelocationBatchArg) (res *RelocationBatchLaun
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -654,7 +675,7 @@ func (dbx *apiImpl) CopyBatchCheck(arg *async.PollArg) (res *RelocationBatchJobS
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -726,7 +747,7 @@ func (dbx *apiImpl) CopyReferenceGet(arg *GetCopyReferenceArg) (res *GetCopyRefe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -798,7 +819,7 @@ func (dbx *apiImpl) CopyReferenceSave(arg *SaveCopyReferenceArg) (res *SaveCopyR
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -870,7 +891,7 @@ func (dbx *apiImpl) CopyV2(arg *RelocationArg) (res *RelocationResult, err error
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -945,7 +966,151 @@ func (dbx *apiImpl) CreateFolder(arg *CreateFolderArg) (res *FolderMetadata, err
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
+ apiError.ErrorSummary = string(body)
+ err = apiError
+ return
+ }
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+}
+
+//CreateFolderBatchAPIError is an error-wrapper for the create_folder_batch route
+type CreateFolderBatchAPIError struct {
+ dropbox.APIError
+ EndpointError struct{} `json:"error"`
+}
+
+func (dbx *apiImpl) CreateFolderBatch(arg *CreateFolderBatchArg) (res *CreateFolderBatchLaunch, err error) {
+ cli := dbx.Client
+
+ dbx.Config.LogDebug("arg: %v", arg)
+ b, err := json.Marshal(arg)
+ if err != nil {
+ return
+ }
+
+ headers := map[string]string{
+ "Content-Type": "application/json",
+ }
+ if dbx.Config.AsMemberID != "" {
+ headers["Dropbox-API-Select-User"] = dbx.Config.AsMemberID
+ }
+
+ req, err := (*dropbox.Context)(dbx).NewRequest("api", "rpc", true, "files", "create_folder_batch", headers, bytes.NewReader(b))
+ if err != nil {
+ return
+ }
+ dbx.Config.LogInfo("req: %v", req)
+
+ resp, err := cli.Do(req)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogInfo("resp: %v", resp)
+ defer resp.Body.Close()
+ body, err := ioutil.ReadAll(resp.Body)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogDebug("body: %v", body)
+ if resp.StatusCode == http.StatusOK {
+ err = json.Unmarshal(body, &res)
+ if err != nil {
+ return
+ }
+
+ return
+ }
+ if resp.StatusCode == http.StatusConflict {
+ var apiError CreateFolderBatchAPIError
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+ }
+ var apiError dropbox.APIError
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
+ apiError.ErrorSummary = string(body)
+ err = apiError
+ return
+ }
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+}
+
+//CreateFolderBatchCheckAPIError is an error-wrapper for the create_folder_batch/check route
+type CreateFolderBatchCheckAPIError struct {
+ dropbox.APIError
+ EndpointError *async.PollError `json:"error"`
+}
+
+func (dbx *apiImpl) CreateFolderBatchCheck(arg *async.PollArg) (res *CreateFolderBatchJobStatus, err error) {
+ cli := dbx.Client
+
+ dbx.Config.LogDebug("arg: %v", arg)
+ b, err := json.Marshal(arg)
+ if err != nil {
+ return
+ }
+
+ headers := map[string]string{
+ "Content-Type": "application/json",
+ }
+ if dbx.Config.AsMemberID != "" {
+ headers["Dropbox-API-Select-User"] = dbx.Config.AsMemberID
+ }
+
+ req, err := (*dropbox.Context)(dbx).NewRequest("api", "rpc", true, "files", "create_folder_batch/check", headers, bytes.NewReader(b))
+ if err != nil {
+ return
+ }
+ dbx.Config.LogInfo("req: %v", req)
+
+ resp, err := cli.Do(req)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogInfo("resp: %v", resp)
+ defer resp.Body.Close()
+ body, err := ioutil.ReadAll(resp.Body)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogDebug("body: %v", body)
+ if resp.StatusCode == http.StatusOK {
+ err = json.Unmarshal(body, &res)
+ if err != nil {
+ return
+ }
+
+ return
+ }
+ if resp.StatusCode == http.StatusConflict {
+ var apiError CreateFolderBatchCheckAPIError
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+ }
+ var apiError dropbox.APIError
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1017,7 +1182,7 @@ func (dbx *apiImpl) CreateFolderV2(arg *CreateFolderArg) (res *CreateFolderResul
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1103,7 +1268,7 @@ func (dbx *apiImpl) Delete(arg *DeleteArg) (res IsMetadata, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1175,7 +1340,7 @@ func (dbx *apiImpl) DeleteBatch(arg *DeleteBatchArg) (res *DeleteBatchLaunch, er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1247,7 +1412,7 @@ func (dbx *apiImpl) DeleteBatchCheck(arg *async.PollArg) (res *DeleteBatchJobSta
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1319,7 +1484,7 @@ func (dbx *apiImpl) DeleteV2(arg *DeleteArg) (res *DeleteResult, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1395,7 +1560,80 @@ func (dbx *apiImpl) Download(arg *DownloadArg) (res *FileMetadata, content io.Re
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
+ apiError.ErrorSummary = string(body)
+ err = apiError
+ return
+ }
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+}
+
+//DownloadZipAPIError is an error-wrapper for the download_zip route
+type DownloadZipAPIError struct {
+ dropbox.APIError
+ EndpointError *DownloadZipError `json:"error"`
+}
+
+func (dbx *apiImpl) DownloadZip(arg *DownloadZipArg) (res *DownloadZipResult, content io.ReadCloser, err error) {
+ cli := dbx.Client
+
+ dbx.Config.LogDebug("arg: %v", arg)
+ b, err := json.Marshal(arg)
+ if err != nil {
+ return
+ }
+
+ headers := map[string]string{
+ "Dropbox-API-Arg": string(b),
+ }
+ if dbx.Config.AsMemberID != "" {
+ headers["Dropbox-API-Select-User"] = dbx.Config.AsMemberID
+ }
+
+ req, err := (*dropbox.Context)(dbx).NewRequest("content", "download", true, "files", "download_zip", headers, nil)
+ if err != nil {
+ return
+ }
+ dbx.Config.LogInfo("req: %v", req)
+
+ resp, err := cli.Do(req)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogInfo("resp: %v", resp)
+ body := []byte(resp.Header.Get("Dropbox-API-Result"))
+ content = resp.Body
+ dbx.Config.LogDebug("body: %v", body)
+ if resp.StatusCode == http.StatusOK {
+ err = json.Unmarshal(body, &res)
+ if err != nil {
+ return
+ }
+
+ return
+ }
+ if resp.StatusCode == http.StatusConflict {
+ defer resp.Body.Close()
+ body, err = ioutil.ReadAll(resp.Body)
+ if err != nil {
+ return
+ }
+ var apiError DownloadZipAPIError
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+ }
+ var apiError dropbox.APIError
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1478,7 +1716,7 @@ func (dbx *apiImpl) GetMetadata(arg *GetMetadataArg) (res IsMetadata, err error)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1551,7 +1789,7 @@ func (dbx *apiImpl) GetPreview(arg *PreviewArg) (res *FileMetadata, content io.R
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1623,7 +1861,7 @@ func (dbx *apiImpl) GetTemporaryLink(arg *GetTemporaryLinkArg) (res *GetTemporar
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1696,7 +1934,7 @@ func (dbx *apiImpl) GetThumbnail(arg *ThumbnailArg) (res *FileMetadata, content
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1768,7 +2006,7 @@ func (dbx *apiImpl) GetThumbnailBatch(arg *GetThumbnailBatchArg) (res *GetThumbn
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1840,7 +2078,7 @@ func (dbx *apiImpl) ListFolder(arg *ListFolderArg) (res *ListFolderResult, err e
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1912,7 +2150,7 @@ func (dbx *apiImpl) ListFolderContinue(arg *ListFolderContinueArg) (res *ListFol
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1984,7 +2222,7 @@ func (dbx *apiImpl) ListFolderGetLatestCursor(arg *ListFolderArg) (res *ListFold
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2053,7 +2291,7 @@ func (dbx *apiImpl) ListFolderLongpoll(arg *ListFolderLongpollArg) (res *ListFol
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2125,7 +2363,7 @@ func (dbx *apiImpl) ListRevisions(arg *ListRevisionsArg) (res *ListRevisionsResu
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2211,7 +2449,7 @@ func (dbx *apiImpl) Move(arg *RelocationArg) (res IsMetadata, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2283,7 +2521,7 @@ func (dbx *apiImpl) MoveBatch(arg *RelocationBatchArg) (res *RelocationBatchLaun
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2355,7 +2593,7 @@ func (dbx *apiImpl) MoveBatchCheck(arg *async.PollArg) (res *RelocationBatchJobS
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2427,7 +2665,7 @@ func (dbx *apiImpl) MoveV2(arg *RelocationArg) (res *RelocationResult, err error
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2494,7 +2732,7 @@ func (dbx *apiImpl) PermanentlyDelete(arg *DeleteArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2563,7 +2801,7 @@ func (dbx *apiImpl) PropertiesAdd(arg *file_properties.AddPropertiesArg) (err er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2632,7 +2870,7 @@ func (dbx *apiImpl) PropertiesOverwrite(arg *file_properties.OverwritePropertyGr
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2701,7 +2939,7 @@ func (dbx *apiImpl) PropertiesRemove(arg *file_properties.RemovePropertiesArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2775,7 +3013,7 @@ func (dbx *apiImpl) PropertiesTemplateGet(arg *file_properties.GetTemplateArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2841,7 +3079,7 @@ func (dbx *apiImpl) PropertiesTemplateList() (res *file_properties.ListTemplateR
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2910,7 +3148,7 @@ func (dbx *apiImpl) PropertiesUpdate(arg *file_properties.UpdatePropertiesArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2982,7 +3220,7 @@ func (dbx *apiImpl) Restore(arg *RestoreArg) (res *FileMetadata, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3054,7 +3292,7 @@ func (dbx *apiImpl) SaveUrl(arg *SaveUrlArg) (res *SaveUrlResult, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3126,7 +3364,7 @@ func (dbx *apiImpl) SaveUrlCheckJobStatus(arg *async.PollArg) (res *SaveUrlJobSt
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3198,7 +3436,7 @@ func (dbx *apiImpl) Search(arg *SearchArg) (res *SearchResult, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3271,7 +3509,7 @@ func (dbx *apiImpl) Upload(arg *CommitInfo, content io.Reader) (res *FileMetadat
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3342,7 +3580,7 @@ func (dbx *apiImpl) UploadSessionAppend(arg *UploadSessionCursor, content io.Rea
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3410,7 +3648,7 @@ func (dbx *apiImpl) UploadSessionAppendV2(arg *UploadSessionAppendArg, content i
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3483,7 +3721,7 @@ func (dbx *apiImpl) UploadSessionFinish(arg *UploadSessionFinishArg, content io.
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3555,7 +3793,7 @@ func (dbx *apiImpl) UploadSessionFinishBatch(arg *UploadSessionFinishBatchArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3627,7 +3865,7 @@ func (dbx *apiImpl) UploadSessionFinishBatchCheck(arg *async.PollArg) (res *Uplo
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3700,7 +3938,7 @@ func (dbx *apiImpl) UploadSessionStart(arg *UploadSessionStartArg, content io.Re
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/metadata.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/metadata.go
deleted file mode 100644
index e70da6b67..000000000
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/metadata.go
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright (c) Dropbox, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-package files
-
-import "encoding/json"
-
-type listFolderResult struct {
- Entries []json.RawMessage `json:"entries"`
- Cursor string `json:"cursor"`
- HasMore bool `json:"has_more"`
-}
-
-// UnmarshalJSON deserializes into a ListFolderResult instance
-func (r *ListFolderResult) UnmarshalJSON(b []byte) error {
- var l listFolderResult
- if err := json.Unmarshal(b, &l); err != nil {
- return err
- }
- r.Cursor = l.Cursor
- r.HasMore = l.HasMore
- r.Entries = make([]IsMetadata, len(l.Entries))
- for i, e := range l.Entries {
- metadata, err := IsMetadataFromJSON(e)
- if err != nil {
- return err
- }
- r.Entries[i] = metadata
- }
- return nil
-}
-
-type searchMatch struct {
- MatchType *SearchMatchType `json:"match_type"`
- Metadata json.RawMessage `json:"metadata"`
-}
-
-// UnmarshalJSON deserializes into a SearchMatch instance
-func (s *SearchMatch) UnmarshalJSON(b []byte) error {
- var m searchMatch
- if err := json.Unmarshal(b, &m); err != nil {
- return err
- }
- s.MatchType = m.MatchType
- metadata, err := IsMetadataFromJSON(m.Metadata)
- if err != nil {
- return err
- }
- s.Metadata = metadata
- return nil
-}
-
-type deleteResult struct {
- FileOpsResult
- Metadata json.RawMessage `json:"metadata"`
-}
-
-// UnmarshalJSON deserializes into a DeleteResult instance
-func (s *DeleteResult) UnmarshalJSON(b []byte) error {
- var m deleteResult
- if err := json.Unmarshal(b, &m); err != nil {
- return err
- }
- s.FileOpsResult = m.FileOpsResult
- metadata, err := IsMetadataFromJSON(m.Metadata)
- if err != nil {
- return err
- }
- s.Metadata = metadata
- return nil
-}
-
-type relocationResult struct {
- FileOpsResult
- // Metadata : Metadata of the relocated object.
- Metadata json.RawMessage `json:"metadata"`
-}
-
-// UnmarshalJSON deserializes into a RelocationResult instance
-func (s *RelocationResult) UnmarshalJSON(b []byte) error {
- var m relocationResult
- if err := json.Unmarshal(b, &m); err != nil {
- return err
- }
- s.FileOpsResult = m.FileOpsResult
- metadata, err := IsMetadataFromJSON(m.Metadata)
- if err != nil {
- return err
- }
- s.Metadata = metadata
- return nil
-}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/types.go
index c01d312f6..22baa418e 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files/types.go
@@ -210,6 +210,38 @@ func NewCommitInfoWithProperties(Path string) *CommitInfoWithProperties {
return s
}
+// ContentSyncSetting : has no documentation (yet)
+type ContentSyncSetting struct {
+ // Id : Id of the item this setting is applied to.
+ Id string `json:"id"`
+ // SyncSetting : Setting for this item.
+ SyncSetting *SyncSetting `json:"sync_setting"`
+}
+
+// NewContentSyncSetting returns a new ContentSyncSetting instance
+func NewContentSyncSetting(Id string, SyncSetting *SyncSetting) *ContentSyncSetting {
+ s := new(ContentSyncSetting)
+ s.Id = Id
+ s.SyncSetting = SyncSetting
+ return s
+}
+
+// ContentSyncSettingArg : has no documentation (yet)
+type ContentSyncSettingArg struct {
+ // Id : Id of the item this setting is applied to.
+ Id string `json:"id"`
+ // SyncSetting : Setting for this item.
+ SyncSetting *SyncSettingArg `json:"sync_setting"`
+}
+
+// NewContentSyncSettingArg returns a new ContentSyncSettingArg instance
+func NewContentSyncSettingArg(Id string, SyncSetting *SyncSettingArg) *ContentSyncSettingArg {
+ s := new(ContentSyncSettingArg)
+ s.Id = Id
+ s.SyncSetting = SyncSetting
+ return s
+}
+
// CreateFolderArg : has no documentation (yet)
type CreateFolderArg struct {
// Path : Path in the user's Dropbox to create.
@@ -227,6 +259,257 @@ func NewCreateFolderArg(Path string) *CreateFolderArg {
return s
}
+// CreateFolderBatchArg : has no documentation (yet)
+type CreateFolderBatchArg struct {
+ // Paths : List of paths to be created in the user's Dropbox. Duplicate path
+ // arguments in the batch are considered only once.
+ Paths []string `json:"paths"`
+ // Autorename : If there's a conflict, have the Dropbox server try to
+ // autorename the folder to avoid the conflict.
+ Autorename bool `json:"autorename"`
+ // ForceAsync : Whether to force the create to happen asynchronously.
+ ForceAsync bool `json:"force_async"`
+}
+
+// NewCreateFolderBatchArg returns a new CreateFolderBatchArg instance
+func NewCreateFolderBatchArg(Paths []string) *CreateFolderBatchArg {
+ s := new(CreateFolderBatchArg)
+ s.Paths = Paths
+ s.Autorename = false
+ s.ForceAsync = false
+ return s
+}
+
+// CreateFolderBatchError : has no documentation (yet)
+type CreateFolderBatchError struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for CreateFolderBatchError
+const (
+ CreateFolderBatchErrorTooManyFiles = "too_many_files"
+ CreateFolderBatchErrorOther = "other"
+)
+
+// CreateFolderBatchJobStatus : has no documentation (yet)
+type CreateFolderBatchJobStatus struct {
+ dropbox.Tagged
+ // Complete : The batch create folder has finished.
+ Complete *CreateFolderBatchResult `json:"complete,omitempty"`
+ // Failed : The batch create folder has failed.
+ Failed *CreateFolderBatchError `json:"failed,omitempty"`
+}
+
+// Valid tag values for CreateFolderBatchJobStatus
+const (
+ CreateFolderBatchJobStatusInProgress = "in_progress"
+ CreateFolderBatchJobStatusComplete = "complete"
+ CreateFolderBatchJobStatusFailed = "failed"
+ CreateFolderBatchJobStatusOther = "other"
+)
+
+// UnmarshalJSON deserializes into a CreateFolderBatchJobStatus instance
+func (u *CreateFolderBatchJobStatus) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // Complete : The batch create folder has finished.
+ Complete json.RawMessage `json:"complete,omitempty"`
+ // Failed : The batch create folder has failed.
+ Failed json.RawMessage `json:"failed,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "complete":
+ err = json.Unmarshal(body, &u.Complete)
+
+ if err != nil {
+ return err
+ }
+ case "failed":
+ err = json.Unmarshal(w.Failed, &u.Failed)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// CreateFolderBatchLaunch : Result returned by `createFolderBatch` that may
+// either launch an asynchronous job or complete synchronously.
+type CreateFolderBatchLaunch struct {
+ dropbox.Tagged
+ // AsyncJobId : This response indicates that the processing is asynchronous.
+ // The string is an id that can be used to obtain the status of the
+ // asynchronous job.
+ AsyncJobId string `json:"async_job_id,omitempty"`
+ // Complete : has no documentation (yet)
+ Complete *CreateFolderBatchResult `json:"complete,omitempty"`
+}
+
+// Valid tag values for CreateFolderBatchLaunch
+const (
+ CreateFolderBatchLaunchAsyncJobId = "async_job_id"
+ CreateFolderBatchLaunchComplete = "complete"
+ CreateFolderBatchLaunchOther = "other"
+)
+
+// UnmarshalJSON deserializes into a CreateFolderBatchLaunch instance
+func (u *CreateFolderBatchLaunch) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // Complete : has no documentation (yet)
+ Complete json.RawMessage `json:"complete,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "async_job_id":
+ err = json.Unmarshal(body, &u.AsyncJobId)
+
+ if err != nil {
+ return err
+ }
+ case "complete":
+ err = json.Unmarshal(body, &u.Complete)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// FileOpsResult : has no documentation (yet)
+type FileOpsResult struct {
+}
+
+// NewFileOpsResult returns a new FileOpsResult instance
+func NewFileOpsResult() *FileOpsResult {
+ s := new(FileOpsResult)
+ return s
+}
+
+// CreateFolderBatchResult : has no documentation (yet)
+type CreateFolderBatchResult struct {
+ FileOpsResult
+ // Entries : has no documentation (yet)
+ Entries []*CreateFolderBatchResultEntry `json:"entries"`
+}
+
+// NewCreateFolderBatchResult returns a new CreateFolderBatchResult instance
+func NewCreateFolderBatchResult(Entries []*CreateFolderBatchResultEntry) *CreateFolderBatchResult {
+ s := new(CreateFolderBatchResult)
+ s.Entries = Entries
+ return s
+}
+
+// CreateFolderBatchResultEntry : has no documentation (yet)
+type CreateFolderBatchResultEntry struct {
+ dropbox.Tagged
+ // Success : has no documentation (yet)
+ Success *CreateFolderEntryResult `json:"success,omitempty"`
+ // Failure : has no documentation (yet)
+ Failure *CreateFolderEntryError `json:"failure,omitempty"`
+}
+
+// Valid tag values for CreateFolderBatchResultEntry
+const (
+ CreateFolderBatchResultEntrySuccess = "success"
+ CreateFolderBatchResultEntryFailure = "failure"
+)
+
+// UnmarshalJSON deserializes into a CreateFolderBatchResultEntry instance
+func (u *CreateFolderBatchResultEntry) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // Success : has no documentation (yet)
+ Success json.RawMessage `json:"success,omitempty"`
+ // Failure : has no documentation (yet)
+ Failure json.RawMessage `json:"failure,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "success":
+ err = json.Unmarshal(body, &u.Success)
+
+ if err != nil {
+ return err
+ }
+ case "failure":
+ err = json.Unmarshal(w.Failure, &u.Failure)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// CreateFolderEntryError : has no documentation (yet)
+type CreateFolderEntryError struct {
+ dropbox.Tagged
+ // Path : has no documentation (yet)
+ Path *WriteError `json:"path,omitempty"`
+}
+
+// Valid tag values for CreateFolderEntryError
+const (
+ CreateFolderEntryErrorPath = "path"
+ CreateFolderEntryErrorOther = "other"
+)
+
+// UnmarshalJSON deserializes into a CreateFolderEntryError instance
+func (u *CreateFolderEntryError) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // Path : has no documentation (yet)
+ Path json.RawMessage `json:"path,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "path":
+ err = json.Unmarshal(w.Path, &u.Path)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// CreateFolderEntryResult : has no documentation (yet)
+type CreateFolderEntryResult struct {
+ // Metadata : Metadata of the created folder.
+ Metadata *FolderMetadata `json:"metadata"`
+}
+
+// NewCreateFolderEntryResult returns a new CreateFolderEntryResult instance
+func NewCreateFolderEntryResult(Metadata *FolderMetadata) *CreateFolderEntryResult {
+ s := new(CreateFolderEntryResult)
+ s.Metadata = Metadata
+ return s
+}
+
// CreateFolderError : has no documentation (yet)
type CreateFolderError struct {
dropbox.Tagged
@@ -263,16 +546,6 @@ func (u *CreateFolderError) UnmarshalJSON(body []byte) error {
return nil
}
-// FileOpsResult : has no documentation (yet)
-type FileOpsResult struct {
-}
-
-// NewFileOpsResult returns a new FileOpsResult instance
-func NewFileOpsResult() *FileOpsResult {
- s := new(FileOpsResult)
- return s
-}
-
// CreateFolderResult : has no documentation (yet)
type CreateFolderResult struct {
FileOpsResult
@@ -291,6 +564,9 @@ func NewCreateFolderResult(Metadata *FolderMetadata) *CreateFolderResult {
type DeleteArg struct {
// Path : Path in the user's Dropbox to delete.
Path string `json:"path"`
+ // ParentRev : Perform delete if given "rev" matches the existing file's
+ // latest "rev". This field does not support deleting a folder.
+ ParentRev string `json:"parent_rev,omitempty"`
}
// NewDeleteArg returns a new DeleteArg instance
@@ -449,6 +725,24 @@ func NewDeleteBatchResultData(Metadata IsMetadata) *DeleteBatchResultData {
return s
}
+// UnmarshalJSON deserializes into a DeleteBatchResultData instance
+func (u *DeleteBatchResultData) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Metadata : Metadata of the deleted object.
+ Metadata json.RawMessage `json:"metadata"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ return nil
+}
+
// DeleteBatchResultEntry : has no documentation (yet)
type DeleteBatchResultEntry struct {
dropbox.Tagged
@@ -560,6 +854,24 @@ func NewDeleteResult(Metadata IsMetadata) *DeleteResult {
return s
}
+// UnmarshalJSON deserializes into a DeleteResult instance
+func (u *DeleteResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Metadata : Metadata of the deleted object.
+ Metadata json.RawMessage `json:"metadata"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ return nil
+}
+
// Metadata : Metadata for a file or folder.
type Metadata struct {
// Name : The last component of the path (including extension). This never
@@ -757,6 +1069,71 @@ func (u *DownloadError) UnmarshalJSON(body []byte) error {
return nil
}
+// DownloadZipArg : has no documentation (yet)
+type DownloadZipArg struct {
+ // Path : The path of the folder to download.
+ Path string `json:"path"`
+}
+
+// NewDownloadZipArg returns a new DownloadZipArg instance
+func NewDownloadZipArg(Path string) *DownloadZipArg {
+ s := new(DownloadZipArg)
+ s.Path = Path
+ return s
+}
+
+// DownloadZipError : has no documentation (yet)
+type DownloadZipError struct {
+ dropbox.Tagged
+ // Path : has no documentation (yet)
+ Path *LookupError `json:"path,omitempty"`
+}
+
+// Valid tag values for DownloadZipError
+const (
+ DownloadZipErrorPath = "path"
+ DownloadZipErrorTooLarge = "too_large"
+ DownloadZipErrorTooManyFiles = "too_many_files"
+ DownloadZipErrorOther = "other"
+)
+
+// UnmarshalJSON deserializes into a DownloadZipError instance
+func (u *DownloadZipError) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // Path : has no documentation (yet)
+ Path json.RawMessage `json:"path,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "path":
+ err = json.Unmarshal(w.Path, &u.Path)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// DownloadZipResult : has no documentation (yet)
+type DownloadZipResult struct {
+ // Metadata : has no documentation (yet)
+ Metadata *FolderMetadata `json:"metadata"`
+}
+
+// NewDownloadZipResult returns a new DownloadZipResult instance
+func NewDownloadZipResult(Metadata *FolderMetadata) *DownloadZipResult {
+ s := new(DownloadZipResult)
+ s.Metadata = Metadata
+ return s
+}
+
// FileMetadata : has no documentation (yet)
type FileMetadata struct {
Metadata
@@ -778,6 +1155,8 @@ type FileMetadata struct {
Size uint64 `json:"size"`
// MediaInfo : Additional information if the file is a photo or video.
MediaInfo *MediaInfo `json:"media_info,omitempty"`
+ // SymlinkInfo : Set if this file is a symlink.
+ SymlinkInfo *SymlinkInfo `json:"symlink_info,omitempty"`
// SharingInfo : Set if this file is contained in a shared folder.
SharingInfo *FileSharingInfo `json:"sharing_info,omitempty"`
// PropertyGroups : Additional information if the file has custom properties
@@ -965,6 +1344,32 @@ func NewGetCopyReferenceResult(Metadata IsMetadata, CopyReference string, Expire
return s
}
+// UnmarshalJSON deserializes into a GetCopyReferenceResult instance
+func (u *GetCopyReferenceResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Metadata : Metadata of the file or folder.
+ Metadata json.RawMessage `json:"metadata"`
+ // CopyReference : A copy reference to the file or folder.
+ CopyReference string `json:"copy_reference"`
+ // Expires : The expiration date of the copy reference. This value is
+ // currently set to be far enough in the future so that expiration is
+ // effectively not an issue.
+ Expires time.Time `json:"expires"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ u.CopyReference = w.CopyReference
+ u.Expires = w.Expires
+ return nil
+}
+
// GetTemporaryLinkArg : has no documentation (yet)
type GetTemporaryLinkArg struct {
// Path : The path to the file you want a temporary link to.
@@ -1369,6 +1774,35 @@ func NewListFolderResult(Entries []IsMetadata, Cursor string, HasMore bool) *Lis
return s
}
+// UnmarshalJSON deserializes into a ListFolderResult instance
+func (u *ListFolderResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Entries : The files and (direct) subfolders in the folder.
+ Entries []json.RawMessage `json:"entries"`
+ // Cursor : Pass the cursor into `listFolderContinue` to see what's
+ // changed in the folder since your previous query.
+ Cursor string `json:"cursor"`
+ // HasMore : If true, then there are more entries available. Pass the
+ // cursor to `listFolderContinue` to retrieve the rest.
+ HasMore bool `json:"has_more"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ u.Entries = make([]IsMetadata, len(w.Entries))
+ for i, e := range w.Entries {
+ v, err := IsMetadataFromJSON(e)
+ if err != nil {
+ return err
+ }
+ u.Entries[i] = v
+ }
+ u.Cursor = w.Cursor
+ u.HasMore = w.HasMore
+ return nil
+}
+
// ListRevisionsArg : has no documentation (yet)
type ListRevisionsArg struct {
// Path : The path to the file you want to see the revisions of.
@@ -2017,6 +2451,24 @@ func NewRelocationBatchResultData(Metadata IsMetadata) *RelocationBatchResultDat
return s
}
+// UnmarshalJSON deserializes into a RelocationBatchResultData instance
+func (u *RelocationBatchResultData) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Metadata : Metadata of the relocated object.
+ Metadata json.RawMessage `json:"metadata"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ return nil
+}
+
// RelocationResult : has no documentation (yet)
type RelocationResult struct {
FileOpsResult
@@ -2031,6 +2483,24 @@ func NewRelocationResult(Metadata IsMetadata) *RelocationResult {
return s
}
+// UnmarshalJSON deserializes into a RelocationResult instance
+func (u *RelocationResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Metadata : Metadata of the relocated object.
+ Metadata json.RawMessage `json:"metadata"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ return nil
+}
+
// RestoreArg : has no documentation (yet)
type RestoreArg struct {
// Path : The path to the file you want to restore.
@@ -2168,6 +2638,25 @@ func NewSaveCopyReferenceResult(Metadata IsMetadata) *SaveCopyReferenceResult {
return s
}
+// UnmarshalJSON deserializes into a SaveCopyReferenceResult instance
+func (u *SaveCopyReferenceResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Metadata : The metadata of the saved file or folder in the user's
+ // Dropbox.
+ Metadata json.RawMessage `json:"metadata"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ return nil
+}
+
// SaveUrlArg : has no documentation (yet)
type SaveUrlArg struct {
// Path : The path in Dropbox where the URL will be saved to.
@@ -2402,6 +2891,27 @@ func NewSearchMatch(MatchType *SearchMatchType, Metadata IsMetadata) *SearchMatc
return s
}
+// UnmarshalJSON deserializes into a SearchMatch instance
+func (u *SearchMatch) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // MatchType : The type of the match.
+ MatchType *SearchMatchType `json:"match_type"`
+ // Metadata : The metadata for the matched file or folder.
+ Metadata json.RawMessage `json:"metadata"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ u.MatchType = w.MatchType
+ Metadata, err := IsMetadataFromJSON(w.Metadata)
+ if err != nil {
+ return err
+ }
+ u.Metadata = Metadata
+ return nil
+}
+
// SearchMatchType : Indicates what type of match was found for a given item.
type SearchMatchType struct {
dropbox.Tagged
@@ -2462,6 +2972,83 @@ func NewSharedLink(Url string) *SharedLink {
return s
}
+// SymlinkInfo : has no documentation (yet)
+type SymlinkInfo struct {
+ // Target : The target this symlink points to.
+ Target string `json:"target"`
+}
+
+// NewSymlinkInfo returns a new SymlinkInfo instance
+func NewSymlinkInfo(Target string) *SymlinkInfo {
+ s := new(SymlinkInfo)
+ s.Target = Target
+ return s
+}
+
+// SyncSetting : has no documentation (yet)
+type SyncSetting struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for SyncSetting
+const (
+ SyncSettingDefault = "default"
+ SyncSettingNotSynced = "not_synced"
+ SyncSettingNotSyncedInactive = "not_synced_inactive"
+ SyncSettingOther = "other"
+)
+
+// SyncSettingArg : has no documentation (yet)
+type SyncSettingArg struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for SyncSettingArg
+const (
+ SyncSettingArgDefault = "default"
+ SyncSettingArgNotSynced = "not_synced"
+ SyncSettingArgOther = "other"
+)
+
+// SyncSettingsError : has no documentation (yet)
+type SyncSettingsError struct {
+ dropbox.Tagged
+ // Path : has no documentation (yet)
+ Path *LookupError `json:"path,omitempty"`
+}
+
+// Valid tag values for SyncSettingsError
+const (
+ SyncSettingsErrorPath = "path"
+ SyncSettingsErrorUnsupportedCombination = "unsupported_combination"
+ SyncSettingsErrorUnsupportedConfiguration = "unsupported_configuration"
+ SyncSettingsErrorOther = "other"
+)
+
+// UnmarshalJSON deserializes into a SyncSettingsError instance
+func (u *SyncSettingsError) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // Path : has no documentation (yet)
+ Path json.RawMessage `json:"path,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "path":
+ err = json.Unmarshal(w.Path, &u.Path)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// ThumbnailArg : has no documentation (yet)
type ThumbnailArg struct {
// Path : The path to the image file you want to thumbnail.
@@ -2472,6 +3059,8 @@ type ThumbnailArg struct {
Format *ThumbnailFormat `json:"format"`
// Size : The size for the thumbnail image.
Size *ThumbnailSize `json:"size"`
+ // Mode : How to resize and crop the image to achieve the desired size.
+ Mode *ThumbnailMode `json:"mode"`
}
// NewThumbnailArg returns a new ThumbnailArg instance
@@ -2480,6 +3069,7 @@ func NewThumbnailArg(Path string) *ThumbnailArg {
s.Path = Path
s.Format = &ThumbnailFormat{Tagged: dropbox.Tagged{"jpeg"}}
s.Size = &ThumbnailSize{Tagged: dropbox.Tagged{"w64h64"}}
+ s.Mode = &ThumbnailMode{Tagged: dropbox.Tagged{"strict"}}
return s
}
@@ -2533,6 +3123,18 @@ const (
ThumbnailFormatPng = "png"
)
+// ThumbnailMode : has no documentation (yet)
+type ThumbnailMode struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for ThumbnailMode
+const (
+ ThumbnailModeStrict = "strict"
+ ThumbnailModeBestfit = "bestfit"
+ ThumbnailModeFitoneBestfit = "fitone_bestfit"
+)
+
// ThumbnailSize : has no documentation (yet)
type ThumbnailSize struct {
dropbox.Tagged
@@ -2540,11 +3142,15 @@ type ThumbnailSize struct {
// Valid tag values for ThumbnailSize
const (
- ThumbnailSizeW32h32 = "w32h32"
- ThumbnailSizeW64h64 = "w64h64"
- ThumbnailSizeW128h128 = "w128h128"
- ThumbnailSizeW640h480 = "w640h480"
- ThumbnailSizeW1024h768 = "w1024h768"
+ ThumbnailSizeW32h32 = "w32h32"
+ ThumbnailSizeW64h64 = "w64h64"
+ ThumbnailSizeW128h128 = "w128h128"
+ ThumbnailSizeW256h256 = "w256h256"
+ ThumbnailSizeW480h320 = "w480h320"
+ ThumbnailSizeW640h480 = "w640h480"
+ ThumbnailSizeW960h640 = "w960h640"
+ ThumbnailSizeW1024h768 = "w1024h768"
+ ThumbnailSizeW2048h1536 = "w2048h1536"
)
// UploadError : has no documentation (yet)
@@ -2552,12 +3158,16 @@ type UploadError struct {
dropbox.Tagged
// Path : Unable to save the uploaded contents to a file.
Path *UploadWriteFailed `json:"path,omitempty"`
+ // PropertiesError : The supplied property group is invalid. The file has
+ // uploaded without property groups.
+ PropertiesError *file_properties.InvalidPropertyGroupError `json:"properties_error,omitempty"`
}
// Valid tag values for UploadError
const (
- UploadErrorPath = "path"
- UploadErrorOther = "other"
+ UploadErrorPath = "path"
+ UploadErrorPropertiesError = "properties_error"
+ UploadErrorOther = "other"
)
// UnmarshalJSON deserializes into a UploadError instance
@@ -2566,6 +3176,9 @@ func (u *UploadError) UnmarshalJSON(body []byte) error {
dropbox.Tagged
// Path : Unable to save the uploaded contents to a file.
Path json.RawMessage `json:"path,omitempty"`
+ // PropertiesError : The supplied property group is invalid. The file
+ // has uploaded without property groups.
+ PropertiesError json.RawMessage `json:"properties_error,omitempty"`
}
var w wrap
var err error
@@ -2577,6 +3190,12 @@ func (u *UploadError) UnmarshalJSON(body []byte) error {
case "path":
err = json.Unmarshal(body, &u.Path)
+ if err != nil {
+ return err
+ }
+ case "properties_error":
+ err = json.Unmarshal(w.PropertiesError, &u.PropertiesError)
+
if err != nil {
return err
}
@@ -2589,15 +3208,16 @@ type UploadErrorWithProperties struct {
dropbox.Tagged
// Path : Unable to save the uploaded contents to a file.
Path *UploadWriteFailed `json:"path,omitempty"`
- // PropertiesError : has no documentation (yet)
+ // PropertiesError : The supplied property group is invalid. The file has
+ // uploaded without property groups.
PropertiesError *file_properties.InvalidPropertyGroupError `json:"properties_error,omitempty"`
}
// Valid tag values for UploadErrorWithProperties
const (
UploadErrorWithPropertiesPath = "path"
- UploadErrorWithPropertiesOther = "other"
UploadErrorWithPropertiesPropertiesError = "properties_error"
+ UploadErrorWithPropertiesOther = "other"
)
// UnmarshalJSON deserializes into a UploadErrorWithProperties instance
@@ -2606,7 +3226,8 @@ func (u *UploadErrorWithProperties) UnmarshalJSON(body []byte) error {
dropbox.Tagged
// Path : Unable to save the uploaded contents to a file.
Path json.RawMessage `json:"path,omitempty"`
- // PropertiesError : has no documentation (yet)
+ // PropertiesError : The supplied property group is invalid. The file
+ // has uploaded without property groups.
PropertiesError json.RawMessage `json:"properties_error,omitempty"`
}
var w wrap
@@ -2850,14 +3471,20 @@ type UploadSessionFinishError struct {
// LookupFailed : The session arguments are incorrect; the value explains
// the reason.
LookupFailed *UploadSessionLookupError `json:"lookup_failed,omitempty"`
- // Path : Unable to save the uploaded contents to a file.
+ // Path : Unable to save the uploaded contents to a file. Data has already
+ // been appended to the upload session. Please retry with empty data body
+ // and updated offset.
Path *WriteError `json:"path,omitempty"`
+ // PropertiesError : The supplied property group is invalid. The file has
+ // uploaded without property groups.
+ PropertiesError *file_properties.InvalidPropertyGroupError `json:"properties_error,omitempty"`
}
// Valid tag values for UploadSessionFinishError
const (
UploadSessionFinishErrorLookupFailed = "lookup_failed"
UploadSessionFinishErrorPath = "path"
+ UploadSessionFinishErrorPropertiesError = "properties_error"
UploadSessionFinishErrorTooManySharedFolderTargets = "too_many_shared_folder_targets"
UploadSessionFinishErrorTooManyWriteOperations = "too_many_write_operations"
UploadSessionFinishErrorOther = "other"
@@ -2870,8 +3497,13 @@ func (u *UploadSessionFinishError) UnmarshalJSON(body []byte) error {
// LookupFailed : The session arguments are incorrect; the value
// explains the reason.
LookupFailed json.RawMessage `json:"lookup_failed,omitempty"`
- // Path : Unable to save the uploaded contents to a file.
+ // Path : Unable to save the uploaded contents to a file. Data has
+ // already been appended to the upload session. Please retry with empty
+ // data body and updated offset.
Path json.RawMessage `json:"path,omitempty"`
+ // PropertiesError : The supplied property group is invalid. The file
+ // has uploaded without property groups.
+ PropertiesError json.RawMessage `json:"properties_error,omitempty"`
}
var w wrap
var err error
@@ -2889,6 +3521,12 @@ func (u *UploadSessionFinishError) UnmarshalJSON(body []byte) error {
case "path":
err = json.Unmarshal(w.Path, &u.Path)
+ if err != nil {
+ return err
+ }
+ case "properties_error":
+ err = json.Unmarshal(w.PropertiesError, &u.PropertiesError)
+
if err != nil {
return err
}
@@ -2912,6 +3550,7 @@ const (
UploadSessionLookupErrorIncorrectOffset = "incorrect_offset"
UploadSessionLookupErrorClosed = "closed"
UploadSessionLookupErrorNotClosed = "not_closed"
+ UploadSessionLookupErrorTooLarge = "too_large"
UploadSessionLookupErrorOther = "other"
)
@@ -2988,8 +3627,9 @@ func NewUploadSessionStartResult(SessionId string) *UploadSessionStartResult {
type UploadWriteFailed struct {
// Reason : The reason why the file couldn't be saved.
Reason *WriteError `json:"reason"`
- // UploadSessionId : The upload session ID; this may be used to retry the
- // commit.
+ // UploadSessionId : The upload session ID; data has already been uploaded
+ // to the corresponding upload session and this ID may be used to retry the
+ // commit with `uploadSessionFinish`.
UploadSessionId string `json:"upload_session_id"`
}
@@ -3039,13 +3679,14 @@ type WriteError struct {
// Valid tag values for WriteError
const (
- WriteErrorMalformedPath = "malformed_path"
- WriteErrorConflict = "conflict"
- WriteErrorNoWritePermission = "no_write_permission"
- WriteErrorInsufficientSpace = "insufficient_space"
- WriteErrorDisallowedName = "disallowed_name"
- WriteErrorTeamFolder = "team_folder"
- WriteErrorOther = "other"
+ WriteErrorMalformedPath = "malformed_path"
+ WriteErrorConflict = "conflict"
+ WriteErrorNoWritePermission = "no_write_permission"
+ WriteErrorInsufficientSpace = "insufficient_space"
+ WriteErrorDisallowedName = "disallowed_name"
+ WriteErrorTeamFolder = "team_folder"
+ WriteErrorTooManyWriteOperations = "too_many_write_operations"
+ WriteErrorOther = "other"
)
// UnmarshalJSON deserializes into a WriteError instance
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/paper/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/paper/client.go
index 2954f3655..24cef1c06 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/paper/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/paper/client.go
@@ -52,9 +52,9 @@ type Client interface {
// DocsGetFolderInfo : Retrieves folder information for the given Paper doc.
// This includes: - folder sharing policy; permissions for subfolders are
// set by the top-level folder. - full 'filepath', i.e. the list of
- // folders (both folderId and folderName) from the root folder to the folder
- // directly containing the Paper doc. Note: If the Paper doc is not in any
- // folder (aka unfiled) the response will be empty.
+ // folders (both folderId and folderName) from the root folder to the
+ // folder directly containing the Paper doc. Note: If the Paper doc is not
+ // in any folder (aka unfiled) the response will be empty.
DocsGetFolderInfo(arg *RefPaperDoc) (res *FoldersContainingPaperDoc, err error)
// DocsList : Return the list of all Paper docs according to the argument
// specifications. To iterate over through the full pagination, pass the
@@ -153,7 +153,7 @@ func (dbx *apiImpl) DocsArchive(arg *RefPaperDoc) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -226,7 +226,7 @@ func (dbx *apiImpl) DocsCreate(arg *PaperDocCreateArgs, content io.Reader) (res
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -299,7 +299,7 @@ func (dbx *apiImpl) DocsDownload(arg *PaperDocExport) (res *PaperDocExportResult
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -371,7 +371,7 @@ func (dbx *apiImpl) DocsFolderUsersList(arg *ListUsersOnFolderArgs) (res *ListUs
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -443,7 +443,7 @@ func (dbx *apiImpl) DocsFolderUsersListContinue(arg *ListUsersOnFolderContinueAr
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -515,7 +515,7 @@ func (dbx *apiImpl) DocsGetFolderInfo(arg *RefPaperDoc) (res *FoldersContainingP
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -587,7 +587,7 @@ func (dbx *apiImpl) DocsList(arg *ListPaperDocsArgs) (res *ListPaperDocsResponse
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -659,7 +659,7 @@ func (dbx *apiImpl) DocsListContinue(arg *ListPaperDocsContinueArgs) (res *ListP
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -726,7 +726,7 @@ func (dbx *apiImpl) DocsPermanentlyDelete(arg *RefPaperDoc) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -798,7 +798,7 @@ func (dbx *apiImpl) DocsSharingPolicyGet(arg *RefPaperDoc) (res *SharingPolicy,
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -865,7 +865,7 @@ func (dbx *apiImpl) DocsSharingPolicySet(arg *PaperDocSharingPolicy) (err error)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -938,7 +938,7 @@ func (dbx *apiImpl) DocsUpdate(arg *PaperDocUpdateArgs, content io.Reader) (res
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1010,7 +1010,7 @@ func (dbx *apiImpl) DocsUsersAdd(arg *AddPaperDocUser) (res []*AddPaperDocUserMe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1082,7 +1082,7 @@ func (dbx *apiImpl) DocsUsersList(arg *ListUsersOnPaperDocArgs) (res *ListUsersO
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1154,7 +1154,7 @@ func (dbx *apiImpl) DocsUsersListContinue(arg *ListUsersOnPaperDocContinueArgs)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1221,7 +1221,7 @@ func (dbx *apiImpl) DocsUsersRemove(arg *RemovePaperDocUser) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk.go
index 7892f45f1..673de622e 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk.go
@@ -26,6 +26,7 @@ import (
"log"
"net/http"
+ "golang.org/x/net/context"
"golang.org/x/oauth2"
)
@@ -35,8 +36,8 @@ const (
hostAPI = "api"
hostContent = "content"
hostNotify = "notify"
- sdkVersion = "4.0.0"
- specVersion = "5389e5b"
+ sdkVersion = "4.2.0"
+ specVersion = "222ba8c"
)
// Version returns the current SDK version and API Spec version
@@ -77,12 +78,12 @@ const (
LogInfo
)
-func (l LogLevel) ShouldLog(v LogLevel) bool {
+func (l LogLevel) shouldLog(v LogLevel) bool {
return l > v || l&v == v
}
func (c *Config) doLog(l LogLevel, format string, v ...interface{}) {
- if !c.LogLevel.ShouldLog(l) {
+ if !c.LogLevel.shouldLog(l) {
return
}
@@ -152,7 +153,7 @@ func NewContext(c Config) Context {
if client == nil {
var conf = &oauth2.Config{Endpoint: OAuthEndpoint(domain)}
tok := &oauth2.Token{AccessToken: c.Token}
- client = conf.Client(oauth2.NoContext, tok)
+ client = conf.Client(context.Background(), tok)
}
headerGenerator := c.HeaderGenerator
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sharing/metadata.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk_test.go
similarity index 53%
rename from vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sharing/metadata.go
rename to vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk_test.go
index 9d70db8b6..db5b6b600 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sharing/metadata.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sdk_test.go
@@ -18,32 +18,38 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-package sharing
+package dropbox_test
-import "encoding/json"
+import (
+ "fmt"
+ "net/http"
+ "net/http/httptest"
+ "strings"
+ "testing"
-type listSharedLinksResult struct {
- Links []sharedLinkMetadataUnion `json:"links"`
- HasMore bool `json:"has_more"`
- Cursor string `json:"cursor,omitempty"`
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users"
+)
+
+func generateURL(base string, namespace string, route string) string {
+ return fmt.Sprintf("%s/%s/%s", base, namespace, route)
}
-// UnmarshalJSON deserializes into a ListSharedLinksResult instance
-func (r *ListSharedLinksResult) UnmarshalJSON(b []byte) error {
- var l listSharedLinksResult
- if err := json.Unmarshal(b, &l); err != nil {
- return err
- }
- r.Cursor = l.Cursor
- r.HasMore = l.HasMore
- r.Links = make([]IsSharedLinkMetadata, len(l.Links))
- for i, e := range l.Links {
- switch e.Tag {
- case "file":
- r.Links[i] = e.File
- case "folder":
- r.Links[i] = e.Folder
- }
+func TestInternalError(t *testing.T) {
+ eString := "internal server error"
+ ts := httptest.NewServer(http.HandlerFunc(
+ func(w http.ResponseWriter, r *http.Request) {
+ http.Error(w, eString, http.StatusInternalServerError)
+ }))
+ defer ts.Close()
+
+ config := dropbox.Config{Client: ts.Client(), LogLevel: dropbox.LogDebug,
+ URLGenerator: func(hostType string, style string, namespace string, route string) string {
+ return generateURL(ts.URL, namespace, route)
+ }}
+ client := users.New(config)
+ v, e := client.GetCurrentAccount()
+ if v != nil || strings.Trim(e.Error(), "\n") != eString {
+ t.Errorf("v: %v e: '%s'\n", v, e.Error())
}
- return nil
}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/metadata.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/seen_state/types.go
similarity index 61%
rename from vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/metadata.go
rename to vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/seen_state/types.go
index 9d70db8b6..1afac6e83 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/metadata.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/seen_state/types.go
@@ -18,32 +18,21 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-package sharing
+// Package seen_state : has no documentation (yet)
+package seen_state
-import "encoding/json"
+import "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox"
-type listSharedLinksResult struct {
- Links []sharedLinkMetadataUnion `json:"links"`
- HasMore bool `json:"has_more"`
- Cursor string `json:"cursor,omitempty"`
+// PlatformType : Possible platforms on which a user may view content.
+type PlatformType struct {
+ dropbox.Tagged
}
-// UnmarshalJSON deserializes into a ListSharedLinksResult instance
-func (r *ListSharedLinksResult) UnmarshalJSON(b []byte) error {
- var l listSharedLinksResult
- if err := json.Unmarshal(b, &l); err != nil {
- return err
- }
- r.Cursor = l.Cursor
- r.HasMore = l.HasMore
- r.Links = make([]IsSharedLinkMetadata, len(l.Links))
- for i, e := range l.Links {
- switch e.Tag {
- case "file":
- r.Links[i] = e.File
- case "folder":
- r.Links[i] = e.Folder
- }
- }
- return nil
-}
+// Valid tag values for PlatformType
+const (
+ PlatformTypeWeb = "web"
+ PlatformTypeMobile = "mobile"
+ PlatformTypeDesktop = "desktop"
+ PlatformTypeUnknown = "unknown"
+ PlatformTypeOther = "other"
+)
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/client.go
index ec55a037c..5e060eab9 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/client.go
@@ -187,6 +187,12 @@ type Client interface {
// that enable access to a specific file, you can use the `listSharedLinks`
// with the file as the `ListSharedLinksArg.path` argument.
RevokeSharedLink(arg *RevokeSharedLinkArg) (err error)
+ // SetAccessInheritance : Change the inheritance policy of an existing
+ // Shared Folder. Only permitted for shared folders in a shared team root.
+ // If a `ShareFolderLaunch.async_job_id` is returned, you'll need to call
+ // `checkShareJobStatus` until the action completes to get the metadata for
+ // the folder.
+ SetAccessInheritance(arg *SetAccessInheritanceArg) (res *ShareFolderLaunch, err error)
// ShareFolder : Share a folder with collaborators. Most sharing will be
// completed synchronously. Large folders will be completed asynchronously.
// To make testing the async case repeatable, set
@@ -285,7 +291,7 @@ func (dbx *apiImpl) AddFileMember(arg *AddFileMemberArgs) (res []*FileMemberActi
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -352,7 +358,7 @@ func (dbx *apiImpl) AddFolderMember(arg *AddFolderMemberArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -427,7 +433,7 @@ func (dbx *apiImpl) ChangeFileMemberAccess(arg *ChangeFileMemberAccessArgs) (res
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -499,7 +505,7 @@ func (dbx *apiImpl) CheckJobStatus(arg *async.PollArg) (res *JobStatus, err erro
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -571,7 +577,7 @@ func (dbx *apiImpl) CheckRemoveMemberJobStatus(arg *async.PollArg) (res *RemoveM
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -643,7 +649,7 @@ func (dbx *apiImpl) CheckShareJobStatus(arg *async.PollArg) (res *ShareFolderJob
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -718,7 +724,7 @@ func (dbx *apiImpl) CreateSharedLink(arg *CreateSharedLinkArg) (res *PathLinkMet
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -798,7 +804,7 @@ func (dbx *apiImpl) CreateSharedLinkWithSettings(arg *CreateSharedLinkWithSettin
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -870,7 +876,7 @@ func (dbx *apiImpl) GetFileMetadata(arg *GetFileMetadataArg) (res *SharedFileMet
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -942,7 +948,7 @@ func (dbx *apiImpl) GetFileMetadataBatch(arg *GetFileMetadataBatchArg) (res []*G
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1014,7 +1020,7 @@ func (dbx *apiImpl) GetFolderMetadata(arg *GetMetadataArgs) (res *SharedFolderMe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1095,7 +1101,7 @@ func (dbx *apiImpl) GetSharedLinkFile(arg *GetSharedLinkMetadataArg) (res IsShar
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1175,7 +1181,7 @@ func (dbx *apiImpl) GetSharedLinkMetadata(arg *GetSharedLinkMetadataArg) (res Is
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1250,7 +1256,7 @@ func (dbx *apiImpl) GetSharedLinks(arg *GetSharedLinksArg) (res *GetSharedLinksR
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1322,7 +1328,7 @@ func (dbx *apiImpl) ListFileMembers(arg *ListFileMembersArg) (res *SharedFileMem
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1394,7 +1400,7 @@ func (dbx *apiImpl) ListFileMembersBatch(arg *ListFileMembersBatchArg) (res []*L
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1466,7 +1472,7 @@ func (dbx *apiImpl) ListFileMembersContinue(arg *ListFileMembersContinueArg) (re
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1538,7 +1544,7 @@ func (dbx *apiImpl) ListFolderMembers(arg *ListFolderMembersArgs) (res *SharedFo
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1610,7 +1616,7 @@ func (dbx *apiImpl) ListFolderMembersContinue(arg *ListFolderMembersContinueArg)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1682,7 +1688,7 @@ func (dbx *apiImpl) ListFolders(arg *ListFoldersArgs) (res *ListFoldersResult, e
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1754,7 +1760,7 @@ func (dbx *apiImpl) ListFoldersContinue(arg *ListFoldersContinueArg) (res *ListF
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1826,7 +1832,7 @@ func (dbx *apiImpl) ListMountableFolders(arg *ListFoldersArgs) (res *ListFolders
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1898,7 +1904,7 @@ func (dbx *apiImpl) ListMountableFoldersContinue(arg *ListFoldersContinueArg) (r
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1970,7 +1976,7 @@ func (dbx *apiImpl) ListReceivedFiles(arg *ListFilesArg) (res *ListFilesResult,
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2042,7 +2048,7 @@ func (dbx *apiImpl) ListReceivedFilesContinue(arg *ListFilesContinueArg) (res *L
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2114,7 +2120,7 @@ func (dbx *apiImpl) ListSharedLinks(arg *ListSharedLinksArg) (res *ListSharedLin
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2194,7 +2200,7 @@ func (dbx *apiImpl) ModifySharedLinkSettings(arg *ModifySharedLinkSettingsArgs)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2266,7 +2272,7 @@ func (dbx *apiImpl) MountFolder(arg *MountFolderArg) (res *SharedFolderMetadata,
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2333,7 +2339,7 @@ func (dbx *apiImpl) RelinquishFileMembership(arg *RelinquishFileMembershipArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2405,7 +2411,7 @@ func (dbx *apiImpl) RelinquishFolderMembership(arg *RelinquishFolderMembershipAr
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2480,7 +2486,7 @@ func (dbx *apiImpl) RemoveFileMember(arg *RemoveFileMemberArg) (res *FileMemberA
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2552,7 +2558,7 @@ func (dbx *apiImpl) RemoveFileMember2(arg *RemoveFileMemberArg) (res *FileMember
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2624,7 +2630,7 @@ func (dbx *apiImpl) RemoveFolderMember(arg *RemoveFolderMemberArg) (res *async.L
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2691,7 +2697,79 @@ func (dbx *apiImpl) RevokeSharedLink(arg *RevokeSharedLinkArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
+ apiError.ErrorSummary = string(body)
+ err = apiError
+ return
+ }
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+}
+
+//SetAccessInheritanceAPIError is an error-wrapper for the set_access_inheritance route
+type SetAccessInheritanceAPIError struct {
+ dropbox.APIError
+ EndpointError *SetAccessInheritanceError `json:"error"`
+}
+
+func (dbx *apiImpl) SetAccessInheritance(arg *SetAccessInheritanceArg) (res *ShareFolderLaunch, err error) {
+ cli := dbx.Client
+
+ dbx.Config.LogDebug("arg: %v", arg)
+ b, err := json.Marshal(arg)
+ if err != nil {
+ return
+ }
+
+ headers := map[string]string{
+ "Content-Type": "application/json",
+ }
+ if dbx.Config.AsMemberID != "" {
+ headers["Dropbox-API-Select-User"] = dbx.Config.AsMemberID
+ }
+
+ req, err := (*dropbox.Context)(dbx).NewRequest("api", "rpc", true, "sharing", "set_access_inheritance", headers, bytes.NewReader(b))
+ if err != nil {
+ return
+ }
+ dbx.Config.LogInfo("req: %v", req)
+
+ resp, err := cli.Do(req)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogInfo("resp: %v", resp)
+ defer resp.Body.Close()
+ body, err := ioutil.ReadAll(resp.Body)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogDebug("body: %v", body)
+ if resp.StatusCode == http.StatusOK {
+ err = json.Unmarshal(body, &res)
+ if err != nil {
+ return
+ }
+
+ return
+ }
+ if resp.StatusCode == http.StatusConflict {
+ var apiError SetAccessInheritanceAPIError
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+ }
+ var apiError dropbox.APIError
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2763,7 +2841,7 @@ func (dbx *apiImpl) ShareFolder(arg *ShareFolderArg) (res *ShareFolderLaunch, er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2830,7 +2908,7 @@ func (dbx *apiImpl) TransferFolder(arg *TransferFolderArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2897,7 +2975,7 @@ func (dbx *apiImpl) UnmountFolder(arg *UnmountFolderArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2964,7 +3042,7 @@ func (dbx *apiImpl) UnshareFile(arg *UnshareFileArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3036,7 +3114,7 @@ func (dbx *apiImpl) UnshareFolder(arg *UnshareFolderArg) (res *async.LaunchEmpty
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3108,7 +3186,7 @@ func (dbx *apiImpl) UpdateFileMember(arg *UpdateFileMemberArgs) (res *MemberAcce
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3180,7 +3258,7 @@ func (dbx *apiImpl) UpdateFolderMember(arg *UpdateFolderMemberArg) (res *MemberA
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3252,7 +3330,7 @@ func (dbx *apiImpl) UpdateFolderPolicy(arg *UpdateFolderPolicyArg) (res *SharedF
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/types.go
index 50816098a..506ae4cfd 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing/types.go
@@ -28,10 +28,24 @@ import (
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/seen_state"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users"
)
+// AccessInheritance : Information about the inheritance policy of a shared
+// folder.
+type AccessInheritance struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for AccessInheritance
+const (
+ AccessInheritanceInherit = "inherit"
+ AccessInheritanceNoInherit = "no_inherit"
+ AccessInheritanceOther = "other"
+)
+
// AccessLevel : Defines the access levels for collaborators.
type AccessLevel struct {
dropbox.Tagged
@@ -1089,6 +1103,7 @@ const (
FolderActionLeaveACopy = "leave_a_copy"
FolderActionShareLink = "share_link"
FolderActionCreateLink = "create_link"
+ FolderActionSetAccessInheritance = "set_access_inheritance"
FolderActionOther = "other"
)
@@ -1431,6 +1446,27 @@ func NewGetSharedLinksResult(Links []IsLinkMetadata) *GetSharedLinksResult {
return s
}
+// UnmarshalJSON deserializes into a GetSharedLinksResult instance
+func (u *GetSharedLinksResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Links : Shared links applicable to the path argument.
+ Links []json.RawMessage `json:"links"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ u.Links = make([]IsLinkMetadata, len(w.Links))
+ for i, e := range w.Links {
+ v, err := IsLinkMetadataFromJSON(e)
+ if err != nil {
+ return err
+ }
+ u.Links[i] = v
+ }
+ return nil
+}
+
// GroupInfo : The information about a group. Groups is a way to manage a list
// of users who need same access permission to the shared folder.
type GroupInfo struct {
@@ -1465,7 +1501,7 @@ type MembershipInfo struct {
// Permissions : The permissions that requesting user has on this member.
// The set of permissions corresponds to the MemberActions in the request.
Permissions []*MemberPermission `json:"permissions,omitempty"`
- // Initials : Suggested name initials for a member.
+ // Initials : Never set.
Initials string `json:"initials,omitempty"`
// IsInherited : True if the member has access from a parent folder.
IsInherited bool `json:"is_inherited"`
@@ -2398,6 +2434,36 @@ func NewListSharedLinksResult(Links []IsSharedLinkMetadata, HasMore bool) *ListS
return s
}
+// UnmarshalJSON deserializes into a ListSharedLinksResult instance
+func (u *ListSharedLinksResult) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // Links : Shared links applicable to the path argument.
+ Links []json.RawMessage `json:"links"`
+ // HasMore : Is true if there are additional shared links that have not
+ // been returned yet. Pass the cursor into `listSharedLinks` to retrieve
+ // them.
+ HasMore bool `json:"has_more"`
+ // Cursor : Pass the cursor into `listSharedLinks` to obtain the
+ // additional links. Cursor is returned only if no path is given.
+ Cursor string `json:"cursor,omitempty"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ u.Links = make([]IsSharedLinkMetadata, len(w.Links))
+ for i, e := range w.Links {
+ v, err := IsSharedLinkMetadataFromJSON(e)
+ if err != nil {
+ return err
+ }
+ u.Links[i] = v
+ }
+ u.HasMore = w.HasMore
+ u.Cursor = w.Cursor
+ return nil
+}
+
// MemberAccessLevelResult : Contains information about a member's access level
// to content after an operation.
type MemberAccessLevelResult struct {
@@ -3123,6 +3189,60 @@ const (
RevokeSharedLinkErrorSharedLinkMalformed = "shared_link_malformed"
)
+// SetAccessInheritanceArg : has no documentation (yet)
+type SetAccessInheritanceArg struct {
+ // AccessInheritance : The access inheritance settings for the folder.
+ AccessInheritance *AccessInheritance `json:"access_inheritance"`
+ // SharedFolderId : The ID for the shared folder.
+ SharedFolderId string `json:"shared_folder_id"`
+}
+
+// NewSetAccessInheritanceArg returns a new SetAccessInheritanceArg instance
+func NewSetAccessInheritanceArg(SharedFolderId string) *SetAccessInheritanceArg {
+ s := new(SetAccessInheritanceArg)
+ s.SharedFolderId = SharedFolderId
+ s.AccessInheritance = &AccessInheritance{Tagged: dropbox.Tagged{"inherit"}}
+ return s
+}
+
+// SetAccessInheritanceError : has no documentation (yet)
+type SetAccessInheritanceError struct {
+ dropbox.Tagged
+ // AccessError : Unable to access shared folder.
+ AccessError *SharedFolderAccessError `json:"access_error,omitempty"`
+}
+
+// Valid tag values for SetAccessInheritanceError
+const (
+ SetAccessInheritanceErrorAccessError = "access_error"
+ SetAccessInheritanceErrorNoPermission = "no_permission"
+ SetAccessInheritanceErrorOther = "other"
+)
+
+// UnmarshalJSON deserializes into a SetAccessInheritanceError instance
+func (u *SetAccessInheritanceError) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // AccessError : Unable to access shared folder.
+ AccessError json.RawMessage `json:"access_error,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "access_error":
+ err = json.Unmarshal(w.AccessError, &u.AccessError)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// ShareFolderArgBase : has no documentation (yet)
type ShareFolderArgBase struct {
// AclUpdatePolicy : Who can add and remove members of this shared folder.
@@ -3643,6 +3763,9 @@ type SharedFolderMetadata struct {
// TimeInvited : Timestamp indicating when the current user was invited to
// this shared folder.
TimeInvited time.Time `json:"time_invited"`
+ // AccessInheritance : Whether the folder inherits its members from its
+ // parent.
+ AccessInheritance *AccessInheritance `json:"access_inheritance"`
}
// NewSharedFolderMetadata returns a new SharedFolderMetadata instance
@@ -3656,6 +3779,7 @@ func NewSharedFolderMetadata(AccessType *AccessLevel, IsInsideTeamFolder bool, I
s.PreviewUrl = PreviewUrl
s.SharedFolderId = SharedFolderId
s.TimeInvited = TimeInvited
+ s.AccessInheritance = &AccessInheritance{Tagged: dropbox.Tagged{"inherit"}}
return s
}
@@ -4191,6 +4315,9 @@ type UserFileMembershipInfo struct {
// TimeLastSeen : The UTC timestamp of when the user has last seen the
// content, if they have.
TimeLastSeen time.Time `json:"time_last_seen,omitempty"`
+ // PlatformType : The platform on which the user has last seen the content,
+ // or unknown.
+ PlatformType *seen_state.PlatformType `json:"platform_type,omitempty"`
}
// NewUserFileMembershipInfo returns a new UserFileMembershipInfo instance
@@ -4207,6 +4334,10 @@ func NewUserFileMembershipInfo(AccessType *AccessLevel, User *UserInfo) *UserFil
type UserInfo struct {
// AccountId : The account ID of the user.
AccountId string `json:"account_id"`
+ // Email : Email address of user.
+ Email string `json:"email"`
+ // DisplayName : The display name of the user.
+ DisplayName string `json:"display_name"`
// SameTeam : If the user is in the same team as current user.
SameTeam bool `json:"same_team"`
// TeamMemberId : The team member ID of the shared folder member. Only
@@ -4215,9 +4346,11 @@ type UserInfo struct {
}
// NewUserInfo returns a new UserInfo instance
-func NewUserInfo(AccountId string, SameTeam bool) *UserInfo {
+func NewUserInfo(AccountId string, Email string, DisplayName string, SameTeam bool) *UserInfo {
s := new(UserInfo)
s.AccountId = AccountId
+ s.Email = Email
+ s.DisplayName = DisplayName
s.SameTeam = SameTeam
return s
}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/client.go
index 94cbb6990..085b953aa 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/client.go
@@ -272,6 +272,10 @@ type Client interface {
// TeamFolderRename : Changes an active team folder's name. Permission :
// Team member file access.
TeamFolderRename(arg *TeamFolderRenameArg) (res *TeamFolderMetadata, err error)
+ // TeamFolderUpdateSyncSettings : Updates the sync settings on a team folder
+ // or its contents. Use of this endpoint requires that the team has team
+ // selective sync enabled.
+ TeamFolderUpdateSyncSettings(arg *TeamFolderUpdateSyncSettingsArg) (res *TeamFolderMetadata, err error)
// TokenGetAuthenticatedAdmin : Returns the member profile of the admin who
// generated the team access token used to make the call.
TokenGetAuthenticatedAdmin() (res *TokenGetAuthenticatedAdminResult, err error)
@@ -335,7 +339,7 @@ func (dbx *apiImpl) DevicesListMemberDevices(arg *ListMemberDevicesArg) (res *Li
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -404,7 +408,7 @@ func (dbx *apiImpl) DevicesListMembersDevices(arg *ListMembersDevicesArg) (res *
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -476,7 +480,7 @@ func (dbx *apiImpl) DevicesListTeamDevices(arg *ListTeamDevicesArg) (res *ListTe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -540,7 +544,7 @@ func (dbx *apiImpl) DevicesRevokeDeviceSession(arg *RevokeDeviceSessionArg) (err
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -609,7 +613,7 @@ func (dbx *apiImpl) DevicesRevokeDeviceSessionBatch(arg *RevokeDeviceSessionBatc
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -678,7 +682,7 @@ func (dbx *apiImpl) FeaturesGetValues(arg *FeaturesGetValuesBatchArg) (res *Feat
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -739,7 +743,7 @@ func (dbx *apiImpl) GetInfo() (res *TeamGetInfoResult, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -808,7 +812,7 @@ func (dbx *apiImpl) GroupsCreate(arg *GroupCreateArg) (res *GroupFullInfo, err e
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -877,7 +881,7 @@ func (dbx *apiImpl) GroupsDelete(arg *GroupSelector) (res *async.LaunchEmptyResu
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -946,7 +950,7 @@ func (dbx *apiImpl) GroupsGetInfo(arg *GroupsSelector) (res []*GroupsGetInfoItem
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1015,7 +1019,7 @@ func (dbx *apiImpl) GroupsJobStatusGet(arg *async.PollArg) (res *async.PollEmpty
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1084,7 +1088,7 @@ func (dbx *apiImpl) GroupsList(arg *GroupsListArg) (res *GroupsListResult, err e
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1153,7 +1157,7 @@ func (dbx *apiImpl) GroupsListContinue(arg *GroupsListContinueArg) (res *GroupsL
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1222,7 +1226,7 @@ func (dbx *apiImpl) GroupsMembersAdd(arg *GroupMembersAddArg) (res *GroupMembers
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1291,7 +1295,7 @@ func (dbx *apiImpl) GroupsMembersList(arg *GroupsMembersListArg) (res *GroupsMem
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1360,7 +1364,7 @@ func (dbx *apiImpl) GroupsMembersListContinue(arg *GroupsMembersListContinueArg)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1429,7 +1433,7 @@ func (dbx *apiImpl) GroupsMembersRemove(arg *GroupMembersRemoveArg) (res *GroupM
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1498,7 +1502,7 @@ func (dbx *apiImpl) GroupsMembersSetAccessType(arg *GroupMembersSetAccessTypeArg
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1567,7 +1571,7 @@ func (dbx *apiImpl) GroupsUpdate(arg *GroupUpdateArgs) (res *GroupFullInfo, err
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1636,7 +1640,7 @@ func (dbx *apiImpl) LinkedAppsListMemberLinkedApps(arg *ListMemberAppsArg) (res
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1705,7 +1709,7 @@ func (dbx *apiImpl) LinkedAppsListMembersLinkedApps(arg *ListMembersAppsArg) (re
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1777,7 +1781,7 @@ func (dbx *apiImpl) LinkedAppsListTeamLinkedApps(arg *ListTeamAppsArg) (res *Lis
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1841,7 +1845,7 @@ func (dbx *apiImpl) LinkedAppsRevokeLinkedApp(arg *RevokeLinkedApiAppArg) (err e
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1910,7 +1914,7 @@ func (dbx *apiImpl) LinkedAppsRevokeLinkedAppBatch(arg *RevokeLinkedApiAppBatchA
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -1979,7 +1983,7 @@ func (dbx *apiImpl) MemberSpaceLimitsExcludedUsersAdd(arg *ExcludedUsersUpdateAr
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2048,7 +2052,7 @@ func (dbx *apiImpl) MemberSpaceLimitsExcludedUsersList(arg *ExcludedUsersListArg
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2117,7 +2121,7 @@ func (dbx *apiImpl) MemberSpaceLimitsExcludedUsersListContinue(arg *ExcludedUser
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2186,7 +2190,7 @@ func (dbx *apiImpl) MemberSpaceLimitsExcludedUsersRemove(arg *ExcludedUsersUpdat
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2255,7 +2259,7 @@ func (dbx *apiImpl) MemberSpaceLimitsGetCustomQuota(arg *CustomQuotaUsersArg) (r
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2324,7 +2328,7 @@ func (dbx *apiImpl) MemberSpaceLimitsRemoveCustomQuota(arg *CustomQuotaUsersArg)
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2393,7 +2397,7 @@ func (dbx *apiImpl) MemberSpaceLimitsSetCustomQuota(arg *SetCustomQuotaArg) (res
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2462,7 +2466,7 @@ func (dbx *apiImpl) MembersAdd(arg *MembersAddArg) (res *MembersAddLaunch, err e
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2531,7 +2535,7 @@ func (dbx *apiImpl) MembersAddJobStatusGet(arg *async.PollArg) (res *MembersAddJ
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2600,7 +2604,7 @@ func (dbx *apiImpl) MembersGetInfo(arg *MembersGetInfoArgs) (res []*MembersGetIn
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2669,7 +2673,7 @@ func (dbx *apiImpl) MembersList(arg *MembersListArg) (res *MembersListResult, er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2738,7 +2742,7 @@ func (dbx *apiImpl) MembersListContinue(arg *MembersListContinueArg) (res *Membe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2802,7 +2806,7 @@ func (dbx *apiImpl) MembersRecover(arg *MembersRecoverArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2871,7 +2875,7 @@ func (dbx *apiImpl) MembersRemove(arg *MembersRemoveArg) (res *async.LaunchEmpty
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -2940,7 +2944,7 @@ func (dbx *apiImpl) MembersRemoveJobStatusGet(arg *async.PollArg) (res *async.Po
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3004,7 +3008,7 @@ func (dbx *apiImpl) MembersSendWelcomeEmail(arg *UserSelectorArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3073,7 +3077,7 @@ func (dbx *apiImpl) MembersSetAdminPermissions(arg *MembersSetPermissionsArg) (r
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3142,7 +3146,7 @@ func (dbx *apiImpl) MembersSetProfile(arg *MembersSetProfileArg) (res *TeamMembe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3206,7 +3210,7 @@ func (dbx *apiImpl) MembersSuspend(arg *MembersDeactivateArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3270,7 +3274,7 @@ func (dbx *apiImpl) MembersUnsuspend(arg *MembersUnsuspendArg) (err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3339,7 +3343,7 @@ func (dbx *apiImpl) NamespacesList(arg *TeamNamespacesListArg) (res *TeamNamespa
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3408,7 +3412,7 @@ func (dbx *apiImpl) NamespacesListContinue(arg *TeamNamespacesListContinueArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3479,7 +3483,7 @@ func (dbx *apiImpl) PropertiesTemplateAdd(arg *file_properties.AddTemplateArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3550,7 +3554,7 @@ func (dbx *apiImpl) PropertiesTemplateGet(arg *file_properties.GetTemplateArg) (
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3613,7 +3617,7 @@ func (dbx *apiImpl) PropertiesTemplateList() (res *file_properties.ListTemplateR
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3684,7 +3688,7 @@ func (dbx *apiImpl) PropertiesTemplateUpdate(arg *file_properties.UpdateTemplate
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3753,7 +3757,7 @@ func (dbx *apiImpl) ReportsGetActivity(arg *DateRange) (res *GetActivityReport,
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3822,7 +3826,7 @@ func (dbx *apiImpl) ReportsGetDevices(arg *DateRange) (res *GetDevicesReport, er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3891,7 +3895,7 @@ func (dbx *apiImpl) ReportsGetMembership(arg *DateRange) (res *GetMembershipRepo
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -3960,7 +3964,7 @@ func (dbx *apiImpl) ReportsGetStorage(arg *DateRange) (res *GetStorageReport, er
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4029,7 +4033,7 @@ func (dbx *apiImpl) TeamFolderActivate(arg *TeamFolderIdArg) (res *TeamFolderMet
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4098,7 +4102,7 @@ func (dbx *apiImpl) TeamFolderArchive(arg *TeamFolderArchiveArg) (res *TeamFolde
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4167,7 +4171,7 @@ func (dbx *apiImpl) TeamFolderArchiveCheck(arg *async.PollArg) (res *TeamFolderA
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4236,7 +4240,7 @@ func (dbx *apiImpl) TeamFolderCreate(arg *TeamFolderCreateArg) (res *TeamFolderM
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4305,7 +4309,7 @@ func (dbx *apiImpl) TeamFolderGetInfo(arg *TeamFolderIdListArg) (res []*TeamFold
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4374,7 +4378,7 @@ func (dbx *apiImpl) TeamFolderList(arg *TeamFolderListArg) (res *TeamFolderListR
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4443,7 +4447,7 @@ func (dbx *apiImpl) TeamFolderListContinue(arg *TeamFolderListContinueArg) (res
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4507,7 +4511,7 @@ func (dbx *apiImpl) TeamFolderPermanentlyDelete(arg *TeamFolderIdArg) (err error
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4576,7 +4580,76 @@ func (dbx *apiImpl) TeamFolderRename(arg *TeamFolderRenameArg) (res *TeamFolderM
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
+ apiError.ErrorSummary = string(body)
+ err = apiError
+ return
+ }
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+}
+
+//TeamFolderUpdateSyncSettingsAPIError is an error-wrapper for the team_folder/update_sync_settings route
+type TeamFolderUpdateSyncSettingsAPIError struct {
+ dropbox.APIError
+ EndpointError *TeamFolderUpdateSyncSettingsError `json:"error"`
+}
+
+func (dbx *apiImpl) TeamFolderUpdateSyncSettings(arg *TeamFolderUpdateSyncSettingsArg) (res *TeamFolderMetadata, err error) {
+ cli := dbx.Client
+
+ dbx.Config.LogDebug("arg: %v", arg)
+ b, err := json.Marshal(arg)
+ if err != nil {
+ return
+ }
+
+ headers := map[string]string{
+ "Content-Type": "application/json",
+ }
+
+ req, err := (*dropbox.Context)(dbx).NewRequest("api", "rpc", true, "team", "team_folder/update_sync_settings", headers, bytes.NewReader(b))
+ if err != nil {
+ return
+ }
+ dbx.Config.LogInfo("req: %v", req)
+
+ resp, err := cli.Do(req)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogInfo("resp: %v", resp)
+ defer resp.Body.Close()
+ body, err := ioutil.ReadAll(resp.Body)
+ if err != nil {
+ return
+ }
+
+ dbx.Config.LogDebug("body: %v", body)
+ if resp.StatusCode == http.StatusOK {
+ err = json.Unmarshal(body, &res)
+ if err != nil {
+ return
+ }
+
+ return
+ }
+ if resp.StatusCode == http.StatusConflict {
+ var apiError TeamFolderUpdateSyncSettingsAPIError
+ err = json.Unmarshal(body, &apiError)
+ if err != nil {
+ return
+ }
+ err = apiError
+ return
+ }
+ var apiError dropbox.APIError
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -4637,7 +4710,7 @@ func (dbx *apiImpl) TokenGetAuthenticatedAdmin() (res *TokenGetAuthenticatedAdmi
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/types.go
index 4d7b44ee4..2160d404f 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team/types.go
@@ -26,6 +26,7 @@ import (
"time"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users"
@@ -497,7 +498,7 @@ const (
ExcludedUsersUpdateStatusOther = "other"
)
-// Feature : A set of features that Dropbox for Business account support.
+// Feature : A set of features that a Dropbox Business account may support.
type Feature struct {
dropbox.Tagged
}
@@ -507,11 +508,12 @@ const (
FeatureUploadApiRateLimit = "upload_api_rate_limit"
FeatureHasTeamSharedDropbox = "has_team_shared_dropbox"
FeatureHasTeamFileEvents = "has_team_file_events"
+ FeatureHasTeamSelectiveSync = "has_team_selective_sync"
FeatureOther = "other"
)
// FeatureValue : The values correspond to entries in `Feature`. You may get
-// different value according to your Dropbox for Business plan.
+// different value according to your Dropbox Business plan.
type FeatureValue struct {
dropbox.Tagged
// UploadApiRateLimit : has no documentation (yet)
@@ -520,6 +522,8 @@ type FeatureValue struct {
HasTeamSharedDropbox *HasTeamSharedDropboxValue `json:"has_team_shared_dropbox,omitempty"`
// HasTeamFileEvents : has no documentation (yet)
HasTeamFileEvents *HasTeamFileEventsValue `json:"has_team_file_events,omitempty"`
+ // HasTeamSelectiveSync : has no documentation (yet)
+ HasTeamSelectiveSync *HasTeamSelectiveSyncValue `json:"has_team_selective_sync,omitempty"`
}
// Valid tag values for FeatureValue
@@ -527,6 +531,7 @@ const (
FeatureValueUploadApiRateLimit = "upload_api_rate_limit"
FeatureValueHasTeamSharedDropbox = "has_team_shared_dropbox"
FeatureValueHasTeamFileEvents = "has_team_file_events"
+ FeatureValueHasTeamSelectiveSync = "has_team_selective_sync"
FeatureValueOther = "other"
)
@@ -540,6 +545,8 @@ func (u *FeatureValue) UnmarshalJSON(body []byte) error {
HasTeamSharedDropbox json.RawMessage `json:"has_team_shared_dropbox,omitempty"`
// HasTeamFileEvents : has no documentation (yet)
HasTeamFileEvents json.RawMessage `json:"has_team_file_events,omitempty"`
+ // HasTeamSelectiveSync : has no documentation (yet)
+ HasTeamSelectiveSync json.RawMessage `json:"has_team_selective_sync,omitempty"`
}
var w wrap
var err error
@@ -563,6 +570,12 @@ func (u *FeatureValue) UnmarshalJSON(body []byte) error {
case "has_team_file_events":
err = json.Unmarshal(w.HasTeamFileEvents, &u.HasTeamFileEvents)
+ if err != nil {
+ return err
+ }
+ case "has_team_selective_sync":
+ err = json.Unmarshal(w.HasTeamSelectiveSync, &u.HasTeamSelectiveSync)
+
if err != nil {
return err
}
@@ -1531,10 +1544,45 @@ func (u *HasTeamFileEventsValue) UnmarshalJSON(body []byte) error {
return nil
}
+// HasTeamSelectiveSyncValue : The value for `Feature.has_team_selective_sync`.
+type HasTeamSelectiveSyncValue struct {
+ dropbox.Tagged
+ // HasTeamSelectiveSync : Does this team have team selective sync enabled.
+ HasTeamSelectiveSync bool `json:"has_team_selective_sync,omitempty"`
+}
+
+// Valid tag values for HasTeamSelectiveSyncValue
+const (
+ HasTeamSelectiveSyncValueHasTeamSelectiveSync = "has_team_selective_sync"
+ HasTeamSelectiveSyncValueOther = "other"
+)
+
+// UnmarshalJSON deserializes into a HasTeamSelectiveSyncValue instance
+func (u *HasTeamSelectiveSyncValue) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "has_team_selective_sync":
+ err = json.Unmarshal(body, &u.HasTeamSelectiveSync)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// HasTeamSharedDropboxValue : The value for `Feature.has_team_shared_dropbox`.
type HasTeamSharedDropboxValue struct {
dropbox.Tagged
- // HasTeamSharedDropbox : Does this team have a team shared dropbox.
+ // HasTeamSharedDropbox : Does this team have a shared team root.
HasTeamSharedDropbox bool `json:"has_team_shared_dropbox,omitempty"`
}
@@ -1899,6 +1947,8 @@ type MemberAddArg struct {
SendWelcomeEmail bool `json:"send_welcome_email"`
// Role : has no documentation (yet)
Role *AdminTier `json:"role"`
+ // IsDirectoryRestricted : Whether a user is directory restricted.
+ IsDirectoryRestricted bool `json:"is_directory_restricted,omitempty"`
}
// NewMemberAddArg returns a new MemberAddArg instance
@@ -2113,6 +2163,8 @@ type MemberProfile struct {
// PersistentId : Persistent ID that a team can attach to the user. The
// persistent ID is unique ID to be used for SAML authentication.
PersistentId string `json:"persistent_id,omitempty"`
+ // IsDirectoryRestricted : Whether the user is a directory restricted user.
+ IsDirectoryRestricted bool `json:"is_directory_restricted,omitempty"`
}
// NewMemberProfile returns a new MemberProfile instance
@@ -2191,7 +2243,7 @@ func (u *MembersAddJobStatus) UnmarshalJSON(body []byte) error {
// Complete : The asynchronous job has finished. For each member that
// was specified in the parameter `MembersAddArg` that was provided to
// `membersAdd`, a corresponding item is returned in this list.
- Complete json.RawMessage `json:"complete,omitempty"`
+ Complete []json.RawMessage `json:"complete,omitempty"`
}
var w wrap
var err error
@@ -2238,7 +2290,7 @@ func (u *MembersAddLaunch) UnmarshalJSON(body []byte) error {
type wrap struct {
dropbox.Tagged
// Complete : has no documentation (yet)
- Complete json.RawMessage `json:"complete,omitempty"`
+ Complete []json.RawMessage `json:"complete,omitempty"`
}
var w wrap
var err error
@@ -2512,6 +2564,7 @@ const (
MembersRemoveErrorCannotKeepAccountAndTransfer = "cannot_keep_account_and_transfer"
MembersRemoveErrorCannotKeepAccountAndDeleteData = "cannot_keep_account_and_delete_data"
MembersRemoveErrorEmailAddressTooLongToBeDisabled = "email_address_too_long_to_be_disabled"
+ MembersRemoveErrorCannotKeepInvitedUserAccount = "cannot_keep_invited_user_account"
)
// MembersSendWelcomeError :
@@ -2591,6 +2644,9 @@ type MembersSetProfileArg struct {
// NewPersistentId : New persistent ID. This field only available to teams
// using persistent ID SAML configuration.
NewPersistentId string `json:"new_persistent_id,omitempty"`
+ // NewIsDirectoryRestricted : New value for whether the user is a directory
+ // restricted user.
+ NewIsDirectoryRestricted bool `json:"new_is_directory_restricted,omitempty"`
}
// NewMembersSetProfileArg returns a new MembersSetProfileArg instance
@@ -2617,6 +2673,7 @@ const (
MembersSetProfileErrorParamCannotBeEmpty = "param_cannot_be_empty"
MembersSetProfileErrorPersistentIdDisabled = "persistent_id_disabled"
MembersSetProfileErrorPersistentIdUsedByOtherUser = "persistent_id_used_by_other_user"
+ MembersSetProfileErrorDirectoryRestrictedOff = "directory_restricted_off"
MembersSetProfileErrorOther = "other"
)
@@ -2711,8 +2768,8 @@ type NamespaceMetadata struct {
NamespaceId string `json:"namespace_id"`
// NamespaceType : The type of this namespace.
NamespaceType *NamespaceType `json:"namespace_type"`
- // TeamMemberId : If this is a team member folder, the ID of the team
- // member. Otherwise, this field is not present.
+ // TeamMemberId : If this is a team member or app folder, the ID of the
+ // owning team member. Otherwise, this field is not present.
TeamMemberId string `json:"team_member_id,omitempty"`
}
@@ -3327,6 +3384,9 @@ func (u *TeamFolderArchiveLaunch) UnmarshalJSON(body []byte) error {
type TeamFolderCreateArg struct {
// Name : Name for the new team folder.
Name string `json:"name"`
+ // SyncSetting : The sync setting to apply to this team folder. Only
+ // permitted if the team has team selective sync enabled.
+ SyncSetting *files.SyncSettingArg `json:"sync_setting,omitempty"`
}
// NewTeamFolderCreateArg returns a new TeamFolderCreateArg instance
@@ -3339,6 +3399,8 @@ func NewTeamFolderCreateArg(Name string) *TeamFolderCreateArg {
// TeamFolderCreateError : has no documentation (yet)
type TeamFolderCreateError struct {
dropbox.Tagged
+ // SyncSettingsError : An error occurred setting the sync settings.
+ SyncSettingsError *files.SyncSettingsError `json:"sync_settings_error,omitempty"`
}
// Valid tag values for TeamFolderCreateError
@@ -3346,9 +3408,34 @@ const (
TeamFolderCreateErrorInvalidFolderName = "invalid_folder_name"
TeamFolderCreateErrorFolderNameAlreadyUsed = "folder_name_already_used"
TeamFolderCreateErrorFolderNameReserved = "folder_name_reserved"
+ TeamFolderCreateErrorSyncSettingsError = "sync_settings_error"
TeamFolderCreateErrorOther = "other"
)
+// UnmarshalJSON deserializes into a TeamFolderCreateError instance
+func (u *TeamFolderCreateError) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // SyncSettingsError : An error occurred setting the sync settings.
+ SyncSettingsError json.RawMessage `json:"sync_settings_error,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "sync_settings_error":
+ err = json.Unmarshal(w.SyncSettingsError, &u.SyncSettingsError)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// TeamFolderGetInfoItem : has no documentation (yet)
type TeamFolderGetInfoItem struct {
dropbox.Tagged
@@ -3502,18 +3589,24 @@ type TeamFolderMetadata struct {
Name string `json:"name"`
// Status : The status of the team folder.
Status *TeamFolderStatus `json:"status"`
- // IsTeamSharedDropbox : True if this team folder is the team shared
- // dropbox.
+ // IsTeamSharedDropbox : True if this team folder is a shared team root.
IsTeamSharedDropbox bool `json:"is_team_shared_dropbox"`
+ // SyncSetting : The sync setting applied to this team folder.
+ SyncSetting *files.SyncSetting `json:"sync_setting"`
+ // ContentSyncSettings : Sync settings applied to contents of this team
+ // folder.
+ ContentSyncSettings []*files.ContentSyncSetting `json:"content_sync_settings"`
}
// NewTeamFolderMetadata returns a new TeamFolderMetadata instance
-func NewTeamFolderMetadata(TeamFolderId string, Name string, Status *TeamFolderStatus, IsTeamSharedDropbox bool) *TeamFolderMetadata {
+func NewTeamFolderMetadata(TeamFolderId string, Name string, Status *TeamFolderStatus, IsTeamSharedDropbox bool, SyncSetting *files.SyncSetting, ContentSyncSettings []*files.ContentSyncSetting) *TeamFolderMetadata {
s := new(TeamFolderMetadata)
s.TeamFolderId = TeamFolderId
s.Name = Name
s.Status = Status
s.IsTeamSharedDropbox = IsTeamSharedDropbox
+ s.SyncSetting = SyncSetting
+ s.ContentSyncSettings = ContentSyncSettings
return s
}
@@ -3677,6 +3770,94 @@ const (
TeamFolderTeamSharedDropboxErrorOther = "other"
)
+// TeamFolderUpdateSyncSettingsArg : has no documentation (yet)
+type TeamFolderUpdateSyncSettingsArg struct {
+ TeamFolderIdArg
+ // SyncSetting : Sync setting to apply to the team folder itself. Only
+ // meaningful if the team folder is not a shared team root.
+ SyncSetting *files.SyncSettingArg `json:"sync_setting,omitempty"`
+ // ContentSyncSettings : Sync settings to apply to contents of this team
+ // folder.
+ ContentSyncSettings []*files.ContentSyncSettingArg `json:"content_sync_settings,omitempty"`
+}
+
+// NewTeamFolderUpdateSyncSettingsArg returns a new TeamFolderUpdateSyncSettingsArg instance
+func NewTeamFolderUpdateSyncSettingsArg(TeamFolderId string) *TeamFolderUpdateSyncSettingsArg {
+ s := new(TeamFolderUpdateSyncSettingsArg)
+ s.TeamFolderId = TeamFolderId
+ return s
+}
+
+// TeamFolderUpdateSyncSettingsError : has no documentation (yet)
+type TeamFolderUpdateSyncSettingsError struct {
+ dropbox.Tagged
+ // AccessError : has no documentation (yet)
+ AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
+ // StatusError : has no documentation (yet)
+ StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
+ // TeamSharedDropboxError : has no documentation (yet)
+ TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
+ // SyncSettingsError : An error occurred setting the sync settings.
+ SyncSettingsError *files.SyncSettingsError `json:"sync_settings_error,omitempty"`
+}
+
+// Valid tag values for TeamFolderUpdateSyncSettingsError
+const (
+ TeamFolderUpdateSyncSettingsErrorAccessError = "access_error"
+ TeamFolderUpdateSyncSettingsErrorStatusError = "status_error"
+ TeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError = "team_shared_dropbox_error"
+ TeamFolderUpdateSyncSettingsErrorOther = "other"
+ TeamFolderUpdateSyncSettingsErrorSyncSettingsError = "sync_settings_error"
+)
+
+// UnmarshalJSON deserializes into a TeamFolderUpdateSyncSettingsError instance
+func (u *TeamFolderUpdateSyncSettingsError) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // AccessError : has no documentation (yet)
+ AccessError json.RawMessage `json:"access_error,omitempty"`
+ // StatusError : has no documentation (yet)
+ StatusError json.RawMessage `json:"status_error,omitempty"`
+ // TeamSharedDropboxError : has no documentation (yet)
+ TeamSharedDropboxError json.RawMessage `json:"team_shared_dropbox_error,omitempty"`
+ // SyncSettingsError : An error occurred setting the sync settings.
+ SyncSettingsError json.RawMessage `json:"sync_settings_error,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "access_error":
+ err = json.Unmarshal(w.AccessError, &u.AccessError)
+
+ if err != nil {
+ return err
+ }
+ case "status_error":
+ err = json.Unmarshal(w.StatusError, &u.StatusError)
+
+ if err != nil {
+ return err
+ }
+ case "team_shared_dropbox_error":
+ err = json.Unmarshal(w.TeamSharedDropboxError, &u.TeamSharedDropboxError)
+
+ if err != nil {
+ return err
+ }
+ case "sync_settings_error":
+ err = json.Unmarshal(w.SyncSettingsError, &u.SyncSettingsError)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// TeamGetInfoResult : has no documentation (yet)
type TeamGetInfoResult struct {
// Name : The name of the team.
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common/types.go
index 6239e1300..96e9511d2 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common/types.go
@@ -76,6 +76,19 @@ const (
GroupTypeOther = "other"
)
+// MemberSpaceLimitType : The type of the space limit imposed on a team member.
+type MemberSpaceLimitType struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for MemberSpaceLimitType
+const (
+ MemberSpaceLimitTypeOff = "off"
+ MemberSpaceLimitTypeAlertOnly = "alert_only"
+ MemberSpaceLimitTypeStopSync = "stop_sync"
+ MemberSpaceLimitTypeOther = "other"
+)
+
// TimeRange : Time range.
type TimeRange struct {
// StartTime : Optional starting time (inclusive).
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/client.go
index 108c5dadd..32e7ce9ad 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/client.go
@@ -31,7 +31,14 @@ import (
// Client interface describes all routes in this namespace
type Client interface {
- // GetEvents : Retrieves team events. Permission : Team Auditing.
+ // GetEvents : Retrieves team events. Events have a lifespan of two years.
+ // Events older than two years will not be returned. Many attributes note
+ // 'may be missing due to historical data gap'. Note that the
+ // file_operations category and & analogous paper events are not available
+ // on all Dropbox Business `plans` </business/plans-comparison>. Use
+ // `features/get_values`
+ // </developers/documentation/http/teams#team-features-get_values> to check
+ // for this feature. Permission : Team Auditing.
GetEvents(arg *GetTeamEventsArg) (res *GetTeamEventsResult, err error)
// GetEventsContinue : Once a cursor has been retrieved from `getEvents`,
// use this to paginate through all events. Permission : Team Auditing.
@@ -96,7 +103,7 @@ func (dbx *apiImpl) GetEvents(arg *GetTeamEventsArg) (res *GetTeamEventsResult,
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -165,7 +172,7 @@ func (dbx *apiImpl) GetEventsContinue(arg *GetTeamEventsContinueArg) (res *GetTe
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/types.go
index ccaba7d99..5eaf7b16b 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_log/types.go
@@ -26,6 +26,9 @@ import (
"time"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies"
)
@@ -123,8 +126,8 @@ const (
AccountCaptureAvailabilityOther = "other"
)
-// AccountCaptureChangeAvailabilityDetails : Granted or revoked the option to
-// enable account capture on domains belonging to the team.
+// AccountCaptureChangeAvailabilityDetails : Granted/revoked option to enable
+// account capture on team domains.
type AccountCaptureChangeAvailabilityDetails struct {
// NewValue : New account capture availabilty value.
NewValue *AccountCaptureAvailability `json:"new_value"`
@@ -140,8 +143,21 @@ func NewAccountCaptureChangeAvailabilityDetails(NewValue *AccountCaptureAvailabi
return s
}
-// AccountCaptureChangePolicyDetails : Changed the account capture policy on a
-// domain belonging to the team.
+// AccountCaptureChangeAvailabilityType : has no documentation (yet)
+type AccountCaptureChangeAvailabilityType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAccountCaptureChangeAvailabilityType returns a new AccountCaptureChangeAvailabilityType instance
+func NewAccountCaptureChangeAvailabilityType(Description string) *AccountCaptureChangeAvailabilityType {
+ s := new(AccountCaptureChangeAvailabilityType)
+ s.Description = Description
+ return s
+}
+
+// AccountCaptureChangePolicyDetails : Changed account capture setting on team
+// domain.
type AccountCaptureChangePolicyDetails struct {
// NewValue : New account capture policy.
NewValue *AccountCapturePolicy `json:"new_value"`
@@ -157,8 +173,21 @@ func NewAccountCaptureChangePolicyDetails(NewValue *AccountCapturePolicy) *Accou
return s
}
-// AccountCaptureMigrateAccountDetails : Account captured user migrated their
-// account to the team.
+// AccountCaptureChangePolicyType : has no documentation (yet)
+type AccountCaptureChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAccountCaptureChangePolicyType returns a new AccountCaptureChangePolicyType instance
+func NewAccountCaptureChangePolicyType(Description string) *AccountCaptureChangePolicyType {
+ s := new(AccountCaptureChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// AccountCaptureMigrateAccountDetails : Account-captured user migrated account
+// to team.
type AccountCaptureMigrateAccountDetails struct {
// DomainName : Domain name.
DomainName string `json:"domain_name"`
@@ -171,6 +200,46 @@ func NewAccountCaptureMigrateAccountDetails(DomainName string) *AccountCaptureMi
return s
}
+// AccountCaptureMigrateAccountType : has no documentation (yet)
+type AccountCaptureMigrateAccountType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAccountCaptureMigrateAccountType returns a new AccountCaptureMigrateAccountType instance
+func NewAccountCaptureMigrateAccountType(Description string) *AccountCaptureMigrateAccountType {
+ s := new(AccountCaptureMigrateAccountType)
+ s.Description = Description
+ return s
+}
+
+// AccountCaptureNotificationEmailsSentDetails : Sent proactive account capture
+// email to all unmanaged members.
+type AccountCaptureNotificationEmailsSentDetails struct {
+ // DomainName : Domain name.
+ DomainName string `json:"domain_name"`
+}
+
+// NewAccountCaptureNotificationEmailsSentDetails returns a new AccountCaptureNotificationEmailsSentDetails instance
+func NewAccountCaptureNotificationEmailsSentDetails(DomainName string) *AccountCaptureNotificationEmailsSentDetails {
+ s := new(AccountCaptureNotificationEmailsSentDetails)
+ s.DomainName = DomainName
+ return s
+}
+
+// AccountCaptureNotificationEmailsSentType : has no documentation (yet)
+type AccountCaptureNotificationEmailsSentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAccountCaptureNotificationEmailsSentType returns a new AccountCaptureNotificationEmailsSentType instance
+func NewAccountCaptureNotificationEmailsSentType(Description string) *AccountCaptureNotificationEmailsSentType {
+ s := new(AccountCaptureNotificationEmailsSentType)
+ s.Description = Description
+ return s
+}
+
// AccountCapturePolicy : has no documentation (yet)
type AccountCapturePolicy struct {
dropbox.Tagged
@@ -184,8 +253,8 @@ const (
AccountCapturePolicyOther = "other"
)
-// AccountCaptureRelinquishAccountDetails : Account captured user relinquished
-// their account by changing the email address associated with it.
+// AccountCaptureRelinquishAccountDetails : Account-captured user changed
+// account email to personal email.
type AccountCaptureRelinquishAccountDetails struct {
// DomainName : Domain name.
DomainName string `json:"domain_name"`
@@ -198,6 +267,70 @@ func NewAccountCaptureRelinquishAccountDetails(DomainName string) *AccountCaptur
return s
}
+// AccountCaptureRelinquishAccountType : has no documentation (yet)
+type AccountCaptureRelinquishAccountType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAccountCaptureRelinquishAccountType returns a new AccountCaptureRelinquishAccountType instance
+func NewAccountCaptureRelinquishAccountType(Description string) *AccountCaptureRelinquishAccountType {
+ s := new(AccountCaptureRelinquishAccountType)
+ s.Description = Description
+ return s
+}
+
+// ActionDetails : Additional information indicating the action taken that
+// caused status change.
+type ActionDetails struct {
+ dropbox.Tagged
+ // TeamJoinDetails : Additional information relevant when a new member joins
+ // the team.
+ TeamJoinDetails *JoinTeamDetails `json:"team_join_details,omitempty"`
+ // RemoveAction : Define how the user was removed from the team.
+ RemoveAction *MemberRemoveActionType `json:"remove_action,omitempty"`
+}
+
+// Valid tag values for ActionDetails
+const (
+ ActionDetailsTeamJoinDetails = "team_join_details"
+ ActionDetailsRemoveAction = "remove_action"
+ ActionDetailsOther = "other"
+)
+
+// UnmarshalJSON deserializes into a ActionDetails instance
+func (u *ActionDetails) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // TeamJoinDetails : Additional information relevant when a new member
+ // joins the team.
+ TeamJoinDetails json.RawMessage `json:"team_join_details,omitempty"`
+ // RemoveAction : Define how the user was removed from the team.
+ RemoveAction json.RawMessage `json:"remove_action,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "team_join_details":
+ err = json.Unmarshal(body, &u.TeamJoinDetails)
+
+ if err != nil {
+ return err
+ }
+ case "remove_action":
+ err = json.Unmarshal(w.RemoveAction, &u.RemoveAction)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// ActorLogInfo : The entity who performed the action.
type ActorLogInfo struct {
dropbox.Tagged
@@ -213,12 +346,13 @@ type ActorLogInfo struct {
// Valid tag values for ActorLogInfo
const (
- ActorLogInfoUser = "user"
- ActorLogInfoAdmin = "admin"
- ActorLogInfoApp = "app"
- ActorLogInfoReseller = "reseller"
- ActorLogInfoDropbox = "dropbox"
- ActorLogInfoOther = "other"
+ ActorLogInfoUser = "user"
+ ActorLogInfoAdmin = "admin"
+ ActorLogInfoApp = "app"
+ ActorLogInfoReseller = "reseller"
+ ActorLogInfoDropbox = "dropbox"
+ ActorLogInfoAnonymous = "anonymous"
+ ActorLogInfoOther = "other"
)
// UnmarshalJSON deserializes into a ActorLogInfo instance
@@ -276,15 +410,15 @@ type AdminRole struct {
// Valid tag values for AdminRole
const (
- AdminRoleUser = "user"
- AdminRoleLimitedAdmin = "limited_admin"
- AdminRoleSupportAdmin = "support_admin"
- AdminRoleUserManagementAdmin = "user_management_admin"
AdminRoleTeamAdmin = "team_admin"
+ AdminRoleUserManagementAdmin = "user_management_admin"
+ AdminRoleSupportAdmin = "support_admin"
+ AdminRoleLimitedAdmin = "limited_admin"
+ AdminRoleMemberOnly = "member_only"
AdminRoleOther = "other"
)
-// AllowDownloadDisabledDetails : Disabled allow downloads.
+// AllowDownloadDisabledDetails : Disabled downloads.
type AllowDownloadDisabledDetails struct {
}
@@ -294,7 +428,20 @@ func NewAllowDownloadDisabledDetails() *AllowDownloadDisabledDetails {
return s
}
-// AllowDownloadEnabledDetails : Enabled allow downloads.
+// AllowDownloadDisabledType : has no documentation (yet)
+type AllowDownloadDisabledType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAllowDownloadDisabledType returns a new AllowDownloadDisabledType instance
+func NewAllowDownloadDisabledType(Description string) *AllowDownloadDisabledType {
+ s := new(AllowDownloadDisabledType)
+ s.Description = Description
+ return s
+}
+
+// AllowDownloadEnabledDetails : Enabled downloads.
type AllowDownloadEnabledDetails struct {
}
@@ -304,6 +451,19 @@ func NewAllowDownloadEnabledDetails() *AllowDownloadEnabledDetails {
return s
}
+// AllowDownloadEnabledType : has no documentation (yet)
+type AllowDownloadEnabledType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAllowDownloadEnabledType returns a new AllowDownloadEnabledType instance
+func NewAllowDownloadEnabledType(Description string) *AllowDownloadEnabledType {
+ s := new(AllowDownloadEnabledType)
+ s.Description = Description
+ return s
+}
+
// ApiSessionLogInfo : Api session.
type ApiSessionLogInfo struct {
// RequestId : Api request ID.
@@ -317,7 +477,7 @@ func NewApiSessionLogInfo(RequestId string) *ApiSessionLogInfo {
return s
}
-// AppLinkTeamDetails : Linked an app for team.
+// AppLinkTeamDetails : Linked app for team.
type AppLinkTeamDetails struct {
// AppInfo : Relevant application details.
AppInfo IsAppLogInfo `json:"app_info"`
@@ -330,7 +490,38 @@ func NewAppLinkTeamDetails(AppInfo IsAppLogInfo) *AppLinkTeamDetails {
return s
}
-// AppLinkUserDetails : Linked an app for team member.
+// UnmarshalJSON deserializes into a AppLinkTeamDetails instance
+func (u *AppLinkTeamDetails) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // AppInfo : Relevant application details.
+ AppInfo json.RawMessage `json:"app_info"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ AppInfo, err := IsAppLogInfoFromJSON(w.AppInfo)
+ if err != nil {
+ return err
+ }
+ u.AppInfo = AppInfo
+ return nil
+}
+
+// AppLinkTeamType : has no documentation (yet)
+type AppLinkTeamType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAppLinkTeamType returns a new AppLinkTeamType instance
+func NewAppLinkTeamType(Description string) *AppLinkTeamType {
+ s := new(AppLinkTeamType)
+ s.Description = Description
+ return s
+}
+
+// AppLinkUserDetails : Linked app for member.
type AppLinkUserDetails struct {
// AppInfo : Relevant application details.
AppInfo IsAppLogInfo `json:"app_info"`
@@ -343,6 +534,37 @@ func NewAppLinkUserDetails(AppInfo IsAppLogInfo) *AppLinkUserDetails {
return s
}
+// UnmarshalJSON deserializes into a AppLinkUserDetails instance
+func (u *AppLinkUserDetails) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // AppInfo : Relevant application details.
+ AppInfo json.RawMessage `json:"app_info"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ AppInfo, err := IsAppLogInfoFromJSON(w.AppInfo)
+ if err != nil {
+ return err
+ }
+ u.AppInfo = AppInfo
+ return nil
+}
+
+// AppLinkUserType : has no documentation (yet)
+type AppLinkUserType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAppLinkUserType returns a new AppLinkUserType instance
+func NewAppLinkUserType(Description string) *AppLinkUserType {
+ s := new(AppLinkUserType)
+ s.Description = Description
+ return s
+}
+
// AppLogInfo : App's logged information.
type AppLogInfo struct {
// AppId : App unique ID. Might be missing due to historical data gap.
@@ -443,7 +665,7 @@ func IsAppLogInfoFromJSON(data []byte) (IsAppLogInfo, error) {
return nil, nil
}
-// AppUnlinkTeamDetails : Unlinked an app for team.
+// AppUnlinkTeamDetails : Unlinked app for team.
type AppUnlinkTeamDetails struct {
// AppInfo : Relevant application details.
AppInfo IsAppLogInfo `json:"app_info"`
@@ -456,7 +678,38 @@ func NewAppUnlinkTeamDetails(AppInfo IsAppLogInfo) *AppUnlinkTeamDetails {
return s
}
-// AppUnlinkUserDetails : Unlinked an app for team member.
+// UnmarshalJSON deserializes into a AppUnlinkTeamDetails instance
+func (u *AppUnlinkTeamDetails) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // AppInfo : Relevant application details.
+ AppInfo json.RawMessage `json:"app_info"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ AppInfo, err := IsAppLogInfoFromJSON(w.AppInfo)
+ if err != nil {
+ return err
+ }
+ u.AppInfo = AppInfo
+ return nil
+}
+
+// AppUnlinkTeamType : has no documentation (yet)
+type AppUnlinkTeamType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAppUnlinkTeamType returns a new AppUnlinkTeamType instance
+func NewAppUnlinkTeamType(Description string) *AppUnlinkTeamType {
+ s := new(AppUnlinkTeamType)
+ s.Description = Description
+ return s
+}
+
+// AppUnlinkUserDetails : Unlinked app for member.
type AppUnlinkUserDetails struct {
// AppInfo : Relevant application details.
AppInfo IsAppLogInfo `json:"app_info"`
@@ -469,6 +722,37 @@ func NewAppUnlinkUserDetails(AppInfo IsAppLogInfo) *AppUnlinkUserDetails {
return s
}
+// UnmarshalJSON deserializes into a AppUnlinkUserDetails instance
+func (u *AppUnlinkUserDetails) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // AppInfo : Relevant application details.
+ AppInfo json.RawMessage `json:"app_info"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ AppInfo, err := IsAppLogInfoFromJSON(w.AppInfo)
+ if err != nil {
+ return err
+ }
+ u.AppInfo = AppInfo
+ return nil
+}
+
+// AppUnlinkUserType : has no documentation (yet)
+type AppUnlinkUserType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewAppUnlinkUserType returns a new AppUnlinkUserType instance
+func NewAppUnlinkUserType(Description string) *AppUnlinkUserType {
+ s := new(AppUnlinkUserType)
+ s.Description = Description
+ return s
+}
+
// AssetLogInfo : Asset details.
type AssetLogInfo struct {
dropbox.Tagged
@@ -480,15 +764,18 @@ type AssetLogInfo struct {
PaperDocument *PaperDocumentLogInfo `json:"paper_document,omitempty"`
// PaperFolder : Paper folder's details.
PaperFolder *PaperFolderLogInfo `json:"paper_folder,omitempty"`
+ // ShowcaseDocument : Showcase document's details.
+ ShowcaseDocument *ShowcaseDocumentLogInfo `json:"showcase_document,omitempty"`
}
// Valid tag values for AssetLogInfo
const (
- AssetLogInfoFile = "file"
- AssetLogInfoFolder = "folder"
- AssetLogInfoPaperDocument = "paper_document"
- AssetLogInfoPaperFolder = "paper_folder"
- AssetLogInfoOther = "other"
+ AssetLogInfoFile = "file"
+ AssetLogInfoFolder = "folder"
+ AssetLogInfoPaperDocument = "paper_document"
+ AssetLogInfoPaperFolder = "paper_folder"
+ AssetLogInfoShowcaseDocument = "showcase_document"
+ AssetLogInfoOther = "other"
)
// UnmarshalJSON deserializes into a AssetLogInfo instance
@@ -503,6 +790,8 @@ func (u *AssetLogInfo) UnmarshalJSON(body []byte) error {
PaperDocument json.RawMessage `json:"paper_document,omitempty"`
// PaperFolder : Paper folder's details.
PaperFolder json.RawMessage `json:"paper_folder,omitempty"`
+ // ShowcaseDocument : Showcase document's details.
+ ShowcaseDocument json.RawMessage `json:"showcase_document,omitempty"`
}
var w wrap
var err error
@@ -532,6 +821,12 @@ func (u *AssetLogInfo) UnmarshalJSON(body []byte) error {
case "paper_folder":
err = json.Unmarshal(body, &u.PaperFolder)
+ if err != nil {
+ return err
+ }
+ case "showcase_document":
+ err = json.Unmarshal(body, &u.ShowcaseDocument)
+
if err != nil {
return err
}
@@ -569,7 +864,7 @@ func NewCertificate(Subject string, Issuer string, IssueDate string, ExpirationD
return s
}
-// CollectionShareDetails : Shared an album.
+// CollectionShareDetails : Shared album.
type CollectionShareDetails struct {
// AlbumName : Album name.
AlbumName string `json:"album_name"`
@@ -582,17 +877,18 @@ func NewCollectionShareDetails(AlbumName string) *CollectionShareDetails {
return s
}
-// Confidentiality : has no documentation (yet)
-type Confidentiality struct {
- dropbox.Tagged
+// CollectionShareType : has no documentation (yet)
+type CollectionShareType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for Confidentiality
-const (
- ConfidentialityConfidential = "confidential"
- ConfidentialityNonConfidential = "non_confidential"
- ConfidentialityOther = "other"
-)
+// NewCollectionShareType returns a new CollectionShareType instance
+func NewCollectionShareType(Description string) *CollectionShareType {
+ s := new(CollectionShareType)
+ s.Description = Description
+ return s
+}
// ContentPermanentDeletePolicy : Policy for pemanent content deletion
type ContentPermanentDeletePolicy struct {
@@ -619,6 +915,7 @@ type ContextLogInfo struct {
const (
ContextLogInfoTeamMember = "team_member"
ContextLogInfoNonTeamMember = "non_team_member"
+ ContextLogInfoAnonymous = "anonymous"
ContextLogInfoTeam = "team"
ContextLogInfoOther = "other"
)
@@ -665,8 +962,21 @@ func NewCreateFolderDetails() *CreateFolderDetails {
return s
}
-// DataPlacementRestrictionChangePolicyDetails : Set a restriction policy
-// regarding the location of data centers where team data resides.
+// CreateFolderType : has no documentation (yet)
+type CreateFolderType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewCreateFolderType returns a new CreateFolderType instance
+func NewCreateFolderType(Description string) *CreateFolderType {
+ s := new(CreateFolderType)
+ s.Description = Description
+ return s
+}
+
+// DataPlacementRestrictionChangePolicyDetails : Set restrictions on data center
+// locations where team data resides.
type DataPlacementRestrictionChangePolicyDetails struct {
// PreviousValue : Previous placement restriction.
PreviousValue *PlacementRestriction `json:"previous_value"`
@@ -682,10 +992,21 @@ func NewDataPlacementRestrictionChangePolicyDetails(PreviousValue *PlacementRest
return s
}
-// DataPlacementRestrictionSatisfyPolicyDetails : Satisfied a previously set
-// restriction policy regarding the location of data centers where team data
-// resides (i.e. all data have been migrated according to the restriction
-// placed).
+// DataPlacementRestrictionChangePolicyType : has no documentation (yet)
+type DataPlacementRestrictionChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDataPlacementRestrictionChangePolicyType returns a new DataPlacementRestrictionChangePolicyType instance
+func NewDataPlacementRestrictionChangePolicyType(Description string) *DataPlacementRestrictionChangePolicyType {
+ s := new(DataPlacementRestrictionChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// DataPlacementRestrictionSatisfyPolicyDetails : Completed restrictions on data
+// center locations where team data resides.
type DataPlacementRestrictionSatisfyPolicyDetails struct {
// PlacementRestriction : Placement restriction.
PlacementRestriction *PlacementRestriction `json:"placement_restriction"`
@@ -698,6 +1019,167 @@ func NewDataPlacementRestrictionSatisfyPolicyDetails(PlacementRestriction *Place
return s
}
+// DataPlacementRestrictionSatisfyPolicyType : has no documentation (yet)
+type DataPlacementRestrictionSatisfyPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDataPlacementRestrictionSatisfyPolicyType returns a new DataPlacementRestrictionSatisfyPolicyType instance
+func NewDataPlacementRestrictionSatisfyPolicyType(Description string) *DataPlacementRestrictionSatisfyPolicyType {
+ s := new(DataPlacementRestrictionSatisfyPolicyType)
+ s.Description = Description
+ return s
+}
+
+// DeviceSessionLogInfo : Device's session logged information.
+type DeviceSessionLogInfo struct {
+ // IpAddress : The IP address of the last activity from this session. Might
+ // be missing due to historical data gap.
+ IpAddress string `json:"ip_address,omitempty"`
+ // Created : The time this session was created. Might be missing due to
+ // historical data gap.
+ Created time.Time `json:"created,omitempty"`
+ // Updated : The time of the last activity from this session. Might be
+ // missing due to historical data gap.
+ Updated time.Time `json:"updated,omitempty"`
+}
+
+// NewDeviceSessionLogInfo returns a new DeviceSessionLogInfo instance
+func NewDeviceSessionLogInfo() *DeviceSessionLogInfo {
+ s := new(DeviceSessionLogInfo)
+ return s
+}
+
+// IsDeviceSessionLogInfo is the interface type for DeviceSessionLogInfo and its subtypes
+type IsDeviceSessionLogInfo interface {
+ IsDeviceSessionLogInfo()
+}
+
+// IsDeviceSessionLogInfo implements the IsDeviceSessionLogInfo interface
+func (u *DeviceSessionLogInfo) IsDeviceSessionLogInfo() {}
+
+type deviceSessionLogInfoUnion struct {
+ dropbox.Tagged
+ // DesktopDeviceSession : has no documentation (yet)
+ DesktopDeviceSession *DesktopDeviceSessionLogInfo `json:"desktop_device_session,omitempty"`
+ // MobileDeviceSession : has no documentation (yet)
+ MobileDeviceSession *MobileDeviceSessionLogInfo `json:"mobile_device_session,omitempty"`
+ // WebDeviceSession : has no documentation (yet)
+ WebDeviceSession *WebDeviceSessionLogInfo `json:"web_device_session,omitempty"`
+ // LegacyDeviceSession : has no documentation (yet)
+ LegacyDeviceSession *LegacyDeviceSessionLogInfo `json:"legacy_device_session,omitempty"`
+}
+
+// Valid tag values for DeviceSessionLogInfo
+const (
+ DeviceSessionLogInfoDesktopDeviceSession = "desktop_device_session"
+ DeviceSessionLogInfoMobileDeviceSession = "mobile_device_session"
+ DeviceSessionLogInfoWebDeviceSession = "web_device_session"
+ DeviceSessionLogInfoLegacyDeviceSession = "legacy_device_session"
+)
+
+// UnmarshalJSON deserializes into a deviceSessionLogInfoUnion instance
+func (u *deviceSessionLogInfoUnion) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // DesktopDeviceSession : has no documentation (yet)
+ DesktopDeviceSession json.RawMessage `json:"desktop_device_session,omitempty"`
+ // MobileDeviceSession : has no documentation (yet)
+ MobileDeviceSession json.RawMessage `json:"mobile_device_session,omitempty"`
+ // WebDeviceSession : has no documentation (yet)
+ WebDeviceSession json.RawMessage `json:"web_device_session,omitempty"`
+ // LegacyDeviceSession : has no documentation (yet)
+ LegacyDeviceSession json.RawMessage `json:"legacy_device_session,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "desktop_device_session":
+ err = json.Unmarshal(body, &u.DesktopDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ case "mobile_device_session":
+ err = json.Unmarshal(body, &u.MobileDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ case "web_device_session":
+ err = json.Unmarshal(body, &u.WebDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ case "legacy_device_session":
+ err = json.Unmarshal(body, &u.LegacyDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// IsDeviceSessionLogInfoFromJSON converts JSON to a concrete IsDeviceSessionLogInfo instance
+func IsDeviceSessionLogInfoFromJSON(data []byte) (IsDeviceSessionLogInfo, error) {
+ var t deviceSessionLogInfoUnion
+ if err := json.Unmarshal(data, &t); err != nil {
+ return nil, err
+ }
+ switch t.Tag {
+ case "desktop_device_session":
+ return t.DesktopDeviceSession, nil
+
+ case "mobile_device_session":
+ return t.MobileDeviceSession, nil
+
+ case "web_device_session":
+ return t.WebDeviceSession, nil
+
+ case "legacy_device_session":
+ return t.LegacyDeviceSession, nil
+
+ }
+ return nil, nil
+}
+
+// DesktopDeviceSessionLogInfo : Information about linked Dropbox desktop client
+// sessions
+type DesktopDeviceSessionLogInfo struct {
+ DeviceSessionLogInfo
+ // SessionInfo : Desktop session unique id. Might be missing due to
+ // historical data gap.
+ SessionInfo *DesktopSessionLogInfo `json:"session_info,omitempty"`
+ // HostName : Name of the hosting desktop.
+ HostName string `json:"host_name"`
+ // ClientType : The Dropbox desktop client type.
+ ClientType *team.DesktopPlatform `json:"client_type"`
+ // ClientVersion : The Dropbox client version.
+ ClientVersion string `json:"client_version,omitempty"`
+ // Platform : Information on the hosting platform.
+ Platform string `json:"platform"`
+ // IsDeleteOnUnlinkSupported : Whether itu2019s possible to delete all of
+ // the account files upon unlinking.
+ IsDeleteOnUnlinkSupported bool `json:"is_delete_on_unlink_supported"`
+}
+
+// NewDesktopDeviceSessionLogInfo returns a new DesktopDeviceSessionLogInfo instance
+func NewDesktopDeviceSessionLogInfo(HostName string, ClientType *team.DesktopPlatform, Platform string, IsDeleteOnUnlinkSupported bool) *DesktopDeviceSessionLogInfo {
+ s := new(DesktopDeviceSessionLogInfo)
+ s.HostName = HostName
+ s.ClientType = ClientType
+ s.Platform = Platform
+ s.IsDeleteOnUnlinkSupported = IsDeleteOnUnlinkSupported
+ return s
+}
+
// SessionLogInfo : Session's logged information.
type SessionLogInfo struct {
// SessionId : Session ID. Might be missing due to historical data gap.
@@ -806,8 +1288,8 @@ func NewDesktopSessionLogInfo() *DesktopSessionLogInfo {
return s
}
-// DeviceApprovalsChangeDesktopPolicyDetails : Set or removed a limit on the
-// number of computers each team member can link to their work Dropbox account.
+// DeviceApprovalsChangeDesktopPolicyDetails : Set/removed limit on number of
+// computers member can link to team Dropbox account.
type DeviceApprovalsChangeDesktopPolicyDetails struct {
// NewValue : New desktop device approvals policy. Might be missing due to
// historical data gap.
@@ -823,9 +1305,21 @@ func NewDeviceApprovalsChangeDesktopPolicyDetails() *DeviceApprovalsChangeDeskto
return s
}
-// DeviceApprovalsChangeMobilePolicyDetails : Set or removed a limit on the
-// number of mobiles devices each team member can link to their work Dropbox
-// account.
+// DeviceApprovalsChangeDesktopPolicyType : has no documentation (yet)
+type DeviceApprovalsChangeDesktopPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceApprovalsChangeDesktopPolicyType returns a new DeviceApprovalsChangeDesktopPolicyType instance
+func NewDeviceApprovalsChangeDesktopPolicyType(Description string) *DeviceApprovalsChangeDesktopPolicyType {
+ s := new(DeviceApprovalsChangeDesktopPolicyType)
+ s.Description = Description
+ return s
+}
+
+// DeviceApprovalsChangeMobilePolicyDetails : Set/removed limit on number of
+// mobile devices member can link to team Dropbox account.
type DeviceApprovalsChangeMobilePolicyDetails struct {
// NewValue : New mobile device approvals policy. Might be missing due to
// historical data gap.
@@ -841,9 +1335,21 @@ func NewDeviceApprovalsChangeMobilePolicyDetails() *DeviceApprovalsChangeMobileP
return s
}
-// DeviceApprovalsChangeOverageActionDetails : Changed the action taken when a
-// team member is already over the limits (e.g when they join the team, an admin
-// lowers limits, etc.).
+// DeviceApprovalsChangeMobilePolicyType : has no documentation (yet)
+type DeviceApprovalsChangeMobilePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceApprovalsChangeMobilePolicyType returns a new DeviceApprovalsChangeMobilePolicyType instance
+func NewDeviceApprovalsChangeMobilePolicyType(Description string) *DeviceApprovalsChangeMobilePolicyType {
+ s := new(DeviceApprovalsChangeMobilePolicyType)
+ s.Description = Description
+ return s
+}
+
+// DeviceApprovalsChangeOverageActionDetails : Changed device approvals setting
+// when member is over limit.
type DeviceApprovalsChangeOverageActionDetails struct {
// NewValue : New over the limits policy. Might be missing due to historical
// data gap.
@@ -859,8 +1365,21 @@ func NewDeviceApprovalsChangeOverageActionDetails() *DeviceApprovalsChangeOverag
return s
}
-// DeviceApprovalsChangeUnlinkActionDetails : Changed the action taken with
-// respect to approval limits when a team member unlinks an approved device.
+// DeviceApprovalsChangeOverageActionType : has no documentation (yet)
+type DeviceApprovalsChangeOverageActionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceApprovalsChangeOverageActionType returns a new DeviceApprovalsChangeOverageActionType instance
+func NewDeviceApprovalsChangeOverageActionType(Description string) *DeviceApprovalsChangeOverageActionType {
+ s := new(DeviceApprovalsChangeOverageActionType)
+ s.Description = Description
+ return s
+}
+
+// DeviceApprovalsChangeUnlinkActionDetails : Changed device approvals setting
+// when member unlinks approved device.
type DeviceApprovalsChangeUnlinkActionDetails struct {
// NewValue : New device unlink policy. Might be missing due to historical
// data gap.
@@ -876,6 +1395,19 @@ func NewDeviceApprovalsChangeUnlinkActionDetails() *DeviceApprovalsChangeUnlinkA
return s
}
+// DeviceApprovalsChangeUnlinkActionType : has no documentation (yet)
+type DeviceApprovalsChangeUnlinkActionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceApprovalsChangeUnlinkActionType returns a new DeviceApprovalsChangeUnlinkActionType instance
+func NewDeviceApprovalsChangeUnlinkActionType(Description string) *DeviceApprovalsChangeUnlinkActionType {
+ s := new(DeviceApprovalsChangeUnlinkActionType)
+ s.Description = Description
+ return s
+}
+
// DeviceApprovalsPolicy : has no documentation (yet)
type DeviceApprovalsPolicy struct {
dropbox.Tagged
@@ -888,40 +1420,80 @@ const (
DeviceApprovalsPolicyOther = "other"
)
-// DeviceChangeIpDesktopDetails : IP address associated with active desktop
-// session changed.
+// DeviceChangeIpDesktopDetails : Changed IP address associated with active
+// desktop session.
type DeviceChangeIpDesktopDetails struct {
- // DeviceInfo : Device information.
- DeviceInfo *DeviceLogInfo `json:"device_info"`
+ // DeviceSessionInfo : Device's session logged information.
+ DeviceSessionInfo IsDeviceSessionLogInfo `json:"device_session_info"`
}
// NewDeviceChangeIpDesktopDetails returns a new DeviceChangeIpDesktopDetails instance
-func NewDeviceChangeIpDesktopDetails(DeviceInfo *DeviceLogInfo) *DeviceChangeIpDesktopDetails {
+func NewDeviceChangeIpDesktopDetails(DeviceSessionInfo IsDeviceSessionLogInfo) *DeviceChangeIpDesktopDetails {
s := new(DeviceChangeIpDesktopDetails)
- s.DeviceInfo = DeviceInfo
- return s
-}
-
-// DeviceChangeIpMobileDetails : IP address associated with active mobile
-// session changed.
-type DeviceChangeIpMobileDetails struct {
- // DeviceInfo : Device information.
- DeviceInfo *DeviceLogInfo `json:"device_info"`
-}
-
-// NewDeviceChangeIpMobileDetails returns a new DeviceChangeIpMobileDetails instance
-func NewDeviceChangeIpMobileDetails(DeviceInfo *DeviceLogInfo) *DeviceChangeIpMobileDetails {
- s := new(DeviceChangeIpMobileDetails)
- s.DeviceInfo = DeviceInfo
+ s.DeviceSessionInfo = DeviceSessionInfo
return s
}
-// DeviceChangeIpWebDetails : IP address associated with active Web session
-// changed.
+// UnmarshalJSON deserializes into a DeviceChangeIpDesktopDetails instance
+func (u *DeviceChangeIpDesktopDetails) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // DeviceSessionInfo : Device's session logged information.
+ DeviceSessionInfo json.RawMessage `json:"device_session_info"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ DeviceSessionInfo, err := IsDeviceSessionLogInfoFromJSON(w.DeviceSessionInfo)
+ if err != nil {
+ return err
+ }
+ u.DeviceSessionInfo = DeviceSessionInfo
+ return nil
+}
+
+// DeviceChangeIpDesktopType : has no documentation (yet)
+type DeviceChangeIpDesktopType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceChangeIpDesktopType returns a new DeviceChangeIpDesktopType instance
+func NewDeviceChangeIpDesktopType(Description string) *DeviceChangeIpDesktopType {
+ s := new(DeviceChangeIpDesktopType)
+ s.Description = Description
+ return s
+}
+
+// DeviceChangeIpMobileDetails : Changed IP address associated with active
+// mobile session.
+type DeviceChangeIpMobileDetails struct {
+ // DeviceSessionInfo : Device's session logged information.
+ DeviceSessionInfo IsDeviceSessionLogInfo `json:"device_session_info,omitempty"`
+}
+
+// NewDeviceChangeIpMobileDetails returns a new DeviceChangeIpMobileDetails instance
+func NewDeviceChangeIpMobileDetails() *DeviceChangeIpMobileDetails {
+ s := new(DeviceChangeIpMobileDetails)
+ return s
+}
+
+// DeviceChangeIpMobileType : has no documentation (yet)
+type DeviceChangeIpMobileType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceChangeIpMobileType returns a new DeviceChangeIpMobileType instance
+func NewDeviceChangeIpMobileType(Description string) *DeviceChangeIpMobileType {
+ s := new(DeviceChangeIpMobileType)
+ s.Description = Description
+ return s
+}
+
+// DeviceChangeIpWebDetails : Changed IP address associated with active web
+// session.
type DeviceChangeIpWebDetails struct {
- // DeviceInfo : Device information. Might be missing due to historical data
- // gap.
- DeviceInfo *DeviceLogInfo `json:"device_info,omitempty"`
// UserAgent : Web browser name.
UserAgent string `json:"user_agent"`
}
@@ -933,42 +1505,85 @@ func NewDeviceChangeIpWebDetails(UserAgent string) *DeviceChangeIpWebDetails {
return s
}
-// DeviceDeleteOnUnlinkFailDetails : Failed to delete all files from an unlinked
+// DeviceChangeIpWebType : has no documentation (yet)
+type DeviceChangeIpWebType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceChangeIpWebType returns a new DeviceChangeIpWebType instance
+func NewDeviceChangeIpWebType(Description string) *DeviceChangeIpWebType {
+ s := new(DeviceChangeIpWebType)
+ s.Description = Description
+ return s
+}
+
+// DeviceDeleteOnUnlinkFailDetails : Failed to delete all files from unlinked
// device.
type DeviceDeleteOnUnlinkFailDetails struct {
- // DeviceInfo : Device information.
- DeviceInfo *DeviceLogInfo `json:"device_info"`
+ // SessionInfo : Session unique id. Might be missing due to historical data
+ // gap.
+ SessionInfo IsSessionLogInfo `json:"session_info,omitempty"`
+ // DisplayName : The device name. Might be missing due to historical data
+ // gap.
+ DisplayName string `json:"display_name,omitempty"`
// NumFailures : The number of times that remote file deletion failed.
NumFailures int64 `json:"num_failures"`
}
// NewDeviceDeleteOnUnlinkFailDetails returns a new DeviceDeleteOnUnlinkFailDetails instance
-func NewDeviceDeleteOnUnlinkFailDetails(DeviceInfo *DeviceLogInfo, NumFailures int64) *DeviceDeleteOnUnlinkFailDetails {
+func NewDeviceDeleteOnUnlinkFailDetails(NumFailures int64) *DeviceDeleteOnUnlinkFailDetails {
s := new(DeviceDeleteOnUnlinkFailDetails)
- s.DeviceInfo = DeviceInfo
s.NumFailures = NumFailures
return s
}
-// DeviceDeleteOnUnlinkSuccessDetails : Deleted all files from an unlinked
-// device.
+// DeviceDeleteOnUnlinkFailType : has no documentation (yet)
+type DeviceDeleteOnUnlinkFailType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceDeleteOnUnlinkFailType returns a new DeviceDeleteOnUnlinkFailType instance
+func NewDeviceDeleteOnUnlinkFailType(Description string) *DeviceDeleteOnUnlinkFailType {
+ s := new(DeviceDeleteOnUnlinkFailType)
+ s.Description = Description
+ return s
+}
+
+// DeviceDeleteOnUnlinkSuccessDetails : Deleted all files from unlinked device.
type DeviceDeleteOnUnlinkSuccessDetails struct {
- // DeviceInfo : Device information.
- DeviceInfo *DeviceLogInfo `json:"device_info"`
+ // SessionInfo : Session unique id. Might be missing due to historical data
+ // gap.
+ SessionInfo IsSessionLogInfo `json:"session_info,omitempty"`
+ // DisplayName : The device name. Might be missing due to historical data
+ // gap.
+ DisplayName string `json:"display_name,omitempty"`
}
// NewDeviceDeleteOnUnlinkSuccessDetails returns a new DeviceDeleteOnUnlinkSuccessDetails instance
-func NewDeviceDeleteOnUnlinkSuccessDetails(DeviceInfo *DeviceLogInfo) *DeviceDeleteOnUnlinkSuccessDetails {
+func NewDeviceDeleteOnUnlinkSuccessDetails() *DeviceDeleteOnUnlinkSuccessDetails {
s := new(DeviceDeleteOnUnlinkSuccessDetails)
- s.DeviceInfo = DeviceInfo
return s
}
-// DeviceLinkFailDetails : Failed to link a device.
+// DeviceDeleteOnUnlinkSuccessType : has no documentation (yet)
+type DeviceDeleteOnUnlinkSuccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceDeleteOnUnlinkSuccessType returns a new DeviceDeleteOnUnlinkSuccessType instance
+func NewDeviceDeleteOnUnlinkSuccessType(Description string) *DeviceDeleteOnUnlinkSuccessType {
+ s := new(DeviceDeleteOnUnlinkSuccessType)
+ s.Description = Description
+ return s
+}
+
+// DeviceLinkFailDetails : Failed to link device.
type DeviceLinkFailDetails struct {
- // DeviceInfo : Device information. Might be missing due to historical data
- // gap.
- DeviceInfo *DeviceLogInfo `json:"device_info,omitempty"`
+ // IpAddress : IP address. Might be missing due to historical data gap.
+ IpAddress string `json:"ip_address,omitempty"`
// DeviceType : A description of the device used while user approval
// blocked.
DeviceType *DeviceType `json:"device_type"`
@@ -981,57 +1596,45 @@ func NewDeviceLinkFailDetails(DeviceType *DeviceType) *DeviceLinkFailDetails {
return s
}
-// DeviceLinkSuccessDetails : Linked a device.
+// DeviceLinkFailType : has no documentation (yet)
+type DeviceLinkFailType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceLinkFailType returns a new DeviceLinkFailType instance
+func NewDeviceLinkFailType(Description string) *DeviceLinkFailType {
+ s := new(DeviceLinkFailType)
+ s.Description = Description
+ return s
+}
+
+// DeviceLinkSuccessDetails : Linked device.
type DeviceLinkSuccessDetails struct {
- // DeviceInfo : Device information.
- DeviceInfo *DeviceLogInfo `json:"device_info"`
+ // DeviceSessionInfo : Device's session logged information.
+ DeviceSessionInfo IsDeviceSessionLogInfo `json:"device_session_info,omitempty"`
}
// NewDeviceLinkSuccessDetails returns a new DeviceLinkSuccessDetails instance
-func NewDeviceLinkSuccessDetails(DeviceInfo *DeviceLogInfo) *DeviceLinkSuccessDetails {
+func NewDeviceLinkSuccessDetails() *DeviceLinkSuccessDetails {
s := new(DeviceLinkSuccessDetails)
- s.DeviceInfo = DeviceInfo
return s
}
-// DeviceLogInfo : Device's logged information.
-type DeviceLogInfo struct {
- // DeviceId : Device unique id. Might be missing due to historical data gap.
- DeviceId string `json:"device_id,omitempty"`
- // DisplayName : Device display name. Might be missing due to historical
- // data gap.
- DisplayName string `json:"display_name,omitempty"`
- // IsEmmManaged : True if this device is emm managed, false otherwise. Might
- // be missing due to historical data gap.
- IsEmmManaged bool `json:"is_emm_managed,omitempty"`
- // Platform : Device platform name. Might be missing due to historical data
- // gap.
- Platform string `json:"platform,omitempty"`
- // MacAddress : Device mac address. Might be missing due to historical data
- // gap.
- MacAddress string `json:"mac_address,omitempty"`
- // OsVersion : Device OS version. Might be missing due to historical data
- // gap.
- OsVersion string `json:"os_version,omitempty"`
- // DeviceType : Device type. Might be missing due to historical data gap.
- DeviceType string `json:"device_type,omitempty"`
- // IpAddress : IP address. Might be missing due to historical data gap.
- IpAddress string `json:"ip_address,omitempty"`
- // LastActivity : Last activity. Might be missing due to historical data
- // gap.
- LastActivity string `json:"last_activity,omitempty"`
- // AppVersion : Linking app version. Might be missing due to historical data
- // gap.
- AppVersion string `json:"app_version,omitempty"`
+// DeviceLinkSuccessType : has no documentation (yet)
+type DeviceLinkSuccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewDeviceLogInfo returns a new DeviceLogInfo instance
-func NewDeviceLogInfo() *DeviceLogInfo {
- s := new(DeviceLogInfo)
+// NewDeviceLinkSuccessType returns a new DeviceLinkSuccessType instance
+func NewDeviceLinkSuccessType(Description string) *DeviceLinkSuccessType {
+ s := new(DeviceLinkSuccessType)
+ s.Description = Description
return s
}
-// DeviceManagementDisabledDetails : Disable Device Management.
+// DeviceManagementDisabledDetails : Disabled device management.
type DeviceManagementDisabledDetails struct {
}
@@ -1041,7 +1644,20 @@ func NewDeviceManagementDisabledDetails() *DeviceManagementDisabledDetails {
return s
}
-// DeviceManagementEnabledDetails : Enable Device Management.
+// DeviceManagementDisabledType : has no documentation (yet)
+type DeviceManagementDisabledType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceManagementDisabledType returns a new DeviceManagementDisabledType instance
+func NewDeviceManagementDisabledType(Description string) *DeviceManagementDisabledType {
+ s := new(DeviceManagementDisabledType)
+ s.Description = Description
+ return s
+}
+
+// DeviceManagementEnabledDetails : Enabled device management.
type DeviceManagementEnabledDetails struct {
}
@@ -1051,6 +1667,19 @@ func NewDeviceManagementEnabledDetails() *DeviceManagementEnabledDetails {
return s
}
+// DeviceManagementEnabledType : has no documentation (yet)
+type DeviceManagementEnabledType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceManagementEnabledType returns a new DeviceManagementEnabledType instance
+func NewDeviceManagementEnabledType(Description string) *DeviceManagementEnabledType {
+ s := new(DeviceManagementEnabledType)
+ s.Description = Description
+ return s
+}
+
// DeviceType : has no documentation (yet)
type DeviceType struct {
dropbox.Tagged
@@ -1063,19 +1692,21 @@ const (
DeviceTypeOther = "other"
)
-// DeviceUnlinkDetails : Disconnected a device.
+// DeviceUnlinkDetails : Disconnected device.
type DeviceUnlinkDetails struct {
- // DeviceInfo : Device information.
- DeviceInfo *DeviceLogInfo `json:"device_info"`
+ // SessionInfo : Session unique id.
+ SessionInfo IsSessionLogInfo `json:"session_info,omitempty"`
+ // DisplayName : The device name. Might be missing due to historical data
+ // gap.
+ DisplayName string `json:"display_name,omitempty"`
// DeleteData : True if the user requested to delete data after device
// unlink, false otherwise.
DeleteData bool `json:"delete_data"`
}
// NewDeviceUnlinkDetails returns a new DeviceUnlinkDetails instance
-func NewDeviceUnlinkDetails(DeviceInfo *DeviceLogInfo, DeleteData bool) *DeviceUnlinkDetails {
+func NewDeviceUnlinkDetails(DeleteData bool) *DeviceUnlinkDetails {
s := new(DeviceUnlinkDetails)
- s.DeviceInfo = DeviceInfo
s.DeleteData = DeleteData
return s
}
@@ -1092,6 +1723,67 @@ const (
DeviceUnlinkPolicyOther = "other"
)
+// DeviceUnlinkType : has no documentation (yet)
+type DeviceUnlinkType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDeviceUnlinkType returns a new DeviceUnlinkType instance
+func NewDeviceUnlinkType(Description string) *DeviceUnlinkType {
+ s := new(DeviceUnlinkType)
+ s.Description = Description
+ return s
+}
+
+// DirectoryRestrictionsAddMembersDetails : Added members to directory
+// restrictions list.
+type DirectoryRestrictionsAddMembersDetails struct {
+}
+
+// NewDirectoryRestrictionsAddMembersDetails returns a new DirectoryRestrictionsAddMembersDetails instance
+func NewDirectoryRestrictionsAddMembersDetails() *DirectoryRestrictionsAddMembersDetails {
+ s := new(DirectoryRestrictionsAddMembersDetails)
+ return s
+}
+
+// DirectoryRestrictionsAddMembersType : has no documentation (yet)
+type DirectoryRestrictionsAddMembersType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDirectoryRestrictionsAddMembersType returns a new DirectoryRestrictionsAddMembersType instance
+func NewDirectoryRestrictionsAddMembersType(Description string) *DirectoryRestrictionsAddMembersType {
+ s := new(DirectoryRestrictionsAddMembersType)
+ s.Description = Description
+ return s
+}
+
+// DirectoryRestrictionsRemoveMembersDetails : Removed members from directory
+// restrictions list.
+type DirectoryRestrictionsRemoveMembersDetails struct {
+}
+
+// NewDirectoryRestrictionsRemoveMembersDetails returns a new DirectoryRestrictionsRemoveMembersDetails instance
+func NewDirectoryRestrictionsRemoveMembersDetails() *DirectoryRestrictionsRemoveMembersDetails {
+ s := new(DirectoryRestrictionsRemoveMembersDetails)
+ return s
+}
+
+// DirectoryRestrictionsRemoveMembersType : has no documentation (yet)
+type DirectoryRestrictionsRemoveMembersType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDirectoryRestrictionsRemoveMembersType returns a new DirectoryRestrictionsRemoveMembersType instance
+func NewDirectoryRestrictionsRemoveMembersType(Description string) *DirectoryRestrictionsRemoveMembersType {
+ s := new(DirectoryRestrictionsRemoveMembersType)
+ s.Description = Description
+ return s
+}
+
// DisabledDomainInvitesDetails : Disabled domain invites.
type DisabledDomainInvitesDetails struct {
}
@@ -1102,8 +1794,21 @@ func NewDisabledDomainInvitesDetails() *DisabledDomainInvitesDetails {
return s
}
-// DomainInvitesApproveRequestToJoinTeamDetails : Approved a member's request to
-// join the team.
+// DisabledDomainInvitesType : has no documentation (yet)
+type DisabledDomainInvitesType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDisabledDomainInvitesType returns a new DisabledDomainInvitesType instance
+func NewDisabledDomainInvitesType(Description string) *DisabledDomainInvitesType {
+ s := new(DisabledDomainInvitesType)
+ s.Description = Description
+ return s
+}
+
+// DomainInvitesApproveRequestToJoinTeamDetails : Approved user's request to
+// join team.
type DomainInvitesApproveRequestToJoinTeamDetails struct {
}
@@ -1113,8 +1818,21 @@ func NewDomainInvitesApproveRequestToJoinTeamDetails() *DomainInvitesApproveRequ
return s
}
-// DomainInvitesDeclineRequestToJoinTeamDetails : Declined a user's request to
-// join the team.
+// DomainInvitesApproveRequestToJoinTeamType : has no documentation (yet)
+type DomainInvitesApproveRequestToJoinTeamType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainInvitesApproveRequestToJoinTeamType returns a new DomainInvitesApproveRequestToJoinTeamType instance
+func NewDomainInvitesApproveRequestToJoinTeamType(Description string) *DomainInvitesApproveRequestToJoinTeamType {
+ s := new(DomainInvitesApproveRequestToJoinTeamType)
+ s.Description = Description
+ return s
+}
+
+// DomainInvitesDeclineRequestToJoinTeamDetails : Declined user's request to
+// join team.
type DomainInvitesDeclineRequestToJoinTeamDetails struct {
}
@@ -1124,24 +1842,50 @@ func NewDomainInvitesDeclineRequestToJoinTeamDetails() *DomainInvitesDeclineRequ
return s
}
+// DomainInvitesDeclineRequestToJoinTeamType : has no documentation (yet)
+type DomainInvitesDeclineRequestToJoinTeamType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainInvitesDeclineRequestToJoinTeamType returns a new DomainInvitesDeclineRequestToJoinTeamType instance
+func NewDomainInvitesDeclineRequestToJoinTeamType(Description string) *DomainInvitesDeclineRequestToJoinTeamType {
+ s := new(DomainInvitesDeclineRequestToJoinTeamType)
+ s.Description = Description
+ return s
+}
+
// DomainInvitesEmailExistingUsersDetails : Sent domain invites to existing
// domain accounts.
type DomainInvitesEmailExistingUsersDetails struct {
// DomainName : Domain names.
- DomainName []string `json:"domain_name"`
+ DomainName string `json:"domain_name"`
// NumRecipients : Number of recipients.
NumRecipients uint64 `json:"num_recipients"`
}
// NewDomainInvitesEmailExistingUsersDetails returns a new DomainInvitesEmailExistingUsersDetails instance
-func NewDomainInvitesEmailExistingUsersDetails(DomainName []string, NumRecipients uint64) *DomainInvitesEmailExistingUsersDetails {
+func NewDomainInvitesEmailExistingUsersDetails(DomainName string, NumRecipients uint64) *DomainInvitesEmailExistingUsersDetails {
s := new(DomainInvitesEmailExistingUsersDetails)
s.DomainName = DomainName
s.NumRecipients = NumRecipients
return s
}
-// DomainInvitesRequestToJoinTeamDetails : Asked to join the team.
+// DomainInvitesEmailExistingUsersType : has no documentation (yet)
+type DomainInvitesEmailExistingUsersType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainInvitesEmailExistingUsersType returns a new DomainInvitesEmailExistingUsersType instance
+func NewDomainInvitesEmailExistingUsersType(Description string) *DomainInvitesEmailExistingUsersType {
+ s := new(DomainInvitesEmailExistingUsersType)
+ s.Description = Description
+ return s
+}
+
+// DomainInvitesRequestToJoinTeamDetails : Requested to join team.
type DomainInvitesRequestToJoinTeamDetails struct {
}
@@ -1151,8 +1895,21 @@ func NewDomainInvitesRequestToJoinTeamDetails() *DomainInvitesRequestToJoinTeamD
return s
}
-// DomainInvitesSetInviteNewUserPrefToNoDetails : Turned off u201cAutomatically
-// invite new usersu201d.
+// DomainInvitesRequestToJoinTeamType : has no documentation (yet)
+type DomainInvitesRequestToJoinTeamType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainInvitesRequestToJoinTeamType returns a new DomainInvitesRequestToJoinTeamType instance
+func NewDomainInvitesRequestToJoinTeamType(Description string) *DomainInvitesRequestToJoinTeamType {
+ s := new(DomainInvitesRequestToJoinTeamType)
+ s.Description = Description
+ return s
+}
+
+// DomainInvitesSetInviteNewUserPrefToNoDetails : Disabled "Automatically invite
+// new users".
type DomainInvitesSetInviteNewUserPrefToNoDetails struct {
}
@@ -1162,8 +1919,21 @@ func NewDomainInvitesSetInviteNewUserPrefToNoDetails() *DomainInvitesSetInviteNe
return s
}
-// DomainInvitesSetInviteNewUserPrefToYesDetails : Turned on u201cAutomatically
-// invite new usersu201d.
+// DomainInvitesSetInviteNewUserPrefToNoType : has no documentation (yet)
+type DomainInvitesSetInviteNewUserPrefToNoType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainInvitesSetInviteNewUserPrefToNoType returns a new DomainInvitesSetInviteNewUserPrefToNoType instance
+func NewDomainInvitesSetInviteNewUserPrefToNoType(Description string) *DomainInvitesSetInviteNewUserPrefToNoType {
+ s := new(DomainInvitesSetInviteNewUserPrefToNoType)
+ s.Description = Description
+ return s
+}
+
+// DomainInvitesSetInviteNewUserPrefToYesDetails : Enabled "Automatically invite
+// new users".
type DomainInvitesSetInviteNewUserPrefToYesDetails struct {
}
@@ -1173,8 +1943,20 @@ func NewDomainInvitesSetInviteNewUserPrefToYesDetails() *DomainInvitesSetInviteN
return s
}
-// DomainVerificationAddDomainFailDetails : Failed to verify a domain belonging
-// to the team.
+// DomainInvitesSetInviteNewUserPrefToYesType : has no documentation (yet)
+type DomainInvitesSetInviteNewUserPrefToYesType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainInvitesSetInviteNewUserPrefToYesType returns a new DomainInvitesSetInviteNewUserPrefToYesType instance
+func NewDomainInvitesSetInviteNewUserPrefToYesType(Description string) *DomainInvitesSetInviteNewUserPrefToYesType {
+ s := new(DomainInvitesSetInviteNewUserPrefToYesType)
+ s.Description = Description
+ return s
+}
+
+// DomainVerificationAddDomainFailDetails : Failed to verify team domain.
type DomainVerificationAddDomainFailDetails struct {
// DomainName : Domain name.
DomainName string `json:"domain_name"`
@@ -1190,8 +1972,20 @@ func NewDomainVerificationAddDomainFailDetails(DomainName string) *DomainVerific
return s
}
-// DomainVerificationAddDomainSuccessDetails : Verified a domain belonging to
-// the team.
+// DomainVerificationAddDomainFailType : has no documentation (yet)
+type DomainVerificationAddDomainFailType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainVerificationAddDomainFailType returns a new DomainVerificationAddDomainFailType instance
+func NewDomainVerificationAddDomainFailType(Description string) *DomainVerificationAddDomainFailType {
+ s := new(DomainVerificationAddDomainFailType)
+ s.Description = Description
+ return s
+}
+
+// DomainVerificationAddDomainSuccessDetails : Verified team domain.
type DomainVerificationAddDomainSuccessDetails struct {
// DomainNames : Domain names.
DomainNames []string `json:"domain_names"`
@@ -1207,8 +2001,21 @@ func NewDomainVerificationAddDomainSuccessDetails(DomainNames []string) *DomainV
return s
}
-// DomainVerificationRemoveDomainDetails : Removed a domain from the list of
-// verified domains belonging to the team.
+// DomainVerificationAddDomainSuccessType : has no documentation (yet)
+type DomainVerificationAddDomainSuccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainVerificationAddDomainSuccessType returns a new DomainVerificationAddDomainSuccessType instance
+func NewDomainVerificationAddDomainSuccessType(Description string) *DomainVerificationAddDomainSuccessType {
+ s := new(DomainVerificationAddDomainSuccessType)
+ s.Description = Description
+ return s
+}
+
+// DomainVerificationRemoveDomainDetails : Removed domain from list of verified
+// team domains.
type DomainVerificationRemoveDomainDetails struct {
// DomainNames : Domain names.
DomainNames []string `json:"domain_names"`
@@ -1221,6 +2028,31 @@ func NewDomainVerificationRemoveDomainDetails(DomainNames []string) *DomainVerif
return s
}
+// DomainVerificationRemoveDomainType : has no documentation (yet)
+type DomainVerificationRemoveDomainType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewDomainVerificationRemoveDomainType returns a new DomainVerificationRemoveDomainType instance
+func NewDomainVerificationRemoveDomainType(Description string) *DomainVerificationRemoveDomainType {
+ s := new(DomainVerificationRemoveDomainType)
+ s.Description = Description
+ return s
+}
+
+// DownloadPolicyType : Shared content downloads policy
+type DownloadPolicyType struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for DownloadPolicyType
+const (
+ DownloadPolicyTypeAllow = "allow"
+ DownloadPolicyTypeDisallow = "disallow"
+ DownloadPolicyTypeOther = "other"
+)
+
// DurationLogInfo : Represents a time duration: unit and amount
type DurationLogInfo struct {
// Unit : Time unit.
@@ -1237,8 +2069,7 @@ func NewDurationLogInfo(Unit *TimeUnit, Amount uint64) *DurationLogInfo {
return s
}
-// EmmAddExceptionDetails : Added an exception for one or more team members to
-// optionally use the regular Dropbox app when EMM is enabled.
+// EmmAddExceptionDetails : Added members to EMM exception list.
type EmmAddExceptionDetails struct {
}
@@ -1248,8 +2079,21 @@ func NewEmmAddExceptionDetails() *EmmAddExceptionDetails {
return s
}
-// EmmChangePolicyDetails : Enabled or disabled enterprise mobility management
-// for team members.
+// EmmAddExceptionType : has no documentation (yet)
+type EmmAddExceptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmAddExceptionType returns a new EmmAddExceptionType instance
+func NewEmmAddExceptionType(Description string) *EmmAddExceptionType {
+ s := new(EmmAddExceptionType)
+ s.Description = Description
+ return s
+}
+
+// EmmChangePolicyDetails : Enabled/disabled enterprise mobility management for
+// members.
type EmmChangePolicyDetails struct {
// NewValue : New enterprise mobility management policy.
NewValue *team_policies.EmmState `json:"new_value"`
@@ -1265,7 +2109,20 @@ func NewEmmChangePolicyDetails(NewValue *team_policies.EmmState) *EmmChangePolic
return s
}
-// EmmCreateExceptionsReportDetails : EMM excluded users report created.
+// EmmChangePolicyType : has no documentation (yet)
+type EmmChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmChangePolicyType returns a new EmmChangePolicyType instance
+func NewEmmChangePolicyType(Description string) *EmmChangePolicyType {
+ s := new(EmmChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// EmmCreateExceptionsReportDetails : Created EMM-excluded users report.
type EmmCreateExceptionsReportDetails struct {
}
@@ -1275,7 +2132,20 @@ func NewEmmCreateExceptionsReportDetails() *EmmCreateExceptionsReportDetails {
return s
}
-// EmmCreateUsageReportDetails : EMM mobile app usage report created.
+// EmmCreateExceptionsReportType : has no documentation (yet)
+type EmmCreateExceptionsReportType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmCreateExceptionsReportType returns a new EmmCreateExceptionsReportType instance
+func NewEmmCreateExceptionsReportType(Description string) *EmmCreateExceptionsReportType {
+ s := new(EmmCreateExceptionsReportType)
+ s.Description = Description
+ return s
+}
+
+// EmmCreateUsageReportDetails : Created EMM mobile app usage report.
type EmmCreateUsageReportDetails struct {
}
@@ -1285,6 +2155,19 @@ func NewEmmCreateUsageReportDetails() *EmmCreateUsageReportDetails {
return s
}
+// EmmCreateUsageReportType : has no documentation (yet)
+type EmmCreateUsageReportType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmCreateUsageReportType returns a new EmmCreateUsageReportType instance
+func NewEmmCreateUsageReportType(Description string) *EmmCreateUsageReportType {
+ s := new(EmmCreateUsageReportType)
+ s.Description = Description
+ return s
+}
+
// EmmErrorDetails : Failed to sign in via EMM.
type EmmErrorDetails struct {
// ErrorDetails : Error details.
@@ -1298,7 +2181,20 @@ func NewEmmErrorDetails(ErrorDetails *FailureDetailsLogInfo) *EmmErrorDetails {
return s
}
-// EmmRefreshAuthTokenDetails : Refreshed the auth token used for setting up
+// EmmErrorType : has no documentation (yet)
+type EmmErrorType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmErrorType returns a new EmmErrorType instance
+func NewEmmErrorType(Description string) *EmmErrorType {
+ s := new(EmmErrorType)
+ s.Description = Description
+ return s
+}
+
+// EmmRefreshAuthTokenDetails : Refreshed auth token used for setting up
// enterprise mobility management.
type EmmRefreshAuthTokenDetails struct {
}
@@ -1309,8 +2205,20 @@ func NewEmmRefreshAuthTokenDetails() *EmmRefreshAuthTokenDetails {
return s
}
-// EmmRemoveExceptionDetails : Removed an exception for one or more team members
-// to optionally use the regular Dropbox app when EMM is enabled.
+// EmmRefreshAuthTokenType : has no documentation (yet)
+type EmmRefreshAuthTokenType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmRefreshAuthTokenType returns a new EmmRefreshAuthTokenType instance
+func NewEmmRefreshAuthTokenType(Description string) *EmmRefreshAuthTokenType {
+ s := new(EmmRefreshAuthTokenType)
+ s.Description = Description
+ return s
+}
+
+// EmmRemoveExceptionDetails : Removed members from EMM exception list.
type EmmRemoveExceptionDetails struct {
}
@@ -1320,6 +2228,19 @@ func NewEmmRemoveExceptionDetails() *EmmRemoveExceptionDetails {
return s
}
+// EmmRemoveExceptionType : has no documentation (yet)
+type EmmRemoveExceptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEmmRemoveExceptionType returns a new EmmRemoveExceptionType instance
+func NewEmmRemoveExceptionType(Description string) *EmmRemoveExceptionType {
+ s := new(EmmRemoveExceptionType)
+ s.Description = Description
+ return s
+}
+
// EnabledDomainInvitesDetails : Enabled domain invites.
type EnabledDomainInvitesDetails struct {
}
@@ -1330,6 +2251,19 @@ func NewEnabledDomainInvitesDetails() *EnabledDomainInvitesDetails {
return s
}
+// EnabledDomainInvitesType : has no documentation (yet)
+type EnabledDomainInvitesType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewEnabledDomainInvitesType returns a new EnabledDomainInvitesType instance
+func NewEnabledDomainInvitesType(Description string) *EnabledDomainInvitesType {
+ s := new(EnabledDomainInvitesType)
+ s.Description = Description
+ return s
+}
+
// EventCategory : Category of events in event audit log.
type EventCategory struct {
dropbox.Tagged
@@ -1337,718 +2271,645 @@ type EventCategory struct {
// Valid tag values for EventCategory
const (
- EventCategoryAccountCapture = "account_capture"
- EventCategoryAdministration = "administration"
- EventCategoryApps = "apps"
- EventCategoryAuthentication = "authentication"
- EventCategoryComments = "comments"
- EventCategoryContentAccess = "content_access"
- EventCategoryDevices = "devices"
- EventCategoryDeviceApprovals = "device_approvals"
- EventCategoryDomains = "domains"
- EventCategoryEmm = "emm"
- EventCategoryErrors = "errors"
- EventCategoryFiles = "files"
- EventCategoryFileOperations = "file_operations"
- EventCategoryFileRequests = "file_requests"
- EventCategoryGroups = "groups"
- EventCategoryLogins = "logins"
- EventCategoryMembers = "members"
- EventCategoryPaper = "paper"
- EventCategoryPasswords = "passwords"
- EventCategoryReports = "reports"
- EventCategorySessions = "sessions"
- EventCategorySharedFiles = "shared_files"
- EventCategorySharedFolders = "shared_folders"
- EventCategorySharedLinks = "shared_links"
- EventCategorySharing = "sharing"
- EventCategorySharingPolicies = "sharing_policies"
- EventCategorySso = "sso"
- EventCategoryTeamFolders = "team_folders"
- EventCategoryTeamPolicies = "team_policies"
- EventCategoryTeamProfile = "team_profile"
- EventCategoryTfa = "tfa"
- EventCategoryOther = "other"
+ EventCategoryApps = "apps"
+ EventCategoryComments = "comments"
+ EventCategoryDevices = "devices"
+ EventCategoryDomains = "domains"
+ EventCategoryFileOperations = "file_operations"
+ EventCategoryFileRequests = "file_requests"
+ EventCategoryGroups = "groups"
+ EventCategoryLogins = "logins"
+ EventCategoryMembers = "members"
+ EventCategoryPaper = "paper"
+ EventCategoryPasswords = "passwords"
+ EventCategoryReports = "reports"
+ EventCategorySharing = "sharing"
+ EventCategoryShowcase = "showcase"
+ EventCategorySso = "sso"
+ EventCategoryTeamFolders = "team_folders"
+ EventCategoryTeamPolicies = "team_policies"
+ EventCategoryTeamProfile = "team_profile"
+ EventCategoryTfa = "tfa"
+ EventCategoryOther = "other"
)
// EventDetails : Additional fields depending on the event type.
type EventDetails struct {
dropbox.Tagged
- // MemberChangeMembershipTypeDetails : Changed the membership type (limited
- // vs full) for team member.
- MemberChangeMembershipTypeDetails *MemberChangeMembershipTypeDetails `json:"member_change_membership_type_details,omitempty"`
- // MemberPermanentlyDeleteAccountContentsDetails : Permanently deleted
- // contents of a removed team member account.
- MemberPermanentlyDeleteAccountContentsDetails *MemberPermanentlyDeleteAccountContentsDetails `json:"member_permanently_delete_account_contents_details,omitempty"`
- // MemberSpaceLimitsChangeStatusDetails : Changed the status with respect to
- // whether the team member is under or over storage quota specified by
- // policy.
- MemberSpaceLimitsChangeStatusDetails *MemberSpaceLimitsChangeStatusDetails `json:"member_space_limits_change_status_details,omitempty"`
- // MemberTransferAccountContentsDetails : Transferred contents of a removed
- // team member account to another member.
- MemberTransferAccountContentsDetails *MemberTransferAccountContentsDetails `json:"member_transfer_account_contents_details,omitempty"`
- // PaperAdminExportStartDetails : Exported all Paper documents in the team.
- PaperAdminExportStartDetails *PaperAdminExportStartDetails `json:"paper_admin_export_start_details,omitempty"`
- // PaperEnabledUsersGroupAdditionDetails : Users added to Paper enabled
- // users list.
- PaperEnabledUsersGroupAdditionDetails *PaperEnabledUsersGroupAdditionDetails `json:"paper_enabled_users_group_addition_details,omitempty"`
- // PaperEnabledUsersGroupRemovalDetails : Users removed from Paper enabled
- // users list.
- PaperEnabledUsersGroupRemovalDetails *PaperEnabledUsersGroupRemovalDetails `json:"paper_enabled_users_group_removal_details,omitempty"`
- // PaperExternalViewAllowDetails : Paper external sharing policy changed:
- // anyone.
- PaperExternalViewAllowDetails *PaperExternalViewAllowDetails `json:"paper_external_view_allow_details,omitempty"`
- // PaperExternalViewDefaultTeamDetails : Paper external sharing policy
- // changed: default team.
- PaperExternalViewDefaultTeamDetails *PaperExternalViewDefaultTeamDetails `json:"paper_external_view_default_team_details,omitempty"`
- // PaperExternalViewForbidDetails : Paper external sharing policy changed:
- // team-only.
- PaperExternalViewForbidDetails *PaperExternalViewForbidDetails `json:"paper_external_view_forbid_details,omitempty"`
- // SfExternalInviteWarnDetails : Admin settings: team members see a warning
- // before sharing folders outside the team (DEPRECATED FEATURE).
- SfExternalInviteWarnDetails *SfExternalInviteWarnDetails `json:"sf_external_invite_warn_details,omitempty"`
- // TeamMergeFromDetails : Merged another team into this team.
- TeamMergeFromDetails *TeamMergeFromDetails `json:"team_merge_from_details,omitempty"`
- // TeamMergeToDetails : Merged this team into another team.
- TeamMergeToDetails *TeamMergeToDetails `json:"team_merge_to_details,omitempty"`
- // AppLinkTeamDetails : Linked an app for team.
+ // AppLinkTeamDetails : has no documentation (yet)
AppLinkTeamDetails *AppLinkTeamDetails `json:"app_link_team_details,omitempty"`
- // AppLinkUserDetails : Linked an app for team member.
+ // AppLinkUserDetails : has no documentation (yet)
AppLinkUserDetails *AppLinkUserDetails `json:"app_link_user_details,omitempty"`
- // AppUnlinkTeamDetails : Unlinked an app for team.
+ // AppUnlinkTeamDetails : has no documentation (yet)
AppUnlinkTeamDetails *AppUnlinkTeamDetails `json:"app_unlink_team_details,omitempty"`
- // AppUnlinkUserDetails : Unlinked an app for team member.
+ // AppUnlinkUserDetails : has no documentation (yet)
AppUnlinkUserDetails *AppUnlinkUserDetails `json:"app_unlink_user_details,omitempty"`
- // FileAddCommentDetails : Added a file comment.
+ // FileAddCommentDetails : has no documentation (yet)
FileAddCommentDetails *FileAddCommentDetails `json:"file_add_comment_details,omitempty"`
- // FileChangeCommentSubscriptionDetails : Subscribed to or unsubscribed from
- // comment notifications for file.
+ // FileChangeCommentSubscriptionDetails : has no documentation (yet)
FileChangeCommentSubscriptionDetails *FileChangeCommentSubscriptionDetails `json:"file_change_comment_subscription_details,omitempty"`
- // FileDeleteCommentDetails : Deleted a file comment.
+ // FileDeleteCommentDetails : has no documentation (yet)
FileDeleteCommentDetails *FileDeleteCommentDetails `json:"file_delete_comment_details,omitempty"`
- // FileLikeCommentDetails : Liked a file comment.
+ // FileLikeCommentDetails : has no documentation (yet)
FileLikeCommentDetails *FileLikeCommentDetails `json:"file_like_comment_details,omitempty"`
- // FileResolveCommentDetails : Resolved a file comment.
+ // FileResolveCommentDetails : has no documentation (yet)
FileResolveCommentDetails *FileResolveCommentDetails `json:"file_resolve_comment_details,omitempty"`
- // FileUnlikeCommentDetails : Unliked a file comment.
+ // FileUnlikeCommentDetails : has no documentation (yet)
FileUnlikeCommentDetails *FileUnlikeCommentDetails `json:"file_unlike_comment_details,omitempty"`
- // FileUnresolveCommentDetails : Unresolved a file comment.
+ // FileUnresolveCommentDetails : has no documentation (yet)
FileUnresolveCommentDetails *FileUnresolveCommentDetails `json:"file_unresolve_comment_details,omitempty"`
- // DeviceChangeIpDesktopDetails : IP address associated with active desktop
- // session changed.
+ // DeviceChangeIpDesktopDetails : has no documentation (yet)
DeviceChangeIpDesktopDetails *DeviceChangeIpDesktopDetails `json:"device_change_ip_desktop_details,omitempty"`
- // DeviceChangeIpMobileDetails : IP address associated with active mobile
- // session changed.
+ // DeviceChangeIpMobileDetails : has no documentation (yet)
DeviceChangeIpMobileDetails *DeviceChangeIpMobileDetails `json:"device_change_ip_mobile_details,omitempty"`
- // DeviceChangeIpWebDetails : IP address associated with active Web session
- // changed.
+ // DeviceChangeIpWebDetails : has no documentation (yet)
DeviceChangeIpWebDetails *DeviceChangeIpWebDetails `json:"device_change_ip_web_details,omitempty"`
- // DeviceDeleteOnUnlinkFailDetails : Failed to delete all files from an
- // unlinked device.
+ // DeviceDeleteOnUnlinkFailDetails : has no documentation (yet)
DeviceDeleteOnUnlinkFailDetails *DeviceDeleteOnUnlinkFailDetails `json:"device_delete_on_unlink_fail_details,omitempty"`
- // DeviceDeleteOnUnlinkSuccessDetails : Deleted all files from an unlinked
- // device.
+ // DeviceDeleteOnUnlinkSuccessDetails : has no documentation (yet)
DeviceDeleteOnUnlinkSuccessDetails *DeviceDeleteOnUnlinkSuccessDetails `json:"device_delete_on_unlink_success_details,omitempty"`
- // DeviceLinkFailDetails : Failed to link a device.
+ // DeviceLinkFailDetails : has no documentation (yet)
DeviceLinkFailDetails *DeviceLinkFailDetails `json:"device_link_fail_details,omitempty"`
- // DeviceLinkSuccessDetails : Linked a device.
+ // DeviceLinkSuccessDetails : has no documentation (yet)
DeviceLinkSuccessDetails *DeviceLinkSuccessDetails `json:"device_link_success_details,omitempty"`
- // DeviceManagementDisabledDetails : Disable Device Management.
+ // DeviceManagementDisabledDetails : has no documentation (yet)
DeviceManagementDisabledDetails *DeviceManagementDisabledDetails `json:"device_management_disabled_details,omitempty"`
- // DeviceManagementEnabledDetails : Enable Device Management.
+ // DeviceManagementEnabledDetails : has no documentation (yet)
DeviceManagementEnabledDetails *DeviceManagementEnabledDetails `json:"device_management_enabled_details,omitempty"`
- // DeviceUnlinkDetails : Disconnected a device.
+ // DeviceUnlinkDetails : has no documentation (yet)
DeviceUnlinkDetails *DeviceUnlinkDetails `json:"device_unlink_details,omitempty"`
- // EmmRefreshAuthTokenDetails : Refreshed the auth token used for setting up
- // enterprise mobility management.
+ // EmmRefreshAuthTokenDetails : has no documentation (yet)
EmmRefreshAuthTokenDetails *EmmRefreshAuthTokenDetails `json:"emm_refresh_auth_token_details,omitempty"`
- // AccountCaptureChangeAvailabilityDetails : Granted or revoked the option
- // to enable account capture on domains belonging to the team.
+ // AccountCaptureChangeAvailabilityDetails : has no documentation (yet)
AccountCaptureChangeAvailabilityDetails *AccountCaptureChangeAvailabilityDetails `json:"account_capture_change_availability_details,omitempty"`
- // AccountCaptureMigrateAccountDetails : Account captured user migrated
- // their account to the team.
+ // AccountCaptureMigrateAccountDetails : has no documentation (yet)
AccountCaptureMigrateAccountDetails *AccountCaptureMigrateAccountDetails `json:"account_capture_migrate_account_details,omitempty"`
- // AccountCaptureRelinquishAccountDetails : Account captured user
- // relinquished their account by changing the email address associated with
- // it.
+ // AccountCaptureNotificationEmailsSentDetails : has no documentation (yet)
+ AccountCaptureNotificationEmailsSentDetails *AccountCaptureNotificationEmailsSentDetails `json:"account_capture_notification_emails_sent_details,omitempty"`
+ // AccountCaptureRelinquishAccountDetails : has no documentation (yet)
AccountCaptureRelinquishAccountDetails *AccountCaptureRelinquishAccountDetails `json:"account_capture_relinquish_account_details,omitempty"`
- // DisabledDomainInvitesDetails : Disabled domain invites.
+ // DisabledDomainInvitesDetails : has no documentation (yet)
DisabledDomainInvitesDetails *DisabledDomainInvitesDetails `json:"disabled_domain_invites_details,omitempty"`
- // DomainInvitesApproveRequestToJoinTeamDetails : Approved a member's
- // request to join the team.
+ // DomainInvitesApproveRequestToJoinTeamDetails : has no documentation (yet)
DomainInvitesApproveRequestToJoinTeamDetails *DomainInvitesApproveRequestToJoinTeamDetails `json:"domain_invites_approve_request_to_join_team_details,omitempty"`
- // DomainInvitesDeclineRequestToJoinTeamDetails : Declined a user's request
- // to join the team.
+ // DomainInvitesDeclineRequestToJoinTeamDetails : has no documentation (yet)
DomainInvitesDeclineRequestToJoinTeamDetails *DomainInvitesDeclineRequestToJoinTeamDetails `json:"domain_invites_decline_request_to_join_team_details,omitempty"`
- // DomainInvitesEmailExistingUsersDetails : Sent domain invites to existing
- // domain accounts.
+ // DomainInvitesEmailExistingUsersDetails : has no documentation (yet)
DomainInvitesEmailExistingUsersDetails *DomainInvitesEmailExistingUsersDetails `json:"domain_invites_email_existing_users_details,omitempty"`
- // DomainInvitesRequestToJoinTeamDetails : Asked to join the team.
+ // DomainInvitesRequestToJoinTeamDetails : has no documentation (yet)
DomainInvitesRequestToJoinTeamDetails *DomainInvitesRequestToJoinTeamDetails `json:"domain_invites_request_to_join_team_details,omitempty"`
- // DomainInvitesSetInviteNewUserPrefToNoDetails : Turned off
- // u201cAutomatically invite new usersu201d.
+ // DomainInvitesSetInviteNewUserPrefToNoDetails : has no documentation (yet)
DomainInvitesSetInviteNewUserPrefToNoDetails *DomainInvitesSetInviteNewUserPrefToNoDetails `json:"domain_invites_set_invite_new_user_pref_to_no_details,omitempty"`
- // DomainInvitesSetInviteNewUserPrefToYesDetails : Turned on
- // u201cAutomatically invite new usersu201d.
+ // DomainInvitesSetInviteNewUserPrefToYesDetails : has no documentation
+ // (yet)
DomainInvitesSetInviteNewUserPrefToYesDetails *DomainInvitesSetInviteNewUserPrefToYesDetails `json:"domain_invites_set_invite_new_user_pref_to_yes_details,omitempty"`
- // DomainVerificationAddDomainFailDetails : Failed to verify a domain
- // belonging to the team.
+ // DomainVerificationAddDomainFailDetails : has no documentation (yet)
DomainVerificationAddDomainFailDetails *DomainVerificationAddDomainFailDetails `json:"domain_verification_add_domain_fail_details,omitempty"`
- // DomainVerificationAddDomainSuccessDetails : Verified a domain belonging
- // to the team.
+ // DomainVerificationAddDomainSuccessDetails : has no documentation (yet)
DomainVerificationAddDomainSuccessDetails *DomainVerificationAddDomainSuccessDetails `json:"domain_verification_add_domain_success_details,omitempty"`
- // DomainVerificationRemoveDomainDetails : Removed a domain from the list of
- // verified domains belonging to the team.
+ // DomainVerificationRemoveDomainDetails : has no documentation (yet)
DomainVerificationRemoveDomainDetails *DomainVerificationRemoveDomainDetails `json:"domain_verification_remove_domain_details,omitempty"`
- // EnabledDomainInvitesDetails : Enabled domain invites.
+ // EnabledDomainInvitesDetails : has no documentation (yet)
EnabledDomainInvitesDetails *EnabledDomainInvitesDetails `json:"enabled_domain_invites_details,omitempty"`
- // CreateFolderDetails : Created folders.
+ // CreateFolderDetails : has no documentation (yet)
CreateFolderDetails *CreateFolderDetails `json:"create_folder_details,omitempty"`
- // FileAddDetails : Added files and/or folders.
+ // FileAddDetails : has no documentation (yet)
FileAddDetails *FileAddDetails `json:"file_add_details,omitempty"`
- // FileCopyDetails : Copied files and/or folders.
+ // FileCopyDetails : has no documentation (yet)
FileCopyDetails *FileCopyDetails `json:"file_copy_details,omitempty"`
- // FileDeleteDetails : Deleted files and/or folders.
+ // FileDeleteDetails : has no documentation (yet)
FileDeleteDetails *FileDeleteDetails `json:"file_delete_details,omitempty"`
- // FileDownloadDetails : Downloaded files and/or folders.
+ // FileDownloadDetails : has no documentation (yet)
FileDownloadDetails *FileDownloadDetails `json:"file_download_details,omitempty"`
- // FileEditDetails : Edited files.
+ // FileEditDetails : has no documentation (yet)
FileEditDetails *FileEditDetails `json:"file_edit_details,omitempty"`
- // FileGetCopyReferenceDetails : Create a copy reference to a file or
- // folder.
+ // FileGetCopyReferenceDetails : has no documentation (yet)
FileGetCopyReferenceDetails *FileGetCopyReferenceDetails `json:"file_get_copy_reference_details,omitempty"`
- // FileMoveDetails : Moved files and/or folders.
+ // FileMoveDetails : has no documentation (yet)
FileMoveDetails *FileMoveDetails `json:"file_move_details,omitempty"`
- // FilePermanentlyDeleteDetails : Permanently deleted files and/or folders.
+ // FilePermanentlyDeleteDetails : has no documentation (yet)
FilePermanentlyDeleteDetails *FilePermanentlyDeleteDetails `json:"file_permanently_delete_details,omitempty"`
- // FilePreviewDetails : Previewed files and/or folders.
+ // FilePreviewDetails : has no documentation (yet)
FilePreviewDetails *FilePreviewDetails `json:"file_preview_details,omitempty"`
- // FileRenameDetails : Renamed files and/or folders.
+ // FileRenameDetails : has no documentation (yet)
FileRenameDetails *FileRenameDetails `json:"file_rename_details,omitempty"`
- // FileRestoreDetails : Restored deleted files and/or folders.
+ // FileRestoreDetails : has no documentation (yet)
FileRestoreDetails *FileRestoreDetails `json:"file_restore_details,omitempty"`
- // FileRevertDetails : Reverted files to a previous version.
+ // FileRevertDetails : has no documentation (yet)
FileRevertDetails *FileRevertDetails `json:"file_revert_details,omitempty"`
- // FileRollbackChangesDetails : Rolled back file change location changes.
+ // FileRollbackChangesDetails : has no documentation (yet)
FileRollbackChangesDetails *FileRollbackChangesDetails `json:"file_rollback_changes_details,omitempty"`
- // FileSaveCopyReferenceDetails : Save a file or folder using a copy
- // reference.
+ // FileSaveCopyReferenceDetails : has no documentation (yet)
FileSaveCopyReferenceDetails *FileSaveCopyReferenceDetails `json:"file_save_copy_reference_details,omitempty"`
- // FileRequestAddDeadlineDetails : Added a deadline to a file request.
- FileRequestAddDeadlineDetails *FileRequestAddDeadlineDetails `json:"file_request_add_deadline_details,omitempty"`
- // FileRequestChangeDetails : Change a file request.
+ // FileRequestChangeDetails : has no documentation (yet)
FileRequestChangeDetails *FileRequestChangeDetails `json:"file_request_change_details,omitempty"`
- // FileRequestChangeFolderDetails : Changed the file request folder.
- FileRequestChangeFolderDetails *FileRequestChangeFolderDetails `json:"file_request_change_folder_details,omitempty"`
- // FileRequestCloseDetails : Closed a file request.
+ // FileRequestCloseDetails : has no documentation (yet)
FileRequestCloseDetails *FileRequestCloseDetails `json:"file_request_close_details,omitempty"`
- // FileRequestCreateDetails : Created a file request.
+ // FileRequestCreateDetails : has no documentation (yet)
FileRequestCreateDetails *FileRequestCreateDetails `json:"file_request_create_details,omitempty"`
- // FileRequestReceiveFileDetails : Received files for a file request.
+ // FileRequestReceiveFileDetails : has no documentation (yet)
FileRequestReceiveFileDetails *FileRequestReceiveFileDetails `json:"file_request_receive_file_details,omitempty"`
- // FileRequestRemoveDeadlineDetails : Removed the file request deadline.
- FileRequestRemoveDeadlineDetails *FileRequestRemoveDeadlineDetails `json:"file_request_remove_deadline_details,omitempty"`
- // FileRequestSendDetails : Sent file request to users via email.
- FileRequestSendDetails *FileRequestSendDetails `json:"file_request_send_details,omitempty"`
- // GroupAddExternalIdDetails : Added an external ID for group.
+ // GroupAddExternalIdDetails : has no documentation (yet)
GroupAddExternalIdDetails *GroupAddExternalIdDetails `json:"group_add_external_id_details,omitempty"`
- // GroupAddMemberDetails : Added team members to a group.
+ // GroupAddMemberDetails : has no documentation (yet)
GroupAddMemberDetails *GroupAddMemberDetails `json:"group_add_member_details,omitempty"`
- // GroupChangeExternalIdDetails : Changed the external ID for group.
+ // GroupChangeExternalIdDetails : has no documentation (yet)
GroupChangeExternalIdDetails *GroupChangeExternalIdDetails `json:"group_change_external_id_details,omitempty"`
- // GroupChangeManagementTypeDetails : Changed group management type.
+ // GroupChangeManagementTypeDetails : has no documentation (yet)
GroupChangeManagementTypeDetails *GroupChangeManagementTypeDetails `json:"group_change_management_type_details,omitempty"`
- // GroupChangeMemberRoleDetails : Changed the manager permissions belonging
- // to a group member.
+ // GroupChangeMemberRoleDetails : has no documentation (yet)
GroupChangeMemberRoleDetails *GroupChangeMemberRoleDetails `json:"group_change_member_role_details,omitempty"`
- // GroupCreateDetails : Created a group.
+ // GroupCreateDetails : has no documentation (yet)
GroupCreateDetails *GroupCreateDetails `json:"group_create_details,omitempty"`
- // GroupDeleteDetails : Deleted a group.
+ // GroupDeleteDetails : has no documentation (yet)
GroupDeleteDetails *GroupDeleteDetails `json:"group_delete_details,omitempty"`
- // GroupMovedDetails : Moved a group.
+ // GroupDescriptionUpdatedDetails : has no documentation (yet)
+ GroupDescriptionUpdatedDetails *GroupDescriptionUpdatedDetails `json:"group_description_updated_details,omitempty"`
+ // GroupJoinPolicyUpdatedDetails : has no documentation (yet)
+ GroupJoinPolicyUpdatedDetails *GroupJoinPolicyUpdatedDetails `json:"group_join_policy_updated_details,omitempty"`
+ // GroupMovedDetails : has no documentation (yet)
GroupMovedDetails *GroupMovedDetails `json:"group_moved_details,omitempty"`
- // GroupRemoveExternalIdDetails : Removed the external ID for group.
+ // GroupRemoveExternalIdDetails : has no documentation (yet)
GroupRemoveExternalIdDetails *GroupRemoveExternalIdDetails `json:"group_remove_external_id_details,omitempty"`
- // GroupRemoveMemberDetails : Removed team members from a group.
+ // GroupRemoveMemberDetails : has no documentation (yet)
GroupRemoveMemberDetails *GroupRemoveMemberDetails `json:"group_remove_member_details,omitempty"`
- // GroupRenameDetails : Renamed a group.
+ // GroupRenameDetails : has no documentation (yet)
GroupRenameDetails *GroupRenameDetails `json:"group_rename_details,omitempty"`
- // EmmErrorDetails : Failed to sign in via EMM.
+ // EmmErrorDetails : has no documentation (yet)
EmmErrorDetails *EmmErrorDetails `json:"emm_error_details,omitempty"`
- // LoginFailDetails : Failed to sign in.
+ // LoginFailDetails : has no documentation (yet)
LoginFailDetails *LoginFailDetails `json:"login_fail_details,omitempty"`
- // LoginSuccessDetails : Signed in.
+ // LoginSuccessDetails : has no documentation (yet)
LoginSuccessDetails *LoginSuccessDetails `json:"login_success_details,omitempty"`
- // LogoutDetails : Signed out.
+ // LogoutDetails : has no documentation (yet)
LogoutDetails *LogoutDetails `json:"logout_details,omitempty"`
- // ResellerSupportSessionEndDetails : Ended reseller support session.
+ // ResellerSupportSessionEndDetails : has no documentation (yet)
ResellerSupportSessionEndDetails *ResellerSupportSessionEndDetails `json:"reseller_support_session_end_details,omitempty"`
- // ResellerSupportSessionStartDetails : Started reseller support session.
+ // ResellerSupportSessionStartDetails : has no documentation (yet)
ResellerSupportSessionStartDetails *ResellerSupportSessionStartDetails `json:"reseller_support_session_start_details,omitempty"`
- // SignInAsSessionEndDetails : Ended admin sign-in-as session.
+ // SignInAsSessionEndDetails : has no documentation (yet)
SignInAsSessionEndDetails *SignInAsSessionEndDetails `json:"sign_in_as_session_end_details,omitempty"`
- // SignInAsSessionStartDetails : Started admin sign-in-as session.
+ // SignInAsSessionStartDetails : has no documentation (yet)
SignInAsSessionStartDetails *SignInAsSessionStartDetails `json:"sign_in_as_session_start_details,omitempty"`
- // SsoErrorDetails : Failed to sign in via SSO.
+ // SsoErrorDetails : has no documentation (yet)
SsoErrorDetails *SsoErrorDetails `json:"sso_error_details,omitempty"`
- // MemberAddNameDetails : Set team member name when joining team.
+ // MemberAddNameDetails : has no documentation (yet)
MemberAddNameDetails *MemberAddNameDetails `json:"member_add_name_details,omitempty"`
- // MemberChangeAdminRoleDetails : Change the admin role belonging to team
- // member.
+ // MemberChangeAdminRoleDetails : has no documentation (yet)
MemberChangeAdminRoleDetails *MemberChangeAdminRoleDetails `json:"member_change_admin_role_details,omitempty"`
- // MemberChangeEmailDetails : Changed team member email address.
+ // MemberChangeEmailDetails : has no documentation (yet)
MemberChangeEmailDetails *MemberChangeEmailDetails `json:"member_change_email_details,omitempty"`
- // MemberChangeNameDetails : Changed team member name.
+ // MemberChangeMembershipTypeDetails : has no documentation (yet)
+ MemberChangeMembershipTypeDetails *MemberChangeMembershipTypeDetails `json:"member_change_membership_type_details,omitempty"`
+ // MemberChangeNameDetails : has no documentation (yet)
MemberChangeNameDetails *MemberChangeNameDetails `json:"member_change_name_details,omitempty"`
- // MemberChangeStatusDetails : Changed the membership status of a team
- // member.
+ // MemberChangeStatusDetails : has no documentation (yet)
MemberChangeStatusDetails *MemberChangeStatusDetails `json:"member_change_status_details,omitempty"`
- // MemberSuggestDetails : Suggested a new team member to be added to the
- // team.
+ // MemberPermanentlyDeleteAccountContentsDetails : has no documentation
+ // (yet)
+ MemberPermanentlyDeleteAccountContentsDetails *MemberPermanentlyDeleteAccountContentsDetails `json:"member_permanently_delete_account_contents_details,omitempty"`
+ // MemberSpaceLimitsAddCustomQuotaDetails : has no documentation (yet)
+ MemberSpaceLimitsAddCustomQuotaDetails *MemberSpaceLimitsAddCustomQuotaDetails `json:"member_space_limits_add_custom_quota_details,omitempty"`
+ // MemberSpaceLimitsChangeCustomQuotaDetails : has no documentation (yet)
+ MemberSpaceLimitsChangeCustomQuotaDetails *MemberSpaceLimitsChangeCustomQuotaDetails `json:"member_space_limits_change_custom_quota_details,omitempty"`
+ // MemberSpaceLimitsChangeStatusDetails : has no documentation (yet)
+ MemberSpaceLimitsChangeStatusDetails *MemberSpaceLimitsChangeStatusDetails `json:"member_space_limits_change_status_details,omitempty"`
+ // MemberSpaceLimitsRemoveCustomQuotaDetails : has no documentation (yet)
+ MemberSpaceLimitsRemoveCustomQuotaDetails *MemberSpaceLimitsRemoveCustomQuotaDetails `json:"member_space_limits_remove_custom_quota_details,omitempty"`
+ // MemberSuggestDetails : has no documentation (yet)
MemberSuggestDetails *MemberSuggestDetails `json:"member_suggest_details,omitempty"`
- // PaperContentAddMemberDetails : Added users to the membership of a Paper
- // doc or folder.
+ // MemberTransferAccountContentsDetails : has no documentation (yet)
+ MemberTransferAccountContentsDetails *MemberTransferAccountContentsDetails `json:"member_transfer_account_contents_details,omitempty"`
+ // SecondaryMailsPolicyChangedDetails : has no documentation (yet)
+ SecondaryMailsPolicyChangedDetails *SecondaryMailsPolicyChangedDetails `json:"secondary_mails_policy_changed_details,omitempty"`
+ // PaperContentAddMemberDetails : has no documentation (yet)
PaperContentAddMemberDetails *PaperContentAddMemberDetails `json:"paper_content_add_member_details,omitempty"`
- // PaperContentAddToFolderDetails : Added Paper doc or folder to a folder.
+ // PaperContentAddToFolderDetails : has no documentation (yet)
PaperContentAddToFolderDetails *PaperContentAddToFolderDetails `json:"paper_content_add_to_folder_details,omitempty"`
- // PaperContentArchiveDetails : Archived Paper doc or folder.
+ // PaperContentArchiveDetails : has no documentation (yet)
PaperContentArchiveDetails *PaperContentArchiveDetails `json:"paper_content_archive_details,omitempty"`
- // PaperContentCreateDetails : Created a Paper doc or folder.
+ // PaperContentCreateDetails : has no documentation (yet)
PaperContentCreateDetails *PaperContentCreateDetails `json:"paper_content_create_details,omitempty"`
- // PaperContentPermanentlyDeleteDetails : Permanently deleted a Paper doc or
- // folder.
+ // PaperContentPermanentlyDeleteDetails : has no documentation (yet)
PaperContentPermanentlyDeleteDetails *PaperContentPermanentlyDeleteDetails `json:"paper_content_permanently_delete_details,omitempty"`
- // PaperContentRemoveFromFolderDetails : Removed Paper doc or folder from a
- // folder.
+ // PaperContentRemoveFromFolderDetails : has no documentation (yet)
PaperContentRemoveFromFolderDetails *PaperContentRemoveFromFolderDetails `json:"paper_content_remove_from_folder_details,omitempty"`
- // PaperContentRemoveMemberDetails : Removed a user from the membership of a
- // Paper doc or folder.
+ // PaperContentRemoveMemberDetails : has no documentation (yet)
PaperContentRemoveMemberDetails *PaperContentRemoveMemberDetails `json:"paper_content_remove_member_details,omitempty"`
- // PaperContentRenameDetails : Renamed Paper doc or folder.
+ // PaperContentRenameDetails : has no documentation (yet)
PaperContentRenameDetails *PaperContentRenameDetails `json:"paper_content_rename_details,omitempty"`
- // PaperContentRestoreDetails : Restored an archived Paper doc or folder.
+ // PaperContentRestoreDetails : has no documentation (yet)
PaperContentRestoreDetails *PaperContentRestoreDetails `json:"paper_content_restore_details,omitempty"`
- // PaperDocAddCommentDetails : Added a Paper doc comment.
+ // PaperDocAddCommentDetails : has no documentation (yet)
PaperDocAddCommentDetails *PaperDocAddCommentDetails `json:"paper_doc_add_comment_details,omitempty"`
- // PaperDocChangeMemberRoleDetails : Changed the access type of a Paper doc
- // member.
+ // PaperDocChangeMemberRoleDetails : has no documentation (yet)
PaperDocChangeMemberRoleDetails *PaperDocChangeMemberRoleDetails `json:"paper_doc_change_member_role_details,omitempty"`
- // PaperDocChangeSharingPolicyDetails : Changed the sharing policy for Paper
- // doc.
+ // PaperDocChangeSharingPolicyDetails : has no documentation (yet)
PaperDocChangeSharingPolicyDetails *PaperDocChangeSharingPolicyDetails `json:"paper_doc_change_sharing_policy_details,omitempty"`
- // PaperDocChangeSubscriptionDetails : Followed or unfollowed a Paper doc.
+ // PaperDocChangeSubscriptionDetails : has no documentation (yet)
PaperDocChangeSubscriptionDetails *PaperDocChangeSubscriptionDetails `json:"paper_doc_change_subscription_details,omitempty"`
- // PaperDocDeletedDetails : Paper doc archived.
+ // PaperDocDeletedDetails : has no documentation (yet)
PaperDocDeletedDetails *PaperDocDeletedDetails `json:"paper_doc_deleted_details,omitempty"`
- // PaperDocDeleteCommentDetails : Deleted a Paper doc comment.
+ // PaperDocDeleteCommentDetails : has no documentation (yet)
PaperDocDeleteCommentDetails *PaperDocDeleteCommentDetails `json:"paper_doc_delete_comment_details,omitempty"`
- // PaperDocDownloadDetails : Downloaded a Paper doc in a particular output
- // format.
+ // PaperDocDownloadDetails : has no documentation (yet)
PaperDocDownloadDetails *PaperDocDownloadDetails `json:"paper_doc_download_details,omitempty"`
- // PaperDocEditDetails : Edited a Paper doc.
+ // PaperDocEditDetails : has no documentation (yet)
PaperDocEditDetails *PaperDocEditDetails `json:"paper_doc_edit_details,omitempty"`
- // PaperDocEditCommentDetails : Edited a Paper doc comment.
+ // PaperDocEditCommentDetails : has no documentation (yet)
PaperDocEditCommentDetails *PaperDocEditCommentDetails `json:"paper_doc_edit_comment_details,omitempty"`
- // PaperDocFollowedDetails : Followed a Paper doc.
+ // PaperDocFollowedDetails : has no documentation (yet)
PaperDocFollowedDetails *PaperDocFollowedDetails `json:"paper_doc_followed_details,omitempty"`
- // PaperDocMentionDetails : Mentioned a member in a Paper doc.
+ // PaperDocMentionDetails : has no documentation (yet)
PaperDocMentionDetails *PaperDocMentionDetails `json:"paper_doc_mention_details,omitempty"`
- // PaperDocRequestAccessDetails : Requested to be a member on a Paper doc.
+ // PaperDocRequestAccessDetails : has no documentation (yet)
PaperDocRequestAccessDetails *PaperDocRequestAccessDetails `json:"paper_doc_request_access_details,omitempty"`
- // PaperDocResolveCommentDetails : Paper doc comment resolved.
+ // PaperDocResolveCommentDetails : has no documentation (yet)
PaperDocResolveCommentDetails *PaperDocResolveCommentDetails `json:"paper_doc_resolve_comment_details,omitempty"`
- // PaperDocRevertDetails : Restored a Paper doc to previous revision.
+ // PaperDocRevertDetails : has no documentation (yet)
PaperDocRevertDetails *PaperDocRevertDetails `json:"paper_doc_revert_details,omitempty"`
- // PaperDocSlackShareDetails : Paper doc link shared via slack.
+ // PaperDocSlackShareDetails : has no documentation (yet)
PaperDocSlackShareDetails *PaperDocSlackShareDetails `json:"paper_doc_slack_share_details,omitempty"`
- // PaperDocTeamInviteDetails : Paper doc shared with team member.
+ // PaperDocTeamInviteDetails : has no documentation (yet)
PaperDocTeamInviteDetails *PaperDocTeamInviteDetails `json:"paper_doc_team_invite_details,omitempty"`
- // PaperDocTrashedDetails : Paper doc trashed.
+ // PaperDocTrashedDetails : has no documentation (yet)
PaperDocTrashedDetails *PaperDocTrashedDetails `json:"paper_doc_trashed_details,omitempty"`
- // PaperDocUnresolveCommentDetails : Unresolved a Paper doc comment.
+ // PaperDocUnresolveCommentDetails : has no documentation (yet)
PaperDocUnresolveCommentDetails *PaperDocUnresolveCommentDetails `json:"paper_doc_unresolve_comment_details,omitempty"`
- // PaperDocUntrashedDetails : Paper doc untrashed.
+ // PaperDocUntrashedDetails : has no documentation (yet)
PaperDocUntrashedDetails *PaperDocUntrashedDetails `json:"paper_doc_untrashed_details,omitempty"`
- // PaperDocViewDetails : Viewed Paper doc.
+ // PaperDocViewDetails : has no documentation (yet)
PaperDocViewDetails *PaperDocViewDetails `json:"paper_doc_view_details,omitempty"`
- // PaperFolderChangeSubscriptionDetails : Followed or unfollowed a Paper
- // folder.
+ // PaperExternalViewAllowDetails : has no documentation (yet)
+ PaperExternalViewAllowDetails *PaperExternalViewAllowDetails `json:"paper_external_view_allow_details,omitempty"`
+ // PaperExternalViewDefaultTeamDetails : has no documentation (yet)
+ PaperExternalViewDefaultTeamDetails *PaperExternalViewDefaultTeamDetails `json:"paper_external_view_default_team_details,omitempty"`
+ // PaperExternalViewForbidDetails : has no documentation (yet)
+ PaperExternalViewForbidDetails *PaperExternalViewForbidDetails `json:"paper_external_view_forbid_details,omitempty"`
+ // PaperFolderChangeSubscriptionDetails : has no documentation (yet)
PaperFolderChangeSubscriptionDetails *PaperFolderChangeSubscriptionDetails `json:"paper_folder_change_subscription_details,omitempty"`
- // PaperFolderDeletedDetails : Paper folder archived.
+ // PaperFolderDeletedDetails : has no documentation (yet)
PaperFolderDeletedDetails *PaperFolderDeletedDetails `json:"paper_folder_deleted_details,omitempty"`
- // PaperFolderFollowedDetails : Followed a Paper folder.
+ // PaperFolderFollowedDetails : has no documentation (yet)
PaperFolderFollowedDetails *PaperFolderFollowedDetails `json:"paper_folder_followed_details,omitempty"`
- // PaperFolderTeamInviteDetails : Paper folder shared with team member.
+ // PaperFolderTeamInviteDetails : has no documentation (yet)
PaperFolderTeamInviteDetails *PaperFolderTeamInviteDetails `json:"paper_folder_team_invite_details,omitempty"`
- // PasswordChangeDetails : Changed password.
+ // PasswordChangeDetails : has no documentation (yet)
PasswordChangeDetails *PasswordChangeDetails `json:"password_change_details,omitempty"`
- // PasswordResetDetails : Reset password.
+ // PasswordResetDetails : has no documentation (yet)
PasswordResetDetails *PasswordResetDetails `json:"password_reset_details,omitempty"`
- // PasswordResetAllDetails : Reset all team member passwords.
+ // PasswordResetAllDetails : has no documentation (yet)
PasswordResetAllDetails *PasswordResetAllDetails `json:"password_reset_all_details,omitempty"`
- // EmmCreateExceptionsReportDetails : EMM excluded users report created.
+ // EmmCreateExceptionsReportDetails : has no documentation (yet)
EmmCreateExceptionsReportDetails *EmmCreateExceptionsReportDetails `json:"emm_create_exceptions_report_details,omitempty"`
- // EmmCreateUsageReportDetails : EMM mobile app usage report created.
+ // EmmCreateUsageReportDetails : has no documentation (yet)
EmmCreateUsageReportDetails *EmmCreateUsageReportDetails `json:"emm_create_usage_report_details,omitempty"`
- // SmartSyncCreateAdminPrivilegeReportDetails : Smart Sync non-admin devices
- // report created.
+ // ExportMembersReportDetails : has no documentation (yet)
+ ExportMembersReportDetails *ExportMembersReportDetails `json:"export_members_report_details,omitempty"`
+ // PaperAdminExportStartDetails : has no documentation (yet)
+ PaperAdminExportStartDetails *PaperAdminExportStartDetails `json:"paper_admin_export_start_details,omitempty"`
+ // SmartSyncCreateAdminPrivilegeReportDetails : has no documentation (yet)
SmartSyncCreateAdminPrivilegeReportDetails *SmartSyncCreateAdminPrivilegeReportDetails `json:"smart_sync_create_admin_privilege_report_details,omitempty"`
- // TeamActivityCreateReportDetails : Created a team activity report.
+ // TeamActivityCreateReportDetails : has no documentation (yet)
TeamActivityCreateReportDetails *TeamActivityCreateReportDetails `json:"team_activity_create_report_details,omitempty"`
- // CollectionShareDetails : Shared an album.
+ // CollectionShareDetails : has no documentation (yet)
CollectionShareDetails *CollectionShareDetails `json:"collection_share_details,omitempty"`
- // NoteAclInviteOnlyDetails : Changed a Paper document to be invite-only.
+ // NoteAclInviteOnlyDetails : has no documentation (yet)
NoteAclInviteOnlyDetails *NoteAclInviteOnlyDetails `json:"note_acl_invite_only_details,omitempty"`
- // NoteAclLinkDetails : Changed a Paper document to be link accessible.
+ // NoteAclLinkDetails : has no documentation (yet)
NoteAclLinkDetails *NoteAclLinkDetails `json:"note_acl_link_details,omitempty"`
- // NoteAclTeamLinkDetails : Changed a Paper document to be link accessible
- // for the team.
+ // NoteAclTeamLinkDetails : has no documentation (yet)
NoteAclTeamLinkDetails *NoteAclTeamLinkDetails `json:"note_acl_team_link_details,omitempty"`
- // NoteSharedDetails : Shared a Paper doc.
+ // NoteSharedDetails : has no documentation (yet)
NoteSharedDetails *NoteSharedDetails `json:"note_shared_details,omitempty"`
- // NoteShareReceiveDetails : Shared Paper document received.
+ // NoteShareReceiveDetails : has no documentation (yet)
NoteShareReceiveDetails *NoteShareReceiveDetails `json:"note_share_receive_details,omitempty"`
- // OpenNoteSharedDetails : Opened a shared Paper doc.
+ // OpenNoteSharedDetails : has no documentation (yet)
OpenNoteSharedDetails *OpenNoteSharedDetails `json:"open_note_shared_details,omitempty"`
- // SfAddGroupDetails : Added the team to a shared folder.
+ // SfAddGroupDetails : has no documentation (yet)
SfAddGroupDetails *SfAddGroupDetails `json:"sf_add_group_details,omitempty"`
- // SfAllowNonMembersToViewSharedLinksDetails : Allowed non collaborators to
- // view links to files in a shared folder.
+ // SfAllowNonMembersToViewSharedLinksDetails : has no documentation (yet)
SfAllowNonMembersToViewSharedLinksDetails *SfAllowNonMembersToViewSharedLinksDetails `json:"sf_allow_non_members_to_view_shared_links_details,omitempty"`
- // SfInviteGroupDetails : Invited a group to a shared folder.
+ // SfExternalInviteWarnDetails : has no documentation (yet)
+ SfExternalInviteWarnDetails *SfExternalInviteWarnDetails `json:"sf_external_invite_warn_details,omitempty"`
+ // SfFbInviteDetails : has no documentation (yet)
+ SfFbInviteDetails *SfFbInviteDetails `json:"sf_fb_invite_details,omitempty"`
+ // SfFbInviteChangeRoleDetails : has no documentation (yet)
+ SfFbInviteChangeRoleDetails *SfFbInviteChangeRoleDetails `json:"sf_fb_invite_change_role_details,omitempty"`
+ // SfFbUninviteDetails : has no documentation (yet)
+ SfFbUninviteDetails *SfFbUninviteDetails `json:"sf_fb_uninvite_details,omitempty"`
+ // SfInviteGroupDetails : has no documentation (yet)
SfInviteGroupDetails *SfInviteGroupDetails `json:"sf_invite_group_details,omitempty"`
- // SfNestDetails : Changed parent of shared folder.
- SfNestDetails *SfNestDetails `json:"sf_nest_details,omitempty"`
- // SfTeamDeclineDetails : Declined a team member's invitation to a shared
- // folder.
- SfTeamDeclineDetails *SfTeamDeclineDetails `json:"sf_team_decline_details,omitempty"`
- // SfTeamGrantAccessDetails : Granted access to a shared folder.
+ // SfTeamGrantAccessDetails : has no documentation (yet)
SfTeamGrantAccessDetails *SfTeamGrantAccessDetails `json:"sf_team_grant_access_details,omitempty"`
- // SfTeamInviteDetails : Invited team members to a shared folder.
+ // SfTeamInviteDetails : has no documentation (yet)
SfTeamInviteDetails *SfTeamInviteDetails `json:"sf_team_invite_details,omitempty"`
- // SfTeamInviteChangeRoleDetails : Changed a team member's role in a shared
- // folder.
+ // SfTeamInviteChangeRoleDetails : has no documentation (yet)
SfTeamInviteChangeRoleDetails *SfTeamInviteChangeRoleDetails `json:"sf_team_invite_change_role_details,omitempty"`
- // SfTeamJoinDetails : Joined a team member's shared folder.
+ // SfTeamJoinDetails : has no documentation (yet)
SfTeamJoinDetails *SfTeamJoinDetails `json:"sf_team_join_details,omitempty"`
- // SfTeamJoinFromOobLinkDetails : Joined a team member's shared folder from
- // a link.
+ // SfTeamJoinFromOobLinkDetails : has no documentation (yet)
SfTeamJoinFromOobLinkDetails *SfTeamJoinFromOobLinkDetails `json:"sf_team_join_from_oob_link_details,omitempty"`
- // SfTeamUninviteDetails : Unshared a folder with a team member.
+ // SfTeamUninviteDetails : has no documentation (yet)
SfTeamUninviteDetails *SfTeamUninviteDetails `json:"sf_team_uninvite_details,omitempty"`
- // SharedContentAddInviteesDetails : Sent an email invitation to the
- // membership of a shared file or folder.
+ // SharedContentAddInviteesDetails : has no documentation (yet)
SharedContentAddInviteesDetails *SharedContentAddInviteesDetails `json:"shared_content_add_invitees_details,omitempty"`
- // SharedContentAddLinkExpiryDetails : Added an expiry to the link for the
- // shared file or folder.
+ // SharedContentAddLinkExpiryDetails : has no documentation (yet)
SharedContentAddLinkExpiryDetails *SharedContentAddLinkExpiryDetails `json:"shared_content_add_link_expiry_details,omitempty"`
- // SharedContentAddLinkPasswordDetails : Added a password to the link for
- // the shared file or folder.
+ // SharedContentAddLinkPasswordDetails : has no documentation (yet)
SharedContentAddLinkPasswordDetails *SharedContentAddLinkPasswordDetails `json:"shared_content_add_link_password_details,omitempty"`
- // SharedContentAddMemberDetails : Added users and/or groups to the
- // membership of a shared file or folder.
+ // SharedContentAddMemberDetails : has no documentation (yet)
SharedContentAddMemberDetails *SharedContentAddMemberDetails `json:"shared_content_add_member_details,omitempty"`
- // SharedContentChangeDownloadsPolicyDetails : Changed whether members can
- // download the shared file or folder.
+ // SharedContentChangeDownloadsPolicyDetails : has no documentation (yet)
SharedContentChangeDownloadsPolicyDetails *SharedContentChangeDownloadsPolicyDetails `json:"shared_content_change_downloads_policy_details,omitempty"`
- // SharedContentChangeInviteeRoleDetails : Changed the access type of an
- // invitee to a shared file or folder before the invitation was claimed.
+ // SharedContentChangeInviteeRoleDetails : has no documentation (yet)
SharedContentChangeInviteeRoleDetails *SharedContentChangeInviteeRoleDetails `json:"shared_content_change_invitee_role_details,omitempty"`
- // SharedContentChangeLinkAudienceDetails : Changed the audience of the link
- // for a shared file or folder.
+ // SharedContentChangeLinkAudienceDetails : has no documentation (yet)
SharedContentChangeLinkAudienceDetails *SharedContentChangeLinkAudienceDetails `json:"shared_content_change_link_audience_details,omitempty"`
- // SharedContentChangeLinkExpiryDetails : Changed the expiry of the link for
- // the shared file or folder.
+ // SharedContentChangeLinkExpiryDetails : has no documentation (yet)
SharedContentChangeLinkExpiryDetails *SharedContentChangeLinkExpiryDetails `json:"shared_content_change_link_expiry_details,omitempty"`
- // SharedContentChangeLinkPasswordDetails : Changed the password on the link
- // for the shared file or folder.
+ // SharedContentChangeLinkPasswordDetails : has no documentation (yet)
SharedContentChangeLinkPasswordDetails *SharedContentChangeLinkPasswordDetails `json:"shared_content_change_link_password_details,omitempty"`
- // SharedContentChangeMemberRoleDetails : Changed the access type of a
- // shared file or folder member.
+ // SharedContentChangeMemberRoleDetails : has no documentation (yet)
SharedContentChangeMemberRoleDetails *SharedContentChangeMemberRoleDetails `json:"shared_content_change_member_role_details,omitempty"`
- // SharedContentChangeViewerInfoPolicyDetails : Changed whether members can
- // see who viewed the shared file or folder.
+ // SharedContentChangeViewerInfoPolicyDetails : has no documentation (yet)
SharedContentChangeViewerInfoPolicyDetails *SharedContentChangeViewerInfoPolicyDetails `json:"shared_content_change_viewer_info_policy_details,omitempty"`
- // SharedContentClaimInvitationDetails : Claimed membership to a team
- // member's shared folder.
+ // SharedContentClaimInvitationDetails : has no documentation (yet)
SharedContentClaimInvitationDetails *SharedContentClaimInvitationDetails `json:"shared_content_claim_invitation_details,omitempty"`
- // SharedContentCopyDetails : Copied the shared file or folder to own
- // Dropbox.
+ // SharedContentCopyDetails : has no documentation (yet)
SharedContentCopyDetails *SharedContentCopyDetails `json:"shared_content_copy_details,omitempty"`
- // SharedContentDownloadDetails : Downloaded the shared file or folder.
+ // SharedContentDownloadDetails : has no documentation (yet)
SharedContentDownloadDetails *SharedContentDownloadDetails `json:"shared_content_download_details,omitempty"`
- // SharedContentRelinquishMembershipDetails : Left the membership of a
- // shared file or folder.
+ // SharedContentRelinquishMembershipDetails : has no documentation (yet)
SharedContentRelinquishMembershipDetails *SharedContentRelinquishMembershipDetails `json:"shared_content_relinquish_membership_details,omitempty"`
- // SharedContentRemoveInviteeDetails : Removed an invitee from the
- // membership of a shared file or folder before it was claimed.
- SharedContentRemoveInviteeDetails *SharedContentRemoveInviteeDetails `json:"shared_content_remove_invitee_details,omitempty"`
- // SharedContentRemoveLinkExpiryDetails : Removed the expiry of the link for
- // the shared file or folder.
+ // SharedContentRemoveInviteesDetails : has no documentation (yet)
+ SharedContentRemoveInviteesDetails *SharedContentRemoveInviteesDetails `json:"shared_content_remove_invitees_details,omitempty"`
+ // SharedContentRemoveLinkExpiryDetails : has no documentation (yet)
SharedContentRemoveLinkExpiryDetails *SharedContentRemoveLinkExpiryDetails `json:"shared_content_remove_link_expiry_details,omitempty"`
- // SharedContentRemoveLinkPasswordDetails : Removed the password on the link
- // for the shared file or folder.
+ // SharedContentRemoveLinkPasswordDetails : has no documentation (yet)
SharedContentRemoveLinkPasswordDetails *SharedContentRemoveLinkPasswordDetails `json:"shared_content_remove_link_password_details,omitempty"`
- // SharedContentRemoveMemberDetails : Removed a user or a group from the
- // membership of a shared file or folder.
+ // SharedContentRemoveMemberDetails : has no documentation (yet)
SharedContentRemoveMemberDetails *SharedContentRemoveMemberDetails `json:"shared_content_remove_member_details,omitempty"`
- // SharedContentRequestAccessDetails : Requested to be on the membership of
- // a shared file or folder.
+ // SharedContentRequestAccessDetails : has no documentation (yet)
SharedContentRequestAccessDetails *SharedContentRequestAccessDetails `json:"shared_content_request_access_details,omitempty"`
- // SharedContentUnshareDetails : Unshared a shared file or folder by
- // clearing its membership and turning off its link.
+ // SharedContentUnshareDetails : has no documentation (yet)
SharedContentUnshareDetails *SharedContentUnshareDetails `json:"shared_content_unshare_details,omitempty"`
- // SharedContentViewDetails : Previewed the shared file or folder.
+ // SharedContentViewDetails : has no documentation (yet)
SharedContentViewDetails *SharedContentViewDetails `json:"shared_content_view_details,omitempty"`
- // SharedFolderChangeConfidentialityDetails : Set or unset the confidential
- // flag on a shared folder.
- SharedFolderChangeConfidentialityDetails *SharedFolderChangeConfidentialityDetails `json:"shared_folder_change_confidentiality_details,omitempty"`
- // SharedFolderChangeLinkPolicyDetails : Changed who can access the shared
- // folder via a link.
+ // SharedFolderChangeLinkPolicyDetails : has no documentation (yet)
SharedFolderChangeLinkPolicyDetails *SharedFolderChangeLinkPolicyDetails `json:"shared_folder_change_link_policy_details,omitempty"`
- // SharedFolderChangeMemberManagementPolicyDetails : Changed who can manage
- // the membership of a shared folder.
- SharedFolderChangeMemberManagementPolicyDetails *SharedFolderChangeMemberManagementPolicyDetails `json:"shared_folder_change_member_management_policy_details,omitempty"`
- // SharedFolderChangeMemberPolicyDetails : Changed who can become a member
- // of the shared folder.
- SharedFolderChangeMemberPolicyDetails *SharedFolderChangeMemberPolicyDetails `json:"shared_folder_change_member_policy_details,omitempty"`
- // SharedFolderCreateDetails : Created a shared folder.
+ // SharedFolderChangeMembersInheritancePolicyDetails : has no documentation
+ // (yet)
+ SharedFolderChangeMembersInheritancePolicyDetails *SharedFolderChangeMembersInheritancePolicyDetails `json:"shared_folder_change_members_inheritance_policy_details,omitempty"`
+ // SharedFolderChangeMembersManagementPolicyDetails : has no documentation
+ // (yet)
+ SharedFolderChangeMembersManagementPolicyDetails *SharedFolderChangeMembersManagementPolicyDetails `json:"shared_folder_change_members_management_policy_details,omitempty"`
+ // SharedFolderChangeMembersPolicyDetails : has no documentation (yet)
+ SharedFolderChangeMembersPolicyDetails *SharedFolderChangeMembersPolicyDetails `json:"shared_folder_change_members_policy_details,omitempty"`
+ // SharedFolderCreateDetails : has no documentation (yet)
SharedFolderCreateDetails *SharedFolderCreateDetails `json:"shared_folder_create_details,omitempty"`
- // SharedFolderMountDetails : Added a shared folder to own Dropbox.
+ // SharedFolderDeclineInvitationDetails : has no documentation (yet)
+ SharedFolderDeclineInvitationDetails *SharedFolderDeclineInvitationDetails `json:"shared_folder_decline_invitation_details,omitempty"`
+ // SharedFolderMountDetails : has no documentation (yet)
SharedFolderMountDetails *SharedFolderMountDetails `json:"shared_folder_mount_details,omitempty"`
- // SharedFolderTransferOwnershipDetails : Transferred the ownership of a
- // shared folder to another member.
+ // SharedFolderNestDetails : has no documentation (yet)
+ SharedFolderNestDetails *SharedFolderNestDetails `json:"shared_folder_nest_details,omitempty"`
+ // SharedFolderTransferOwnershipDetails : has no documentation (yet)
SharedFolderTransferOwnershipDetails *SharedFolderTransferOwnershipDetails `json:"shared_folder_transfer_ownership_details,omitempty"`
- // SharedFolderUnmountDetails : Deleted a shared folder from Dropbox.
+ // SharedFolderUnmountDetails : has no documentation (yet)
SharedFolderUnmountDetails *SharedFolderUnmountDetails `json:"shared_folder_unmount_details,omitempty"`
- // SharedNoteOpenedDetails : Shared Paper document was opened.
+ // SharedLinkAddExpiryDetails : has no documentation (yet)
+ SharedLinkAddExpiryDetails *SharedLinkAddExpiryDetails `json:"shared_link_add_expiry_details,omitempty"`
+ // SharedLinkChangeExpiryDetails : has no documentation (yet)
+ SharedLinkChangeExpiryDetails *SharedLinkChangeExpiryDetails `json:"shared_link_change_expiry_details,omitempty"`
+ // SharedLinkChangeVisibilityDetails : has no documentation (yet)
+ SharedLinkChangeVisibilityDetails *SharedLinkChangeVisibilityDetails `json:"shared_link_change_visibility_details,omitempty"`
+ // SharedLinkCopyDetails : has no documentation (yet)
+ SharedLinkCopyDetails *SharedLinkCopyDetails `json:"shared_link_copy_details,omitempty"`
+ // SharedLinkCreateDetails : has no documentation (yet)
+ SharedLinkCreateDetails *SharedLinkCreateDetails `json:"shared_link_create_details,omitempty"`
+ // SharedLinkDisableDetails : has no documentation (yet)
+ SharedLinkDisableDetails *SharedLinkDisableDetails `json:"shared_link_disable_details,omitempty"`
+ // SharedLinkDownloadDetails : has no documentation (yet)
+ SharedLinkDownloadDetails *SharedLinkDownloadDetails `json:"shared_link_download_details,omitempty"`
+ // SharedLinkRemoveExpiryDetails : has no documentation (yet)
+ SharedLinkRemoveExpiryDetails *SharedLinkRemoveExpiryDetails `json:"shared_link_remove_expiry_details,omitempty"`
+ // SharedLinkShareDetails : has no documentation (yet)
+ SharedLinkShareDetails *SharedLinkShareDetails `json:"shared_link_share_details,omitempty"`
+ // SharedLinkViewDetails : has no documentation (yet)
+ SharedLinkViewDetails *SharedLinkViewDetails `json:"shared_link_view_details,omitempty"`
+ // SharedNoteOpenedDetails : has no documentation (yet)
SharedNoteOpenedDetails *SharedNoteOpenedDetails `json:"shared_note_opened_details,omitempty"`
- // ShmodelAppCreateDetails : Created a link to a file using an app.
- ShmodelAppCreateDetails *ShmodelAppCreateDetails `json:"shmodel_app_create_details,omitempty"`
- // ShmodelCreateDetails : Created a new link.
- ShmodelCreateDetails *ShmodelCreateDetails `json:"shmodel_create_details,omitempty"`
- // ShmodelDisableDetails : Removed a link.
- ShmodelDisableDetails *ShmodelDisableDetails `json:"shmodel_disable_details,omitempty"`
- // ShmodelFbShareDetails : Shared a link with Facebook users.
- ShmodelFbShareDetails *ShmodelFbShareDetails `json:"shmodel_fb_share_details,omitempty"`
- // ShmodelGroupShareDetails : Shared a link with a group.
+ // ShmodelGroupShareDetails : has no documentation (yet)
ShmodelGroupShareDetails *ShmodelGroupShareDetails `json:"shmodel_group_share_details,omitempty"`
- // ShmodelRemoveExpirationDetails : Removed the expiration date from a link.
- ShmodelRemoveExpirationDetails *ShmodelRemoveExpirationDetails `json:"shmodel_remove_expiration_details,omitempty"`
- // ShmodelSetExpirationDetails : Added an expiration date to a link.
- ShmodelSetExpirationDetails *ShmodelSetExpirationDetails `json:"shmodel_set_expiration_details,omitempty"`
- // ShmodelTeamCopyDetails : Added a team member's file/folder to their
- // Dropbox from a link.
- ShmodelTeamCopyDetails *ShmodelTeamCopyDetails `json:"shmodel_team_copy_details,omitempty"`
- // ShmodelTeamDownloadDetails : Downloaded a team member's file/folder from
- // a link.
- ShmodelTeamDownloadDetails *ShmodelTeamDownloadDetails `json:"shmodel_team_download_details,omitempty"`
- // ShmodelTeamShareDetails : Shared a link with team members.
- ShmodelTeamShareDetails *ShmodelTeamShareDetails `json:"shmodel_team_share_details,omitempty"`
- // ShmodelTeamViewDetails : Opened a team member's link.
- ShmodelTeamViewDetails *ShmodelTeamViewDetails `json:"shmodel_team_view_details,omitempty"`
- // ShmodelVisibilityPasswordDetails : Password-protected a link.
- ShmodelVisibilityPasswordDetails *ShmodelVisibilityPasswordDetails `json:"shmodel_visibility_password_details,omitempty"`
- // ShmodelVisibilityPublicDetails : Made a file/folder visible to anyone
- // with the link.
- ShmodelVisibilityPublicDetails *ShmodelVisibilityPublicDetails `json:"shmodel_visibility_public_details,omitempty"`
- // ShmodelVisibilityTeamOnlyDetails : Made a file/folder visible only to
- // team members with the link.
- ShmodelVisibilityTeamOnlyDetails *ShmodelVisibilityTeamOnlyDetails `json:"shmodel_visibility_team_only_details,omitempty"`
- // SsoAddCertDetails : Added the X.509 certificate for SSO.
+ // ShowcaseAccessGrantedDetails : has no documentation (yet)
+ ShowcaseAccessGrantedDetails *ShowcaseAccessGrantedDetails `json:"showcase_access_granted_details,omitempty"`
+ // ShowcaseAddMemberDetails : has no documentation (yet)
+ ShowcaseAddMemberDetails *ShowcaseAddMemberDetails `json:"showcase_add_member_details,omitempty"`
+ // ShowcaseArchivedDetails : has no documentation (yet)
+ ShowcaseArchivedDetails *ShowcaseArchivedDetails `json:"showcase_archived_details,omitempty"`
+ // ShowcaseCreatedDetails : has no documentation (yet)
+ ShowcaseCreatedDetails *ShowcaseCreatedDetails `json:"showcase_created_details,omitempty"`
+ // ShowcaseDeleteCommentDetails : has no documentation (yet)
+ ShowcaseDeleteCommentDetails *ShowcaseDeleteCommentDetails `json:"showcase_delete_comment_details,omitempty"`
+ // ShowcaseEditedDetails : has no documentation (yet)
+ ShowcaseEditedDetails *ShowcaseEditedDetails `json:"showcase_edited_details,omitempty"`
+ // ShowcaseEditCommentDetails : has no documentation (yet)
+ ShowcaseEditCommentDetails *ShowcaseEditCommentDetails `json:"showcase_edit_comment_details,omitempty"`
+ // ShowcaseFileAddedDetails : has no documentation (yet)
+ ShowcaseFileAddedDetails *ShowcaseFileAddedDetails `json:"showcase_file_added_details,omitempty"`
+ // ShowcaseFileDownloadDetails : has no documentation (yet)
+ ShowcaseFileDownloadDetails *ShowcaseFileDownloadDetails `json:"showcase_file_download_details,omitempty"`
+ // ShowcaseFileRemovedDetails : has no documentation (yet)
+ ShowcaseFileRemovedDetails *ShowcaseFileRemovedDetails `json:"showcase_file_removed_details,omitempty"`
+ // ShowcaseFileViewDetails : has no documentation (yet)
+ ShowcaseFileViewDetails *ShowcaseFileViewDetails `json:"showcase_file_view_details,omitempty"`
+ // ShowcasePermanentlyDeletedDetails : has no documentation (yet)
+ ShowcasePermanentlyDeletedDetails *ShowcasePermanentlyDeletedDetails `json:"showcase_permanently_deleted_details,omitempty"`
+ // ShowcasePostCommentDetails : has no documentation (yet)
+ ShowcasePostCommentDetails *ShowcasePostCommentDetails `json:"showcase_post_comment_details,omitempty"`
+ // ShowcaseRemoveMemberDetails : has no documentation (yet)
+ ShowcaseRemoveMemberDetails *ShowcaseRemoveMemberDetails `json:"showcase_remove_member_details,omitempty"`
+ // ShowcaseRenamedDetails : has no documentation (yet)
+ ShowcaseRenamedDetails *ShowcaseRenamedDetails `json:"showcase_renamed_details,omitempty"`
+ // ShowcaseRequestAccessDetails : has no documentation (yet)
+ ShowcaseRequestAccessDetails *ShowcaseRequestAccessDetails `json:"showcase_request_access_details,omitempty"`
+ // ShowcaseResolveCommentDetails : has no documentation (yet)
+ ShowcaseResolveCommentDetails *ShowcaseResolveCommentDetails `json:"showcase_resolve_comment_details,omitempty"`
+ // ShowcaseRestoredDetails : has no documentation (yet)
+ ShowcaseRestoredDetails *ShowcaseRestoredDetails `json:"showcase_restored_details,omitempty"`
+ // ShowcaseTrashedDetails : has no documentation (yet)
+ ShowcaseTrashedDetails *ShowcaseTrashedDetails `json:"showcase_trashed_details,omitempty"`
+ // ShowcaseTrashedDeprecatedDetails : has no documentation (yet)
+ ShowcaseTrashedDeprecatedDetails *ShowcaseTrashedDeprecatedDetails `json:"showcase_trashed_deprecated_details,omitempty"`
+ // ShowcaseUnresolveCommentDetails : has no documentation (yet)
+ ShowcaseUnresolveCommentDetails *ShowcaseUnresolveCommentDetails `json:"showcase_unresolve_comment_details,omitempty"`
+ // ShowcaseUntrashedDetails : has no documentation (yet)
+ ShowcaseUntrashedDetails *ShowcaseUntrashedDetails `json:"showcase_untrashed_details,omitempty"`
+ // ShowcaseUntrashedDeprecatedDetails : has no documentation (yet)
+ ShowcaseUntrashedDeprecatedDetails *ShowcaseUntrashedDeprecatedDetails `json:"showcase_untrashed_deprecated_details,omitempty"`
+ // ShowcaseViewDetails : has no documentation (yet)
+ ShowcaseViewDetails *ShowcaseViewDetails `json:"showcase_view_details,omitempty"`
+ // SsoAddCertDetails : has no documentation (yet)
SsoAddCertDetails *SsoAddCertDetails `json:"sso_add_cert_details,omitempty"`
- // SsoAddLoginUrlDetails : Added sign-in URL for SSO.
+ // SsoAddLoginUrlDetails : has no documentation (yet)
SsoAddLoginUrlDetails *SsoAddLoginUrlDetails `json:"sso_add_login_url_details,omitempty"`
- // SsoAddLogoutUrlDetails : Added sign-out URL for SSO.
+ // SsoAddLogoutUrlDetails : has no documentation (yet)
SsoAddLogoutUrlDetails *SsoAddLogoutUrlDetails `json:"sso_add_logout_url_details,omitempty"`
- // SsoChangeCertDetails : Changed the X.509 certificate for SSO.
+ // SsoChangeCertDetails : has no documentation (yet)
SsoChangeCertDetails *SsoChangeCertDetails `json:"sso_change_cert_details,omitempty"`
- // SsoChangeLoginUrlDetails : Changed the sign-in URL for SSO.
+ // SsoChangeLoginUrlDetails : has no documentation (yet)
SsoChangeLoginUrlDetails *SsoChangeLoginUrlDetails `json:"sso_change_login_url_details,omitempty"`
- // SsoChangeLogoutUrlDetails : Changed the sign-out URL for SSO.
+ // SsoChangeLogoutUrlDetails : has no documentation (yet)
SsoChangeLogoutUrlDetails *SsoChangeLogoutUrlDetails `json:"sso_change_logout_url_details,omitempty"`
- // SsoChangeSamlIdentityModeDetails : Changed the SAML identity mode for
- // SSO.
+ // SsoChangeSamlIdentityModeDetails : has no documentation (yet)
SsoChangeSamlIdentityModeDetails *SsoChangeSamlIdentityModeDetails `json:"sso_change_saml_identity_mode_details,omitempty"`
- // SsoRemoveCertDetails : Removed the X.509 certificate for SSO.
+ // SsoRemoveCertDetails : has no documentation (yet)
SsoRemoveCertDetails *SsoRemoveCertDetails `json:"sso_remove_cert_details,omitempty"`
- // SsoRemoveLoginUrlDetails : Removed the sign-in URL for SSO.
+ // SsoRemoveLoginUrlDetails : has no documentation (yet)
SsoRemoveLoginUrlDetails *SsoRemoveLoginUrlDetails `json:"sso_remove_login_url_details,omitempty"`
- // SsoRemoveLogoutUrlDetails : Removed single sign-on logout URL.
+ // SsoRemoveLogoutUrlDetails : has no documentation (yet)
SsoRemoveLogoutUrlDetails *SsoRemoveLogoutUrlDetails `json:"sso_remove_logout_url_details,omitempty"`
- // TeamFolderChangeStatusDetails : Changed the archival status of a team
- // folder.
+ // TeamFolderChangeStatusDetails : has no documentation (yet)
TeamFolderChangeStatusDetails *TeamFolderChangeStatusDetails `json:"team_folder_change_status_details,omitempty"`
- // TeamFolderCreateDetails : Created a new team folder in active status.
+ // TeamFolderCreateDetails : has no documentation (yet)
TeamFolderCreateDetails *TeamFolderCreateDetails `json:"team_folder_create_details,omitempty"`
- // TeamFolderDowngradeDetails : Downgraded a team folder to a regular shared
- // folder.
+ // TeamFolderDowngradeDetails : has no documentation (yet)
TeamFolderDowngradeDetails *TeamFolderDowngradeDetails `json:"team_folder_downgrade_details,omitempty"`
- // TeamFolderPermanentlyDeleteDetails : Permanently deleted an archived team
- // folder.
+ // TeamFolderPermanentlyDeleteDetails : has no documentation (yet)
TeamFolderPermanentlyDeleteDetails *TeamFolderPermanentlyDeleteDetails `json:"team_folder_permanently_delete_details,omitempty"`
- // TeamFolderRenameDetails : Renamed an active or archived team folder.
+ // TeamFolderRenameDetails : has no documentation (yet)
TeamFolderRenameDetails *TeamFolderRenameDetails `json:"team_folder_rename_details,omitempty"`
- // AccountCaptureChangePolicyDetails : Changed the account capture policy on
- // a domain belonging to the team.
+ // TeamSelectiveSyncSettingsChangedDetails : has no documentation (yet)
+ TeamSelectiveSyncSettingsChangedDetails *TeamSelectiveSyncSettingsChangedDetails `json:"team_selective_sync_settings_changed_details,omitempty"`
+ // AccountCaptureChangePolicyDetails : has no documentation (yet)
AccountCaptureChangePolicyDetails *AccountCaptureChangePolicyDetails `json:"account_capture_change_policy_details,omitempty"`
- // AllowDownloadDisabledDetails : Disabled allow downloads.
+ // AllowDownloadDisabledDetails : has no documentation (yet)
AllowDownloadDisabledDetails *AllowDownloadDisabledDetails `json:"allow_download_disabled_details,omitempty"`
- // AllowDownloadEnabledDetails : Enabled allow downloads.
+ // AllowDownloadEnabledDetails : has no documentation (yet)
AllowDownloadEnabledDetails *AllowDownloadEnabledDetails `json:"allow_download_enabled_details,omitempty"`
- // DataPlacementRestrictionChangePolicyDetails : Set a restriction policy
- // regarding the location of data centers where team data resides.
+ // DataPlacementRestrictionChangePolicyDetails : has no documentation (yet)
DataPlacementRestrictionChangePolicyDetails *DataPlacementRestrictionChangePolicyDetails `json:"data_placement_restriction_change_policy_details,omitempty"`
- // DataPlacementRestrictionSatisfyPolicyDetails : Satisfied a previously set
- // restriction policy regarding the location of data centers where team data
- // resides (i.e. all data have been migrated according to the restriction
- // placed).
+ // DataPlacementRestrictionSatisfyPolicyDetails : has no documentation (yet)
DataPlacementRestrictionSatisfyPolicyDetails *DataPlacementRestrictionSatisfyPolicyDetails `json:"data_placement_restriction_satisfy_policy_details,omitempty"`
- // DeviceApprovalsChangeDesktopPolicyDetails : Set or removed a limit on the
- // number of computers each team member can link to their work Dropbox
- // account.
+ // DeviceApprovalsChangeDesktopPolicyDetails : has no documentation (yet)
DeviceApprovalsChangeDesktopPolicyDetails *DeviceApprovalsChangeDesktopPolicyDetails `json:"device_approvals_change_desktop_policy_details,omitempty"`
- // DeviceApprovalsChangeMobilePolicyDetails : Set or removed a limit on the
- // number of mobiles devices each team member can link to their work Dropbox
- // account.
+ // DeviceApprovalsChangeMobilePolicyDetails : has no documentation (yet)
DeviceApprovalsChangeMobilePolicyDetails *DeviceApprovalsChangeMobilePolicyDetails `json:"device_approvals_change_mobile_policy_details,omitempty"`
- // DeviceApprovalsChangeOverageActionDetails : Changed the action taken when
- // a team member is already over the limits (e.g when they join the team, an
- // admin lowers limits, etc.).
+ // DeviceApprovalsChangeOverageActionDetails : has no documentation (yet)
DeviceApprovalsChangeOverageActionDetails *DeviceApprovalsChangeOverageActionDetails `json:"device_approvals_change_overage_action_details,omitempty"`
- // DeviceApprovalsChangeUnlinkActionDetails : Changed the action taken with
- // respect to approval limits when a team member unlinks an approved device.
+ // DeviceApprovalsChangeUnlinkActionDetails : has no documentation (yet)
DeviceApprovalsChangeUnlinkActionDetails *DeviceApprovalsChangeUnlinkActionDetails `json:"device_approvals_change_unlink_action_details,omitempty"`
- // EmmAddExceptionDetails : Added an exception for one or more team members
- // to optionally use the regular Dropbox app when EMM is enabled.
+ // DirectoryRestrictionsAddMembersDetails : has no documentation (yet)
+ DirectoryRestrictionsAddMembersDetails *DirectoryRestrictionsAddMembersDetails `json:"directory_restrictions_add_members_details,omitempty"`
+ // DirectoryRestrictionsRemoveMembersDetails : has no documentation (yet)
+ DirectoryRestrictionsRemoveMembersDetails *DirectoryRestrictionsRemoveMembersDetails `json:"directory_restrictions_remove_members_details,omitempty"`
+ // EmmAddExceptionDetails : has no documentation (yet)
EmmAddExceptionDetails *EmmAddExceptionDetails `json:"emm_add_exception_details,omitempty"`
- // EmmChangePolicyDetails : Enabled or disabled enterprise mobility
- // management for team members.
+ // EmmChangePolicyDetails : has no documentation (yet)
EmmChangePolicyDetails *EmmChangePolicyDetails `json:"emm_change_policy_details,omitempty"`
- // EmmRemoveExceptionDetails : Removed an exception for one or more team
- // members to optionally use the regular Dropbox app when EMM is enabled.
+ // EmmRemoveExceptionDetails : has no documentation (yet)
EmmRemoveExceptionDetails *EmmRemoveExceptionDetails `json:"emm_remove_exception_details,omitempty"`
- // ExtendedVersionHistoryChangePolicyDetails : Accepted or opted out of
- // extended version history.
+ // ExtendedVersionHistoryChangePolicyDetails : has no documentation (yet)
ExtendedVersionHistoryChangePolicyDetails *ExtendedVersionHistoryChangePolicyDetails `json:"extended_version_history_change_policy_details,omitempty"`
- // FileCommentsChangePolicyDetails : Enabled or disabled commenting on team
- // files.
+ // FileCommentsChangePolicyDetails : has no documentation (yet)
FileCommentsChangePolicyDetails *FileCommentsChangePolicyDetails `json:"file_comments_change_policy_details,omitempty"`
- // FileRequestsChangePolicyDetails : Enabled or disabled file requests.
+ // FileRequestsChangePolicyDetails : has no documentation (yet)
FileRequestsChangePolicyDetails *FileRequestsChangePolicyDetails `json:"file_requests_change_policy_details,omitempty"`
- // FileRequestsEmailsEnabledDetails : Enabled file request emails for
- // everyone.
+ // FileRequestsEmailsEnabledDetails : has no documentation (yet)
FileRequestsEmailsEnabledDetails *FileRequestsEmailsEnabledDetails `json:"file_requests_emails_enabled_details,omitempty"`
- // FileRequestsEmailsRestrictedToTeamOnlyDetails : Allowed file request
- // emails for the team.
+ // FileRequestsEmailsRestrictedToTeamOnlyDetails : has no documentation
+ // (yet)
FileRequestsEmailsRestrictedToTeamOnlyDetails *FileRequestsEmailsRestrictedToTeamOnlyDetails `json:"file_requests_emails_restricted_to_team_only_details,omitempty"`
- // GoogleSsoChangePolicyDetails : Enabled or disabled Google single sign-on
- // for the team.
+ // GoogleSsoChangePolicyDetails : has no documentation (yet)
GoogleSsoChangePolicyDetails *GoogleSsoChangePolicyDetails `json:"google_sso_change_policy_details,omitempty"`
- // GroupUserManagementChangePolicyDetails : Changed who can create groups.
+ // GroupUserManagementChangePolicyDetails : has no documentation (yet)
GroupUserManagementChangePolicyDetails *GroupUserManagementChangePolicyDetails `json:"group_user_management_change_policy_details,omitempty"`
- // MemberRequestsChangePolicyDetails : Changed whether users can find the
- // team when not invited.
+ // MemberRequestsChangePolicyDetails : has no documentation (yet)
MemberRequestsChangePolicyDetails *MemberRequestsChangePolicyDetails `json:"member_requests_change_policy_details,omitempty"`
- // MemberSpaceLimitsAddExceptionDetails : Added an exception for one or more
- // team members to bypass space limits imposed by policy.
+ // MemberSpaceLimitsAddExceptionDetails : has no documentation (yet)
MemberSpaceLimitsAddExceptionDetails *MemberSpaceLimitsAddExceptionDetails `json:"member_space_limits_add_exception_details,omitempty"`
- // MemberSpaceLimitsChangePolicyDetails : Changed the team default limit
- // level.
+ // MemberSpaceLimitsChangeCapsTypePolicyDetails : has no documentation (yet)
+ MemberSpaceLimitsChangeCapsTypePolicyDetails *MemberSpaceLimitsChangeCapsTypePolicyDetails `json:"member_space_limits_change_caps_type_policy_details,omitempty"`
+ // MemberSpaceLimitsChangePolicyDetails : has no documentation (yet)
MemberSpaceLimitsChangePolicyDetails *MemberSpaceLimitsChangePolicyDetails `json:"member_space_limits_change_policy_details,omitempty"`
- // MemberSpaceLimitsRemoveExceptionDetails : Removed an exception for one or
- // more team members to bypass space limits imposed by policy.
+ // MemberSpaceLimitsRemoveExceptionDetails : has no documentation (yet)
MemberSpaceLimitsRemoveExceptionDetails *MemberSpaceLimitsRemoveExceptionDetails `json:"member_space_limits_remove_exception_details,omitempty"`
- // MemberSuggestionsChangePolicyDetails : Enabled or disabled the option for
- // team members to suggest new members to add to the team.
+ // MemberSuggestionsChangePolicyDetails : has no documentation (yet)
MemberSuggestionsChangePolicyDetails *MemberSuggestionsChangePolicyDetails `json:"member_suggestions_change_policy_details,omitempty"`
- // MicrosoftOfficeAddinChangePolicyDetails : Enabled or disabled the
- // Microsoft Office add-in, which lets team members save files to Dropbox
- // directly from Microsoft Office.
+ // MicrosoftOfficeAddinChangePolicyDetails : has no documentation (yet)
MicrosoftOfficeAddinChangePolicyDetails *MicrosoftOfficeAddinChangePolicyDetails `json:"microsoft_office_addin_change_policy_details,omitempty"`
- // NetworkControlChangePolicyDetails : Enabled or disabled network control.
+ // NetworkControlChangePolicyDetails : has no documentation (yet)
NetworkControlChangePolicyDetails *NetworkControlChangePolicyDetails `json:"network_control_change_policy_details,omitempty"`
- // PaperChangeDeploymentPolicyDetails : Changed whether Dropbox Paper, when
- // enabled, is deployed to all teams or to specific members of the team.
+ // PaperChangeDeploymentPolicyDetails : has no documentation (yet)
PaperChangeDeploymentPolicyDetails *PaperChangeDeploymentPolicyDetails `json:"paper_change_deployment_policy_details,omitempty"`
- // PaperChangeMemberLinkPolicyDetails : Changed whether non team members can
- // view Paper documents using a link.
+ // PaperChangeMemberLinkPolicyDetails : has no documentation (yet)
PaperChangeMemberLinkPolicyDetails *PaperChangeMemberLinkPolicyDetails `json:"paper_change_member_link_policy_details,omitempty"`
- // PaperChangeMemberPolicyDetails : Changed whether team members can share
- // Paper documents externally (i.e. outside the team), and if so, whether
- // they should be accessible only by team members or anyone by default.
+ // PaperChangeMemberPolicyDetails : has no documentation (yet)
PaperChangeMemberPolicyDetails *PaperChangeMemberPolicyDetails `json:"paper_change_member_policy_details,omitempty"`
- // PaperChangePolicyDetails : Enabled or disabled Dropbox Paper for the
- // team.
+ // PaperChangePolicyDetails : has no documentation (yet)
PaperChangePolicyDetails *PaperChangePolicyDetails `json:"paper_change_policy_details,omitempty"`
- // PermanentDeleteChangePolicyDetails : Enabled or disabled the ability of
- // team members to permanently delete content.
+ // PaperEnabledUsersGroupAdditionDetails : has no documentation (yet)
+ PaperEnabledUsersGroupAdditionDetails *PaperEnabledUsersGroupAdditionDetails `json:"paper_enabled_users_group_addition_details,omitempty"`
+ // PaperEnabledUsersGroupRemovalDetails : has no documentation (yet)
+ PaperEnabledUsersGroupRemovalDetails *PaperEnabledUsersGroupRemovalDetails `json:"paper_enabled_users_group_removal_details,omitempty"`
+ // PermanentDeleteChangePolicyDetails : has no documentation (yet)
PermanentDeleteChangePolicyDetails *PermanentDeleteChangePolicyDetails `json:"permanent_delete_change_policy_details,omitempty"`
- // SharingChangeFolderJoinPolicyDetails : Changed whether team members can
- // join shared folders owned externally (i.e. outside the team).
+ // SharingChangeFolderJoinPolicyDetails : has no documentation (yet)
SharingChangeFolderJoinPolicyDetails *SharingChangeFolderJoinPolicyDetails `json:"sharing_change_folder_join_policy_details,omitempty"`
- // SharingChangeLinkPolicyDetails : Changed whether team members can share
- // links externally (i.e. outside the team), and if so, whether links should
- // be accessible only by team members or anyone by default.
+ // SharingChangeLinkPolicyDetails : has no documentation (yet)
SharingChangeLinkPolicyDetails *SharingChangeLinkPolicyDetails `json:"sharing_change_link_policy_details,omitempty"`
- // SharingChangeMemberPolicyDetails : Changed whether team members can share
- // files and folders externally (i.e. outside the team).
+ // SharingChangeMemberPolicyDetails : has no documentation (yet)
SharingChangeMemberPolicyDetails *SharingChangeMemberPolicyDetails `json:"sharing_change_member_policy_details,omitempty"`
- // SmartSyncChangePolicyDetails : Changed the default Smart Sync policy for
- // team members.
+ // ShowcaseChangeDownloadPolicyDetails : has no documentation (yet)
+ ShowcaseChangeDownloadPolicyDetails *ShowcaseChangeDownloadPolicyDetails `json:"showcase_change_download_policy_details,omitempty"`
+ // ShowcaseChangeEnabledPolicyDetails : has no documentation (yet)
+ ShowcaseChangeEnabledPolicyDetails *ShowcaseChangeEnabledPolicyDetails `json:"showcase_change_enabled_policy_details,omitempty"`
+ // ShowcaseChangeExternalSharingPolicyDetails : has no documentation (yet)
+ ShowcaseChangeExternalSharingPolicyDetails *ShowcaseChangeExternalSharingPolicyDetails `json:"showcase_change_external_sharing_policy_details,omitempty"`
+ // SmartSyncChangePolicyDetails : has no documentation (yet)
SmartSyncChangePolicyDetails *SmartSyncChangePolicyDetails `json:"smart_sync_change_policy_details,omitempty"`
- // SmartSyncNotOptOutDetails : Opted team into Smart Sync.
+ // SmartSyncNotOptOutDetails : has no documentation (yet)
SmartSyncNotOptOutDetails *SmartSyncNotOptOutDetails `json:"smart_sync_not_opt_out_details,omitempty"`
- // SmartSyncOptOutDetails : Opted team out of Smart Sync.
+ // SmartSyncOptOutDetails : has no documentation (yet)
SmartSyncOptOutDetails *SmartSyncOptOutDetails `json:"smart_sync_opt_out_details,omitempty"`
- // SsoChangePolicyDetails : Change the single sign-on policy for the team.
+ // SsoChangePolicyDetails : has no documentation (yet)
SsoChangePolicyDetails *SsoChangePolicyDetails `json:"sso_change_policy_details,omitempty"`
- // TfaChangePolicyDetails : Change two-step verification policy for the
- // team.
+ // TfaChangePolicyDetails : has no documentation (yet)
TfaChangePolicyDetails *TfaChangePolicyDetails `json:"tfa_change_policy_details,omitempty"`
- // TwoAccountChangePolicyDetails : Enabled or disabled the option for team
- // members to link a personal Dropbox account in addition to their work
- // account to the same computer.
+ // TwoAccountChangePolicyDetails : has no documentation (yet)
TwoAccountChangePolicyDetails *TwoAccountChangePolicyDetails `json:"two_account_change_policy_details,omitempty"`
- // WebSessionsChangeFixedLengthPolicyDetails : Changed how long team members
- // can stay signed in to Dropbox on the web.
+ // WebSessionsChangeFixedLengthPolicyDetails : has no documentation (yet)
WebSessionsChangeFixedLengthPolicyDetails *WebSessionsChangeFixedLengthPolicyDetails `json:"web_sessions_change_fixed_length_policy_details,omitempty"`
- // WebSessionsChangeIdleLengthPolicyDetails : Changed how long team members
- // can be idle while signed in to Dropbox on the web.
+ // WebSessionsChangeIdleLengthPolicyDetails : has no documentation (yet)
WebSessionsChangeIdleLengthPolicyDetails *WebSessionsChangeIdleLengthPolicyDetails `json:"web_sessions_change_idle_length_policy_details,omitempty"`
- // TeamProfileAddLogoDetails : Added a team logo to be displayed on shared
- // link headers.
+ // TeamMergeFromDetails : has no documentation (yet)
+ TeamMergeFromDetails *TeamMergeFromDetails `json:"team_merge_from_details,omitempty"`
+ // TeamMergeToDetails : has no documentation (yet)
+ TeamMergeToDetails *TeamMergeToDetails `json:"team_merge_to_details,omitempty"`
+ // TeamProfileAddLogoDetails : has no documentation (yet)
TeamProfileAddLogoDetails *TeamProfileAddLogoDetails `json:"team_profile_add_logo_details,omitempty"`
- // TeamProfileChangeDefaultLanguageDetails : Changed the default language
- // for the team.
+ // TeamProfileChangeDefaultLanguageDetails : has no documentation (yet)
TeamProfileChangeDefaultLanguageDetails *TeamProfileChangeDefaultLanguageDetails `json:"team_profile_change_default_language_details,omitempty"`
- // TeamProfileChangeLogoDetails : Changed the team logo to be displayed on
- // shared link headers.
+ // TeamProfileChangeLogoDetails : has no documentation (yet)
TeamProfileChangeLogoDetails *TeamProfileChangeLogoDetails `json:"team_profile_change_logo_details,omitempty"`
- // TeamProfileChangeNameDetails : Changed the team name.
+ // TeamProfileChangeNameDetails : has no documentation (yet)
TeamProfileChangeNameDetails *TeamProfileChangeNameDetails `json:"team_profile_change_name_details,omitempty"`
- // TeamProfileRemoveLogoDetails : Removed the team logo to be displayed on
- // shared link headers.
+ // TeamProfileRemoveLogoDetails : has no documentation (yet)
TeamProfileRemoveLogoDetails *TeamProfileRemoveLogoDetails `json:"team_profile_remove_logo_details,omitempty"`
- // TfaAddBackupPhoneDetails : Added a backup phone for two-step
- // verification.
+ // TfaAddBackupPhoneDetails : has no documentation (yet)
TfaAddBackupPhoneDetails *TfaAddBackupPhoneDetails `json:"tfa_add_backup_phone_details,omitempty"`
- // TfaAddSecurityKeyDetails : Added a security key for two-step
- // verification.
+ // TfaAddSecurityKeyDetails : has no documentation (yet)
TfaAddSecurityKeyDetails *TfaAddSecurityKeyDetails `json:"tfa_add_security_key_details,omitempty"`
- // TfaChangeBackupPhoneDetails : Changed the backup phone for two-step
- // verification.
+ // TfaChangeBackupPhoneDetails : has no documentation (yet)
TfaChangeBackupPhoneDetails *TfaChangeBackupPhoneDetails `json:"tfa_change_backup_phone_details,omitempty"`
- // TfaChangeStatusDetails : Enabled, disabled or changed the configuration
- // for two-step verification.
+ // TfaChangeStatusDetails : has no documentation (yet)
TfaChangeStatusDetails *TfaChangeStatusDetails `json:"tfa_change_status_details,omitempty"`
- // TfaRemoveBackupPhoneDetails : Removed the backup phone for two-step
- // verification.
+ // TfaRemoveBackupPhoneDetails : has no documentation (yet)
TfaRemoveBackupPhoneDetails *TfaRemoveBackupPhoneDetails `json:"tfa_remove_backup_phone_details,omitempty"`
- // TfaRemoveSecurityKeyDetails : Removed a security key for two-step
- // verification.
+ // TfaRemoveSecurityKeyDetails : has no documentation (yet)
TfaRemoveSecurityKeyDetails *TfaRemoveSecurityKeyDetails `json:"tfa_remove_security_key_details,omitempty"`
- // TfaResetDetails : Reset two-step verification for team member.
+ // TfaResetDetails : has no documentation (yet)
TfaResetDetails *TfaResetDetails `json:"tfa_reset_details,omitempty"`
// MissingDetails : Hints that this event was returned with missing details
// due to an internal error.
@@ -2057,978 +2918,953 @@ type EventDetails struct {
// Valid tag values for EventDetails
const (
- EventDetailsMemberChangeMembershipTypeDetails = "member_change_membership_type_details"
- EventDetailsMemberPermanentlyDeleteAccountContentsDetails = "member_permanently_delete_account_contents_details"
- EventDetailsMemberSpaceLimitsChangeStatusDetails = "member_space_limits_change_status_details"
- EventDetailsMemberTransferAccountContentsDetails = "member_transfer_account_contents_details"
- EventDetailsPaperAdminExportStartDetails = "paper_admin_export_start_details"
- EventDetailsPaperEnabledUsersGroupAdditionDetails = "paper_enabled_users_group_addition_details"
- EventDetailsPaperEnabledUsersGroupRemovalDetails = "paper_enabled_users_group_removal_details"
- EventDetailsPaperExternalViewAllowDetails = "paper_external_view_allow_details"
- EventDetailsPaperExternalViewDefaultTeamDetails = "paper_external_view_default_team_details"
- EventDetailsPaperExternalViewForbidDetails = "paper_external_view_forbid_details"
- EventDetailsSfExternalInviteWarnDetails = "sf_external_invite_warn_details"
- EventDetailsTeamMergeFromDetails = "team_merge_from_details"
- EventDetailsTeamMergeToDetails = "team_merge_to_details"
- EventDetailsAppLinkTeamDetails = "app_link_team_details"
- EventDetailsAppLinkUserDetails = "app_link_user_details"
- EventDetailsAppUnlinkTeamDetails = "app_unlink_team_details"
- EventDetailsAppUnlinkUserDetails = "app_unlink_user_details"
- EventDetailsFileAddCommentDetails = "file_add_comment_details"
- EventDetailsFileChangeCommentSubscriptionDetails = "file_change_comment_subscription_details"
- EventDetailsFileDeleteCommentDetails = "file_delete_comment_details"
- EventDetailsFileLikeCommentDetails = "file_like_comment_details"
- EventDetailsFileResolveCommentDetails = "file_resolve_comment_details"
- EventDetailsFileUnlikeCommentDetails = "file_unlike_comment_details"
- EventDetailsFileUnresolveCommentDetails = "file_unresolve_comment_details"
- EventDetailsDeviceChangeIpDesktopDetails = "device_change_ip_desktop_details"
- EventDetailsDeviceChangeIpMobileDetails = "device_change_ip_mobile_details"
- EventDetailsDeviceChangeIpWebDetails = "device_change_ip_web_details"
- EventDetailsDeviceDeleteOnUnlinkFailDetails = "device_delete_on_unlink_fail_details"
- EventDetailsDeviceDeleteOnUnlinkSuccessDetails = "device_delete_on_unlink_success_details"
- EventDetailsDeviceLinkFailDetails = "device_link_fail_details"
- EventDetailsDeviceLinkSuccessDetails = "device_link_success_details"
- EventDetailsDeviceManagementDisabledDetails = "device_management_disabled_details"
- EventDetailsDeviceManagementEnabledDetails = "device_management_enabled_details"
- EventDetailsDeviceUnlinkDetails = "device_unlink_details"
- EventDetailsEmmRefreshAuthTokenDetails = "emm_refresh_auth_token_details"
- EventDetailsAccountCaptureChangeAvailabilityDetails = "account_capture_change_availability_details"
- EventDetailsAccountCaptureMigrateAccountDetails = "account_capture_migrate_account_details"
- EventDetailsAccountCaptureRelinquishAccountDetails = "account_capture_relinquish_account_details"
- EventDetailsDisabledDomainInvitesDetails = "disabled_domain_invites_details"
- EventDetailsDomainInvitesApproveRequestToJoinTeamDetails = "domain_invites_approve_request_to_join_team_details"
- EventDetailsDomainInvitesDeclineRequestToJoinTeamDetails = "domain_invites_decline_request_to_join_team_details"
- EventDetailsDomainInvitesEmailExistingUsersDetails = "domain_invites_email_existing_users_details"
- EventDetailsDomainInvitesRequestToJoinTeamDetails = "domain_invites_request_to_join_team_details"
- EventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails = "domain_invites_set_invite_new_user_pref_to_no_details"
- EventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails = "domain_invites_set_invite_new_user_pref_to_yes_details"
- EventDetailsDomainVerificationAddDomainFailDetails = "domain_verification_add_domain_fail_details"
- EventDetailsDomainVerificationAddDomainSuccessDetails = "domain_verification_add_domain_success_details"
- EventDetailsDomainVerificationRemoveDomainDetails = "domain_verification_remove_domain_details"
- EventDetailsEnabledDomainInvitesDetails = "enabled_domain_invites_details"
- EventDetailsCreateFolderDetails = "create_folder_details"
- EventDetailsFileAddDetails = "file_add_details"
- EventDetailsFileCopyDetails = "file_copy_details"
- EventDetailsFileDeleteDetails = "file_delete_details"
- EventDetailsFileDownloadDetails = "file_download_details"
- EventDetailsFileEditDetails = "file_edit_details"
- EventDetailsFileGetCopyReferenceDetails = "file_get_copy_reference_details"
- EventDetailsFileMoveDetails = "file_move_details"
- EventDetailsFilePermanentlyDeleteDetails = "file_permanently_delete_details"
- EventDetailsFilePreviewDetails = "file_preview_details"
- EventDetailsFileRenameDetails = "file_rename_details"
- EventDetailsFileRestoreDetails = "file_restore_details"
- EventDetailsFileRevertDetails = "file_revert_details"
- EventDetailsFileRollbackChangesDetails = "file_rollback_changes_details"
- EventDetailsFileSaveCopyReferenceDetails = "file_save_copy_reference_details"
- EventDetailsFileRequestAddDeadlineDetails = "file_request_add_deadline_details"
- EventDetailsFileRequestChangeDetails = "file_request_change_details"
- EventDetailsFileRequestChangeFolderDetails = "file_request_change_folder_details"
- EventDetailsFileRequestCloseDetails = "file_request_close_details"
- EventDetailsFileRequestCreateDetails = "file_request_create_details"
- EventDetailsFileRequestReceiveFileDetails = "file_request_receive_file_details"
- EventDetailsFileRequestRemoveDeadlineDetails = "file_request_remove_deadline_details"
- EventDetailsFileRequestSendDetails = "file_request_send_details"
- EventDetailsGroupAddExternalIdDetails = "group_add_external_id_details"
- EventDetailsGroupAddMemberDetails = "group_add_member_details"
- EventDetailsGroupChangeExternalIdDetails = "group_change_external_id_details"
- EventDetailsGroupChangeManagementTypeDetails = "group_change_management_type_details"
- EventDetailsGroupChangeMemberRoleDetails = "group_change_member_role_details"
- EventDetailsGroupCreateDetails = "group_create_details"
- EventDetailsGroupDeleteDetails = "group_delete_details"
- EventDetailsGroupMovedDetails = "group_moved_details"
- EventDetailsGroupRemoveExternalIdDetails = "group_remove_external_id_details"
- EventDetailsGroupRemoveMemberDetails = "group_remove_member_details"
- EventDetailsGroupRenameDetails = "group_rename_details"
- EventDetailsEmmErrorDetails = "emm_error_details"
- EventDetailsLoginFailDetails = "login_fail_details"
- EventDetailsLoginSuccessDetails = "login_success_details"
- EventDetailsLogoutDetails = "logout_details"
- EventDetailsResellerSupportSessionEndDetails = "reseller_support_session_end_details"
- EventDetailsResellerSupportSessionStartDetails = "reseller_support_session_start_details"
- EventDetailsSignInAsSessionEndDetails = "sign_in_as_session_end_details"
- EventDetailsSignInAsSessionStartDetails = "sign_in_as_session_start_details"
- EventDetailsSsoErrorDetails = "sso_error_details"
- EventDetailsMemberAddNameDetails = "member_add_name_details"
- EventDetailsMemberChangeAdminRoleDetails = "member_change_admin_role_details"
- EventDetailsMemberChangeEmailDetails = "member_change_email_details"
- EventDetailsMemberChangeNameDetails = "member_change_name_details"
- EventDetailsMemberChangeStatusDetails = "member_change_status_details"
- EventDetailsMemberSuggestDetails = "member_suggest_details"
- EventDetailsPaperContentAddMemberDetails = "paper_content_add_member_details"
- EventDetailsPaperContentAddToFolderDetails = "paper_content_add_to_folder_details"
- EventDetailsPaperContentArchiveDetails = "paper_content_archive_details"
- EventDetailsPaperContentCreateDetails = "paper_content_create_details"
- EventDetailsPaperContentPermanentlyDeleteDetails = "paper_content_permanently_delete_details"
- EventDetailsPaperContentRemoveFromFolderDetails = "paper_content_remove_from_folder_details"
- EventDetailsPaperContentRemoveMemberDetails = "paper_content_remove_member_details"
- EventDetailsPaperContentRenameDetails = "paper_content_rename_details"
- EventDetailsPaperContentRestoreDetails = "paper_content_restore_details"
- EventDetailsPaperDocAddCommentDetails = "paper_doc_add_comment_details"
- EventDetailsPaperDocChangeMemberRoleDetails = "paper_doc_change_member_role_details"
- EventDetailsPaperDocChangeSharingPolicyDetails = "paper_doc_change_sharing_policy_details"
- EventDetailsPaperDocChangeSubscriptionDetails = "paper_doc_change_subscription_details"
- EventDetailsPaperDocDeletedDetails = "paper_doc_deleted_details"
- EventDetailsPaperDocDeleteCommentDetails = "paper_doc_delete_comment_details"
- EventDetailsPaperDocDownloadDetails = "paper_doc_download_details"
- EventDetailsPaperDocEditDetails = "paper_doc_edit_details"
- EventDetailsPaperDocEditCommentDetails = "paper_doc_edit_comment_details"
- EventDetailsPaperDocFollowedDetails = "paper_doc_followed_details"
- EventDetailsPaperDocMentionDetails = "paper_doc_mention_details"
- EventDetailsPaperDocRequestAccessDetails = "paper_doc_request_access_details"
- EventDetailsPaperDocResolveCommentDetails = "paper_doc_resolve_comment_details"
- EventDetailsPaperDocRevertDetails = "paper_doc_revert_details"
- EventDetailsPaperDocSlackShareDetails = "paper_doc_slack_share_details"
- EventDetailsPaperDocTeamInviteDetails = "paper_doc_team_invite_details"
- EventDetailsPaperDocTrashedDetails = "paper_doc_trashed_details"
- EventDetailsPaperDocUnresolveCommentDetails = "paper_doc_unresolve_comment_details"
- EventDetailsPaperDocUntrashedDetails = "paper_doc_untrashed_details"
- EventDetailsPaperDocViewDetails = "paper_doc_view_details"
- EventDetailsPaperFolderChangeSubscriptionDetails = "paper_folder_change_subscription_details"
- EventDetailsPaperFolderDeletedDetails = "paper_folder_deleted_details"
- EventDetailsPaperFolderFollowedDetails = "paper_folder_followed_details"
- EventDetailsPaperFolderTeamInviteDetails = "paper_folder_team_invite_details"
- EventDetailsPasswordChangeDetails = "password_change_details"
- EventDetailsPasswordResetDetails = "password_reset_details"
- EventDetailsPasswordResetAllDetails = "password_reset_all_details"
- EventDetailsEmmCreateExceptionsReportDetails = "emm_create_exceptions_report_details"
- EventDetailsEmmCreateUsageReportDetails = "emm_create_usage_report_details"
- EventDetailsSmartSyncCreateAdminPrivilegeReportDetails = "smart_sync_create_admin_privilege_report_details"
- EventDetailsTeamActivityCreateReportDetails = "team_activity_create_report_details"
- EventDetailsCollectionShareDetails = "collection_share_details"
- EventDetailsNoteAclInviteOnlyDetails = "note_acl_invite_only_details"
- EventDetailsNoteAclLinkDetails = "note_acl_link_details"
- EventDetailsNoteAclTeamLinkDetails = "note_acl_team_link_details"
- EventDetailsNoteSharedDetails = "note_shared_details"
- EventDetailsNoteShareReceiveDetails = "note_share_receive_details"
- EventDetailsOpenNoteSharedDetails = "open_note_shared_details"
- EventDetailsSfAddGroupDetails = "sf_add_group_details"
- EventDetailsSfAllowNonMembersToViewSharedLinksDetails = "sf_allow_non_members_to_view_shared_links_details"
- EventDetailsSfInviteGroupDetails = "sf_invite_group_details"
- EventDetailsSfNestDetails = "sf_nest_details"
- EventDetailsSfTeamDeclineDetails = "sf_team_decline_details"
- EventDetailsSfTeamGrantAccessDetails = "sf_team_grant_access_details"
- EventDetailsSfTeamInviteDetails = "sf_team_invite_details"
- EventDetailsSfTeamInviteChangeRoleDetails = "sf_team_invite_change_role_details"
- EventDetailsSfTeamJoinDetails = "sf_team_join_details"
- EventDetailsSfTeamJoinFromOobLinkDetails = "sf_team_join_from_oob_link_details"
- EventDetailsSfTeamUninviteDetails = "sf_team_uninvite_details"
- EventDetailsSharedContentAddInviteesDetails = "shared_content_add_invitees_details"
- EventDetailsSharedContentAddLinkExpiryDetails = "shared_content_add_link_expiry_details"
- EventDetailsSharedContentAddLinkPasswordDetails = "shared_content_add_link_password_details"
- EventDetailsSharedContentAddMemberDetails = "shared_content_add_member_details"
- EventDetailsSharedContentChangeDownloadsPolicyDetails = "shared_content_change_downloads_policy_details"
- EventDetailsSharedContentChangeInviteeRoleDetails = "shared_content_change_invitee_role_details"
- EventDetailsSharedContentChangeLinkAudienceDetails = "shared_content_change_link_audience_details"
- EventDetailsSharedContentChangeLinkExpiryDetails = "shared_content_change_link_expiry_details"
- EventDetailsSharedContentChangeLinkPasswordDetails = "shared_content_change_link_password_details"
- EventDetailsSharedContentChangeMemberRoleDetails = "shared_content_change_member_role_details"
- EventDetailsSharedContentChangeViewerInfoPolicyDetails = "shared_content_change_viewer_info_policy_details"
- EventDetailsSharedContentClaimInvitationDetails = "shared_content_claim_invitation_details"
- EventDetailsSharedContentCopyDetails = "shared_content_copy_details"
- EventDetailsSharedContentDownloadDetails = "shared_content_download_details"
- EventDetailsSharedContentRelinquishMembershipDetails = "shared_content_relinquish_membership_details"
- EventDetailsSharedContentRemoveInviteeDetails = "shared_content_remove_invitee_details"
- EventDetailsSharedContentRemoveLinkExpiryDetails = "shared_content_remove_link_expiry_details"
- EventDetailsSharedContentRemoveLinkPasswordDetails = "shared_content_remove_link_password_details"
- EventDetailsSharedContentRemoveMemberDetails = "shared_content_remove_member_details"
- EventDetailsSharedContentRequestAccessDetails = "shared_content_request_access_details"
- EventDetailsSharedContentUnshareDetails = "shared_content_unshare_details"
- EventDetailsSharedContentViewDetails = "shared_content_view_details"
- EventDetailsSharedFolderChangeConfidentialityDetails = "shared_folder_change_confidentiality_details"
- EventDetailsSharedFolderChangeLinkPolicyDetails = "shared_folder_change_link_policy_details"
- EventDetailsSharedFolderChangeMemberManagementPolicyDetails = "shared_folder_change_member_management_policy_details"
- EventDetailsSharedFolderChangeMemberPolicyDetails = "shared_folder_change_member_policy_details"
- EventDetailsSharedFolderCreateDetails = "shared_folder_create_details"
- EventDetailsSharedFolderMountDetails = "shared_folder_mount_details"
- EventDetailsSharedFolderTransferOwnershipDetails = "shared_folder_transfer_ownership_details"
- EventDetailsSharedFolderUnmountDetails = "shared_folder_unmount_details"
- EventDetailsSharedNoteOpenedDetails = "shared_note_opened_details"
- EventDetailsShmodelAppCreateDetails = "shmodel_app_create_details"
- EventDetailsShmodelCreateDetails = "shmodel_create_details"
- EventDetailsShmodelDisableDetails = "shmodel_disable_details"
- EventDetailsShmodelFbShareDetails = "shmodel_fb_share_details"
- EventDetailsShmodelGroupShareDetails = "shmodel_group_share_details"
- EventDetailsShmodelRemoveExpirationDetails = "shmodel_remove_expiration_details"
- EventDetailsShmodelSetExpirationDetails = "shmodel_set_expiration_details"
- EventDetailsShmodelTeamCopyDetails = "shmodel_team_copy_details"
- EventDetailsShmodelTeamDownloadDetails = "shmodel_team_download_details"
- EventDetailsShmodelTeamShareDetails = "shmodel_team_share_details"
- EventDetailsShmodelTeamViewDetails = "shmodel_team_view_details"
- EventDetailsShmodelVisibilityPasswordDetails = "shmodel_visibility_password_details"
- EventDetailsShmodelVisibilityPublicDetails = "shmodel_visibility_public_details"
- EventDetailsShmodelVisibilityTeamOnlyDetails = "shmodel_visibility_team_only_details"
- EventDetailsSsoAddCertDetails = "sso_add_cert_details"
- EventDetailsSsoAddLoginUrlDetails = "sso_add_login_url_details"
- EventDetailsSsoAddLogoutUrlDetails = "sso_add_logout_url_details"
- EventDetailsSsoChangeCertDetails = "sso_change_cert_details"
- EventDetailsSsoChangeLoginUrlDetails = "sso_change_login_url_details"
- EventDetailsSsoChangeLogoutUrlDetails = "sso_change_logout_url_details"
- EventDetailsSsoChangeSamlIdentityModeDetails = "sso_change_saml_identity_mode_details"
- EventDetailsSsoRemoveCertDetails = "sso_remove_cert_details"
- EventDetailsSsoRemoveLoginUrlDetails = "sso_remove_login_url_details"
- EventDetailsSsoRemoveLogoutUrlDetails = "sso_remove_logout_url_details"
- EventDetailsTeamFolderChangeStatusDetails = "team_folder_change_status_details"
- EventDetailsTeamFolderCreateDetails = "team_folder_create_details"
- EventDetailsTeamFolderDowngradeDetails = "team_folder_downgrade_details"
- EventDetailsTeamFolderPermanentlyDeleteDetails = "team_folder_permanently_delete_details"
- EventDetailsTeamFolderRenameDetails = "team_folder_rename_details"
- EventDetailsAccountCaptureChangePolicyDetails = "account_capture_change_policy_details"
- EventDetailsAllowDownloadDisabledDetails = "allow_download_disabled_details"
- EventDetailsAllowDownloadEnabledDetails = "allow_download_enabled_details"
- EventDetailsDataPlacementRestrictionChangePolicyDetails = "data_placement_restriction_change_policy_details"
- EventDetailsDataPlacementRestrictionSatisfyPolicyDetails = "data_placement_restriction_satisfy_policy_details"
- EventDetailsDeviceApprovalsChangeDesktopPolicyDetails = "device_approvals_change_desktop_policy_details"
- EventDetailsDeviceApprovalsChangeMobilePolicyDetails = "device_approvals_change_mobile_policy_details"
- EventDetailsDeviceApprovalsChangeOverageActionDetails = "device_approvals_change_overage_action_details"
- EventDetailsDeviceApprovalsChangeUnlinkActionDetails = "device_approvals_change_unlink_action_details"
- EventDetailsEmmAddExceptionDetails = "emm_add_exception_details"
- EventDetailsEmmChangePolicyDetails = "emm_change_policy_details"
- EventDetailsEmmRemoveExceptionDetails = "emm_remove_exception_details"
- EventDetailsExtendedVersionHistoryChangePolicyDetails = "extended_version_history_change_policy_details"
- EventDetailsFileCommentsChangePolicyDetails = "file_comments_change_policy_details"
- EventDetailsFileRequestsChangePolicyDetails = "file_requests_change_policy_details"
- EventDetailsFileRequestsEmailsEnabledDetails = "file_requests_emails_enabled_details"
- EventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails = "file_requests_emails_restricted_to_team_only_details"
- EventDetailsGoogleSsoChangePolicyDetails = "google_sso_change_policy_details"
- EventDetailsGroupUserManagementChangePolicyDetails = "group_user_management_change_policy_details"
- EventDetailsMemberRequestsChangePolicyDetails = "member_requests_change_policy_details"
- EventDetailsMemberSpaceLimitsAddExceptionDetails = "member_space_limits_add_exception_details"
- EventDetailsMemberSpaceLimitsChangePolicyDetails = "member_space_limits_change_policy_details"
- EventDetailsMemberSpaceLimitsRemoveExceptionDetails = "member_space_limits_remove_exception_details"
- EventDetailsMemberSuggestionsChangePolicyDetails = "member_suggestions_change_policy_details"
- EventDetailsMicrosoftOfficeAddinChangePolicyDetails = "microsoft_office_addin_change_policy_details"
- EventDetailsNetworkControlChangePolicyDetails = "network_control_change_policy_details"
- EventDetailsPaperChangeDeploymentPolicyDetails = "paper_change_deployment_policy_details"
- EventDetailsPaperChangeMemberLinkPolicyDetails = "paper_change_member_link_policy_details"
- EventDetailsPaperChangeMemberPolicyDetails = "paper_change_member_policy_details"
- EventDetailsPaperChangePolicyDetails = "paper_change_policy_details"
- EventDetailsPermanentDeleteChangePolicyDetails = "permanent_delete_change_policy_details"
- EventDetailsSharingChangeFolderJoinPolicyDetails = "sharing_change_folder_join_policy_details"
- EventDetailsSharingChangeLinkPolicyDetails = "sharing_change_link_policy_details"
- EventDetailsSharingChangeMemberPolicyDetails = "sharing_change_member_policy_details"
- EventDetailsSmartSyncChangePolicyDetails = "smart_sync_change_policy_details"
- EventDetailsSmartSyncNotOptOutDetails = "smart_sync_not_opt_out_details"
- EventDetailsSmartSyncOptOutDetails = "smart_sync_opt_out_details"
- EventDetailsSsoChangePolicyDetails = "sso_change_policy_details"
- EventDetailsTfaChangePolicyDetails = "tfa_change_policy_details"
- EventDetailsTwoAccountChangePolicyDetails = "two_account_change_policy_details"
- EventDetailsWebSessionsChangeFixedLengthPolicyDetails = "web_sessions_change_fixed_length_policy_details"
- EventDetailsWebSessionsChangeIdleLengthPolicyDetails = "web_sessions_change_idle_length_policy_details"
- EventDetailsTeamProfileAddLogoDetails = "team_profile_add_logo_details"
- EventDetailsTeamProfileChangeDefaultLanguageDetails = "team_profile_change_default_language_details"
- EventDetailsTeamProfileChangeLogoDetails = "team_profile_change_logo_details"
- EventDetailsTeamProfileChangeNameDetails = "team_profile_change_name_details"
- EventDetailsTeamProfileRemoveLogoDetails = "team_profile_remove_logo_details"
- EventDetailsTfaAddBackupPhoneDetails = "tfa_add_backup_phone_details"
- EventDetailsTfaAddSecurityKeyDetails = "tfa_add_security_key_details"
- EventDetailsTfaChangeBackupPhoneDetails = "tfa_change_backup_phone_details"
- EventDetailsTfaChangeStatusDetails = "tfa_change_status_details"
- EventDetailsTfaRemoveBackupPhoneDetails = "tfa_remove_backup_phone_details"
- EventDetailsTfaRemoveSecurityKeyDetails = "tfa_remove_security_key_details"
- EventDetailsTfaResetDetails = "tfa_reset_details"
- EventDetailsMissingDetails = "missing_details"
- EventDetailsOther = "other"
+ EventDetailsAppLinkTeamDetails = "app_link_team_details"
+ EventDetailsAppLinkUserDetails = "app_link_user_details"
+ EventDetailsAppUnlinkTeamDetails = "app_unlink_team_details"
+ EventDetailsAppUnlinkUserDetails = "app_unlink_user_details"
+ EventDetailsFileAddCommentDetails = "file_add_comment_details"
+ EventDetailsFileChangeCommentSubscriptionDetails = "file_change_comment_subscription_details"
+ EventDetailsFileDeleteCommentDetails = "file_delete_comment_details"
+ EventDetailsFileLikeCommentDetails = "file_like_comment_details"
+ EventDetailsFileResolveCommentDetails = "file_resolve_comment_details"
+ EventDetailsFileUnlikeCommentDetails = "file_unlike_comment_details"
+ EventDetailsFileUnresolveCommentDetails = "file_unresolve_comment_details"
+ EventDetailsDeviceChangeIpDesktopDetails = "device_change_ip_desktop_details"
+ EventDetailsDeviceChangeIpMobileDetails = "device_change_ip_mobile_details"
+ EventDetailsDeviceChangeIpWebDetails = "device_change_ip_web_details"
+ EventDetailsDeviceDeleteOnUnlinkFailDetails = "device_delete_on_unlink_fail_details"
+ EventDetailsDeviceDeleteOnUnlinkSuccessDetails = "device_delete_on_unlink_success_details"
+ EventDetailsDeviceLinkFailDetails = "device_link_fail_details"
+ EventDetailsDeviceLinkSuccessDetails = "device_link_success_details"
+ EventDetailsDeviceManagementDisabledDetails = "device_management_disabled_details"
+ EventDetailsDeviceManagementEnabledDetails = "device_management_enabled_details"
+ EventDetailsDeviceUnlinkDetails = "device_unlink_details"
+ EventDetailsEmmRefreshAuthTokenDetails = "emm_refresh_auth_token_details"
+ EventDetailsAccountCaptureChangeAvailabilityDetails = "account_capture_change_availability_details"
+ EventDetailsAccountCaptureMigrateAccountDetails = "account_capture_migrate_account_details"
+ EventDetailsAccountCaptureNotificationEmailsSentDetails = "account_capture_notification_emails_sent_details"
+ EventDetailsAccountCaptureRelinquishAccountDetails = "account_capture_relinquish_account_details"
+ EventDetailsDisabledDomainInvitesDetails = "disabled_domain_invites_details"
+ EventDetailsDomainInvitesApproveRequestToJoinTeamDetails = "domain_invites_approve_request_to_join_team_details"
+ EventDetailsDomainInvitesDeclineRequestToJoinTeamDetails = "domain_invites_decline_request_to_join_team_details"
+ EventDetailsDomainInvitesEmailExistingUsersDetails = "domain_invites_email_existing_users_details"
+ EventDetailsDomainInvitesRequestToJoinTeamDetails = "domain_invites_request_to_join_team_details"
+ EventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails = "domain_invites_set_invite_new_user_pref_to_no_details"
+ EventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails = "domain_invites_set_invite_new_user_pref_to_yes_details"
+ EventDetailsDomainVerificationAddDomainFailDetails = "domain_verification_add_domain_fail_details"
+ EventDetailsDomainVerificationAddDomainSuccessDetails = "domain_verification_add_domain_success_details"
+ EventDetailsDomainVerificationRemoveDomainDetails = "domain_verification_remove_domain_details"
+ EventDetailsEnabledDomainInvitesDetails = "enabled_domain_invites_details"
+ EventDetailsCreateFolderDetails = "create_folder_details"
+ EventDetailsFileAddDetails = "file_add_details"
+ EventDetailsFileCopyDetails = "file_copy_details"
+ EventDetailsFileDeleteDetails = "file_delete_details"
+ EventDetailsFileDownloadDetails = "file_download_details"
+ EventDetailsFileEditDetails = "file_edit_details"
+ EventDetailsFileGetCopyReferenceDetails = "file_get_copy_reference_details"
+ EventDetailsFileMoveDetails = "file_move_details"
+ EventDetailsFilePermanentlyDeleteDetails = "file_permanently_delete_details"
+ EventDetailsFilePreviewDetails = "file_preview_details"
+ EventDetailsFileRenameDetails = "file_rename_details"
+ EventDetailsFileRestoreDetails = "file_restore_details"
+ EventDetailsFileRevertDetails = "file_revert_details"
+ EventDetailsFileRollbackChangesDetails = "file_rollback_changes_details"
+ EventDetailsFileSaveCopyReferenceDetails = "file_save_copy_reference_details"
+ EventDetailsFileRequestChangeDetails = "file_request_change_details"
+ EventDetailsFileRequestCloseDetails = "file_request_close_details"
+ EventDetailsFileRequestCreateDetails = "file_request_create_details"
+ EventDetailsFileRequestReceiveFileDetails = "file_request_receive_file_details"
+ EventDetailsGroupAddExternalIdDetails = "group_add_external_id_details"
+ EventDetailsGroupAddMemberDetails = "group_add_member_details"
+ EventDetailsGroupChangeExternalIdDetails = "group_change_external_id_details"
+ EventDetailsGroupChangeManagementTypeDetails = "group_change_management_type_details"
+ EventDetailsGroupChangeMemberRoleDetails = "group_change_member_role_details"
+ EventDetailsGroupCreateDetails = "group_create_details"
+ EventDetailsGroupDeleteDetails = "group_delete_details"
+ EventDetailsGroupDescriptionUpdatedDetails = "group_description_updated_details"
+ EventDetailsGroupJoinPolicyUpdatedDetails = "group_join_policy_updated_details"
+ EventDetailsGroupMovedDetails = "group_moved_details"
+ EventDetailsGroupRemoveExternalIdDetails = "group_remove_external_id_details"
+ EventDetailsGroupRemoveMemberDetails = "group_remove_member_details"
+ EventDetailsGroupRenameDetails = "group_rename_details"
+ EventDetailsEmmErrorDetails = "emm_error_details"
+ EventDetailsLoginFailDetails = "login_fail_details"
+ EventDetailsLoginSuccessDetails = "login_success_details"
+ EventDetailsLogoutDetails = "logout_details"
+ EventDetailsResellerSupportSessionEndDetails = "reseller_support_session_end_details"
+ EventDetailsResellerSupportSessionStartDetails = "reseller_support_session_start_details"
+ EventDetailsSignInAsSessionEndDetails = "sign_in_as_session_end_details"
+ EventDetailsSignInAsSessionStartDetails = "sign_in_as_session_start_details"
+ EventDetailsSsoErrorDetails = "sso_error_details"
+ EventDetailsMemberAddNameDetails = "member_add_name_details"
+ EventDetailsMemberChangeAdminRoleDetails = "member_change_admin_role_details"
+ EventDetailsMemberChangeEmailDetails = "member_change_email_details"
+ EventDetailsMemberChangeMembershipTypeDetails = "member_change_membership_type_details"
+ EventDetailsMemberChangeNameDetails = "member_change_name_details"
+ EventDetailsMemberChangeStatusDetails = "member_change_status_details"
+ EventDetailsMemberPermanentlyDeleteAccountContentsDetails = "member_permanently_delete_account_contents_details"
+ EventDetailsMemberSpaceLimitsAddCustomQuotaDetails = "member_space_limits_add_custom_quota_details"
+ EventDetailsMemberSpaceLimitsChangeCustomQuotaDetails = "member_space_limits_change_custom_quota_details"
+ EventDetailsMemberSpaceLimitsChangeStatusDetails = "member_space_limits_change_status_details"
+ EventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails = "member_space_limits_remove_custom_quota_details"
+ EventDetailsMemberSuggestDetails = "member_suggest_details"
+ EventDetailsMemberTransferAccountContentsDetails = "member_transfer_account_contents_details"
+ EventDetailsSecondaryMailsPolicyChangedDetails = "secondary_mails_policy_changed_details"
+ EventDetailsPaperContentAddMemberDetails = "paper_content_add_member_details"
+ EventDetailsPaperContentAddToFolderDetails = "paper_content_add_to_folder_details"
+ EventDetailsPaperContentArchiveDetails = "paper_content_archive_details"
+ EventDetailsPaperContentCreateDetails = "paper_content_create_details"
+ EventDetailsPaperContentPermanentlyDeleteDetails = "paper_content_permanently_delete_details"
+ EventDetailsPaperContentRemoveFromFolderDetails = "paper_content_remove_from_folder_details"
+ EventDetailsPaperContentRemoveMemberDetails = "paper_content_remove_member_details"
+ EventDetailsPaperContentRenameDetails = "paper_content_rename_details"
+ EventDetailsPaperContentRestoreDetails = "paper_content_restore_details"
+ EventDetailsPaperDocAddCommentDetails = "paper_doc_add_comment_details"
+ EventDetailsPaperDocChangeMemberRoleDetails = "paper_doc_change_member_role_details"
+ EventDetailsPaperDocChangeSharingPolicyDetails = "paper_doc_change_sharing_policy_details"
+ EventDetailsPaperDocChangeSubscriptionDetails = "paper_doc_change_subscription_details"
+ EventDetailsPaperDocDeletedDetails = "paper_doc_deleted_details"
+ EventDetailsPaperDocDeleteCommentDetails = "paper_doc_delete_comment_details"
+ EventDetailsPaperDocDownloadDetails = "paper_doc_download_details"
+ EventDetailsPaperDocEditDetails = "paper_doc_edit_details"
+ EventDetailsPaperDocEditCommentDetails = "paper_doc_edit_comment_details"
+ EventDetailsPaperDocFollowedDetails = "paper_doc_followed_details"
+ EventDetailsPaperDocMentionDetails = "paper_doc_mention_details"
+ EventDetailsPaperDocRequestAccessDetails = "paper_doc_request_access_details"
+ EventDetailsPaperDocResolveCommentDetails = "paper_doc_resolve_comment_details"
+ EventDetailsPaperDocRevertDetails = "paper_doc_revert_details"
+ EventDetailsPaperDocSlackShareDetails = "paper_doc_slack_share_details"
+ EventDetailsPaperDocTeamInviteDetails = "paper_doc_team_invite_details"
+ EventDetailsPaperDocTrashedDetails = "paper_doc_trashed_details"
+ EventDetailsPaperDocUnresolveCommentDetails = "paper_doc_unresolve_comment_details"
+ EventDetailsPaperDocUntrashedDetails = "paper_doc_untrashed_details"
+ EventDetailsPaperDocViewDetails = "paper_doc_view_details"
+ EventDetailsPaperExternalViewAllowDetails = "paper_external_view_allow_details"
+ EventDetailsPaperExternalViewDefaultTeamDetails = "paper_external_view_default_team_details"
+ EventDetailsPaperExternalViewForbidDetails = "paper_external_view_forbid_details"
+ EventDetailsPaperFolderChangeSubscriptionDetails = "paper_folder_change_subscription_details"
+ EventDetailsPaperFolderDeletedDetails = "paper_folder_deleted_details"
+ EventDetailsPaperFolderFollowedDetails = "paper_folder_followed_details"
+ EventDetailsPaperFolderTeamInviteDetails = "paper_folder_team_invite_details"
+ EventDetailsPasswordChangeDetails = "password_change_details"
+ EventDetailsPasswordResetDetails = "password_reset_details"
+ EventDetailsPasswordResetAllDetails = "password_reset_all_details"
+ EventDetailsEmmCreateExceptionsReportDetails = "emm_create_exceptions_report_details"
+ EventDetailsEmmCreateUsageReportDetails = "emm_create_usage_report_details"
+ EventDetailsExportMembersReportDetails = "export_members_report_details"
+ EventDetailsPaperAdminExportStartDetails = "paper_admin_export_start_details"
+ EventDetailsSmartSyncCreateAdminPrivilegeReportDetails = "smart_sync_create_admin_privilege_report_details"
+ EventDetailsTeamActivityCreateReportDetails = "team_activity_create_report_details"
+ EventDetailsCollectionShareDetails = "collection_share_details"
+ EventDetailsNoteAclInviteOnlyDetails = "note_acl_invite_only_details"
+ EventDetailsNoteAclLinkDetails = "note_acl_link_details"
+ EventDetailsNoteAclTeamLinkDetails = "note_acl_team_link_details"
+ EventDetailsNoteSharedDetails = "note_shared_details"
+ EventDetailsNoteShareReceiveDetails = "note_share_receive_details"
+ EventDetailsOpenNoteSharedDetails = "open_note_shared_details"
+ EventDetailsSfAddGroupDetails = "sf_add_group_details"
+ EventDetailsSfAllowNonMembersToViewSharedLinksDetails = "sf_allow_non_members_to_view_shared_links_details"
+ EventDetailsSfExternalInviteWarnDetails = "sf_external_invite_warn_details"
+ EventDetailsSfFbInviteDetails = "sf_fb_invite_details"
+ EventDetailsSfFbInviteChangeRoleDetails = "sf_fb_invite_change_role_details"
+ EventDetailsSfFbUninviteDetails = "sf_fb_uninvite_details"
+ EventDetailsSfInviteGroupDetails = "sf_invite_group_details"
+ EventDetailsSfTeamGrantAccessDetails = "sf_team_grant_access_details"
+ EventDetailsSfTeamInviteDetails = "sf_team_invite_details"
+ EventDetailsSfTeamInviteChangeRoleDetails = "sf_team_invite_change_role_details"
+ EventDetailsSfTeamJoinDetails = "sf_team_join_details"
+ EventDetailsSfTeamJoinFromOobLinkDetails = "sf_team_join_from_oob_link_details"
+ EventDetailsSfTeamUninviteDetails = "sf_team_uninvite_details"
+ EventDetailsSharedContentAddInviteesDetails = "shared_content_add_invitees_details"
+ EventDetailsSharedContentAddLinkExpiryDetails = "shared_content_add_link_expiry_details"
+ EventDetailsSharedContentAddLinkPasswordDetails = "shared_content_add_link_password_details"
+ EventDetailsSharedContentAddMemberDetails = "shared_content_add_member_details"
+ EventDetailsSharedContentChangeDownloadsPolicyDetails = "shared_content_change_downloads_policy_details"
+ EventDetailsSharedContentChangeInviteeRoleDetails = "shared_content_change_invitee_role_details"
+ EventDetailsSharedContentChangeLinkAudienceDetails = "shared_content_change_link_audience_details"
+ EventDetailsSharedContentChangeLinkExpiryDetails = "shared_content_change_link_expiry_details"
+ EventDetailsSharedContentChangeLinkPasswordDetails = "shared_content_change_link_password_details"
+ EventDetailsSharedContentChangeMemberRoleDetails = "shared_content_change_member_role_details"
+ EventDetailsSharedContentChangeViewerInfoPolicyDetails = "shared_content_change_viewer_info_policy_details"
+ EventDetailsSharedContentClaimInvitationDetails = "shared_content_claim_invitation_details"
+ EventDetailsSharedContentCopyDetails = "shared_content_copy_details"
+ EventDetailsSharedContentDownloadDetails = "shared_content_download_details"
+ EventDetailsSharedContentRelinquishMembershipDetails = "shared_content_relinquish_membership_details"
+ EventDetailsSharedContentRemoveInviteesDetails = "shared_content_remove_invitees_details"
+ EventDetailsSharedContentRemoveLinkExpiryDetails = "shared_content_remove_link_expiry_details"
+ EventDetailsSharedContentRemoveLinkPasswordDetails = "shared_content_remove_link_password_details"
+ EventDetailsSharedContentRemoveMemberDetails = "shared_content_remove_member_details"
+ EventDetailsSharedContentRequestAccessDetails = "shared_content_request_access_details"
+ EventDetailsSharedContentUnshareDetails = "shared_content_unshare_details"
+ EventDetailsSharedContentViewDetails = "shared_content_view_details"
+ EventDetailsSharedFolderChangeLinkPolicyDetails = "shared_folder_change_link_policy_details"
+ EventDetailsSharedFolderChangeMembersInheritancePolicyDetails = "shared_folder_change_members_inheritance_policy_details"
+ EventDetailsSharedFolderChangeMembersManagementPolicyDetails = "shared_folder_change_members_management_policy_details"
+ EventDetailsSharedFolderChangeMembersPolicyDetails = "shared_folder_change_members_policy_details"
+ EventDetailsSharedFolderCreateDetails = "shared_folder_create_details"
+ EventDetailsSharedFolderDeclineInvitationDetails = "shared_folder_decline_invitation_details"
+ EventDetailsSharedFolderMountDetails = "shared_folder_mount_details"
+ EventDetailsSharedFolderNestDetails = "shared_folder_nest_details"
+ EventDetailsSharedFolderTransferOwnershipDetails = "shared_folder_transfer_ownership_details"
+ EventDetailsSharedFolderUnmountDetails = "shared_folder_unmount_details"
+ EventDetailsSharedLinkAddExpiryDetails = "shared_link_add_expiry_details"
+ EventDetailsSharedLinkChangeExpiryDetails = "shared_link_change_expiry_details"
+ EventDetailsSharedLinkChangeVisibilityDetails = "shared_link_change_visibility_details"
+ EventDetailsSharedLinkCopyDetails = "shared_link_copy_details"
+ EventDetailsSharedLinkCreateDetails = "shared_link_create_details"
+ EventDetailsSharedLinkDisableDetails = "shared_link_disable_details"
+ EventDetailsSharedLinkDownloadDetails = "shared_link_download_details"
+ EventDetailsSharedLinkRemoveExpiryDetails = "shared_link_remove_expiry_details"
+ EventDetailsSharedLinkShareDetails = "shared_link_share_details"
+ EventDetailsSharedLinkViewDetails = "shared_link_view_details"
+ EventDetailsSharedNoteOpenedDetails = "shared_note_opened_details"
+ EventDetailsShmodelGroupShareDetails = "shmodel_group_share_details"
+ EventDetailsShowcaseAccessGrantedDetails = "showcase_access_granted_details"
+ EventDetailsShowcaseAddMemberDetails = "showcase_add_member_details"
+ EventDetailsShowcaseArchivedDetails = "showcase_archived_details"
+ EventDetailsShowcaseCreatedDetails = "showcase_created_details"
+ EventDetailsShowcaseDeleteCommentDetails = "showcase_delete_comment_details"
+ EventDetailsShowcaseEditedDetails = "showcase_edited_details"
+ EventDetailsShowcaseEditCommentDetails = "showcase_edit_comment_details"
+ EventDetailsShowcaseFileAddedDetails = "showcase_file_added_details"
+ EventDetailsShowcaseFileDownloadDetails = "showcase_file_download_details"
+ EventDetailsShowcaseFileRemovedDetails = "showcase_file_removed_details"
+ EventDetailsShowcaseFileViewDetails = "showcase_file_view_details"
+ EventDetailsShowcasePermanentlyDeletedDetails = "showcase_permanently_deleted_details"
+ EventDetailsShowcasePostCommentDetails = "showcase_post_comment_details"
+ EventDetailsShowcaseRemoveMemberDetails = "showcase_remove_member_details"
+ EventDetailsShowcaseRenamedDetails = "showcase_renamed_details"
+ EventDetailsShowcaseRequestAccessDetails = "showcase_request_access_details"
+ EventDetailsShowcaseResolveCommentDetails = "showcase_resolve_comment_details"
+ EventDetailsShowcaseRestoredDetails = "showcase_restored_details"
+ EventDetailsShowcaseTrashedDetails = "showcase_trashed_details"
+ EventDetailsShowcaseTrashedDeprecatedDetails = "showcase_trashed_deprecated_details"
+ EventDetailsShowcaseUnresolveCommentDetails = "showcase_unresolve_comment_details"
+ EventDetailsShowcaseUntrashedDetails = "showcase_untrashed_details"
+ EventDetailsShowcaseUntrashedDeprecatedDetails = "showcase_untrashed_deprecated_details"
+ EventDetailsShowcaseViewDetails = "showcase_view_details"
+ EventDetailsSsoAddCertDetails = "sso_add_cert_details"
+ EventDetailsSsoAddLoginUrlDetails = "sso_add_login_url_details"
+ EventDetailsSsoAddLogoutUrlDetails = "sso_add_logout_url_details"
+ EventDetailsSsoChangeCertDetails = "sso_change_cert_details"
+ EventDetailsSsoChangeLoginUrlDetails = "sso_change_login_url_details"
+ EventDetailsSsoChangeLogoutUrlDetails = "sso_change_logout_url_details"
+ EventDetailsSsoChangeSamlIdentityModeDetails = "sso_change_saml_identity_mode_details"
+ EventDetailsSsoRemoveCertDetails = "sso_remove_cert_details"
+ EventDetailsSsoRemoveLoginUrlDetails = "sso_remove_login_url_details"
+ EventDetailsSsoRemoveLogoutUrlDetails = "sso_remove_logout_url_details"
+ EventDetailsTeamFolderChangeStatusDetails = "team_folder_change_status_details"
+ EventDetailsTeamFolderCreateDetails = "team_folder_create_details"
+ EventDetailsTeamFolderDowngradeDetails = "team_folder_downgrade_details"
+ EventDetailsTeamFolderPermanentlyDeleteDetails = "team_folder_permanently_delete_details"
+ EventDetailsTeamFolderRenameDetails = "team_folder_rename_details"
+ EventDetailsTeamSelectiveSyncSettingsChangedDetails = "team_selective_sync_settings_changed_details"
+ EventDetailsAccountCaptureChangePolicyDetails = "account_capture_change_policy_details"
+ EventDetailsAllowDownloadDisabledDetails = "allow_download_disabled_details"
+ EventDetailsAllowDownloadEnabledDetails = "allow_download_enabled_details"
+ EventDetailsDataPlacementRestrictionChangePolicyDetails = "data_placement_restriction_change_policy_details"
+ EventDetailsDataPlacementRestrictionSatisfyPolicyDetails = "data_placement_restriction_satisfy_policy_details"
+ EventDetailsDeviceApprovalsChangeDesktopPolicyDetails = "device_approvals_change_desktop_policy_details"
+ EventDetailsDeviceApprovalsChangeMobilePolicyDetails = "device_approvals_change_mobile_policy_details"
+ EventDetailsDeviceApprovalsChangeOverageActionDetails = "device_approvals_change_overage_action_details"
+ EventDetailsDeviceApprovalsChangeUnlinkActionDetails = "device_approvals_change_unlink_action_details"
+ EventDetailsDirectoryRestrictionsAddMembersDetails = "directory_restrictions_add_members_details"
+ EventDetailsDirectoryRestrictionsRemoveMembersDetails = "directory_restrictions_remove_members_details"
+ EventDetailsEmmAddExceptionDetails = "emm_add_exception_details"
+ EventDetailsEmmChangePolicyDetails = "emm_change_policy_details"
+ EventDetailsEmmRemoveExceptionDetails = "emm_remove_exception_details"
+ EventDetailsExtendedVersionHistoryChangePolicyDetails = "extended_version_history_change_policy_details"
+ EventDetailsFileCommentsChangePolicyDetails = "file_comments_change_policy_details"
+ EventDetailsFileRequestsChangePolicyDetails = "file_requests_change_policy_details"
+ EventDetailsFileRequestsEmailsEnabledDetails = "file_requests_emails_enabled_details"
+ EventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails = "file_requests_emails_restricted_to_team_only_details"
+ EventDetailsGoogleSsoChangePolicyDetails = "google_sso_change_policy_details"
+ EventDetailsGroupUserManagementChangePolicyDetails = "group_user_management_change_policy_details"
+ EventDetailsMemberRequestsChangePolicyDetails = "member_requests_change_policy_details"
+ EventDetailsMemberSpaceLimitsAddExceptionDetails = "member_space_limits_add_exception_details"
+ EventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails = "member_space_limits_change_caps_type_policy_details"
+ EventDetailsMemberSpaceLimitsChangePolicyDetails = "member_space_limits_change_policy_details"
+ EventDetailsMemberSpaceLimitsRemoveExceptionDetails = "member_space_limits_remove_exception_details"
+ EventDetailsMemberSuggestionsChangePolicyDetails = "member_suggestions_change_policy_details"
+ EventDetailsMicrosoftOfficeAddinChangePolicyDetails = "microsoft_office_addin_change_policy_details"
+ EventDetailsNetworkControlChangePolicyDetails = "network_control_change_policy_details"
+ EventDetailsPaperChangeDeploymentPolicyDetails = "paper_change_deployment_policy_details"
+ EventDetailsPaperChangeMemberLinkPolicyDetails = "paper_change_member_link_policy_details"
+ EventDetailsPaperChangeMemberPolicyDetails = "paper_change_member_policy_details"
+ EventDetailsPaperChangePolicyDetails = "paper_change_policy_details"
+ EventDetailsPaperEnabledUsersGroupAdditionDetails = "paper_enabled_users_group_addition_details"
+ EventDetailsPaperEnabledUsersGroupRemovalDetails = "paper_enabled_users_group_removal_details"
+ EventDetailsPermanentDeleteChangePolicyDetails = "permanent_delete_change_policy_details"
+ EventDetailsSharingChangeFolderJoinPolicyDetails = "sharing_change_folder_join_policy_details"
+ EventDetailsSharingChangeLinkPolicyDetails = "sharing_change_link_policy_details"
+ EventDetailsSharingChangeMemberPolicyDetails = "sharing_change_member_policy_details"
+ EventDetailsShowcaseChangeDownloadPolicyDetails = "showcase_change_download_policy_details"
+ EventDetailsShowcaseChangeEnabledPolicyDetails = "showcase_change_enabled_policy_details"
+ EventDetailsShowcaseChangeExternalSharingPolicyDetails = "showcase_change_external_sharing_policy_details"
+ EventDetailsSmartSyncChangePolicyDetails = "smart_sync_change_policy_details"
+ EventDetailsSmartSyncNotOptOutDetails = "smart_sync_not_opt_out_details"
+ EventDetailsSmartSyncOptOutDetails = "smart_sync_opt_out_details"
+ EventDetailsSsoChangePolicyDetails = "sso_change_policy_details"
+ EventDetailsTfaChangePolicyDetails = "tfa_change_policy_details"
+ EventDetailsTwoAccountChangePolicyDetails = "two_account_change_policy_details"
+ EventDetailsWebSessionsChangeFixedLengthPolicyDetails = "web_sessions_change_fixed_length_policy_details"
+ EventDetailsWebSessionsChangeIdleLengthPolicyDetails = "web_sessions_change_idle_length_policy_details"
+ EventDetailsTeamMergeFromDetails = "team_merge_from_details"
+ EventDetailsTeamMergeToDetails = "team_merge_to_details"
+ EventDetailsTeamProfileAddLogoDetails = "team_profile_add_logo_details"
+ EventDetailsTeamProfileChangeDefaultLanguageDetails = "team_profile_change_default_language_details"
+ EventDetailsTeamProfileChangeLogoDetails = "team_profile_change_logo_details"
+ EventDetailsTeamProfileChangeNameDetails = "team_profile_change_name_details"
+ EventDetailsTeamProfileRemoveLogoDetails = "team_profile_remove_logo_details"
+ EventDetailsTfaAddBackupPhoneDetails = "tfa_add_backup_phone_details"
+ EventDetailsTfaAddSecurityKeyDetails = "tfa_add_security_key_details"
+ EventDetailsTfaChangeBackupPhoneDetails = "tfa_change_backup_phone_details"
+ EventDetailsTfaChangeStatusDetails = "tfa_change_status_details"
+ EventDetailsTfaRemoveBackupPhoneDetails = "tfa_remove_backup_phone_details"
+ EventDetailsTfaRemoveSecurityKeyDetails = "tfa_remove_security_key_details"
+ EventDetailsTfaResetDetails = "tfa_reset_details"
+ EventDetailsMissingDetails = "missing_details"
+ EventDetailsOther = "other"
)
// UnmarshalJSON deserializes into a EventDetails instance
func (u *EventDetails) UnmarshalJSON(body []byte) error {
type wrap struct {
dropbox.Tagged
- // MemberChangeMembershipTypeDetails : Changed the membership type
- // (limited vs full) for team member.
- MemberChangeMembershipTypeDetails json.RawMessage `json:"member_change_membership_type_details,omitempty"`
- // MemberPermanentlyDeleteAccountContentsDetails : Permanently deleted
- // contents of a removed team member account.
- MemberPermanentlyDeleteAccountContentsDetails json.RawMessage `json:"member_permanently_delete_account_contents_details,omitempty"`
- // MemberSpaceLimitsChangeStatusDetails : Changed the status with
- // respect to whether the team member is under or over storage quota
- // specified by policy.
- MemberSpaceLimitsChangeStatusDetails json.RawMessage `json:"member_space_limits_change_status_details,omitempty"`
- // MemberTransferAccountContentsDetails : Transferred contents of a
- // removed team member account to another member.
- MemberTransferAccountContentsDetails json.RawMessage `json:"member_transfer_account_contents_details,omitempty"`
- // PaperAdminExportStartDetails : Exported all Paper documents in the
- // team.
- PaperAdminExportStartDetails json.RawMessage `json:"paper_admin_export_start_details,omitempty"`
- // PaperEnabledUsersGroupAdditionDetails : Users added to Paper enabled
- // users list.
- PaperEnabledUsersGroupAdditionDetails json.RawMessage `json:"paper_enabled_users_group_addition_details,omitempty"`
- // PaperEnabledUsersGroupRemovalDetails : Users removed from Paper
- // enabled users list.
- PaperEnabledUsersGroupRemovalDetails json.RawMessage `json:"paper_enabled_users_group_removal_details,omitempty"`
- // PaperExternalViewAllowDetails : Paper external sharing policy
- // changed: anyone.
- PaperExternalViewAllowDetails json.RawMessage `json:"paper_external_view_allow_details,omitempty"`
- // PaperExternalViewDefaultTeamDetails : Paper external sharing policy
- // changed: default team.
- PaperExternalViewDefaultTeamDetails json.RawMessage `json:"paper_external_view_default_team_details,omitempty"`
- // PaperExternalViewForbidDetails : Paper external sharing policy
- // changed: team-only.
- PaperExternalViewForbidDetails json.RawMessage `json:"paper_external_view_forbid_details,omitempty"`
- // SfExternalInviteWarnDetails : Admin settings: team members see a
- // warning before sharing folders outside the team (DEPRECATED FEATURE).
- SfExternalInviteWarnDetails json.RawMessage `json:"sf_external_invite_warn_details,omitempty"`
- // TeamMergeFromDetails : Merged another team into this team.
- TeamMergeFromDetails json.RawMessage `json:"team_merge_from_details,omitempty"`
- // TeamMergeToDetails : Merged this team into another team.
- TeamMergeToDetails json.RawMessage `json:"team_merge_to_details,omitempty"`
- // AppLinkTeamDetails : Linked an app for team.
+ // AppLinkTeamDetails : has no documentation (yet)
AppLinkTeamDetails json.RawMessage `json:"app_link_team_details,omitempty"`
- // AppLinkUserDetails : Linked an app for team member.
+ // AppLinkUserDetails : has no documentation (yet)
AppLinkUserDetails json.RawMessage `json:"app_link_user_details,omitempty"`
- // AppUnlinkTeamDetails : Unlinked an app for team.
+ // AppUnlinkTeamDetails : has no documentation (yet)
AppUnlinkTeamDetails json.RawMessage `json:"app_unlink_team_details,omitempty"`
- // AppUnlinkUserDetails : Unlinked an app for team member.
+ // AppUnlinkUserDetails : has no documentation (yet)
AppUnlinkUserDetails json.RawMessage `json:"app_unlink_user_details,omitempty"`
- // FileAddCommentDetails : Added a file comment.
+ // FileAddCommentDetails : has no documentation (yet)
FileAddCommentDetails json.RawMessage `json:"file_add_comment_details,omitempty"`
- // FileChangeCommentSubscriptionDetails : Subscribed to or unsubscribed
- // from comment notifications for file.
+ // FileChangeCommentSubscriptionDetails : has no documentation (yet)
FileChangeCommentSubscriptionDetails json.RawMessage `json:"file_change_comment_subscription_details,omitempty"`
- // FileDeleteCommentDetails : Deleted a file comment.
+ // FileDeleteCommentDetails : has no documentation (yet)
FileDeleteCommentDetails json.RawMessage `json:"file_delete_comment_details,omitempty"`
- // FileLikeCommentDetails : Liked a file comment.
+ // FileLikeCommentDetails : has no documentation (yet)
FileLikeCommentDetails json.RawMessage `json:"file_like_comment_details,omitempty"`
- // FileResolveCommentDetails : Resolved a file comment.
+ // FileResolveCommentDetails : has no documentation (yet)
FileResolveCommentDetails json.RawMessage `json:"file_resolve_comment_details,omitempty"`
- // FileUnlikeCommentDetails : Unliked a file comment.
+ // FileUnlikeCommentDetails : has no documentation (yet)
FileUnlikeCommentDetails json.RawMessage `json:"file_unlike_comment_details,omitempty"`
- // FileUnresolveCommentDetails : Unresolved a file comment.
+ // FileUnresolveCommentDetails : has no documentation (yet)
FileUnresolveCommentDetails json.RawMessage `json:"file_unresolve_comment_details,omitempty"`
- // DeviceChangeIpDesktopDetails : IP address associated with active
- // desktop session changed.
+ // DeviceChangeIpDesktopDetails : has no documentation (yet)
DeviceChangeIpDesktopDetails json.RawMessage `json:"device_change_ip_desktop_details,omitempty"`
- // DeviceChangeIpMobileDetails : IP address associated with active
- // mobile session changed.
+ // DeviceChangeIpMobileDetails : has no documentation (yet)
DeviceChangeIpMobileDetails json.RawMessage `json:"device_change_ip_mobile_details,omitempty"`
- // DeviceChangeIpWebDetails : IP address associated with active Web
- // session changed.
+ // DeviceChangeIpWebDetails : has no documentation (yet)
DeviceChangeIpWebDetails json.RawMessage `json:"device_change_ip_web_details,omitempty"`
- // DeviceDeleteOnUnlinkFailDetails : Failed to delete all files from an
- // unlinked device.
+ // DeviceDeleteOnUnlinkFailDetails : has no documentation (yet)
DeviceDeleteOnUnlinkFailDetails json.RawMessage `json:"device_delete_on_unlink_fail_details,omitempty"`
- // DeviceDeleteOnUnlinkSuccessDetails : Deleted all files from an
- // unlinked device.
+ // DeviceDeleteOnUnlinkSuccessDetails : has no documentation (yet)
DeviceDeleteOnUnlinkSuccessDetails json.RawMessage `json:"device_delete_on_unlink_success_details,omitempty"`
- // DeviceLinkFailDetails : Failed to link a device.
+ // DeviceLinkFailDetails : has no documentation (yet)
DeviceLinkFailDetails json.RawMessage `json:"device_link_fail_details,omitempty"`
- // DeviceLinkSuccessDetails : Linked a device.
+ // DeviceLinkSuccessDetails : has no documentation (yet)
DeviceLinkSuccessDetails json.RawMessage `json:"device_link_success_details,omitempty"`
- // DeviceManagementDisabledDetails : Disable Device Management.
+ // DeviceManagementDisabledDetails : has no documentation (yet)
DeviceManagementDisabledDetails json.RawMessage `json:"device_management_disabled_details,omitempty"`
- // DeviceManagementEnabledDetails : Enable Device Management.
+ // DeviceManagementEnabledDetails : has no documentation (yet)
DeviceManagementEnabledDetails json.RawMessage `json:"device_management_enabled_details,omitempty"`
- // DeviceUnlinkDetails : Disconnected a device.
+ // DeviceUnlinkDetails : has no documentation (yet)
DeviceUnlinkDetails json.RawMessage `json:"device_unlink_details,omitempty"`
- // EmmRefreshAuthTokenDetails : Refreshed the auth token used for
- // setting up enterprise mobility management.
+ // EmmRefreshAuthTokenDetails : has no documentation (yet)
EmmRefreshAuthTokenDetails json.RawMessage `json:"emm_refresh_auth_token_details,omitempty"`
- // AccountCaptureChangeAvailabilityDetails : Granted or revoked the
- // option to enable account capture on domains belonging to the team.
+ // AccountCaptureChangeAvailabilityDetails : has no documentation (yet)
AccountCaptureChangeAvailabilityDetails json.RawMessage `json:"account_capture_change_availability_details,omitempty"`
- // AccountCaptureMigrateAccountDetails : Account captured user migrated
- // their account to the team.
+ // AccountCaptureMigrateAccountDetails : has no documentation (yet)
AccountCaptureMigrateAccountDetails json.RawMessage `json:"account_capture_migrate_account_details,omitempty"`
- // AccountCaptureRelinquishAccountDetails : Account captured user
- // relinquished their account by changing the email address associated
- // with it.
+ // AccountCaptureNotificationEmailsSentDetails : has no documentation
+ // (yet)
+ AccountCaptureNotificationEmailsSentDetails json.RawMessage `json:"account_capture_notification_emails_sent_details,omitempty"`
+ // AccountCaptureRelinquishAccountDetails : has no documentation (yet)
AccountCaptureRelinquishAccountDetails json.RawMessage `json:"account_capture_relinquish_account_details,omitempty"`
- // DisabledDomainInvitesDetails : Disabled domain invites.
+ // DisabledDomainInvitesDetails : has no documentation (yet)
DisabledDomainInvitesDetails json.RawMessage `json:"disabled_domain_invites_details,omitempty"`
- // DomainInvitesApproveRequestToJoinTeamDetails : Approved a member's
- // request to join the team.
+ // DomainInvitesApproveRequestToJoinTeamDetails : has no documentation
+ // (yet)
DomainInvitesApproveRequestToJoinTeamDetails json.RawMessage `json:"domain_invites_approve_request_to_join_team_details,omitempty"`
- // DomainInvitesDeclineRequestToJoinTeamDetails : Declined a user's
- // request to join the team.
+ // DomainInvitesDeclineRequestToJoinTeamDetails : has no documentation
+ // (yet)
DomainInvitesDeclineRequestToJoinTeamDetails json.RawMessage `json:"domain_invites_decline_request_to_join_team_details,omitempty"`
- // DomainInvitesEmailExistingUsersDetails : Sent domain invites to
- // existing domain accounts.
+ // DomainInvitesEmailExistingUsersDetails : has no documentation (yet)
DomainInvitesEmailExistingUsersDetails json.RawMessage `json:"domain_invites_email_existing_users_details,omitempty"`
- // DomainInvitesRequestToJoinTeamDetails : Asked to join the team.
+ // DomainInvitesRequestToJoinTeamDetails : has no documentation (yet)
DomainInvitesRequestToJoinTeamDetails json.RawMessage `json:"domain_invites_request_to_join_team_details,omitempty"`
- // DomainInvitesSetInviteNewUserPrefToNoDetails : Turned off
- // u201cAutomatically invite new usersu201d.
+ // DomainInvitesSetInviteNewUserPrefToNoDetails : has no documentation
+ // (yet)
DomainInvitesSetInviteNewUserPrefToNoDetails json.RawMessage `json:"domain_invites_set_invite_new_user_pref_to_no_details,omitempty"`
- // DomainInvitesSetInviteNewUserPrefToYesDetails : Turned on
- // u201cAutomatically invite new usersu201d.
+ // DomainInvitesSetInviteNewUserPrefToYesDetails : has no documentation
+ // (yet)
DomainInvitesSetInviteNewUserPrefToYesDetails json.RawMessage `json:"domain_invites_set_invite_new_user_pref_to_yes_details,omitempty"`
- // DomainVerificationAddDomainFailDetails : Failed to verify a domain
- // belonging to the team.
+ // DomainVerificationAddDomainFailDetails : has no documentation (yet)
DomainVerificationAddDomainFailDetails json.RawMessage `json:"domain_verification_add_domain_fail_details,omitempty"`
- // DomainVerificationAddDomainSuccessDetails : Verified a domain
- // belonging to the team.
+ // DomainVerificationAddDomainSuccessDetails : has no documentation
+ // (yet)
DomainVerificationAddDomainSuccessDetails json.RawMessage `json:"domain_verification_add_domain_success_details,omitempty"`
- // DomainVerificationRemoveDomainDetails : Removed a domain from the
- // list of verified domains belonging to the team.
+ // DomainVerificationRemoveDomainDetails : has no documentation (yet)
DomainVerificationRemoveDomainDetails json.RawMessage `json:"domain_verification_remove_domain_details,omitempty"`
- // EnabledDomainInvitesDetails : Enabled domain invites.
+ // EnabledDomainInvitesDetails : has no documentation (yet)
EnabledDomainInvitesDetails json.RawMessage `json:"enabled_domain_invites_details,omitempty"`
- // CreateFolderDetails : Created folders.
+ // CreateFolderDetails : has no documentation (yet)
CreateFolderDetails json.RawMessage `json:"create_folder_details,omitempty"`
- // FileAddDetails : Added files and/or folders.
+ // FileAddDetails : has no documentation (yet)
FileAddDetails json.RawMessage `json:"file_add_details,omitempty"`
- // FileCopyDetails : Copied files and/or folders.
+ // FileCopyDetails : has no documentation (yet)
FileCopyDetails json.RawMessage `json:"file_copy_details,omitempty"`
- // FileDeleteDetails : Deleted files and/or folders.
+ // FileDeleteDetails : has no documentation (yet)
FileDeleteDetails json.RawMessage `json:"file_delete_details,omitempty"`
- // FileDownloadDetails : Downloaded files and/or folders.
+ // FileDownloadDetails : has no documentation (yet)
FileDownloadDetails json.RawMessage `json:"file_download_details,omitempty"`
- // FileEditDetails : Edited files.
+ // FileEditDetails : has no documentation (yet)
FileEditDetails json.RawMessage `json:"file_edit_details,omitempty"`
- // FileGetCopyReferenceDetails : Create a copy reference to a file or
- // folder.
+ // FileGetCopyReferenceDetails : has no documentation (yet)
FileGetCopyReferenceDetails json.RawMessage `json:"file_get_copy_reference_details,omitempty"`
- // FileMoveDetails : Moved files and/or folders.
+ // FileMoveDetails : has no documentation (yet)
FileMoveDetails json.RawMessage `json:"file_move_details,omitempty"`
- // FilePermanentlyDeleteDetails : Permanently deleted files and/or
- // folders.
+ // FilePermanentlyDeleteDetails : has no documentation (yet)
FilePermanentlyDeleteDetails json.RawMessage `json:"file_permanently_delete_details,omitempty"`
- // FilePreviewDetails : Previewed files and/or folders.
+ // FilePreviewDetails : has no documentation (yet)
FilePreviewDetails json.RawMessage `json:"file_preview_details,omitempty"`
- // FileRenameDetails : Renamed files and/or folders.
+ // FileRenameDetails : has no documentation (yet)
FileRenameDetails json.RawMessage `json:"file_rename_details,omitempty"`
- // FileRestoreDetails : Restored deleted files and/or folders.
+ // FileRestoreDetails : has no documentation (yet)
FileRestoreDetails json.RawMessage `json:"file_restore_details,omitempty"`
- // FileRevertDetails : Reverted files to a previous version.
+ // FileRevertDetails : has no documentation (yet)
FileRevertDetails json.RawMessage `json:"file_revert_details,omitempty"`
- // FileRollbackChangesDetails : Rolled back file change location
- // changes.
+ // FileRollbackChangesDetails : has no documentation (yet)
FileRollbackChangesDetails json.RawMessage `json:"file_rollback_changes_details,omitempty"`
- // FileSaveCopyReferenceDetails : Save a file or folder using a copy
- // reference.
+ // FileSaveCopyReferenceDetails : has no documentation (yet)
FileSaveCopyReferenceDetails json.RawMessage `json:"file_save_copy_reference_details,omitempty"`
- // FileRequestAddDeadlineDetails : Added a deadline to a file request.
- FileRequestAddDeadlineDetails json.RawMessage `json:"file_request_add_deadline_details,omitempty"`
- // FileRequestChangeDetails : Change a file request.
+ // FileRequestChangeDetails : has no documentation (yet)
FileRequestChangeDetails json.RawMessage `json:"file_request_change_details,omitempty"`
- // FileRequestChangeFolderDetails : Changed the file request folder.
- FileRequestChangeFolderDetails json.RawMessage `json:"file_request_change_folder_details,omitempty"`
- // FileRequestCloseDetails : Closed a file request.
+ // FileRequestCloseDetails : has no documentation (yet)
FileRequestCloseDetails json.RawMessage `json:"file_request_close_details,omitempty"`
- // FileRequestCreateDetails : Created a file request.
+ // FileRequestCreateDetails : has no documentation (yet)
FileRequestCreateDetails json.RawMessage `json:"file_request_create_details,omitempty"`
- // FileRequestReceiveFileDetails : Received files for a file request.
+ // FileRequestReceiveFileDetails : has no documentation (yet)
FileRequestReceiveFileDetails json.RawMessage `json:"file_request_receive_file_details,omitempty"`
- // FileRequestRemoveDeadlineDetails : Removed the file request deadline.
- FileRequestRemoveDeadlineDetails json.RawMessage `json:"file_request_remove_deadline_details,omitempty"`
- // FileRequestSendDetails : Sent file request to users via email.
- FileRequestSendDetails json.RawMessage `json:"file_request_send_details,omitempty"`
- // GroupAddExternalIdDetails : Added an external ID for group.
+ // GroupAddExternalIdDetails : has no documentation (yet)
GroupAddExternalIdDetails json.RawMessage `json:"group_add_external_id_details,omitempty"`
- // GroupAddMemberDetails : Added team members to a group.
+ // GroupAddMemberDetails : has no documentation (yet)
GroupAddMemberDetails json.RawMessage `json:"group_add_member_details,omitempty"`
- // GroupChangeExternalIdDetails : Changed the external ID for group.
+ // GroupChangeExternalIdDetails : has no documentation (yet)
GroupChangeExternalIdDetails json.RawMessage `json:"group_change_external_id_details,omitempty"`
- // GroupChangeManagementTypeDetails : Changed group management type.
+ // GroupChangeManagementTypeDetails : has no documentation (yet)
GroupChangeManagementTypeDetails json.RawMessage `json:"group_change_management_type_details,omitempty"`
- // GroupChangeMemberRoleDetails : Changed the manager permissions
- // belonging to a group member.
+ // GroupChangeMemberRoleDetails : has no documentation (yet)
GroupChangeMemberRoleDetails json.RawMessage `json:"group_change_member_role_details,omitempty"`
- // GroupCreateDetails : Created a group.
+ // GroupCreateDetails : has no documentation (yet)
GroupCreateDetails json.RawMessage `json:"group_create_details,omitempty"`
- // GroupDeleteDetails : Deleted a group.
+ // GroupDeleteDetails : has no documentation (yet)
GroupDeleteDetails json.RawMessage `json:"group_delete_details,omitempty"`
- // GroupMovedDetails : Moved a group.
+ // GroupDescriptionUpdatedDetails : has no documentation (yet)
+ GroupDescriptionUpdatedDetails json.RawMessage `json:"group_description_updated_details,omitempty"`
+ // GroupJoinPolicyUpdatedDetails : has no documentation (yet)
+ GroupJoinPolicyUpdatedDetails json.RawMessage `json:"group_join_policy_updated_details,omitempty"`
+ // GroupMovedDetails : has no documentation (yet)
GroupMovedDetails json.RawMessage `json:"group_moved_details,omitempty"`
- // GroupRemoveExternalIdDetails : Removed the external ID for group.
+ // GroupRemoveExternalIdDetails : has no documentation (yet)
GroupRemoveExternalIdDetails json.RawMessage `json:"group_remove_external_id_details,omitempty"`
- // GroupRemoveMemberDetails : Removed team members from a group.
+ // GroupRemoveMemberDetails : has no documentation (yet)
GroupRemoveMemberDetails json.RawMessage `json:"group_remove_member_details,omitempty"`
- // GroupRenameDetails : Renamed a group.
+ // GroupRenameDetails : has no documentation (yet)
GroupRenameDetails json.RawMessage `json:"group_rename_details,omitempty"`
- // EmmErrorDetails : Failed to sign in via EMM.
+ // EmmErrorDetails : has no documentation (yet)
EmmErrorDetails json.RawMessage `json:"emm_error_details,omitempty"`
- // LoginFailDetails : Failed to sign in.
+ // LoginFailDetails : has no documentation (yet)
LoginFailDetails json.RawMessage `json:"login_fail_details,omitempty"`
- // LoginSuccessDetails : Signed in.
+ // LoginSuccessDetails : has no documentation (yet)
LoginSuccessDetails json.RawMessage `json:"login_success_details,omitempty"`
- // LogoutDetails : Signed out.
+ // LogoutDetails : has no documentation (yet)
LogoutDetails json.RawMessage `json:"logout_details,omitempty"`
- // ResellerSupportSessionEndDetails : Ended reseller support session.
+ // ResellerSupportSessionEndDetails : has no documentation (yet)
ResellerSupportSessionEndDetails json.RawMessage `json:"reseller_support_session_end_details,omitempty"`
- // ResellerSupportSessionStartDetails : Started reseller support
- // session.
+ // ResellerSupportSessionStartDetails : has no documentation (yet)
ResellerSupportSessionStartDetails json.RawMessage `json:"reseller_support_session_start_details,omitempty"`
- // SignInAsSessionEndDetails : Ended admin sign-in-as session.
+ // SignInAsSessionEndDetails : has no documentation (yet)
SignInAsSessionEndDetails json.RawMessage `json:"sign_in_as_session_end_details,omitempty"`
- // SignInAsSessionStartDetails : Started admin sign-in-as session.
+ // SignInAsSessionStartDetails : has no documentation (yet)
SignInAsSessionStartDetails json.RawMessage `json:"sign_in_as_session_start_details,omitempty"`
- // SsoErrorDetails : Failed to sign in via SSO.
+ // SsoErrorDetails : has no documentation (yet)
SsoErrorDetails json.RawMessage `json:"sso_error_details,omitempty"`
- // MemberAddNameDetails : Set team member name when joining team.
+ // MemberAddNameDetails : has no documentation (yet)
MemberAddNameDetails json.RawMessage `json:"member_add_name_details,omitempty"`
- // MemberChangeAdminRoleDetails : Change the admin role belonging to
- // team member.
+ // MemberChangeAdminRoleDetails : has no documentation (yet)
MemberChangeAdminRoleDetails json.RawMessage `json:"member_change_admin_role_details,omitempty"`
- // MemberChangeEmailDetails : Changed team member email address.
+ // MemberChangeEmailDetails : has no documentation (yet)
MemberChangeEmailDetails json.RawMessage `json:"member_change_email_details,omitempty"`
- // MemberChangeNameDetails : Changed team member name.
+ // MemberChangeMembershipTypeDetails : has no documentation (yet)
+ MemberChangeMembershipTypeDetails json.RawMessage `json:"member_change_membership_type_details,omitempty"`
+ // MemberChangeNameDetails : has no documentation (yet)
MemberChangeNameDetails json.RawMessage `json:"member_change_name_details,omitempty"`
- // MemberChangeStatusDetails : Changed the membership status of a team
- // member.
+ // MemberChangeStatusDetails : has no documentation (yet)
MemberChangeStatusDetails json.RawMessage `json:"member_change_status_details,omitempty"`
- // MemberSuggestDetails : Suggested a new team member to be added to the
- // team.
+ // MemberPermanentlyDeleteAccountContentsDetails : has no documentation
+ // (yet)
+ MemberPermanentlyDeleteAccountContentsDetails json.RawMessage `json:"member_permanently_delete_account_contents_details,omitempty"`
+ // MemberSpaceLimitsAddCustomQuotaDetails : has no documentation (yet)
+ MemberSpaceLimitsAddCustomQuotaDetails json.RawMessage `json:"member_space_limits_add_custom_quota_details,omitempty"`
+ // MemberSpaceLimitsChangeCustomQuotaDetails : has no documentation
+ // (yet)
+ MemberSpaceLimitsChangeCustomQuotaDetails json.RawMessage `json:"member_space_limits_change_custom_quota_details,omitempty"`
+ // MemberSpaceLimitsChangeStatusDetails : has no documentation (yet)
+ MemberSpaceLimitsChangeStatusDetails json.RawMessage `json:"member_space_limits_change_status_details,omitempty"`
+ // MemberSpaceLimitsRemoveCustomQuotaDetails : has no documentation
+ // (yet)
+ MemberSpaceLimitsRemoveCustomQuotaDetails json.RawMessage `json:"member_space_limits_remove_custom_quota_details,omitempty"`
+ // MemberSuggestDetails : has no documentation (yet)
MemberSuggestDetails json.RawMessage `json:"member_suggest_details,omitempty"`
- // PaperContentAddMemberDetails : Added users to the membership of a
- // Paper doc or folder.
+ // MemberTransferAccountContentsDetails : has no documentation (yet)
+ MemberTransferAccountContentsDetails json.RawMessage `json:"member_transfer_account_contents_details,omitempty"`
+ // SecondaryMailsPolicyChangedDetails : has no documentation (yet)
+ SecondaryMailsPolicyChangedDetails json.RawMessage `json:"secondary_mails_policy_changed_details,omitempty"`
+ // PaperContentAddMemberDetails : has no documentation (yet)
PaperContentAddMemberDetails json.RawMessage `json:"paper_content_add_member_details,omitempty"`
- // PaperContentAddToFolderDetails : Added Paper doc or folder to a
- // folder.
+ // PaperContentAddToFolderDetails : has no documentation (yet)
PaperContentAddToFolderDetails json.RawMessage `json:"paper_content_add_to_folder_details,omitempty"`
- // PaperContentArchiveDetails : Archived Paper doc or folder.
+ // PaperContentArchiveDetails : has no documentation (yet)
PaperContentArchiveDetails json.RawMessage `json:"paper_content_archive_details,omitempty"`
- // PaperContentCreateDetails : Created a Paper doc or folder.
+ // PaperContentCreateDetails : has no documentation (yet)
PaperContentCreateDetails json.RawMessage `json:"paper_content_create_details,omitempty"`
- // PaperContentPermanentlyDeleteDetails : Permanently deleted a Paper
- // doc or folder.
+ // PaperContentPermanentlyDeleteDetails : has no documentation (yet)
PaperContentPermanentlyDeleteDetails json.RawMessage `json:"paper_content_permanently_delete_details,omitempty"`
- // PaperContentRemoveFromFolderDetails : Removed Paper doc or folder
- // from a folder.
+ // PaperContentRemoveFromFolderDetails : has no documentation (yet)
PaperContentRemoveFromFolderDetails json.RawMessage `json:"paper_content_remove_from_folder_details,omitempty"`
- // PaperContentRemoveMemberDetails : Removed a user from the membership
- // of a Paper doc or folder.
+ // PaperContentRemoveMemberDetails : has no documentation (yet)
PaperContentRemoveMemberDetails json.RawMessage `json:"paper_content_remove_member_details,omitempty"`
- // PaperContentRenameDetails : Renamed Paper doc or folder.
+ // PaperContentRenameDetails : has no documentation (yet)
PaperContentRenameDetails json.RawMessage `json:"paper_content_rename_details,omitempty"`
- // PaperContentRestoreDetails : Restored an archived Paper doc or
- // folder.
+ // PaperContentRestoreDetails : has no documentation (yet)
PaperContentRestoreDetails json.RawMessage `json:"paper_content_restore_details,omitempty"`
- // PaperDocAddCommentDetails : Added a Paper doc comment.
+ // PaperDocAddCommentDetails : has no documentation (yet)
PaperDocAddCommentDetails json.RawMessage `json:"paper_doc_add_comment_details,omitempty"`
- // PaperDocChangeMemberRoleDetails : Changed the access type of a Paper
- // doc member.
+ // PaperDocChangeMemberRoleDetails : has no documentation (yet)
PaperDocChangeMemberRoleDetails json.RawMessage `json:"paper_doc_change_member_role_details,omitempty"`
- // PaperDocChangeSharingPolicyDetails : Changed the sharing policy for
- // Paper doc.
+ // PaperDocChangeSharingPolicyDetails : has no documentation (yet)
PaperDocChangeSharingPolicyDetails json.RawMessage `json:"paper_doc_change_sharing_policy_details,omitempty"`
- // PaperDocChangeSubscriptionDetails : Followed or unfollowed a Paper
- // doc.
+ // PaperDocChangeSubscriptionDetails : has no documentation (yet)
PaperDocChangeSubscriptionDetails json.RawMessage `json:"paper_doc_change_subscription_details,omitempty"`
- // PaperDocDeletedDetails : Paper doc archived.
+ // PaperDocDeletedDetails : has no documentation (yet)
PaperDocDeletedDetails json.RawMessage `json:"paper_doc_deleted_details,omitempty"`
- // PaperDocDeleteCommentDetails : Deleted a Paper doc comment.
+ // PaperDocDeleteCommentDetails : has no documentation (yet)
PaperDocDeleteCommentDetails json.RawMessage `json:"paper_doc_delete_comment_details,omitempty"`
- // PaperDocDownloadDetails : Downloaded a Paper doc in a particular
- // output format.
+ // PaperDocDownloadDetails : has no documentation (yet)
PaperDocDownloadDetails json.RawMessage `json:"paper_doc_download_details,omitempty"`
- // PaperDocEditDetails : Edited a Paper doc.
+ // PaperDocEditDetails : has no documentation (yet)
PaperDocEditDetails json.RawMessage `json:"paper_doc_edit_details,omitempty"`
- // PaperDocEditCommentDetails : Edited a Paper doc comment.
+ // PaperDocEditCommentDetails : has no documentation (yet)
PaperDocEditCommentDetails json.RawMessage `json:"paper_doc_edit_comment_details,omitempty"`
- // PaperDocFollowedDetails : Followed a Paper doc.
+ // PaperDocFollowedDetails : has no documentation (yet)
PaperDocFollowedDetails json.RawMessage `json:"paper_doc_followed_details,omitempty"`
- // PaperDocMentionDetails : Mentioned a member in a Paper doc.
+ // PaperDocMentionDetails : has no documentation (yet)
PaperDocMentionDetails json.RawMessage `json:"paper_doc_mention_details,omitempty"`
- // PaperDocRequestAccessDetails : Requested to be a member on a Paper
- // doc.
+ // PaperDocRequestAccessDetails : has no documentation (yet)
PaperDocRequestAccessDetails json.RawMessage `json:"paper_doc_request_access_details,omitempty"`
- // PaperDocResolveCommentDetails : Paper doc comment resolved.
+ // PaperDocResolveCommentDetails : has no documentation (yet)
PaperDocResolveCommentDetails json.RawMessage `json:"paper_doc_resolve_comment_details,omitempty"`
- // PaperDocRevertDetails : Restored a Paper doc to previous revision.
+ // PaperDocRevertDetails : has no documentation (yet)
PaperDocRevertDetails json.RawMessage `json:"paper_doc_revert_details,omitempty"`
- // PaperDocSlackShareDetails : Paper doc link shared via slack.
+ // PaperDocSlackShareDetails : has no documentation (yet)
PaperDocSlackShareDetails json.RawMessage `json:"paper_doc_slack_share_details,omitempty"`
- // PaperDocTeamInviteDetails : Paper doc shared with team member.
+ // PaperDocTeamInviteDetails : has no documentation (yet)
PaperDocTeamInviteDetails json.RawMessage `json:"paper_doc_team_invite_details,omitempty"`
- // PaperDocTrashedDetails : Paper doc trashed.
+ // PaperDocTrashedDetails : has no documentation (yet)
PaperDocTrashedDetails json.RawMessage `json:"paper_doc_trashed_details,omitempty"`
- // PaperDocUnresolveCommentDetails : Unresolved a Paper doc comment.
+ // PaperDocUnresolveCommentDetails : has no documentation (yet)
PaperDocUnresolveCommentDetails json.RawMessage `json:"paper_doc_unresolve_comment_details,omitempty"`
- // PaperDocUntrashedDetails : Paper doc untrashed.
+ // PaperDocUntrashedDetails : has no documentation (yet)
PaperDocUntrashedDetails json.RawMessage `json:"paper_doc_untrashed_details,omitempty"`
- // PaperDocViewDetails : Viewed Paper doc.
+ // PaperDocViewDetails : has no documentation (yet)
PaperDocViewDetails json.RawMessage `json:"paper_doc_view_details,omitempty"`
- // PaperFolderChangeSubscriptionDetails : Followed or unfollowed a Paper
- // folder.
+ // PaperExternalViewAllowDetails : has no documentation (yet)
+ PaperExternalViewAllowDetails json.RawMessage `json:"paper_external_view_allow_details,omitempty"`
+ // PaperExternalViewDefaultTeamDetails : has no documentation (yet)
+ PaperExternalViewDefaultTeamDetails json.RawMessage `json:"paper_external_view_default_team_details,omitempty"`
+ // PaperExternalViewForbidDetails : has no documentation (yet)
+ PaperExternalViewForbidDetails json.RawMessage `json:"paper_external_view_forbid_details,omitempty"`
+ // PaperFolderChangeSubscriptionDetails : has no documentation (yet)
PaperFolderChangeSubscriptionDetails json.RawMessage `json:"paper_folder_change_subscription_details,omitempty"`
- // PaperFolderDeletedDetails : Paper folder archived.
+ // PaperFolderDeletedDetails : has no documentation (yet)
PaperFolderDeletedDetails json.RawMessage `json:"paper_folder_deleted_details,omitempty"`
- // PaperFolderFollowedDetails : Followed a Paper folder.
+ // PaperFolderFollowedDetails : has no documentation (yet)
PaperFolderFollowedDetails json.RawMessage `json:"paper_folder_followed_details,omitempty"`
- // PaperFolderTeamInviteDetails : Paper folder shared with team member.
+ // PaperFolderTeamInviteDetails : has no documentation (yet)
PaperFolderTeamInviteDetails json.RawMessage `json:"paper_folder_team_invite_details,omitempty"`
- // PasswordChangeDetails : Changed password.
+ // PasswordChangeDetails : has no documentation (yet)
PasswordChangeDetails json.RawMessage `json:"password_change_details,omitempty"`
- // PasswordResetDetails : Reset password.
+ // PasswordResetDetails : has no documentation (yet)
PasswordResetDetails json.RawMessage `json:"password_reset_details,omitempty"`
- // PasswordResetAllDetails : Reset all team member passwords.
+ // PasswordResetAllDetails : has no documentation (yet)
PasswordResetAllDetails json.RawMessage `json:"password_reset_all_details,omitempty"`
- // EmmCreateExceptionsReportDetails : EMM excluded users report created.
+ // EmmCreateExceptionsReportDetails : has no documentation (yet)
EmmCreateExceptionsReportDetails json.RawMessage `json:"emm_create_exceptions_report_details,omitempty"`
- // EmmCreateUsageReportDetails : EMM mobile app usage report created.
+ // EmmCreateUsageReportDetails : has no documentation (yet)
EmmCreateUsageReportDetails json.RawMessage `json:"emm_create_usage_report_details,omitempty"`
- // SmartSyncCreateAdminPrivilegeReportDetails : Smart Sync non-admin
- // devices report created.
+ // ExportMembersReportDetails : has no documentation (yet)
+ ExportMembersReportDetails json.RawMessage `json:"export_members_report_details,omitempty"`
+ // PaperAdminExportStartDetails : has no documentation (yet)
+ PaperAdminExportStartDetails json.RawMessage `json:"paper_admin_export_start_details,omitempty"`
+ // SmartSyncCreateAdminPrivilegeReportDetails : has no documentation
+ // (yet)
SmartSyncCreateAdminPrivilegeReportDetails json.RawMessage `json:"smart_sync_create_admin_privilege_report_details,omitempty"`
- // TeamActivityCreateReportDetails : Created a team activity report.
+ // TeamActivityCreateReportDetails : has no documentation (yet)
TeamActivityCreateReportDetails json.RawMessage `json:"team_activity_create_report_details,omitempty"`
- // CollectionShareDetails : Shared an album.
+ // CollectionShareDetails : has no documentation (yet)
CollectionShareDetails json.RawMessage `json:"collection_share_details,omitempty"`
- // NoteAclInviteOnlyDetails : Changed a Paper document to be
- // invite-only.
+ // NoteAclInviteOnlyDetails : has no documentation (yet)
NoteAclInviteOnlyDetails json.RawMessage `json:"note_acl_invite_only_details,omitempty"`
- // NoteAclLinkDetails : Changed a Paper document to be link accessible.
+ // NoteAclLinkDetails : has no documentation (yet)
NoteAclLinkDetails json.RawMessage `json:"note_acl_link_details,omitempty"`
- // NoteAclTeamLinkDetails : Changed a Paper document to be link
- // accessible for the team.
+ // NoteAclTeamLinkDetails : has no documentation (yet)
NoteAclTeamLinkDetails json.RawMessage `json:"note_acl_team_link_details,omitempty"`
- // NoteSharedDetails : Shared a Paper doc.
+ // NoteSharedDetails : has no documentation (yet)
NoteSharedDetails json.RawMessage `json:"note_shared_details,omitempty"`
- // NoteShareReceiveDetails : Shared Paper document received.
+ // NoteShareReceiveDetails : has no documentation (yet)
NoteShareReceiveDetails json.RawMessage `json:"note_share_receive_details,omitempty"`
- // OpenNoteSharedDetails : Opened a shared Paper doc.
+ // OpenNoteSharedDetails : has no documentation (yet)
OpenNoteSharedDetails json.RawMessage `json:"open_note_shared_details,omitempty"`
- // SfAddGroupDetails : Added the team to a shared folder.
+ // SfAddGroupDetails : has no documentation (yet)
SfAddGroupDetails json.RawMessage `json:"sf_add_group_details,omitempty"`
- // SfAllowNonMembersToViewSharedLinksDetails : Allowed non collaborators
- // to view links to files in a shared folder.
+ // SfAllowNonMembersToViewSharedLinksDetails : has no documentation
+ // (yet)
SfAllowNonMembersToViewSharedLinksDetails json.RawMessage `json:"sf_allow_non_members_to_view_shared_links_details,omitempty"`
- // SfInviteGroupDetails : Invited a group to a shared folder.
+ // SfExternalInviteWarnDetails : has no documentation (yet)
+ SfExternalInviteWarnDetails json.RawMessage `json:"sf_external_invite_warn_details,omitempty"`
+ // SfFbInviteDetails : has no documentation (yet)
+ SfFbInviteDetails json.RawMessage `json:"sf_fb_invite_details,omitempty"`
+ // SfFbInviteChangeRoleDetails : has no documentation (yet)
+ SfFbInviteChangeRoleDetails json.RawMessage `json:"sf_fb_invite_change_role_details,omitempty"`
+ // SfFbUninviteDetails : has no documentation (yet)
+ SfFbUninviteDetails json.RawMessage `json:"sf_fb_uninvite_details,omitempty"`
+ // SfInviteGroupDetails : has no documentation (yet)
SfInviteGroupDetails json.RawMessage `json:"sf_invite_group_details,omitempty"`
- // SfNestDetails : Changed parent of shared folder.
- SfNestDetails json.RawMessage `json:"sf_nest_details,omitempty"`
- // SfTeamDeclineDetails : Declined a team member's invitation to a
- // shared folder.
- SfTeamDeclineDetails json.RawMessage `json:"sf_team_decline_details,omitempty"`
- // SfTeamGrantAccessDetails : Granted access to a shared folder.
+ // SfTeamGrantAccessDetails : has no documentation (yet)
SfTeamGrantAccessDetails json.RawMessage `json:"sf_team_grant_access_details,omitempty"`
- // SfTeamInviteDetails : Invited team members to a shared folder.
+ // SfTeamInviteDetails : has no documentation (yet)
SfTeamInviteDetails json.RawMessage `json:"sf_team_invite_details,omitempty"`
- // SfTeamInviteChangeRoleDetails : Changed a team member's role in a
- // shared folder.
+ // SfTeamInviteChangeRoleDetails : has no documentation (yet)
SfTeamInviteChangeRoleDetails json.RawMessage `json:"sf_team_invite_change_role_details,omitempty"`
- // SfTeamJoinDetails : Joined a team member's shared folder.
+ // SfTeamJoinDetails : has no documentation (yet)
SfTeamJoinDetails json.RawMessage `json:"sf_team_join_details,omitempty"`
- // SfTeamJoinFromOobLinkDetails : Joined a team member's shared folder
- // from a link.
+ // SfTeamJoinFromOobLinkDetails : has no documentation (yet)
SfTeamJoinFromOobLinkDetails json.RawMessage `json:"sf_team_join_from_oob_link_details,omitempty"`
- // SfTeamUninviteDetails : Unshared a folder with a team member.
+ // SfTeamUninviteDetails : has no documentation (yet)
SfTeamUninviteDetails json.RawMessage `json:"sf_team_uninvite_details,omitempty"`
- // SharedContentAddInviteesDetails : Sent an email invitation to the
- // membership of a shared file or folder.
+ // SharedContentAddInviteesDetails : has no documentation (yet)
SharedContentAddInviteesDetails json.RawMessage `json:"shared_content_add_invitees_details,omitempty"`
- // SharedContentAddLinkExpiryDetails : Added an expiry to the link for
- // the shared file or folder.
+ // SharedContentAddLinkExpiryDetails : has no documentation (yet)
SharedContentAddLinkExpiryDetails json.RawMessage `json:"shared_content_add_link_expiry_details,omitempty"`
- // SharedContentAddLinkPasswordDetails : Added a password to the link
- // for the shared file or folder.
+ // SharedContentAddLinkPasswordDetails : has no documentation (yet)
SharedContentAddLinkPasswordDetails json.RawMessage `json:"shared_content_add_link_password_details,omitempty"`
- // SharedContentAddMemberDetails : Added users and/or groups to the
- // membership of a shared file or folder.
+ // SharedContentAddMemberDetails : has no documentation (yet)
SharedContentAddMemberDetails json.RawMessage `json:"shared_content_add_member_details,omitempty"`
- // SharedContentChangeDownloadsPolicyDetails : Changed whether members
- // can download the shared file or folder.
+ // SharedContentChangeDownloadsPolicyDetails : has no documentation
+ // (yet)
SharedContentChangeDownloadsPolicyDetails json.RawMessage `json:"shared_content_change_downloads_policy_details,omitempty"`
- // SharedContentChangeInviteeRoleDetails : Changed the access type of an
- // invitee to a shared file or folder before the invitation was claimed.
+ // SharedContentChangeInviteeRoleDetails : has no documentation (yet)
SharedContentChangeInviteeRoleDetails json.RawMessage `json:"shared_content_change_invitee_role_details,omitempty"`
- // SharedContentChangeLinkAudienceDetails : Changed the audience of the
- // link for a shared file or folder.
+ // SharedContentChangeLinkAudienceDetails : has no documentation (yet)
SharedContentChangeLinkAudienceDetails json.RawMessage `json:"shared_content_change_link_audience_details,omitempty"`
- // SharedContentChangeLinkExpiryDetails : Changed the expiry of the link
- // for the shared file or folder.
+ // SharedContentChangeLinkExpiryDetails : has no documentation (yet)
SharedContentChangeLinkExpiryDetails json.RawMessage `json:"shared_content_change_link_expiry_details,omitempty"`
- // SharedContentChangeLinkPasswordDetails : Changed the password on the
- // link for the shared file or folder.
+ // SharedContentChangeLinkPasswordDetails : has no documentation (yet)
SharedContentChangeLinkPasswordDetails json.RawMessage `json:"shared_content_change_link_password_details,omitempty"`
- // SharedContentChangeMemberRoleDetails : Changed the access type of a
- // shared file or folder member.
+ // SharedContentChangeMemberRoleDetails : has no documentation (yet)
SharedContentChangeMemberRoleDetails json.RawMessage `json:"shared_content_change_member_role_details,omitempty"`
- // SharedContentChangeViewerInfoPolicyDetails : Changed whether members
- // can see who viewed the shared file or folder.
+ // SharedContentChangeViewerInfoPolicyDetails : has no documentation
+ // (yet)
SharedContentChangeViewerInfoPolicyDetails json.RawMessage `json:"shared_content_change_viewer_info_policy_details,omitempty"`
- // SharedContentClaimInvitationDetails : Claimed membership to a team
- // member's shared folder.
+ // SharedContentClaimInvitationDetails : has no documentation (yet)
SharedContentClaimInvitationDetails json.RawMessage `json:"shared_content_claim_invitation_details,omitempty"`
- // SharedContentCopyDetails : Copied the shared file or folder to own
- // Dropbox.
+ // SharedContentCopyDetails : has no documentation (yet)
SharedContentCopyDetails json.RawMessage `json:"shared_content_copy_details,omitempty"`
- // SharedContentDownloadDetails : Downloaded the shared file or folder.
+ // SharedContentDownloadDetails : has no documentation (yet)
SharedContentDownloadDetails json.RawMessage `json:"shared_content_download_details,omitempty"`
- // SharedContentRelinquishMembershipDetails : Left the membership of a
- // shared file or folder.
+ // SharedContentRelinquishMembershipDetails : has no documentation (yet)
SharedContentRelinquishMembershipDetails json.RawMessage `json:"shared_content_relinquish_membership_details,omitempty"`
- // SharedContentRemoveInviteeDetails : Removed an invitee from the
- // membership of a shared file or folder before it was claimed.
- SharedContentRemoveInviteeDetails json.RawMessage `json:"shared_content_remove_invitee_details,omitempty"`
- // SharedContentRemoveLinkExpiryDetails : Removed the expiry of the link
- // for the shared file or folder.
+ // SharedContentRemoveInviteesDetails : has no documentation (yet)
+ SharedContentRemoveInviteesDetails json.RawMessage `json:"shared_content_remove_invitees_details,omitempty"`
+ // SharedContentRemoveLinkExpiryDetails : has no documentation (yet)
SharedContentRemoveLinkExpiryDetails json.RawMessage `json:"shared_content_remove_link_expiry_details,omitempty"`
- // SharedContentRemoveLinkPasswordDetails : Removed the password on the
- // link for the shared file or folder.
+ // SharedContentRemoveLinkPasswordDetails : has no documentation (yet)
SharedContentRemoveLinkPasswordDetails json.RawMessage `json:"shared_content_remove_link_password_details,omitempty"`
- // SharedContentRemoveMemberDetails : Removed a user or a group from the
- // membership of a shared file or folder.
+ // SharedContentRemoveMemberDetails : has no documentation (yet)
SharedContentRemoveMemberDetails json.RawMessage `json:"shared_content_remove_member_details,omitempty"`
- // SharedContentRequestAccessDetails : Requested to be on the membership
- // of a shared file or folder.
+ // SharedContentRequestAccessDetails : has no documentation (yet)
SharedContentRequestAccessDetails json.RawMessage `json:"shared_content_request_access_details,omitempty"`
- // SharedContentUnshareDetails : Unshared a shared file or folder by
- // clearing its membership and turning off its link.
+ // SharedContentUnshareDetails : has no documentation (yet)
SharedContentUnshareDetails json.RawMessage `json:"shared_content_unshare_details,omitempty"`
- // SharedContentViewDetails : Previewed the shared file or folder.
+ // SharedContentViewDetails : has no documentation (yet)
SharedContentViewDetails json.RawMessage `json:"shared_content_view_details,omitempty"`
- // SharedFolderChangeConfidentialityDetails : Set or unset the
- // confidential flag on a shared folder.
- SharedFolderChangeConfidentialityDetails json.RawMessage `json:"shared_folder_change_confidentiality_details,omitempty"`
- // SharedFolderChangeLinkPolicyDetails : Changed who can access the
- // shared folder via a link.
+ // SharedFolderChangeLinkPolicyDetails : has no documentation (yet)
SharedFolderChangeLinkPolicyDetails json.RawMessage `json:"shared_folder_change_link_policy_details,omitempty"`
- // SharedFolderChangeMemberManagementPolicyDetails : Changed who can
- // manage the membership of a shared folder.
- SharedFolderChangeMemberManagementPolicyDetails json.RawMessage `json:"shared_folder_change_member_management_policy_details,omitempty"`
- // SharedFolderChangeMemberPolicyDetails : Changed who can become a
- // member of the shared folder.
- SharedFolderChangeMemberPolicyDetails json.RawMessage `json:"shared_folder_change_member_policy_details,omitempty"`
- // SharedFolderCreateDetails : Created a shared folder.
+ // SharedFolderChangeMembersInheritancePolicyDetails : has no
+ // documentation (yet)
+ SharedFolderChangeMembersInheritancePolicyDetails json.RawMessage `json:"shared_folder_change_members_inheritance_policy_details,omitempty"`
+ // SharedFolderChangeMembersManagementPolicyDetails : has no
+ // documentation (yet)
+ SharedFolderChangeMembersManagementPolicyDetails json.RawMessage `json:"shared_folder_change_members_management_policy_details,omitempty"`
+ // SharedFolderChangeMembersPolicyDetails : has no documentation (yet)
+ SharedFolderChangeMembersPolicyDetails json.RawMessage `json:"shared_folder_change_members_policy_details,omitempty"`
+ // SharedFolderCreateDetails : has no documentation (yet)
SharedFolderCreateDetails json.RawMessage `json:"shared_folder_create_details,omitempty"`
- // SharedFolderMountDetails : Added a shared folder to own Dropbox.
+ // SharedFolderDeclineInvitationDetails : has no documentation (yet)
+ SharedFolderDeclineInvitationDetails json.RawMessage `json:"shared_folder_decline_invitation_details,omitempty"`
+ // SharedFolderMountDetails : has no documentation (yet)
SharedFolderMountDetails json.RawMessage `json:"shared_folder_mount_details,omitempty"`
- // SharedFolderTransferOwnershipDetails : Transferred the ownership of a
- // shared folder to another member.
+ // SharedFolderNestDetails : has no documentation (yet)
+ SharedFolderNestDetails json.RawMessage `json:"shared_folder_nest_details,omitempty"`
+ // SharedFolderTransferOwnershipDetails : has no documentation (yet)
SharedFolderTransferOwnershipDetails json.RawMessage `json:"shared_folder_transfer_ownership_details,omitempty"`
- // SharedFolderUnmountDetails : Deleted a shared folder from Dropbox.
+ // SharedFolderUnmountDetails : has no documentation (yet)
SharedFolderUnmountDetails json.RawMessage `json:"shared_folder_unmount_details,omitempty"`
- // SharedNoteOpenedDetails : Shared Paper document was opened.
+ // SharedLinkAddExpiryDetails : has no documentation (yet)
+ SharedLinkAddExpiryDetails json.RawMessage `json:"shared_link_add_expiry_details,omitempty"`
+ // SharedLinkChangeExpiryDetails : has no documentation (yet)
+ SharedLinkChangeExpiryDetails json.RawMessage `json:"shared_link_change_expiry_details,omitempty"`
+ // SharedLinkChangeVisibilityDetails : has no documentation (yet)
+ SharedLinkChangeVisibilityDetails json.RawMessage `json:"shared_link_change_visibility_details,omitempty"`
+ // SharedLinkCopyDetails : has no documentation (yet)
+ SharedLinkCopyDetails json.RawMessage `json:"shared_link_copy_details,omitempty"`
+ // SharedLinkCreateDetails : has no documentation (yet)
+ SharedLinkCreateDetails json.RawMessage `json:"shared_link_create_details,omitempty"`
+ // SharedLinkDisableDetails : has no documentation (yet)
+ SharedLinkDisableDetails json.RawMessage `json:"shared_link_disable_details,omitempty"`
+ // SharedLinkDownloadDetails : has no documentation (yet)
+ SharedLinkDownloadDetails json.RawMessage `json:"shared_link_download_details,omitempty"`
+ // SharedLinkRemoveExpiryDetails : has no documentation (yet)
+ SharedLinkRemoveExpiryDetails json.RawMessage `json:"shared_link_remove_expiry_details,omitempty"`
+ // SharedLinkShareDetails : has no documentation (yet)
+ SharedLinkShareDetails json.RawMessage `json:"shared_link_share_details,omitempty"`
+ // SharedLinkViewDetails : has no documentation (yet)
+ SharedLinkViewDetails json.RawMessage `json:"shared_link_view_details,omitempty"`
+ // SharedNoteOpenedDetails : has no documentation (yet)
SharedNoteOpenedDetails json.RawMessage `json:"shared_note_opened_details,omitempty"`
- // ShmodelAppCreateDetails : Created a link to a file using an app.
- ShmodelAppCreateDetails json.RawMessage `json:"shmodel_app_create_details,omitempty"`
- // ShmodelCreateDetails : Created a new link.
- ShmodelCreateDetails json.RawMessage `json:"shmodel_create_details,omitempty"`
- // ShmodelDisableDetails : Removed a link.
- ShmodelDisableDetails json.RawMessage `json:"shmodel_disable_details,omitempty"`
- // ShmodelFbShareDetails : Shared a link with Facebook users.
- ShmodelFbShareDetails json.RawMessage `json:"shmodel_fb_share_details,omitempty"`
- // ShmodelGroupShareDetails : Shared a link with a group.
+ // ShmodelGroupShareDetails : has no documentation (yet)
ShmodelGroupShareDetails json.RawMessage `json:"shmodel_group_share_details,omitempty"`
- // ShmodelRemoveExpirationDetails : Removed the expiration date from a
- // link.
- ShmodelRemoveExpirationDetails json.RawMessage `json:"shmodel_remove_expiration_details,omitempty"`
- // ShmodelSetExpirationDetails : Added an expiration date to a link.
- ShmodelSetExpirationDetails json.RawMessage `json:"shmodel_set_expiration_details,omitempty"`
- // ShmodelTeamCopyDetails : Added a team member's file/folder to their
- // Dropbox from a link.
- ShmodelTeamCopyDetails json.RawMessage `json:"shmodel_team_copy_details,omitempty"`
- // ShmodelTeamDownloadDetails : Downloaded a team member's file/folder
- // from a link.
- ShmodelTeamDownloadDetails json.RawMessage `json:"shmodel_team_download_details,omitempty"`
- // ShmodelTeamShareDetails : Shared a link with team members.
- ShmodelTeamShareDetails json.RawMessage `json:"shmodel_team_share_details,omitempty"`
- // ShmodelTeamViewDetails : Opened a team member's link.
- ShmodelTeamViewDetails json.RawMessage `json:"shmodel_team_view_details,omitempty"`
- // ShmodelVisibilityPasswordDetails : Password-protected a link.
- ShmodelVisibilityPasswordDetails json.RawMessage `json:"shmodel_visibility_password_details,omitempty"`
- // ShmodelVisibilityPublicDetails : Made a file/folder visible to anyone
- // with the link.
- ShmodelVisibilityPublicDetails json.RawMessage `json:"shmodel_visibility_public_details,omitempty"`
- // ShmodelVisibilityTeamOnlyDetails : Made a file/folder visible only to
- // team members with the link.
- ShmodelVisibilityTeamOnlyDetails json.RawMessage `json:"shmodel_visibility_team_only_details,omitempty"`
- // SsoAddCertDetails : Added the X.509 certificate for SSO.
+ // ShowcaseAccessGrantedDetails : has no documentation (yet)
+ ShowcaseAccessGrantedDetails json.RawMessage `json:"showcase_access_granted_details,omitempty"`
+ // ShowcaseAddMemberDetails : has no documentation (yet)
+ ShowcaseAddMemberDetails json.RawMessage `json:"showcase_add_member_details,omitempty"`
+ // ShowcaseArchivedDetails : has no documentation (yet)
+ ShowcaseArchivedDetails json.RawMessage `json:"showcase_archived_details,omitempty"`
+ // ShowcaseCreatedDetails : has no documentation (yet)
+ ShowcaseCreatedDetails json.RawMessage `json:"showcase_created_details,omitempty"`
+ // ShowcaseDeleteCommentDetails : has no documentation (yet)
+ ShowcaseDeleteCommentDetails json.RawMessage `json:"showcase_delete_comment_details,omitempty"`
+ // ShowcaseEditedDetails : has no documentation (yet)
+ ShowcaseEditedDetails json.RawMessage `json:"showcase_edited_details,omitempty"`
+ // ShowcaseEditCommentDetails : has no documentation (yet)
+ ShowcaseEditCommentDetails json.RawMessage `json:"showcase_edit_comment_details,omitempty"`
+ // ShowcaseFileAddedDetails : has no documentation (yet)
+ ShowcaseFileAddedDetails json.RawMessage `json:"showcase_file_added_details,omitempty"`
+ // ShowcaseFileDownloadDetails : has no documentation (yet)
+ ShowcaseFileDownloadDetails json.RawMessage `json:"showcase_file_download_details,omitempty"`
+ // ShowcaseFileRemovedDetails : has no documentation (yet)
+ ShowcaseFileRemovedDetails json.RawMessage `json:"showcase_file_removed_details,omitempty"`
+ // ShowcaseFileViewDetails : has no documentation (yet)
+ ShowcaseFileViewDetails json.RawMessage `json:"showcase_file_view_details,omitempty"`
+ // ShowcasePermanentlyDeletedDetails : has no documentation (yet)
+ ShowcasePermanentlyDeletedDetails json.RawMessage `json:"showcase_permanently_deleted_details,omitempty"`
+ // ShowcasePostCommentDetails : has no documentation (yet)
+ ShowcasePostCommentDetails json.RawMessage `json:"showcase_post_comment_details,omitempty"`
+ // ShowcaseRemoveMemberDetails : has no documentation (yet)
+ ShowcaseRemoveMemberDetails json.RawMessage `json:"showcase_remove_member_details,omitempty"`
+ // ShowcaseRenamedDetails : has no documentation (yet)
+ ShowcaseRenamedDetails json.RawMessage `json:"showcase_renamed_details,omitempty"`
+ // ShowcaseRequestAccessDetails : has no documentation (yet)
+ ShowcaseRequestAccessDetails json.RawMessage `json:"showcase_request_access_details,omitempty"`
+ // ShowcaseResolveCommentDetails : has no documentation (yet)
+ ShowcaseResolveCommentDetails json.RawMessage `json:"showcase_resolve_comment_details,omitempty"`
+ // ShowcaseRestoredDetails : has no documentation (yet)
+ ShowcaseRestoredDetails json.RawMessage `json:"showcase_restored_details,omitempty"`
+ // ShowcaseTrashedDetails : has no documentation (yet)
+ ShowcaseTrashedDetails json.RawMessage `json:"showcase_trashed_details,omitempty"`
+ // ShowcaseTrashedDeprecatedDetails : has no documentation (yet)
+ ShowcaseTrashedDeprecatedDetails json.RawMessage `json:"showcase_trashed_deprecated_details,omitempty"`
+ // ShowcaseUnresolveCommentDetails : has no documentation (yet)
+ ShowcaseUnresolveCommentDetails json.RawMessage `json:"showcase_unresolve_comment_details,omitempty"`
+ // ShowcaseUntrashedDetails : has no documentation (yet)
+ ShowcaseUntrashedDetails json.RawMessage `json:"showcase_untrashed_details,omitempty"`
+ // ShowcaseUntrashedDeprecatedDetails : has no documentation (yet)
+ ShowcaseUntrashedDeprecatedDetails json.RawMessage `json:"showcase_untrashed_deprecated_details,omitempty"`
+ // ShowcaseViewDetails : has no documentation (yet)
+ ShowcaseViewDetails json.RawMessage `json:"showcase_view_details,omitempty"`
+ // SsoAddCertDetails : has no documentation (yet)
SsoAddCertDetails json.RawMessage `json:"sso_add_cert_details,omitempty"`
- // SsoAddLoginUrlDetails : Added sign-in URL for SSO.
+ // SsoAddLoginUrlDetails : has no documentation (yet)
SsoAddLoginUrlDetails json.RawMessage `json:"sso_add_login_url_details,omitempty"`
- // SsoAddLogoutUrlDetails : Added sign-out URL for SSO.
+ // SsoAddLogoutUrlDetails : has no documentation (yet)
SsoAddLogoutUrlDetails json.RawMessage `json:"sso_add_logout_url_details,omitempty"`
- // SsoChangeCertDetails : Changed the X.509 certificate for SSO.
+ // SsoChangeCertDetails : has no documentation (yet)
SsoChangeCertDetails json.RawMessage `json:"sso_change_cert_details,omitempty"`
- // SsoChangeLoginUrlDetails : Changed the sign-in URL for SSO.
+ // SsoChangeLoginUrlDetails : has no documentation (yet)
SsoChangeLoginUrlDetails json.RawMessage `json:"sso_change_login_url_details,omitempty"`
- // SsoChangeLogoutUrlDetails : Changed the sign-out URL for SSO.
+ // SsoChangeLogoutUrlDetails : has no documentation (yet)
SsoChangeLogoutUrlDetails json.RawMessage `json:"sso_change_logout_url_details,omitempty"`
- // SsoChangeSamlIdentityModeDetails : Changed the SAML identity mode for
- // SSO.
+ // SsoChangeSamlIdentityModeDetails : has no documentation (yet)
SsoChangeSamlIdentityModeDetails json.RawMessage `json:"sso_change_saml_identity_mode_details,omitempty"`
- // SsoRemoveCertDetails : Removed the X.509 certificate for SSO.
+ // SsoRemoveCertDetails : has no documentation (yet)
SsoRemoveCertDetails json.RawMessage `json:"sso_remove_cert_details,omitempty"`
- // SsoRemoveLoginUrlDetails : Removed the sign-in URL for SSO.
+ // SsoRemoveLoginUrlDetails : has no documentation (yet)
SsoRemoveLoginUrlDetails json.RawMessage `json:"sso_remove_login_url_details,omitempty"`
- // SsoRemoveLogoutUrlDetails : Removed single sign-on logout URL.
+ // SsoRemoveLogoutUrlDetails : has no documentation (yet)
SsoRemoveLogoutUrlDetails json.RawMessage `json:"sso_remove_logout_url_details,omitempty"`
- // TeamFolderChangeStatusDetails : Changed the archival status of a team
- // folder.
+ // TeamFolderChangeStatusDetails : has no documentation (yet)
TeamFolderChangeStatusDetails json.RawMessage `json:"team_folder_change_status_details,omitempty"`
- // TeamFolderCreateDetails : Created a new team folder in active status.
+ // TeamFolderCreateDetails : has no documentation (yet)
TeamFolderCreateDetails json.RawMessage `json:"team_folder_create_details,omitempty"`
- // TeamFolderDowngradeDetails : Downgraded a team folder to a regular
- // shared folder.
+ // TeamFolderDowngradeDetails : has no documentation (yet)
TeamFolderDowngradeDetails json.RawMessage `json:"team_folder_downgrade_details,omitempty"`
- // TeamFolderPermanentlyDeleteDetails : Permanently deleted an archived
- // team folder.
+ // TeamFolderPermanentlyDeleteDetails : has no documentation (yet)
TeamFolderPermanentlyDeleteDetails json.RawMessage `json:"team_folder_permanently_delete_details,omitempty"`
- // TeamFolderRenameDetails : Renamed an active or archived team folder.
+ // TeamFolderRenameDetails : has no documentation (yet)
TeamFolderRenameDetails json.RawMessage `json:"team_folder_rename_details,omitempty"`
- // AccountCaptureChangePolicyDetails : Changed the account capture
- // policy on a domain belonging to the team.
+ // TeamSelectiveSyncSettingsChangedDetails : has no documentation (yet)
+ TeamSelectiveSyncSettingsChangedDetails json.RawMessage `json:"team_selective_sync_settings_changed_details,omitempty"`
+ // AccountCaptureChangePolicyDetails : has no documentation (yet)
AccountCaptureChangePolicyDetails json.RawMessage `json:"account_capture_change_policy_details,omitempty"`
- // AllowDownloadDisabledDetails : Disabled allow downloads.
+ // AllowDownloadDisabledDetails : has no documentation (yet)
AllowDownloadDisabledDetails json.RawMessage `json:"allow_download_disabled_details,omitempty"`
- // AllowDownloadEnabledDetails : Enabled allow downloads.
+ // AllowDownloadEnabledDetails : has no documentation (yet)
AllowDownloadEnabledDetails json.RawMessage `json:"allow_download_enabled_details,omitempty"`
- // DataPlacementRestrictionChangePolicyDetails : Set a restriction
- // policy regarding the location of data centers where team data
- // resides.
+ // DataPlacementRestrictionChangePolicyDetails : has no documentation
+ // (yet)
DataPlacementRestrictionChangePolicyDetails json.RawMessage `json:"data_placement_restriction_change_policy_details,omitempty"`
- // DataPlacementRestrictionSatisfyPolicyDetails : Satisfied a previously
- // set restriction policy regarding the location of data centers where
- // team data resides (i.e. all data have been migrated according to the
- // restriction placed).
+ // DataPlacementRestrictionSatisfyPolicyDetails : has no documentation
+ // (yet)
DataPlacementRestrictionSatisfyPolicyDetails json.RawMessage `json:"data_placement_restriction_satisfy_policy_details,omitempty"`
- // DeviceApprovalsChangeDesktopPolicyDetails : Set or removed a limit on
- // the number of computers each team member can link to their work
- // Dropbox account.
+ // DeviceApprovalsChangeDesktopPolicyDetails : has no documentation
+ // (yet)
DeviceApprovalsChangeDesktopPolicyDetails json.RawMessage `json:"device_approvals_change_desktop_policy_details,omitempty"`
- // DeviceApprovalsChangeMobilePolicyDetails : Set or removed a limit on
- // the number of mobiles devices each team member can link to their work
- // Dropbox account.
+ // DeviceApprovalsChangeMobilePolicyDetails : has no documentation (yet)
DeviceApprovalsChangeMobilePolicyDetails json.RawMessage `json:"device_approvals_change_mobile_policy_details,omitempty"`
- // DeviceApprovalsChangeOverageActionDetails : Changed the action taken
- // when a team member is already over the limits (e.g when they join the
- // team, an admin lowers limits, etc.).
+ // DeviceApprovalsChangeOverageActionDetails : has no documentation
+ // (yet)
DeviceApprovalsChangeOverageActionDetails json.RawMessage `json:"device_approvals_change_overage_action_details,omitempty"`
- // DeviceApprovalsChangeUnlinkActionDetails : Changed the action taken
- // with respect to approval limits when a team member unlinks an
- // approved device.
+ // DeviceApprovalsChangeUnlinkActionDetails : has no documentation (yet)
DeviceApprovalsChangeUnlinkActionDetails json.RawMessage `json:"device_approvals_change_unlink_action_details,omitempty"`
- // EmmAddExceptionDetails : Added an exception for one or more team
- // members to optionally use the regular Dropbox app when EMM is
- // enabled.
+ // DirectoryRestrictionsAddMembersDetails : has no documentation (yet)
+ DirectoryRestrictionsAddMembersDetails json.RawMessage `json:"directory_restrictions_add_members_details,omitempty"`
+ // DirectoryRestrictionsRemoveMembersDetails : has no documentation
+ // (yet)
+ DirectoryRestrictionsRemoveMembersDetails json.RawMessage `json:"directory_restrictions_remove_members_details,omitempty"`
+ // EmmAddExceptionDetails : has no documentation (yet)
EmmAddExceptionDetails json.RawMessage `json:"emm_add_exception_details,omitempty"`
- // EmmChangePolicyDetails : Enabled or disabled enterprise mobility
- // management for team members.
+ // EmmChangePolicyDetails : has no documentation (yet)
EmmChangePolicyDetails json.RawMessage `json:"emm_change_policy_details,omitempty"`
- // EmmRemoveExceptionDetails : Removed an exception for one or more team
- // members to optionally use the regular Dropbox app when EMM is
- // enabled.
+ // EmmRemoveExceptionDetails : has no documentation (yet)
EmmRemoveExceptionDetails json.RawMessage `json:"emm_remove_exception_details,omitempty"`
- // ExtendedVersionHistoryChangePolicyDetails : Accepted or opted out of
- // extended version history.
+ // ExtendedVersionHistoryChangePolicyDetails : has no documentation
+ // (yet)
ExtendedVersionHistoryChangePolicyDetails json.RawMessage `json:"extended_version_history_change_policy_details,omitempty"`
- // FileCommentsChangePolicyDetails : Enabled or disabled commenting on
- // team files.
+ // FileCommentsChangePolicyDetails : has no documentation (yet)
FileCommentsChangePolicyDetails json.RawMessage `json:"file_comments_change_policy_details,omitempty"`
- // FileRequestsChangePolicyDetails : Enabled or disabled file requests.
+ // FileRequestsChangePolicyDetails : has no documentation (yet)
FileRequestsChangePolicyDetails json.RawMessage `json:"file_requests_change_policy_details,omitempty"`
- // FileRequestsEmailsEnabledDetails : Enabled file request emails for
- // everyone.
+ // FileRequestsEmailsEnabledDetails : has no documentation (yet)
FileRequestsEmailsEnabledDetails json.RawMessage `json:"file_requests_emails_enabled_details,omitempty"`
- // FileRequestsEmailsRestrictedToTeamOnlyDetails : Allowed file request
- // emails for the team.
+ // FileRequestsEmailsRestrictedToTeamOnlyDetails : has no documentation
+ // (yet)
FileRequestsEmailsRestrictedToTeamOnlyDetails json.RawMessage `json:"file_requests_emails_restricted_to_team_only_details,omitempty"`
- // GoogleSsoChangePolicyDetails : Enabled or disabled Google single
- // sign-on for the team.
+ // GoogleSsoChangePolicyDetails : has no documentation (yet)
GoogleSsoChangePolicyDetails json.RawMessage `json:"google_sso_change_policy_details,omitempty"`
- // GroupUserManagementChangePolicyDetails : Changed who can create
- // groups.
+ // GroupUserManagementChangePolicyDetails : has no documentation (yet)
GroupUserManagementChangePolicyDetails json.RawMessage `json:"group_user_management_change_policy_details,omitempty"`
- // MemberRequestsChangePolicyDetails : Changed whether users can find
- // the team when not invited.
+ // MemberRequestsChangePolicyDetails : has no documentation (yet)
MemberRequestsChangePolicyDetails json.RawMessage `json:"member_requests_change_policy_details,omitempty"`
- // MemberSpaceLimitsAddExceptionDetails : Added an exception for one or
- // more team members to bypass space limits imposed by policy.
+ // MemberSpaceLimitsAddExceptionDetails : has no documentation (yet)
MemberSpaceLimitsAddExceptionDetails json.RawMessage `json:"member_space_limits_add_exception_details,omitempty"`
- // MemberSpaceLimitsChangePolicyDetails : Changed the team default limit
- // level.
+ // MemberSpaceLimitsChangeCapsTypePolicyDetails : has no documentation
+ // (yet)
+ MemberSpaceLimitsChangeCapsTypePolicyDetails json.RawMessage `json:"member_space_limits_change_caps_type_policy_details,omitempty"`
+ // MemberSpaceLimitsChangePolicyDetails : has no documentation (yet)
MemberSpaceLimitsChangePolicyDetails json.RawMessage `json:"member_space_limits_change_policy_details,omitempty"`
- // MemberSpaceLimitsRemoveExceptionDetails : Removed an exception for
- // one or more team members to bypass space limits imposed by policy.
+ // MemberSpaceLimitsRemoveExceptionDetails : has no documentation (yet)
MemberSpaceLimitsRemoveExceptionDetails json.RawMessage `json:"member_space_limits_remove_exception_details,omitempty"`
- // MemberSuggestionsChangePolicyDetails : Enabled or disabled the option
- // for team members to suggest new members to add to the team.
+ // MemberSuggestionsChangePolicyDetails : has no documentation (yet)
MemberSuggestionsChangePolicyDetails json.RawMessage `json:"member_suggestions_change_policy_details,omitempty"`
- // MicrosoftOfficeAddinChangePolicyDetails : Enabled or disabled the
- // Microsoft Office add-in, which lets team members save files to
- // Dropbox directly from Microsoft Office.
+ // MicrosoftOfficeAddinChangePolicyDetails : has no documentation (yet)
MicrosoftOfficeAddinChangePolicyDetails json.RawMessage `json:"microsoft_office_addin_change_policy_details,omitempty"`
- // NetworkControlChangePolicyDetails : Enabled or disabled network
- // control.
+ // NetworkControlChangePolicyDetails : has no documentation (yet)
NetworkControlChangePolicyDetails json.RawMessage `json:"network_control_change_policy_details,omitempty"`
- // PaperChangeDeploymentPolicyDetails : Changed whether Dropbox Paper,
- // when enabled, is deployed to all teams or to specific members of the
- // team.
+ // PaperChangeDeploymentPolicyDetails : has no documentation (yet)
PaperChangeDeploymentPolicyDetails json.RawMessage `json:"paper_change_deployment_policy_details,omitempty"`
- // PaperChangeMemberLinkPolicyDetails : Changed whether non team members
- // can view Paper documents using a link.
+ // PaperChangeMemberLinkPolicyDetails : has no documentation (yet)
PaperChangeMemberLinkPolicyDetails json.RawMessage `json:"paper_change_member_link_policy_details,omitempty"`
- // PaperChangeMemberPolicyDetails : Changed whether team members can
- // share Paper documents externally (i.e. outside the team), and if so,
- // whether they should be accessible only by team members or anyone by
- // default.
+ // PaperChangeMemberPolicyDetails : has no documentation (yet)
PaperChangeMemberPolicyDetails json.RawMessage `json:"paper_change_member_policy_details,omitempty"`
- // PaperChangePolicyDetails : Enabled or disabled Dropbox Paper for the
- // team.
+ // PaperChangePolicyDetails : has no documentation (yet)
PaperChangePolicyDetails json.RawMessage `json:"paper_change_policy_details,omitempty"`
- // PermanentDeleteChangePolicyDetails : Enabled or disabled the ability
- // of team members to permanently delete content.
+ // PaperEnabledUsersGroupAdditionDetails : has no documentation (yet)
+ PaperEnabledUsersGroupAdditionDetails json.RawMessage `json:"paper_enabled_users_group_addition_details,omitempty"`
+ // PaperEnabledUsersGroupRemovalDetails : has no documentation (yet)
+ PaperEnabledUsersGroupRemovalDetails json.RawMessage `json:"paper_enabled_users_group_removal_details,omitempty"`
+ // PermanentDeleteChangePolicyDetails : has no documentation (yet)
PermanentDeleteChangePolicyDetails json.RawMessage `json:"permanent_delete_change_policy_details,omitempty"`
- // SharingChangeFolderJoinPolicyDetails : Changed whether team members
- // can join shared folders owned externally (i.e. outside the team).
+ // SharingChangeFolderJoinPolicyDetails : has no documentation (yet)
SharingChangeFolderJoinPolicyDetails json.RawMessage `json:"sharing_change_folder_join_policy_details,omitempty"`
- // SharingChangeLinkPolicyDetails : Changed whether team members can
- // share links externally (i.e. outside the team), and if so, whether
- // links should be accessible only by team members or anyone by default.
+ // SharingChangeLinkPolicyDetails : has no documentation (yet)
SharingChangeLinkPolicyDetails json.RawMessage `json:"sharing_change_link_policy_details,omitempty"`
- // SharingChangeMemberPolicyDetails : Changed whether team members can
- // share files and folders externally (i.e. outside the team).
+ // SharingChangeMemberPolicyDetails : has no documentation (yet)
SharingChangeMemberPolicyDetails json.RawMessage `json:"sharing_change_member_policy_details,omitempty"`
- // SmartSyncChangePolicyDetails : Changed the default Smart Sync policy
- // for team members.
+ // ShowcaseChangeDownloadPolicyDetails : has no documentation (yet)
+ ShowcaseChangeDownloadPolicyDetails json.RawMessage `json:"showcase_change_download_policy_details,omitempty"`
+ // ShowcaseChangeEnabledPolicyDetails : has no documentation (yet)
+ ShowcaseChangeEnabledPolicyDetails json.RawMessage `json:"showcase_change_enabled_policy_details,omitempty"`
+ // ShowcaseChangeExternalSharingPolicyDetails : has no documentation
+ // (yet)
+ ShowcaseChangeExternalSharingPolicyDetails json.RawMessage `json:"showcase_change_external_sharing_policy_details,omitempty"`
+ // SmartSyncChangePolicyDetails : has no documentation (yet)
SmartSyncChangePolicyDetails json.RawMessage `json:"smart_sync_change_policy_details,omitempty"`
- // SmartSyncNotOptOutDetails : Opted team into Smart Sync.
+ // SmartSyncNotOptOutDetails : has no documentation (yet)
SmartSyncNotOptOutDetails json.RawMessage `json:"smart_sync_not_opt_out_details,omitempty"`
- // SmartSyncOptOutDetails : Opted team out of Smart Sync.
+ // SmartSyncOptOutDetails : has no documentation (yet)
SmartSyncOptOutDetails json.RawMessage `json:"smart_sync_opt_out_details,omitempty"`
- // SsoChangePolicyDetails : Change the single sign-on policy for the
- // team.
+ // SsoChangePolicyDetails : has no documentation (yet)
SsoChangePolicyDetails json.RawMessage `json:"sso_change_policy_details,omitempty"`
- // TfaChangePolicyDetails : Change two-step verification policy for the
- // team.
+ // TfaChangePolicyDetails : has no documentation (yet)
TfaChangePolicyDetails json.RawMessage `json:"tfa_change_policy_details,omitempty"`
- // TwoAccountChangePolicyDetails : Enabled or disabled the option for
- // team members to link a personal Dropbox account in addition to their
- // work account to the same computer.
+ // TwoAccountChangePolicyDetails : has no documentation (yet)
TwoAccountChangePolicyDetails json.RawMessage `json:"two_account_change_policy_details,omitempty"`
- // WebSessionsChangeFixedLengthPolicyDetails : Changed how long team
- // members can stay signed in to Dropbox on the web.
+ // WebSessionsChangeFixedLengthPolicyDetails : has no documentation
+ // (yet)
WebSessionsChangeFixedLengthPolicyDetails json.RawMessage `json:"web_sessions_change_fixed_length_policy_details,omitempty"`
- // WebSessionsChangeIdleLengthPolicyDetails : Changed how long team
- // members can be idle while signed in to Dropbox on the web.
+ // WebSessionsChangeIdleLengthPolicyDetails : has no documentation (yet)
WebSessionsChangeIdleLengthPolicyDetails json.RawMessage `json:"web_sessions_change_idle_length_policy_details,omitempty"`
- // TeamProfileAddLogoDetails : Added a team logo to be displayed on
- // shared link headers.
+ // TeamMergeFromDetails : has no documentation (yet)
+ TeamMergeFromDetails json.RawMessage `json:"team_merge_from_details,omitempty"`
+ // TeamMergeToDetails : has no documentation (yet)
+ TeamMergeToDetails json.RawMessage `json:"team_merge_to_details,omitempty"`
+ // TeamProfileAddLogoDetails : has no documentation (yet)
TeamProfileAddLogoDetails json.RawMessage `json:"team_profile_add_logo_details,omitempty"`
- // TeamProfileChangeDefaultLanguageDetails : Changed the default
- // language for the team.
+ // TeamProfileChangeDefaultLanguageDetails : has no documentation (yet)
TeamProfileChangeDefaultLanguageDetails json.RawMessage `json:"team_profile_change_default_language_details,omitempty"`
- // TeamProfileChangeLogoDetails : Changed the team logo to be displayed
- // on shared link headers.
+ // TeamProfileChangeLogoDetails : has no documentation (yet)
TeamProfileChangeLogoDetails json.RawMessage `json:"team_profile_change_logo_details,omitempty"`
- // TeamProfileChangeNameDetails : Changed the team name.
+ // TeamProfileChangeNameDetails : has no documentation (yet)
TeamProfileChangeNameDetails json.RawMessage `json:"team_profile_change_name_details,omitempty"`
- // TeamProfileRemoveLogoDetails : Removed the team logo to be displayed
- // on shared link headers.
+ // TeamProfileRemoveLogoDetails : has no documentation (yet)
TeamProfileRemoveLogoDetails json.RawMessage `json:"team_profile_remove_logo_details,omitempty"`
- // TfaAddBackupPhoneDetails : Added a backup phone for two-step
- // verification.
+ // TfaAddBackupPhoneDetails : has no documentation (yet)
TfaAddBackupPhoneDetails json.RawMessage `json:"tfa_add_backup_phone_details,omitempty"`
- // TfaAddSecurityKeyDetails : Added a security key for two-step
- // verification.
+ // TfaAddSecurityKeyDetails : has no documentation (yet)
TfaAddSecurityKeyDetails json.RawMessage `json:"tfa_add_security_key_details,omitempty"`
- // TfaChangeBackupPhoneDetails : Changed the backup phone for two-step
- // verification.
+ // TfaChangeBackupPhoneDetails : has no documentation (yet)
TfaChangeBackupPhoneDetails json.RawMessage `json:"tfa_change_backup_phone_details,omitempty"`
- // TfaChangeStatusDetails : Enabled, disabled or changed the
- // configuration for two-step verification.
+ // TfaChangeStatusDetails : has no documentation (yet)
TfaChangeStatusDetails json.RawMessage `json:"tfa_change_status_details,omitempty"`
- // TfaRemoveBackupPhoneDetails : Removed the backup phone for two-step
- // verification.
+ // TfaRemoveBackupPhoneDetails : has no documentation (yet)
TfaRemoveBackupPhoneDetails json.RawMessage `json:"tfa_remove_backup_phone_details,omitempty"`
- // TfaRemoveSecurityKeyDetails : Removed a security key for two-step
- // verification.
+ // TfaRemoveSecurityKeyDetails : has no documentation (yet)
TfaRemoveSecurityKeyDetails json.RawMessage `json:"tfa_remove_security_key_details,omitempty"`
- // TfaResetDetails : Reset two-step verification for team member.
+ // TfaResetDetails : has no documentation (yet)
TfaResetDetails json.RawMessage `json:"tfa_reset_details,omitempty"`
// MissingDetails : Hints that this event was returned with missing
// details due to an internal error.
@@ -3041,84 +3877,6 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
}
u.Tag = w.Tag
switch u.Tag {
- case "member_change_membership_type_details":
- err = json.Unmarshal(body, &u.MemberChangeMembershipTypeDetails)
-
- if err != nil {
- return err
- }
- case "member_permanently_delete_account_contents_details":
- err = json.Unmarshal(body, &u.MemberPermanentlyDeleteAccountContentsDetails)
-
- if err != nil {
- return err
- }
- case "member_space_limits_change_status_details":
- err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeStatusDetails)
-
- if err != nil {
- return err
- }
- case "member_transfer_account_contents_details":
- err = json.Unmarshal(body, &u.MemberTransferAccountContentsDetails)
-
- if err != nil {
- return err
- }
- case "paper_admin_export_start_details":
- err = json.Unmarshal(body, &u.PaperAdminExportStartDetails)
-
- if err != nil {
- return err
- }
- case "paper_enabled_users_group_addition_details":
- err = json.Unmarshal(body, &u.PaperEnabledUsersGroupAdditionDetails)
-
- if err != nil {
- return err
- }
- case "paper_enabled_users_group_removal_details":
- err = json.Unmarshal(body, &u.PaperEnabledUsersGroupRemovalDetails)
-
- if err != nil {
- return err
- }
- case "paper_external_view_allow_details":
- err = json.Unmarshal(body, &u.PaperExternalViewAllowDetails)
-
- if err != nil {
- return err
- }
- case "paper_external_view_default_team_details":
- err = json.Unmarshal(body, &u.PaperExternalViewDefaultTeamDetails)
-
- if err != nil {
- return err
- }
- case "paper_external_view_forbid_details":
- err = json.Unmarshal(body, &u.PaperExternalViewForbidDetails)
-
- if err != nil {
- return err
- }
- case "sf_external_invite_warn_details":
- err = json.Unmarshal(body, &u.SfExternalInviteWarnDetails)
-
- if err != nil {
- return err
- }
- case "team_merge_from_details":
- err = json.Unmarshal(body, &u.TeamMergeFromDetails)
-
- if err != nil {
- return err
- }
- case "team_merge_to_details":
- err = json.Unmarshal(body, &u.TeamMergeToDetails)
-
- if err != nil {
- return err
- }
case "app_link_team_details":
err = json.Unmarshal(body, &u.AppLinkTeamDetails)
@@ -3260,6 +4018,12 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "account_capture_migrate_account_details":
err = json.Unmarshal(body, &u.AccountCaptureMigrateAccountDetails)
+ if err != nil {
+ return err
+ }
+ case "account_capture_notification_emails_sent_details":
+ err = json.Unmarshal(body, &u.AccountCaptureNotificationEmailsSentDetails)
+
if err != nil {
return err
}
@@ -3422,24 +4186,12 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "file_save_copy_reference_details":
err = json.Unmarshal(body, &u.FileSaveCopyReferenceDetails)
- if err != nil {
- return err
- }
- case "file_request_add_deadline_details":
- err = json.Unmarshal(body, &u.FileRequestAddDeadlineDetails)
-
if err != nil {
return err
}
case "file_request_change_details":
err = json.Unmarshal(body, &u.FileRequestChangeDetails)
- if err != nil {
- return err
- }
- case "file_request_change_folder_details":
- err = json.Unmarshal(body, &u.FileRequestChangeFolderDetails)
-
if err != nil {
return err
}
@@ -3458,18 +4210,6 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "file_request_receive_file_details":
err = json.Unmarshal(body, &u.FileRequestReceiveFileDetails)
- if err != nil {
- return err
- }
- case "file_request_remove_deadline_details":
- err = json.Unmarshal(body, &u.FileRequestRemoveDeadlineDetails)
-
- if err != nil {
- return err
- }
- case "file_request_send_details":
- err = json.Unmarshal(body, &u.FileRequestSendDetails)
-
if err != nil {
return err
}
@@ -3512,6 +4252,18 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "group_delete_details":
err = json.Unmarshal(body, &u.GroupDeleteDetails)
+ if err != nil {
+ return err
+ }
+ case "group_description_updated_details":
+ err = json.Unmarshal(body, &u.GroupDescriptionUpdatedDetails)
+
+ if err != nil {
+ return err
+ }
+ case "group_join_policy_updated_details":
+ err = json.Unmarshal(body, &u.GroupJoinPolicyUpdatedDetails)
+
if err != nil {
return err
}
@@ -3608,6 +4360,12 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "member_change_email_details":
err = json.Unmarshal(body, &u.MemberChangeEmailDetails)
+ if err != nil {
+ return err
+ }
+ case "member_change_membership_type_details":
+ err = json.Unmarshal(body, &u.MemberChangeMembershipTypeDetails)
+
if err != nil {
return err
}
@@ -3620,12 +4378,54 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "member_change_status_details":
err = json.Unmarshal(body, &u.MemberChangeStatusDetails)
+ if err != nil {
+ return err
+ }
+ case "member_permanently_delete_account_contents_details":
+ err = json.Unmarshal(body, &u.MemberPermanentlyDeleteAccountContentsDetails)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_add_custom_quota_details":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsAddCustomQuotaDetails)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_custom_quota_details":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeCustomQuotaDetails)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_status_details":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeStatusDetails)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_remove_custom_quota_details":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsRemoveCustomQuotaDetails)
+
if err != nil {
return err
}
case "member_suggest_details":
err = json.Unmarshal(body, &u.MemberSuggestDetails)
+ if err != nil {
+ return err
+ }
+ case "member_transfer_account_contents_details":
+ err = json.Unmarshal(body, &u.MemberTransferAccountContentsDetails)
+
+ if err != nil {
+ return err
+ }
+ case "secondary_mails_policy_changed_details":
+ err = json.Unmarshal(body, &u.SecondaryMailsPolicyChangedDetails)
+
if err != nil {
return err
}
@@ -3800,6 +4600,24 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "paper_doc_view_details":
err = json.Unmarshal(body, &u.PaperDocViewDetails)
+ if err != nil {
+ return err
+ }
+ case "paper_external_view_allow_details":
+ err = json.Unmarshal(body, &u.PaperExternalViewAllowDetails)
+
+ if err != nil {
+ return err
+ }
+ case "paper_external_view_default_team_details":
+ err = json.Unmarshal(body, &u.PaperExternalViewDefaultTeamDetails)
+
+ if err != nil {
+ return err
+ }
+ case "paper_external_view_forbid_details":
+ err = json.Unmarshal(body, &u.PaperExternalViewForbidDetails)
+
if err != nil {
return err
}
@@ -3854,6 +4672,18 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "emm_create_usage_report_details":
err = json.Unmarshal(body, &u.EmmCreateUsageReportDetails)
+ if err != nil {
+ return err
+ }
+ case "export_members_report_details":
+ err = json.Unmarshal(body, &u.ExportMembersReportDetails)
+
+ if err != nil {
+ return err
+ }
+ case "paper_admin_export_start_details":
+ err = json.Unmarshal(body, &u.PaperAdminExportStartDetails)
+
if err != nil {
return err
}
@@ -3923,20 +4753,32 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- case "sf_invite_group_details":
- err = json.Unmarshal(body, &u.SfInviteGroupDetails)
+ case "sf_external_invite_warn_details":
+ err = json.Unmarshal(body, &u.SfExternalInviteWarnDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sf_fb_invite_details":
+ err = json.Unmarshal(body, &u.SfFbInviteDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sf_fb_invite_change_role_details":
+ err = json.Unmarshal(body, &u.SfFbInviteChangeRoleDetails)
if err != nil {
return err
}
- case "sf_nest_details":
- err = json.Unmarshal(body, &u.SfNestDetails)
+ case "sf_fb_uninvite_details":
+ err = json.Unmarshal(body, &u.SfFbUninviteDetails)
if err != nil {
return err
}
- case "sf_team_decline_details":
- err = json.Unmarshal(body, &u.SfTeamDeclineDetails)
+ case "sf_invite_group_details":
+ err = json.Unmarshal(body, &u.SfInviteGroupDetails)
if err != nil {
return err
@@ -4067,8 +4909,8 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- case "shared_content_remove_invitee_details":
- err = json.Unmarshal(body, &u.SharedContentRemoveInviteeDetails)
+ case "shared_content_remove_invitees_details":
+ err = json.Unmarshal(body, &u.SharedContentRemoveInviteesDetails)
if err != nil {
return err
@@ -4109,26 +4951,26 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- case "shared_folder_change_confidentiality_details":
- err = json.Unmarshal(body, &u.SharedFolderChangeConfidentialityDetails)
+ case "shared_folder_change_link_policy_details":
+ err = json.Unmarshal(body, &u.SharedFolderChangeLinkPolicyDetails)
if err != nil {
return err
}
- case "shared_folder_change_link_policy_details":
- err = json.Unmarshal(body, &u.SharedFolderChangeLinkPolicyDetails)
+ case "shared_folder_change_members_inheritance_policy_details":
+ err = json.Unmarshal(body, &u.SharedFolderChangeMembersInheritancePolicyDetails)
if err != nil {
return err
}
- case "shared_folder_change_member_management_policy_details":
- err = json.Unmarshal(body, &u.SharedFolderChangeMemberManagementPolicyDetails)
+ case "shared_folder_change_members_management_policy_details":
+ err = json.Unmarshal(body, &u.SharedFolderChangeMembersManagementPolicyDetails)
if err != nil {
return err
}
- case "shared_folder_change_member_policy_details":
- err = json.Unmarshal(body, &u.SharedFolderChangeMemberPolicyDetails)
+ case "shared_folder_change_members_policy_details":
+ err = json.Unmarshal(body, &u.SharedFolderChangeMembersPolicyDetails)
if err != nil {
return err
@@ -4136,12 +4978,24 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "shared_folder_create_details":
err = json.Unmarshal(body, &u.SharedFolderCreateDetails)
+ if err != nil {
+ return err
+ }
+ case "shared_folder_decline_invitation_details":
+ err = json.Unmarshal(body, &u.SharedFolderDeclineInvitationDetails)
+
if err != nil {
return err
}
case "shared_folder_mount_details":
err = json.Unmarshal(body, &u.SharedFolderMountDetails)
+ if err != nil {
+ return err
+ }
+ case "shared_folder_nest_details":
+ err = json.Unmarshal(body, &u.SharedFolderNestDetails)
+
if err != nil {
return err
}
@@ -4157,223 +5011,355 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- case "shared_note_opened_details":
- err = json.Unmarshal(body, &u.SharedNoteOpenedDetails)
+ case "shared_link_add_expiry_details":
+ err = json.Unmarshal(body, &u.SharedLinkAddExpiryDetails)
if err != nil {
return err
}
- case "shmodel_app_create_details":
- err = json.Unmarshal(body, &u.ShmodelAppCreateDetails)
+ case "shared_link_change_expiry_details":
+ err = json.Unmarshal(body, &u.SharedLinkChangeExpiryDetails)
if err != nil {
return err
}
- case "shmodel_create_details":
- err = json.Unmarshal(body, &u.ShmodelCreateDetails)
+ case "shared_link_change_visibility_details":
+ err = json.Unmarshal(body, &u.SharedLinkChangeVisibilityDetails)
if err != nil {
return err
}
- case "shmodel_disable_details":
- err = json.Unmarshal(body, &u.ShmodelDisableDetails)
+ case "shared_link_copy_details":
+ err = json.Unmarshal(body, &u.SharedLinkCopyDetails)
if err != nil {
return err
}
- case "shmodel_fb_share_details":
- err = json.Unmarshal(body, &u.ShmodelFbShareDetails)
+ case "shared_link_create_details":
+ err = json.Unmarshal(body, &u.SharedLinkCreateDetails)
if err != nil {
return err
}
- case "shmodel_group_share_details":
- err = json.Unmarshal(body, &u.ShmodelGroupShareDetails)
+ case "shared_link_disable_details":
+ err = json.Unmarshal(body, &u.SharedLinkDisableDetails)
if err != nil {
return err
}
- case "shmodel_remove_expiration_details":
- err = json.Unmarshal(body, &u.ShmodelRemoveExpirationDetails)
+ case "shared_link_download_details":
+ err = json.Unmarshal(body, &u.SharedLinkDownloadDetails)
if err != nil {
return err
}
- case "shmodel_set_expiration_details":
- err = json.Unmarshal(body, &u.ShmodelSetExpirationDetails)
+ case "shared_link_remove_expiry_details":
+ err = json.Unmarshal(body, &u.SharedLinkRemoveExpiryDetails)
if err != nil {
return err
}
- case "shmodel_team_copy_details":
- err = json.Unmarshal(body, &u.ShmodelTeamCopyDetails)
+ case "shared_link_share_details":
+ err = json.Unmarshal(body, &u.SharedLinkShareDetails)
if err != nil {
return err
}
- case "shmodel_team_download_details":
- err = json.Unmarshal(body, &u.ShmodelTeamDownloadDetails)
+ case "shared_link_view_details":
+ err = json.Unmarshal(body, &u.SharedLinkViewDetails)
if err != nil {
return err
}
- case "shmodel_team_share_details":
- err = json.Unmarshal(body, &u.ShmodelTeamShareDetails)
+ case "shared_note_opened_details":
+ err = json.Unmarshal(body, &u.SharedNoteOpenedDetails)
if err != nil {
return err
}
- case "shmodel_team_view_details":
- err = json.Unmarshal(body, &u.ShmodelTeamViewDetails)
+ case "shmodel_group_share_details":
+ err = json.Unmarshal(body, &u.ShmodelGroupShareDetails)
if err != nil {
return err
}
- case "shmodel_visibility_password_details":
- err = json.Unmarshal(body, &u.ShmodelVisibilityPasswordDetails)
+ case "showcase_access_granted_details":
+ err = json.Unmarshal(body, &u.ShowcaseAccessGrantedDetails)
if err != nil {
return err
}
- case "shmodel_visibility_public_details":
- err = json.Unmarshal(body, &u.ShmodelVisibilityPublicDetails)
+ case "showcase_add_member_details":
+ err = json.Unmarshal(body, &u.ShowcaseAddMemberDetails)
if err != nil {
return err
}
- case "shmodel_visibility_team_only_details":
- err = json.Unmarshal(body, &u.ShmodelVisibilityTeamOnlyDetails)
+ case "showcase_archived_details":
+ err = json.Unmarshal(body, &u.ShowcaseArchivedDetails)
if err != nil {
return err
}
- case "sso_add_cert_details":
- err = json.Unmarshal(body, &u.SsoAddCertDetails)
+ case "showcase_created_details":
+ err = json.Unmarshal(body, &u.ShowcaseCreatedDetails)
if err != nil {
return err
}
- case "sso_add_login_url_details":
- err = json.Unmarshal(body, &u.SsoAddLoginUrlDetails)
+ case "showcase_delete_comment_details":
+ err = json.Unmarshal(body, &u.ShowcaseDeleteCommentDetails)
if err != nil {
return err
}
- case "sso_add_logout_url_details":
- err = json.Unmarshal(body, &u.SsoAddLogoutUrlDetails)
+ case "showcase_edited_details":
+ err = json.Unmarshal(body, &u.ShowcaseEditedDetails)
if err != nil {
return err
}
- case "sso_change_cert_details":
- err = json.Unmarshal(body, &u.SsoChangeCertDetails)
+ case "showcase_edit_comment_details":
+ err = json.Unmarshal(body, &u.ShowcaseEditCommentDetails)
if err != nil {
return err
}
- case "sso_change_login_url_details":
- err = json.Unmarshal(body, &u.SsoChangeLoginUrlDetails)
+ case "showcase_file_added_details":
+ err = json.Unmarshal(body, &u.ShowcaseFileAddedDetails)
if err != nil {
return err
}
- case "sso_change_logout_url_details":
- err = json.Unmarshal(body, &u.SsoChangeLogoutUrlDetails)
+ case "showcase_file_download_details":
+ err = json.Unmarshal(body, &u.ShowcaseFileDownloadDetails)
if err != nil {
return err
}
- case "sso_change_saml_identity_mode_details":
- err = json.Unmarshal(body, &u.SsoChangeSamlIdentityModeDetails)
+ case "showcase_file_removed_details":
+ err = json.Unmarshal(body, &u.ShowcaseFileRemovedDetails)
if err != nil {
return err
}
- case "sso_remove_cert_details":
- err = json.Unmarshal(body, &u.SsoRemoveCertDetails)
+ case "showcase_file_view_details":
+ err = json.Unmarshal(body, &u.ShowcaseFileViewDetails)
if err != nil {
return err
}
- case "sso_remove_login_url_details":
- err = json.Unmarshal(body, &u.SsoRemoveLoginUrlDetails)
+ case "showcase_permanently_deleted_details":
+ err = json.Unmarshal(body, &u.ShowcasePermanentlyDeletedDetails)
if err != nil {
return err
}
- case "sso_remove_logout_url_details":
- err = json.Unmarshal(body, &u.SsoRemoveLogoutUrlDetails)
+ case "showcase_post_comment_details":
+ err = json.Unmarshal(body, &u.ShowcasePostCommentDetails)
if err != nil {
return err
}
- case "team_folder_change_status_details":
- err = json.Unmarshal(body, &u.TeamFolderChangeStatusDetails)
+ case "showcase_remove_member_details":
+ err = json.Unmarshal(body, &u.ShowcaseRemoveMemberDetails)
if err != nil {
return err
}
- case "team_folder_create_details":
- err = json.Unmarshal(body, &u.TeamFolderCreateDetails)
+ case "showcase_renamed_details":
+ err = json.Unmarshal(body, &u.ShowcaseRenamedDetails)
if err != nil {
return err
}
- case "team_folder_downgrade_details":
- err = json.Unmarshal(body, &u.TeamFolderDowngradeDetails)
+ case "showcase_request_access_details":
+ err = json.Unmarshal(body, &u.ShowcaseRequestAccessDetails)
if err != nil {
return err
}
- case "team_folder_permanently_delete_details":
- err = json.Unmarshal(body, &u.TeamFolderPermanentlyDeleteDetails)
+ case "showcase_resolve_comment_details":
+ err = json.Unmarshal(body, &u.ShowcaseResolveCommentDetails)
if err != nil {
return err
}
- case "team_folder_rename_details":
- err = json.Unmarshal(body, &u.TeamFolderRenameDetails)
+ case "showcase_restored_details":
+ err = json.Unmarshal(body, &u.ShowcaseRestoredDetails)
if err != nil {
return err
}
- case "account_capture_change_policy_details":
- err = json.Unmarshal(body, &u.AccountCaptureChangePolicyDetails)
+ case "showcase_trashed_details":
+ err = json.Unmarshal(body, &u.ShowcaseTrashedDetails)
if err != nil {
return err
}
- case "allow_download_disabled_details":
- err = json.Unmarshal(body, &u.AllowDownloadDisabledDetails)
+ case "showcase_trashed_deprecated_details":
+ err = json.Unmarshal(body, &u.ShowcaseTrashedDeprecatedDetails)
if err != nil {
return err
}
- case "allow_download_enabled_details":
- err = json.Unmarshal(body, &u.AllowDownloadEnabledDetails)
+ case "showcase_unresolve_comment_details":
+ err = json.Unmarshal(body, &u.ShowcaseUnresolveCommentDetails)
if err != nil {
return err
}
- case "data_placement_restriction_change_policy_details":
- err = json.Unmarshal(body, &u.DataPlacementRestrictionChangePolicyDetails)
+ case "showcase_untrashed_details":
+ err = json.Unmarshal(body, &u.ShowcaseUntrashedDetails)
if err != nil {
return err
}
- case "data_placement_restriction_satisfy_policy_details":
- err = json.Unmarshal(body, &u.DataPlacementRestrictionSatisfyPolicyDetails)
+ case "showcase_untrashed_deprecated_details":
+ err = json.Unmarshal(body, &u.ShowcaseUntrashedDeprecatedDetails)
if err != nil {
return err
}
- case "device_approvals_change_desktop_policy_details":
- err = json.Unmarshal(body, &u.DeviceApprovalsChangeDesktopPolicyDetails)
+ case "showcase_view_details":
+ err = json.Unmarshal(body, &u.ShowcaseViewDetails)
if err != nil {
return err
}
- case "device_approvals_change_mobile_policy_details":
+ case "sso_add_cert_details":
+ err = json.Unmarshal(body, &u.SsoAddCertDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_add_login_url_details":
+ err = json.Unmarshal(body, &u.SsoAddLoginUrlDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_add_logout_url_details":
+ err = json.Unmarshal(body, &u.SsoAddLogoutUrlDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_cert_details":
+ err = json.Unmarshal(body, &u.SsoChangeCertDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_login_url_details":
+ err = json.Unmarshal(body, &u.SsoChangeLoginUrlDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_logout_url_details":
+ err = json.Unmarshal(body, &u.SsoChangeLogoutUrlDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_saml_identity_mode_details":
+ err = json.Unmarshal(body, &u.SsoChangeSamlIdentityModeDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_remove_cert_details":
+ err = json.Unmarshal(body, &u.SsoRemoveCertDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_remove_login_url_details":
+ err = json.Unmarshal(body, &u.SsoRemoveLoginUrlDetails)
+
+ if err != nil {
+ return err
+ }
+ case "sso_remove_logout_url_details":
+ err = json.Unmarshal(body, &u.SsoRemoveLogoutUrlDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_change_status_details":
+ err = json.Unmarshal(body, &u.TeamFolderChangeStatusDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_create_details":
+ err = json.Unmarshal(body, &u.TeamFolderCreateDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_downgrade_details":
+ err = json.Unmarshal(body, &u.TeamFolderDowngradeDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_permanently_delete_details":
+ err = json.Unmarshal(body, &u.TeamFolderPermanentlyDeleteDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_rename_details":
+ err = json.Unmarshal(body, &u.TeamFolderRenameDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_selective_sync_settings_changed_details":
+ err = json.Unmarshal(body, &u.TeamSelectiveSyncSettingsChangedDetails)
+
+ if err != nil {
+ return err
+ }
+ case "account_capture_change_policy_details":
+ err = json.Unmarshal(body, &u.AccountCaptureChangePolicyDetails)
+
+ if err != nil {
+ return err
+ }
+ case "allow_download_disabled_details":
+ err = json.Unmarshal(body, &u.AllowDownloadDisabledDetails)
+
+ if err != nil {
+ return err
+ }
+ case "allow_download_enabled_details":
+ err = json.Unmarshal(body, &u.AllowDownloadEnabledDetails)
+
+ if err != nil {
+ return err
+ }
+ case "data_placement_restriction_change_policy_details":
+ err = json.Unmarshal(body, &u.DataPlacementRestrictionChangePolicyDetails)
+
+ if err != nil {
+ return err
+ }
+ case "data_placement_restriction_satisfy_policy_details":
+ err = json.Unmarshal(body, &u.DataPlacementRestrictionSatisfyPolicyDetails)
+
+ if err != nil {
+ return err
+ }
+ case "device_approvals_change_desktop_policy_details":
+ err = json.Unmarshal(body, &u.DeviceApprovalsChangeDesktopPolicyDetails)
+
+ if err != nil {
+ return err
+ }
+ case "device_approvals_change_mobile_policy_details":
err = json.Unmarshal(body, &u.DeviceApprovalsChangeMobilePolicyDetails)
if err != nil {
@@ -4388,6 +5374,18 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "device_approvals_change_unlink_action_details":
err = json.Unmarshal(body, &u.DeviceApprovalsChangeUnlinkActionDetails)
+ if err != nil {
+ return err
+ }
+ case "directory_restrictions_add_members_details":
+ err = json.Unmarshal(body, &u.DirectoryRestrictionsAddMembersDetails)
+
+ if err != nil {
+ return err
+ }
+ case "directory_restrictions_remove_members_details":
+ err = json.Unmarshal(body, &u.DirectoryRestrictionsRemoveMembersDetails)
+
if err != nil {
return err
}
@@ -4460,6 +5458,12 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "member_space_limits_add_exception_details":
err = json.Unmarshal(body, &u.MemberSpaceLimitsAddExceptionDetails)
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_caps_type_policy_details":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeCapsTypePolicyDetails)
+
if err != nil {
return err
}
@@ -4514,6 +5518,18 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "paper_change_policy_details":
err = json.Unmarshal(body, &u.PaperChangePolicyDetails)
+ if err != nil {
+ return err
+ }
+ case "paper_enabled_users_group_addition_details":
+ err = json.Unmarshal(body, &u.PaperEnabledUsersGroupAdditionDetails)
+
+ if err != nil {
+ return err
+ }
+ case "paper_enabled_users_group_removal_details":
+ err = json.Unmarshal(body, &u.PaperEnabledUsersGroupRemovalDetails)
+
if err != nil {
return err
}
@@ -4538,6 +5554,24 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "sharing_change_member_policy_details":
err = json.Unmarshal(body, &u.SharingChangeMemberPolicyDetails)
+ if err != nil {
+ return err
+ }
+ case "showcase_change_download_policy_details":
+ err = json.Unmarshal(body, &u.ShowcaseChangeDownloadPolicyDetails)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_change_enabled_policy_details":
+ err = json.Unmarshal(body, &u.ShowcaseChangeEnabledPolicyDetails)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_change_external_sharing_policy_details":
+ err = json.Unmarshal(body, &u.ShowcaseChangeExternalSharingPolicyDetails)
+
if err != nil {
return err
}
@@ -4586,6 +5620,18 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
case "web_sessions_change_idle_length_policy_details":
err = json.Unmarshal(body, &u.WebSessionsChangeIdleLengthPolicyDetails)
+ if err != nil {
+ return err
+ }
+ case "team_merge_from_details":
+ err = json.Unmarshal(body, &u.TeamMergeFromDetails)
+
+ if err != nil {
+ return err
+ }
+ case "team_merge_to_details":
+ err = json.Unmarshal(body, &u.TeamMergeToDetails)
+
if err != nil {
return err
}
@@ -4674,3829 +5720,10549 @@ func (u *EventDetails) UnmarshalJSON(body []byte) error {
// EventType : The type of the event.
type EventType struct {
dropbox.Tagged
+ // AppLinkTeam : (apps) Linked app for team
+ AppLinkTeam *AppLinkTeamType `json:"app_link_team,omitempty"`
+ // AppLinkUser : (apps) Linked app for member
+ AppLinkUser *AppLinkUserType `json:"app_link_user,omitempty"`
+ // AppUnlinkTeam : (apps) Unlinked app for team
+ AppUnlinkTeam *AppUnlinkTeamType `json:"app_unlink_team,omitempty"`
+ // AppUnlinkUser : (apps) Unlinked app for member
+ AppUnlinkUser *AppUnlinkUserType `json:"app_unlink_user,omitempty"`
+ // FileAddComment : (comments) Added file comment
+ FileAddComment *FileAddCommentType `json:"file_add_comment,omitempty"`
+ // FileChangeCommentSubscription : (comments) Subscribed to or unsubscribed
+ // from comment notifications for file
+ FileChangeCommentSubscription *FileChangeCommentSubscriptionType `json:"file_change_comment_subscription,omitempty"`
+ // FileDeleteComment : (comments) Deleted file comment
+ FileDeleteComment *FileDeleteCommentType `json:"file_delete_comment,omitempty"`
+ // FileLikeComment : (comments) Liked file comment (deprecated, no longer
+ // logged)
+ FileLikeComment *FileLikeCommentType `json:"file_like_comment,omitempty"`
+ // FileResolveComment : (comments) Resolved file comment
+ FileResolveComment *FileResolveCommentType `json:"file_resolve_comment,omitempty"`
+ // FileUnlikeComment : (comments) Unliked file comment (deprecated, no
+ // longer logged)
+ FileUnlikeComment *FileUnlikeCommentType `json:"file_unlike_comment,omitempty"`
+ // FileUnresolveComment : (comments) Unresolved file comment
+ FileUnresolveComment *FileUnresolveCommentType `json:"file_unresolve_comment,omitempty"`
+ // DeviceChangeIpDesktop : (devices) Changed IP address associated with
+ // active desktop session
+ DeviceChangeIpDesktop *DeviceChangeIpDesktopType `json:"device_change_ip_desktop,omitempty"`
+ // DeviceChangeIpMobile : (devices) Changed IP address associated with
+ // active mobile session
+ DeviceChangeIpMobile *DeviceChangeIpMobileType `json:"device_change_ip_mobile,omitempty"`
+ // DeviceChangeIpWeb : (devices) Changed IP address associated with active
+ // web session
+ DeviceChangeIpWeb *DeviceChangeIpWebType `json:"device_change_ip_web,omitempty"`
+ // DeviceDeleteOnUnlinkFail : (devices) Failed to delete all files from
+ // unlinked device
+ DeviceDeleteOnUnlinkFail *DeviceDeleteOnUnlinkFailType `json:"device_delete_on_unlink_fail,omitempty"`
+ // DeviceDeleteOnUnlinkSuccess : (devices) Deleted all files from unlinked
+ // device
+ DeviceDeleteOnUnlinkSuccess *DeviceDeleteOnUnlinkSuccessType `json:"device_delete_on_unlink_success,omitempty"`
+ // DeviceLinkFail : (devices) Failed to link device
+ DeviceLinkFail *DeviceLinkFailType `json:"device_link_fail,omitempty"`
+ // DeviceLinkSuccess : (devices) Linked device
+ DeviceLinkSuccess *DeviceLinkSuccessType `json:"device_link_success,omitempty"`
+ // DeviceManagementDisabled : (devices) Disabled device management
+ // (deprecated, no longer logged)
+ DeviceManagementDisabled *DeviceManagementDisabledType `json:"device_management_disabled,omitempty"`
+ // DeviceManagementEnabled : (devices) Enabled device management
+ // (deprecated, no longer logged)
+ DeviceManagementEnabled *DeviceManagementEnabledType `json:"device_management_enabled,omitempty"`
+ // DeviceUnlink : (devices) Disconnected device
+ DeviceUnlink *DeviceUnlinkType `json:"device_unlink,omitempty"`
+ // EmmRefreshAuthToken : (devices) Refreshed auth token used for setting up
+ // enterprise mobility management
+ EmmRefreshAuthToken *EmmRefreshAuthTokenType `json:"emm_refresh_auth_token,omitempty"`
+ // AccountCaptureChangeAvailability : (domains) Granted/revoked option to
+ // enable account capture on team domains
+ AccountCaptureChangeAvailability *AccountCaptureChangeAvailabilityType `json:"account_capture_change_availability,omitempty"`
+ // AccountCaptureMigrateAccount : (domains) Account-captured user migrated
+ // account to team
+ AccountCaptureMigrateAccount *AccountCaptureMigrateAccountType `json:"account_capture_migrate_account,omitempty"`
+ // AccountCaptureNotificationEmailsSent : (domains) Sent proactive account
+ // capture email to all unmanaged members
+ AccountCaptureNotificationEmailsSent *AccountCaptureNotificationEmailsSentType `json:"account_capture_notification_emails_sent,omitempty"`
+ // AccountCaptureRelinquishAccount : (domains) Account-captured user changed
+ // account email to personal email
+ AccountCaptureRelinquishAccount *AccountCaptureRelinquishAccountType `json:"account_capture_relinquish_account,omitempty"`
+ // DisabledDomainInvites : (domains) Disabled domain invites (deprecated, no
+ // longer logged)
+ DisabledDomainInvites *DisabledDomainInvitesType `json:"disabled_domain_invites,omitempty"`
+ // DomainInvitesApproveRequestToJoinTeam : (domains) Approved user's request
+ // to join team
+ DomainInvitesApproveRequestToJoinTeam *DomainInvitesApproveRequestToJoinTeamType `json:"domain_invites_approve_request_to_join_team,omitempty"`
+ // DomainInvitesDeclineRequestToJoinTeam : (domains) Declined user's request
+ // to join team
+ DomainInvitesDeclineRequestToJoinTeam *DomainInvitesDeclineRequestToJoinTeamType `json:"domain_invites_decline_request_to_join_team,omitempty"`
+ // DomainInvitesEmailExistingUsers : (domains) Sent domain invites to
+ // existing domain accounts (deprecated, no longer logged)
+ DomainInvitesEmailExistingUsers *DomainInvitesEmailExistingUsersType `json:"domain_invites_email_existing_users,omitempty"`
+ // DomainInvitesRequestToJoinTeam : (domains) Requested to join team
+ DomainInvitesRequestToJoinTeam *DomainInvitesRequestToJoinTeamType `json:"domain_invites_request_to_join_team,omitempty"`
+ // DomainInvitesSetInviteNewUserPrefToNo : (domains) Disabled "Automatically
+ // invite new users" (deprecated, no longer logged)
+ DomainInvitesSetInviteNewUserPrefToNo *DomainInvitesSetInviteNewUserPrefToNoType `json:"domain_invites_set_invite_new_user_pref_to_no,omitempty"`
+ // DomainInvitesSetInviteNewUserPrefToYes : (domains) Enabled "Automatically
+ // invite new users" (deprecated, no longer logged)
+ DomainInvitesSetInviteNewUserPrefToYes *DomainInvitesSetInviteNewUserPrefToYesType `json:"domain_invites_set_invite_new_user_pref_to_yes,omitempty"`
+ // DomainVerificationAddDomainFail : (domains) Failed to verify team domain
+ DomainVerificationAddDomainFail *DomainVerificationAddDomainFailType `json:"domain_verification_add_domain_fail,omitempty"`
+ // DomainVerificationAddDomainSuccess : (domains) Verified team domain
+ DomainVerificationAddDomainSuccess *DomainVerificationAddDomainSuccessType `json:"domain_verification_add_domain_success,omitempty"`
+ // DomainVerificationRemoveDomain : (domains) Removed domain from list of
+ // verified team domains
+ DomainVerificationRemoveDomain *DomainVerificationRemoveDomainType `json:"domain_verification_remove_domain,omitempty"`
+ // EnabledDomainInvites : (domains) Enabled domain invites (deprecated, no
+ // longer logged)
+ EnabledDomainInvites *EnabledDomainInvitesType `json:"enabled_domain_invites,omitempty"`
+ // CreateFolder : (file_operations) Created folders (deprecated, no longer
+ // logged)
+ CreateFolder *CreateFolderType `json:"create_folder,omitempty"`
+ // FileAdd : (file_operations) Added files and/or folders
+ FileAdd *FileAddType `json:"file_add,omitempty"`
+ // FileCopy : (file_operations) Copied files and/or folders
+ FileCopy *FileCopyType `json:"file_copy,omitempty"`
+ // FileDelete : (file_operations) Deleted files and/or folders
+ FileDelete *FileDeleteType `json:"file_delete,omitempty"`
+ // FileDownload : (file_operations) Downloaded files and/or folders
+ FileDownload *FileDownloadType `json:"file_download,omitempty"`
+ // FileEdit : (file_operations) Edited files
+ FileEdit *FileEditType `json:"file_edit,omitempty"`
+ // FileGetCopyReference : (file_operations) Created copy reference to
+ // file/folder
+ FileGetCopyReference *FileGetCopyReferenceType `json:"file_get_copy_reference,omitempty"`
+ // FileMove : (file_operations) Moved files and/or folders
+ FileMove *FileMoveType `json:"file_move,omitempty"`
+ // FilePermanentlyDelete : (file_operations) Permanently deleted files
+ // and/or folders
+ FilePermanentlyDelete *FilePermanentlyDeleteType `json:"file_permanently_delete,omitempty"`
+ // FilePreview : (file_operations) Previewed files and/or folders
+ FilePreview *FilePreviewType `json:"file_preview,omitempty"`
+ // FileRename : (file_operations) Renamed files and/or folders
+ FileRename *FileRenameType `json:"file_rename,omitempty"`
+ // FileRestore : (file_operations) Restored deleted files and/or folders
+ FileRestore *FileRestoreType `json:"file_restore,omitempty"`
+ // FileRevert : (file_operations) Reverted files to previous version
+ FileRevert *FileRevertType `json:"file_revert,omitempty"`
+ // FileRollbackChanges : (file_operations) Rolled back file actions
+ FileRollbackChanges *FileRollbackChangesType `json:"file_rollback_changes,omitempty"`
+ // FileSaveCopyReference : (file_operations) Saved file/folder using copy
+ // reference
+ FileSaveCopyReference *FileSaveCopyReferenceType `json:"file_save_copy_reference,omitempty"`
+ // FileRequestChange : (file_requests) Changed file request
+ FileRequestChange *FileRequestChangeType `json:"file_request_change,omitempty"`
+ // FileRequestClose : (file_requests) Closed file request
+ FileRequestClose *FileRequestCloseType `json:"file_request_close,omitempty"`
+ // FileRequestCreate : (file_requests) Created file request
+ FileRequestCreate *FileRequestCreateType `json:"file_request_create,omitempty"`
+ // FileRequestReceiveFile : (file_requests) Received files for file request
+ FileRequestReceiveFile *FileRequestReceiveFileType `json:"file_request_receive_file,omitempty"`
+ // GroupAddExternalId : (groups) Added external ID for group
+ GroupAddExternalId *GroupAddExternalIdType `json:"group_add_external_id,omitempty"`
+ // GroupAddMember : (groups) Added team members to group
+ GroupAddMember *GroupAddMemberType `json:"group_add_member,omitempty"`
+ // GroupChangeExternalId : (groups) Changed external ID for group
+ GroupChangeExternalId *GroupChangeExternalIdType `json:"group_change_external_id,omitempty"`
+ // GroupChangeManagementType : (groups) Changed group management type
+ GroupChangeManagementType *GroupChangeManagementTypeType `json:"group_change_management_type,omitempty"`
+ // GroupChangeMemberRole : (groups) Changed manager permissions of group
+ // member
+ GroupChangeMemberRole *GroupChangeMemberRoleType `json:"group_change_member_role,omitempty"`
+ // GroupCreate : (groups) Created group
+ GroupCreate *GroupCreateType `json:"group_create,omitempty"`
+ // GroupDelete : (groups) Deleted group
+ GroupDelete *GroupDeleteType `json:"group_delete,omitempty"`
+ // GroupDescriptionUpdated : (groups) Updated group (deprecated, no longer
+ // logged)
+ GroupDescriptionUpdated *GroupDescriptionUpdatedType `json:"group_description_updated,omitempty"`
+ // GroupJoinPolicyUpdated : (groups) Updated group join policy (deprecated,
+ // no longer logged)
+ GroupJoinPolicyUpdated *GroupJoinPolicyUpdatedType `json:"group_join_policy_updated,omitempty"`
+ // GroupMoved : (groups) Moved group (deprecated, no longer logged)
+ GroupMoved *GroupMovedType `json:"group_moved,omitempty"`
+ // GroupRemoveExternalId : (groups) Removed external ID for group
+ GroupRemoveExternalId *GroupRemoveExternalIdType `json:"group_remove_external_id,omitempty"`
+ // GroupRemoveMember : (groups) Removed team members from group
+ GroupRemoveMember *GroupRemoveMemberType `json:"group_remove_member,omitempty"`
+ // GroupRename : (groups) Renamed group
+ GroupRename *GroupRenameType `json:"group_rename,omitempty"`
+ // EmmError : (logins) Failed to sign in via EMM (deprecated, replaced by
+ // 'Failed to sign in')
+ EmmError *EmmErrorType `json:"emm_error,omitempty"`
+ // LoginFail : (logins) Failed to sign in
+ LoginFail *LoginFailType `json:"login_fail,omitempty"`
+ // LoginSuccess : (logins) Signed in
+ LoginSuccess *LoginSuccessType `json:"login_success,omitempty"`
+ // Logout : (logins) Signed out
+ Logout *LogoutType `json:"logout,omitempty"`
+ // ResellerSupportSessionEnd : (logins) Ended reseller support session
+ ResellerSupportSessionEnd *ResellerSupportSessionEndType `json:"reseller_support_session_end,omitempty"`
+ // ResellerSupportSessionStart : (logins) Started reseller support session
+ ResellerSupportSessionStart *ResellerSupportSessionStartType `json:"reseller_support_session_start,omitempty"`
+ // SignInAsSessionEnd : (logins) Ended admin sign-in-as session
+ SignInAsSessionEnd *SignInAsSessionEndType `json:"sign_in_as_session_end,omitempty"`
+ // SignInAsSessionStart : (logins) Started admin sign-in-as session
+ SignInAsSessionStart *SignInAsSessionStartType `json:"sign_in_as_session_start,omitempty"`
+ // SsoError : (logins) Failed to sign in via SSO (deprecated, replaced by
+ // 'Failed to sign in')
+ SsoError *SsoErrorType `json:"sso_error,omitempty"`
+ // MemberAddName : (members) Added team member name
+ MemberAddName *MemberAddNameType `json:"member_add_name,omitempty"`
+ // MemberChangeAdminRole : (members) Changed team member admin role
+ MemberChangeAdminRole *MemberChangeAdminRoleType `json:"member_change_admin_role,omitempty"`
+ // MemberChangeEmail : (members) Changed team member email
+ MemberChangeEmail *MemberChangeEmailType `json:"member_change_email,omitempty"`
+ // MemberChangeMembershipType : (members) Changed membership type
+ // (limited/full) of member (deprecated, no longer logged)
+ MemberChangeMembershipType *MemberChangeMembershipTypeType `json:"member_change_membership_type,omitempty"`
+ // MemberChangeName : (members) Changed team member name
+ MemberChangeName *MemberChangeNameType `json:"member_change_name,omitempty"`
+ // MemberChangeStatus : (members) Changed member status (invited, joined,
+ // suspended, etc.)
+ MemberChangeStatus *MemberChangeStatusType `json:"member_change_status,omitempty"`
+ // MemberPermanentlyDeleteAccountContents : (members) Permanently deleted
+ // contents of deleted team member account
+ MemberPermanentlyDeleteAccountContents *MemberPermanentlyDeleteAccountContentsType `json:"member_permanently_delete_account_contents,omitempty"`
+ // MemberSpaceLimitsAddCustomQuota : (members) Set custom member space limit
+ MemberSpaceLimitsAddCustomQuota *MemberSpaceLimitsAddCustomQuotaType `json:"member_space_limits_add_custom_quota,omitempty"`
+ // MemberSpaceLimitsChangeCustomQuota : (members) Changed custom member
+ // space limit
+ MemberSpaceLimitsChangeCustomQuota *MemberSpaceLimitsChangeCustomQuotaType `json:"member_space_limits_change_custom_quota,omitempty"`
+ // MemberSpaceLimitsChangeStatus : (members) Changed space limit status
+ MemberSpaceLimitsChangeStatus *MemberSpaceLimitsChangeStatusType `json:"member_space_limits_change_status,omitempty"`
+ // MemberSpaceLimitsRemoveCustomQuota : (members) Removed custom member
+ // space limit
+ MemberSpaceLimitsRemoveCustomQuota *MemberSpaceLimitsRemoveCustomQuotaType `json:"member_space_limits_remove_custom_quota,omitempty"`
+ // MemberSuggest : (members) Suggested person to add to team
+ MemberSuggest *MemberSuggestType `json:"member_suggest,omitempty"`
+ // MemberTransferAccountContents : (members) Transferred contents of deleted
+ // member account to another member
+ MemberTransferAccountContents *MemberTransferAccountContentsType `json:"member_transfer_account_contents,omitempty"`
+ // SecondaryMailsPolicyChanged : (members) Secondary mails policy changed
+ SecondaryMailsPolicyChanged *SecondaryMailsPolicyChangedType `json:"secondary_mails_policy_changed,omitempty"`
+ // PaperContentAddMember : (paper) Added team member to Paper doc/folder
+ PaperContentAddMember *PaperContentAddMemberType `json:"paper_content_add_member,omitempty"`
+ // PaperContentAddToFolder : (paper) Added Paper doc/folder to folder
+ PaperContentAddToFolder *PaperContentAddToFolderType `json:"paper_content_add_to_folder,omitempty"`
+ // PaperContentArchive : (paper) Archived Paper doc/folder
+ PaperContentArchive *PaperContentArchiveType `json:"paper_content_archive,omitempty"`
+ // PaperContentCreate : (paper) Created Paper doc/folder
+ PaperContentCreate *PaperContentCreateType `json:"paper_content_create,omitempty"`
+ // PaperContentPermanentlyDelete : (paper) Permanently deleted Paper
+ // doc/folder
+ PaperContentPermanentlyDelete *PaperContentPermanentlyDeleteType `json:"paper_content_permanently_delete,omitempty"`
+ // PaperContentRemoveFromFolder : (paper) Removed Paper doc/folder from
+ // folder
+ PaperContentRemoveFromFolder *PaperContentRemoveFromFolderType `json:"paper_content_remove_from_folder,omitempty"`
+ // PaperContentRemoveMember : (paper) Removed team member from Paper
+ // doc/folder
+ PaperContentRemoveMember *PaperContentRemoveMemberType `json:"paper_content_remove_member,omitempty"`
+ // PaperContentRename : (paper) Renamed Paper doc/folder
+ PaperContentRename *PaperContentRenameType `json:"paper_content_rename,omitempty"`
+ // PaperContentRestore : (paper) Restored archived Paper doc/folder
+ PaperContentRestore *PaperContentRestoreType `json:"paper_content_restore,omitempty"`
+ // PaperDocAddComment : (paper) Added Paper doc comment
+ PaperDocAddComment *PaperDocAddCommentType `json:"paper_doc_add_comment,omitempty"`
+ // PaperDocChangeMemberRole : (paper) Changed team member permissions for
+ // Paper doc
+ PaperDocChangeMemberRole *PaperDocChangeMemberRoleType `json:"paper_doc_change_member_role,omitempty"`
+ // PaperDocChangeSharingPolicy : (paper) Changed sharing setting for Paper
+ // doc
+ PaperDocChangeSharingPolicy *PaperDocChangeSharingPolicyType `json:"paper_doc_change_sharing_policy,omitempty"`
+ // PaperDocChangeSubscription : (paper) Followed/unfollowed Paper doc
+ PaperDocChangeSubscription *PaperDocChangeSubscriptionType `json:"paper_doc_change_subscription,omitempty"`
+ // PaperDocDeleted : (paper) Archived Paper doc (deprecated, no longer
+ // logged)
+ PaperDocDeleted *PaperDocDeletedType `json:"paper_doc_deleted,omitempty"`
+ // PaperDocDeleteComment : (paper) Deleted Paper doc comment
+ PaperDocDeleteComment *PaperDocDeleteCommentType `json:"paper_doc_delete_comment,omitempty"`
+ // PaperDocDownload : (paper) Downloaded Paper doc in specific format
+ PaperDocDownload *PaperDocDownloadType `json:"paper_doc_download,omitempty"`
+ // PaperDocEdit : (paper) Edited Paper doc
+ PaperDocEdit *PaperDocEditType `json:"paper_doc_edit,omitempty"`
+ // PaperDocEditComment : (paper) Edited Paper doc comment
+ PaperDocEditComment *PaperDocEditCommentType `json:"paper_doc_edit_comment,omitempty"`
+ // PaperDocFollowed : (paper) Followed Paper doc (deprecated, replaced by
+ // 'Followed/unfollowed Paper doc')
+ PaperDocFollowed *PaperDocFollowedType `json:"paper_doc_followed,omitempty"`
+ // PaperDocMention : (paper) Mentioned team member in Paper doc
+ PaperDocMention *PaperDocMentionType `json:"paper_doc_mention,omitempty"`
+ // PaperDocRequestAccess : (paper) Requested access to Paper doc
+ PaperDocRequestAccess *PaperDocRequestAccessType `json:"paper_doc_request_access,omitempty"`
+ // PaperDocResolveComment : (paper) Resolved Paper doc comment
+ PaperDocResolveComment *PaperDocResolveCommentType `json:"paper_doc_resolve_comment,omitempty"`
+ // PaperDocRevert : (paper) Restored Paper doc to previous version
+ PaperDocRevert *PaperDocRevertType `json:"paper_doc_revert,omitempty"`
+ // PaperDocSlackShare : (paper) Shared Paper doc via Slack
+ PaperDocSlackShare *PaperDocSlackShareType `json:"paper_doc_slack_share,omitempty"`
+ // PaperDocTeamInvite : (paper) Shared Paper doc with team member
+ // (deprecated, no longer logged)
+ PaperDocTeamInvite *PaperDocTeamInviteType `json:"paper_doc_team_invite,omitempty"`
+ // PaperDocTrashed : (paper) Deleted Paper doc
+ PaperDocTrashed *PaperDocTrashedType `json:"paper_doc_trashed,omitempty"`
+ // PaperDocUnresolveComment : (paper) Unresolved Paper doc comment
+ PaperDocUnresolveComment *PaperDocUnresolveCommentType `json:"paper_doc_unresolve_comment,omitempty"`
+ // PaperDocUntrashed : (paper) Restored Paper doc
+ PaperDocUntrashed *PaperDocUntrashedType `json:"paper_doc_untrashed,omitempty"`
+ // PaperDocView : (paper) Viewed Paper doc
+ PaperDocView *PaperDocViewType `json:"paper_doc_view,omitempty"`
+ // PaperExternalViewAllow : (paper) Changed Paper external sharing setting
+ // to anyone (deprecated, no longer logged)
+ PaperExternalViewAllow *PaperExternalViewAllowType `json:"paper_external_view_allow,omitempty"`
+ // PaperExternalViewDefaultTeam : (paper) Changed Paper external sharing
+ // setting to default team (deprecated, no longer logged)
+ PaperExternalViewDefaultTeam *PaperExternalViewDefaultTeamType `json:"paper_external_view_default_team,omitempty"`
+ // PaperExternalViewForbid : (paper) Changed Paper external sharing setting
+ // to team-only (deprecated, no longer logged)
+ PaperExternalViewForbid *PaperExternalViewForbidType `json:"paper_external_view_forbid,omitempty"`
+ // PaperFolderChangeSubscription : (paper) Followed/unfollowed Paper folder
+ PaperFolderChangeSubscription *PaperFolderChangeSubscriptionType `json:"paper_folder_change_subscription,omitempty"`
+ // PaperFolderDeleted : (paper) Archived Paper folder (deprecated, no longer
+ // logged)
+ PaperFolderDeleted *PaperFolderDeletedType `json:"paper_folder_deleted,omitempty"`
+ // PaperFolderFollowed : (paper) Followed Paper folder (deprecated, replaced
+ // by 'Followed/unfollowed Paper folder')
+ PaperFolderFollowed *PaperFolderFollowedType `json:"paper_folder_followed,omitempty"`
+ // PaperFolderTeamInvite : (paper) Shared Paper folder with member
+ // (deprecated, no longer logged)
+ PaperFolderTeamInvite *PaperFolderTeamInviteType `json:"paper_folder_team_invite,omitempty"`
+ // PasswordChange : (passwords) Changed password
+ PasswordChange *PasswordChangeType `json:"password_change,omitempty"`
+ // PasswordReset : (passwords) Reset password
+ PasswordReset *PasswordResetType `json:"password_reset,omitempty"`
+ // PasswordResetAll : (passwords) Reset all team member passwords
+ PasswordResetAll *PasswordResetAllType `json:"password_reset_all,omitempty"`
+ // EmmCreateExceptionsReport : (reports) Created EMM-excluded users report
+ EmmCreateExceptionsReport *EmmCreateExceptionsReportType `json:"emm_create_exceptions_report,omitempty"`
+ // EmmCreateUsageReport : (reports) Created EMM mobile app usage report
+ EmmCreateUsageReport *EmmCreateUsageReportType `json:"emm_create_usage_report,omitempty"`
+ // ExportMembersReport : (reports) Created member data report
+ ExportMembersReport *ExportMembersReportType `json:"export_members_report,omitempty"`
+ // PaperAdminExportStart : (reports) Exported all team Paper docs
+ PaperAdminExportStart *PaperAdminExportStartType `json:"paper_admin_export_start,omitempty"`
+ // SmartSyncCreateAdminPrivilegeReport : (reports) Created Smart Sync
+ // non-admin devices report
+ SmartSyncCreateAdminPrivilegeReport *SmartSyncCreateAdminPrivilegeReportType `json:"smart_sync_create_admin_privilege_report,omitempty"`
+ // TeamActivityCreateReport : (reports) Created team activity report
+ TeamActivityCreateReport *TeamActivityCreateReportType `json:"team_activity_create_report,omitempty"`
+ // CollectionShare : (sharing) Shared album
+ CollectionShare *CollectionShareType `json:"collection_share,omitempty"`
+ // NoteAclInviteOnly : (sharing) Changed Paper doc to invite-only
+ // (deprecated, no longer logged)
+ NoteAclInviteOnly *NoteAclInviteOnlyType `json:"note_acl_invite_only,omitempty"`
+ // NoteAclLink : (sharing) Changed Paper doc to link-accessible (deprecated,
+ // no longer logged)
+ NoteAclLink *NoteAclLinkType `json:"note_acl_link,omitempty"`
+ // NoteAclTeamLink : (sharing) Changed Paper doc to link-accessible for team
+ // (deprecated, no longer logged)
+ NoteAclTeamLink *NoteAclTeamLinkType `json:"note_acl_team_link,omitempty"`
+ // NoteShared : (sharing) Shared Paper doc (deprecated, no longer logged)
+ NoteShared *NoteSharedType `json:"note_shared,omitempty"`
+ // NoteShareReceive : (sharing) Shared received Paper doc (deprecated, no
+ // longer logged)
+ NoteShareReceive *NoteShareReceiveType `json:"note_share_receive,omitempty"`
+ // OpenNoteShared : (sharing) Opened shared Paper doc (deprecated, no longer
+ // logged)
+ OpenNoteShared *OpenNoteSharedType `json:"open_note_shared,omitempty"`
+ // SfAddGroup : (sharing) Added team to shared folder (deprecated, no longer
+ // logged)
+ SfAddGroup *SfAddGroupType `json:"sf_add_group,omitempty"`
+ // SfAllowNonMembersToViewSharedLinks : (sharing) Allowed non-collaborators
+ // to view links to files in shared folder (deprecated, no longer logged)
+ SfAllowNonMembersToViewSharedLinks *SfAllowNonMembersToViewSharedLinksType `json:"sf_allow_non_members_to_view_shared_links,omitempty"`
+ // SfExternalInviteWarn : (sharing) Set team members to see warning before
+ // sharing folders outside team (deprecated, no longer logged)
+ SfExternalInviteWarn *SfExternalInviteWarnType `json:"sf_external_invite_warn,omitempty"`
+ // SfFbInvite : (sharing) Invited Facebook users to shared folder
+ // (deprecated, no longer logged)
+ SfFbInvite *SfFbInviteType `json:"sf_fb_invite,omitempty"`
+ // SfFbInviteChangeRole : (sharing) Changed Facebook user's role in shared
+ // folder (deprecated, no longer logged)
+ SfFbInviteChangeRole *SfFbInviteChangeRoleType `json:"sf_fb_invite_change_role,omitempty"`
+ // SfFbUninvite : (sharing) Uninvited Facebook user from shared folder
+ // (deprecated, no longer logged)
+ SfFbUninvite *SfFbUninviteType `json:"sf_fb_uninvite,omitempty"`
+ // SfInviteGroup : (sharing) Invited group to shared folder (deprecated, no
+ // longer logged)
+ SfInviteGroup *SfInviteGroupType `json:"sf_invite_group,omitempty"`
+ // SfTeamGrantAccess : (sharing) Granted access to shared folder
+ // (deprecated, no longer logged)
+ SfTeamGrantAccess *SfTeamGrantAccessType `json:"sf_team_grant_access,omitempty"`
+ // SfTeamInvite : (sharing) Invited team members to shared folder
+ // (deprecated, replaced by 'Invited user to Dropbox and added them to
+ // shared file/folder')
+ SfTeamInvite *SfTeamInviteType `json:"sf_team_invite,omitempty"`
+ // SfTeamInviteChangeRole : (sharing) Changed team member's role in shared
+ // folder (deprecated, no longer logged)
+ SfTeamInviteChangeRole *SfTeamInviteChangeRoleType `json:"sf_team_invite_change_role,omitempty"`
+ // SfTeamJoin : (sharing) Joined team member's shared folder (deprecated, no
+ // longer logged)
+ SfTeamJoin *SfTeamJoinType `json:"sf_team_join,omitempty"`
+ // SfTeamJoinFromOobLink : (sharing) Joined team member's shared folder from
+ // link (deprecated, no longer logged)
+ SfTeamJoinFromOobLink *SfTeamJoinFromOobLinkType `json:"sf_team_join_from_oob_link,omitempty"`
+ // SfTeamUninvite : (sharing) Unshared folder with team member (deprecated,
+ // replaced by 'Removed invitee from shared file/folder before invite was
+ // accepted')
+ SfTeamUninvite *SfTeamUninviteType `json:"sf_team_uninvite,omitempty"`
+ // SharedContentAddInvitees : (sharing) Invited user to Dropbox and added
+ // them to shared file/folder
+ SharedContentAddInvitees *SharedContentAddInviteesType `json:"shared_content_add_invitees,omitempty"`
+ // SharedContentAddLinkExpiry : (sharing) Added expiration date to link for
+ // shared file/folder
+ SharedContentAddLinkExpiry *SharedContentAddLinkExpiryType `json:"shared_content_add_link_expiry,omitempty"`
+ // SharedContentAddLinkPassword : (sharing) Added password to link for
+ // shared file/folder
+ SharedContentAddLinkPassword *SharedContentAddLinkPasswordType `json:"shared_content_add_link_password,omitempty"`
+ // SharedContentAddMember : (sharing) Added users and/or groups to shared
+ // file/folder
+ SharedContentAddMember *SharedContentAddMemberType `json:"shared_content_add_member,omitempty"`
+ // SharedContentChangeDownloadsPolicy : (sharing) Changed whether members
+ // can download shared file/folder
+ SharedContentChangeDownloadsPolicy *SharedContentChangeDownloadsPolicyType `json:"shared_content_change_downloads_policy,omitempty"`
+ // SharedContentChangeInviteeRole : (sharing) Changed access type of invitee
+ // to shared file/folder before invite was accepted
+ SharedContentChangeInviteeRole *SharedContentChangeInviteeRoleType `json:"shared_content_change_invitee_role,omitempty"`
+ // SharedContentChangeLinkAudience : (sharing) Changed link audience of
+ // shared file/folder
+ SharedContentChangeLinkAudience *SharedContentChangeLinkAudienceType `json:"shared_content_change_link_audience,omitempty"`
+ // SharedContentChangeLinkExpiry : (sharing) Changed link expiration of
+ // shared file/folder
+ SharedContentChangeLinkExpiry *SharedContentChangeLinkExpiryType `json:"shared_content_change_link_expiry,omitempty"`
+ // SharedContentChangeLinkPassword : (sharing) Changed link password of
+ // shared file/folder
+ SharedContentChangeLinkPassword *SharedContentChangeLinkPasswordType `json:"shared_content_change_link_password,omitempty"`
+ // SharedContentChangeMemberRole : (sharing) Changed access type of shared
+ // file/folder member
+ SharedContentChangeMemberRole *SharedContentChangeMemberRoleType `json:"shared_content_change_member_role,omitempty"`
+ // SharedContentChangeViewerInfoPolicy : (sharing) Changed whether members
+ // can see who viewed shared file/folder
+ SharedContentChangeViewerInfoPolicy *SharedContentChangeViewerInfoPolicyType `json:"shared_content_change_viewer_info_policy,omitempty"`
+ // SharedContentClaimInvitation : (sharing) Acquired membership of shared
+ // file/folder by accepting invite
+ SharedContentClaimInvitation *SharedContentClaimInvitationType `json:"shared_content_claim_invitation,omitempty"`
+ // SharedContentCopy : (sharing) Copied shared file/folder to own Dropbox
+ SharedContentCopy *SharedContentCopyType `json:"shared_content_copy,omitempty"`
+ // SharedContentDownload : (sharing) Downloaded shared file/folder
+ SharedContentDownload *SharedContentDownloadType `json:"shared_content_download,omitempty"`
+ // SharedContentRelinquishMembership : (sharing) Left shared file/folder
+ SharedContentRelinquishMembership *SharedContentRelinquishMembershipType `json:"shared_content_relinquish_membership,omitempty"`
+ // SharedContentRemoveInvitees : (sharing) Removed invitee from shared
+ // file/folder before invite was accepted
+ SharedContentRemoveInvitees *SharedContentRemoveInviteesType `json:"shared_content_remove_invitees,omitempty"`
+ // SharedContentRemoveLinkExpiry : (sharing) Removed link expiration date of
+ // shared file/folder
+ SharedContentRemoveLinkExpiry *SharedContentRemoveLinkExpiryType `json:"shared_content_remove_link_expiry,omitempty"`
+ // SharedContentRemoveLinkPassword : (sharing) Removed link password of
+ // shared file/folder
+ SharedContentRemoveLinkPassword *SharedContentRemoveLinkPasswordType `json:"shared_content_remove_link_password,omitempty"`
+ // SharedContentRemoveMember : (sharing) Removed user/group from shared
+ // file/folder
+ SharedContentRemoveMember *SharedContentRemoveMemberType `json:"shared_content_remove_member,omitempty"`
+ // SharedContentRequestAccess : (sharing) Requested access to shared
+ // file/folder
+ SharedContentRequestAccess *SharedContentRequestAccessType `json:"shared_content_request_access,omitempty"`
+ // SharedContentUnshare : (sharing) Unshared file/folder by clearing
+ // membership and turning off link
+ SharedContentUnshare *SharedContentUnshareType `json:"shared_content_unshare,omitempty"`
+ // SharedContentView : (sharing) Previewed shared file/folder
+ SharedContentView *SharedContentViewType `json:"shared_content_view,omitempty"`
+ // SharedFolderChangeLinkPolicy : (sharing) Changed who can access shared
+ // folder via link
+ SharedFolderChangeLinkPolicy *SharedFolderChangeLinkPolicyType `json:"shared_folder_change_link_policy,omitempty"`
+ // SharedFolderChangeMembersInheritancePolicy : (sharing) Changed whether
+ // shared folder inherits members from parent folder
+ SharedFolderChangeMembersInheritancePolicy *SharedFolderChangeMembersInheritancePolicyType `json:"shared_folder_change_members_inheritance_policy,omitempty"`
+ // SharedFolderChangeMembersManagementPolicy : (sharing) Changed who can
+ // add/remove members of shared folder
+ SharedFolderChangeMembersManagementPolicy *SharedFolderChangeMembersManagementPolicyType `json:"shared_folder_change_members_management_policy,omitempty"`
+ // SharedFolderChangeMembersPolicy : (sharing) Changed who can become member
+ // of shared folder
+ SharedFolderChangeMembersPolicy *SharedFolderChangeMembersPolicyType `json:"shared_folder_change_members_policy,omitempty"`
+ // SharedFolderCreate : (sharing) Created shared folder
+ SharedFolderCreate *SharedFolderCreateType `json:"shared_folder_create,omitempty"`
+ // SharedFolderDeclineInvitation : (sharing) Declined team member's invite
+ // to shared folder
+ SharedFolderDeclineInvitation *SharedFolderDeclineInvitationType `json:"shared_folder_decline_invitation,omitempty"`
+ // SharedFolderMount : (sharing) Added shared folder to own Dropbox
+ SharedFolderMount *SharedFolderMountType `json:"shared_folder_mount,omitempty"`
+ // SharedFolderNest : (sharing) Changed parent of shared folder
+ SharedFolderNest *SharedFolderNestType `json:"shared_folder_nest,omitempty"`
+ // SharedFolderTransferOwnership : (sharing) Transferred ownership of shared
+ // folder to another member
+ SharedFolderTransferOwnership *SharedFolderTransferOwnershipType `json:"shared_folder_transfer_ownership,omitempty"`
+ // SharedFolderUnmount : (sharing) Deleted shared folder from Dropbox
+ SharedFolderUnmount *SharedFolderUnmountType `json:"shared_folder_unmount,omitempty"`
+ // SharedLinkAddExpiry : (sharing) Added shared link expiration date
+ SharedLinkAddExpiry *SharedLinkAddExpiryType `json:"shared_link_add_expiry,omitempty"`
+ // SharedLinkChangeExpiry : (sharing) Changed shared link expiration date
+ SharedLinkChangeExpiry *SharedLinkChangeExpiryType `json:"shared_link_change_expiry,omitempty"`
+ // SharedLinkChangeVisibility : (sharing) Changed visibility of shared link
+ SharedLinkChangeVisibility *SharedLinkChangeVisibilityType `json:"shared_link_change_visibility,omitempty"`
+ // SharedLinkCopy : (sharing) Added file/folder to Dropbox from shared link
+ SharedLinkCopy *SharedLinkCopyType `json:"shared_link_copy,omitempty"`
+ // SharedLinkCreate : (sharing) Created shared link
+ SharedLinkCreate *SharedLinkCreateType `json:"shared_link_create,omitempty"`
+ // SharedLinkDisable : (sharing) Removed shared link
+ SharedLinkDisable *SharedLinkDisableType `json:"shared_link_disable,omitempty"`
+ // SharedLinkDownload : (sharing) Downloaded file/folder from shared link
+ SharedLinkDownload *SharedLinkDownloadType `json:"shared_link_download,omitempty"`
+ // SharedLinkRemoveExpiry : (sharing) Removed shared link expiration date
+ SharedLinkRemoveExpiry *SharedLinkRemoveExpiryType `json:"shared_link_remove_expiry,omitempty"`
+ // SharedLinkShare : (sharing) Added members as audience of shared link
+ SharedLinkShare *SharedLinkShareType `json:"shared_link_share,omitempty"`
+ // SharedLinkView : (sharing) Opened shared link
+ SharedLinkView *SharedLinkViewType `json:"shared_link_view,omitempty"`
+ // SharedNoteOpened : (sharing) Opened shared Paper doc (deprecated, no
+ // longer logged)
+ SharedNoteOpened *SharedNoteOpenedType `json:"shared_note_opened,omitempty"`
+ // ShmodelGroupShare : (sharing) Shared link with group (deprecated, no
+ // longer logged)
+ ShmodelGroupShare *ShmodelGroupShareType `json:"shmodel_group_share,omitempty"`
+ // ShowcaseAccessGranted : (showcase) Granted access to showcase
+ ShowcaseAccessGranted *ShowcaseAccessGrantedType `json:"showcase_access_granted,omitempty"`
+ // ShowcaseAddMember : (showcase) Added member to showcase
+ ShowcaseAddMember *ShowcaseAddMemberType `json:"showcase_add_member,omitempty"`
+ // ShowcaseArchived : (showcase) Archived showcase
+ ShowcaseArchived *ShowcaseArchivedType `json:"showcase_archived,omitempty"`
+ // ShowcaseCreated : (showcase) Created showcase
+ ShowcaseCreated *ShowcaseCreatedType `json:"showcase_created,omitempty"`
+ // ShowcaseDeleteComment : (showcase) Deleted showcase comment
+ ShowcaseDeleteComment *ShowcaseDeleteCommentType `json:"showcase_delete_comment,omitempty"`
+ // ShowcaseEdited : (showcase) Edited showcase
+ ShowcaseEdited *ShowcaseEditedType `json:"showcase_edited,omitempty"`
+ // ShowcaseEditComment : (showcase) Edited showcase comment
+ ShowcaseEditComment *ShowcaseEditCommentType `json:"showcase_edit_comment,omitempty"`
+ // ShowcaseFileAdded : (showcase) Added file to showcase
+ ShowcaseFileAdded *ShowcaseFileAddedType `json:"showcase_file_added,omitempty"`
+ // ShowcaseFileDownload : (showcase) Downloaded file from showcase
+ ShowcaseFileDownload *ShowcaseFileDownloadType `json:"showcase_file_download,omitempty"`
+ // ShowcaseFileRemoved : (showcase) Removed file from showcase
+ ShowcaseFileRemoved *ShowcaseFileRemovedType `json:"showcase_file_removed,omitempty"`
+ // ShowcaseFileView : (showcase) Viewed file in showcase
+ ShowcaseFileView *ShowcaseFileViewType `json:"showcase_file_view,omitempty"`
+ // ShowcasePermanentlyDeleted : (showcase) Permanently deleted showcase
+ ShowcasePermanentlyDeleted *ShowcasePermanentlyDeletedType `json:"showcase_permanently_deleted,omitempty"`
+ // ShowcasePostComment : (showcase) Added showcase comment
+ ShowcasePostComment *ShowcasePostCommentType `json:"showcase_post_comment,omitempty"`
+ // ShowcaseRemoveMember : (showcase) Removed member from showcase
+ ShowcaseRemoveMember *ShowcaseRemoveMemberType `json:"showcase_remove_member,omitempty"`
+ // ShowcaseRenamed : (showcase) Renamed showcase
+ ShowcaseRenamed *ShowcaseRenamedType `json:"showcase_renamed,omitempty"`
+ // ShowcaseRequestAccess : (showcase) Requested access to showcase
+ ShowcaseRequestAccess *ShowcaseRequestAccessType `json:"showcase_request_access,omitempty"`
+ // ShowcaseResolveComment : (showcase) Resolved showcase comment
+ ShowcaseResolveComment *ShowcaseResolveCommentType `json:"showcase_resolve_comment,omitempty"`
+ // ShowcaseRestored : (showcase) Unarchived showcase
+ ShowcaseRestored *ShowcaseRestoredType `json:"showcase_restored,omitempty"`
+ // ShowcaseTrashed : (showcase) Deleted showcase
+ ShowcaseTrashed *ShowcaseTrashedType `json:"showcase_trashed,omitempty"`
+ // ShowcaseTrashedDeprecated : (showcase) Deleted showcase (old version)
+ // (deprecated, replaced by 'Deleted showcase')
+ ShowcaseTrashedDeprecated *ShowcaseTrashedDeprecatedType `json:"showcase_trashed_deprecated,omitempty"`
+ // ShowcaseUnresolveComment : (showcase) Unresolved showcase comment
+ ShowcaseUnresolveComment *ShowcaseUnresolveCommentType `json:"showcase_unresolve_comment,omitempty"`
+ // ShowcaseUntrashed : (showcase) Restored showcase
+ ShowcaseUntrashed *ShowcaseUntrashedType `json:"showcase_untrashed,omitempty"`
+ // ShowcaseUntrashedDeprecated : (showcase) Restored showcase (old version)
+ // (deprecated, replaced by 'Restored showcase')
+ ShowcaseUntrashedDeprecated *ShowcaseUntrashedDeprecatedType `json:"showcase_untrashed_deprecated,omitempty"`
+ // ShowcaseView : (showcase) Viewed showcase
+ ShowcaseView *ShowcaseViewType `json:"showcase_view,omitempty"`
+ // SsoAddCert : (sso) Added X.509 certificate for SSO
+ SsoAddCert *SsoAddCertType `json:"sso_add_cert,omitempty"`
+ // SsoAddLoginUrl : (sso) Added sign-in URL for SSO
+ SsoAddLoginUrl *SsoAddLoginUrlType `json:"sso_add_login_url,omitempty"`
+ // SsoAddLogoutUrl : (sso) Added sign-out URL for SSO
+ SsoAddLogoutUrl *SsoAddLogoutUrlType `json:"sso_add_logout_url,omitempty"`
+ // SsoChangeCert : (sso) Changed X.509 certificate for SSO
+ SsoChangeCert *SsoChangeCertType `json:"sso_change_cert,omitempty"`
+ // SsoChangeLoginUrl : (sso) Changed sign-in URL for SSO
+ SsoChangeLoginUrl *SsoChangeLoginUrlType `json:"sso_change_login_url,omitempty"`
+ // SsoChangeLogoutUrl : (sso) Changed sign-out URL for SSO
+ SsoChangeLogoutUrl *SsoChangeLogoutUrlType `json:"sso_change_logout_url,omitempty"`
+ // SsoChangeSamlIdentityMode : (sso) Changed SAML identity mode for SSO
+ SsoChangeSamlIdentityMode *SsoChangeSamlIdentityModeType `json:"sso_change_saml_identity_mode,omitempty"`
+ // SsoRemoveCert : (sso) Removed X.509 certificate for SSO
+ SsoRemoveCert *SsoRemoveCertType `json:"sso_remove_cert,omitempty"`
+ // SsoRemoveLoginUrl : (sso) Removed sign-in URL for SSO
+ SsoRemoveLoginUrl *SsoRemoveLoginUrlType `json:"sso_remove_login_url,omitempty"`
+ // SsoRemoveLogoutUrl : (sso) Removed sign-out URL for SSO
+ SsoRemoveLogoutUrl *SsoRemoveLogoutUrlType `json:"sso_remove_logout_url,omitempty"`
+ // TeamFolderChangeStatus : (team_folders) Changed archival status of team
+ // folder
+ TeamFolderChangeStatus *TeamFolderChangeStatusType `json:"team_folder_change_status,omitempty"`
+ // TeamFolderCreate : (team_folders) Created team folder in active status
+ TeamFolderCreate *TeamFolderCreateType `json:"team_folder_create,omitempty"`
+ // TeamFolderDowngrade : (team_folders) Downgraded team folder to regular
+ // shared folder
+ TeamFolderDowngrade *TeamFolderDowngradeType `json:"team_folder_downgrade,omitempty"`
+ // TeamFolderPermanentlyDelete : (team_folders) Permanently deleted archived
+ // team folder
+ TeamFolderPermanentlyDelete *TeamFolderPermanentlyDeleteType `json:"team_folder_permanently_delete,omitempty"`
+ // TeamFolderRename : (team_folders) Renamed active/archived team folder
+ TeamFolderRename *TeamFolderRenameType `json:"team_folder_rename,omitempty"`
+ // TeamSelectiveSyncSettingsChanged : (team_folders) Changed sync default
+ TeamSelectiveSyncSettingsChanged *TeamSelectiveSyncSettingsChangedType `json:"team_selective_sync_settings_changed,omitempty"`
+ // AccountCaptureChangePolicy : (team_policies) Changed account capture
+ // setting on team domain
+ AccountCaptureChangePolicy *AccountCaptureChangePolicyType `json:"account_capture_change_policy,omitempty"`
+ // AllowDownloadDisabled : (team_policies) Disabled downloads (deprecated,
+ // no longer logged)
+ AllowDownloadDisabled *AllowDownloadDisabledType `json:"allow_download_disabled,omitempty"`
+ // AllowDownloadEnabled : (team_policies) Enabled downloads (deprecated, no
+ // longer logged)
+ AllowDownloadEnabled *AllowDownloadEnabledType `json:"allow_download_enabled,omitempty"`
+ // DataPlacementRestrictionChangePolicy : (team_policies) Set restrictions
+ // on data center locations where team data resides
+ DataPlacementRestrictionChangePolicy *DataPlacementRestrictionChangePolicyType `json:"data_placement_restriction_change_policy,omitempty"`
+ // DataPlacementRestrictionSatisfyPolicy : (team_policies) Completed
+ // restrictions on data center locations where team data resides
+ DataPlacementRestrictionSatisfyPolicy *DataPlacementRestrictionSatisfyPolicyType `json:"data_placement_restriction_satisfy_policy,omitempty"`
+ // DeviceApprovalsChangeDesktopPolicy : (team_policies) Set/removed limit on
+ // number of computers member can link to team Dropbox account
+ DeviceApprovalsChangeDesktopPolicy *DeviceApprovalsChangeDesktopPolicyType `json:"device_approvals_change_desktop_policy,omitempty"`
+ // DeviceApprovalsChangeMobilePolicy : (team_policies) Set/removed limit on
+ // number of mobile devices member can link to team Dropbox account
+ DeviceApprovalsChangeMobilePolicy *DeviceApprovalsChangeMobilePolicyType `json:"device_approvals_change_mobile_policy,omitempty"`
+ // DeviceApprovalsChangeOverageAction : (team_policies) Changed device
+ // approvals setting when member is over limit
+ DeviceApprovalsChangeOverageAction *DeviceApprovalsChangeOverageActionType `json:"device_approvals_change_overage_action,omitempty"`
+ // DeviceApprovalsChangeUnlinkAction : (team_policies) Changed device
+ // approvals setting when member unlinks approved device
+ DeviceApprovalsChangeUnlinkAction *DeviceApprovalsChangeUnlinkActionType `json:"device_approvals_change_unlink_action,omitempty"`
+ // DirectoryRestrictionsAddMembers : (team_policies) Added members to
+ // directory restrictions list
+ DirectoryRestrictionsAddMembers *DirectoryRestrictionsAddMembersType `json:"directory_restrictions_add_members,omitempty"`
+ // DirectoryRestrictionsRemoveMembers : (team_policies) Removed members from
+ // directory restrictions list
+ DirectoryRestrictionsRemoveMembers *DirectoryRestrictionsRemoveMembersType `json:"directory_restrictions_remove_members,omitempty"`
+ // EmmAddException : (team_policies) Added members to EMM exception list
+ EmmAddException *EmmAddExceptionType `json:"emm_add_exception,omitempty"`
+ // EmmChangePolicy : (team_policies) Enabled/disabled enterprise mobility
+ // management for members
+ EmmChangePolicy *EmmChangePolicyType `json:"emm_change_policy,omitempty"`
+ // EmmRemoveException : (team_policies) Removed members from EMM exception
+ // list
+ EmmRemoveException *EmmRemoveExceptionType `json:"emm_remove_exception,omitempty"`
+ // ExtendedVersionHistoryChangePolicy : (team_policies) Accepted/opted out
+ // of extended version history
+ ExtendedVersionHistoryChangePolicy *ExtendedVersionHistoryChangePolicyType `json:"extended_version_history_change_policy,omitempty"`
+ // FileCommentsChangePolicy : (team_policies) Enabled/disabled commenting on
+ // team files
+ FileCommentsChangePolicy *FileCommentsChangePolicyType `json:"file_comments_change_policy,omitempty"`
+ // FileRequestsChangePolicy : (team_policies) Enabled/disabled file requests
+ FileRequestsChangePolicy *FileRequestsChangePolicyType `json:"file_requests_change_policy,omitempty"`
+ // FileRequestsEmailsEnabled : (team_policies) Enabled file request emails
+ // for everyone (deprecated, no longer logged)
+ FileRequestsEmailsEnabled *FileRequestsEmailsEnabledType `json:"file_requests_emails_enabled,omitempty"`
+ // FileRequestsEmailsRestrictedToTeamOnly : (team_policies) Enabled file
+ // request emails for team (deprecated, no longer logged)
+ FileRequestsEmailsRestrictedToTeamOnly *FileRequestsEmailsRestrictedToTeamOnlyType `json:"file_requests_emails_restricted_to_team_only,omitempty"`
+ // GoogleSsoChangePolicy : (team_policies) Enabled/disabled Google single
+ // sign-on for team
+ GoogleSsoChangePolicy *GoogleSsoChangePolicyType `json:"google_sso_change_policy,omitempty"`
+ // GroupUserManagementChangePolicy : (team_policies) Changed who can create
+ // groups
+ GroupUserManagementChangePolicy *GroupUserManagementChangePolicyType `json:"group_user_management_change_policy,omitempty"`
+ // MemberRequestsChangePolicy : (team_policies) Changed whether users can
+ // find team when not invited
+ MemberRequestsChangePolicy *MemberRequestsChangePolicyType `json:"member_requests_change_policy,omitempty"`
+ // MemberSpaceLimitsAddException : (team_policies) Added members to member
+ // space limit exception list
+ MemberSpaceLimitsAddException *MemberSpaceLimitsAddExceptionType `json:"member_space_limits_add_exception,omitempty"`
+ // MemberSpaceLimitsChangeCapsTypePolicy : (team_policies) Changed member
+ // space limit type for team
+ MemberSpaceLimitsChangeCapsTypePolicy *MemberSpaceLimitsChangeCapsTypePolicyType `json:"member_space_limits_change_caps_type_policy,omitempty"`
+ // MemberSpaceLimitsChangePolicy : (team_policies) Changed team default
+ // member space limit
+ MemberSpaceLimitsChangePolicy *MemberSpaceLimitsChangePolicyType `json:"member_space_limits_change_policy,omitempty"`
+ // MemberSpaceLimitsRemoveException : (team_policies) Removed members from
+ // member space limit exception list
+ MemberSpaceLimitsRemoveException *MemberSpaceLimitsRemoveExceptionType `json:"member_space_limits_remove_exception,omitempty"`
+ // MemberSuggestionsChangePolicy : (team_policies) Enabled/disabled option
+ // for team members to suggest people to add to team
+ MemberSuggestionsChangePolicy *MemberSuggestionsChangePolicyType `json:"member_suggestions_change_policy,omitempty"`
+ // MicrosoftOfficeAddinChangePolicy : (team_policies) Enabled/disabled
+ // Microsoft Office add-in
+ MicrosoftOfficeAddinChangePolicy *MicrosoftOfficeAddinChangePolicyType `json:"microsoft_office_addin_change_policy,omitempty"`
+ // NetworkControlChangePolicy : (team_policies) Enabled/disabled network
+ // control
+ NetworkControlChangePolicy *NetworkControlChangePolicyType `json:"network_control_change_policy,omitempty"`
+ // PaperChangeDeploymentPolicy : (team_policies) Changed whether Dropbox
+ // Paper, when enabled, is deployed to all members or to specific members
+ PaperChangeDeploymentPolicy *PaperChangeDeploymentPolicyType `json:"paper_change_deployment_policy,omitempty"`
+ // PaperChangeMemberLinkPolicy : (team_policies) Changed whether non-members
+ // can view Paper docs with link (deprecated, no longer logged)
+ PaperChangeMemberLinkPolicy *PaperChangeMemberLinkPolicyType `json:"paper_change_member_link_policy,omitempty"`
+ // PaperChangeMemberPolicy : (team_policies) Changed whether members can
+ // share Paper docs outside team, and if docs are accessible only by team
+ // members or anyone by default
+ PaperChangeMemberPolicy *PaperChangeMemberPolicyType `json:"paper_change_member_policy,omitempty"`
+ // PaperChangePolicy : (team_policies) Enabled/disabled Dropbox Paper for
+ // team
+ PaperChangePolicy *PaperChangePolicyType `json:"paper_change_policy,omitempty"`
+ // PaperEnabledUsersGroupAddition : (team_policies) Added users to
+ // Paper-enabled users list
+ PaperEnabledUsersGroupAddition *PaperEnabledUsersGroupAdditionType `json:"paper_enabled_users_group_addition,omitempty"`
+ // PaperEnabledUsersGroupRemoval : (team_policies) Removed users from
+ // Paper-enabled users list
+ PaperEnabledUsersGroupRemoval *PaperEnabledUsersGroupRemovalType `json:"paper_enabled_users_group_removal,omitempty"`
+ // PermanentDeleteChangePolicy : (team_policies) Enabled/disabled ability of
+ // team members to permanently delete content
+ PermanentDeleteChangePolicy *PermanentDeleteChangePolicyType `json:"permanent_delete_change_policy,omitempty"`
+ // SharingChangeFolderJoinPolicy : (team_policies) Changed whether team
+ // members can join shared folders owned outside team
+ SharingChangeFolderJoinPolicy *SharingChangeFolderJoinPolicyType `json:"sharing_change_folder_join_policy,omitempty"`
+ // SharingChangeLinkPolicy : (team_policies) Changed whether members can
+ // share links outside team, and if links are accessible only by team
+ // members or anyone by default
+ SharingChangeLinkPolicy *SharingChangeLinkPolicyType `json:"sharing_change_link_policy,omitempty"`
+ // SharingChangeMemberPolicy : (team_policies) Changed whether members can
+ // share files/folders outside team
+ SharingChangeMemberPolicy *SharingChangeMemberPolicyType `json:"sharing_change_member_policy,omitempty"`
+ // ShowcaseChangeDownloadPolicy : (team_policies) Enabled/disabled
+ // downloading files from Dropbox Showcase for team
+ ShowcaseChangeDownloadPolicy *ShowcaseChangeDownloadPolicyType `json:"showcase_change_download_policy,omitempty"`
+ // ShowcaseChangeEnabledPolicy : (team_policies) Enabled/disabled Dropbox
+ // Showcase for team
+ ShowcaseChangeEnabledPolicy *ShowcaseChangeEnabledPolicyType `json:"showcase_change_enabled_policy,omitempty"`
+ // ShowcaseChangeExternalSharingPolicy : (team_policies) Enabled/disabled
+ // sharing Dropbox Showcase externally for team
+ ShowcaseChangeExternalSharingPolicy *ShowcaseChangeExternalSharingPolicyType `json:"showcase_change_external_sharing_policy,omitempty"`
+ // SmartSyncChangePolicy : (team_policies) Changed default Smart Sync
+ // setting for team members
+ SmartSyncChangePolicy *SmartSyncChangePolicyType `json:"smart_sync_change_policy,omitempty"`
+ // SmartSyncNotOptOut : (team_policies) Opted team into Smart Sync
+ SmartSyncNotOptOut *SmartSyncNotOptOutType `json:"smart_sync_not_opt_out,omitempty"`
+ // SmartSyncOptOut : (team_policies) Opted team out of Smart Sync
+ SmartSyncOptOut *SmartSyncOptOutType `json:"smart_sync_opt_out,omitempty"`
+ // SsoChangePolicy : (team_policies) Changed single sign-on setting for team
+ SsoChangePolicy *SsoChangePolicyType `json:"sso_change_policy,omitempty"`
+ // TfaChangePolicy : (team_policies) Changed two-step verification setting
+ // for team
+ TfaChangePolicy *TfaChangePolicyType `json:"tfa_change_policy,omitempty"`
+ // TwoAccountChangePolicy : (team_policies) Enabled/disabled option for
+ // members to link personal Dropbox account and team account to same
+ // computer
+ TwoAccountChangePolicy *TwoAccountChangePolicyType `json:"two_account_change_policy,omitempty"`
+ // WebSessionsChangeFixedLengthPolicy : (team_policies) Changed how long
+ // members can stay signed in to Dropbox.com
+ WebSessionsChangeFixedLengthPolicy *WebSessionsChangeFixedLengthPolicyType `json:"web_sessions_change_fixed_length_policy,omitempty"`
+ // WebSessionsChangeIdleLengthPolicy : (team_policies) Changed how long team
+ // members can be idle while signed in to Dropbox.com
+ WebSessionsChangeIdleLengthPolicy *WebSessionsChangeIdleLengthPolicyType `json:"web_sessions_change_idle_length_policy,omitempty"`
+ // TeamMergeFrom : (team_profile) Merged another team into this team
+ TeamMergeFrom *TeamMergeFromType `json:"team_merge_from,omitempty"`
+ // TeamMergeTo : (team_profile) Merged this team into another team
+ TeamMergeTo *TeamMergeToType `json:"team_merge_to,omitempty"`
+ // TeamProfileAddLogo : (team_profile) Added team logo to display on shared
+ // link headers
+ TeamProfileAddLogo *TeamProfileAddLogoType `json:"team_profile_add_logo,omitempty"`
+ // TeamProfileChangeDefaultLanguage : (team_profile) Changed default
+ // language for team
+ TeamProfileChangeDefaultLanguage *TeamProfileChangeDefaultLanguageType `json:"team_profile_change_default_language,omitempty"`
+ // TeamProfileChangeLogo : (team_profile) Changed team logo displayed on
+ // shared link headers
+ TeamProfileChangeLogo *TeamProfileChangeLogoType `json:"team_profile_change_logo,omitempty"`
+ // TeamProfileChangeName : (team_profile) Changed team name
+ TeamProfileChangeName *TeamProfileChangeNameType `json:"team_profile_change_name,omitempty"`
+ // TeamProfileRemoveLogo : (team_profile) Removed team logo displayed on
+ // shared link headers
+ TeamProfileRemoveLogo *TeamProfileRemoveLogoType `json:"team_profile_remove_logo,omitempty"`
+ // TfaAddBackupPhone : (tfa) Added backup phone for two-step verification
+ TfaAddBackupPhone *TfaAddBackupPhoneType `json:"tfa_add_backup_phone,omitempty"`
+ // TfaAddSecurityKey : (tfa) Added security key for two-step verification
+ TfaAddSecurityKey *TfaAddSecurityKeyType `json:"tfa_add_security_key,omitempty"`
+ // TfaChangeBackupPhone : (tfa) Changed backup phone for two-step
+ // verification
+ TfaChangeBackupPhone *TfaChangeBackupPhoneType `json:"tfa_change_backup_phone,omitempty"`
+ // TfaChangeStatus : (tfa) Enabled/disabled/changed two-step verification
+ // setting
+ TfaChangeStatus *TfaChangeStatusType `json:"tfa_change_status,omitempty"`
+ // TfaRemoveBackupPhone : (tfa) Removed backup phone for two-step
+ // verification
+ TfaRemoveBackupPhone *TfaRemoveBackupPhoneType `json:"tfa_remove_backup_phone,omitempty"`
+ // TfaRemoveSecurityKey : (tfa) Removed security key for two-step
+ // verification
+ TfaRemoveSecurityKey *TfaRemoveSecurityKeyType `json:"tfa_remove_security_key,omitempty"`
+ // TfaReset : (tfa) Reset two-step verification for team member
+ TfaReset *TfaResetType `json:"tfa_reset,omitempty"`
}
// Valid tag values for EventType
const (
- EventTypeMemberChangeMembershipType = "member_change_membership_type"
- EventTypeMemberPermanentlyDeleteAccountContents = "member_permanently_delete_account_contents"
- EventTypeMemberSpaceLimitsChangeStatus = "member_space_limits_change_status"
- EventTypeMemberTransferAccountContents = "member_transfer_account_contents"
- EventTypePaperAdminExportStart = "paper_admin_export_start"
- EventTypePaperEnabledUsersGroupAddition = "paper_enabled_users_group_addition"
- EventTypePaperEnabledUsersGroupRemoval = "paper_enabled_users_group_removal"
- EventTypePaperExternalViewAllow = "paper_external_view_allow"
- EventTypePaperExternalViewDefaultTeam = "paper_external_view_default_team"
- EventTypePaperExternalViewForbid = "paper_external_view_forbid"
- EventTypeSfExternalInviteWarn = "sf_external_invite_warn"
- EventTypeTeamMergeFrom = "team_merge_from"
- EventTypeTeamMergeTo = "team_merge_to"
- EventTypeAppLinkTeam = "app_link_team"
- EventTypeAppLinkUser = "app_link_user"
- EventTypeAppUnlinkTeam = "app_unlink_team"
- EventTypeAppUnlinkUser = "app_unlink_user"
- EventTypeFileAddComment = "file_add_comment"
- EventTypeFileChangeCommentSubscription = "file_change_comment_subscription"
- EventTypeFileDeleteComment = "file_delete_comment"
- EventTypeFileLikeComment = "file_like_comment"
- EventTypeFileResolveComment = "file_resolve_comment"
- EventTypeFileUnlikeComment = "file_unlike_comment"
- EventTypeFileUnresolveComment = "file_unresolve_comment"
- EventTypeDeviceChangeIpDesktop = "device_change_ip_desktop"
- EventTypeDeviceChangeIpMobile = "device_change_ip_mobile"
- EventTypeDeviceChangeIpWeb = "device_change_ip_web"
- EventTypeDeviceDeleteOnUnlinkFail = "device_delete_on_unlink_fail"
- EventTypeDeviceDeleteOnUnlinkSuccess = "device_delete_on_unlink_success"
- EventTypeDeviceLinkFail = "device_link_fail"
- EventTypeDeviceLinkSuccess = "device_link_success"
- EventTypeDeviceManagementDisabled = "device_management_disabled"
- EventTypeDeviceManagementEnabled = "device_management_enabled"
- EventTypeDeviceUnlink = "device_unlink"
- EventTypeEmmRefreshAuthToken = "emm_refresh_auth_token"
- EventTypeAccountCaptureChangeAvailability = "account_capture_change_availability"
- EventTypeAccountCaptureMigrateAccount = "account_capture_migrate_account"
- EventTypeAccountCaptureRelinquishAccount = "account_capture_relinquish_account"
- EventTypeDisabledDomainInvites = "disabled_domain_invites"
- EventTypeDomainInvitesApproveRequestToJoinTeam = "domain_invites_approve_request_to_join_team"
- EventTypeDomainInvitesDeclineRequestToJoinTeam = "domain_invites_decline_request_to_join_team"
- EventTypeDomainInvitesEmailExistingUsers = "domain_invites_email_existing_users"
- EventTypeDomainInvitesRequestToJoinTeam = "domain_invites_request_to_join_team"
- EventTypeDomainInvitesSetInviteNewUserPrefToNo = "domain_invites_set_invite_new_user_pref_to_no"
- EventTypeDomainInvitesSetInviteNewUserPrefToYes = "domain_invites_set_invite_new_user_pref_to_yes"
- EventTypeDomainVerificationAddDomainFail = "domain_verification_add_domain_fail"
- EventTypeDomainVerificationAddDomainSuccess = "domain_verification_add_domain_success"
- EventTypeDomainVerificationRemoveDomain = "domain_verification_remove_domain"
- EventTypeEnabledDomainInvites = "enabled_domain_invites"
- EventTypeCreateFolder = "create_folder"
- EventTypeFileAdd = "file_add"
- EventTypeFileCopy = "file_copy"
- EventTypeFileDelete = "file_delete"
- EventTypeFileDownload = "file_download"
- EventTypeFileEdit = "file_edit"
- EventTypeFileGetCopyReference = "file_get_copy_reference"
- EventTypeFileMove = "file_move"
- EventTypeFilePermanentlyDelete = "file_permanently_delete"
- EventTypeFilePreview = "file_preview"
- EventTypeFileRename = "file_rename"
- EventTypeFileRestore = "file_restore"
- EventTypeFileRevert = "file_revert"
- EventTypeFileRollbackChanges = "file_rollback_changes"
- EventTypeFileSaveCopyReference = "file_save_copy_reference"
- EventTypeFileRequestAddDeadline = "file_request_add_deadline"
- EventTypeFileRequestChange = "file_request_change"
- EventTypeFileRequestChangeFolder = "file_request_change_folder"
- EventTypeFileRequestClose = "file_request_close"
- EventTypeFileRequestCreate = "file_request_create"
- EventTypeFileRequestReceiveFile = "file_request_receive_file"
- EventTypeFileRequestRemoveDeadline = "file_request_remove_deadline"
- EventTypeFileRequestSend = "file_request_send"
- EventTypeGroupAddExternalId = "group_add_external_id"
- EventTypeGroupAddMember = "group_add_member"
- EventTypeGroupChangeExternalId = "group_change_external_id"
- EventTypeGroupChangeManagementType = "group_change_management_type"
- EventTypeGroupChangeMemberRole = "group_change_member_role"
- EventTypeGroupCreate = "group_create"
- EventTypeGroupDelete = "group_delete"
- EventTypeGroupMoved = "group_moved"
- EventTypeGroupRemoveExternalId = "group_remove_external_id"
- EventTypeGroupRemoveMember = "group_remove_member"
- EventTypeGroupRename = "group_rename"
- EventTypeEmmError = "emm_error"
- EventTypeLoginFail = "login_fail"
- EventTypeLoginSuccess = "login_success"
- EventTypeLogout = "logout"
- EventTypeResellerSupportSessionEnd = "reseller_support_session_end"
- EventTypeResellerSupportSessionStart = "reseller_support_session_start"
- EventTypeSignInAsSessionEnd = "sign_in_as_session_end"
- EventTypeSignInAsSessionStart = "sign_in_as_session_start"
- EventTypeSsoError = "sso_error"
- EventTypeMemberAddName = "member_add_name"
- EventTypeMemberChangeAdminRole = "member_change_admin_role"
- EventTypeMemberChangeEmail = "member_change_email"
- EventTypeMemberChangeName = "member_change_name"
- EventTypeMemberChangeStatus = "member_change_status"
- EventTypeMemberSuggest = "member_suggest"
- EventTypePaperContentAddMember = "paper_content_add_member"
- EventTypePaperContentAddToFolder = "paper_content_add_to_folder"
- EventTypePaperContentArchive = "paper_content_archive"
- EventTypePaperContentCreate = "paper_content_create"
- EventTypePaperContentPermanentlyDelete = "paper_content_permanently_delete"
- EventTypePaperContentRemoveFromFolder = "paper_content_remove_from_folder"
- EventTypePaperContentRemoveMember = "paper_content_remove_member"
- EventTypePaperContentRename = "paper_content_rename"
- EventTypePaperContentRestore = "paper_content_restore"
- EventTypePaperDocAddComment = "paper_doc_add_comment"
- EventTypePaperDocChangeMemberRole = "paper_doc_change_member_role"
- EventTypePaperDocChangeSharingPolicy = "paper_doc_change_sharing_policy"
- EventTypePaperDocChangeSubscription = "paper_doc_change_subscription"
- EventTypePaperDocDeleted = "paper_doc_deleted"
- EventTypePaperDocDeleteComment = "paper_doc_delete_comment"
- EventTypePaperDocDownload = "paper_doc_download"
- EventTypePaperDocEdit = "paper_doc_edit"
- EventTypePaperDocEditComment = "paper_doc_edit_comment"
- EventTypePaperDocFollowed = "paper_doc_followed"
- EventTypePaperDocMention = "paper_doc_mention"
- EventTypePaperDocRequestAccess = "paper_doc_request_access"
- EventTypePaperDocResolveComment = "paper_doc_resolve_comment"
- EventTypePaperDocRevert = "paper_doc_revert"
- EventTypePaperDocSlackShare = "paper_doc_slack_share"
- EventTypePaperDocTeamInvite = "paper_doc_team_invite"
- EventTypePaperDocTrashed = "paper_doc_trashed"
- EventTypePaperDocUnresolveComment = "paper_doc_unresolve_comment"
- EventTypePaperDocUntrashed = "paper_doc_untrashed"
- EventTypePaperDocView = "paper_doc_view"
- EventTypePaperFolderChangeSubscription = "paper_folder_change_subscription"
- EventTypePaperFolderDeleted = "paper_folder_deleted"
- EventTypePaperFolderFollowed = "paper_folder_followed"
- EventTypePaperFolderTeamInvite = "paper_folder_team_invite"
- EventTypePasswordChange = "password_change"
- EventTypePasswordReset = "password_reset"
- EventTypePasswordResetAll = "password_reset_all"
- EventTypeEmmCreateExceptionsReport = "emm_create_exceptions_report"
- EventTypeEmmCreateUsageReport = "emm_create_usage_report"
- EventTypeSmartSyncCreateAdminPrivilegeReport = "smart_sync_create_admin_privilege_report"
- EventTypeTeamActivityCreateReport = "team_activity_create_report"
- EventTypeCollectionShare = "collection_share"
- EventTypeNoteAclInviteOnly = "note_acl_invite_only"
- EventTypeNoteAclLink = "note_acl_link"
- EventTypeNoteAclTeamLink = "note_acl_team_link"
- EventTypeNoteShared = "note_shared"
- EventTypeNoteShareReceive = "note_share_receive"
- EventTypeOpenNoteShared = "open_note_shared"
- EventTypeSfAddGroup = "sf_add_group"
- EventTypeSfAllowNonMembersToViewSharedLinks = "sf_allow_non_members_to_view_shared_links"
- EventTypeSfInviteGroup = "sf_invite_group"
- EventTypeSfNest = "sf_nest"
- EventTypeSfTeamDecline = "sf_team_decline"
- EventTypeSfTeamGrantAccess = "sf_team_grant_access"
- EventTypeSfTeamInvite = "sf_team_invite"
- EventTypeSfTeamInviteChangeRole = "sf_team_invite_change_role"
- EventTypeSfTeamJoin = "sf_team_join"
- EventTypeSfTeamJoinFromOobLink = "sf_team_join_from_oob_link"
- EventTypeSfTeamUninvite = "sf_team_uninvite"
- EventTypeSharedContentAddInvitees = "shared_content_add_invitees"
- EventTypeSharedContentAddLinkExpiry = "shared_content_add_link_expiry"
- EventTypeSharedContentAddLinkPassword = "shared_content_add_link_password"
- EventTypeSharedContentAddMember = "shared_content_add_member"
- EventTypeSharedContentChangeDownloadsPolicy = "shared_content_change_downloads_policy"
- EventTypeSharedContentChangeInviteeRole = "shared_content_change_invitee_role"
- EventTypeSharedContentChangeLinkAudience = "shared_content_change_link_audience"
- EventTypeSharedContentChangeLinkExpiry = "shared_content_change_link_expiry"
- EventTypeSharedContentChangeLinkPassword = "shared_content_change_link_password"
- EventTypeSharedContentChangeMemberRole = "shared_content_change_member_role"
- EventTypeSharedContentChangeViewerInfoPolicy = "shared_content_change_viewer_info_policy"
- EventTypeSharedContentClaimInvitation = "shared_content_claim_invitation"
- EventTypeSharedContentCopy = "shared_content_copy"
- EventTypeSharedContentDownload = "shared_content_download"
- EventTypeSharedContentRelinquishMembership = "shared_content_relinquish_membership"
- EventTypeSharedContentRemoveInvitee = "shared_content_remove_invitee"
- EventTypeSharedContentRemoveLinkExpiry = "shared_content_remove_link_expiry"
- EventTypeSharedContentRemoveLinkPassword = "shared_content_remove_link_password"
- EventTypeSharedContentRemoveMember = "shared_content_remove_member"
- EventTypeSharedContentRequestAccess = "shared_content_request_access"
- EventTypeSharedContentUnshare = "shared_content_unshare"
- EventTypeSharedContentView = "shared_content_view"
- EventTypeSharedFolderChangeConfidentiality = "shared_folder_change_confidentiality"
- EventTypeSharedFolderChangeLinkPolicy = "shared_folder_change_link_policy"
- EventTypeSharedFolderChangeMemberManagementPolicy = "shared_folder_change_member_management_policy"
- EventTypeSharedFolderChangeMemberPolicy = "shared_folder_change_member_policy"
- EventTypeSharedFolderCreate = "shared_folder_create"
- EventTypeSharedFolderMount = "shared_folder_mount"
- EventTypeSharedFolderTransferOwnership = "shared_folder_transfer_ownership"
- EventTypeSharedFolderUnmount = "shared_folder_unmount"
- EventTypeSharedNoteOpened = "shared_note_opened"
- EventTypeShmodelAppCreate = "shmodel_app_create"
- EventTypeShmodelCreate = "shmodel_create"
- EventTypeShmodelDisable = "shmodel_disable"
- EventTypeShmodelFbShare = "shmodel_fb_share"
- EventTypeShmodelGroupShare = "shmodel_group_share"
- EventTypeShmodelRemoveExpiration = "shmodel_remove_expiration"
- EventTypeShmodelSetExpiration = "shmodel_set_expiration"
- EventTypeShmodelTeamCopy = "shmodel_team_copy"
- EventTypeShmodelTeamDownload = "shmodel_team_download"
- EventTypeShmodelTeamShare = "shmodel_team_share"
- EventTypeShmodelTeamView = "shmodel_team_view"
- EventTypeShmodelVisibilityPassword = "shmodel_visibility_password"
- EventTypeShmodelVisibilityPublic = "shmodel_visibility_public"
- EventTypeShmodelVisibilityTeamOnly = "shmodel_visibility_team_only"
- EventTypeSsoAddCert = "sso_add_cert"
- EventTypeSsoAddLoginUrl = "sso_add_login_url"
- EventTypeSsoAddLogoutUrl = "sso_add_logout_url"
- EventTypeSsoChangeCert = "sso_change_cert"
- EventTypeSsoChangeLoginUrl = "sso_change_login_url"
- EventTypeSsoChangeLogoutUrl = "sso_change_logout_url"
- EventTypeSsoChangeSamlIdentityMode = "sso_change_saml_identity_mode"
- EventTypeSsoRemoveCert = "sso_remove_cert"
- EventTypeSsoRemoveLoginUrl = "sso_remove_login_url"
- EventTypeSsoRemoveLogoutUrl = "sso_remove_logout_url"
- EventTypeTeamFolderChangeStatus = "team_folder_change_status"
- EventTypeTeamFolderCreate = "team_folder_create"
- EventTypeTeamFolderDowngrade = "team_folder_downgrade"
- EventTypeTeamFolderPermanentlyDelete = "team_folder_permanently_delete"
- EventTypeTeamFolderRename = "team_folder_rename"
- EventTypeAccountCaptureChangePolicy = "account_capture_change_policy"
- EventTypeAllowDownloadDisabled = "allow_download_disabled"
- EventTypeAllowDownloadEnabled = "allow_download_enabled"
- EventTypeDataPlacementRestrictionChangePolicy = "data_placement_restriction_change_policy"
- EventTypeDataPlacementRestrictionSatisfyPolicy = "data_placement_restriction_satisfy_policy"
- EventTypeDeviceApprovalsChangeDesktopPolicy = "device_approvals_change_desktop_policy"
- EventTypeDeviceApprovalsChangeMobilePolicy = "device_approvals_change_mobile_policy"
- EventTypeDeviceApprovalsChangeOverageAction = "device_approvals_change_overage_action"
- EventTypeDeviceApprovalsChangeUnlinkAction = "device_approvals_change_unlink_action"
- EventTypeEmmAddException = "emm_add_exception"
- EventTypeEmmChangePolicy = "emm_change_policy"
- EventTypeEmmRemoveException = "emm_remove_exception"
- EventTypeExtendedVersionHistoryChangePolicy = "extended_version_history_change_policy"
- EventTypeFileCommentsChangePolicy = "file_comments_change_policy"
- EventTypeFileRequestsChangePolicy = "file_requests_change_policy"
- EventTypeFileRequestsEmailsEnabled = "file_requests_emails_enabled"
- EventTypeFileRequestsEmailsRestrictedToTeamOnly = "file_requests_emails_restricted_to_team_only"
- EventTypeGoogleSsoChangePolicy = "google_sso_change_policy"
- EventTypeGroupUserManagementChangePolicy = "group_user_management_change_policy"
- EventTypeMemberRequestsChangePolicy = "member_requests_change_policy"
- EventTypeMemberSpaceLimitsAddException = "member_space_limits_add_exception"
- EventTypeMemberSpaceLimitsChangePolicy = "member_space_limits_change_policy"
- EventTypeMemberSpaceLimitsRemoveException = "member_space_limits_remove_exception"
- EventTypeMemberSuggestionsChangePolicy = "member_suggestions_change_policy"
- EventTypeMicrosoftOfficeAddinChangePolicy = "microsoft_office_addin_change_policy"
- EventTypeNetworkControlChangePolicy = "network_control_change_policy"
- EventTypePaperChangeDeploymentPolicy = "paper_change_deployment_policy"
- EventTypePaperChangeMemberLinkPolicy = "paper_change_member_link_policy"
- EventTypePaperChangeMemberPolicy = "paper_change_member_policy"
- EventTypePaperChangePolicy = "paper_change_policy"
- EventTypePermanentDeleteChangePolicy = "permanent_delete_change_policy"
- EventTypeSharingChangeFolderJoinPolicy = "sharing_change_folder_join_policy"
- EventTypeSharingChangeLinkPolicy = "sharing_change_link_policy"
- EventTypeSharingChangeMemberPolicy = "sharing_change_member_policy"
- EventTypeSmartSyncChangePolicy = "smart_sync_change_policy"
- EventTypeSmartSyncNotOptOut = "smart_sync_not_opt_out"
- EventTypeSmartSyncOptOut = "smart_sync_opt_out"
- EventTypeSsoChangePolicy = "sso_change_policy"
- EventTypeTfaChangePolicy = "tfa_change_policy"
- EventTypeTwoAccountChangePolicy = "two_account_change_policy"
- EventTypeWebSessionsChangeFixedLengthPolicy = "web_sessions_change_fixed_length_policy"
- EventTypeWebSessionsChangeIdleLengthPolicy = "web_sessions_change_idle_length_policy"
- EventTypeTeamProfileAddLogo = "team_profile_add_logo"
- EventTypeTeamProfileChangeDefaultLanguage = "team_profile_change_default_language"
- EventTypeTeamProfileChangeLogo = "team_profile_change_logo"
- EventTypeTeamProfileChangeName = "team_profile_change_name"
- EventTypeTeamProfileRemoveLogo = "team_profile_remove_logo"
- EventTypeTfaAddBackupPhone = "tfa_add_backup_phone"
- EventTypeTfaAddSecurityKey = "tfa_add_security_key"
- EventTypeTfaChangeBackupPhone = "tfa_change_backup_phone"
- EventTypeTfaChangeStatus = "tfa_change_status"
- EventTypeTfaRemoveBackupPhone = "tfa_remove_backup_phone"
- EventTypeTfaRemoveSecurityKey = "tfa_remove_security_key"
- EventTypeTfaReset = "tfa_reset"
- EventTypeOther = "other"
+ EventTypeAppLinkTeam = "app_link_team"
+ EventTypeAppLinkUser = "app_link_user"
+ EventTypeAppUnlinkTeam = "app_unlink_team"
+ EventTypeAppUnlinkUser = "app_unlink_user"
+ EventTypeFileAddComment = "file_add_comment"
+ EventTypeFileChangeCommentSubscription = "file_change_comment_subscription"
+ EventTypeFileDeleteComment = "file_delete_comment"
+ EventTypeFileLikeComment = "file_like_comment"
+ EventTypeFileResolveComment = "file_resolve_comment"
+ EventTypeFileUnlikeComment = "file_unlike_comment"
+ EventTypeFileUnresolveComment = "file_unresolve_comment"
+ EventTypeDeviceChangeIpDesktop = "device_change_ip_desktop"
+ EventTypeDeviceChangeIpMobile = "device_change_ip_mobile"
+ EventTypeDeviceChangeIpWeb = "device_change_ip_web"
+ EventTypeDeviceDeleteOnUnlinkFail = "device_delete_on_unlink_fail"
+ EventTypeDeviceDeleteOnUnlinkSuccess = "device_delete_on_unlink_success"
+ EventTypeDeviceLinkFail = "device_link_fail"
+ EventTypeDeviceLinkSuccess = "device_link_success"
+ EventTypeDeviceManagementDisabled = "device_management_disabled"
+ EventTypeDeviceManagementEnabled = "device_management_enabled"
+ EventTypeDeviceUnlink = "device_unlink"
+ EventTypeEmmRefreshAuthToken = "emm_refresh_auth_token"
+ EventTypeAccountCaptureChangeAvailability = "account_capture_change_availability"
+ EventTypeAccountCaptureMigrateAccount = "account_capture_migrate_account"
+ EventTypeAccountCaptureNotificationEmailsSent = "account_capture_notification_emails_sent"
+ EventTypeAccountCaptureRelinquishAccount = "account_capture_relinquish_account"
+ EventTypeDisabledDomainInvites = "disabled_domain_invites"
+ EventTypeDomainInvitesApproveRequestToJoinTeam = "domain_invites_approve_request_to_join_team"
+ EventTypeDomainInvitesDeclineRequestToJoinTeam = "domain_invites_decline_request_to_join_team"
+ EventTypeDomainInvitesEmailExistingUsers = "domain_invites_email_existing_users"
+ EventTypeDomainInvitesRequestToJoinTeam = "domain_invites_request_to_join_team"
+ EventTypeDomainInvitesSetInviteNewUserPrefToNo = "domain_invites_set_invite_new_user_pref_to_no"
+ EventTypeDomainInvitesSetInviteNewUserPrefToYes = "domain_invites_set_invite_new_user_pref_to_yes"
+ EventTypeDomainVerificationAddDomainFail = "domain_verification_add_domain_fail"
+ EventTypeDomainVerificationAddDomainSuccess = "domain_verification_add_domain_success"
+ EventTypeDomainVerificationRemoveDomain = "domain_verification_remove_domain"
+ EventTypeEnabledDomainInvites = "enabled_domain_invites"
+ EventTypeCreateFolder = "create_folder"
+ EventTypeFileAdd = "file_add"
+ EventTypeFileCopy = "file_copy"
+ EventTypeFileDelete = "file_delete"
+ EventTypeFileDownload = "file_download"
+ EventTypeFileEdit = "file_edit"
+ EventTypeFileGetCopyReference = "file_get_copy_reference"
+ EventTypeFileMove = "file_move"
+ EventTypeFilePermanentlyDelete = "file_permanently_delete"
+ EventTypeFilePreview = "file_preview"
+ EventTypeFileRename = "file_rename"
+ EventTypeFileRestore = "file_restore"
+ EventTypeFileRevert = "file_revert"
+ EventTypeFileRollbackChanges = "file_rollback_changes"
+ EventTypeFileSaveCopyReference = "file_save_copy_reference"
+ EventTypeFileRequestChange = "file_request_change"
+ EventTypeFileRequestClose = "file_request_close"
+ EventTypeFileRequestCreate = "file_request_create"
+ EventTypeFileRequestReceiveFile = "file_request_receive_file"
+ EventTypeGroupAddExternalId = "group_add_external_id"
+ EventTypeGroupAddMember = "group_add_member"
+ EventTypeGroupChangeExternalId = "group_change_external_id"
+ EventTypeGroupChangeManagementType = "group_change_management_type"
+ EventTypeGroupChangeMemberRole = "group_change_member_role"
+ EventTypeGroupCreate = "group_create"
+ EventTypeGroupDelete = "group_delete"
+ EventTypeGroupDescriptionUpdated = "group_description_updated"
+ EventTypeGroupJoinPolicyUpdated = "group_join_policy_updated"
+ EventTypeGroupMoved = "group_moved"
+ EventTypeGroupRemoveExternalId = "group_remove_external_id"
+ EventTypeGroupRemoveMember = "group_remove_member"
+ EventTypeGroupRename = "group_rename"
+ EventTypeEmmError = "emm_error"
+ EventTypeLoginFail = "login_fail"
+ EventTypeLoginSuccess = "login_success"
+ EventTypeLogout = "logout"
+ EventTypeResellerSupportSessionEnd = "reseller_support_session_end"
+ EventTypeResellerSupportSessionStart = "reseller_support_session_start"
+ EventTypeSignInAsSessionEnd = "sign_in_as_session_end"
+ EventTypeSignInAsSessionStart = "sign_in_as_session_start"
+ EventTypeSsoError = "sso_error"
+ EventTypeMemberAddName = "member_add_name"
+ EventTypeMemberChangeAdminRole = "member_change_admin_role"
+ EventTypeMemberChangeEmail = "member_change_email"
+ EventTypeMemberChangeMembershipType = "member_change_membership_type"
+ EventTypeMemberChangeName = "member_change_name"
+ EventTypeMemberChangeStatus = "member_change_status"
+ EventTypeMemberPermanentlyDeleteAccountContents = "member_permanently_delete_account_contents"
+ EventTypeMemberSpaceLimitsAddCustomQuota = "member_space_limits_add_custom_quota"
+ EventTypeMemberSpaceLimitsChangeCustomQuota = "member_space_limits_change_custom_quota"
+ EventTypeMemberSpaceLimitsChangeStatus = "member_space_limits_change_status"
+ EventTypeMemberSpaceLimitsRemoveCustomQuota = "member_space_limits_remove_custom_quota"
+ EventTypeMemberSuggest = "member_suggest"
+ EventTypeMemberTransferAccountContents = "member_transfer_account_contents"
+ EventTypeSecondaryMailsPolicyChanged = "secondary_mails_policy_changed"
+ EventTypePaperContentAddMember = "paper_content_add_member"
+ EventTypePaperContentAddToFolder = "paper_content_add_to_folder"
+ EventTypePaperContentArchive = "paper_content_archive"
+ EventTypePaperContentCreate = "paper_content_create"
+ EventTypePaperContentPermanentlyDelete = "paper_content_permanently_delete"
+ EventTypePaperContentRemoveFromFolder = "paper_content_remove_from_folder"
+ EventTypePaperContentRemoveMember = "paper_content_remove_member"
+ EventTypePaperContentRename = "paper_content_rename"
+ EventTypePaperContentRestore = "paper_content_restore"
+ EventTypePaperDocAddComment = "paper_doc_add_comment"
+ EventTypePaperDocChangeMemberRole = "paper_doc_change_member_role"
+ EventTypePaperDocChangeSharingPolicy = "paper_doc_change_sharing_policy"
+ EventTypePaperDocChangeSubscription = "paper_doc_change_subscription"
+ EventTypePaperDocDeleted = "paper_doc_deleted"
+ EventTypePaperDocDeleteComment = "paper_doc_delete_comment"
+ EventTypePaperDocDownload = "paper_doc_download"
+ EventTypePaperDocEdit = "paper_doc_edit"
+ EventTypePaperDocEditComment = "paper_doc_edit_comment"
+ EventTypePaperDocFollowed = "paper_doc_followed"
+ EventTypePaperDocMention = "paper_doc_mention"
+ EventTypePaperDocRequestAccess = "paper_doc_request_access"
+ EventTypePaperDocResolveComment = "paper_doc_resolve_comment"
+ EventTypePaperDocRevert = "paper_doc_revert"
+ EventTypePaperDocSlackShare = "paper_doc_slack_share"
+ EventTypePaperDocTeamInvite = "paper_doc_team_invite"
+ EventTypePaperDocTrashed = "paper_doc_trashed"
+ EventTypePaperDocUnresolveComment = "paper_doc_unresolve_comment"
+ EventTypePaperDocUntrashed = "paper_doc_untrashed"
+ EventTypePaperDocView = "paper_doc_view"
+ EventTypePaperExternalViewAllow = "paper_external_view_allow"
+ EventTypePaperExternalViewDefaultTeam = "paper_external_view_default_team"
+ EventTypePaperExternalViewForbid = "paper_external_view_forbid"
+ EventTypePaperFolderChangeSubscription = "paper_folder_change_subscription"
+ EventTypePaperFolderDeleted = "paper_folder_deleted"
+ EventTypePaperFolderFollowed = "paper_folder_followed"
+ EventTypePaperFolderTeamInvite = "paper_folder_team_invite"
+ EventTypePasswordChange = "password_change"
+ EventTypePasswordReset = "password_reset"
+ EventTypePasswordResetAll = "password_reset_all"
+ EventTypeEmmCreateExceptionsReport = "emm_create_exceptions_report"
+ EventTypeEmmCreateUsageReport = "emm_create_usage_report"
+ EventTypeExportMembersReport = "export_members_report"
+ EventTypePaperAdminExportStart = "paper_admin_export_start"
+ EventTypeSmartSyncCreateAdminPrivilegeReport = "smart_sync_create_admin_privilege_report"
+ EventTypeTeamActivityCreateReport = "team_activity_create_report"
+ EventTypeCollectionShare = "collection_share"
+ EventTypeNoteAclInviteOnly = "note_acl_invite_only"
+ EventTypeNoteAclLink = "note_acl_link"
+ EventTypeNoteAclTeamLink = "note_acl_team_link"
+ EventTypeNoteShared = "note_shared"
+ EventTypeNoteShareReceive = "note_share_receive"
+ EventTypeOpenNoteShared = "open_note_shared"
+ EventTypeSfAddGroup = "sf_add_group"
+ EventTypeSfAllowNonMembersToViewSharedLinks = "sf_allow_non_members_to_view_shared_links"
+ EventTypeSfExternalInviteWarn = "sf_external_invite_warn"
+ EventTypeSfFbInvite = "sf_fb_invite"
+ EventTypeSfFbInviteChangeRole = "sf_fb_invite_change_role"
+ EventTypeSfFbUninvite = "sf_fb_uninvite"
+ EventTypeSfInviteGroup = "sf_invite_group"
+ EventTypeSfTeamGrantAccess = "sf_team_grant_access"
+ EventTypeSfTeamInvite = "sf_team_invite"
+ EventTypeSfTeamInviteChangeRole = "sf_team_invite_change_role"
+ EventTypeSfTeamJoin = "sf_team_join"
+ EventTypeSfTeamJoinFromOobLink = "sf_team_join_from_oob_link"
+ EventTypeSfTeamUninvite = "sf_team_uninvite"
+ EventTypeSharedContentAddInvitees = "shared_content_add_invitees"
+ EventTypeSharedContentAddLinkExpiry = "shared_content_add_link_expiry"
+ EventTypeSharedContentAddLinkPassword = "shared_content_add_link_password"
+ EventTypeSharedContentAddMember = "shared_content_add_member"
+ EventTypeSharedContentChangeDownloadsPolicy = "shared_content_change_downloads_policy"
+ EventTypeSharedContentChangeInviteeRole = "shared_content_change_invitee_role"
+ EventTypeSharedContentChangeLinkAudience = "shared_content_change_link_audience"
+ EventTypeSharedContentChangeLinkExpiry = "shared_content_change_link_expiry"
+ EventTypeSharedContentChangeLinkPassword = "shared_content_change_link_password"
+ EventTypeSharedContentChangeMemberRole = "shared_content_change_member_role"
+ EventTypeSharedContentChangeViewerInfoPolicy = "shared_content_change_viewer_info_policy"
+ EventTypeSharedContentClaimInvitation = "shared_content_claim_invitation"
+ EventTypeSharedContentCopy = "shared_content_copy"
+ EventTypeSharedContentDownload = "shared_content_download"
+ EventTypeSharedContentRelinquishMembership = "shared_content_relinquish_membership"
+ EventTypeSharedContentRemoveInvitees = "shared_content_remove_invitees"
+ EventTypeSharedContentRemoveLinkExpiry = "shared_content_remove_link_expiry"
+ EventTypeSharedContentRemoveLinkPassword = "shared_content_remove_link_password"
+ EventTypeSharedContentRemoveMember = "shared_content_remove_member"
+ EventTypeSharedContentRequestAccess = "shared_content_request_access"
+ EventTypeSharedContentUnshare = "shared_content_unshare"
+ EventTypeSharedContentView = "shared_content_view"
+ EventTypeSharedFolderChangeLinkPolicy = "shared_folder_change_link_policy"
+ EventTypeSharedFolderChangeMembersInheritancePolicy = "shared_folder_change_members_inheritance_policy"
+ EventTypeSharedFolderChangeMembersManagementPolicy = "shared_folder_change_members_management_policy"
+ EventTypeSharedFolderChangeMembersPolicy = "shared_folder_change_members_policy"
+ EventTypeSharedFolderCreate = "shared_folder_create"
+ EventTypeSharedFolderDeclineInvitation = "shared_folder_decline_invitation"
+ EventTypeSharedFolderMount = "shared_folder_mount"
+ EventTypeSharedFolderNest = "shared_folder_nest"
+ EventTypeSharedFolderTransferOwnership = "shared_folder_transfer_ownership"
+ EventTypeSharedFolderUnmount = "shared_folder_unmount"
+ EventTypeSharedLinkAddExpiry = "shared_link_add_expiry"
+ EventTypeSharedLinkChangeExpiry = "shared_link_change_expiry"
+ EventTypeSharedLinkChangeVisibility = "shared_link_change_visibility"
+ EventTypeSharedLinkCopy = "shared_link_copy"
+ EventTypeSharedLinkCreate = "shared_link_create"
+ EventTypeSharedLinkDisable = "shared_link_disable"
+ EventTypeSharedLinkDownload = "shared_link_download"
+ EventTypeSharedLinkRemoveExpiry = "shared_link_remove_expiry"
+ EventTypeSharedLinkShare = "shared_link_share"
+ EventTypeSharedLinkView = "shared_link_view"
+ EventTypeSharedNoteOpened = "shared_note_opened"
+ EventTypeShmodelGroupShare = "shmodel_group_share"
+ EventTypeShowcaseAccessGranted = "showcase_access_granted"
+ EventTypeShowcaseAddMember = "showcase_add_member"
+ EventTypeShowcaseArchived = "showcase_archived"
+ EventTypeShowcaseCreated = "showcase_created"
+ EventTypeShowcaseDeleteComment = "showcase_delete_comment"
+ EventTypeShowcaseEdited = "showcase_edited"
+ EventTypeShowcaseEditComment = "showcase_edit_comment"
+ EventTypeShowcaseFileAdded = "showcase_file_added"
+ EventTypeShowcaseFileDownload = "showcase_file_download"
+ EventTypeShowcaseFileRemoved = "showcase_file_removed"
+ EventTypeShowcaseFileView = "showcase_file_view"
+ EventTypeShowcasePermanentlyDeleted = "showcase_permanently_deleted"
+ EventTypeShowcasePostComment = "showcase_post_comment"
+ EventTypeShowcaseRemoveMember = "showcase_remove_member"
+ EventTypeShowcaseRenamed = "showcase_renamed"
+ EventTypeShowcaseRequestAccess = "showcase_request_access"
+ EventTypeShowcaseResolveComment = "showcase_resolve_comment"
+ EventTypeShowcaseRestored = "showcase_restored"
+ EventTypeShowcaseTrashed = "showcase_trashed"
+ EventTypeShowcaseTrashedDeprecated = "showcase_trashed_deprecated"
+ EventTypeShowcaseUnresolveComment = "showcase_unresolve_comment"
+ EventTypeShowcaseUntrashed = "showcase_untrashed"
+ EventTypeShowcaseUntrashedDeprecated = "showcase_untrashed_deprecated"
+ EventTypeShowcaseView = "showcase_view"
+ EventTypeSsoAddCert = "sso_add_cert"
+ EventTypeSsoAddLoginUrl = "sso_add_login_url"
+ EventTypeSsoAddLogoutUrl = "sso_add_logout_url"
+ EventTypeSsoChangeCert = "sso_change_cert"
+ EventTypeSsoChangeLoginUrl = "sso_change_login_url"
+ EventTypeSsoChangeLogoutUrl = "sso_change_logout_url"
+ EventTypeSsoChangeSamlIdentityMode = "sso_change_saml_identity_mode"
+ EventTypeSsoRemoveCert = "sso_remove_cert"
+ EventTypeSsoRemoveLoginUrl = "sso_remove_login_url"
+ EventTypeSsoRemoveLogoutUrl = "sso_remove_logout_url"
+ EventTypeTeamFolderChangeStatus = "team_folder_change_status"
+ EventTypeTeamFolderCreate = "team_folder_create"
+ EventTypeTeamFolderDowngrade = "team_folder_downgrade"
+ EventTypeTeamFolderPermanentlyDelete = "team_folder_permanently_delete"
+ EventTypeTeamFolderRename = "team_folder_rename"
+ EventTypeTeamSelectiveSyncSettingsChanged = "team_selective_sync_settings_changed"
+ EventTypeAccountCaptureChangePolicy = "account_capture_change_policy"
+ EventTypeAllowDownloadDisabled = "allow_download_disabled"
+ EventTypeAllowDownloadEnabled = "allow_download_enabled"
+ EventTypeDataPlacementRestrictionChangePolicy = "data_placement_restriction_change_policy"
+ EventTypeDataPlacementRestrictionSatisfyPolicy = "data_placement_restriction_satisfy_policy"
+ EventTypeDeviceApprovalsChangeDesktopPolicy = "device_approvals_change_desktop_policy"
+ EventTypeDeviceApprovalsChangeMobilePolicy = "device_approvals_change_mobile_policy"
+ EventTypeDeviceApprovalsChangeOverageAction = "device_approvals_change_overage_action"
+ EventTypeDeviceApprovalsChangeUnlinkAction = "device_approvals_change_unlink_action"
+ EventTypeDirectoryRestrictionsAddMembers = "directory_restrictions_add_members"
+ EventTypeDirectoryRestrictionsRemoveMembers = "directory_restrictions_remove_members"
+ EventTypeEmmAddException = "emm_add_exception"
+ EventTypeEmmChangePolicy = "emm_change_policy"
+ EventTypeEmmRemoveException = "emm_remove_exception"
+ EventTypeExtendedVersionHistoryChangePolicy = "extended_version_history_change_policy"
+ EventTypeFileCommentsChangePolicy = "file_comments_change_policy"
+ EventTypeFileRequestsChangePolicy = "file_requests_change_policy"
+ EventTypeFileRequestsEmailsEnabled = "file_requests_emails_enabled"
+ EventTypeFileRequestsEmailsRestrictedToTeamOnly = "file_requests_emails_restricted_to_team_only"
+ EventTypeGoogleSsoChangePolicy = "google_sso_change_policy"
+ EventTypeGroupUserManagementChangePolicy = "group_user_management_change_policy"
+ EventTypeMemberRequestsChangePolicy = "member_requests_change_policy"
+ EventTypeMemberSpaceLimitsAddException = "member_space_limits_add_exception"
+ EventTypeMemberSpaceLimitsChangeCapsTypePolicy = "member_space_limits_change_caps_type_policy"
+ EventTypeMemberSpaceLimitsChangePolicy = "member_space_limits_change_policy"
+ EventTypeMemberSpaceLimitsRemoveException = "member_space_limits_remove_exception"
+ EventTypeMemberSuggestionsChangePolicy = "member_suggestions_change_policy"
+ EventTypeMicrosoftOfficeAddinChangePolicy = "microsoft_office_addin_change_policy"
+ EventTypeNetworkControlChangePolicy = "network_control_change_policy"
+ EventTypePaperChangeDeploymentPolicy = "paper_change_deployment_policy"
+ EventTypePaperChangeMemberLinkPolicy = "paper_change_member_link_policy"
+ EventTypePaperChangeMemberPolicy = "paper_change_member_policy"
+ EventTypePaperChangePolicy = "paper_change_policy"
+ EventTypePaperEnabledUsersGroupAddition = "paper_enabled_users_group_addition"
+ EventTypePaperEnabledUsersGroupRemoval = "paper_enabled_users_group_removal"
+ EventTypePermanentDeleteChangePolicy = "permanent_delete_change_policy"
+ EventTypeSharingChangeFolderJoinPolicy = "sharing_change_folder_join_policy"
+ EventTypeSharingChangeLinkPolicy = "sharing_change_link_policy"
+ EventTypeSharingChangeMemberPolicy = "sharing_change_member_policy"
+ EventTypeShowcaseChangeDownloadPolicy = "showcase_change_download_policy"
+ EventTypeShowcaseChangeEnabledPolicy = "showcase_change_enabled_policy"
+ EventTypeShowcaseChangeExternalSharingPolicy = "showcase_change_external_sharing_policy"
+ EventTypeSmartSyncChangePolicy = "smart_sync_change_policy"
+ EventTypeSmartSyncNotOptOut = "smart_sync_not_opt_out"
+ EventTypeSmartSyncOptOut = "smart_sync_opt_out"
+ EventTypeSsoChangePolicy = "sso_change_policy"
+ EventTypeTfaChangePolicy = "tfa_change_policy"
+ EventTypeTwoAccountChangePolicy = "two_account_change_policy"
+ EventTypeWebSessionsChangeFixedLengthPolicy = "web_sessions_change_fixed_length_policy"
+ EventTypeWebSessionsChangeIdleLengthPolicy = "web_sessions_change_idle_length_policy"
+ EventTypeTeamMergeFrom = "team_merge_from"
+ EventTypeTeamMergeTo = "team_merge_to"
+ EventTypeTeamProfileAddLogo = "team_profile_add_logo"
+ EventTypeTeamProfileChangeDefaultLanguage = "team_profile_change_default_language"
+ EventTypeTeamProfileChangeLogo = "team_profile_change_logo"
+ EventTypeTeamProfileChangeName = "team_profile_change_name"
+ EventTypeTeamProfileRemoveLogo = "team_profile_remove_logo"
+ EventTypeTfaAddBackupPhone = "tfa_add_backup_phone"
+ EventTypeTfaAddSecurityKey = "tfa_add_security_key"
+ EventTypeTfaChangeBackupPhone = "tfa_change_backup_phone"
+ EventTypeTfaChangeStatus = "tfa_change_status"
+ EventTypeTfaRemoveBackupPhone = "tfa_remove_backup_phone"
+ EventTypeTfaRemoveSecurityKey = "tfa_remove_security_key"
+ EventTypeTfaReset = "tfa_reset"
+ EventTypeOther = "other"
)
-// ExtendedVersionHistoryChangePolicyDetails : Accepted or opted out of extended
-// version history.
-type ExtendedVersionHistoryChangePolicyDetails struct {
- // NewValue : New extended version history policy.
- NewValue *ExtendedVersionHistoryPolicy `json:"new_value"`
- // PreviousValue : Previous extended version history policy. Might be
- // missing due to historical data gap.
- PreviousValue *ExtendedVersionHistoryPolicy `json:"previous_value,omitempty"`
-}
-
-// NewExtendedVersionHistoryChangePolicyDetails returns a new ExtendedVersionHistoryChangePolicyDetails instance
-func NewExtendedVersionHistoryChangePolicyDetails(NewValue *ExtendedVersionHistoryPolicy) *ExtendedVersionHistoryChangePolicyDetails {
- s := new(ExtendedVersionHistoryChangePolicyDetails)
- s.NewValue = NewValue
- return s
-}
+// UnmarshalJSON deserializes into a EventType instance
+func (u *EventType) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // AppLinkTeam : (apps) Linked app for team
+ AppLinkTeam json.RawMessage `json:"app_link_team,omitempty"`
+ // AppLinkUser : (apps) Linked app for member
+ AppLinkUser json.RawMessage `json:"app_link_user,omitempty"`
+ // AppUnlinkTeam : (apps) Unlinked app for team
+ AppUnlinkTeam json.RawMessage `json:"app_unlink_team,omitempty"`
+ // AppUnlinkUser : (apps) Unlinked app for member
+ AppUnlinkUser json.RawMessage `json:"app_unlink_user,omitempty"`
+ // FileAddComment : (comments) Added file comment
+ FileAddComment json.RawMessage `json:"file_add_comment,omitempty"`
+ // FileChangeCommentSubscription : (comments) Subscribed to or
+ // unsubscribed from comment notifications for file
+ FileChangeCommentSubscription json.RawMessage `json:"file_change_comment_subscription,omitempty"`
+ // FileDeleteComment : (comments) Deleted file comment
+ FileDeleteComment json.RawMessage `json:"file_delete_comment,omitempty"`
+ // FileLikeComment : (comments) Liked file comment (deprecated, no
+ // longer logged)
+ FileLikeComment json.RawMessage `json:"file_like_comment,omitempty"`
+ // FileResolveComment : (comments) Resolved file comment
+ FileResolveComment json.RawMessage `json:"file_resolve_comment,omitempty"`
+ // FileUnlikeComment : (comments) Unliked file comment (deprecated, no
+ // longer logged)
+ FileUnlikeComment json.RawMessage `json:"file_unlike_comment,omitempty"`
+ // FileUnresolveComment : (comments) Unresolved file comment
+ FileUnresolveComment json.RawMessage `json:"file_unresolve_comment,omitempty"`
+ // DeviceChangeIpDesktop : (devices) Changed IP address associated with
+ // active desktop session
+ DeviceChangeIpDesktop json.RawMessage `json:"device_change_ip_desktop,omitempty"`
+ // DeviceChangeIpMobile : (devices) Changed IP address associated with
+ // active mobile session
+ DeviceChangeIpMobile json.RawMessage `json:"device_change_ip_mobile,omitempty"`
+ // DeviceChangeIpWeb : (devices) Changed IP address associated with
+ // active web session
+ DeviceChangeIpWeb json.RawMessage `json:"device_change_ip_web,omitempty"`
+ // DeviceDeleteOnUnlinkFail : (devices) Failed to delete all files from
+ // unlinked device
+ DeviceDeleteOnUnlinkFail json.RawMessage `json:"device_delete_on_unlink_fail,omitempty"`
+ // DeviceDeleteOnUnlinkSuccess : (devices) Deleted all files from
+ // unlinked device
+ DeviceDeleteOnUnlinkSuccess json.RawMessage `json:"device_delete_on_unlink_success,omitempty"`
+ // DeviceLinkFail : (devices) Failed to link device
+ DeviceLinkFail json.RawMessage `json:"device_link_fail,omitempty"`
+ // DeviceLinkSuccess : (devices) Linked device
+ DeviceLinkSuccess json.RawMessage `json:"device_link_success,omitempty"`
+ // DeviceManagementDisabled : (devices) Disabled device management
+ // (deprecated, no longer logged)
+ DeviceManagementDisabled json.RawMessage `json:"device_management_disabled,omitempty"`
+ // DeviceManagementEnabled : (devices) Enabled device management
+ // (deprecated, no longer logged)
+ DeviceManagementEnabled json.RawMessage `json:"device_management_enabled,omitempty"`
+ // DeviceUnlink : (devices) Disconnected device
+ DeviceUnlink json.RawMessage `json:"device_unlink,omitempty"`
+ // EmmRefreshAuthToken : (devices) Refreshed auth token used for setting
+ // up enterprise mobility management
+ EmmRefreshAuthToken json.RawMessage `json:"emm_refresh_auth_token,omitempty"`
+ // AccountCaptureChangeAvailability : (domains) Granted/revoked option
+ // to enable account capture on team domains
+ AccountCaptureChangeAvailability json.RawMessage `json:"account_capture_change_availability,omitempty"`
+ // AccountCaptureMigrateAccount : (domains) Account-captured user
+ // migrated account to team
+ AccountCaptureMigrateAccount json.RawMessage `json:"account_capture_migrate_account,omitempty"`
+ // AccountCaptureNotificationEmailsSent : (domains) Sent proactive
+ // account capture email to all unmanaged members
+ AccountCaptureNotificationEmailsSent json.RawMessage `json:"account_capture_notification_emails_sent,omitempty"`
+ // AccountCaptureRelinquishAccount : (domains) Account-captured user
+ // changed account email to personal email
+ AccountCaptureRelinquishAccount json.RawMessage `json:"account_capture_relinquish_account,omitempty"`
+ // DisabledDomainInvites : (domains) Disabled domain invites
+ // (deprecated, no longer logged)
+ DisabledDomainInvites json.RawMessage `json:"disabled_domain_invites,omitempty"`
+ // DomainInvitesApproveRequestToJoinTeam : (domains) Approved user's
+ // request to join team
+ DomainInvitesApproveRequestToJoinTeam json.RawMessage `json:"domain_invites_approve_request_to_join_team,omitempty"`
+ // DomainInvitesDeclineRequestToJoinTeam : (domains) Declined user's
+ // request to join team
+ DomainInvitesDeclineRequestToJoinTeam json.RawMessage `json:"domain_invites_decline_request_to_join_team,omitempty"`
+ // DomainInvitesEmailExistingUsers : (domains) Sent domain invites to
+ // existing domain accounts (deprecated, no longer logged)
+ DomainInvitesEmailExistingUsers json.RawMessage `json:"domain_invites_email_existing_users,omitempty"`
+ // DomainInvitesRequestToJoinTeam : (domains) Requested to join team
+ DomainInvitesRequestToJoinTeam json.RawMessage `json:"domain_invites_request_to_join_team,omitempty"`
+ // DomainInvitesSetInviteNewUserPrefToNo : (domains) Disabled
+ // "Automatically invite new users" (deprecated, no longer logged)
+ DomainInvitesSetInviteNewUserPrefToNo json.RawMessage `json:"domain_invites_set_invite_new_user_pref_to_no,omitempty"`
+ // DomainInvitesSetInviteNewUserPrefToYes : (domains) Enabled
+ // "Automatically invite new users" (deprecated, no longer logged)
+ DomainInvitesSetInviteNewUserPrefToYes json.RawMessage `json:"domain_invites_set_invite_new_user_pref_to_yes,omitempty"`
+ // DomainVerificationAddDomainFail : (domains) Failed to verify team
+ // domain
+ DomainVerificationAddDomainFail json.RawMessage `json:"domain_verification_add_domain_fail,omitempty"`
+ // DomainVerificationAddDomainSuccess : (domains) Verified team domain
+ DomainVerificationAddDomainSuccess json.RawMessage `json:"domain_verification_add_domain_success,omitempty"`
+ // DomainVerificationRemoveDomain : (domains) Removed domain from list
+ // of verified team domains
+ DomainVerificationRemoveDomain json.RawMessage `json:"domain_verification_remove_domain,omitempty"`
+ // EnabledDomainInvites : (domains) Enabled domain invites (deprecated,
+ // no longer logged)
+ EnabledDomainInvites json.RawMessage `json:"enabled_domain_invites,omitempty"`
+ // CreateFolder : (file_operations) Created folders (deprecated, no
+ // longer logged)
+ CreateFolder json.RawMessage `json:"create_folder,omitempty"`
+ // FileAdd : (file_operations) Added files and/or folders
+ FileAdd json.RawMessage `json:"file_add,omitempty"`
+ // FileCopy : (file_operations) Copied files and/or folders
+ FileCopy json.RawMessage `json:"file_copy,omitempty"`
+ // FileDelete : (file_operations) Deleted files and/or folders
+ FileDelete json.RawMessage `json:"file_delete,omitempty"`
+ // FileDownload : (file_operations) Downloaded files and/or folders
+ FileDownload json.RawMessage `json:"file_download,omitempty"`
+ // FileEdit : (file_operations) Edited files
+ FileEdit json.RawMessage `json:"file_edit,omitempty"`
+ // FileGetCopyReference : (file_operations) Created copy reference to
+ // file/folder
+ FileGetCopyReference json.RawMessage `json:"file_get_copy_reference,omitempty"`
+ // FileMove : (file_operations) Moved files and/or folders
+ FileMove json.RawMessage `json:"file_move,omitempty"`
+ // FilePermanentlyDelete : (file_operations) Permanently deleted files
+ // and/or folders
+ FilePermanentlyDelete json.RawMessage `json:"file_permanently_delete,omitempty"`
+ // FilePreview : (file_operations) Previewed files and/or folders
+ FilePreview json.RawMessage `json:"file_preview,omitempty"`
+ // FileRename : (file_operations) Renamed files and/or folders
+ FileRename json.RawMessage `json:"file_rename,omitempty"`
+ // FileRestore : (file_operations) Restored deleted files and/or folders
+ FileRestore json.RawMessage `json:"file_restore,omitempty"`
+ // FileRevert : (file_operations) Reverted files to previous version
+ FileRevert json.RawMessage `json:"file_revert,omitempty"`
+ // FileRollbackChanges : (file_operations) Rolled back file actions
+ FileRollbackChanges json.RawMessage `json:"file_rollback_changes,omitempty"`
+ // FileSaveCopyReference : (file_operations) Saved file/folder using
+ // copy reference
+ FileSaveCopyReference json.RawMessage `json:"file_save_copy_reference,omitempty"`
+ // FileRequestChange : (file_requests) Changed file request
+ FileRequestChange json.RawMessage `json:"file_request_change,omitempty"`
+ // FileRequestClose : (file_requests) Closed file request
+ FileRequestClose json.RawMessage `json:"file_request_close,omitempty"`
+ // FileRequestCreate : (file_requests) Created file request
+ FileRequestCreate json.RawMessage `json:"file_request_create,omitempty"`
+ // FileRequestReceiveFile : (file_requests) Received files for file
+ // request
+ FileRequestReceiveFile json.RawMessage `json:"file_request_receive_file,omitempty"`
+ // GroupAddExternalId : (groups) Added external ID for group
+ GroupAddExternalId json.RawMessage `json:"group_add_external_id,omitempty"`
+ // GroupAddMember : (groups) Added team members to group
+ GroupAddMember json.RawMessage `json:"group_add_member,omitempty"`
+ // GroupChangeExternalId : (groups) Changed external ID for group
+ GroupChangeExternalId json.RawMessage `json:"group_change_external_id,omitempty"`
+ // GroupChangeManagementType : (groups) Changed group management type
+ GroupChangeManagementType json.RawMessage `json:"group_change_management_type,omitempty"`
+ // GroupChangeMemberRole : (groups) Changed manager permissions of group
+ // member
+ GroupChangeMemberRole json.RawMessage `json:"group_change_member_role,omitempty"`
+ // GroupCreate : (groups) Created group
+ GroupCreate json.RawMessage `json:"group_create,omitempty"`
+ // GroupDelete : (groups) Deleted group
+ GroupDelete json.RawMessage `json:"group_delete,omitempty"`
+ // GroupDescriptionUpdated : (groups) Updated group (deprecated, no
+ // longer logged)
+ GroupDescriptionUpdated json.RawMessage `json:"group_description_updated,omitempty"`
+ // GroupJoinPolicyUpdated : (groups) Updated group join policy
+ // (deprecated, no longer logged)
+ GroupJoinPolicyUpdated json.RawMessage `json:"group_join_policy_updated,omitempty"`
+ // GroupMoved : (groups) Moved group (deprecated, no longer logged)
+ GroupMoved json.RawMessage `json:"group_moved,omitempty"`
+ // GroupRemoveExternalId : (groups) Removed external ID for group
+ GroupRemoveExternalId json.RawMessage `json:"group_remove_external_id,omitempty"`
+ // GroupRemoveMember : (groups) Removed team members from group
+ GroupRemoveMember json.RawMessage `json:"group_remove_member,omitempty"`
+ // GroupRename : (groups) Renamed group
+ GroupRename json.RawMessage `json:"group_rename,omitempty"`
+ // EmmError : (logins) Failed to sign in via EMM (deprecated, replaced
+ // by 'Failed to sign in')
+ EmmError json.RawMessage `json:"emm_error,omitempty"`
+ // LoginFail : (logins) Failed to sign in
+ LoginFail json.RawMessage `json:"login_fail,omitempty"`
+ // LoginSuccess : (logins) Signed in
+ LoginSuccess json.RawMessage `json:"login_success,omitempty"`
+ // Logout : (logins) Signed out
+ Logout json.RawMessage `json:"logout,omitempty"`
+ // ResellerSupportSessionEnd : (logins) Ended reseller support session
+ ResellerSupportSessionEnd json.RawMessage `json:"reseller_support_session_end,omitempty"`
+ // ResellerSupportSessionStart : (logins) Started reseller support
+ // session
+ ResellerSupportSessionStart json.RawMessage `json:"reseller_support_session_start,omitempty"`
+ // SignInAsSessionEnd : (logins) Ended admin sign-in-as session
+ SignInAsSessionEnd json.RawMessage `json:"sign_in_as_session_end,omitempty"`
+ // SignInAsSessionStart : (logins) Started admin sign-in-as session
+ SignInAsSessionStart json.RawMessage `json:"sign_in_as_session_start,omitempty"`
+ // SsoError : (logins) Failed to sign in via SSO (deprecated, replaced
+ // by 'Failed to sign in')
+ SsoError json.RawMessage `json:"sso_error,omitempty"`
+ // MemberAddName : (members) Added team member name
+ MemberAddName json.RawMessage `json:"member_add_name,omitempty"`
+ // MemberChangeAdminRole : (members) Changed team member admin role
+ MemberChangeAdminRole json.RawMessage `json:"member_change_admin_role,omitempty"`
+ // MemberChangeEmail : (members) Changed team member email
+ MemberChangeEmail json.RawMessage `json:"member_change_email,omitempty"`
+ // MemberChangeMembershipType : (members) Changed membership type
+ // (limited/full) of member (deprecated, no longer logged)
+ MemberChangeMembershipType json.RawMessage `json:"member_change_membership_type,omitempty"`
+ // MemberChangeName : (members) Changed team member name
+ MemberChangeName json.RawMessage `json:"member_change_name,omitempty"`
+ // MemberChangeStatus : (members) Changed member status (invited,
+ // joined, suspended, etc.)
+ MemberChangeStatus json.RawMessage `json:"member_change_status,omitempty"`
+ // MemberPermanentlyDeleteAccountContents : (members) Permanently
+ // deleted contents of deleted team member account
+ MemberPermanentlyDeleteAccountContents json.RawMessage `json:"member_permanently_delete_account_contents,omitempty"`
+ // MemberSpaceLimitsAddCustomQuota : (members) Set custom member space
+ // limit
+ MemberSpaceLimitsAddCustomQuota json.RawMessage `json:"member_space_limits_add_custom_quota,omitempty"`
+ // MemberSpaceLimitsChangeCustomQuota : (members) Changed custom member
+ // space limit
+ MemberSpaceLimitsChangeCustomQuota json.RawMessage `json:"member_space_limits_change_custom_quota,omitempty"`
+ // MemberSpaceLimitsChangeStatus : (members) Changed space limit status
+ MemberSpaceLimitsChangeStatus json.RawMessage `json:"member_space_limits_change_status,omitempty"`
+ // MemberSpaceLimitsRemoveCustomQuota : (members) Removed custom member
+ // space limit
+ MemberSpaceLimitsRemoveCustomQuota json.RawMessage `json:"member_space_limits_remove_custom_quota,omitempty"`
+ // MemberSuggest : (members) Suggested person to add to team
+ MemberSuggest json.RawMessage `json:"member_suggest,omitempty"`
+ // MemberTransferAccountContents : (members) Transferred contents of
+ // deleted member account to another member
+ MemberTransferAccountContents json.RawMessage `json:"member_transfer_account_contents,omitempty"`
+ // SecondaryMailsPolicyChanged : (members) Secondary mails policy
+ // changed
+ SecondaryMailsPolicyChanged json.RawMessage `json:"secondary_mails_policy_changed,omitempty"`
+ // PaperContentAddMember : (paper) Added team member to Paper doc/folder
+ PaperContentAddMember json.RawMessage `json:"paper_content_add_member,omitempty"`
+ // PaperContentAddToFolder : (paper) Added Paper doc/folder to folder
+ PaperContentAddToFolder json.RawMessage `json:"paper_content_add_to_folder,omitempty"`
+ // PaperContentArchive : (paper) Archived Paper doc/folder
+ PaperContentArchive json.RawMessage `json:"paper_content_archive,omitempty"`
+ // PaperContentCreate : (paper) Created Paper doc/folder
+ PaperContentCreate json.RawMessage `json:"paper_content_create,omitempty"`
+ // PaperContentPermanentlyDelete : (paper) Permanently deleted Paper
+ // doc/folder
+ PaperContentPermanentlyDelete json.RawMessage `json:"paper_content_permanently_delete,omitempty"`
+ // PaperContentRemoveFromFolder : (paper) Removed Paper doc/folder from
+ // folder
+ PaperContentRemoveFromFolder json.RawMessage `json:"paper_content_remove_from_folder,omitempty"`
+ // PaperContentRemoveMember : (paper) Removed team member from Paper
+ // doc/folder
+ PaperContentRemoveMember json.RawMessage `json:"paper_content_remove_member,omitempty"`
+ // PaperContentRename : (paper) Renamed Paper doc/folder
+ PaperContentRename json.RawMessage `json:"paper_content_rename,omitempty"`
+ // PaperContentRestore : (paper) Restored archived Paper doc/folder
+ PaperContentRestore json.RawMessage `json:"paper_content_restore,omitempty"`
+ // PaperDocAddComment : (paper) Added Paper doc comment
+ PaperDocAddComment json.RawMessage `json:"paper_doc_add_comment,omitempty"`
+ // PaperDocChangeMemberRole : (paper) Changed team member permissions
+ // for Paper doc
+ PaperDocChangeMemberRole json.RawMessage `json:"paper_doc_change_member_role,omitempty"`
+ // PaperDocChangeSharingPolicy : (paper) Changed sharing setting for
+ // Paper doc
+ PaperDocChangeSharingPolicy json.RawMessage `json:"paper_doc_change_sharing_policy,omitempty"`
+ // PaperDocChangeSubscription : (paper) Followed/unfollowed Paper doc
+ PaperDocChangeSubscription json.RawMessage `json:"paper_doc_change_subscription,omitempty"`
+ // PaperDocDeleted : (paper) Archived Paper doc (deprecated, no longer
+ // logged)
+ PaperDocDeleted json.RawMessage `json:"paper_doc_deleted,omitempty"`
+ // PaperDocDeleteComment : (paper) Deleted Paper doc comment
+ PaperDocDeleteComment json.RawMessage `json:"paper_doc_delete_comment,omitempty"`
+ // PaperDocDownload : (paper) Downloaded Paper doc in specific format
+ PaperDocDownload json.RawMessage `json:"paper_doc_download,omitempty"`
+ // PaperDocEdit : (paper) Edited Paper doc
+ PaperDocEdit json.RawMessage `json:"paper_doc_edit,omitempty"`
+ // PaperDocEditComment : (paper) Edited Paper doc comment
+ PaperDocEditComment json.RawMessage `json:"paper_doc_edit_comment,omitempty"`
+ // PaperDocFollowed : (paper) Followed Paper doc (deprecated, replaced
+ // by 'Followed/unfollowed Paper doc')
+ PaperDocFollowed json.RawMessage `json:"paper_doc_followed,omitempty"`
+ // PaperDocMention : (paper) Mentioned team member in Paper doc
+ PaperDocMention json.RawMessage `json:"paper_doc_mention,omitempty"`
+ // PaperDocRequestAccess : (paper) Requested access to Paper doc
+ PaperDocRequestAccess json.RawMessage `json:"paper_doc_request_access,omitempty"`
+ // PaperDocResolveComment : (paper) Resolved Paper doc comment
+ PaperDocResolveComment json.RawMessage `json:"paper_doc_resolve_comment,omitempty"`
+ // PaperDocRevert : (paper) Restored Paper doc to previous version
+ PaperDocRevert json.RawMessage `json:"paper_doc_revert,omitempty"`
+ // PaperDocSlackShare : (paper) Shared Paper doc via Slack
+ PaperDocSlackShare json.RawMessage `json:"paper_doc_slack_share,omitempty"`
+ // PaperDocTeamInvite : (paper) Shared Paper doc with team member
+ // (deprecated, no longer logged)
+ PaperDocTeamInvite json.RawMessage `json:"paper_doc_team_invite,omitempty"`
+ // PaperDocTrashed : (paper) Deleted Paper doc
+ PaperDocTrashed json.RawMessage `json:"paper_doc_trashed,omitempty"`
+ // PaperDocUnresolveComment : (paper) Unresolved Paper doc comment
+ PaperDocUnresolveComment json.RawMessage `json:"paper_doc_unresolve_comment,omitempty"`
+ // PaperDocUntrashed : (paper) Restored Paper doc
+ PaperDocUntrashed json.RawMessage `json:"paper_doc_untrashed,omitempty"`
+ // PaperDocView : (paper) Viewed Paper doc
+ PaperDocView json.RawMessage `json:"paper_doc_view,omitempty"`
+ // PaperExternalViewAllow : (paper) Changed Paper external sharing
+ // setting to anyone (deprecated, no longer logged)
+ PaperExternalViewAllow json.RawMessage `json:"paper_external_view_allow,omitempty"`
+ // PaperExternalViewDefaultTeam : (paper) Changed Paper external sharing
+ // setting to default team (deprecated, no longer logged)
+ PaperExternalViewDefaultTeam json.RawMessage `json:"paper_external_view_default_team,omitempty"`
+ // PaperExternalViewForbid : (paper) Changed Paper external sharing
+ // setting to team-only (deprecated, no longer logged)
+ PaperExternalViewForbid json.RawMessage `json:"paper_external_view_forbid,omitempty"`
+ // PaperFolderChangeSubscription : (paper) Followed/unfollowed Paper
+ // folder
+ PaperFolderChangeSubscription json.RawMessage `json:"paper_folder_change_subscription,omitempty"`
+ // PaperFolderDeleted : (paper) Archived Paper folder (deprecated, no
+ // longer logged)
+ PaperFolderDeleted json.RawMessage `json:"paper_folder_deleted,omitempty"`
+ // PaperFolderFollowed : (paper) Followed Paper folder (deprecated,
+ // replaced by 'Followed/unfollowed Paper folder')
+ PaperFolderFollowed json.RawMessage `json:"paper_folder_followed,omitempty"`
+ // PaperFolderTeamInvite : (paper) Shared Paper folder with member
+ // (deprecated, no longer logged)
+ PaperFolderTeamInvite json.RawMessage `json:"paper_folder_team_invite,omitempty"`
+ // PasswordChange : (passwords) Changed password
+ PasswordChange json.RawMessage `json:"password_change,omitempty"`
+ // PasswordReset : (passwords) Reset password
+ PasswordReset json.RawMessage `json:"password_reset,omitempty"`
+ // PasswordResetAll : (passwords) Reset all team member passwords
+ PasswordResetAll json.RawMessage `json:"password_reset_all,omitempty"`
+ // EmmCreateExceptionsReport : (reports) Created EMM-excluded users
+ // report
+ EmmCreateExceptionsReport json.RawMessage `json:"emm_create_exceptions_report,omitempty"`
+ // EmmCreateUsageReport : (reports) Created EMM mobile app usage report
+ EmmCreateUsageReport json.RawMessage `json:"emm_create_usage_report,omitempty"`
+ // ExportMembersReport : (reports) Created member data report
+ ExportMembersReport json.RawMessage `json:"export_members_report,omitempty"`
+ // PaperAdminExportStart : (reports) Exported all team Paper docs
+ PaperAdminExportStart json.RawMessage `json:"paper_admin_export_start,omitempty"`
+ // SmartSyncCreateAdminPrivilegeReport : (reports) Created Smart Sync
+ // non-admin devices report
+ SmartSyncCreateAdminPrivilegeReport json.RawMessage `json:"smart_sync_create_admin_privilege_report,omitempty"`
+ // TeamActivityCreateReport : (reports) Created team activity report
+ TeamActivityCreateReport json.RawMessage `json:"team_activity_create_report,omitempty"`
+ // CollectionShare : (sharing) Shared album
+ CollectionShare json.RawMessage `json:"collection_share,omitempty"`
+ // NoteAclInviteOnly : (sharing) Changed Paper doc to invite-only
+ // (deprecated, no longer logged)
+ NoteAclInviteOnly json.RawMessage `json:"note_acl_invite_only,omitempty"`
+ // NoteAclLink : (sharing) Changed Paper doc to link-accessible
+ // (deprecated, no longer logged)
+ NoteAclLink json.RawMessage `json:"note_acl_link,omitempty"`
+ // NoteAclTeamLink : (sharing) Changed Paper doc to link-accessible for
+ // team (deprecated, no longer logged)
+ NoteAclTeamLink json.RawMessage `json:"note_acl_team_link,omitempty"`
+ // NoteShared : (sharing) Shared Paper doc (deprecated, no longer
+ // logged)
+ NoteShared json.RawMessage `json:"note_shared,omitempty"`
+ // NoteShareReceive : (sharing) Shared received Paper doc (deprecated,
+ // no longer logged)
+ NoteShareReceive json.RawMessage `json:"note_share_receive,omitempty"`
+ // OpenNoteShared : (sharing) Opened shared Paper doc (deprecated, no
+ // longer logged)
+ OpenNoteShared json.RawMessage `json:"open_note_shared,omitempty"`
+ // SfAddGroup : (sharing) Added team to shared folder (deprecated, no
+ // longer logged)
+ SfAddGroup json.RawMessage `json:"sf_add_group,omitempty"`
+ // SfAllowNonMembersToViewSharedLinks : (sharing) Allowed
+ // non-collaborators to view links to files in shared folder
+ // (deprecated, no longer logged)
+ SfAllowNonMembersToViewSharedLinks json.RawMessage `json:"sf_allow_non_members_to_view_shared_links,omitempty"`
+ // SfExternalInviteWarn : (sharing) Set team members to see warning
+ // before sharing folders outside team (deprecated, no longer logged)
+ SfExternalInviteWarn json.RawMessage `json:"sf_external_invite_warn,omitempty"`
+ // SfFbInvite : (sharing) Invited Facebook users to shared folder
+ // (deprecated, no longer logged)
+ SfFbInvite json.RawMessage `json:"sf_fb_invite,omitempty"`
+ // SfFbInviteChangeRole : (sharing) Changed Facebook user's role in
+ // shared folder (deprecated, no longer logged)
+ SfFbInviteChangeRole json.RawMessage `json:"sf_fb_invite_change_role,omitempty"`
+ // SfFbUninvite : (sharing) Uninvited Facebook user from shared folder
+ // (deprecated, no longer logged)
+ SfFbUninvite json.RawMessage `json:"sf_fb_uninvite,omitempty"`
+ // SfInviteGroup : (sharing) Invited group to shared folder (deprecated,
+ // no longer logged)
+ SfInviteGroup json.RawMessage `json:"sf_invite_group,omitempty"`
+ // SfTeamGrantAccess : (sharing) Granted access to shared folder
+ // (deprecated, no longer logged)
+ SfTeamGrantAccess json.RawMessage `json:"sf_team_grant_access,omitempty"`
+ // SfTeamInvite : (sharing) Invited team members to shared folder
+ // (deprecated, replaced by 'Invited user to Dropbox and added them to
+ // shared file/folder')
+ SfTeamInvite json.RawMessage `json:"sf_team_invite,omitempty"`
+ // SfTeamInviteChangeRole : (sharing) Changed team member's role in
+ // shared folder (deprecated, no longer logged)
+ SfTeamInviteChangeRole json.RawMessage `json:"sf_team_invite_change_role,omitempty"`
+ // SfTeamJoin : (sharing) Joined team member's shared folder
+ // (deprecated, no longer logged)
+ SfTeamJoin json.RawMessage `json:"sf_team_join,omitempty"`
+ // SfTeamJoinFromOobLink : (sharing) Joined team member's shared folder
+ // from link (deprecated, no longer logged)
+ SfTeamJoinFromOobLink json.RawMessage `json:"sf_team_join_from_oob_link,omitempty"`
+ // SfTeamUninvite : (sharing) Unshared folder with team member
+ // (deprecated, replaced by 'Removed invitee from shared file/folder
+ // before invite was accepted')
+ SfTeamUninvite json.RawMessage `json:"sf_team_uninvite,omitempty"`
+ // SharedContentAddInvitees : (sharing) Invited user to Dropbox and
+ // added them to shared file/folder
+ SharedContentAddInvitees json.RawMessage `json:"shared_content_add_invitees,omitempty"`
+ // SharedContentAddLinkExpiry : (sharing) Added expiration date to link
+ // for shared file/folder
+ SharedContentAddLinkExpiry json.RawMessage `json:"shared_content_add_link_expiry,omitempty"`
+ // SharedContentAddLinkPassword : (sharing) Added password to link for
+ // shared file/folder
+ SharedContentAddLinkPassword json.RawMessage `json:"shared_content_add_link_password,omitempty"`
+ // SharedContentAddMember : (sharing) Added users and/or groups to
+ // shared file/folder
+ SharedContentAddMember json.RawMessage `json:"shared_content_add_member,omitempty"`
+ // SharedContentChangeDownloadsPolicy : (sharing) Changed whether
+ // members can download shared file/folder
+ SharedContentChangeDownloadsPolicy json.RawMessage `json:"shared_content_change_downloads_policy,omitempty"`
+ // SharedContentChangeInviteeRole : (sharing) Changed access type of
+ // invitee to shared file/folder before invite was accepted
+ SharedContentChangeInviteeRole json.RawMessage `json:"shared_content_change_invitee_role,omitempty"`
+ // SharedContentChangeLinkAudience : (sharing) Changed link audience of
+ // shared file/folder
+ SharedContentChangeLinkAudience json.RawMessage `json:"shared_content_change_link_audience,omitempty"`
+ // SharedContentChangeLinkExpiry : (sharing) Changed link expiration of
+ // shared file/folder
+ SharedContentChangeLinkExpiry json.RawMessage `json:"shared_content_change_link_expiry,omitempty"`
+ // SharedContentChangeLinkPassword : (sharing) Changed link password of
+ // shared file/folder
+ SharedContentChangeLinkPassword json.RawMessage `json:"shared_content_change_link_password,omitempty"`
+ // SharedContentChangeMemberRole : (sharing) Changed access type of
+ // shared file/folder member
+ SharedContentChangeMemberRole json.RawMessage `json:"shared_content_change_member_role,omitempty"`
+ // SharedContentChangeViewerInfoPolicy : (sharing) Changed whether
+ // members can see who viewed shared file/folder
+ SharedContentChangeViewerInfoPolicy json.RawMessage `json:"shared_content_change_viewer_info_policy,omitempty"`
+ // SharedContentClaimInvitation : (sharing) Acquired membership of
+ // shared file/folder by accepting invite
+ SharedContentClaimInvitation json.RawMessage `json:"shared_content_claim_invitation,omitempty"`
+ // SharedContentCopy : (sharing) Copied shared file/folder to own
+ // Dropbox
+ SharedContentCopy json.RawMessage `json:"shared_content_copy,omitempty"`
+ // SharedContentDownload : (sharing) Downloaded shared file/folder
+ SharedContentDownload json.RawMessage `json:"shared_content_download,omitempty"`
+ // SharedContentRelinquishMembership : (sharing) Left shared file/folder
+ SharedContentRelinquishMembership json.RawMessage `json:"shared_content_relinquish_membership,omitempty"`
+ // SharedContentRemoveInvitees : (sharing) Removed invitee from shared
+ // file/folder before invite was accepted
+ SharedContentRemoveInvitees json.RawMessage `json:"shared_content_remove_invitees,omitempty"`
+ // SharedContentRemoveLinkExpiry : (sharing) Removed link expiration
+ // date of shared file/folder
+ SharedContentRemoveLinkExpiry json.RawMessage `json:"shared_content_remove_link_expiry,omitempty"`
+ // SharedContentRemoveLinkPassword : (sharing) Removed link password of
+ // shared file/folder
+ SharedContentRemoveLinkPassword json.RawMessage `json:"shared_content_remove_link_password,omitempty"`
+ // SharedContentRemoveMember : (sharing) Removed user/group from shared
+ // file/folder
+ SharedContentRemoveMember json.RawMessage `json:"shared_content_remove_member,omitempty"`
+ // SharedContentRequestAccess : (sharing) Requested access to shared
+ // file/folder
+ SharedContentRequestAccess json.RawMessage `json:"shared_content_request_access,omitempty"`
+ // SharedContentUnshare : (sharing) Unshared file/folder by clearing
+ // membership and turning off link
+ SharedContentUnshare json.RawMessage `json:"shared_content_unshare,omitempty"`
+ // SharedContentView : (sharing) Previewed shared file/folder
+ SharedContentView json.RawMessage `json:"shared_content_view,omitempty"`
+ // SharedFolderChangeLinkPolicy : (sharing) Changed who can access
+ // shared folder via link
+ SharedFolderChangeLinkPolicy json.RawMessage `json:"shared_folder_change_link_policy,omitempty"`
+ // SharedFolderChangeMembersInheritancePolicy : (sharing) Changed
+ // whether shared folder inherits members from parent folder
+ SharedFolderChangeMembersInheritancePolicy json.RawMessage `json:"shared_folder_change_members_inheritance_policy,omitempty"`
+ // SharedFolderChangeMembersManagementPolicy : (sharing) Changed who can
+ // add/remove members of shared folder
+ SharedFolderChangeMembersManagementPolicy json.RawMessage `json:"shared_folder_change_members_management_policy,omitempty"`
+ // SharedFolderChangeMembersPolicy : (sharing) Changed who can become
+ // member of shared folder
+ SharedFolderChangeMembersPolicy json.RawMessage `json:"shared_folder_change_members_policy,omitempty"`
+ // SharedFolderCreate : (sharing) Created shared folder
+ SharedFolderCreate json.RawMessage `json:"shared_folder_create,omitempty"`
+ // SharedFolderDeclineInvitation : (sharing) Declined team member's
+ // invite to shared folder
+ SharedFolderDeclineInvitation json.RawMessage `json:"shared_folder_decline_invitation,omitempty"`
+ // SharedFolderMount : (sharing) Added shared folder to own Dropbox
+ SharedFolderMount json.RawMessage `json:"shared_folder_mount,omitempty"`
+ // SharedFolderNest : (sharing) Changed parent of shared folder
+ SharedFolderNest json.RawMessage `json:"shared_folder_nest,omitempty"`
+ // SharedFolderTransferOwnership : (sharing) Transferred ownership of
+ // shared folder to another member
+ SharedFolderTransferOwnership json.RawMessage `json:"shared_folder_transfer_ownership,omitempty"`
+ // SharedFolderUnmount : (sharing) Deleted shared folder from Dropbox
+ SharedFolderUnmount json.RawMessage `json:"shared_folder_unmount,omitempty"`
+ // SharedLinkAddExpiry : (sharing) Added shared link expiration date
+ SharedLinkAddExpiry json.RawMessage `json:"shared_link_add_expiry,omitempty"`
+ // SharedLinkChangeExpiry : (sharing) Changed shared link expiration
+ // date
+ SharedLinkChangeExpiry json.RawMessage `json:"shared_link_change_expiry,omitempty"`
+ // SharedLinkChangeVisibility : (sharing) Changed visibility of shared
+ // link
+ SharedLinkChangeVisibility json.RawMessage `json:"shared_link_change_visibility,omitempty"`
+ // SharedLinkCopy : (sharing) Added file/folder to Dropbox from shared
+ // link
+ SharedLinkCopy json.RawMessage `json:"shared_link_copy,omitempty"`
+ // SharedLinkCreate : (sharing) Created shared link
+ SharedLinkCreate json.RawMessage `json:"shared_link_create,omitempty"`
+ // SharedLinkDisable : (sharing) Removed shared link
+ SharedLinkDisable json.RawMessage `json:"shared_link_disable,omitempty"`
+ // SharedLinkDownload : (sharing) Downloaded file/folder from shared
+ // link
+ SharedLinkDownload json.RawMessage `json:"shared_link_download,omitempty"`
+ // SharedLinkRemoveExpiry : (sharing) Removed shared link expiration
+ // date
+ SharedLinkRemoveExpiry json.RawMessage `json:"shared_link_remove_expiry,omitempty"`
+ // SharedLinkShare : (sharing) Added members as audience of shared link
+ SharedLinkShare json.RawMessage `json:"shared_link_share,omitempty"`
+ // SharedLinkView : (sharing) Opened shared link
+ SharedLinkView json.RawMessage `json:"shared_link_view,omitempty"`
+ // SharedNoteOpened : (sharing) Opened shared Paper doc (deprecated, no
+ // longer logged)
+ SharedNoteOpened json.RawMessage `json:"shared_note_opened,omitempty"`
+ // ShmodelGroupShare : (sharing) Shared link with group (deprecated, no
+ // longer logged)
+ ShmodelGroupShare json.RawMessage `json:"shmodel_group_share,omitempty"`
+ // ShowcaseAccessGranted : (showcase) Granted access to showcase
+ ShowcaseAccessGranted json.RawMessage `json:"showcase_access_granted,omitempty"`
+ // ShowcaseAddMember : (showcase) Added member to showcase
+ ShowcaseAddMember json.RawMessage `json:"showcase_add_member,omitempty"`
+ // ShowcaseArchived : (showcase) Archived showcase
+ ShowcaseArchived json.RawMessage `json:"showcase_archived,omitempty"`
+ // ShowcaseCreated : (showcase) Created showcase
+ ShowcaseCreated json.RawMessage `json:"showcase_created,omitempty"`
+ // ShowcaseDeleteComment : (showcase) Deleted showcase comment
+ ShowcaseDeleteComment json.RawMessage `json:"showcase_delete_comment,omitempty"`
+ // ShowcaseEdited : (showcase) Edited showcase
+ ShowcaseEdited json.RawMessage `json:"showcase_edited,omitempty"`
+ // ShowcaseEditComment : (showcase) Edited showcase comment
+ ShowcaseEditComment json.RawMessage `json:"showcase_edit_comment,omitempty"`
+ // ShowcaseFileAdded : (showcase) Added file to showcase
+ ShowcaseFileAdded json.RawMessage `json:"showcase_file_added,omitempty"`
+ // ShowcaseFileDownload : (showcase) Downloaded file from showcase
+ ShowcaseFileDownload json.RawMessage `json:"showcase_file_download,omitempty"`
+ // ShowcaseFileRemoved : (showcase) Removed file from showcase
+ ShowcaseFileRemoved json.RawMessage `json:"showcase_file_removed,omitempty"`
+ // ShowcaseFileView : (showcase) Viewed file in showcase
+ ShowcaseFileView json.RawMessage `json:"showcase_file_view,omitempty"`
+ // ShowcasePermanentlyDeleted : (showcase) Permanently deleted showcase
+ ShowcasePermanentlyDeleted json.RawMessage `json:"showcase_permanently_deleted,omitempty"`
+ // ShowcasePostComment : (showcase) Added showcase comment
+ ShowcasePostComment json.RawMessage `json:"showcase_post_comment,omitempty"`
+ // ShowcaseRemoveMember : (showcase) Removed member from showcase
+ ShowcaseRemoveMember json.RawMessage `json:"showcase_remove_member,omitempty"`
+ // ShowcaseRenamed : (showcase) Renamed showcase
+ ShowcaseRenamed json.RawMessage `json:"showcase_renamed,omitempty"`
+ // ShowcaseRequestAccess : (showcase) Requested access to showcase
+ ShowcaseRequestAccess json.RawMessage `json:"showcase_request_access,omitempty"`
+ // ShowcaseResolveComment : (showcase) Resolved showcase comment
+ ShowcaseResolveComment json.RawMessage `json:"showcase_resolve_comment,omitempty"`
+ // ShowcaseRestored : (showcase) Unarchived showcase
+ ShowcaseRestored json.RawMessage `json:"showcase_restored,omitempty"`
+ // ShowcaseTrashed : (showcase) Deleted showcase
+ ShowcaseTrashed json.RawMessage `json:"showcase_trashed,omitempty"`
+ // ShowcaseTrashedDeprecated : (showcase) Deleted showcase (old version)
+ // (deprecated, replaced by 'Deleted showcase')
+ ShowcaseTrashedDeprecated json.RawMessage `json:"showcase_trashed_deprecated,omitempty"`
+ // ShowcaseUnresolveComment : (showcase) Unresolved showcase comment
+ ShowcaseUnresolveComment json.RawMessage `json:"showcase_unresolve_comment,omitempty"`
+ // ShowcaseUntrashed : (showcase) Restored showcase
+ ShowcaseUntrashed json.RawMessage `json:"showcase_untrashed,omitempty"`
+ // ShowcaseUntrashedDeprecated : (showcase) Restored showcase (old
+ // version) (deprecated, replaced by 'Restored showcase')
+ ShowcaseUntrashedDeprecated json.RawMessage `json:"showcase_untrashed_deprecated,omitempty"`
+ // ShowcaseView : (showcase) Viewed showcase
+ ShowcaseView json.RawMessage `json:"showcase_view,omitempty"`
+ // SsoAddCert : (sso) Added X.509 certificate for SSO
+ SsoAddCert json.RawMessage `json:"sso_add_cert,omitempty"`
+ // SsoAddLoginUrl : (sso) Added sign-in URL for SSO
+ SsoAddLoginUrl json.RawMessage `json:"sso_add_login_url,omitempty"`
+ // SsoAddLogoutUrl : (sso) Added sign-out URL for SSO
+ SsoAddLogoutUrl json.RawMessage `json:"sso_add_logout_url,omitempty"`
+ // SsoChangeCert : (sso) Changed X.509 certificate for SSO
+ SsoChangeCert json.RawMessage `json:"sso_change_cert,omitempty"`
+ // SsoChangeLoginUrl : (sso) Changed sign-in URL for SSO
+ SsoChangeLoginUrl json.RawMessage `json:"sso_change_login_url,omitempty"`
+ // SsoChangeLogoutUrl : (sso) Changed sign-out URL for SSO
+ SsoChangeLogoutUrl json.RawMessage `json:"sso_change_logout_url,omitempty"`
+ // SsoChangeSamlIdentityMode : (sso) Changed SAML identity mode for SSO
+ SsoChangeSamlIdentityMode json.RawMessage `json:"sso_change_saml_identity_mode,omitempty"`
+ // SsoRemoveCert : (sso) Removed X.509 certificate for SSO
+ SsoRemoveCert json.RawMessage `json:"sso_remove_cert,omitempty"`
+ // SsoRemoveLoginUrl : (sso) Removed sign-in URL for SSO
+ SsoRemoveLoginUrl json.RawMessage `json:"sso_remove_login_url,omitempty"`
+ // SsoRemoveLogoutUrl : (sso) Removed sign-out URL for SSO
+ SsoRemoveLogoutUrl json.RawMessage `json:"sso_remove_logout_url,omitempty"`
+ // TeamFolderChangeStatus : (team_folders) Changed archival status of
+ // team folder
+ TeamFolderChangeStatus json.RawMessage `json:"team_folder_change_status,omitempty"`
+ // TeamFolderCreate : (team_folders) Created team folder in active
+ // status
+ TeamFolderCreate json.RawMessage `json:"team_folder_create,omitempty"`
+ // TeamFolderDowngrade : (team_folders) Downgraded team folder to
+ // regular shared folder
+ TeamFolderDowngrade json.RawMessage `json:"team_folder_downgrade,omitempty"`
+ // TeamFolderPermanentlyDelete : (team_folders) Permanently deleted
+ // archived team folder
+ TeamFolderPermanentlyDelete json.RawMessage `json:"team_folder_permanently_delete,omitempty"`
+ // TeamFolderRename : (team_folders) Renamed active/archived team folder
+ TeamFolderRename json.RawMessage `json:"team_folder_rename,omitempty"`
+ // TeamSelectiveSyncSettingsChanged : (team_folders) Changed sync
+ // default
+ TeamSelectiveSyncSettingsChanged json.RawMessage `json:"team_selective_sync_settings_changed,omitempty"`
+ // AccountCaptureChangePolicy : (team_policies) Changed account capture
+ // setting on team domain
+ AccountCaptureChangePolicy json.RawMessage `json:"account_capture_change_policy,omitempty"`
+ // AllowDownloadDisabled : (team_policies) Disabled downloads
+ // (deprecated, no longer logged)
+ AllowDownloadDisabled json.RawMessage `json:"allow_download_disabled,omitempty"`
+ // AllowDownloadEnabled : (team_policies) Enabled downloads (deprecated,
+ // no longer logged)
+ AllowDownloadEnabled json.RawMessage `json:"allow_download_enabled,omitempty"`
+ // DataPlacementRestrictionChangePolicy : (team_policies) Set
+ // restrictions on data center locations where team data resides
+ DataPlacementRestrictionChangePolicy json.RawMessage `json:"data_placement_restriction_change_policy,omitempty"`
+ // DataPlacementRestrictionSatisfyPolicy : (team_policies) Completed
+ // restrictions on data center locations where team data resides
+ DataPlacementRestrictionSatisfyPolicy json.RawMessage `json:"data_placement_restriction_satisfy_policy,omitempty"`
+ // DeviceApprovalsChangeDesktopPolicy : (team_policies) Set/removed
+ // limit on number of computers member can link to team Dropbox account
+ DeviceApprovalsChangeDesktopPolicy json.RawMessage `json:"device_approvals_change_desktop_policy,omitempty"`
+ // DeviceApprovalsChangeMobilePolicy : (team_policies) Set/removed limit
+ // on number of mobile devices member can link to team Dropbox account
+ DeviceApprovalsChangeMobilePolicy json.RawMessage `json:"device_approvals_change_mobile_policy,omitempty"`
+ // DeviceApprovalsChangeOverageAction : (team_policies) Changed device
+ // approvals setting when member is over limit
+ DeviceApprovalsChangeOverageAction json.RawMessage `json:"device_approvals_change_overage_action,omitempty"`
+ // DeviceApprovalsChangeUnlinkAction : (team_policies) Changed device
+ // approvals setting when member unlinks approved device
+ DeviceApprovalsChangeUnlinkAction json.RawMessage `json:"device_approvals_change_unlink_action,omitempty"`
+ // DirectoryRestrictionsAddMembers : (team_policies) Added members to
+ // directory restrictions list
+ DirectoryRestrictionsAddMembers json.RawMessage `json:"directory_restrictions_add_members,omitempty"`
+ // DirectoryRestrictionsRemoveMembers : (team_policies) Removed members
+ // from directory restrictions list
+ DirectoryRestrictionsRemoveMembers json.RawMessage `json:"directory_restrictions_remove_members,omitempty"`
+ // EmmAddException : (team_policies) Added members to EMM exception list
+ EmmAddException json.RawMessage `json:"emm_add_exception,omitempty"`
+ // EmmChangePolicy : (team_policies) Enabled/disabled enterprise
+ // mobility management for members
+ EmmChangePolicy json.RawMessage `json:"emm_change_policy,omitempty"`
+ // EmmRemoveException : (team_policies) Removed members from EMM
+ // exception list
+ EmmRemoveException json.RawMessage `json:"emm_remove_exception,omitempty"`
+ // ExtendedVersionHistoryChangePolicy : (team_policies) Accepted/opted
+ // out of extended version history
+ ExtendedVersionHistoryChangePolicy json.RawMessage `json:"extended_version_history_change_policy,omitempty"`
+ // FileCommentsChangePolicy : (team_policies) Enabled/disabled
+ // commenting on team files
+ FileCommentsChangePolicy json.RawMessage `json:"file_comments_change_policy,omitempty"`
+ // FileRequestsChangePolicy : (team_policies) Enabled/disabled file
+ // requests
+ FileRequestsChangePolicy json.RawMessage `json:"file_requests_change_policy,omitempty"`
+ // FileRequestsEmailsEnabled : (team_policies) Enabled file request
+ // emails for everyone (deprecated, no longer logged)
+ FileRequestsEmailsEnabled json.RawMessage `json:"file_requests_emails_enabled,omitempty"`
+ // FileRequestsEmailsRestrictedToTeamOnly : (team_policies) Enabled file
+ // request emails for team (deprecated, no longer logged)
+ FileRequestsEmailsRestrictedToTeamOnly json.RawMessage `json:"file_requests_emails_restricted_to_team_only,omitempty"`
+ // GoogleSsoChangePolicy : (team_policies) Enabled/disabled Google
+ // single sign-on for team
+ GoogleSsoChangePolicy json.RawMessage `json:"google_sso_change_policy,omitempty"`
+ // GroupUserManagementChangePolicy : (team_policies) Changed who can
+ // create groups
+ GroupUserManagementChangePolicy json.RawMessage `json:"group_user_management_change_policy,omitempty"`
+ // MemberRequestsChangePolicy : (team_policies) Changed whether users
+ // can find team when not invited
+ MemberRequestsChangePolicy json.RawMessage `json:"member_requests_change_policy,omitempty"`
+ // MemberSpaceLimitsAddException : (team_policies) Added members to
+ // member space limit exception list
+ MemberSpaceLimitsAddException json.RawMessage `json:"member_space_limits_add_exception,omitempty"`
+ // MemberSpaceLimitsChangeCapsTypePolicy : (team_policies) Changed
+ // member space limit type for team
+ MemberSpaceLimitsChangeCapsTypePolicy json.RawMessage `json:"member_space_limits_change_caps_type_policy,omitempty"`
+ // MemberSpaceLimitsChangePolicy : (team_policies) Changed team default
+ // member space limit
+ MemberSpaceLimitsChangePolicy json.RawMessage `json:"member_space_limits_change_policy,omitempty"`
+ // MemberSpaceLimitsRemoveException : (team_policies) Removed members
+ // from member space limit exception list
+ MemberSpaceLimitsRemoveException json.RawMessage `json:"member_space_limits_remove_exception,omitempty"`
+ // MemberSuggestionsChangePolicy : (team_policies) Enabled/disabled
+ // option for team members to suggest people to add to team
+ MemberSuggestionsChangePolicy json.RawMessage `json:"member_suggestions_change_policy,omitempty"`
+ // MicrosoftOfficeAddinChangePolicy : (team_policies) Enabled/disabled
+ // Microsoft Office add-in
+ MicrosoftOfficeAddinChangePolicy json.RawMessage `json:"microsoft_office_addin_change_policy,omitempty"`
+ // NetworkControlChangePolicy : (team_policies) Enabled/disabled network
+ // control
+ NetworkControlChangePolicy json.RawMessage `json:"network_control_change_policy,omitempty"`
+ // PaperChangeDeploymentPolicy : (team_policies) Changed whether Dropbox
+ // Paper, when enabled, is deployed to all members or to specific
+ // members
+ PaperChangeDeploymentPolicy json.RawMessage `json:"paper_change_deployment_policy,omitempty"`
+ // PaperChangeMemberLinkPolicy : (team_policies) Changed whether
+ // non-members can view Paper docs with link (deprecated, no longer
+ // logged)
+ PaperChangeMemberLinkPolicy json.RawMessage `json:"paper_change_member_link_policy,omitempty"`
+ // PaperChangeMemberPolicy : (team_policies) Changed whether members can
+ // share Paper docs outside team, and if docs are accessible only by
+ // team members or anyone by default
+ PaperChangeMemberPolicy json.RawMessage `json:"paper_change_member_policy,omitempty"`
+ // PaperChangePolicy : (team_policies) Enabled/disabled Dropbox Paper
+ // for team
+ PaperChangePolicy json.RawMessage `json:"paper_change_policy,omitempty"`
+ // PaperEnabledUsersGroupAddition : (team_policies) Added users to
+ // Paper-enabled users list
+ PaperEnabledUsersGroupAddition json.RawMessage `json:"paper_enabled_users_group_addition,omitempty"`
+ // PaperEnabledUsersGroupRemoval : (team_policies) Removed users from
+ // Paper-enabled users list
+ PaperEnabledUsersGroupRemoval json.RawMessage `json:"paper_enabled_users_group_removal,omitempty"`
+ // PermanentDeleteChangePolicy : (team_policies) Enabled/disabled
+ // ability of team members to permanently delete content
+ PermanentDeleteChangePolicy json.RawMessage `json:"permanent_delete_change_policy,omitempty"`
+ // SharingChangeFolderJoinPolicy : (team_policies) Changed whether team
+ // members can join shared folders owned outside team
+ SharingChangeFolderJoinPolicy json.RawMessage `json:"sharing_change_folder_join_policy,omitempty"`
+ // SharingChangeLinkPolicy : (team_policies) Changed whether members can
+ // share links outside team, and if links are accessible only by team
+ // members or anyone by default
+ SharingChangeLinkPolicy json.RawMessage `json:"sharing_change_link_policy,omitempty"`
+ // SharingChangeMemberPolicy : (team_policies) Changed whether members
+ // can share files/folders outside team
+ SharingChangeMemberPolicy json.RawMessage `json:"sharing_change_member_policy,omitempty"`
+ // ShowcaseChangeDownloadPolicy : (team_policies) Enabled/disabled
+ // downloading files from Dropbox Showcase for team
+ ShowcaseChangeDownloadPolicy json.RawMessage `json:"showcase_change_download_policy,omitempty"`
+ // ShowcaseChangeEnabledPolicy : (team_policies) Enabled/disabled
+ // Dropbox Showcase for team
+ ShowcaseChangeEnabledPolicy json.RawMessage `json:"showcase_change_enabled_policy,omitempty"`
+ // ShowcaseChangeExternalSharingPolicy : (team_policies)
+ // Enabled/disabled sharing Dropbox Showcase externally for team
+ ShowcaseChangeExternalSharingPolicy json.RawMessage `json:"showcase_change_external_sharing_policy,omitempty"`
+ // SmartSyncChangePolicy : (team_policies) Changed default Smart Sync
+ // setting for team members
+ SmartSyncChangePolicy json.RawMessage `json:"smart_sync_change_policy,omitempty"`
+ // SmartSyncNotOptOut : (team_policies) Opted team into Smart Sync
+ SmartSyncNotOptOut json.RawMessage `json:"smart_sync_not_opt_out,omitempty"`
+ // SmartSyncOptOut : (team_policies) Opted team out of Smart Sync
+ SmartSyncOptOut json.RawMessage `json:"smart_sync_opt_out,omitempty"`
+ // SsoChangePolicy : (team_policies) Changed single sign-on setting for
+ // team
+ SsoChangePolicy json.RawMessage `json:"sso_change_policy,omitempty"`
+ // TfaChangePolicy : (team_policies) Changed two-step verification
+ // setting for team
+ TfaChangePolicy json.RawMessage `json:"tfa_change_policy,omitempty"`
+ // TwoAccountChangePolicy : (team_policies) Enabled/disabled option for
+ // members to link personal Dropbox account and team account to same
+ // computer
+ TwoAccountChangePolicy json.RawMessage `json:"two_account_change_policy,omitempty"`
+ // WebSessionsChangeFixedLengthPolicy : (team_policies) Changed how long
+ // members can stay signed in to Dropbox.com
+ WebSessionsChangeFixedLengthPolicy json.RawMessage `json:"web_sessions_change_fixed_length_policy,omitempty"`
+ // WebSessionsChangeIdleLengthPolicy : (team_policies) Changed how long
+ // team members can be idle while signed in to Dropbox.com
+ WebSessionsChangeIdleLengthPolicy json.RawMessage `json:"web_sessions_change_idle_length_policy,omitempty"`
+ // TeamMergeFrom : (team_profile) Merged another team into this team
+ TeamMergeFrom json.RawMessage `json:"team_merge_from,omitempty"`
+ // TeamMergeTo : (team_profile) Merged this team into another team
+ TeamMergeTo json.RawMessage `json:"team_merge_to,omitempty"`
+ // TeamProfileAddLogo : (team_profile) Added team logo to display on
+ // shared link headers
+ TeamProfileAddLogo json.RawMessage `json:"team_profile_add_logo,omitempty"`
+ // TeamProfileChangeDefaultLanguage : (team_profile) Changed default
+ // language for team
+ TeamProfileChangeDefaultLanguage json.RawMessage `json:"team_profile_change_default_language,omitempty"`
+ // TeamProfileChangeLogo : (team_profile) Changed team logo displayed on
+ // shared link headers
+ TeamProfileChangeLogo json.RawMessage `json:"team_profile_change_logo,omitempty"`
+ // TeamProfileChangeName : (team_profile) Changed team name
+ TeamProfileChangeName json.RawMessage `json:"team_profile_change_name,omitempty"`
+ // TeamProfileRemoveLogo : (team_profile) Removed team logo displayed on
+ // shared link headers
+ TeamProfileRemoveLogo json.RawMessage `json:"team_profile_remove_logo,omitempty"`
+ // TfaAddBackupPhone : (tfa) Added backup phone for two-step
+ // verification
+ TfaAddBackupPhone json.RawMessage `json:"tfa_add_backup_phone,omitempty"`
+ // TfaAddSecurityKey : (tfa) Added security key for two-step
+ // verification
+ TfaAddSecurityKey json.RawMessage `json:"tfa_add_security_key,omitempty"`
+ // TfaChangeBackupPhone : (tfa) Changed backup phone for two-step
+ // verification
+ TfaChangeBackupPhone json.RawMessage `json:"tfa_change_backup_phone,omitempty"`
+ // TfaChangeStatus : (tfa) Enabled/disabled/changed two-step
+ // verification setting
+ TfaChangeStatus json.RawMessage `json:"tfa_change_status,omitempty"`
+ // TfaRemoveBackupPhone : (tfa) Removed backup phone for two-step
+ // verification
+ TfaRemoveBackupPhone json.RawMessage `json:"tfa_remove_backup_phone,omitempty"`
+ // TfaRemoveSecurityKey : (tfa) Removed security key for two-step
+ // verification
+ TfaRemoveSecurityKey json.RawMessage `json:"tfa_remove_security_key,omitempty"`
+ // TfaReset : (tfa) Reset two-step verification for team member
+ TfaReset json.RawMessage `json:"tfa_reset,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "app_link_team":
+ err = json.Unmarshal(body, &u.AppLinkTeam)
-// ExtendedVersionHistoryPolicy : has no documentation (yet)
-type ExtendedVersionHistoryPolicy struct {
- dropbox.Tagged
-}
+ if err != nil {
+ return err
+ }
+ case "app_link_user":
+ err = json.Unmarshal(body, &u.AppLinkUser)
-// Valid tag values for ExtendedVersionHistoryPolicy
-const (
- ExtendedVersionHistoryPolicyExplicitlyLimited = "explicitly_limited"
- ExtendedVersionHistoryPolicyExplicitlyUnlimited = "explicitly_unlimited"
- ExtendedVersionHistoryPolicyImplicitlyLimited = "implicitly_limited"
- ExtendedVersionHistoryPolicyOther = "other"
-)
+ if err != nil {
+ return err
+ }
+ case "app_unlink_team":
+ err = json.Unmarshal(body, &u.AppUnlinkTeam)
-// FailureDetailsLogInfo : Provides details about a failure
-type FailureDetailsLogInfo struct {
- // UserFriendlyMessage : A user friendly explanation of the error. Might be
- // missing due to historical data gap.
- UserFriendlyMessage string `json:"user_friendly_message,omitempty"`
- // TechnicalErrorMessage : A technical explanation of the error. This is
- // relevant for some errors.
- TechnicalErrorMessage string `json:"technical_error_message,omitempty"`
-}
+ if err != nil {
+ return err
+ }
+ case "app_unlink_user":
+ err = json.Unmarshal(body, &u.AppUnlinkUser)
-// NewFailureDetailsLogInfo returns a new FailureDetailsLogInfo instance
-func NewFailureDetailsLogInfo() *FailureDetailsLogInfo {
- s := new(FailureDetailsLogInfo)
- return s
-}
+ if err != nil {
+ return err
+ }
+ case "file_add_comment":
+ err = json.Unmarshal(body, &u.FileAddComment)
-// FileAddCommentDetails : Added a file comment.
-type FileAddCommentDetails struct {
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
-}
+ if err != nil {
+ return err
+ }
+ case "file_change_comment_subscription":
+ err = json.Unmarshal(body, &u.FileChangeCommentSubscription)
-// NewFileAddCommentDetails returns a new FileAddCommentDetails instance
-func NewFileAddCommentDetails() *FileAddCommentDetails {
- s := new(FileAddCommentDetails)
- return s
-}
+ if err != nil {
+ return err
+ }
+ case "file_delete_comment":
+ err = json.Unmarshal(body, &u.FileDeleteComment)
+
+ if err != nil {
+ return err
+ }
+ case "file_like_comment":
+ err = json.Unmarshal(body, &u.FileLikeComment)
+
+ if err != nil {
+ return err
+ }
+ case "file_resolve_comment":
+ err = json.Unmarshal(body, &u.FileResolveComment)
+
+ if err != nil {
+ return err
+ }
+ case "file_unlike_comment":
+ err = json.Unmarshal(body, &u.FileUnlikeComment)
+
+ if err != nil {
+ return err
+ }
+ case "file_unresolve_comment":
+ err = json.Unmarshal(body, &u.FileUnresolveComment)
+
+ if err != nil {
+ return err
+ }
+ case "device_change_ip_desktop":
+ err = json.Unmarshal(body, &u.DeviceChangeIpDesktop)
+
+ if err != nil {
+ return err
+ }
+ case "device_change_ip_mobile":
+ err = json.Unmarshal(body, &u.DeviceChangeIpMobile)
+
+ if err != nil {
+ return err
+ }
+ case "device_change_ip_web":
+ err = json.Unmarshal(body, &u.DeviceChangeIpWeb)
+
+ if err != nil {
+ return err
+ }
+ case "device_delete_on_unlink_fail":
+ err = json.Unmarshal(body, &u.DeviceDeleteOnUnlinkFail)
+
+ if err != nil {
+ return err
+ }
+ case "device_delete_on_unlink_success":
+ err = json.Unmarshal(body, &u.DeviceDeleteOnUnlinkSuccess)
+
+ if err != nil {
+ return err
+ }
+ case "device_link_fail":
+ err = json.Unmarshal(body, &u.DeviceLinkFail)
+
+ if err != nil {
+ return err
+ }
+ case "device_link_success":
+ err = json.Unmarshal(body, &u.DeviceLinkSuccess)
+
+ if err != nil {
+ return err
+ }
+ case "device_management_disabled":
+ err = json.Unmarshal(body, &u.DeviceManagementDisabled)
+
+ if err != nil {
+ return err
+ }
+ case "device_management_enabled":
+ err = json.Unmarshal(body, &u.DeviceManagementEnabled)
+
+ if err != nil {
+ return err
+ }
+ case "device_unlink":
+ err = json.Unmarshal(body, &u.DeviceUnlink)
+
+ if err != nil {
+ return err
+ }
+ case "emm_refresh_auth_token":
+ err = json.Unmarshal(body, &u.EmmRefreshAuthToken)
+
+ if err != nil {
+ return err
+ }
+ case "account_capture_change_availability":
+ err = json.Unmarshal(body, &u.AccountCaptureChangeAvailability)
+
+ if err != nil {
+ return err
+ }
+ case "account_capture_migrate_account":
+ err = json.Unmarshal(body, &u.AccountCaptureMigrateAccount)
+
+ if err != nil {
+ return err
+ }
+ case "account_capture_notification_emails_sent":
+ err = json.Unmarshal(body, &u.AccountCaptureNotificationEmailsSent)
+
+ if err != nil {
+ return err
+ }
+ case "account_capture_relinquish_account":
+ err = json.Unmarshal(body, &u.AccountCaptureRelinquishAccount)
+
+ if err != nil {
+ return err
+ }
+ case "disabled_domain_invites":
+ err = json.Unmarshal(body, &u.DisabledDomainInvites)
+
+ if err != nil {
+ return err
+ }
+ case "domain_invites_approve_request_to_join_team":
+ err = json.Unmarshal(body, &u.DomainInvitesApproveRequestToJoinTeam)
+
+ if err != nil {
+ return err
+ }
+ case "domain_invites_decline_request_to_join_team":
+ err = json.Unmarshal(body, &u.DomainInvitesDeclineRequestToJoinTeam)
+
+ if err != nil {
+ return err
+ }
+ case "domain_invites_email_existing_users":
+ err = json.Unmarshal(body, &u.DomainInvitesEmailExistingUsers)
+
+ if err != nil {
+ return err
+ }
+ case "domain_invites_request_to_join_team":
+ err = json.Unmarshal(body, &u.DomainInvitesRequestToJoinTeam)
+
+ if err != nil {
+ return err
+ }
+ case "domain_invites_set_invite_new_user_pref_to_no":
+ err = json.Unmarshal(body, &u.DomainInvitesSetInviteNewUserPrefToNo)
+
+ if err != nil {
+ return err
+ }
+ case "domain_invites_set_invite_new_user_pref_to_yes":
+ err = json.Unmarshal(body, &u.DomainInvitesSetInviteNewUserPrefToYes)
+
+ if err != nil {
+ return err
+ }
+ case "domain_verification_add_domain_fail":
+ err = json.Unmarshal(body, &u.DomainVerificationAddDomainFail)
+
+ if err != nil {
+ return err
+ }
+ case "domain_verification_add_domain_success":
+ err = json.Unmarshal(body, &u.DomainVerificationAddDomainSuccess)
+
+ if err != nil {
+ return err
+ }
+ case "domain_verification_remove_domain":
+ err = json.Unmarshal(body, &u.DomainVerificationRemoveDomain)
+
+ if err != nil {
+ return err
+ }
+ case "enabled_domain_invites":
+ err = json.Unmarshal(body, &u.EnabledDomainInvites)
+
+ if err != nil {
+ return err
+ }
+ case "create_folder":
+ err = json.Unmarshal(body, &u.CreateFolder)
+
+ if err != nil {
+ return err
+ }
+ case "file_add":
+ err = json.Unmarshal(body, &u.FileAdd)
+
+ if err != nil {
+ return err
+ }
+ case "file_copy":
+ err = json.Unmarshal(body, &u.FileCopy)
+
+ if err != nil {
+ return err
+ }
+ case "file_delete":
+ err = json.Unmarshal(body, &u.FileDelete)
+
+ if err != nil {
+ return err
+ }
+ case "file_download":
+ err = json.Unmarshal(body, &u.FileDownload)
+
+ if err != nil {
+ return err
+ }
+ case "file_edit":
+ err = json.Unmarshal(body, &u.FileEdit)
+
+ if err != nil {
+ return err
+ }
+ case "file_get_copy_reference":
+ err = json.Unmarshal(body, &u.FileGetCopyReference)
+
+ if err != nil {
+ return err
+ }
+ case "file_move":
+ err = json.Unmarshal(body, &u.FileMove)
+
+ if err != nil {
+ return err
+ }
+ case "file_permanently_delete":
+ err = json.Unmarshal(body, &u.FilePermanentlyDelete)
+
+ if err != nil {
+ return err
+ }
+ case "file_preview":
+ err = json.Unmarshal(body, &u.FilePreview)
+
+ if err != nil {
+ return err
+ }
+ case "file_rename":
+ err = json.Unmarshal(body, &u.FileRename)
+
+ if err != nil {
+ return err
+ }
+ case "file_restore":
+ err = json.Unmarshal(body, &u.FileRestore)
+
+ if err != nil {
+ return err
+ }
+ case "file_revert":
+ err = json.Unmarshal(body, &u.FileRevert)
+
+ if err != nil {
+ return err
+ }
+ case "file_rollback_changes":
+ err = json.Unmarshal(body, &u.FileRollbackChanges)
+
+ if err != nil {
+ return err
+ }
+ case "file_save_copy_reference":
+ err = json.Unmarshal(body, &u.FileSaveCopyReference)
+
+ if err != nil {
+ return err
+ }
+ case "file_request_change":
+ err = json.Unmarshal(body, &u.FileRequestChange)
+
+ if err != nil {
+ return err
+ }
+ case "file_request_close":
+ err = json.Unmarshal(body, &u.FileRequestClose)
+
+ if err != nil {
+ return err
+ }
+ case "file_request_create":
+ err = json.Unmarshal(body, &u.FileRequestCreate)
+
+ if err != nil {
+ return err
+ }
+ case "file_request_receive_file":
+ err = json.Unmarshal(body, &u.FileRequestReceiveFile)
+
+ if err != nil {
+ return err
+ }
+ case "group_add_external_id":
+ err = json.Unmarshal(body, &u.GroupAddExternalId)
+
+ if err != nil {
+ return err
+ }
+ case "group_add_member":
+ err = json.Unmarshal(body, &u.GroupAddMember)
+
+ if err != nil {
+ return err
+ }
+ case "group_change_external_id":
+ err = json.Unmarshal(body, &u.GroupChangeExternalId)
+
+ if err != nil {
+ return err
+ }
+ case "group_change_management_type":
+ err = json.Unmarshal(body, &u.GroupChangeManagementType)
+
+ if err != nil {
+ return err
+ }
+ case "group_change_member_role":
+ err = json.Unmarshal(body, &u.GroupChangeMemberRole)
+
+ if err != nil {
+ return err
+ }
+ case "group_create":
+ err = json.Unmarshal(body, &u.GroupCreate)
+
+ if err != nil {
+ return err
+ }
+ case "group_delete":
+ err = json.Unmarshal(body, &u.GroupDelete)
+
+ if err != nil {
+ return err
+ }
+ case "group_description_updated":
+ err = json.Unmarshal(body, &u.GroupDescriptionUpdated)
+
+ if err != nil {
+ return err
+ }
+ case "group_join_policy_updated":
+ err = json.Unmarshal(body, &u.GroupJoinPolicyUpdated)
+
+ if err != nil {
+ return err
+ }
+ case "group_moved":
+ err = json.Unmarshal(body, &u.GroupMoved)
+
+ if err != nil {
+ return err
+ }
+ case "group_remove_external_id":
+ err = json.Unmarshal(body, &u.GroupRemoveExternalId)
+
+ if err != nil {
+ return err
+ }
+ case "group_remove_member":
+ err = json.Unmarshal(body, &u.GroupRemoveMember)
+
+ if err != nil {
+ return err
+ }
+ case "group_rename":
+ err = json.Unmarshal(body, &u.GroupRename)
+
+ if err != nil {
+ return err
+ }
+ case "emm_error":
+ err = json.Unmarshal(body, &u.EmmError)
+
+ if err != nil {
+ return err
+ }
+ case "login_fail":
+ err = json.Unmarshal(body, &u.LoginFail)
+
+ if err != nil {
+ return err
+ }
+ case "login_success":
+ err = json.Unmarshal(body, &u.LoginSuccess)
+
+ if err != nil {
+ return err
+ }
+ case "logout":
+ err = json.Unmarshal(body, &u.Logout)
+
+ if err != nil {
+ return err
+ }
+ case "reseller_support_session_end":
+ err = json.Unmarshal(body, &u.ResellerSupportSessionEnd)
+
+ if err != nil {
+ return err
+ }
+ case "reseller_support_session_start":
+ err = json.Unmarshal(body, &u.ResellerSupportSessionStart)
+
+ if err != nil {
+ return err
+ }
+ case "sign_in_as_session_end":
+ err = json.Unmarshal(body, &u.SignInAsSessionEnd)
+
+ if err != nil {
+ return err
+ }
+ case "sign_in_as_session_start":
+ err = json.Unmarshal(body, &u.SignInAsSessionStart)
+
+ if err != nil {
+ return err
+ }
+ case "sso_error":
+ err = json.Unmarshal(body, &u.SsoError)
+
+ if err != nil {
+ return err
+ }
+ case "member_add_name":
+ err = json.Unmarshal(body, &u.MemberAddName)
+
+ if err != nil {
+ return err
+ }
+ case "member_change_admin_role":
+ err = json.Unmarshal(body, &u.MemberChangeAdminRole)
+
+ if err != nil {
+ return err
+ }
+ case "member_change_email":
+ err = json.Unmarshal(body, &u.MemberChangeEmail)
+
+ if err != nil {
+ return err
+ }
+ case "member_change_membership_type":
+ err = json.Unmarshal(body, &u.MemberChangeMembershipType)
+
+ if err != nil {
+ return err
+ }
+ case "member_change_name":
+ err = json.Unmarshal(body, &u.MemberChangeName)
+
+ if err != nil {
+ return err
+ }
+ case "member_change_status":
+ err = json.Unmarshal(body, &u.MemberChangeStatus)
+
+ if err != nil {
+ return err
+ }
+ case "member_permanently_delete_account_contents":
+ err = json.Unmarshal(body, &u.MemberPermanentlyDeleteAccountContents)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_add_custom_quota":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsAddCustomQuota)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_custom_quota":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeCustomQuota)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_status":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeStatus)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_remove_custom_quota":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsRemoveCustomQuota)
+
+ if err != nil {
+ return err
+ }
+ case "member_suggest":
+ err = json.Unmarshal(body, &u.MemberSuggest)
+
+ if err != nil {
+ return err
+ }
+ case "member_transfer_account_contents":
+ err = json.Unmarshal(body, &u.MemberTransferAccountContents)
+
+ if err != nil {
+ return err
+ }
+ case "secondary_mails_policy_changed":
+ err = json.Unmarshal(body, &u.SecondaryMailsPolicyChanged)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_add_member":
+ err = json.Unmarshal(body, &u.PaperContentAddMember)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_add_to_folder":
+ err = json.Unmarshal(body, &u.PaperContentAddToFolder)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_archive":
+ err = json.Unmarshal(body, &u.PaperContentArchive)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_create":
+ err = json.Unmarshal(body, &u.PaperContentCreate)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_permanently_delete":
+ err = json.Unmarshal(body, &u.PaperContentPermanentlyDelete)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_remove_from_folder":
+ err = json.Unmarshal(body, &u.PaperContentRemoveFromFolder)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_remove_member":
+ err = json.Unmarshal(body, &u.PaperContentRemoveMember)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_rename":
+ err = json.Unmarshal(body, &u.PaperContentRename)
+
+ if err != nil {
+ return err
+ }
+ case "paper_content_restore":
+ err = json.Unmarshal(body, &u.PaperContentRestore)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_add_comment":
+ err = json.Unmarshal(body, &u.PaperDocAddComment)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_change_member_role":
+ err = json.Unmarshal(body, &u.PaperDocChangeMemberRole)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_change_sharing_policy":
+ err = json.Unmarshal(body, &u.PaperDocChangeSharingPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_change_subscription":
+ err = json.Unmarshal(body, &u.PaperDocChangeSubscription)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_deleted":
+ err = json.Unmarshal(body, &u.PaperDocDeleted)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_delete_comment":
+ err = json.Unmarshal(body, &u.PaperDocDeleteComment)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_download":
+ err = json.Unmarshal(body, &u.PaperDocDownload)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_edit":
+ err = json.Unmarshal(body, &u.PaperDocEdit)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_edit_comment":
+ err = json.Unmarshal(body, &u.PaperDocEditComment)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_followed":
+ err = json.Unmarshal(body, &u.PaperDocFollowed)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_mention":
+ err = json.Unmarshal(body, &u.PaperDocMention)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_request_access":
+ err = json.Unmarshal(body, &u.PaperDocRequestAccess)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_resolve_comment":
+ err = json.Unmarshal(body, &u.PaperDocResolveComment)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_revert":
+ err = json.Unmarshal(body, &u.PaperDocRevert)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_slack_share":
+ err = json.Unmarshal(body, &u.PaperDocSlackShare)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_team_invite":
+ err = json.Unmarshal(body, &u.PaperDocTeamInvite)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_trashed":
+ err = json.Unmarshal(body, &u.PaperDocTrashed)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_unresolve_comment":
+ err = json.Unmarshal(body, &u.PaperDocUnresolveComment)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_untrashed":
+ err = json.Unmarshal(body, &u.PaperDocUntrashed)
+
+ if err != nil {
+ return err
+ }
+ case "paper_doc_view":
+ err = json.Unmarshal(body, &u.PaperDocView)
+
+ if err != nil {
+ return err
+ }
+ case "paper_external_view_allow":
+ err = json.Unmarshal(body, &u.PaperExternalViewAllow)
+
+ if err != nil {
+ return err
+ }
+ case "paper_external_view_default_team":
+ err = json.Unmarshal(body, &u.PaperExternalViewDefaultTeam)
+
+ if err != nil {
+ return err
+ }
+ case "paper_external_view_forbid":
+ err = json.Unmarshal(body, &u.PaperExternalViewForbid)
+
+ if err != nil {
+ return err
+ }
+ case "paper_folder_change_subscription":
+ err = json.Unmarshal(body, &u.PaperFolderChangeSubscription)
+
+ if err != nil {
+ return err
+ }
+ case "paper_folder_deleted":
+ err = json.Unmarshal(body, &u.PaperFolderDeleted)
+
+ if err != nil {
+ return err
+ }
+ case "paper_folder_followed":
+ err = json.Unmarshal(body, &u.PaperFolderFollowed)
+
+ if err != nil {
+ return err
+ }
+ case "paper_folder_team_invite":
+ err = json.Unmarshal(body, &u.PaperFolderTeamInvite)
+
+ if err != nil {
+ return err
+ }
+ case "password_change":
+ err = json.Unmarshal(body, &u.PasswordChange)
+
+ if err != nil {
+ return err
+ }
+ case "password_reset":
+ err = json.Unmarshal(body, &u.PasswordReset)
+
+ if err != nil {
+ return err
+ }
+ case "password_reset_all":
+ err = json.Unmarshal(body, &u.PasswordResetAll)
+
+ if err != nil {
+ return err
+ }
+ case "emm_create_exceptions_report":
+ err = json.Unmarshal(body, &u.EmmCreateExceptionsReport)
+
+ if err != nil {
+ return err
+ }
+ case "emm_create_usage_report":
+ err = json.Unmarshal(body, &u.EmmCreateUsageReport)
+
+ if err != nil {
+ return err
+ }
+ case "export_members_report":
+ err = json.Unmarshal(body, &u.ExportMembersReport)
+
+ if err != nil {
+ return err
+ }
+ case "paper_admin_export_start":
+ err = json.Unmarshal(body, &u.PaperAdminExportStart)
+
+ if err != nil {
+ return err
+ }
+ case "smart_sync_create_admin_privilege_report":
+ err = json.Unmarshal(body, &u.SmartSyncCreateAdminPrivilegeReport)
+
+ if err != nil {
+ return err
+ }
+ case "team_activity_create_report":
+ err = json.Unmarshal(body, &u.TeamActivityCreateReport)
+
+ if err != nil {
+ return err
+ }
+ case "collection_share":
+ err = json.Unmarshal(body, &u.CollectionShare)
+
+ if err != nil {
+ return err
+ }
+ case "note_acl_invite_only":
+ err = json.Unmarshal(body, &u.NoteAclInviteOnly)
+
+ if err != nil {
+ return err
+ }
+ case "note_acl_link":
+ err = json.Unmarshal(body, &u.NoteAclLink)
+
+ if err != nil {
+ return err
+ }
+ case "note_acl_team_link":
+ err = json.Unmarshal(body, &u.NoteAclTeamLink)
+
+ if err != nil {
+ return err
+ }
+ case "note_shared":
+ err = json.Unmarshal(body, &u.NoteShared)
+
+ if err != nil {
+ return err
+ }
+ case "note_share_receive":
+ err = json.Unmarshal(body, &u.NoteShareReceive)
+
+ if err != nil {
+ return err
+ }
+ case "open_note_shared":
+ err = json.Unmarshal(body, &u.OpenNoteShared)
+
+ if err != nil {
+ return err
+ }
+ case "sf_add_group":
+ err = json.Unmarshal(body, &u.SfAddGroup)
+
+ if err != nil {
+ return err
+ }
+ case "sf_allow_non_members_to_view_shared_links":
+ err = json.Unmarshal(body, &u.SfAllowNonMembersToViewSharedLinks)
+
+ if err != nil {
+ return err
+ }
+ case "sf_external_invite_warn":
+ err = json.Unmarshal(body, &u.SfExternalInviteWarn)
+
+ if err != nil {
+ return err
+ }
+ case "sf_fb_invite":
+ err = json.Unmarshal(body, &u.SfFbInvite)
+
+ if err != nil {
+ return err
+ }
+ case "sf_fb_invite_change_role":
+ err = json.Unmarshal(body, &u.SfFbInviteChangeRole)
+
+ if err != nil {
+ return err
+ }
+ case "sf_fb_uninvite":
+ err = json.Unmarshal(body, &u.SfFbUninvite)
+
+ if err != nil {
+ return err
+ }
+ case "sf_invite_group":
+ err = json.Unmarshal(body, &u.SfInviteGroup)
+
+ if err != nil {
+ return err
+ }
+ case "sf_team_grant_access":
+ err = json.Unmarshal(body, &u.SfTeamGrantAccess)
+
+ if err != nil {
+ return err
+ }
+ case "sf_team_invite":
+ err = json.Unmarshal(body, &u.SfTeamInvite)
+
+ if err != nil {
+ return err
+ }
+ case "sf_team_invite_change_role":
+ err = json.Unmarshal(body, &u.SfTeamInviteChangeRole)
+
+ if err != nil {
+ return err
+ }
+ case "sf_team_join":
+ err = json.Unmarshal(body, &u.SfTeamJoin)
+
+ if err != nil {
+ return err
+ }
+ case "sf_team_join_from_oob_link":
+ err = json.Unmarshal(body, &u.SfTeamJoinFromOobLink)
+
+ if err != nil {
+ return err
+ }
+ case "sf_team_uninvite":
+ err = json.Unmarshal(body, &u.SfTeamUninvite)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_add_invitees":
+ err = json.Unmarshal(body, &u.SharedContentAddInvitees)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_add_link_expiry":
+ err = json.Unmarshal(body, &u.SharedContentAddLinkExpiry)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_add_link_password":
+ err = json.Unmarshal(body, &u.SharedContentAddLinkPassword)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_add_member":
+ err = json.Unmarshal(body, &u.SharedContentAddMember)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_downloads_policy":
+ err = json.Unmarshal(body, &u.SharedContentChangeDownloadsPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_invitee_role":
+ err = json.Unmarshal(body, &u.SharedContentChangeInviteeRole)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_link_audience":
+ err = json.Unmarshal(body, &u.SharedContentChangeLinkAudience)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_link_expiry":
+ err = json.Unmarshal(body, &u.SharedContentChangeLinkExpiry)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_link_password":
+ err = json.Unmarshal(body, &u.SharedContentChangeLinkPassword)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_member_role":
+ err = json.Unmarshal(body, &u.SharedContentChangeMemberRole)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_change_viewer_info_policy":
+ err = json.Unmarshal(body, &u.SharedContentChangeViewerInfoPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_claim_invitation":
+ err = json.Unmarshal(body, &u.SharedContentClaimInvitation)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_copy":
+ err = json.Unmarshal(body, &u.SharedContentCopy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_download":
+ err = json.Unmarshal(body, &u.SharedContentDownload)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_relinquish_membership":
+ err = json.Unmarshal(body, &u.SharedContentRelinquishMembership)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_remove_invitees":
+ err = json.Unmarshal(body, &u.SharedContentRemoveInvitees)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_remove_link_expiry":
+ err = json.Unmarshal(body, &u.SharedContentRemoveLinkExpiry)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_remove_link_password":
+ err = json.Unmarshal(body, &u.SharedContentRemoveLinkPassword)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_remove_member":
+ err = json.Unmarshal(body, &u.SharedContentRemoveMember)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_request_access":
+ err = json.Unmarshal(body, &u.SharedContentRequestAccess)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_unshare":
+ err = json.Unmarshal(body, &u.SharedContentUnshare)
+
+ if err != nil {
+ return err
+ }
+ case "shared_content_view":
+ err = json.Unmarshal(body, &u.SharedContentView)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_change_link_policy":
+ err = json.Unmarshal(body, &u.SharedFolderChangeLinkPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_change_members_inheritance_policy":
+ err = json.Unmarshal(body, &u.SharedFolderChangeMembersInheritancePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_change_members_management_policy":
+ err = json.Unmarshal(body, &u.SharedFolderChangeMembersManagementPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_change_members_policy":
+ err = json.Unmarshal(body, &u.SharedFolderChangeMembersPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_create":
+ err = json.Unmarshal(body, &u.SharedFolderCreate)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_decline_invitation":
+ err = json.Unmarshal(body, &u.SharedFolderDeclineInvitation)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_mount":
+ err = json.Unmarshal(body, &u.SharedFolderMount)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_nest":
+ err = json.Unmarshal(body, &u.SharedFolderNest)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_transfer_ownership":
+ err = json.Unmarshal(body, &u.SharedFolderTransferOwnership)
+
+ if err != nil {
+ return err
+ }
+ case "shared_folder_unmount":
+ err = json.Unmarshal(body, &u.SharedFolderUnmount)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_add_expiry":
+ err = json.Unmarshal(body, &u.SharedLinkAddExpiry)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_change_expiry":
+ err = json.Unmarshal(body, &u.SharedLinkChangeExpiry)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_change_visibility":
+ err = json.Unmarshal(body, &u.SharedLinkChangeVisibility)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_copy":
+ err = json.Unmarshal(body, &u.SharedLinkCopy)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_create":
+ err = json.Unmarshal(body, &u.SharedLinkCreate)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_disable":
+ err = json.Unmarshal(body, &u.SharedLinkDisable)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_download":
+ err = json.Unmarshal(body, &u.SharedLinkDownload)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_remove_expiry":
+ err = json.Unmarshal(body, &u.SharedLinkRemoveExpiry)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_share":
+ err = json.Unmarshal(body, &u.SharedLinkShare)
+
+ if err != nil {
+ return err
+ }
+ case "shared_link_view":
+ err = json.Unmarshal(body, &u.SharedLinkView)
+
+ if err != nil {
+ return err
+ }
+ case "shared_note_opened":
+ err = json.Unmarshal(body, &u.SharedNoteOpened)
+
+ if err != nil {
+ return err
+ }
+ case "shmodel_group_share":
+ err = json.Unmarshal(body, &u.ShmodelGroupShare)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_access_granted":
+ err = json.Unmarshal(body, &u.ShowcaseAccessGranted)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_add_member":
+ err = json.Unmarshal(body, &u.ShowcaseAddMember)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_archived":
+ err = json.Unmarshal(body, &u.ShowcaseArchived)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_created":
+ err = json.Unmarshal(body, &u.ShowcaseCreated)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_delete_comment":
+ err = json.Unmarshal(body, &u.ShowcaseDeleteComment)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_edited":
+ err = json.Unmarshal(body, &u.ShowcaseEdited)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_edit_comment":
+ err = json.Unmarshal(body, &u.ShowcaseEditComment)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_file_added":
+ err = json.Unmarshal(body, &u.ShowcaseFileAdded)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_file_download":
+ err = json.Unmarshal(body, &u.ShowcaseFileDownload)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_file_removed":
+ err = json.Unmarshal(body, &u.ShowcaseFileRemoved)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_file_view":
+ err = json.Unmarshal(body, &u.ShowcaseFileView)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_permanently_deleted":
+ err = json.Unmarshal(body, &u.ShowcasePermanentlyDeleted)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_post_comment":
+ err = json.Unmarshal(body, &u.ShowcasePostComment)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_remove_member":
+ err = json.Unmarshal(body, &u.ShowcaseRemoveMember)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_renamed":
+ err = json.Unmarshal(body, &u.ShowcaseRenamed)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_request_access":
+ err = json.Unmarshal(body, &u.ShowcaseRequestAccess)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_resolve_comment":
+ err = json.Unmarshal(body, &u.ShowcaseResolveComment)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_restored":
+ err = json.Unmarshal(body, &u.ShowcaseRestored)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_trashed":
+ err = json.Unmarshal(body, &u.ShowcaseTrashed)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_trashed_deprecated":
+ err = json.Unmarshal(body, &u.ShowcaseTrashedDeprecated)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_unresolve_comment":
+ err = json.Unmarshal(body, &u.ShowcaseUnresolveComment)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_untrashed":
+ err = json.Unmarshal(body, &u.ShowcaseUntrashed)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_untrashed_deprecated":
+ err = json.Unmarshal(body, &u.ShowcaseUntrashedDeprecated)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_view":
+ err = json.Unmarshal(body, &u.ShowcaseView)
+
+ if err != nil {
+ return err
+ }
+ case "sso_add_cert":
+ err = json.Unmarshal(body, &u.SsoAddCert)
+
+ if err != nil {
+ return err
+ }
+ case "sso_add_login_url":
+ err = json.Unmarshal(body, &u.SsoAddLoginUrl)
+
+ if err != nil {
+ return err
+ }
+ case "sso_add_logout_url":
+ err = json.Unmarshal(body, &u.SsoAddLogoutUrl)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_cert":
+ err = json.Unmarshal(body, &u.SsoChangeCert)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_login_url":
+ err = json.Unmarshal(body, &u.SsoChangeLoginUrl)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_logout_url":
+ err = json.Unmarshal(body, &u.SsoChangeLogoutUrl)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_saml_identity_mode":
+ err = json.Unmarshal(body, &u.SsoChangeSamlIdentityMode)
+
+ if err != nil {
+ return err
+ }
+ case "sso_remove_cert":
+ err = json.Unmarshal(body, &u.SsoRemoveCert)
+
+ if err != nil {
+ return err
+ }
+ case "sso_remove_login_url":
+ err = json.Unmarshal(body, &u.SsoRemoveLoginUrl)
+
+ if err != nil {
+ return err
+ }
+ case "sso_remove_logout_url":
+ err = json.Unmarshal(body, &u.SsoRemoveLogoutUrl)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_change_status":
+ err = json.Unmarshal(body, &u.TeamFolderChangeStatus)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_create":
+ err = json.Unmarshal(body, &u.TeamFolderCreate)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_downgrade":
+ err = json.Unmarshal(body, &u.TeamFolderDowngrade)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_permanently_delete":
+ err = json.Unmarshal(body, &u.TeamFolderPermanentlyDelete)
+
+ if err != nil {
+ return err
+ }
+ case "team_folder_rename":
+ err = json.Unmarshal(body, &u.TeamFolderRename)
+
+ if err != nil {
+ return err
+ }
+ case "team_selective_sync_settings_changed":
+ err = json.Unmarshal(body, &u.TeamSelectiveSyncSettingsChanged)
+
+ if err != nil {
+ return err
+ }
+ case "account_capture_change_policy":
+ err = json.Unmarshal(body, &u.AccountCaptureChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "allow_download_disabled":
+ err = json.Unmarshal(body, &u.AllowDownloadDisabled)
+
+ if err != nil {
+ return err
+ }
+ case "allow_download_enabled":
+ err = json.Unmarshal(body, &u.AllowDownloadEnabled)
+
+ if err != nil {
+ return err
+ }
+ case "data_placement_restriction_change_policy":
+ err = json.Unmarshal(body, &u.DataPlacementRestrictionChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "data_placement_restriction_satisfy_policy":
+ err = json.Unmarshal(body, &u.DataPlacementRestrictionSatisfyPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "device_approvals_change_desktop_policy":
+ err = json.Unmarshal(body, &u.DeviceApprovalsChangeDesktopPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "device_approvals_change_mobile_policy":
+ err = json.Unmarshal(body, &u.DeviceApprovalsChangeMobilePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "device_approvals_change_overage_action":
+ err = json.Unmarshal(body, &u.DeviceApprovalsChangeOverageAction)
+
+ if err != nil {
+ return err
+ }
+ case "device_approvals_change_unlink_action":
+ err = json.Unmarshal(body, &u.DeviceApprovalsChangeUnlinkAction)
+
+ if err != nil {
+ return err
+ }
+ case "directory_restrictions_add_members":
+ err = json.Unmarshal(body, &u.DirectoryRestrictionsAddMembers)
+
+ if err != nil {
+ return err
+ }
+ case "directory_restrictions_remove_members":
+ err = json.Unmarshal(body, &u.DirectoryRestrictionsRemoveMembers)
+
+ if err != nil {
+ return err
+ }
+ case "emm_add_exception":
+ err = json.Unmarshal(body, &u.EmmAddException)
+
+ if err != nil {
+ return err
+ }
+ case "emm_change_policy":
+ err = json.Unmarshal(body, &u.EmmChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "emm_remove_exception":
+ err = json.Unmarshal(body, &u.EmmRemoveException)
+
+ if err != nil {
+ return err
+ }
+ case "extended_version_history_change_policy":
+ err = json.Unmarshal(body, &u.ExtendedVersionHistoryChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "file_comments_change_policy":
+ err = json.Unmarshal(body, &u.FileCommentsChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "file_requests_change_policy":
+ err = json.Unmarshal(body, &u.FileRequestsChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "file_requests_emails_enabled":
+ err = json.Unmarshal(body, &u.FileRequestsEmailsEnabled)
+
+ if err != nil {
+ return err
+ }
+ case "file_requests_emails_restricted_to_team_only":
+ err = json.Unmarshal(body, &u.FileRequestsEmailsRestrictedToTeamOnly)
+
+ if err != nil {
+ return err
+ }
+ case "google_sso_change_policy":
+ err = json.Unmarshal(body, &u.GoogleSsoChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "group_user_management_change_policy":
+ err = json.Unmarshal(body, &u.GroupUserManagementChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "member_requests_change_policy":
+ err = json.Unmarshal(body, &u.MemberRequestsChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_add_exception":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsAddException)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_caps_type_policy":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangeCapsTypePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_change_policy":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "member_space_limits_remove_exception":
+ err = json.Unmarshal(body, &u.MemberSpaceLimitsRemoveException)
+
+ if err != nil {
+ return err
+ }
+ case "member_suggestions_change_policy":
+ err = json.Unmarshal(body, &u.MemberSuggestionsChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "microsoft_office_addin_change_policy":
+ err = json.Unmarshal(body, &u.MicrosoftOfficeAddinChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "network_control_change_policy":
+ err = json.Unmarshal(body, &u.NetworkControlChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "paper_change_deployment_policy":
+ err = json.Unmarshal(body, &u.PaperChangeDeploymentPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "paper_change_member_link_policy":
+ err = json.Unmarshal(body, &u.PaperChangeMemberLinkPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "paper_change_member_policy":
+ err = json.Unmarshal(body, &u.PaperChangeMemberPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "paper_change_policy":
+ err = json.Unmarshal(body, &u.PaperChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "paper_enabled_users_group_addition":
+ err = json.Unmarshal(body, &u.PaperEnabledUsersGroupAddition)
+
+ if err != nil {
+ return err
+ }
+ case "paper_enabled_users_group_removal":
+ err = json.Unmarshal(body, &u.PaperEnabledUsersGroupRemoval)
+
+ if err != nil {
+ return err
+ }
+ case "permanent_delete_change_policy":
+ err = json.Unmarshal(body, &u.PermanentDeleteChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "sharing_change_folder_join_policy":
+ err = json.Unmarshal(body, &u.SharingChangeFolderJoinPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "sharing_change_link_policy":
+ err = json.Unmarshal(body, &u.SharingChangeLinkPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "sharing_change_member_policy":
+ err = json.Unmarshal(body, &u.SharingChangeMemberPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_change_download_policy":
+ err = json.Unmarshal(body, &u.ShowcaseChangeDownloadPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_change_enabled_policy":
+ err = json.Unmarshal(body, &u.ShowcaseChangeEnabledPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "showcase_change_external_sharing_policy":
+ err = json.Unmarshal(body, &u.ShowcaseChangeExternalSharingPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "smart_sync_change_policy":
+ err = json.Unmarshal(body, &u.SmartSyncChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "smart_sync_not_opt_out":
+ err = json.Unmarshal(body, &u.SmartSyncNotOptOut)
+
+ if err != nil {
+ return err
+ }
+ case "smart_sync_opt_out":
+ err = json.Unmarshal(body, &u.SmartSyncOptOut)
+
+ if err != nil {
+ return err
+ }
+ case "sso_change_policy":
+ err = json.Unmarshal(body, &u.SsoChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_change_policy":
+ err = json.Unmarshal(body, &u.TfaChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "two_account_change_policy":
+ err = json.Unmarshal(body, &u.TwoAccountChangePolicy)
+
+ if err != nil {
+ return err
+ }
+ case "web_sessions_change_fixed_length_policy":
+ err = json.Unmarshal(body, &u.WebSessionsChangeFixedLengthPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "web_sessions_change_idle_length_policy":
+ err = json.Unmarshal(body, &u.WebSessionsChangeIdleLengthPolicy)
+
+ if err != nil {
+ return err
+ }
+ case "team_merge_from":
+ err = json.Unmarshal(body, &u.TeamMergeFrom)
+
+ if err != nil {
+ return err
+ }
+ case "team_merge_to":
+ err = json.Unmarshal(body, &u.TeamMergeTo)
+
+ if err != nil {
+ return err
+ }
+ case "team_profile_add_logo":
+ err = json.Unmarshal(body, &u.TeamProfileAddLogo)
+
+ if err != nil {
+ return err
+ }
+ case "team_profile_change_default_language":
+ err = json.Unmarshal(body, &u.TeamProfileChangeDefaultLanguage)
+
+ if err != nil {
+ return err
+ }
+ case "team_profile_change_logo":
+ err = json.Unmarshal(body, &u.TeamProfileChangeLogo)
+
+ if err != nil {
+ return err
+ }
+ case "team_profile_change_name":
+ err = json.Unmarshal(body, &u.TeamProfileChangeName)
+
+ if err != nil {
+ return err
+ }
+ case "team_profile_remove_logo":
+ err = json.Unmarshal(body, &u.TeamProfileRemoveLogo)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_add_backup_phone":
+ err = json.Unmarshal(body, &u.TfaAddBackupPhone)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_add_security_key":
+ err = json.Unmarshal(body, &u.TfaAddSecurityKey)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_change_backup_phone":
+ err = json.Unmarshal(body, &u.TfaChangeBackupPhone)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_change_status":
+ err = json.Unmarshal(body, &u.TfaChangeStatus)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_remove_backup_phone":
+ err = json.Unmarshal(body, &u.TfaRemoveBackupPhone)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_remove_security_key":
+ err = json.Unmarshal(body, &u.TfaRemoveSecurityKey)
+
+ if err != nil {
+ return err
+ }
+ case "tfa_reset":
+ err = json.Unmarshal(body, &u.TfaReset)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// ExportMembersReportDetails : Created member data report.
+type ExportMembersReportDetails struct {
+}
+
+// NewExportMembersReportDetails returns a new ExportMembersReportDetails instance
+func NewExportMembersReportDetails() *ExportMembersReportDetails {
+ s := new(ExportMembersReportDetails)
+ return s
+}
+
+// ExportMembersReportType : has no documentation (yet)
+type ExportMembersReportType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewExportMembersReportType returns a new ExportMembersReportType instance
+func NewExportMembersReportType(Description string) *ExportMembersReportType {
+ s := new(ExportMembersReportType)
+ s.Description = Description
+ return s
+}
+
+// ExtendedVersionHistoryChangePolicyDetails : Accepted/opted out of extended
+// version history.
+type ExtendedVersionHistoryChangePolicyDetails struct {
+ // NewValue : New extended version history policy.
+ NewValue *ExtendedVersionHistoryPolicy `json:"new_value"`
+ // PreviousValue : Previous extended version history policy. Might be
+ // missing due to historical data gap.
+ PreviousValue *ExtendedVersionHistoryPolicy `json:"previous_value,omitempty"`
+}
+
+// NewExtendedVersionHistoryChangePolicyDetails returns a new ExtendedVersionHistoryChangePolicyDetails instance
+func NewExtendedVersionHistoryChangePolicyDetails(NewValue *ExtendedVersionHistoryPolicy) *ExtendedVersionHistoryChangePolicyDetails {
+ s := new(ExtendedVersionHistoryChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// ExtendedVersionHistoryChangePolicyType : has no documentation (yet)
+type ExtendedVersionHistoryChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewExtendedVersionHistoryChangePolicyType returns a new ExtendedVersionHistoryChangePolicyType instance
+func NewExtendedVersionHistoryChangePolicyType(Description string) *ExtendedVersionHistoryChangePolicyType {
+ s := new(ExtendedVersionHistoryChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// ExtendedVersionHistoryPolicy : has no documentation (yet)
+type ExtendedVersionHistoryPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for ExtendedVersionHistoryPolicy
+const (
+ ExtendedVersionHistoryPolicyExplicitlyLimited = "explicitly_limited"
+ ExtendedVersionHistoryPolicyExplicitlyUnlimited = "explicitly_unlimited"
+ ExtendedVersionHistoryPolicyImplicitlyLimited = "implicitly_limited"
+ ExtendedVersionHistoryPolicyImplicitlyUnlimited = "implicitly_unlimited"
+ ExtendedVersionHistoryPolicyOther = "other"
+)
+
+// ExternalUserLogInfo : A user without a Dropbox account.
+type ExternalUserLogInfo struct {
+ // UserIdentifier : An external user identifier.
+ UserIdentifier string `json:"user_identifier"`
+ // IdentifierType : Identifier type.
+ IdentifierType *IdentifierType `json:"identifier_type"`
+}
+
+// NewExternalUserLogInfo returns a new ExternalUserLogInfo instance
+func NewExternalUserLogInfo(UserIdentifier string, IdentifierType *IdentifierType) *ExternalUserLogInfo {
+ s := new(ExternalUserLogInfo)
+ s.UserIdentifier = UserIdentifier
+ s.IdentifierType = IdentifierType
+ return s
+}
+
+// FailureDetailsLogInfo : Provides details about a failure
+type FailureDetailsLogInfo struct {
+ // UserFriendlyMessage : A user friendly explanation of the error. Might be
+ // missing due to historical data gap.
+ UserFriendlyMessage string `json:"user_friendly_message,omitempty"`
+ // TechnicalErrorMessage : A technical explanation of the error. This is
+ // relevant for some errors.
+ TechnicalErrorMessage string `json:"technical_error_message,omitempty"`
+}
+
+// NewFailureDetailsLogInfo returns a new FailureDetailsLogInfo instance
+func NewFailureDetailsLogInfo() *FailureDetailsLogInfo {
+ s := new(FailureDetailsLogInfo)
+ return s
+}
+
+// FileAddCommentDetails : Added file comment.
+type FileAddCommentDetails struct {
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewFileAddCommentDetails returns a new FileAddCommentDetails instance
+func NewFileAddCommentDetails() *FileAddCommentDetails {
+ s := new(FileAddCommentDetails)
+ return s
+}
+
+// FileAddCommentType : has no documentation (yet)
+type FileAddCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileAddCommentType returns a new FileAddCommentType instance
+func NewFileAddCommentType(Description string) *FileAddCommentType {
+ s := new(FileAddCommentType)
+ s.Description = Description
+ return s
+}
// FileAddDetails : Added files and/or folders.
type FileAddDetails struct {
}
-// NewFileAddDetails returns a new FileAddDetails instance
-func NewFileAddDetails() *FileAddDetails {
- s := new(FileAddDetails)
+// NewFileAddDetails returns a new FileAddDetails instance
+func NewFileAddDetails() *FileAddDetails {
+ s := new(FileAddDetails)
+ return s
+}
+
+// FileAddType : has no documentation (yet)
+type FileAddType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileAddType returns a new FileAddType instance
+func NewFileAddType(Description string) *FileAddType {
+ s := new(FileAddType)
+ s.Description = Description
+ return s
+}
+
+// FileChangeCommentSubscriptionDetails : Subscribed to or unsubscribed from
+// comment notifications for file.
+type FileChangeCommentSubscriptionDetails struct {
+ // NewValue : New file comment subscription.
+ NewValue *FileCommentNotificationPolicy `json:"new_value"`
+ // PreviousValue : Previous file comment subscription. Might be missing due
+ // to historical data gap.
+ PreviousValue *FileCommentNotificationPolicy `json:"previous_value,omitempty"`
+}
+
+// NewFileChangeCommentSubscriptionDetails returns a new FileChangeCommentSubscriptionDetails instance
+func NewFileChangeCommentSubscriptionDetails(NewValue *FileCommentNotificationPolicy) *FileChangeCommentSubscriptionDetails {
+ s := new(FileChangeCommentSubscriptionDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// FileChangeCommentSubscriptionType : has no documentation (yet)
+type FileChangeCommentSubscriptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileChangeCommentSubscriptionType returns a new FileChangeCommentSubscriptionType instance
+func NewFileChangeCommentSubscriptionType(Description string) *FileChangeCommentSubscriptionType {
+ s := new(FileChangeCommentSubscriptionType)
+ s.Description = Description
+ return s
+}
+
+// FileCommentNotificationPolicy : Enable or disable file comments notifications
+type FileCommentNotificationPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for FileCommentNotificationPolicy
+const (
+ FileCommentNotificationPolicyDisabled = "disabled"
+ FileCommentNotificationPolicyEnabled = "enabled"
+ FileCommentNotificationPolicyOther = "other"
+)
+
+// FileCommentsChangePolicyDetails : Enabled/disabled commenting on team files.
+type FileCommentsChangePolicyDetails struct {
+ // NewValue : New commenting on team files policy.
+ NewValue *FileCommentsPolicy `json:"new_value"`
+ // PreviousValue : Previous commenting on team files policy. Might be
+ // missing due to historical data gap.
+ PreviousValue *FileCommentsPolicy `json:"previous_value,omitempty"`
+}
+
+// NewFileCommentsChangePolicyDetails returns a new FileCommentsChangePolicyDetails instance
+func NewFileCommentsChangePolicyDetails(NewValue *FileCommentsPolicy) *FileCommentsChangePolicyDetails {
+ s := new(FileCommentsChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// FileCommentsChangePolicyType : has no documentation (yet)
+type FileCommentsChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileCommentsChangePolicyType returns a new FileCommentsChangePolicyType instance
+func NewFileCommentsChangePolicyType(Description string) *FileCommentsChangePolicyType {
+ s := new(FileCommentsChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// FileCommentsPolicy : File comments policy
+type FileCommentsPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for FileCommentsPolicy
+const (
+ FileCommentsPolicyDisabled = "disabled"
+ FileCommentsPolicyEnabled = "enabled"
+ FileCommentsPolicyOther = "other"
+)
+
+// FileCopyDetails : Copied files and/or folders.
+type FileCopyDetails struct {
+ // RelocateActionDetails : Relocate action details.
+ RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+}
+
+// NewFileCopyDetails returns a new FileCopyDetails instance
+func NewFileCopyDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileCopyDetails {
+ s := new(FileCopyDetails)
+ s.RelocateActionDetails = RelocateActionDetails
+ return s
+}
+
+// FileCopyType : has no documentation (yet)
+type FileCopyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileCopyType returns a new FileCopyType instance
+func NewFileCopyType(Description string) *FileCopyType {
+ s := new(FileCopyType)
+ s.Description = Description
+ return s
+}
+
+// FileDeleteCommentDetails : Deleted file comment.
+type FileDeleteCommentDetails struct {
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewFileDeleteCommentDetails returns a new FileDeleteCommentDetails instance
+func NewFileDeleteCommentDetails() *FileDeleteCommentDetails {
+ s := new(FileDeleteCommentDetails)
+ return s
+}
+
+// FileDeleteCommentType : has no documentation (yet)
+type FileDeleteCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileDeleteCommentType returns a new FileDeleteCommentType instance
+func NewFileDeleteCommentType(Description string) *FileDeleteCommentType {
+ s := new(FileDeleteCommentType)
+ s.Description = Description
+ return s
+}
+
+// FileDeleteDetails : Deleted files and/or folders.
+type FileDeleteDetails struct {
+}
+
+// NewFileDeleteDetails returns a new FileDeleteDetails instance
+func NewFileDeleteDetails() *FileDeleteDetails {
+ s := new(FileDeleteDetails)
+ return s
+}
+
+// FileDeleteType : has no documentation (yet)
+type FileDeleteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileDeleteType returns a new FileDeleteType instance
+func NewFileDeleteType(Description string) *FileDeleteType {
+ s := new(FileDeleteType)
+ s.Description = Description
+ return s
+}
+
+// FileDownloadDetails : Downloaded files and/or folders.
+type FileDownloadDetails struct {
+}
+
+// NewFileDownloadDetails returns a new FileDownloadDetails instance
+func NewFileDownloadDetails() *FileDownloadDetails {
+ s := new(FileDownloadDetails)
+ return s
+}
+
+// FileDownloadType : has no documentation (yet)
+type FileDownloadType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileDownloadType returns a new FileDownloadType instance
+func NewFileDownloadType(Description string) *FileDownloadType {
+ s := new(FileDownloadType)
+ s.Description = Description
+ return s
+}
+
+// FileEditDetails : Edited files.
+type FileEditDetails struct {
+}
+
+// NewFileEditDetails returns a new FileEditDetails instance
+func NewFileEditDetails() *FileEditDetails {
+ s := new(FileEditDetails)
+ return s
+}
+
+// FileEditType : has no documentation (yet)
+type FileEditType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileEditType returns a new FileEditType instance
+func NewFileEditType(Description string) *FileEditType {
+ s := new(FileEditType)
+ s.Description = Description
+ return s
+}
+
+// FileGetCopyReferenceDetails : Created copy reference to file/folder.
+type FileGetCopyReferenceDetails struct {
+}
+
+// NewFileGetCopyReferenceDetails returns a new FileGetCopyReferenceDetails instance
+func NewFileGetCopyReferenceDetails() *FileGetCopyReferenceDetails {
+ s := new(FileGetCopyReferenceDetails)
+ return s
+}
+
+// FileGetCopyReferenceType : has no documentation (yet)
+type FileGetCopyReferenceType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileGetCopyReferenceType returns a new FileGetCopyReferenceType instance
+func NewFileGetCopyReferenceType(Description string) *FileGetCopyReferenceType {
+ s := new(FileGetCopyReferenceType)
+ s.Description = Description
+ return s
+}
+
+// FileLikeCommentDetails : Liked file comment.
+type FileLikeCommentDetails struct {
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewFileLikeCommentDetails returns a new FileLikeCommentDetails instance
+func NewFileLikeCommentDetails() *FileLikeCommentDetails {
+ s := new(FileLikeCommentDetails)
+ return s
+}
+
+// FileLikeCommentType : has no documentation (yet)
+type FileLikeCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileLikeCommentType returns a new FileLikeCommentType instance
+func NewFileLikeCommentType(Description string) *FileLikeCommentType {
+ s := new(FileLikeCommentType)
+ s.Description = Description
+ return s
+}
+
+// FileOrFolderLogInfo : Generic information relevant both for files and folders
+type FileOrFolderLogInfo struct {
+ // Path : Path relative to event context.
+ Path *PathLogInfo `json:"path"`
+ // DisplayName : Display name. Might be missing due to historical data gap.
+ DisplayName string `json:"display_name,omitempty"`
+ // FileId : Unique ID. Might be missing due to historical data gap.
+ FileId string `json:"file_id,omitempty"`
+}
+
+// NewFileOrFolderLogInfo returns a new FileOrFolderLogInfo instance
+func NewFileOrFolderLogInfo(Path *PathLogInfo) *FileOrFolderLogInfo {
+ s := new(FileOrFolderLogInfo)
+ s.Path = Path
+ return s
+}
+
+// FileLogInfo : File's logged information.
+type FileLogInfo struct {
+ FileOrFolderLogInfo
+}
+
+// NewFileLogInfo returns a new FileLogInfo instance
+func NewFileLogInfo(Path *PathLogInfo) *FileLogInfo {
+ s := new(FileLogInfo)
+ s.Path = Path
+ return s
+}
+
+// FileMoveDetails : Moved files and/or folders.
+type FileMoveDetails struct {
+ // RelocateActionDetails : Relocate action details.
+ RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+}
+
+// NewFileMoveDetails returns a new FileMoveDetails instance
+func NewFileMoveDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileMoveDetails {
+ s := new(FileMoveDetails)
+ s.RelocateActionDetails = RelocateActionDetails
+ return s
+}
+
+// FileMoveType : has no documentation (yet)
+type FileMoveType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileMoveType returns a new FileMoveType instance
+func NewFileMoveType(Description string) *FileMoveType {
+ s := new(FileMoveType)
+ s.Description = Description
+ return s
+}
+
+// FilePermanentlyDeleteDetails : Permanently deleted files and/or folders.
+type FilePermanentlyDeleteDetails struct {
+}
+
+// NewFilePermanentlyDeleteDetails returns a new FilePermanentlyDeleteDetails instance
+func NewFilePermanentlyDeleteDetails() *FilePermanentlyDeleteDetails {
+ s := new(FilePermanentlyDeleteDetails)
+ return s
+}
+
+// FilePermanentlyDeleteType : has no documentation (yet)
+type FilePermanentlyDeleteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFilePermanentlyDeleteType returns a new FilePermanentlyDeleteType instance
+func NewFilePermanentlyDeleteType(Description string) *FilePermanentlyDeleteType {
+ s := new(FilePermanentlyDeleteType)
+ s.Description = Description
+ return s
+}
+
+// FilePreviewDetails : Previewed files and/or folders.
+type FilePreviewDetails struct {
+}
+
+// NewFilePreviewDetails returns a new FilePreviewDetails instance
+func NewFilePreviewDetails() *FilePreviewDetails {
+ s := new(FilePreviewDetails)
+ return s
+}
+
+// FilePreviewType : has no documentation (yet)
+type FilePreviewType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFilePreviewType returns a new FilePreviewType instance
+func NewFilePreviewType(Description string) *FilePreviewType {
+ s := new(FilePreviewType)
+ s.Description = Description
+ return s
+}
+
+// FileRenameDetails : Renamed files and/or folders.
+type FileRenameDetails struct {
+ // RelocateActionDetails : Relocate action details.
+ RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+}
+
+// NewFileRenameDetails returns a new FileRenameDetails instance
+func NewFileRenameDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileRenameDetails {
+ s := new(FileRenameDetails)
+ s.RelocateActionDetails = RelocateActionDetails
+ return s
+}
+
+// FileRenameType : has no documentation (yet)
+type FileRenameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRenameType returns a new FileRenameType instance
+func NewFileRenameType(Description string) *FileRenameType {
+ s := new(FileRenameType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestChangeDetails : Changed file request.
+type FileRequestChangeDetails struct {
+ // FileRequestId : File request id. Might be missing due to historical data
+ // gap.
+ FileRequestId string `json:"file_request_id,omitempty"`
+ // PreviousDetails : Previous file request details. Might be missing due to
+ // historical data gap.
+ PreviousDetails *FileRequestDetails `json:"previous_details,omitempty"`
+ // NewDetails : New file request details.
+ NewDetails *FileRequestDetails `json:"new_details"`
+}
+
+// NewFileRequestChangeDetails returns a new FileRequestChangeDetails instance
+func NewFileRequestChangeDetails(NewDetails *FileRequestDetails) *FileRequestChangeDetails {
+ s := new(FileRequestChangeDetails)
+ s.NewDetails = NewDetails
+ return s
+}
+
+// FileRequestChangeType : has no documentation (yet)
+type FileRequestChangeType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestChangeType returns a new FileRequestChangeType instance
+func NewFileRequestChangeType(Description string) *FileRequestChangeType {
+ s := new(FileRequestChangeType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestCloseDetails : Closed file request.
+type FileRequestCloseDetails struct {
+ // FileRequestId : File request id. Might be missing due to historical data
+ // gap.
+ FileRequestId string `json:"file_request_id,omitempty"`
+ // PreviousDetails : Previous file request details. Might be missing due to
+ // historical data gap.
+ PreviousDetails *FileRequestDetails `json:"previous_details,omitempty"`
+}
+
+// NewFileRequestCloseDetails returns a new FileRequestCloseDetails instance
+func NewFileRequestCloseDetails() *FileRequestCloseDetails {
+ s := new(FileRequestCloseDetails)
+ return s
+}
+
+// FileRequestCloseType : has no documentation (yet)
+type FileRequestCloseType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestCloseType returns a new FileRequestCloseType instance
+func NewFileRequestCloseType(Description string) *FileRequestCloseType {
+ s := new(FileRequestCloseType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestCreateDetails : Created file request.
+type FileRequestCreateDetails struct {
+ // FileRequestId : File request id. Might be missing due to historical data
+ // gap.
+ FileRequestId string `json:"file_request_id,omitempty"`
+ // RequestDetails : File request details. Might be missing due to historical
+ // data gap.
+ RequestDetails *FileRequestDetails `json:"request_details,omitempty"`
+}
+
+// NewFileRequestCreateDetails returns a new FileRequestCreateDetails instance
+func NewFileRequestCreateDetails() *FileRequestCreateDetails {
+ s := new(FileRequestCreateDetails)
+ return s
+}
+
+// FileRequestCreateType : has no documentation (yet)
+type FileRequestCreateType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestCreateType returns a new FileRequestCreateType instance
+func NewFileRequestCreateType(Description string) *FileRequestCreateType {
+ s := new(FileRequestCreateType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestDeadline : File request deadline
+type FileRequestDeadline struct {
+ // Deadline : The deadline for this file request. Might be missing due to
+ // historical data gap.
+ Deadline time.Time `json:"deadline,omitempty"`
+ // AllowLateUploads : If set, allow uploads after the deadline has passed.
+ // Might be missing due to historical data gap.
+ AllowLateUploads string `json:"allow_late_uploads,omitempty"`
+}
+
+// NewFileRequestDeadline returns a new FileRequestDeadline instance
+func NewFileRequestDeadline() *FileRequestDeadline {
+ s := new(FileRequestDeadline)
+ return s
+}
+
+// FileRequestDetails : File request details
+type FileRequestDetails struct {
+ // AssetIndex : Asset position in the Assets list.
+ AssetIndex uint64 `json:"asset_index"`
+ // Deadline : File request deadline. Might be missing due to historical data
+ // gap.
+ Deadline *FileRequestDeadline `json:"deadline,omitempty"`
+}
+
+// NewFileRequestDetails returns a new FileRequestDetails instance
+func NewFileRequestDetails(AssetIndex uint64) *FileRequestDetails {
+ s := new(FileRequestDetails)
+ s.AssetIndex = AssetIndex
+ return s
+}
+
+// FileRequestReceiveFileDetails : Received files for file request.
+type FileRequestReceiveFileDetails struct {
+ // FileRequestId : File request id. Might be missing due to historical data
+ // gap.
+ FileRequestId string `json:"file_request_id,omitempty"`
+ // FileRequestDetails : File request details. Might be missing due to
+ // historical data gap.
+ FileRequestDetails *FileRequestDetails `json:"file_request_details,omitempty"`
+ // SubmittedFileNames : Submitted file names.
+ SubmittedFileNames []string `json:"submitted_file_names"`
+ // SubmitterName : The name as provided by the submitter. Might be missing
+ // due to historical data gap.
+ SubmitterName string `json:"submitter_name,omitempty"`
+ // SubmitterEmail : The email as provided by the submitter. Might be missing
+ // due to historical data gap.
+ SubmitterEmail string `json:"submitter_email,omitempty"`
+}
+
+// NewFileRequestReceiveFileDetails returns a new FileRequestReceiveFileDetails instance
+func NewFileRequestReceiveFileDetails(SubmittedFileNames []string) *FileRequestReceiveFileDetails {
+ s := new(FileRequestReceiveFileDetails)
+ s.SubmittedFileNames = SubmittedFileNames
+ return s
+}
+
+// FileRequestReceiveFileType : has no documentation (yet)
+type FileRequestReceiveFileType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestReceiveFileType returns a new FileRequestReceiveFileType instance
+func NewFileRequestReceiveFileType(Description string) *FileRequestReceiveFileType {
+ s := new(FileRequestReceiveFileType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestsChangePolicyDetails : Enabled/disabled file requests.
+type FileRequestsChangePolicyDetails struct {
+ // NewValue : New file requests policy.
+ NewValue *FileRequestsPolicy `json:"new_value"`
+ // PreviousValue : Previous file requests policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *FileRequestsPolicy `json:"previous_value,omitempty"`
+}
+
+// NewFileRequestsChangePolicyDetails returns a new FileRequestsChangePolicyDetails instance
+func NewFileRequestsChangePolicyDetails(NewValue *FileRequestsPolicy) *FileRequestsChangePolicyDetails {
+ s := new(FileRequestsChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// FileRequestsChangePolicyType : has no documentation (yet)
+type FileRequestsChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestsChangePolicyType returns a new FileRequestsChangePolicyType instance
+func NewFileRequestsChangePolicyType(Description string) *FileRequestsChangePolicyType {
+ s := new(FileRequestsChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestsEmailsEnabledDetails : Enabled file request emails for everyone.
+type FileRequestsEmailsEnabledDetails struct {
+}
+
+// NewFileRequestsEmailsEnabledDetails returns a new FileRequestsEmailsEnabledDetails instance
+func NewFileRequestsEmailsEnabledDetails() *FileRequestsEmailsEnabledDetails {
+ s := new(FileRequestsEmailsEnabledDetails)
+ return s
+}
+
+// FileRequestsEmailsEnabledType : has no documentation (yet)
+type FileRequestsEmailsEnabledType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestsEmailsEnabledType returns a new FileRequestsEmailsEnabledType instance
+func NewFileRequestsEmailsEnabledType(Description string) *FileRequestsEmailsEnabledType {
+ s := new(FileRequestsEmailsEnabledType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestsEmailsRestrictedToTeamOnlyDetails : Enabled file request emails
+// for team.
+type FileRequestsEmailsRestrictedToTeamOnlyDetails struct {
+}
+
+// NewFileRequestsEmailsRestrictedToTeamOnlyDetails returns a new FileRequestsEmailsRestrictedToTeamOnlyDetails instance
+func NewFileRequestsEmailsRestrictedToTeamOnlyDetails() *FileRequestsEmailsRestrictedToTeamOnlyDetails {
+ s := new(FileRequestsEmailsRestrictedToTeamOnlyDetails)
+ return s
+}
+
+// FileRequestsEmailsRestrictedToTeamOnlyType : has no documentation (yet)
+type FileRequestsEmailsRestrictedToTeamOnlyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRequestsEmailsRestrictedToTeamOnlyType returns a new FileRequestsEmailsRestrictedToTeamOnlyType instance
+func NewFileRequestsEmailsRestrictedToTeamOnlyType(Description string) *FileRequestsEmailsRestrictedToTeamOnlyType {
+ s := new(FileRequestsEmailsRestrictedToTeamOnlyType)
+ s.Description = Description
+ return s
+}
+
+// FileRequestsPolicy : File requests policy
+type FileRequestsPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for FileRequestsPolicy
+const (
+ FileRequestsPolicyDisabled = "disabled"
+ FileRequestsPolicyEnabled = "enabled"
+ FileRequestsPolicyOther = "other"
+)
+
+// FileResolveCommentDetails : Resolved file comment.
+type FileResolveCommentDetails struct {
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewFileResolveCommentDetails returns a new FileResolveCommentDetails instance
+func NewFileResolveCommentDetails() *FileResolveCommentDetails {
+ s := new(FileResolveCommentDetails)
+ return s
+}
+
+// FileResolveCommentType : has no documentation (yet)
+type FileResolveCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileResolveCommentType returns a new FileResolveCommentType instance
+func NewFileResolveCommentType(Description string) *FileResolveCommentType {
+ s := new(FileResolveCommentType)
+ s.Description = Description
+ return s
+}
+
+// FileRestoreDetails : Restored deleted files and/or folders.
+type FileRestoreDetails struct {
+}
+
+// NewFileRestoreDetails returns a new FileRestoreDetails instance
+func NewFileRestoreDetails() *FileRestoreDetails {
+ s := new(FileRestoreDetails)
+ return s
+}
+
+// FileRestoreType : has no documentation (yet)
+type FileRestoreType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRestoreType returns a new FileRestoreType instance
+func NewFileRestoreType(Description string) *FileRestoreType {
+ s := new(FileRestoreType)
+ s.Description = Description
+ return s
+}
+
+// FileRevertDetails : Reverted files to previous version.
+type FileRevertDetails struct {
+}
+
+// NewFileRevertDetails returns a new FileRevertDetails instance
+func NewFileRevertDetails() *FileRevertDetails {
+ s := new(FileRevertDetails)
+ return s
+}
+
+// FileRevertType : has no documentation (yet)
+type FileRevertType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRevertType returns a new FileRevertType instance
+func NewFileRevertType(Description string) *FileRevertType {
+ s := new(FileRevertType)
+ s.Description = Description
+ return s
+}
+
+// FileRollbackChangesDetails : Rolled back file actions.
+type FileRollbackChangesDetails struct {
+}
+
+// NewFileRollbackChangesDetails returns a new FileRollbackChangesDetails instance
+func NewFileRollbackChangesDetails() *FileRollbackChangesDetails {
+ s := new(FileRollbackChangesDetails)
+ return s
+}
+
+// FileRollbackChangesType : has no documentation (yet)
+type FileRollbackChangesType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileRollbackChangesType returns a new FileRollbackChangesType instance
+func NewFileRollbackChangesType(Description string) *FileRollbackChangesType {
+ s := new(FileRollbackChangesType)
+ s.Description = Description
+ return s
+}
+
+// FileSaveCopyReferenceDetails : Saved file/folder using copy reference.
+type FileSaveCopyReferenceDetails struct {
+ // RelocateActionDetails : Relocate action details.
+ RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+}
+
+// NewFileSaveCopyReferenceDetails returns a new FileSaveCopyReferenceDetails instance
+func NewFileSaveCopyReferenceDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileSaveCopyReferenceDetails {
+ s := new(FileSaveCopyReferenceDetails)
+ s.RelocateActionDetails = RelocateActionDetails
+ return s
+}
+
+// FileSaveCopyReferenceType : has no documentation (yet)
+type FileSaveCopyReferenceType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileSaveCopyReferenceType returns a new FileSaveCopyReferenceType instance
+func NewFileSaveCopyReferenceType(Description string) *FileSaveCopyReferenceType {
+ s := new(FileSaveCopyReferenceType)
+ s.Description = Description
+ return s
+}
+
+// FileUnlikeCommentDetails : Unliked file comment.
+type FileUnlikeCommentDetails struct {
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewFileUnlikeCommentDetails returns a new FileUnlikeCommentDetails instance
+func NewFileUnlikeCommentDetails() *FileUnlikeCommentDetails {
+ s := new(FileUnlikeCommentDetails)
+ return s
+}
+
+// FileUnlikeCommentType : has no documentation (yet)
+type FileUnlikeCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileUnlikeCommentType returns a new FileUnlikeCommentType instance
+func NewFileUnlikeCommentType(Description string) *FileUnlikeCommentType {
+ s := new(FileUnlikeCommentType)
+ s.Description = Description
+ return s
+}
+
+// FileUnresolveCommentDetails : Unresolved file comment.
+type FileUnresolveCommentDetails struct {
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewFileUnresolveCommentDetails returns a new FileUnresolveCommentDetails instance
+func NewFileUnresolveCommentDetails() *FileUnresolveCommentDetails {
+ s := new(FileUnresolveCommentDetails)
+ return s
+}
+
+// FileUnresolveCommentType : has no documentation (yet)
+type FileUnresolveCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewFileUnresolveCommentType returns a new FileUnresolveCommentType instance
+func NewFileUnresolveCommentType(Description string) *FileUnresolveCommentType {
+ s := new(FileUnresolveCommentType)
+ s.Description = Description
+ return s
+}
+
+// FolderLogInfo : Folder's logged information.
+type FolderLogInfo struct {
+ FileOrFolderLogInfo
+}
+
+// NewFolderLogInfo returns a new FolderLogInfo instance
+func NewFolderLogInfo(Path *PathLogInfo) *FolderLogInfo {
+ s := new(FolderLogInfo)
+ s.Path = Path
+ return s
+}
+
+// GeoLocationLogInfo : Geographic location details.
+type GeoLocationLogInfo struct {
+ // City : City name.
+ City string `json:"city,omitempty"`
+ // Region : Region name.
+ Region string `json:"region,omitempty"`
+ // Country : Country code.
+ Country string `json:"country,omitempty"`
+ // IpAddress : IP address.
+ IpAddress string `json:"ip_address"`
+}
+
+// NewGeoLocationLogInfo returns a new GeoLocationLogInfo instance
+func NewGeoLocationLogInfo(IpAddress string) *GeoLocationLogInfo {
+ s := new(GeoLocationLogInfo)
+ s.IpAddress = IpAddress
+ return s
+}
+
+// GetTeamEventsArg : has no documentation (yet)
+type GetTeamEventsArg struct {
+ // Limit : Number of results to return per call.
+ Limit uint32 `json:"limit"`
+ // AccountId : Filter the events by account ID. Return ony events with this
+ // account_id as either Actor, Context, or Participants.
+ AccountId string `json:"account_id,omitempty"`
+ // Time : Filter by time range.
+ Time *team_common.TimeRange `json:"time,omitempty"`
+ // Category : Filter the returned events to a single category.
+ Category *EventCategory `json:"category,omitempty"`
+}
+
+// NewGetTeamEventsArg returns a new GetTeamEventsArg instance
+func NewGetTeamEventsArg() *GetTeamEventsArg {
+ s := new(GetTeamEventsArg)
+ s.Limit = 1000
+ return s
+}
+
+// GetTeamEventsContinueArg : has no documentation (yet)
+type GetTeamEventsContinueArg struct {
+ // Cursor : Indicates from what point to get the next set of events.
+ Cursor string `json:"cursor"`
+}
+
+// NewGetTeamEventsContinueArg returns a new GetTeamEventsContinueArg instance
+func NewGetTeamEventsContinueArg(Cursor string) *GetTeamEventsContinueArg {
+ s := new(GetTeamEventsContinueArg)
+ s.Cursor = Cursor
+ return s
+}
+
+// GetTeamEventsContinueError : Errors that can be raised when calling
+// `getEventsContinue`.
+type GetTeamEventsContinueError struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for GetTeamEventsContinueError
+const (
+ GetTeamEventsContinueErrorBadCursor = "bad_cursor"
+ GetTeamEventsContinueErrorOther = "other"
+)
+
+// GetTeamEventsError : Errors that can be raised when calling `getEvents`.
+type GetTeamEventsError struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for GetTeamEventsError
+const (
+ GetTeamEventsErrorAccountIdNotFound = "account_id_not_found"
+ GetTeamEventsErrorInvalidTimeRange = "invalid_time_range"
+ GetTeamEventsErrorOther = "other"
+)
+
+// GetTeamEventsResult : has no documentation (yet)
+type GetTeamEventsResult struct {
+ // Events : List of events.
+ Events []*TeamEvent `json:"events"`
+ // Cursor : Pass the cursor into `getEventsContinue` to obtain additional
+ // events.
+ Cursor string `json:"cursor"`
+ // HasMore : Is true if there are additional events that have not been
+ // returned yet. An additional call to `getEventsContinue` can retrieve
+ // them.
+ HasMore bool `json:"has_more"`
+}
+
+// NewGetTeamEventsResult returns a new GetTeamEventsResult instance
+func NewGetTeamEventsResult(Events []*TeamEvent, Cursor string, HasMore bool) *GetTeamEventsResult {
+ s := new(GetTeamEventsResult)
+ s.Events = Events
+ s.Cursor = Cursor
+ s.HasMore = HasMore
+ return s
+}
+
+// GoogleSsoChangePolicyDetails : Enabled/disabled Google single sign-on for
+// team.
+type GoogleSsoChangePolicyDetails struct {
+ // NewValue : New Google single sign-on policy.
+ NewValue *GoogleSsoPolicy `json:"new_value"`
+ // PreviousValue : Previous Google single sign-on policy. Might be missing
+ // due to historical data gap.
+ PreviousValue *GoogleSsoPolicy `json:"previous_value,omitempty"`
+}
+
+// NewGoogleSsoChangePolicyDetails returns a new GoogleSsoChangePolicyDetails instance
+func NewGoogleSsoChangePolicyDetails(NewValue *GoogleSsoPolicy) *GoogleSsoChangePolicyDetails {
+ s := new(GoogleSsoChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// GoogleSsoChangePolicyType : has no documentation (yet)
+type GoogleSsoChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGoogleSsoChangePolicyType returns a new GoogleSsoChangePolicyType instance
+func NewGoogleSsoChangePolicyType(Description string) *GoogleSsoChangePolicyType {
+ s := new(GoogleSsoChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// GoogleSsoPolicy : Google SSO policy
+type GoogleSsoPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for GoogleSsoPolicy
+const (
+ GoogleSsoPolicyDisabled = "disabled"
+ GoogleSsoPolicyEnabled = "enabled"
+ GoogleSsoPolicyOther = "other"
+)
+
+// GroupAddExternalIdDetails : Added external ID for group.
+type GroupAddExternalIdDetails struct {
+ // NewValue : Current external id.
+ NewValue string `json:"new_value"`
+}
+
+// NewGroupAddExternalIdDetails returns a new GroupAddExternalIdDetails instance
+func NewGroupAddExternalIdDetails(NewValue string) *GroupAddExternalIdDetails {
+ s := new(GroupAddExternalIdDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// GroupAddExternalIdType : has no documentation (yet)
+type GroupAddExternalIdType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupAddExternalIdType returns a new GroupAddExternalIdType instance
+func NewGroupAddExternalIdType(Description string) *GroupAddExternalIdType {
+ s := new(GroupAddExternalIdType)
+ s.Description = Description
+ return s
+}
+
+// GroupAddMemberDetails : Added team members to group.
+type GroupAddMemberDetails struct {
+ // IsGroupOwner : Is group owner.
+ IsGroupOwner bool `json:"is_group_owner"`
+}
+
+// NewGroupAddMemberDetails returns a new GroupAddMemberDetails instance
+func NewGroupAddMemberDetails(IsGroupOwner bool) *GroupAddMemberDetails {
+ s := new(GroupAddMemberDetails)
+ s.IsGroupOwner = IsGroupOwner
+ return s
+}
+
+// GroupAddMemberType : has no documentation (yet)
+type GroupAddMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupAddMemberType returns a new GroupAddMemberType instance
+func NewGroupAddMemberType(Description string) *GroupAddMemberType {
+ s := new(GroupAddMemberType)
+ s.Description = Description
+ return s
+}
+
+// GroupChangeExternalIdDetails : Changed external ID for group.
+type GroupChangeExternalIdDetails struct {
+ // NewValue : Current external id.
+ NewValue string `json:"new_value"`
+ // PreviousValue : Old external id.
+ PreviousValue string `json:"previous_value"`
+}
+
+// NewGroupChangeExternalIdDetails returns a new GroupChangeExternalIdDetails instance
+func NewGroupChangeExternalIdDetails(NewValue string, PreviousValue string) *GroupChangeExternalIdDetails {
+ s := new(GroupChangeExternalIdDetails)
+ s.NewValue = NewValue
+ s.PreviousValue = PreviousValue
+ return s
+}
+
+// GroupChangeExternalIdType : has no documentation (yet)
+type GroupChangeExternalIdType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupChangeExternalIdType returns a new GroupChangeExternalIdType instance
+func NewGroupChangeExternalIdType(Description string) *GroupChangeExternalIdType {
+ s := new(GroupChangeExternalIdType)
+ s.Description = Description
+ return s
+}
+
+// GroupChangeManagementTypeDetails : Changed group management type.
+type GroupChangeManagementTypeDetails struct {
+ // NewValue : New group management type.
+ NewValue *team_common.GroupManagementType `json:"new_value"`
+ // PreviousValue : Previous group management type. Might be missing due to
+ // historical data gap.
+ PreviousValue *team_common.GroupManagementType `json:"previous_value,omitempty"`
+}
+
+// NewGroupChangeManagementTypeDetails returns a new GroupChangeManagementTypeDetails instance
+func NewGroupChangeManagementTypeDetails(NewValue *team_common.GroupManagementType) *GroupChangeManagementTypeDetails {
+ s := new(GroupChangeManagementTypeDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// GroupChangeManagementTypeType : has no documentation (yet)
+type GroupChangeManagementTypeType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupChangeManagementTypeType returns a new GroupChangeManagementTypeType instance
+func NewGroupChangeManagementTypeType(Description string) *GroupChangeManagementTypeType {
+ s := new(GroupChangeManagementTypeType)
+ s.Description = Description
+ return s
+}
+
+// GroupChangeMemberRoleDetails : Changed manager permissions of group member.
+type GroupChangeMemberRoleDetails struct {
+ // IsGroupOwner : Is group owner.
+ IsGroupOwner bool `json:"is_group_owner"`
+}
+
+// NewGroupChangeMemberRoleDetails returns a new GroupChangeMemberRoleDetails instance
+func NewGroupChangeMemberRoleDetails(IsGroupOwner bool) *GroupChangeMemberRoleDetails {
+ s := new(GroupChangeMemberRoleDetails)
+ s.IsGroupOwner = IsGroupOwner
+ return s
+}
+
+// GroupChangeMemberRoleType : has no documentation (yet)
+type GroupChangeMemberRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupChangeMemberRoleType returns a new GroupChangeMemberRoleType instance
+func NewGroupChangeMemberRoleType(Description string) *GroupChangeMemberRoleType {
+ s := new(GroupChangeMemberRoleType)
+ s.Description = Description
+ return s
+}
+
+// GroupCreateDetails : Created group.
+type GroupCreateDetails struct {
+ // IsCompanyManaged : Is company managed group. Might be missing due to
+ // historical data gap.
+ IsCompanyManaged bool `json:"is_company_managed,omitempty"`
+ // JoinPolicy : Group join policy.
+ JoinPolicy *GroupJoinPolicy `json:"join_policy,omitempty"`
+}
+
+// NewGroupCreateDetails returns a new GroupCreateDetails instance
+func NewGroupCreateDetails() *GroupCreateDetails {
+ s := new(GroupCreateDetails)
+ return s
+}
+
+// GroupCreateType : has no documentation (yet)
+type GroupCreateType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupCreateType returns a new GroupCreateType instance
+func NewGroupCreateType(Description string) *GroupCreateType {
+ s := new(GroupCreateType)
+ s.Description = Description
+ return s
+}
+
+// GroupDeleteDetails : Deleted group.
+type GroupDeleteDetails struct {
+ // IsCompanyManaged : Is company managed group. Might be missing due to
+ // historical data gap.
+ IsCompanyManaged bool `json:"is_company_managed,omitempty"`
+}
+
+// NewGroupDeleteDetails returns a new GroupDeleteDetails instance
+func NewGroupDeleteDetails() *GroupDeleteDetails {
+ s := new(GroupDeleteDetails)
+ return s
+}
+
+// GroupDeleteType : has no documentation (yet)
+type GroupDeleteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupDeleteType returns a new GroupDeleteType instance
+func NewGroupDeleteType(Description string) *GroupDeleteType {
+ s := new(GroupDeleteType)
+ s.Description = Description
+ return s
+}
+
+// GroupDescriptionUpdatedDetails : Updated group.
+type GroupDescriptionUpdatedDetails struct {
+}
+
+// NewGroupDescriptionUpdatedDetails returns a new GroupDescriptionUpdatedDetails instance
+func NewGroupDescriptionUpdatedDetails() *GroupDescriptionUpdatedDetails {
+ s := new(GroupDescriptionUpdatedDetails)
+ return s
+}
+
+// GroupDescriptionUpdatedType : has no documentation (yet)
+type GroupDescriptionUpdatedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupDescriptionUpdatedType returns a new GroupDescriptionUpdatedType instance
+func NewGroupDescriptionUpdatedType(Description string) *GroupDescriptionUpdatedType {
+ s := new(GroupDescriptionUpdatedType)
+ s.Description = Description
+ return s
+}
+
+// GroupJoinPolicy : has no documentation (yet)
+type GroupJoinPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for GroupJoinPolicy
+const (
+ GroupJoinPolicyOpen = "open"
+ GroupJoinPolicyRequestToJoin = "request_to_join"
+ GroupJoinPolicyOther = "other"
+)
+
+// GroupJoinPolicyUpdatedDetails : Updated group join policy.
+type GroupJoinPolicyUpdatedDetails struct {
+ // IsCompanyManaged : Is company managed group. Might be missing due to
+ // historical data gap.
+ IsCompanyManaged bool `json:"is_company_managed,omitempty"`
+ // JoinPolicy : Group join policy.
+ JoinPolicy *GroupJoinPolicy `json:"join_policy,omitempty"`
+}
+
+// NewGroupJoinPolicyUpdatedDetails returns a new GroupJoinPolicyUpdatedDetails instance
+func NewGroupJoinPolicyUpdatedDetails() *GroupJoinPolicyUpdatedDetails {
+ s := new(GroupJoinPolicyUpdatedDetails)
+ return s
+}
+
+// GroupJoinPolicyUpdatedType : has no documentation (yet)
+type GroupJoinPolicyUpdatedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupJoinPolicyUpdatedType returns a new GroupJoinPolicyUpdatedType instance
+func NewGroupJoinPolicyUpdatedType(Description string) *GroupJoinPolicyUpdatedType {
+ s := new(GroupJoinPolicyUpdatedType)
+ s.Description = Description
+ return s
+}
+
+// GroupLogInfo : Group's logged information.
+type GroupLogInfo struct {
+ // GroupId : The unique id of this group. Might be missing due to historical
+ // data gap.
+ GroupId string `json:"group_id,omitempty"`
+ // DisplayName : The name of this group.
+ DisplayName string `json:"display_name"`
+ // ExternalId : External group ID. Might be missing due to historical data
+ // gap.
+ ExternalId string `json:"external_id,omitempty"`
+}
+
+// NewGroupLogInfo returns a new GroupLogInfo instance
+func NewGroupLogInfo(DisplayName string) *GroupLogInfo {
+ s := new(GroupLogInfo)
+ s.DisplayName = DisplayName
+ return s
+}
+
+// GroupMovedDetails : Moved group.
+type GroupMovedDetails struct {
+}
+
+// NewGroupMovedDetails returns a new GroupMovedDetails instance
+func NewGroupMovedDetails() *GroupMovedDetails {
+ s := new(GroupMovedDetails)
+ return s
+}
+
+// GroupMovedType : has no documentation (yet)
+type GroupMovedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupMovedType returns a new GroupMovedType instance
+func NewGroupMovedType(Description string) *GroupMovedType {
+ s := new(GroupMovedType)
+ s.Description = Description
+ return s
+}
+
+// GroupRemoveExternalIdDetails : Removed external ID for group.
+type GroupRemoveExternalIdDetails struct {
+ // PreviousValue : Old external id.
+ PreviousValue string `json:"previous_value"`
+}
+
+// NewGroupRemoveExternalIdDetails returns a new GroupRemoveExternalIdDetails instance
+func NewGroupRemoveExternalIdDetails(PreviousValue string) *GroupRemoveExternalIdDetails {
+ s := new(GroupRemoveExternalIdDetails)
+ s.PreviousValue = PreviousValue
+ return s
+}
+
+// GroupRemoveExternalIdType : has no documentation (yet)
+type GroupRemoveExternalIdType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupRemoveExternalIdType returns a new GroupRemoveExternalIdType instance
+func NewGroupRemoveExternalIdType(Description string) *GroupRemoveExternalIdType {
+ s := new(GroupRemoveExternalIdType)
+ s.Description = Description
+ return s
+}
+
+// GroupRemoveMemberDetails : Removed team members from group.
+type GroupRemoveMemberDetails struct {
+}
+
+// NewGroupRemoveMemberDetails returns a new GroupRemoveMemberDetails instance
+func NewGroupRemoveMemberDetails() *GroupRemoveMemberDetails {
+ s := new(GroupRemoveMemberDetails)
+ return s
+}
+
+// GroupRemoveMemberType : has no documentation (yet)
+type GroupRemoveMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupRemoveMemberType returns a new GroupRemoveMemberType instance
+func NewGroupRemoveMemberType(Description string) *GroupRemoveMemberType {
+ s := new(GroupRemoveMemberType)
+ s.Description = Description
+ return s
+}
+
+// GroupRenameDetails : Renamed group.
+type GroupRenameDetails struct {
+ // PreviousValue : Previous display name.
+ PreviousValue string `json:"previous_value"`
+ // NewValue : New display name.
+ NewValue string `json:"new_value"`
+}
+
+// NewGroupRenameDetails returns a new GroupRenameDetails instance
+func NewGroupRenameDetails(PreviousValue string, NewValue string) *GroupRenameDetails {
+ s := new(GroupRenameDetails)
+ s.PreviousValue = PreviousValue
+ s.NewValue = NewValue
+ return s
+}
+
+// GroupRenameType : has no documentation (yet)
+type GroupRenameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupRenameType returns a new GroupRenameType instance
+func NewGroupRenameType(Description string) *GroupRenameType {
+ s := new(GroupRenameType)
+ s.Description = Description
+ return s
+}
+
+// GroupUserManagementChangePolicyDetails : Changed who can create groups.
+type GroupUserManagementChangePolicyDetails struct {
+ // NewValue : New group users management policy.
+ NewValue *team_policies.GroupCreation `json:"new_value"`
+ // PreviousValue : Previous group users management policy. Might be missing
+ // due to historical data gap.
+ PreviousValue *team_policies.GroupCreation `json:"previous_value,omitempty"`
+}
+
+// NewGroupUserManagementChangePolicyDetails returns a new GroupUserManagementChangePolicyDetails instance
+func NewGroupUserManagementChangePolicyDetails(NewValue *team_policies.GroupCreation) *GroupUserManagementChangePolicyDetails {
+ s := new(GroupUserManagementChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// GroupUserManagementChangePolicyType : has no documentation (yet)
+type GroupUserManagementChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewGroupUserManagementChangePolicyType returns a new GroupUserManagementChangePolicyType instance
+func NewGroupUserManagementChangePolicyType(Description string) *GroupUserManagementChangePolicyType {
+ s := new(GroupUserManagementChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// IdentifierType : has no documentation (yet)
+type IdentifierType struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for IdentifierType
+const (
+ IdentifierTypeEmail = "email"
+ IdentifierTypeFacebookProfileName = "facebook_profile_name"
+ IdentifierTypeOther = "other"
+)
+
+// JoinTeamDetails : Additional information relevant when a new member joins the
+// team.
+type JoinTeamDetails struct {
+ // LinkedApps : Linked applications.
+ LinkedApps []*UserLinkedAppLogInfo `json:"linked_apps"`
+ // LinkedDevices : Linked devices.
+ LinkedDevices []*LinkedDeviceLogInfo `json:"linked_devices"`
+ // LinkedSharedFolders : Linked shared folders.
+ LinkedSharedFolders []*FolderLogInfo `json:"linked_shared_folders"`
+}
+
+// NewJoinTeamDetails returns a new JoinTeamDetails instance
+func NewJoinTeamDetails(LinkedApps []*UserLinkedAppLogInfo, LinkedDevices []*LinkedDeviceLogInfo, LinkedSharedFolders []*FolderLogInfo) *JoinTeamDetails {
+ s := new(JoinTeamDetails)
+ s.LinkedApps = LinkedApps
+ s.LinkedDevices = LinkedDevices
+ s.LinkedSharedFolders = LinkedSharedFolders
+ return s
+}
+
+// LegacyDeviceSessionLogInfo : Information on sessions, in legacy format
+type LegacyDeviceSessionLogInfo struct {
+ DeviceSessionLogInfo
+ // SessionInfo : Session unique id. Might be missing due to historical data
+ // gap.
+ SessionInfo IsSessionLogInfo `json:"session_info,omitempty"`
+ // DisplayName : The device name. Might be missing due to historical data
+ // gap.
+ DisplayName string `json:"display_name,omitempty"`
+ // IsEmmManaged : Is device managed by emm. Might be missing due to
+ // historical data gap.
+ IsEmmManaged bool `json:"is_emm_managed,omitempty"`
+ // Platform : Information on the hosting platform. Might be missing due to
+ // historical data gap.
+ Platform string `json:"platform,omitempty"`
+ // MacAddress : The mac address of the last activity from this session.
+ // Might be missing due to historical data gap.
+ MacAddress string `json:"mac_address,omitempty"`
+ // OsVersion : The hosting OS version. Might be missing due to historical
+ // data gap.
+ OsVersion string `json:"os_version,omitempty"`
+ // DeviceType : Information on the hosting device type. Might be missing due
+ // to historical data gap.
+ DeviceType string `json:"device_type,omitempty"`
+ // ClientVersion : The Dropbox client version. Might be missing due to
+ // historical data gap.
+ ClientVersion string `json:"client_version,omitempty"`
+ // LegacyUniqId : Alternative unique device session id, instead of session
+ // id field. Might be missing due to historical data gap.
+ LegacyUniqId string `json:"legacy_uniq_id,omitempty"`
+}
+
+// NewLegacyDeviceSessionLogInfo returns a new LegacyDeviceSessionLogInfo instance
+func NewLegacyDeviceSessionLogInfo() *LegacyDeviceSessionLogInfo {
+ s := new(LegacyDeviceSessionLogInfo)
+ return s
+}
+
+// LinkedDeviceLogInfo : The device sessions that user is linked to.
+type LinkedDeviceLogInfo struct {
+ dropbox.Tagged
+ // MobileDeviceSession : mobile device session's details.
+ MobileDeviceSession *MobileDeviceSessionLogInfo `json:"mobile_device_session,omitempty"`
+ // DesktopDeviceSession : desktop device session's details.
+ DesktopDeviceSession *DesktopDeviceSessionLogInfo `json:"desktop_device_session,omitempty"`
+ // WebDeviceSession : web device session's details.
+ WebDeviceSession *WebDeviceSessionLogInfo `json:"web_device_session,omitempty"`
+ // LegacyDeviceSession : legacy device session's details.
+ LegacyDeviceSession *LegacyDeviceSessionLogInfo `json:"legacy_device_session,omitempty"`
+}
+
+// Valid tag values for LinkedDeviceLogInfo
+const (
+ LinkedDeviceLogInfoMobileDeviceSession = "mobile_device_session"
+ LinkedDeviceLogInfoDesktopDeviceSession = "desktop_device_session"
+ LinkedDeviceLogInfoWebDeviceSession = "web_device_session"
+ LinkedDeviceLogInfoLegacyDeviceSession = "legacy_device_session"
+ LinkedDeviceLogInfoOther = "other"
+)
+
+// UnmarshalJSON deserializes into a LinkedDeviceLogInfo instance
+func (u *LinkedDeviceLogInfo) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // MobileDeviceSession : mobile device session's details.
+ MobileDeviceSession json.RawMessage `json:"mobile_device_session,omitempty"`
+ // DesktopDeviceSession : desktop device session's details.
+ DesktopDeviceSession json.RawMessage `json:"desktop_device_session,omitempty"`
+ // WebDeviceSession : web device session's details.
+ WebDeviceSession json.RawMessage `json:"web_device_session,omitempty"`
+ // LegacyDeviceSession : legacy device session's details.
+ LegacyDeviceSession json.RawMessage `json:"legacy_device_session,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "mobile_device_session":
+ err = json.Unmarshal(body, &u.MobileDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ case "desktop_device_session":
+ err = json.Unmarshal(body, &u.DesktopDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ case "web_device_session":
+ err = json.Unmarshal(body, &u.WebDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ case "legacy_device_session":
+ err = json.Unmarshal(body, &u.LegacyDeviceSession)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// LoginFailDetails : Failed to sign in.
+type LoginFailDetails struct {
+ // IsEmmManaged : Tells if the login device is EMM managed. Might be missing
+ // due to historical data gap.
+ IsEmmManaged bool `json:"is_emm_managed,omitempty"`
+ // LoginMethod : Login method.
+ LoginMethod *LoginMethod `json:"login_method"`
+ // ErrorDetails : Error details.
+ ErrorDetails *FailureDetailsLogInfo `json:"error_details"`
+}
+
+// NewLoginFailDetails returns a new LoginFailDetails instance
+func NewLoginFailDetails(LoginMethod *LoginMethod, ErrorDetails *FailureDetailsLogInfo) *LoginFailDetails {
+ s := new(LoginFailDetails)
+ s.LoginMethod = LoginMethod
+ s.ErrorDetails = ErrorDetails
+ return s
+}
+
+// LoginFailType : has no documentation (yet)
+type LoginFailType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewLoginFailType returns a new LoginFailType instance
+func NewLoginFailType(Description string) *LoginFailType {
+ s := new(LoginFailType)
+ s.Description = Description
+ return s
+}
+
+// LoginMethod : has no documentation (yet)
+type LoginMethod struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for LoginMethod
+const (
+ LoginMethodPassword = "password"
+ LoginMethodTwoFactorAuthentication = "two_factor_authentication"
+ LoginMethodSaml = "saml"
+ LoginMethodOther = "other"
+)
+
+// LoginSuccessDetails : Signed in.
+type LoginSuccessDetails struct {
+ // IsEmmManaged : Tells if the login device is EMM managed. Might be missing
+ // due to historical data gap.
+ IsEmmManaged bool `json:"is_emm_managed,omitempty"`
+ // LoginMethod : Login method.
+ LoginMethod *LoginMethod `json:"login_method"`
+}
+
+// NewLoginSuccessDetails returns a new LoginSuccessDetails instance
+func NewLoginSuccessDetails(LoginMethod *LoginMethod) *LoginSuccessDetails {
+ s := new(LoginSuccessDetails)
+ s.LoginMethod = LoginMethod
+ return s
+}
+
+// LoginSuccessType : has no documentation (yet)
+type LoginSuccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewLoginSuccessType returns a new LoginSuccessType instance
+func NewLoginSuccessType(Description string) *LoginSuccessType {
+ s := new(LoginSuccessType)
+ s.Description = Description
+ return s
+}
+
+// LogoutDetails : Signed out.
+type LogoutDetails struct {
+}
+
+// NewLogoutDetails returns a new LogoutDetails instance
+func NewLogoutDetails() *LogoutDetails {
+ s := new(LogoutDetails)
+ return s
+}
+
+// LogoutType : has no documentation (yet)
+type LogoutType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewLogoutType returns a new LogoutType instance
+func NewLogoutType(Description string) *LogoutType {
+ s := new(LogoutType)
+ s.Description = Description
+ return s
+}
+
+// MemberAddNameDetails : Added team member name.
+type MemberAddNameDetails struct {
+ // NewValue : New user's name.
+ NewValue *UserNameLogInfo `json:"new_value"`
+}
+
+// NewMemberAddNameDetails returns a new MemberAddNameDetails instance
+func NewMemberAddNameDetails(NewValue *UserNameLogInfo) *MemberAddNameDetails {
+ s := new(MemberAddNameDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberAddNameType : has no documentation (yet)
+type MemberAddNameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberAddNameType returns a new MemberAddNameType instance
+func NewMemberAddNameType(Description string) *MemberAddNameType {
+ s := new(MemberAddNameType)
+ s.Description = Description
+ return s
+}
+
+// MemberChangeAdminRoleDetails : Changed team member admin role.
+type MemberChangeAdminRoleDetails struct {
+ // NewValue : New admin role. This field is relevant when the admin role is
+ // changed or whenthe user role changes from no admin rights to with admin
+ // rights.
+ NewValue *AdminRole `json:"new_value,omitempty"`
+ // PreviousValue : Previous admin role. This field is relevant when the
+ // admin role is changed or when the admin role is removed.
+ PreviousValue *AdminRole `json:"previous_value,omitempty"`
+}
+
+// NewMemberChangeAdminRoleDetails returns a new MemberChangeAdminRoleDetails instance
+func NewMemberChangeAdminRoleDetails() *MemberChangeAdminRoleDetails {
+ s := new(MemberChangeAdminRoleDetails)
+ return s
+}
+
+// MemberChangeAdminRoleType : has no documentation (yet)
+type MemberChangeAdminRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberChangeAdminRoleType returns a new MemberChangeAdminRoleType instance
+func NewMemberChangeAdminRoleType(Description string) *MemberChangeAdminRoleType {
+ s := new(MemberChangeAdminRoleType)
+ s.Description = Description
+ return s
+}
+
+// MemberChangeEmailDetails : Changed team member email.
+type MemberChangeEmailDetails struct {
+ // NewValue : New email.
+ NewValue string `json:"new_value"`
+ // PreviousValue : Previous email. Might be missing due to historical data
+ // gap.
+ PreviousValue string `json:"previous_value,omitempty"`
+}
+
+// NewMemberChangeEmailDetails returns a new MemberChangeEmailDetails instance
+func NewMemberChangeEmailDetails(NewValue string) *MemberChangeEmailDetails {
+ s := new(MemberChangeEmailDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberChangeEmailType : has no documentation (yet)
+type MemberChangeEmailType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberChangeEmailType returns a new MemberChangeEmailType instance
+func NewMemberChangeEmailType(Description string) *MemberChangeEmailType {
+ s := new(MemberChangeEmailType)
+ s.Description = Description
+ return s
+}
+
+// MemberChangeMembershipTypeDetails : Changed membership type (limited/full) of
+// member.
+type MemberChangeMembershipTypeDetails struct {
+ // PrevValue : Previous membership type.
+ PrevValue *TeamMembershipType `json:"prev_value"`
+ // NewValue : New membership type.
+ NewValue *TeamMembershipType `json:"new_value"`
+}
+
+// NewMemberChangeMembershipTypeDetails returns a new MemberChangeMembershipTypeDetails instance
+func NewMemberChangeMembershipTypeDetails(PrevValue *TeamMembershipType, NewValue *TeamMembershipType) *MemberChangeMembershipTypeDetails {
+ s := new(MemberChangeMembershipTypeDetails)
+ s.PrevValue = PrevValue
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberChangeMembershipTypeType : has no documentation (yet)
+type MemberChangeMembershipTypeType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberChangeMembershipTypeType returns a new MemberChangeMembershipTypeType instance
+func NewMemberChangeMembershipTypeType(Description string) *MemberChangeMembershipTypeType {
+ s := new(MemberChangeMembershipTypeType)
+ s.Description = Description
+ return s
+}
+
+// MemberChangeNameDetails : Changed team member name.
+type MemberChangeNameDetails struct {
+ // NewValue : New user's name.
+ NewValue *UserNameLogInfo `json:"new_value"`
+ // PreviousValue : Previous user's name. Might be missing due to historical
+ // data gap.
+ PreviousValue *UserNameLogInfo `json:"previous_value,omitempty"`
+}
+
+// NewMemberChangeNameDetails returns a new MemberChangeNameDetails instance
+func NewMemberChangeNameDetails(NewValue *UserNameLogInfo) *MemberChangeNameDetails {
+ s := new(MemberChangeNameDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberChangeNameType : has no documentation (yet)
+type MemberChangeNameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberChangeNameType returns a new MemberChangeNameType instance
+func NewMemberChangeNameType(Description string) *MemberChangeNameType {
+ s := new(MemberChangeNameType)
+ s.Description = Description
+ return s
+}
+
+// MemberChangeStatusDetails : Changed member status (invited, joined,
+// suspended, etc.).
+type MemberChangeStatusDetails struct {
+ // PreviousValue : Previous member status. Might be missing due to
+ // historical data gap.
+ PreviousValue *MemberStatus `json:"previous_value,omitempty"`
+ // NewValue : New member status.
+ NewValue *MemberStatus `json:"new_value"`
+ // Action : Additional information indicating the action taken that caused
+ // status change.
+ Action *ActionDetails `json:"action,omitempty"`
+}
+
+// NewMemberChangeStatusDetails returns a new MemberChangeStatusDetails instance
+func NewMemberChangeStatusDetails(NewValue *MemberStatus) *MemberChangeStatusDetails {
+ s := new(MemberChangeStatusDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberChangeStatusType : has no documentation (yet)
+type MemberChangeStatusType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberChangeStatusType returns a new MemberChangeStatusType instance
+func NewMemberChangeStatusType(Description string) *MemberChangeStatusType {
+ s := new(MemberChangeStatusType)
+ s.Description = Description
+ return s
+}
+
+// MemberPermanentlyDeleteAccountContentsDetails : Permanently deleted contents
+// of deleted team member account.
+type MemberPermanentlyDeleteAccountContentsDetails struct {
+}
+
+// NewMemberPermanentlyDeleteAccountContentsDetails returns a new MemberPermanentlyDeleteAccountContentsDetails instance
+func NewMemberPermanentlyDeleteAccountContentsDetails() *MemberPermanentlyDeleteAccountContentsDetails {
+ s := new(MemberPermanentlyDeleteAccountContentsDetails)
+ return s
+}
+
+// MemberPermanentlyDeleteAccountContentsType : has no documentation (yet)
+type MemberPermanentlyDeleteAccountContentsType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberPermanentlyDeleteAccountContentsType returns a new MemberPermanentlyDeleteAccountContentsType instance
+func NewMemberPermanentlyDeleteAccountContentsType(Description string) *MemberPermanentlyDeleteAccountContentsType {
+ s := new(MemberPermanentlyDeleteAccountContentsType)
+ s.Description = Description
+ return s
+}
+
+// MemberRemoveActionType : has no documentation (yet)
+type MemberRemoveActionType struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for MemberRemoveActionType
+const (
+ MemberRemoveActionTypeDelete = "delete"
+ MemberRemoveActionTypeOffboard = "offboard"
+ MemberRemoveActionTypeLeave = "leave"
+ MemberRemoveActionTypeOther = "other"
+)
+
+// MemberRequestsChangePolicyDetails : Changed whether users can find team when
+// not invited.
+type MemberRequestsChangePolicyDetails struct {
+ // NewValue : New member change requests policy.
+ NewValue *MemberRequestsPolicy `json:"new_value"`
+ // PreviousValue : Previous member change requests policy. Might be missing
+ // due to historical data gap.
+ PreviousValue *MemberRequestsPolicy `json:"previous_value,omitempty"`
+}
+
+// NewMemberRequestsChangePolicyDetails returns a new MemberRequestsChangePolicyDetails instance
+func NewMemberRequestsChangePolicyDetails(NewValue *MemberRequestsPolicy) *MemberRequestsChangePolicyDetails {
+ s := new(MemberRequestsChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberRequestsChangePolicyType : has no documentation (yet)
+type MemberRequestsChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberRequestsChangePolicyType returns a new MemberRequestsChangePolicyType instance
+func NewMemberRequestsChangePolicyType(Description string) *MemberRequestsChangePolicyType {
+ s := new(MemberRequestsChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// MemberRequestsPolicy : has no documentation (yet)
+type MemberRequestsPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for MemberRequestsPolicy
+const (
+ MemberRequestsPolicyAutoAccept = "auto_accept"
+ MemberRequestsPolicyDisabled = "disabled"
+ MemberRequestsPolicyRequireApproval = "require_approval"
+ MemberRequestsPolicyOther = "other"
+)
+
+// MemberSpaceLimitsAddCustomQuotaDetails : Set custom member space limit.
+type MemberSpaceLimitsAddCustomQuotaDetails struct {
+ // NewValue : New custom quota value in bytes.
+ NewValue uint64 `json:"new_value"`
+}
+
+// NewMemberSpaceLimitsAddCustomQuotaDetails returns a new MemberSpaceLimitsAddCustomQuotaDetails instance
+func NewMemberSpaceLimitsAddCustomQuotaDetails(NewValue uint64) *MemberSpaceLimitsAddCustomQuotaDetails {
+ s := new(MemberSpaceLimitsAddCustomQuotaDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberSpaceLimitsAddCustomQuotaType : has no documentation (yet)
+type MemberSpaceLimitsAddCustomQuotaType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsAddCustomQuotaType returns a new MemberSpaceLimitsAddCustomQuotaType instance
+func NewMemberSpaceLimitsAddCustomQuotaType(Description string) *MemberSpaceLimitsAddCustomQuotaType {
+ s := new(MemberSpaceLimitsAddCustomQuotaType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsAddExceptionDetails : Added members to member space limit
+// exception list.
+type MemberSpaceLimitsAddExceptionDetails struct {
+}
+
+// NewMemberSpaceLimitsAddExceptionDetails returns a new MemberSpaceLimitsAddExceptionDetails instance
+func NewMemberSpaceLimitsAddExceptionDetails() *MemberSpaceLimitsAddExceptionDetails {
+ s := new(MemberSpaceLimitsAddExceptionDetails)
+ return s
+}
+
+// MemberSpaceLimitsAddExceptionType : has no documentation (yet)
+type MemberSpaceLimitsAddExceptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsAddExceptionType returns a new MemberSpaceLimitsAddExceptionType instance
+func NewMemberSpaceLimitsAddExceptionType(Description string) *MemberSpaceLimitsAddExceptionType {
+ s := new(MemberSpaceLimitsAddExceptionType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsChangeCapsTypePolicyDetails : Changed member space limit
+// type for team.
+type MemberSpaceLimitsChangeCapsTypePolicyDetails struct {
+ // PreviousValue : Previous space limit type.
+ PreviousValue *SpaceCapsType `json:"previous_value"`
+ // NewValue : New space limit type.
+ NewValue *SpaceCapsType `json:"new_value"`
+}
+
+// NewMemberSpaceLimitsChangeCapsTypePolicyDetails returns a new MemberSpaceLimitsChangeCapsTypePolicyDetails instance
+func NewMemberSpaceLimitsChangeCapsTypePolicyDetails(PreviousValue *SpaceCapsType, NewValue *SpaceCapsType) *MemberSpaceLimitsChangeCapsTypePolicyDetails {
+ s := new(MemberSpaceLimitsChangeCapsTypePolicyDetails)
+ s.PreviousValue = PreviousValue
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberSpaceLimitsChangeCapsTypePolicyType : has no documentation (yet)
+type MemberSpaceLimitsChangeCapsTypePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsChangeCapsTypePolicyType returns a new MemberSpaceLimitsChangeCapsTypePolicyType instance
+func NewMemberSpaceLimitsChangeCapsTypePolicyType(Description string) *MemberSpaceLimitsChangeCapsTypePolicyType {
+ s := new(MemberSpaceLimitsChangeCapsTypePolicyType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsChangeCustomQuotaDetails : Changed custom member space
+// limit.
+type MemberSpaceLimitsChangeCustomQuotaDetails struct {
+ // PreviousValue : Previous custom quota value in bytes.
+ PreviousValue uint64 `json:"previous_value"`
+ // NewValue : New custom quota value in bytes.
+ NewValue uint64 `json:"new_value"`
+}
+
+// NewMemberSpaceLimitsChangeCustomQuotaDetails returns a new MemberSpaceLimitsChangeCustomQuotaDetails instance
+func NewMemberSpaceLimitsChangeCustomQuotaDetails(PreviousValue uint64, NewValue uint64) *MemberSpaceLimitsChangeCustomQuotaDetails {
+ s := new(MemberSpaceLimitsChangeCustomQuotaDetails)
+ s.PreviousValue = PreviousValue
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberSpaceLimitsChangeCustomQuotaType : has no documentation (yet)
+type MemberSpaceLimitsChangeCustomQuotaType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsChangeCustomQuotaType returns a new MemberSpaceLimitsChangeCustomQuotaType instance
+func NewMemberSpaceLimitsChangeCustomQuotaType(Description string) *MemberSpaceLimitsChangeCustomQuotaType {
+ s := new(MemberSpaceLimitsChangeCustomQuotaType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsChangePolicyDetails : Changed team default member space
+// limit.
+type MemberSpaceLimitsChangePolicyDetails struct {
+ // PreviousValue : Previous team default limit value in bytes. Might be
+ // missing due to historical data gap.
+ PreviousValue uint64 `json:"previous_value,omitempty"`
+ // NewValue : New team default limit value in bytes. Might be missing due to
+ // historical data gap.
+ NewValue uint64 `json:"new_value,omitempty"`
+}
+
+// NewMemberSpaceLimitsChangePolicyDetails returns a new MemberSpaceLimitsChangePolicyDetails instance
+func NewMemberSpaceLimitsChangePolicyDetails() *MemberSpaceLimitsChangePolicyDetails {
+ s := new(MemberSpaceLimitsChangePolicyDetails)
+ return s
+}
+
+// MemberSpaceLimitsChangePolicyType : has no documentation (yet)
+type MemberSpaceLimitsChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsChangePolicyType returns a new MemberSpaceLimitsChangePolicyType instance
+func NewMemberSpaceLimitsChangePolicyType(Description string) *MemberSpaceLimitsChangePolicyType {
+ s := new(MemberSpaceLimitsChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsChangeStatusDetails : Changed space limit status.
+type MemberSpaceLimitsChangeStatusDetails struct {
+ // PreviousValue : Previous storage quota status.
+ PreviousValue *SpaceLimitsStatus `json:"previous_value"`
+ // NewValue : New storage quota status.
+ NewValue *SpaceLimitsStatus `json:"new_value"`
+}
+
+// NewMemberSpaceLimitsChangeStatusDetails returns a new MemberSpaceLimitsChangeStatusDetails instance
+func NewMemberSpaceLimitsChangeStatusDetails(PreviousValue *SpaceLimitsStatus, NewValue *SpaceLimitsStatus) *MemberSpaceLimitsChangeStatusDetails {
+ s := new(MemberSpaceLimitsChangeStatusDetails)
+ s.PreviousValue = PreviousValue
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberSpaceLimitsChangeStatusType : has no documentation (yet)
+type MemberSpaceLimitsChangeStatusType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsChangeStatusType returns a new MemberSpaceLimitsChangeStatusType instance
+func NewMemberSpaceLimitsChangeStatusType(Description string) *MemberSpaceLimitsChangeStatusType {
+ s := new(MemberSpaceLimitsChangeStatusType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsRemoveCustomQuotaDetails : Removed custom member space
+// limit.
+type MemberSpaceLimitsRemoveCustomQuotaDetails struct {
+}
+
+// NewMemberSpaceLimitsRemoveCustomQuotaDetails returns a new MemberSpaceLimitsRemoveCustomQuotaDetails instance
+func NewMemberSpaceLimitsRemoveCustomQuotaDetails() *MemberSpaceLimitsRemoveCustomQuotaDetails {
+ s := new(MemberSpaceLimitsRemoveCustomQuotaDetails)
+ return s
+}
+
+// MemberSpaceLimitsRemoveCustomQuotaType : has no documentation (yet)
+type MemberSpaceLimitsRemoveCustomQuotaType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsRemoveCustomQuotaType returns a new MemberSpaceLimitsRemoveCustomQuotaType instance
+func NewMemberSpaceLimitsRemoveCustomQuotaType(Description string) *MemberSpaceLimitsRemoveCustomQuotaType {
+ s := new(MemberSpaceLimitsRemoveCustomQuotaType)
+ s.Description = Description
+ return s
+}
+
+// MemberSpaceLimitsRemoveExceptionDetails : Removed members from member space
+// limit exception list.
+type MemberSpaceLimitsRemoveExceptionDetails struct {
+}
+
+// NewMemberSpaceLimitsRemoveExceptionDetails returns a new MemberSpaceLimitsRemoveExceptionDetails instance
+func NewMemberSpaceLimitsRemoveExceptionDetails() *MemberSpaceLimitsRemoveExceptionDetails {
+ s := new(MemberSpaceLimitsRemoveExceptionDetails)
+ return s
+}
+
+// MemberSpaceLimitsRemoveExceptionType : has no documentation (yet)
+type MemberSpaceLimitsRemoveExceptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSpaceLimitsRemoveExceptionType returns a new MemberSpaceLimitsRemoveExceptionType instance
+func NewMemberSpaceLimitsRemoveExceptionType(Description string) *MemberSpaceLimitsRemoveExceptionType {
+ s := new(MemberSpaceLimitsRemoveExceptionType)
+ s.Description = Description
+ return s
+}
+
+// MemberStatus : has no documentation (yet)
+type MemberStatus struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for MemberStatus
+const (
+ MemberStatusNotJoined = "not_joined"
+ MemberStatusInvited = "invited"
+ MemberStatusActive = "active"
+ MemberStatusSuspended = "suspended"
+ MemberStatusRemoved = "removed"
+ MemberStatusOther = "other"
+)
+
+// MemberSuggestDetails : Suggested person to add to team.
+type MemberSuggestDetails struct {
+ // SuggestedMembers : suggested users emails.
+ SuggestedMembers []string `json:"suggested_members"`
+}
+
+// NewMemberSuggestDetails returns a new MemberSuggestDetails instance
+func NewMemberSuggestDetails(SuggestedMembers []string) *MemberSuggestDetails {
+ s := new(MemberSuggestDetails)
+ s.SuggestedMembers = SuggestedMembers
+ return s
+}
+
+// MemberSuggestType : has no documentation (yet)
+type MemberSuggestType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSuggestType returns a new MemberSuggestType instance
+func NewMemberSuggestType(Description string) *MemberSuggestType {
+ s := new(MemberSuggestType)
+ s.Description = Description
+ return s
+}
+
+// MemberSuggestionsChangePolicyDetails : Enabled/disabled option for team
+// members to suggest people to add to team.
+type MemberSuggestionsChangePolicyDetails struct {
+ // NewValue : New team member suggestions policy.
+ NewValue *MemberSuggestionsPolicy `json:"new_value"`
+ // PreviousValue : Previous team member suggestions policy. Might be missing
+ // due to historical data gap.
+ PreviousValue *MemberSuggestionsPolicy `json:"previous_value,omitempty"`
+}
+
+// NewMemberSuggestionsChangePolicyDetails returns a new MemberSuggestionsChangePolicyDetails instance
+func NewMemberSuggestionsChangePolicyDetails(NewValue *MemberSuggestionsPolicy) *MemberSuggestionsChangePolicyDetails {
+ s := new(MemberSuggestionsChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MemberSuggestionsChangePolicyType : has no documentation (yet)
+type MemberSuggestionsChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberSuggestionsChangePolicyType returns a new MemberSuggestionsChangePolicyType instance
+func NewMemberSuggestionsChangePolicyType(Description string) *MemberSuggestionsChangePolicyType {
+ s := new(MemberSuggestionsChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// MemberSuggestionsPolicy : Member suggestions policy
+type MemberSuggestionsPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for MemberSuggestionsPolicy
+const (
+ MemberSuggestionsPolicyDisabled = "disabled"
+ MemberSuggestionsPolicyEnabled = "enabled"
+ MemberSuggestionsPolicyOther = "other"
+)
+
+// MemberTransferAccountContentsDetails : Transferred contents of deleted member
+// account to another member.
+type MemberTransferAccountContentsDetails struct {
+}
+
+// NewMemberTransferAccountContentsDetails returns a new MemberTransferAccountContentsDetails instance
+func NewMemberTransferAccountContentsDetails() *MemberTransferAccountContentsDetails {
+ s := new(MemberTransferAccountContentsDetails)
+ return s
+}
+
+// MemberTransferAccountContentsType : has no documentation (yet)
+type MemberTransferAccountContentsType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMemberTransferAccountContentsType returns a new MemberTransferAccountContentsType instance
+func NewMemberTransferAccountContentsType(Description string) *MemberTransferAccountContentsType {
+ s := new(MemberTransferAccountContentsType)
+ s.Description = Description
+ return s
+}
+
+// MicrosoftOfficeAddinChangePolicyDetails : Enabled/disabled Microsoft Office
+// add-in.
+type MicrosoftOfficeAddinChangePolicyDetails struct {
+ // NewValue : New Microsoft Office addin policy.
+ NewValue *MicrosoftOfficeAddinPolicy `json:"new_value"`
+ // PreviousValue : Previous Microsoft Office addin policy. Might be missing
+ // due to historical data gap.
+ PreviousValue *MicrosoftOfficeAddinPolicy `json:"previous_value,omitempty"`
+}
+
+// NewMicrosoftOfficeAddinChangePolicyDetails returns a new MicrosoftOfficeAddinChangePolicyDetails instance
+func NewMicrosoftOfficeAddinChangePolicyDetails(NewValue *MicrosoftOfficeAddinPolicy) *MicrosoftOfficeAddinChangePolicyDetails {
+ s := new(MicrosoftOfficeAddinChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// MicrosoftOfficeAddinChangePolicyType : has no documentation (yet)
+type MicrosoftOfficeAddinChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewMicrosoftOfficeAddinChangePolicyType returns a new MicrosoftOfficeAddinChangePolicyType instance
+func NewMicrosoftOfficeAddinChangePolicyType(Description string) *MicrosoftOfficeAddinChangePolicyType {
+ s := new(MicrosoftOfficeAddinChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// MicrosoftOfficeAddinPolicy : Microsoft Office addin policy
+type MicrosoftOfficeAddinPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for MicrosoftOfficeAddinPolicy
+const (
+ MicrosoftOfficeAddinPolicyDisabled = "disabled"
+ MicrosoftOfficeAddinPolicyEnabled = "enabled"
+ MicrosoftOfficeAddinPolicyOther = "other"
+)
+
+// MissingDetails : An indication that an error occurred while retrieving the
+// event. Some attributes of the event may be omitted as a result.
+type MissingDetails struct {
+ // SourceEventFields : All the data that could be retrieved and converted
+ // from the source event.
+ SourceEventFields string `json:"source_event_fields,omitempty"`
+}
+
+// NewMissingDetails returns a new MissingDetails instance
+func NewMissingDetails() *MissingDetails {
+ s := new(MissingDetails)
+ return s
+}
+
+// MobileDeviceSessionLogInfo : Information about linked Dropbox mobile client
+// sessions
+type MobileDeviceSessionLogInfo struct {
+ DeviceSessionLogInfo
+ // SessionInfo : Mobile session unique id. Might be missing due to
+ // historical data gap.
+ SessionInfo *MobileSessionLogInfo `json:"session_info,omitempty"`
+ // DeviceName : The device name.
+ DeviceName string `json:"device_name"`
+ // ClientType : The mobile application type.
+ ClientType *team.MobileClientPlatform `json:"client_type"`
+ // ClientVersion : The Dropbox client version.
+ ClientVersion string `json:"client_version,omitempty"`
+ // OsVersion : The hosting OS version.
+ OsVersion string `json:"os_version,omitempty"`
+ // LastCarrier : last carrier used by the device.
+ LastCarrier string `json:"last_carrier,omitempty"`
+}
+
+// NewMobileDeviceSessionLogInfo returns a new MobileDeviceSessionLogInfo instance
+func NewMobileDeviceSessionLogInfo(DeviceName string, ClientType *team.MobileClientPlatform) *MobileDeviceSessionLogInfo {
+ s := new(MobileDeviceSessionLogInfo)
+ s.DeviceName = DeviceName
+ s.ClientType = ClientType
+ return s
+}
+
+// MobileSessionLogInfo : Mobile session.
+type MobileSessionLogInfo struct {
+ SessionLogInfo
+}
+
+// NewMobileSessionLogInfo returns a new MobileSessionLogInfo instance
+func NewMobileSessionLogInfo() *MobileSessionLogInfo {
+ s := new(MobileSessionLogInfo)
+ return s
+}
+
+// NamespaceRelativePathLogInfo : Namespace relative path details.
+type NamespaceRelativePathLogInfo struct {
+ // NsId : Namespace ID. Might be missing due to historical data gap.
+ NsId string `json:"ns_id,omitempty"`
+ // RelativePath : A path relative to the specified namespace ID. Might be
+ // missing due to historical data gap.
+ RelativePath string `json:"relative_path,omitempty"`
+}
+
+// NewNamespaceRelativePathLogInfo returns a new NamespaceRelativePathLogInfo instance
+func NewNamespaceRelativePathLogInfo() *NamespaceRelativePathLogInfo {
+ s := new(NamespaceRelativePathLogInfo)
+ return s
+}
+
+// NetworkControlChangePolicyDetails : Enabled/disabled network control.
+type NetworkControlChangePolicyDetails struct {
+ // NewValue : New network control policy.
+ NewValue *NetworkControlPolicy `json:"new_value"`
+ // PreviousValue : Previous network control policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *NetworkControlPolicy `json:"previous_value,omitempty"`
+}
+
+// NewNetworkControlChangePolicyDetails returns a new NetworkControlChangePolicyDetails instance
+func NewNetworkControlChangePolicyDetails(NewValue *NetworkControlPolicy) *NetworkControlChangePolicyDetails {
+ s := new(NetworkControlChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// NetworkControlChangePolicyType : has no documentation (yet)
+type NetworkControlChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewNetworkControlChangePolicyType returns a new NetworkControlChangePolicyType instance
+func NewNetworkControlChangePolicyType(Description string) *NetworkControlChangePolicyType {
+ s := new(NetworkControlChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// NetworkControlPolicy : Network control policy
+type NetworkControlPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for NetworkControlPolicy
+const (
+ NetworkControlPolicyDisabled = "disabled"
+ NetworkControlPolicyEnabled = "enabled"
+ NetworkControlPolicyOther = "other"
+)
+
+// UserLogInfo : User's logged information.
+type UserLogInfo struct {
+ // AccountId : User unique ID. Might be missing due to historical data gap.
+ AccountId string `json:"account_id,omitempty"`
+ // DisplayName : User display name. Might be missing due to historical data
+ // gap.
+ DisplayName string `json:"display_name,omitempty"`
+ // Email : User email address. Might be missing due to historical data gap.
+ Email string `json:"email,omitempty"`
+}
+
+// NewUserLogInfo returns a new UserLogInfo instance
+func NewUserLogInfo() *UserLogInfo {
+ s := new(UserLogInfo)
+ return s
+}
+
+// IsUserLogInfo is the interface type for UserLogInfo and its subtypes
+type IsUserLogInfo interface {
+ IsUserLogInfo()
+}
+
+// IsUserLogInfo implements the IsUserLogInfo interface
+func (u *UserLogInfo) IsUserLogInfo() {}
+
+type userLogInfoUnion struct {
+ dropbox.Tagged
+ // TeamMember : has no documentation (yet)
+ TeamMember *TeamMemberLogInfo `json:"team_member,omitempty"`
+ // NonTeamMember : has no documentation (yet)
+ NonTeamMember *NonTeamMemberLogInfo `json:"non_team_member,omitempty"`
+}
+
+// Valid tag values for UserLogInfo
+const (
+ UserLogInfoTeamMember = "team_member"
+ UserLogInfoNonTeamMember = "non_team_member"
+)
+
+// UnmarshalJSON deserializes into a userLogInfoUnion instance
+func (u *userLogInfoUnion) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // TeamMember : has no documentation (yet)
+ TeamMember json.RawMessage `json:"team_member,omitempty"`
+ // NonTeamMember : has no documentation (yet)
+ NonTeamMember json.RawMessage `json:"non_team_member,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "team_member":
+ err = json.Unmarshal(body, &u.TeamMember)
+
+ if err != nil {
+ return err
+ }
+ case "non_team_member":
+ err = json.Unmarshal(body, &u.NonTeamMember)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// IsUserLogInfoFromJSON converts JSON to a concrete IsUserLogInfo instance
+func IsUserLogInfoFromJSON(data []byte) (IsUserLogInfo, error) {
+ var t userLogInfoUnion
+ if err := json.Unmarshal(data, &t); err != nil {
+ return nil, err
+ }
+ switch t.Tag {
+ case "team_member":
+ return t.TeamMember, nil
+
+ case "non_team_member":
+ return t.NonTeamMember, nil
+
+ }
+ return nil, nil
+}
+
+// NonTeamMemberLogInfo : Non team member's logged information.
+type NonTeamMemberLogInfo struct {
+ UserLogInfo
+}
+
+// NewNonTeamMemberLogInfo returns a new NonTeamMemberLogInfo instance
+func NewNonTeamMemberLogInfo() *NonTeamMemberLogInfo {
+ s := new(NonTeamMemberLogInfo)
+ return s
+}
+
+// NoteAclInviteOnlyDetails : Changed Paper doc to invite-only.
+type NoteAclInviteOnlyDetails struct {
+}
+
+// NewNoteAclInviteOnlyDetails returns a new NoteAclInviteOnlyDetails instance
+func NewNoteAclInviteOnlyDetails() *NoteAclInviteOnlyDetails {
+ s := new(NoteAclInviteOnlyDetails)
+ return s
+}
+
+// NoteAclInviteOnlyType : has no documentation (yet)
+type NoteAclInviteOnlyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewNoteAclInviteOnlyType returns a new NoteAclInviteOnlyType instance
+func NewNoteAclInviteOnlyType(Description string) *NoteAclInviteOnlyType {
+ s := new(NoteAclInviteOnlyType)
+ s.Description = Description
+ return s
+}
+
+// NoteAclLinkDetails : Changed Paper doc to link-accessible.
+type NoteAclLinkDetails struct {
+}
+
+// NewNoteAclLinkDetails returns a new NoteAclLinkDetails instance
+func NewNoteAclLinkDetails() *NoteAclLinkDetails {
+ s := new(NoteAclLinkDetails)
+ return s
+}
+
+// NoteAclLinkType : has no documentation (yet)
+type NoteAclLinkType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewNoteAclLinkType returns a new NoteAclLinkType instance
+func NewNoteAclLinkType(Description string) *NoteAclLinkType {
+ s := new(NoteAclLinkType)
+ s.Description = Description
+ return s
+}
+
+// NoteAclTeamLinkDetails : Changed Paper doc to link-accessible for team.
+type NoteAclTeamLinkDetails struct {
+}
+
+// NewNoteAclTeamLinkDetails returns a new NoteAclTeamLinkDetails instance
+func NewNoteAclTeamLinkDetails() *NoteAclTeamLinkDetails {
+ s := new(NoteAclTeamLinkDetails)
+ return s
+}
+
+// NoteAclTeamLinkType : has no documentation (yet)
+type NoteAclTeamLinkType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewNoteAclTeamLinkType returns a new NoteAclTeamLinkType instance
+func NewNoteAclTeamLinkType(Description string) *NoteAclTeamLinkType {
+ s := new(NoteAclTeamLinkType)
+ s.Description = Description
+ return s
+}
+
+// NoteShareReceiveDetails : Shared received Paper doc.
+type NoteShareReceiveDetails struct {
+}
+
+// NewNoteShareReceiveDetails returns a new NoteShareReceiveDetails instance
+func NewNoteShareReceiveDetails() *NoteShareReceiveDetails {
+ s := new(NoteShareReceiveDetails)
+ return s
+}
+
+// NoteShareReceiveType : has no documentation (yet)
+type NoteShareReceiveType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewNoteShareReceiveType returns a new NoteShareReceiveType instance
+func NewNoteShareReceiveType(Description string) *NoteShareReceiveType {
+ s := new(NoteShareReceiveType)
+ s.Description = Description
+ return s
+}
+
+// NoteSharedDetails : Shared Paper doc.
+type NoteSharedDetails struct {
+}
+
+// NewNoteSharedDetails returns a new NoteSharedDetails instance
+func NewNoteSharedDetails() *NoteSharedDetails {
+ s := new(NoteSharedDetails)
+ return s
+}
+
+// NoteSharedType : has no documentation (yet)
+type NoteSharedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewNoteSharedType returns a new NoteSharedType instance
+func NewNoteSharedType(Description string) *NoteSharedType {
+ s := new(NoteSharedType)
+ s.Description = Description
+ return s
+}
+
+// OpenNoteSharedDetails : Opened shared Paper doc.
+type OpenNoteSharedDetails struct {
+}
+
+// NewOpenNoteSharedDetails returns a new OpenNoteSharedDetails instance
+func NewOpenNoteSharedDetails() *OpenNoteSharedDetails {
+ s := new(OpenNoteSharedDetails)
+ return s
+}
+
+// OpenNoteSharedType : has no documentation (yet)
+type OpenNoteSharedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewOpenNoteSharedType returns a new OpenNoteSharedType instance
+func NewOpenNoteSharedType(Description string) *OpenNoteSharedType {
+ s := new(OpenNoteSharedType)
+ s.Description = Description
+ return s
+}
+
+// OriginLogInfo : The origin from which the actor performed the action.
+type OriginLogInfo struct {
+ // GeoLocation : Geographic location details.
+ GeoLocation *GeoLocationLogInfo `json:"geo_location,omitempty"`
+ // AccessMethod : The method that was used to perform the action.
+ AccessMethod *AccessMethodLogInfo `json:"access_method"`
+}
+
+// NewOriginLogInfo returns a new OriginLogInfo instance
+func NewOriginLogInfo(AccessMethod *AccessMethodLogInfo) *OriginLogInfo {
+ s := new(OriginLogInfo)
+ s.AccessMethod = AccessMethod
+ return s
+}
+
+// PaperAccessType : has no documentation (yet)
+type PaperAccessType struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for PaperAccessType
+const (
+ PaperAccessTypeViewer = "viewer"
+ PaperAccessTypeCommenter = "commenter"
+ PaperAccessTypeEditor = "editor"
+ PaperAccessTypeOther = "other"
+)
+
+// PaperAdminExportStartDetails : Exported all team Paper docs.
+type PaperAdminExportStartDetails struct {
+}
+
+// NewPaperAdminExportStartDetails returns a new PaperAdminExportStartDetails instance
+func NewPaperAdminExportStartDetails() *PaperAdminExportStartDetails {
+ s := new(PaperAdminExportStartDetails)
+ return s
+}
+
+// PaperAdminExportStartType : has no documentation (yet)
+type PaperAdminExportStartType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperAdminExportStartType returns a new PaperAdminExportStartType instance
+func NewPaperAdminExportStartType(Description string) *PaperAdminExportStartType {
+ s := new(PaperAdminExportStartType)
+ s.Description = Description
+ return s
+}
+
+// PaperChangeDeploymentPolicyDetails : Changed whether Dropbox Paper, when
+// enabled, is deployed to all members or to specific members.
+type PaperChangeDeploymentPolicyDetails struct {
+ // NewValue : New Dropbox Paper deployment policy.
+ NewValue *team_policies.PaperDeploymentPolicy `json:"new_value"`
+ // PreviousValue : Previous Dropbox Paper deployment policy. Might be
+ // missing due to historical data gap.
+ PreviousValue *team_policies.PaperDeploymentPolicy `json:"previous_value,omitempty"`
+}
+
+// NewPaperChangeDeploymentPolicyDetails returns a new PaperChangeDeploymentPolicyDetails instance
+func NewPaperChangeDeploymentPolicyDetails(NewValue *team_policies.PaperDeploymentPolicy) *PaperChangeDeploymentPolicyDetails {
+ s := new(PaperChangeDeploymentPolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// PaperChangeDeploymentPolicyType : has no documentation (yet)
+type PaperChangeDeploymentPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperChangeDeploymentPolicyType returns a new PaperChangeDeploymentPolicyType instance
+func NewPaperChangeDeploymentPolicyType(Description string) *PaperChangeDeploymentPolicyType {
+ s := new(PaperChangeDeploymentPolicyType)
+ s.Description = Description
+ return s
+}
+
+// PaperChangeMemberLinkPolicyDetails : Changed whether non-members can view
+// Paper docs with link.
+type PaperChangeMemberLinkPolicyDetails struct {
+ // NewValue : New paper external link accessibility policy.
+ NewValue *PaperMemberPolicy `json:"new_value"`
+}
+
+// NewPaperChangeMemberLinkPolicyDetails returns a new PaperChangeMemberLinkPolicyDetails instance
+func NewPaperChangeMemberLinkPolicyDetails(NewValue *PaperMemberPolicy) *PaperChangeMemberLinkPolicyDetails {
+ s := new(PaperChangeMemberLinkPolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// PaperChangeMemberLinkPolicyType : has no documentation (yet)
+type PaperChangeMemberLinkPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperChangeMemberLinkPolicyType returns a new PaperChangeMemberLinkPolicyType instance
+func NewPaperChangeMemberLinkPolicyType(Description string) *PaperChangeMemberLinkPolicyType {
+ s := new(PaperChangeMemberLinkPolicyType)
+ s.Description = Description
+ return s
+}
+
+// PaperChangeMemberPolicyDetails : Changed whether members can share Paper docs
+// outside team, and if docs are accessible only by team members or anyone by
+// default.
+type PaperChangeMemberPolicyDetails struct {
+ // NewValue : New paper external accessibility policy.
+ NewValue *PaperMemberPolicy `json:"new_value"`
+ // PreviousValue : Previous paper external accessibility policy. Might be
+ // missing due to historical data gap.
+ PreviousValue *PaperMemberPolicy `json:"previous_value,omitempty"`
+}
+
+// NewPaperChangeMemberPolicyDetails returns a new PaperChangeMemberPolicyDetails instance
+func NewPaperChangeMemberPolicyDetails(NewValue *PaperMemberPolicy) *PaperChangeMemberPolicyDetails {
+ s := new(PaperChangeMemberPolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// PaperChangeMemberPolicyType : has no documentation (yet)
+type PaperChangeMemberPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperChangeMemberPolicyType returns a new PaperChangeMemberPolicyType instance
+func NewPaperChangeMemberPolicyType(Description string) *PaperChangeMemberPolicyType {
+ s := new(PaperChangeMemberPolicyType)
+ s.Description = Description
+ return s
+}
+
+// PaperChangePolicyDetails : Enabled/disabled Dropbox Paper for team.
+type PaperChangePolicyDetails struct {
+ // NewValue : New Dropbox Paper policy.
+ NewValue *team_policies.PaperEnabledPolicy `json:"new_value"`
+ // PreviousValue : Previous Dropbox Paper policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *team_policies.PaperEnabledPolicy `json:"previous_value,omitempty"`
+}
+
+// NewPaperChangePolicyDetails returns a new PaperChangePolicyDetails instance
+func NewPaperChangePolicyDetails(NewValue *team_policies.PaperEnabledPolicy) *PaperChangePolicyDetails {
+ s := new(PaperChangePolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
+
+// PaperChangePolicyType : has no documentation (yet)
+type PaperChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperChangePolicyType returns a new PaperChangePolicyType instance
+func NewPaperChangePolicyType(Description string) *PaperChangePolicyType {
+ s := new(PaperChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentAddMemberDetails : Added team member to Paper doc/folder.
+type PaperContentAddMemberDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentAddMemberDetails returns a new PaperContentAddMemberDetails instance
+func NewPaperContentAddMemberDetails(EventUuid string) *PaperContentAddMemberDetails {
+ s := new(PaperContentAddMemberDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentAddMemberType : has no documentation (yet)
+type PaperContentAddMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentAddMemberType returns a new PaperContentAddMemberType instance
+func NewPaperContentAddMemberType(Description string) *PaperContentAddMemberType {
+ s := new(PaperContentAddMemberType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentAddToFolderDetails : Added Paper doc/folder to folder.
+type PaperContentAddToFolderDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // ParentAssetIndex : Parent asset position in the Assets list.
+ ParentAssetIndex uint64 `json:"parent_asset_index"`
+}
+
+// NewPaperContentAddToFolderDetails returns a new PaperContentAddToFolderDetails instance
+func NewPaperContentAddToFolderDetails(EventUuid string, TargetAssetIndex uint64, ParentAssetIndex uint64) *PaperContentAddToFolderDetails {
+ s := new(PaperContentAddToFolderDetails)
+ s.EventUuid = EventUuid
+ s.TargetAssetIndex = TargetAssetIndex
+ s.ParentAssetIndex = ParentAssetIndex
+ return s
+}
+
+// PaperContentAddToFolderType : has no documentation (yet)
+type PaperContentAddToFolderType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentAddToFolderType returns a new PaperContentAddToFolderType instance
+func NewPaperContentAddToFolderType(Description string) *PaperContentAddToFolderType {
+ s := new(PaperContentAddToFolderType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentArchiveDetails : Archived Paper doc/folder.
+type PaperContentArchiveDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentArchiveDetails returns a new PaperContentArchiveDetails instance
+func NewPaperContentArchiveDetails(EventUuid string) *PaperContentArchiveDetails {
+ s := new(PaperContentArchiveDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentArchiveType : has no documentation (yet)
+type PaperContentArchiveType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentArchiveType returns a new PaperContentArchiveType instance
+func NewPaperContentArchiveType(Description string) *PaperContentArchiveType {
+ s := new(PaperContentArchiveType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentCreateDetails : Created Paper doc/folder.
+type PaperContentCreateDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentCreateDetails returns a new PaperContentCreateDetails instance
+func NewPaperContentCreateDetails(EventUuid string) *PaperContentCreateDetails {
+ s := new(PaperContentCreateDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentCreateType : has no documentation (yet)
+type PaperContentCreateType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentCreateType returns a new PaperContentCreateType instance
+func NewPaperContentCreateType(Description string) *PaperContentCreateType {
+ s := new(PaperContentCreateType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentPermanentlyDeleteDetails : Permanently deleted Paper doc/folder.
+type PaperContentPermanentlyDeleteDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentPermanentlyDeleteDetails returns a new PaperContentPermanentlyDeleteDetails instance
+func NewPaperContentPermanentlyDeleteDetails(EventUuid string) *PaperContentPermanentlyDeleteDetails {
+ s := new(PaperContentPermanentlyDeleteDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentPermanentlyDeleteType : has no documentation (yet)
+type PaperContentPermanentlyDeleteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentPermanentlyDeleteType returns a new PaperContentPermanentlyDeleteType instance
+func NewPaperContentPermanentlyDeleteType(Description string) *PaperContentPermanentlyDeleteType {
+ s := new(PaperContentPermanentlyDeleteType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentRemoveFromFolderDetails : Removed Paper doc/folder from folder.
+type PaperContentRemoveFromFolderDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // ParentAssetIndex : Parent asset position in the Assets list.
+ ParentAssetIndex uint64 `json:"parent_asset_index"`
+}
+
+// NewPaperContentRemoveFromFolderDetails returns a new PaperContentRemoveFromFolderDetails instance
+func NewPaperContentRemoveFromFolderDetails(EventUuid string, TargetAssetIndex uint64, ParentAssetIndex uint64) *PaperContentRemoveFromFolderDetails {
+ s := new(PaperContentRemoveFromFolderDetails)
+ s.EventUuid = EventUuid
+ s.TargetAssetIndex = TargetAssetIndex
+ s.ParentAssetIndex = ParentAssetIndex
+ return s
+}
+
+// PaperContentRemoveFromFolderType : has no documentation (yet)
+type PaperContentRemoveFromFolderType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentRemoveFromFolderType returns a new PaperContentRemoveFromFolderType instance
+func NewPaperContentRemoveFromFolderType(Description string) *PaperContentRemoveFromFolderType {
+ s := new(PaperContentRemoveFromFolderType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentRemoveMemberDetails : Removed team member from Paper doc/folder.
+type PaperContentRemoveMemberDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentRemoveMemberDetails returns a new PaperContentRemoveMemberDetails instance
+func NewPaperContentRemoveMemberDetails(EventUuid string) *PaperContentRemoveMemberDetails {
+ s := new(PaperContentRemoveMemberDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentRemoveMemberType : has no documentation (yet)
+type PaperContentRemoveMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentRemoveMemberType returns a new PaperContentRemoveMemberType instance
+func NewPaperContentRemoveMemberType(Description string) *PaperContentRemoveMemberType {
+ s := new(PaperContentRemoveMemberType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentRenameDetails : Renamed Paper doc/folder.
+type PaperContentRenameDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentRenameDetails returns a new PaperContentRenameDetails instance
+func NewPaperContentRenameDetails(EventUuid string) *PaperContentRenameDetails {
+ s := new(PaperContentRenameDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentRenameType : has no documentation (yet)
+type PaperContentRenameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentRenameType returns a new PaperContentRenameType instance
+func NewPaperContentRenameType(Description string) *PaperContentRenameType {
+ s := new(PaperContentRenameType)
+ s.Description = Description
+ return s
+}
+
+// PaperContentRestoreDetails : Restored archived Paper doc/folder.
+type PaperContentRestoreDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperContentRestoreDetails returns a new PaperContentRestoreDetails instance
+func NewPaperContentRestoreDetails(EventUuid string) *PaperContentRestoreDetails {
+ s := new(PaperContentRestoreDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperContentRestoreType : has no documentation (yet)
+type PaperContentRestoreType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperContentRestoreType returns a new PaperContentRestoreType instance
+func NewPaperContentRestoreType(Description string) *PaperContentRestoreType {
+ s := new(PaperContentRestoreType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocAddCommentDetails : Added Paper doc comment.
+type PaperDocAddCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewPaperDocAddCommentDetails returns a new PaperDocAddCommentDetails instance
+func NewPaperDocAddCommentDetails(EventUuid string) *PaperDocAddCommentDetails {
+ s := new(PaperDocAddCommentDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocAddCommentType : has no documentation (yet)
+type PaperDocAddCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocAddCommentType returns a new PaperDocAddCommentType instance
+func NewPaperDocAddCommentType(Description string) *PaperDocAddCommentType {
+ s := new(PaperDocAddCommentType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocChangeMemberRoleDetails : Changed team member permissions for Paper
+// doc.
+type PaperDocChangeMemberRoleDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // AccessType : Paper doc access type.
+ AccessType *PaperAccessType `json:"access_type"`
+}
+
+// NewPaperDocChangeMemberRoleDetails returns a new PaperDocChangeMemberRoleDetails instance
+func NewPaperDocChangeMemberRoleDetails(EventUuid string, AccessType *PaperAccessType) *PaperDocChangeMemberRoleDetails {
+ s := new(PaperDocChangeMemberRoleDetails)
+ s.EventUuid = EventUuid
+ s.AccessType = AccessType
+ return s
+}
+
+// PaperDocChangeMemberRoleType : has no documentation (yet)
+type PaperDocChangeMemberRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocChangeMemberRoleType returns a new PaperDocChangeMemberRoleType instance
+func NewPaperDocChangeMemberRoleType(Description string) *PaperDocChangeMemberRoleType {
+ s := new(PaperDocChangeMemberRoleType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocChangeSharingPolicyDetails : Changed sharing setting for Paper doc.
+type PaperDocChangeSharingPolicyDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // PublicSharingPolicy : Sharing policy with external users. Might be
+ // missing due to historical data gap.
+ PublicSharingPolicy string `json:"public_sharing_policy,omitempty"`
+ // TeamSharingPolicy : Sharing policy with team. Might be missing due to
+ // historical data gap.
+ TeamSharingPolicy string `json:"team_sharing_policy,omitempty"`
+}
+
+// NewPaperDocChangeSharingPolicyDetails returns a new PaperDocChangeSharingPolicyDetails instance
+func NewPaperDocChangeSharingPolicyDetails(EventUuid string) *PaperDocChangeSharingPolicyDetails {
+ s := new(PaperDocChangeSharingPolicyDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocChangeSharingPolicyType : has no documentation (yet)
+type PaperDocChangeSharingPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocChangeSharingPolicyType returns a new PaperDocChangeSharingPolicyType instance
+func NewPaperDocChangeSharingPolicyType(Description string) *PaperDocChangeSharingPolicyType {
+ s := new(PaperDocChangeSharingPolicyType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocChangeSubscriptionDetails : Followed/unfollowed Paper doc.
+type PaperDocChangeSubscriptionDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // NewSubscriptionLevel : New doc subscription level.
+ NewSubscriptionLevel string `json:"new_subscription_level"`
+ // PreviousSubscriptionLevel : Previous doc subscription level. Might be
+ // missing due to historical data gap.
+ PreviousSubscriptionLevel string `json:"previous_subscription_level,omitempty"`
+}
+
+// NewPaperDocChangeSubscriptionDetails returns a new PaperDocChangeSubscriptionDetails instance
+func NewPaperDocChangeSubscriptionDetails(EventUuid string, NewSubscriptionLevel string) *PaperDocChangeSubscriptionDetails {
+ s := new(PaperDocChangeSubscriptionDetails)
+ s.EventUuid = EventUuid
+ s.NewSubscriptionLevel = NewSubscriptionLevel
+ return s
+}
+
+// PaperDocChangeSubscriptionType : has no documentation (yet)
+type PaperDocChangeSubscriptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocChangeSubscriptionType returns a new PaperDocChangeSubscriptionType instance
+func NewPaperDocChangeSubscriptionType(Description string) *PaperDocChangeSubscriptionType {
+ s := new(PaperDocChangeSubscriptionType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocDeleteCommentDetails : Deleted Paper doc comment.
+type PaperDocDeleteCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewPaperDocDeleteCommentDetails returns a new PaperDocDeleteCommentDetails instance
+func NewPaperDocDeleteCommentDetails(EventUuid string) *PaperDocDeleteCommentDetails {
+ s := new(PaperDocDeleteCommentDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocDeleteCommentType : has no documentation (yet)
+type PaperDocDeleteCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocDeleteCommentType returns a new PaperDocDeleteCommentType instance
+func NewPaperDocDeleteCommentType(Description string) *PaperDocDeleteCommentType {
+ s := new(PaperDocDeleteCommentType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocDeletedDetails : Archived Paper doc.
+type PaperDocDeletedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperDocDeletedDetails returns a new PaperDocDeletedDetails instance
+func NewPaperDocDeletedDetails(EventUuid string) *PaperDocDeletedDetails {
+ s := new(PaperDocDeletedDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocDeletedType : has no documentation (yet)
+type PaperDocDeletedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocDeletedType returns a new PaperDocDeletedType instance
+func NewPaperDocDeletedType(Description string) *PaperDocDeletedType {
+ s := new(PaperDocDeletedType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocDownloadDetails : Downloaded Paper doc in specific format.
+type PaperDocDownloadDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // ExportFileFormat : Export file format.
+ ExportFileFormat *PaperDownloadFormat `json:"export_file_format"`
+}
+
+// NewPaperDocDownloadDetails returns a new PaperDocDownloadDetails instance
+func NewPaperDocDownloadDetails(EventUuid string, ExportFileFormat *PaperDownloadFormat) *PaperDocDownloadDetails {
+ s := new(PaperDocDownloadDetails)
+ s.EventUuid = EventUuid
+ s.ExportFileFormat = ExportFileFormat
return s
}
-// FileChangeCommentSubscriptionDetails : Subscribed to or unsubscribed from
-// comment notifications for file.
-type FileChangeCommentSubscriptionDetails struct {
- // NewValue : New file comment subscription.
- NewValue *FileCommentNotificationPolicy `json:"new_value"`
- // PreviousValue : Previous file comment subscription. Might be missing due
- // to historical data gap.
- PreviousValue *FileCommentNotificationPolicy `json:"previous_value,omitempty"`
+// PaperDocDownloadType : has no documentation (yet)
+type PaperDocDownloadType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileChangeCommentSubscriptionDetails returns a new FileChangeCommentSubscriptionDetails instance
-func NewFileChangeCommentSubscriptionDetails(NewValue *FileCommentNotificationPolicy) *FileChangeCommentSubscriptionDetails {
- s := new(FileChangeCommentSubscriptionDetails)
- s.NewValue = NewValue
+// NewPaperDocDownloadType returns a new PaperDocDownloadType instance
+func NewPaperDocDownloadType(Description string) *PaperDocDownloadType {
+ s := new(PaperDocDownloadType)
+ s.Description = Description
return s
}
-// FileCommentNotificationPolicy : Enable or disable file comments notifications
-type FileCommentNotificationPolicy struct {
- dropbox.Tagged
+// PaperDocEditCommentDetails : Edited Paper doc comment.
+type PaperDocEditCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
}
-// Valid tag values for FileCommentNotificationPolicy
-const (
- FileCommentNotificationPolicyDisabled = "disabled"
- FileCommentNotificationPolicyEnabled = "enabled"
- FileCommentNotificationPolicyOther = "other"
-)
+// NewPaperDocEditCommentDetails returns a new PaperDocEditCommentDetails instance
+func NewPaperDocEditCommentDetails(EventUuid string) *PaperDocEditCommentDetails {
+ s := new(PaperDocEditCommentDetails)
+ s.EventUuid = EventUuid
+ return s
+}
-// FileCommentsChangePolicyDetails : Enabled or disabled commenting on team
-// files.
-type FileCommentsChangePolicyDetails struct {
- // NewValue : New commenting on team files policy.
- NewValue *FileCommentsPolicy `json:"new_value"`
- // PreviousValue : Previous commenting on team files policy. Might be
- // missing due to historical data gap.
- PreviousValue *FileCommentsPolicy `json:"previous_value,omitempty"`
+// PaperDocEditCommentType : has no documentation (yet)
+type PaperDocEditCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileCommentsChangePolicyDetails returns a new FileCommentsChangePolicyDetails instance
-func NewFileCommentsChangePolicyDetails(NewValue *FileCommentsPolicy) *FileCommentsChangePolicyDetails {
- s := new(FileCommentsChangePolicyDetails)
- s.NewValue = NewValue
+// NewPaperDocEditCommentType returns a new PaperDocEditCommentType instance
+func NewPaperDocEditCommentType(Description string) *PaperDocEditCommentType {
+ s := new(PaperDocEditCommentType)
+ s.Description = Description
return s
}
-// FileCommentsPolicy : File comments policy
-type FileCommentsPolicy struct {
- dropbox.Tagged
+// PaperDocEditDetails : Edited Paper doc.
+type PaperDocEditDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// Valid tag values for FileCommentsPolicy
-const (
- FileCommentsPolicyDisabled = "disabled"
- FileCommentsPolicyEnabled = "enabled"
- FileCommentsPolicyOther = "other"
-)
+// NewPaperDocEditDetails returns a new PaperDocEditDetails instance
+func NewPaperDocEditDetails(EventUuid string) *PaperDocEditDetails {
+ s := new(PaperDocEditDetails)
+ s.EventUuid = EventUuid
+ return s
+}
-// FileCopyDetails : Copied files and/or folders.
-type FileCopyDetails struct {
- // RelocateActionDetails : Relocate action details.
- RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+// PaperDocEditType : has no documentation (yet)
+type PaperDocEditType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileCopyDetails returns a new FileCopyDetails instance
-func NewFileCopyDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileCopyDetails {
- s := new(FileCopyDetails)
- s.RelocateActionDetails = RelocateActionDetails
+// NewPaperDocEditType returns a new PaperDocEditType instance
+func NewPaperDocEditType(Description string) *PaperDocEditType {
+ s := new(PaperDocEditType)
+ s.Description = Description
return s
}
-// FileDeleteCommentDetails : Deleted a file comment.
-type FileDeleteCommentDetails struct {
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// PaperDocFollowedDetails : Followed Paper doc.
+type PaperDocFollowedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileDeleteCommentDetails returns a new FileDeleteCommentDetails instance
-func NewFileDeleteCommentDetails() *FileDeleteCommentDetails {
- s := new(FileDeleteCommentDetails)
+// NewPaperDocFollowedDetails returns a new PaperDocFollowedDetails instance
+func NewPaperDocFollowedDetails(EventUuid string) *PaperDocFollowedDetails {
+ s := new(PaperDocFollowedDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileDeleteDetails : Deleted files and/or folders.
-type FileDeleteDetails struct {
+// PaperDocFollowedType : has no documentation (yet)
+type PaperDocFollowedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileDeleteDetails returns a new FileDeleteDetails instance
-func NewFileDeleteDetails() *FileDeleteDetails {
- s := new(FileDeleteDetails)
+// NewPaperDocFollowedType returns a new PaperDocFollowedType instance
+func NewPaperDocFollowedType(Description string) *PaperDocFollowedType {
+ s := new(PaperDocFollowedType)
+ s.Description = Description
return s
}
-// FileDownloadDetails : Downloaded files and/or folders.
-type FileDownloadDetails struct {
+// PaperDocMentionDetails : Mentioned team member in Paper doc.
+type PaperDocMentionDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileDownloadDetails returns a new FileDownloadDetails instance
-func NewFileDownloadDetails() *FileDownloadDetails {
- s := new(FileDownloadDetails)
+// NewPaperDocMentionDetails returns a new PaperDocMentionDetails instance
+func NewPaperDocMentionDetails(EventUuid string) *PaperDocMentionDetails {
+ s := new(PaperDocMentionDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileEditDetails : Edited files.
-type FileEditDetails struct {
+// PaperDocMentionType : has no documentation (yet)
+type PaperDocMentionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileEditDetails returns a new FileEditDetails instance
-func NewFileEditDetails() *FileEditDetails {
- s := new(FileEditDetails)
+// NewPaperDocMentionType returns a new PaperDocMentionType instance
+func NewPaperDocMentionType(Description string) *PaperDocMentionType {
+ s := new(PaperDocMentionType)
+ s.Description = Description
return s
}
-// FileGetCopyReferenceDetails : Create a copy reference to a file or folder.
-type FileGetCopyReferenceDetails struct {
+// PaperDocRequestAccessDetails : Requested access to Paper doc.
+type PaperDocRequestAccessDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileGetCopyReferenceDetails returns a new FileGetCopyReferenceDetails instance
-func NewFileGetCopyReferenceDetails() *FileGetCopyReferenceDetails {
- s := new(FileGetCopyReferenceDetails)
+// NewPaperDocRequestAccessDetails returns a new PaperDocRequestAccessDetails instance
+func NewPaperDocRequestAccessDetails(EventUuid string) *PaperDocRequestAccessDetails {
+ s := new(PaperDocRequestAccessDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileLikeCommentDetails : Liked a file comment.
-type FileLikeCommentDetails struct {
+// PaperDocRequestAccessType : has no documentation (yet)
+type PaperDocRequestAccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocRequestAccessType returns a new PaperDocRequestAccessType instance
+func NewPaperDocRequestAccessType(Description string) *PaperDocRequestAccessType {
+ s := new(PaperDocRequestAccessType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocResolveCommentDetails : Resolved Paper doc comment.
+type PaperDocResolveCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
// CommentText : Comment text. Might be missing due to historical data gap.
CommentText string `json:"comment_text,omitempty"`
}
-// NewFileLikeCommentDetails returns a new FileLikeCommentDetails instance
-func NewFileLikeCommentDetails() *FileLikeCommentDetails {
- s := new(FileLikeCommentDetails)
+// NewPaperDocResolveCommentDetails returns a new PaperDocResolveCommentDetails instance
+func NewPaperDocResolveCommentDetails(EventUuid string) *PaperDocResolveCommentDetails {
+ s := new(PaperDocResolveCommentDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileOrFolderLogInfo : Generic information relevant both for files and folders
-type FileOrFolderLogInfo struct {
- // Path : Path relative to event context.
- Path *PathLogInfo `json:"path"`
- // DisplayName : Display name. Might be missing due to historical data gap.
- DisplayName string `json:"display_name,omitempty"`
- // FileId : Unique ID. Might be missing due to historical data gap.
- FileId string `json:"file_id,omitempty"`
+// PaperDocResolveCommentType : has no documentation (yet)
+type PaperDocResolveCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileOrFolderLogInfo returns a new FileOrFolderLogInfo instance
-func NewFileOrFolderLogInfo(Path *PathLogInfo) *FileOrFolderLogInfo {
- s := new(FileOrFolderLogInfo)
- s.Path = Path
+// NewPaperDocResolveCommentType returns a new PaperDocResolveCommentType instance
+func NewPaperDocResolveCommentType(Description string) *PaperDocResolveCommentType {
+ s := new(PaperDocResolveCommentType)
+ s.Description = Description
return s
}
-// FileLogInfo : File's logged information.
-type FileLogInfo struct {
- FileOrFolderLogInfo
+// PaperDocRevertDetails : Restored Paper doc to previous version.
+type PaperDocRevertDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileLogInfo returns a new FileLogInfo instance
-func NewFileLogInfo(Path *PathLogInfo) *FileLogInfo {
- s := new(FileLogInfo)
- s.Path = Path
+// NewPaperDocRevertDetails returns a new PaperDocRevertDetails instance
+func NewPaperDocRevertDetails(EventUuid string) *PaperDocRevertDetails {
+ s := new(PaperDocRevertDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileMoveDetails : Moved files and/or folders.
-type FileMoveDetails struct {
- // RelocateActionDetails : Relocate action details.
- RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+// PaperDocRevertType : has no documentation (yet)
+type PaperDocRevertType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileMoveDetails returns a new FileMoveDetails instance
-func NewFileMoveDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileMoveDetails {
- s := new(FileMoveDetails)
- s.RelocateActionDetails = RelocateActionDetails
+// NewPaperDocRevertType returns a new PaperDocRevertType instance
+func NewPaperDocRevertType(Description string) *PaperDocRevertType {
+ s := new(PaperDocRevertType)
+ s.Description = Description
return s
}
-// FilePermanentlyDeleteDetails : Permanently deleted files and/or folders.
-type FilePermanentlyDeleteDetails struct {
+// PaperDocSlackShareDetails : Shared Paper doc via Slack.
+type PaperDocSlackShareDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFilePermanentlyDeleteDetails returns a new FilePermanentlyDeleteDetails instance
-func NewFilePermanentlyDeleteDetails() *FilePermanentlyDeleteDetails {
- s := new(FilePermanentlyDeleteDetails)
+// NewPaperDocSlackShareDetails returns a new PaperDocSlackShareDetails instance
+func NewPaperDocSlackShareDetails(EventUuid string) *PaperDocSlackShareDetails {
+ s := new(PaperDocSlackShareDetails)
+ s.EventUuid = EventUuid
return s
}
-// FilePreviewDetails : Previewed files and/or folders.
-type FilePreviewDetails struct {
+// PaperDocSlackShareType : has no documentation (yet)
+type PaperDocSlackShareType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFilePreviewDetails returns a new FilePreviewDetails instance
-func NewFilePreviewDetails() *FilePreviewDetails {
- s := new(FilePreviewDetails)
+// NewPaperDocSlackShareType returns a new PaperDocSlackShareType instance
+func NewPaperDocSlackShareType(Description string) *PaperDocSlackShareType {
+ s := new(PaperDocSlackShareType)
+ s.Description = Description
return s
}
-// FileRenameDetails : Renamed files and/or folders.
-type FileRenameDetails struct {
- // RelocateActionDetails : Relocate action details.
- RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+// PaperDocTeamInviteDetails : Shared Paper doc with team member.
+type PaperDocTeamInviteDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileRenameDetails returns a new FileRenameDetails instance
-func NewFileRenameDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileRenameDetails {
- s := new(FileRenameDetails)
- s.RelocateActionDetails = RelocateActionDetails
+// NewPaperDocTeamInviteDetails returns a new PaperDocTeamInviteDetails instance
+func NewPaperDocTeamInviteDetails(EventUuid string) *PaperDocTeamInviteDetails {
+ s := new(PaperDocTeamInviteDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocTeamInviteType : has no documentation (yet)
+type PaperDocTeamInviteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocTeamInviteType returns a new PaperDocTeamInviteType instance
+func NewPaperDocTeamInviteType(Description string) *PaperDocTeamInviteType {
+ s := new(PaperDocTeamInviteType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocTrashedDetails : Deleted Paper doc.
+type PaperDocTrashedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperDocTrashedDetails returns a new PaperDocTrashedDetails instance
+func NewPaperDocTrashedDetails(EventUuid string) *PaperDocTrashedDetails {
+ s := new(PaperDocTrashedDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocTrashedType : has no documentation (yet)
+type PaperDocTrashedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocTrashedType returns a new PaperDocTrashedType instance
+func NewPaperDocTrashedType(Description string) *PaperDocTrashedType {
+ s := new(PaperDocTrashedType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocUnresolveCommentDetails : Unresolved Paper doc comment.
+type PaperDocUnresolveCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text. Might be missing due to historical data gap.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewPaperDocUnresolveCommentDetails returns a new PaperDocUnresolveCommentDetails instance
+func NewPaperDocUnresolveCommentDetails(EventUuid string) *PaperDocUnresolveCommentDetails {
+ s := new(PaperDocUnresolveCommentDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// PaperDocUnresolveCommentType : has no documentation (yet)
+type PaperDocUnresolveCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewPaperDocUnresolveCommentType returns a new PaperDocUnresolveCommentType instance
+func NewPaperDocUnresolveCommentType(Description string) *PaperDocUnresolveCommentType {
+ s := new(PaperDocUnresolveCommentType)
+ s.Description = Description
+ return s
+}
+
+// PaperDocUntrashedDetails : Restored Paper doc.
+type PaperDocUntrashedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewPaperDocUntrashedDetails returns a new PaperDocUntrashedDetails instance
+func NewPaperDocUntrashedDetails(EventUuid string) *PaperDocUntrashedDetails {
+ s := new(PaperDocUntrashedDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileRequestAddDeadlineDetails : Added a deadline to a file request.
-type FileRequestAddDeadlineDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // RequestTitle : File request title.
- RequestTitle string `json:"request_title,omitempty"`
+// PaperDocUntrashedType : has no documentation (yet)
+type PaperDocUntrashedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRequestAddDeadlineDetails returns a new FileRequestAddDeadlineDetails instance
-func NewFileRequestAddDeadlineDetails() *FileRequestAddDeadlineDetails {
- s := new(FileRequestAddDeadlineDetails)
+// NewPaperDocUntrashedType returns a new PaperDocUntrashedType instance
+func NewPaperDocUntrashedType(Description string) *PaperDocUntrashedType {
+ s := new(PaperDocUntrashedType)
+ s.Description = Description
return s
}
-// FileRequestChangeDetails : Change a file request.
-type FileRequestChangeDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // PreviousDetails : Previous file request details. Might be missing due to
- // historical data gap.
- PreviousDetails *FileRequestDetails `json:"previous_details,omitempty"`
- // NewDetails : New file request details.
- NewDetails *FileRequestDetails `json:"new_details"`
+// PaperDocViewDetails : Viewed Paper doc.
+type PaperDocViewDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileRequestChangeDetails returns a new FileRequestChangeDetails instance
-func NewFileRequestChangeDetails(NewDetails *FileRequestDetails) *FileRequestChangeDetails {
- s := new(FileRequestChangeDetails)
- s.NewDetails = NewDetails
+// NewPaperDocViewDetails returns a new PaperDocViewDetails instance
+func NewPaperDocViewDetails(EventUuid string) *PaperDocViewDetails {
+ s := new(PaperDocViewDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileRequestChangeFolderDetails : Changed the file request folder.
-type FileRequestChangeFolderDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // RequestTitle : File request title.
- RequestTitle string `json:"request_title,omitempty"`
+// PaperDocViewType : has no documentation (yet)
+type PaperDocViewType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRequestChangeFolderDetails returns a new FileRequestChangeFolderDetails instance
-func NewFileRequestChangeFolderDetails() *FileRequestChangeFolderDetails {
- s := new(FileRequestChangeFolderDetails)
+// NewPaperDocViewType returns a new PaperDocViewType instance
+func NewPaperDocViewType(Description string) *PaperDocViewType {
+ s := new(PaperDocViewType)
+ s.Description = Description
return s
}
-// FileRequestCloseDetails : Closed a file request.
-type FileRequestCloseDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // PreviousDetails : Previous file request details. Might be missing due to
- // historical data gap.
- PreviousDetails *FileRequestDetails `json:"previous_details,omitempty"`
+// PaperDocumentLogInfo : Paper document's logged information.
+type PaperDocumentLogInfo struct {
+ // DocId : Papers document Id.
+ DocId string `json:"doc_id"`
+ // DocTitle : Paper document title.
+ DocTitle string `json:"doc_title"`
}
-// NewFileRequestCloseDetails returns a new FileRequestCloseDetails instance
-func NewFileRequestCloseDetails() *FileRequestCloseDetails {
- s := new(FileRequestCloseDetails)
+// NewPaperDocumentLogInfo returns a new PaperDocumentLogInfo instance
+func NewPaperDocumentLogInfo(DocId string, DocTitle string) *PaperDocumentLogInfo {
+ s := new(PaperDocumentLogInfo)
+ s.DocId = DocId
+ s.DocTitle = DocTitle
return s
}
-// FileRequestCreateDetails : Created a file request.
-type FileRequestCreateDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // RequestDetails : File request details. Might be missing due to historical
- // data gap.
- RequestDetails *FileRequestDetails `json:"request_details,omitempty"`
+// PaperDownloadFormat : has no documentation (yet)
+type PaperDownloadFormat struct {
+ dropbox.Tagged
}
-// NewFileRequestCreateDetails returns a new FileRequestCreateDetails instance
-func NewFileRequestCreateDetails() *FileRequestCreateDetails {
- s := new(FileRequestCreateDetails)
- return s
-}
+// Valid tag values for PaperDownloadFormat
+const (
+ PaperDownloadFormatDocx = "docx"
+ PaperDownloadFormatHtml = "html"
+ PaperDownloadFormatMarkdown = "markdown"
+ PaperDownloadFormatOther = "other"
+)
-// FileRequestDetails : File request details
-type FileRequestDetails struct {
- // RequestTitle : File request title.
- RequestTitle string `json:"request_title,omitempty"`
- // AssetIndex : Asset position in the Assets list.
- AssetIndex uint64 `json:"asset_index"`
- // Deadline : File request deadline. Might be missing due to historical data
- // gap.
- Deadline time.Time `json:"deadline,omitempty"`
+// PaperEnabledUsersGroupAdditionDetails : Added users to Paper-enabled users
+// list.
+type PaperEnabledUsersGroupAdditionDetails struct {
}
-// NewFileRequestDetails returns a new FileRequestDetails instance
-func NewFileRequestDetails(AssetIndex uint64) *FileRequestDetails {
- s := new(FileRequestDetails)
- s.AssetIndex = AssetIndex
+// NewPaperEnabledUsersGroupAdditionDetails returns a new PaperEnabledUsersGroupAdditionDetails instance
+func NewPaperEnabledUsersGroupAdditionDetails() *PaperEnabledUsersGroupAdditionDetails {
+ s := new(PaperEnabledUsersGroupAdditionDetails)
return s
}
-// FileRequestReceiveFileDetails : Received files for a file request.
-type FileRequestReceiveFileDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // RequestTitle : File request title.
- RequestTitle string `json:"request_title,omitempty"`
- // SubmittedFileNames : Submitted file names.
- SubmittedFileNames []string `json:"submitted_file_names"`
+// PaperEnabledUsersGroupAdditionType : has no documentation (yet)
+type PaperEnabledUsersGroupAdditionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRequestReceiveFileDetails returns a new FileRequestReceiveFileDetails instance
-func NewFileRequestReceiveFileDetails(SubmittedFileNames []string) *FileRequestReceiveFileDetails {
- s := new(FileRequestReceiveFileDetails)
- s.SubmittedFileNames = SubmittedFileNames
+// NewPaperEnabledUsersGroupAdditionType returns a new PaperEnabledUsersGroupAdditionType instance
+func NewPaperEnabledUsersGroupAdditionType(Description string) *PaperEnabledUsersGroupAdditionType {
+ s := new(PaperEnabledUsersGroupAdditionType)
+ s.Description = Description
return s
}
-// FileRequestRemoveDeadlineDetails : Removed the file request deadline.
-type FileRequestRemoveDeadlineDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // RequestTitle : File request title.
- RequestTitle string `json:"request_title,omitempty"`
+// PaperEnabledUsersGroupRemovalDetails : Removed users from Paper-enabled users
+// list.
+type PaperEnabledUsersGroupRemovalDetails struct {
}
-// NewFileRequestRemoveDeadlineDetails returns a new FileRequestRemoveDeadlineDetails instance
-func NewFileRequestRemoveDeadlineDetails() *FileRequestRemoveDeadlineDetails {
- s := new(FileRequestRemoveDeadlineDetails)
+// NewPaperEnabledUsersGroupRemovalDetails returns a new PaperEnabledUsersGroupRemovalDetails instance
+func NewPaperEnabledUsersGroupRemovalDetails() *PaperEnabledUsersGroupRemovalDetails {
+ s := new(PaperEnabledUsersGroupRemovalDetails)
return s
}
-// FileRequestSendDetails : Sent file request to users via email.
-type FileRequestSendDetails struct {
- // FileRequestId : File request id. Might be missing due to historical data
- // gap.
- FileRequestId string `json:"file_request_id,omitempty"`
- // RequestTitle : File request title.
- RequestTitle string `json:"request_title,omitempty"`
+// PaperEnabledUsersGroupRemovalType : has no documentation (yet)
+type PaperEnabledUsersGroupRemovalType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRequestSendDetails returns a new FileRequestSendDetails instance
-func NewFileRequestSendDetails() *FileRequestSendDetails {
- s := new(FileRequestSendDetails)
+// NewPaperEnabledUsersGroupRemovalType returns a new PaperEnabledUsersGroupRemovalType instance
+func NewPaperEnabledUsersGroupRemovalType(Description string) *PaperEnabledUsersGroupRemovalType {
+ s := new(PaperEnabledUsersGroupRemovalType)
+ s.Description = Description
return s
}
-// FileRequestsChangePolicyDetails : Enabled or disabled file requests.
-type FileRequestsChangePolicyDetails struct {
- // NewValue : New file requests policy.
- NewValue *FileRequestsPolicy `json:"new_value"`
- // PreviousValue : Previous file requests policy. Might be missing due to
- // historical data gap.
- PreviousValue *FileRequestsPolicy `json:"previous_value,omitempty"`
+// PaperExternalViewAllowDetails : Changed Paper external sharing setting to
+// anyone.
+type PaperExternalViewAllowDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileRequestsChangePolicyDetails returns a new FileRequestsChangePolicyDetails instance
-func NewFileRequestsChangePolicyDetails(NewValue *FileRequestsPolicy) *FileRequestsChangePolicyDetails {
- s := new(FileRequestsChangePolicyDetails)
- s.NewValue = NewValue
+// NewPaperExternalViewAllowDetails returns a new PaperExternalViewAllowDetails instance
+func NewPaperExternalViewAllowDetails(EventUuid string) *PaperExternalViewAllowDetails {
+ s := new(PaperExternalViewAllowDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileRequestsEmailsEnabledDetails : Enabled file request emails for everyone.
-type FileRequestsEmailsEnabledDetails struct {
+// PaperExternalViewAllowType : has no documentation (yet)
+type PaperExternalViewAllowType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRequestsEmailsEnabledDetails returns a new FileRequestsEmailsEnabledDetails instance
-func NewFileRequestsEmailsEnabledDetails() *FileRequestsEmailsEnabledDetails {
- s := new(FileRequestsEmailsEnabledDetails)
+// NewPaperExternalViewAllowType returns a new PaperExternalViewAllowType instance
+func NewPaperExternalViewAllowType(Description string) *PaperExternalViewAllowType {
+ s := new(PaperExternalViewAllowType)
+ s.Description = Description
return s
}
-// FileRequestsEmailsRestrictedToTeamOnlyDetails : Allowed file request emails
-// for the team.
-type FileRequestsEmailsRestrictedToTeamOnlyDetails struct {
+// PaperExternalViewDefaultTeamDetails : Changed Paper external sharing setting
+// to default team.
+type PaperExternalViewDefaultTeamDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileRequestsEmailsRestrictedToTeamOnlyDetails returns a new FileRequestsEmailsRestrictedToTeamOnlyDetails instance
-func NewFileRequestsEmailsRestrictedToTeamOnlyDetails() *FileRequestsEmailsRestrictedToTeamOnlyDetails {
- s := new(FileRequestsEmailsRestrictedToTeamOnlyDetails)
+// NewPaperExternalViewDefaultTeamDetails returns a new PaperExternalViewDefaultTeamDetails instance
+func NewPaperExternalViewDefaultTeamDetails(EventUuid string) *PaperExternalViewDefaultTeamDetails {
+ s := new(PaperExternalViewDefaultTeamDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileRequestsPolicy : File requests policy
-type FileRequestsPolicy struct {
- dropbox.Tagged
+// PaperExternalViewDefaultTeamType : has no documentation (yet)
+type PaperExternalViewDefaultTeamType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for FileRequestsPolicy
-const (
- FileRequestsPolicyDisabled = "disabled"
- FileRequestsPolicyEnabled = "enabled"
- FileRequestsPolicyOther = "other"
-)
+// NewPaperExternalViewDefaultTeamType returns a new PaperExternalViewDefaultTeamType instance
+func NewPaperExternalViewDefaultTeamType(Description string) *PaperExternalViewDefaultTeamType {
+ s := new(PaperExternalViewDefaultTeamType)
+ s.Description = Description
+ return s
+}
-// FileResolveCommentDetails : Resolved a file comment.
-type FileResolveCommentDetails struct {
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// PaperExternalViewForbidDetails : Changed Paper external sharing setting to
+// team-only.
+type PaperExternalViewForbidDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileResolveCommentDetails returns a new FileResolveCommentDetails instance
-func NewFileResolveCommentDetails() *FileResolveCommentDetails {
- s := new(FileResolveCommentDetails)
+// NewPaperExternalViewForbidDetails returns a new PaperExternalViewForbidDetails instance
+func NewPaperExternalViewForbidDetails(EventUuid string) *PaperExternalViewForbidDetails {
+ s := new(PaperExternalViewForbidDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileRestoreDetails : Restored deleted files and/or folders.
-type FileRestoreDetails struct {
+// PaperExternalViewForbidType : has no documentation (yet)
+type PaperExternalViewForbidType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRestoreDetails returns a new FileRestoreDetails instance
-func NewFileRestoreDetails() *FileRestoreDetails {
- s := new(FileRestoreDetails)
+// NewPaperExternalViewForbidType returns a new PaperExternalViewForbidType instance
+func NewPaperExternalViewForbidType(Description string) *PaperExternalViewForbidType {
+ s := new(PaperExternalViewForbidType)
+ s.Description = Description
return s
}
-// FileRevertDetails : Reverted files to a previous version.
-type FileRevertDetails struct {
+// PaperFolderChangeSubscriptionDetails : Followed/unfollowed Paper folder.
+type PaperFolderChangeSubscriptionDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // NewSubscriptionLevel : New folder subscription level.
+ NewSubscriptionLevel string `json:"new_subscription_level"`
+ // PreviousSubscriptionLevel : Previous folder subscription level. Might be
+ // missing due to historical data gap.
+ PreviousSubscriptionLevel string `json:"previous_subscription_level,omitempty"`
}
-// NewFileRevertDetails returns a new FileRevertDetails instance
-func NewFileRevertDetails() *FileRevertDetails {
- s := new(FileRevertDetails)
+// NewPaperFolderChangeSubscriptionDetails returns a new PaperFolderChangeSubscriptionDetails instance
+func NewPaperFolderChangeSubscriptionDetails(EventUuid string, NewSubscriptionLevel string) *PaperFolderChangeSubscriptionDetails {
+ s := new(PaperFolderChangeSubscriptionDetails)
+ s.EventUuid = EventUuid
+ s.NewSubscriptionLevel = NewSubscriptionLevel
return s
}
-// FileRollbackChangesDetails : Rolled back file change location changes.
-type FileRollbackChangesDetails struct {
+// PaperFolderChangeSubscriptionType : has no documentation (yet)
+type PaperFolderChangeSubscriptionType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileRollbackChangesDetails returns a new FileRollbackChangesDetails instance
-func NewFileRollbackChangesDetails() *FileRollbackChangesDetails {
- s := new(FileRollbackChangesDetails)
+// NewPaperFolderChangeSubscriptionType returns a new PaperFolderChangeSubscriptionType instance
+func NewPaperFolderChangeSubscriptionType(Description string) *PaperFolderChangeSubscriptionType {
+ s := new(PaperFolderChangeSubscriptionType)
+ s.Description = Description
return s
}
-// FileSaveCopyReferenceDetails : Save a file or folder using a copy reference.
-type FileSaveCopyReferenceDetails struct {
- // RelocateActionDetails : Relocate action details.
- RelocateActionDetails []*RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+// PaperFolderDeletedDetails : Archived Paper folder.
+type PaperFolderDeletedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileSaveCopyReferenceDetails returns a new FileSaveCopyReferenceDetails instance
-func NewFileSaveCopyReferenceDetails(RelocateActionDetails []*RelocateAssetReferencesLogInfo) *FileSaveCopyReferenceDetails {
- s := new(FileSaveCopyReferenceDetails)
- s.RelocateActionDetails = RelocateActionDetails
+// NewPaperFolderDeletedDetails returns a new PaperFolderDeletedDetails instance
+func NewPaperFolderDeletedDetails(EventUuid string) *PaperFolderDeletedDetails {
+ s := new(PaperFolderDeletedDetails)
+ s.EventUuid = EventUuid
return s
}
-// FileUnlikeCommentDetails : Unliked a file comment.
-type FileUnlikeCommentDetails struct {
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// PaperFolderDeletedType : has no documentation (yet)
+type PaperFolderDeletedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFileUnlikeCommentDetails returns a new FileUnlikeCommentDetails instance
-func NewFileUnlikeCommentDetails() *FileUnlikeCommentDetails {
- s := new(FileUnlikeCommentDetails)
+// NewPaperFolderDeletedType returns a new PaperFolderDeletedType instance
+func NewPaperFolderDeletedType(Description string) *PaperFolderDeletedType {
+ s := new(PaperFolderDeletedType)
+ s.Description = Description
return s
}
-// FileUnresolveCommentDetails : Unresolved a file comment.
-type FileUnresolveCommentDetails struct {
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// PaperFolderFollowedDetails : Followed Paper folder.
+type PaperFolderFollowedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewFileUnresolveCommentDetails returns a new FileUnresolveCommentDetails instance
-func NewFileUnresolveCommentDetails() *FileUnresolveCommentDetails {
- s := new(FileUnresolveCommentDetails)
+// NewPaperFolderFollowedDetails returns a new PaperFolderFollowedDetails instance
+func NewPaperFolderFollowedDetails(EventUuid string) *PaperFolderFollowedDetails {
+ s := new(PaperFolderFollowedDetails)
+ s.EventUuid = EventUuid
return s
}
-// FolderLogInfo : Folder's logged information.
-type FolderLogInfo struct {
- FileOrFolderLogInfo
+// PaperFolderFollowedType : has no documentation (yet)
+type PaperFolderFollowedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewFolderLogInfo returns a new FolderLogInfo instance
-func NewFolderLogInfo(Path *PathLogInfo) *FolderLogInfo {
- s := new(FolderLogInfo)
- s.Path = Path
+// NewPaperFolderFollowedType returns a new PaperFolderFollowedType instance
+func NewPaperFolderFollowedType(Description string) *PaperFolderFollowedType {
+ s := new(PaperFolderFollowedType)
+ s.Description = Description
return s
}
-// GeoLocationLogInfo : Geographic location details.
-type GeoLocationLogInfo struct {
- // City : City name.
- City string `json:"city,omitempty"`
- // Region : Region name.
- Region string `json:"region,omitempty"`
- // Country : Country code.
- Country string `json:"country,omitempty"`
- // IpAddress : IP address.
- IpAddress string `json:"ip_address"`
+// PaperFolderLogInfo : Paper folder's logged information.
+type PaperFolderLogInfo struct {
+ // FolderId : Papers folder Id.
+ FolderId string `json:"folder_id"`
+ // FolderName : Paper folder name.
+ FolderName string `json:"folder_name"`
}
-
-// NewGeoLocationLogInfo returns a new GeoLocationLogInfo instance
-func NewGeoLocationLogInfo(IpAddress string) *GeoLocationLogInfo {
- s := new(GeoLocationLogInfo)
- s.IpAddress = IpAddress
+
+// NewPaperFolderLogInfo returns a new PaperFolderLogInfo instance
+func NewPaperFolderLogInfo(FolderId string, FolderName string) *PaperFolderLogInfo {
+ s := new(PaperFolderLogInfo)
+ s.FolderId = FolderId
+ s.FolderName = FolderName
return s
}
-// GetTeamEventsArg : has no documentation (yet)
-type GetTeamEventsArg struct {
- // Limit : Number of results to return per call.
- Limit uint32 `json:"limit"`
- // AccountId : Filter the events by account ID. Return ony events with this
- // account_id as either Actor, Context, or Participants.
- AccountId string `json:"account_id,omitempty"`
- // Time : Filter by time range.
- Time *team_common.TimeRange `json:"time,omitempty"`
- // Category : Filter the returned events to a single category.
- Category *EventCategory `json:"category,omitempty"`
+// PaperFolderTeamInviteDetails : Shared Paper folder with member.
+type PaperFolderTeamInviteDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewGetTeamEventsArg returns a new GetTeamEventsArg instance
-func NewGetTeamEventsArg() *GetTeamEventsArg {
- s := new(GetTeamEventsArg)
- s.Limit = 1000
+// NewPaperFolderTeamInviteDetails returns a new PaperFolderTeamInviteDetails instance
+func NewPaperFolderTeamInviteDetails(EventUuid string) *PaperFolderTeamInviteDetails {
+ s := new(PaperFolderTeamInviteDetails)
+ s.EventUuid = EventUuid
return s
}
-// GetTeamEventsContinueArg : has no documentation (yet)
-type GetTeamEventsContinueArg struct {
- // Cursor : Indicates from what point to get the next set of events.
- Cursor string `json:"cursor"`
+// PaperFolderTeamInviteType : has no documentation (yet)
+type PaperFolderTeamInviteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGetTeamEventsContinueArg returns a new GetTeamEventsContinueArg instance
-func NewGetTeamEventsContinueArg(Cursor string) *GetTeamEventsContinueArg {
- s := new(GetTeamEventsContinueArg)
- s.Cursor = Cursor
+// NewPaperFolderTeamInviteType returns a new PaperFolderTeamInviteType instance
+func NewPaperFolderTeamInviteType(Description string) *PaperFolderTeamInviteType {
+ s := new(PaperFolderTeamInviteType)
+ s.Description = Description
return s
}
-// GetTeamEventsContinueError : Errors that can be raised when calling
-// `getEventsContinue`.
-type GetTeamEventsContinueError struct {
+// PaperMemberPolicy : Policy for controlling if team members can share Paper
+// documents externally.
+type PaperMemberPolicy struct {
dropbox.Tagged
}
-// Valid tag values for GetTeamEventsContinueError
+// Valid tag values for PaperMemberPolicy
const (
- GetTeamEventsContinueErrorBadCursor = "bad_cursor"
- GetTeamEventsContinueErrorOther = "other"
+ PaperMemberPolicyAnyoneWithLink = "anyone_with_link"
+ PaperMemberPolicyOnlyTeam = "only_team"
+ PaperMemberPolicyTeamAndExplicitlyShared = "team_and_explicitly_shared"
+ PaperMemberPolicyOther = "other"
)
-// GetTeamEventsError : Errors that can be raised when calling `getEvents`.
-type GetTeamEventsError struct {
+// ParticipantLogInfo : A user or group
+type ParticipantLogInfo struct {
dropbox.Tagged
+ // User : A user with a Dropbox account.
+ User IsUserLogInfo `json:"user,omitempty"`
+ // Group : Group details.
+ Group *GroupLogInfo `json:"group,omitempty"`
}
-// Valid tag values for GetTeamEventsError
+// Valid tag values for ParticipantLogInfo
const (
- GetTeamEventsErrorAccountIdNotFound = "account_id_not_found"
- GetTeamEventsErrorInvalidTimeRange = "invalid_time_range"
- GetTeamEventsErrorOther = "other"
+ ParticipantLogInfoUser = "user"
+ ParticipantLogInfoGroup = "group"
+ ParticipantLogInfoOther = "other"
)
-// GetTeamEventsResult : has no documentation (yet)
-type GetTeamEventsResult struct {
- // Events : List of events.
- Events []*TeamEvent `json:"events"`
- // Cursor : Pass the cursor into `getEventsContinue` to obtain additional
- // events.
- Cursor string `json:"cursor"`
- // HasMore : Is true if there are additional events that have not been
- // returned yet. An additional call to `getEventsContinue` can retrieve
- // them.
- HasMore bool `json:"has_more"`
+// UnmarshalJSON deserializes into a ParticipantLogInfo instance
+func (u *ParticipantLogInfo) UnmarshalJSON(body []byte) error {
+ type wrap struct {
+ dropbox.Tagged
+ // User : A user with a Dropbox account.
+ User json.RawMessage `json:"user,omitempty"`
+ // Group : Group details.
+ Group json.RawMessage `json:"group,omitempty"`
+ }
+ var w wrap
+ var err error
+ if err = json.Unmarshal(body, &w); err != nil {
+ return err
+ }
+ u.Tag = w.Tag
+ switch u.Tag {
+ case "user":
+ u.User, err = IsUserLogInfoFromJSON(body)
+
+ if err != nil {
+ return err
+ }
+ case "group":
+ err = json.Unmarshal(body, &u.Group)
+
+ if err != nil {
+ return err
+ }
+ }
+ return nil
}
-// NewGetTeamEventsResult returns a new GetTeamEventsResult instance
-func NewGetTeamEventsResult(Events []*TeamEvent, Cursor string, HasMore bool) *GetTeamEventsResult {
- s := new(GetTeamEventsResult)
- s.Events = Events
- s.Cursor = Cursor
- s.HasMore = HasMore
+// PasswordChangeDetails : Changed password.
+type PasswordChangeDetails struct {
+}
+
+// NewPasswordChangeDetails returns a new PasswordChangeDetails instance
+func NewPasswordChangeDetails() *PasswordChangeDetails {
+ s := new(PasswordChangeDetails)
return s
}
-// GoogleSsoChangePolicyDetails : Enabled or disabled Google single sign-on for
-// the team.
-type GoogleSsoChangePolicyDetails struct {
- // NewValue : New Google single sign-on policy.
- NewValue *GoogleSsoPolicy `json:"new_value"`
- // PreviousValue : Previous Google single sign-on policy. Might be missing
- // due to historical data gap.
- PreviousValue *GoogleSsoPolicy `json:"previous_value,omitempty"`
+// PasswordChangeType : has no documentation (yet)
+type PasswordChangeType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGoogleSsoChangePolicyDetails returns a new GoogleSsoChangePolicyDetails instance
-func NewGoogleSsoChangePolicyDetails(NewValue *GoogleSsoPolicy) *GoogleSsoChangePolicyDetails {
- s := new(GoogleSsoChangePolicyDetails)
- s.NewValue = NewValue
+// NewPasswordChangeType returns a new PasswordChangeType instance
+func NewPasswordChangeType(Description string) *PasswordChangeType {
+ s := new(PasswordChangeType)
+ s.Description = Description
return s
}
-// GoogleSsoPolicy : Google SSO policy
-type GoogleSsoPolicy struct {
- dropbox.Tagged
+// PasswordResetAllDetails : Reset all team member passwords.
+type PasswordResetAllDetails struct {
}
-// Valid tag values for GoogleSsoPolicy
-const (
- GoogleSsoPolicyDisabled = "disabled"
- GoogleSsoPolicyEnabled = "enabled"
- GoogleSsoPolicyOther = "other"
-)
+// NewPasswordResetAllDetails returns a new PasswordResetAllDetails instance
+func NewPasswordResetAllDetails() *PasswordResetAllDetails {
+ s := new(PasswordResetAllDetails)
+ return s
+}
-// GroupAddExternalIdDetails : Added an external ID for group.
-type GroupAddExternalIdDetails struct {
- // NewValue : Current external id.
- NewValue string `json:"new_value"`
+// PasswordResetAllType : has no documentation (yet)
+type PasswordResetAllType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGroupAddExternalIdDetails returns a new GroupAddExternalIdDetails instance
-func NewGroupAddExternalIdDetails(NewValue string) *GroupAddExternalIdDetails {
- s := new(GroupAddExternalIdDetails)
- s.NewValue = NewValue
+// NewPasswordResetAllType returns a new PasswordResetAllType instance
+func NewPasswordResetAllType(Description string) *PasswordResetAllType {
+ s := new(PasswordResetAllType)
+ s.Description = Description
return s
}
-// GroupAddMemberDetails : Added team members to a group.
-type GroupAddMemberDetails struct {
- // IsGroupOwner : Is group owner.
- IsGroupOwner bool `json:"is_group_owner"`
+// PasswordResetDetails : Reset password.
+type PasswordResetDetails struct {
}
-// NewGroupAddMemberDetails returns a new GroupAddMemberDetails instance
-func NewGroupAddMemberDetails(IsGroupOwner bool) *GroupAddMemberDetails {
- s := new(GroupAddMemberDetails)
- s.IsGroupOwner = IsGroupOwner
+// NewPasswordResetDetails returns a new PasswordResetDetails instance
+func NewPasswordResetDetails() *PasswordResetDetails {
+ s := new(PasswordResetDetails)
return s
}
-// GroupChangeExternalIdDetails : Changed the external ID for group.
-type GroupChangeExternalIdDetails struct {
- // NewValue : Current external id.
- NewValue string `json:"new_value"`
- // PreviousValue : Old external id.
- PreviousValue string `json:"previous_value"`
+// PasswordResetType : has no documentation (yet)
+type PasswordResetType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGroupChangeExternalIdDetails returns a new GroupChangeExternalIdDetails instance
-func NewGroupChangeExternalIdDetails(NewValue string, PreviousValue string) *GroupChangeExternalIdDetails {
- s := new(GroupChangeExternalIdDetails)
- s.NewValue = NewValue
- s.PreviousValue = PreviousValue
+// NewPasswordResetType returns a new PasswordResetType instance
+func NewPasswordResetType(Description string) *PasswordResetType {
+ s := new(PasswordResetType)
+ s.Description = Description
return s
}
-// GroupChangeManagementTypeDetails : Changed group management type.
-type GroupChangeManagementTypeDetails struct {
- // NewValue : New group management type.
- NewValue *team_common.GroupManagementType `json:"new_value"`
- // PreviousValue : Previous group management type. Might be missing due to
- // historical data gap.
- PreviousValue *team_common.GroupManagementType `json:"previous_value,omitempty"`
+// PathLogInfo : Path's details.
+type PathLogInfo struct {
+ // Contextual : Fully qualified path relative to event's context. Might be
+ // missing due to historical data gap.
+ Contextual string `json:"contextual,omitempty"`
+ // NamespaceRelative : Path relative to the namespace containing the
+ // content.
+ NamespaceRelative *NamespaceRelativePathLogInfo `json:"namespace_relative"`
}
-// NewGroupChangeManagementTypeDetails returns a new GroupChangeManagementTypeDetails instance
-func NewGroupChangeManagementTypeDetails(NewValue *team_common.GroupManagementType) *GroupChangeManagementTypeDetails {
- s := new(GroupChangeManagementTypeDetails)
+// NewPathLogInfo returns a new PathLogInfo instance
+func NewPathLogInfo(NamespaceRelative *NamespaceRelativePathLogInfo) *PathLogInfo {
+ s := new(PathLogInfo)
+ s.NamespaceRelative = NamespaceRelative
+ return s
+}
+
+// PermanentDeleteChangePolicyDetails : Enabled/disabled ability of team members
+// to permanently delete content.
+type PermanentDeleteChangePolicyDetails struct {
+ // NewValue : New permanent delete content policy.
+ NewValue *ContentPermanentDeletePolicy `json:"new_value"`
+ // PreviousValue : Previous permanent delete content policy. Might be
+ // missing due to historical data gap.
+ PreviousValue *ContentPermanentDeletePolicy `json:"previous_value,omitempty"`
+}
+
+// NewPermanentDeleteChangePolicyDetails returns a new PermanentDeleteChangePolicyDetails instance
+func NewPermanentDeleteChangePolicyDetails(NewValue *ContentPermanentDeletePolicy) *PermanentDeleteChangePolicyDetails {
+ s := new(PermanentDeleteChangePolicyDetails)
s.NewValue = NewValue
return s
}
-// GroupChangeMemberRoleDetails : Changed the manager permissions belonging to a
-// group member.
-type GroupChangeMemberRoleDetails struct {
- // IsGroupOwner : Is group owner.
- IsGroupOwner bool `json:"is_group_owner"`
+// PermanentDeleteChangePolicyType : has no documentation (yet)
+type PermanentDeleteChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGroupChangeMemberRoleDetails returns a new GroupChangeMemberRoleDetails instance
-func NewGroupChangeMemberRoleDetails(IsGroupOwner bool) *GroupChangeMemberRoleDetails {
- s := new(GroupChangeMemberRoleDetails)
- s.IsGroupOwner = IsGroupOwner
+// NewPermanentDeleteChangePolicyType returns a new PermanentDeleteChangePolicyType instance
+func NewPermanentDeleteChangePolicyType(Description string) *PermanentDeleteChangePolicyType {
+ s := new(PermanentDeleteChangePolicyType)
+ s.Description = Description
return s
}
-// GroupCreateDetails : Created a group.
-type GroupCreateDetails struct {
- // IsCompanyManaged : Is company managed group. Might be missing due to
- // historical data gap.
- IsCompanyManaged bool `json:"is_company_managed,omitempty"`
- // JoinPolicy : Group join policy.
- JoinPolicy *GroupJoinPolicy `json:"join_policy"`
+// PlacementRestriction : has no documentation (yet)
+type PlacementRestriction struct {
+ dropbox.Tagged
}
-// NewGroupCreateDetails returns a new GroupCreateDetails instance
-func NewGroupCreateDetails(JoinPolicy *GroupJoinPolicy) *GroupCreateDetails {
- s := new(GroupCreateDetails)
- s.JoinPolicy = JoinPolicy
+// Valid tag values for PlacementRestriction
+const (
+ PlacementRestrictionEuropeOnly = "europe_only"
+ PlacementRestrictionNone = "none"
+ PlacementRestrictionOther = "other"
+)
+
+// RelocateAssetReferencesLogInfo : Provides the indices of the source asset and
+// the destination asset for a relocate action.
+type RelocateAssetReferencesLogInfo struct {
+ // SrcAssetIndex : Source asset position in the Assets list.
+ SrcAssetIndex uint64 `json:"src_asset_index"`
+ // DestAssetIndex : Destination asset position in the Assets list.
+ DestAssetIndex uint64 `json:"dest_asset_index"`
+}
+
+// NewRelocateAssetReferencesLogInfo returns a new RelocateAssetReferencesLogInfo instance
+func NewRelocateAssetReferencesLogInfo(SrcAssetIndex uint64, DestAssetIndex uint64) *RelocateAssetReferencesLogInfo {
+ s := new(RelocateAssetReferencesLogInfo)
+ s.SrcAssetIndex = SrcAssetIndex
+ s.DestAssetIndex = DestAssetIndex
return s
}
-// GroupDeleteDetails : Deleted a group.
-type GroupDeleteDetails struct {
- // IsCompanyManaged : Is company managed group. Might be missing due to
- // historical data gap.
- IsCompanyManaged bool `json:"is_company_managed,omitempty"`
+// ResellerLogInfo : Reseller information.
+type ResellerLogInfo struct {
+ // ResellerName : Reseller name.
+ ResellerName string `json:"reseller_name"`
+ // ResellerEmail : Reseller email.
+ ResellerEmail string `json:"reseller_email"`
}
-// NewGroupDeleteDetails returns a new GroupDeleteDetails instance
-func NewGroupDeleteDetails() *GroupDeleteDetails {
- s := new(GroupDeleteDetails)
+// NewResellerLogInfo returns a new ResellerLogInfo instance
+func NewResellerLogInfo(ResellerName string, ResellerEmail string) *ResellerLogInfo {
+ s := new(ResellerLogInfo)
+ s.ResellerName = ResellerName
+ s.ResellerEmail = ResellerEmail
return s
}
-// GroupJoinPolicy : has no documentation (yet)
-type GroupJoinPolicy struct {
- dropbox.Tagged
+// ResellerSupportSessionEndDetails : Ended reseller support session.
+type ResellerSupportSessionEndDetails struct {
}
-// Valid tag values for GroupJoinPolicy
-const (
- GroupJoinPolicyOpen = "open"
- GroupJoinPolicyRequestToJoin = "request_to_join"
- GroupJoinPolicyOther = "other"
-)
+// NewResellerSupportSessionEndDetails returns a new ResellerSupportSessionEndDetails instance
+func NewResellerSupportSessionEndDetails() *ResellerSupportSessionEndDetails {
+ s := new(ResellerSupportSessionEndDetails)
+ return s
+}
-// GroupLogInfo : Group's logged information.
-type GroupLogInfo struct {
- // GroupId : The unique id of this group. Might be missing due to historical
- // data gap.
- GroupId string `json:"group_id,omitempty"`
- // DisplayName : The name of this group.
- DisplayName string `json:"display_name"`
- // ExternalId : External group ID. Might be missing due to historical data
- // gap.
- ExternalId string `json:"external_id,omitempty"`
+// ResellerSupportSessionEndType : has no documentation (yet)
+type ResellerSupportSessionEndType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGroupLogInfo returns a new GroupLogInfo instance
-func NewGroupLogInfo(DisplayName string) *GroupLogInfo {
- s := new(GroupLogInfo)
- s.DisplayName = DisplayName
+// NewResellerSupportSessionEndType returns a new ResellerSupportSessionEndType instance
+func NewResellerSupportSessionEndType(Description string) *ResellerSupportSessionEndType {
+ s := new(ResellerSupportSessionEndType)
+ s.Description = Description
return s
}
-// GroupMovedDetails : Moved a group.
-type GroupMovedDetails struct {
+// ResellerSupportSessionStartDetails : Started reseller support session.
+type ResellerSupportSessionStartDetails struct {
}
-// NewGroupMovedDetails returns a new GroupMovedDetails instance
-func NewGroupMovedDetails() *GroupMovedDetails {
- s := new(GroupMovedDetails)
+// NewResellerSupportSessionStartDetails returns a new ResellerSupportSessionStartDetails instance
+func NewResellerSupportSessionStartDetails() *ResellerSupportSessionStartDetails {
+ s := new(ResellerSupportSessionStartDetails)
return s
}
-// GroupRemoveExternalIdDetails : Removed the external ID for group.
-type GroupRemoveExternalIdDetails struct {
- // PreviousValue : Old external id.
- PreviousValue string `json:"previous_value"`
+// ResellerSupportSessionStartType : has no documentation (yet)
+type ResellerSupportSessionStartType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGroupRemoveExternalIdDetails returns a new GroupRemoveExternalIdDetails instance
-func NewGroupRemoveExternalIdDetails(PreviousValue string) *GroupRemoveExternalIdDetails {
- s := new(GroupRemoveExternalIdDetails)
- s.PreviousValue = PreviousValue
+// NewResellerSupportSessionStartType returns a new ResellerSupportSessionStartType instance
+func NewResellerSupportSessionStartType(Description string) *ResellerSupportSessionStartType {
+ s := new(ResellerSupportSessionStartType)
+ s.Description = Description
return s
}
-// GroupRemoveMemberDetails : Removed team members from a group.
-type GroupRemoveMemberDetails struct {
+// SecondaryMailsPolicy : has no documentation (yet)
+type SecondaryMailsPolicy struct {
+ dropbox.Tagged
}
-// NewGroupRemoveMemberDetails returns a new GroupRemoveMemberDetails instance
-func NewGroupRemoveMemberDetails() *GroupRemoveMemberDetails {
- s := new(GroupRemoveMemberDetails)
- return s
-}
+// Valid tag values for SecondaryMailsPolicy
+const (
+ SecondaryMailsPolicyDisabled = "disabled"
+ SecondaryMailsPolicyEnabled = "enabled"
+ SecondaryMailsPolicyOther = "other"
+)
-// GroupRenameDetails : Renamed a group.
-type GroupRenameDetails struct {
- // PreviousValue : Previous display name.
- PreviousValue string `json:"previous_value"`
- // NewValue : New display name.
- NewValue string `json:"new_value"`
+// SecondaryMailsPolicyChangedDetails : Secondary mails policy changed.
+type SecondaryMailsPolicyChangedDetails struct {
+ // PreviousValue : Previous secondary mails policy.
+ PreviousValue *SecondaryMailsPolicy `json:"previous_value"`
+ // NewValue : New secondary mails policy.
+ NewValue *SecondaryMailsPolicy `json:"new_value"`
}
-// NewGroupRenameDetails returns a new GroupRenameDetails instance
-func NewGroupRenameDetails(PreviousValue string, NewValue string) *GroupRenameDetails {
- s := new(GroupRenameDetails)
+// NewSecondaryMailsPolicyChangedDetails returns a new SecondaryMailsPolicyChangedDetails instance
+func NewSecondaryMailsPolicyChangedDetails(PreviousValue *SecondaryMailsPolicy, NewValue *SecondaryMailsPolicy) *SecondaryMailsPolicyChangedDetails {
+ s := new(SecondaryMailsPolicyChangedDetails)
s.PreviousValue = PreviousValue
s.NewValue = NewValue
return s
}
-// GroupUserManagementChangePolicyDetails : Changed who can create groups.
-type GroupUserManagementChangePolicyDetails struct {
- // NewValue : New group users management policy.
- NewValue *team_policies.GroupCreation `json:"new_value"`
- // PreviousValue : Previous group users management policy. Might be missing
- // due to historical data gap.
- PreviousValue *team_policies.GroupCreation `json:"previous_value,omitempty"`
+// SecondaryMailsPolicyChangedType : has no documentation (yet)
+type SecondaryMailsPolicyChangedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewGroupUserManagementChangePolicyDetails returns a new GroupUserManagementChangePolicyDetails instance
-func NewGroupUserManagementChangePolicyDetails(NewValue *team_policies.GroupCreation) *GroupUserManagementChangePolicyDetails {
- s := new(GroupUserManagementChangePolicyDetails)
- s.NewValue = NewValue
+// NewSecondaryMailsPolicyChangedType returns a new SecondaryMailsPolicyChangedType instance
+func NewSecondaryMailsPolicyChangedType(Description string) *SecondaryMailsPolicyChangedType {
+ s := new(SecondaryMailsPolicyChangedType)
+ s.Description = Description
return s
}
-// JoinTeamDetails : Additional information relevant when a new member joins the
-// team.
-type JoinTeamDetails struct {
- // LinkedApps : Linked applications.
- LinkedApps []IsAppLogInfo `json:"linked_apps"`
- // LinkedDevices : Linked devices.
- LinkedDevices []*DeviceLogInfo `json:"linked_devices"`
- // LinkedSharedFolders : Linked shared folders.
- LinkedSharedFolders []*FolderLogInfo `json:"linked_shared_folders"`
+// SfAddGroupDetails : Added team to shared folder.
+type SfAddGroupDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // SharingPermission : Sharing permission. Might be missing due to
+ // historical data gap.
+ SharingPermission string `json:"sharing_permission,omitempty"`
+ // TeamName : Team name.
+ TeamName string `json:"team_name"`
}
-// NewJoinTeamDetails returns a new JoinTeamDetails instance
-func NewJoinTeamDetails(LinkedApps []IsAppLogInfo, LinkedDevices []*DeviceLogInfo, LinkedSharedFolders []*FolderLogInfo) *JoinTeamDetails {
- s := new(JoinTeamDetails)
- s.LinkedApps = LinkedApps
- s.LinkedDevices = LinkedDevices
- s.LinkedSharedFolders = LinkedSharedFolders
+// NewSfAddGroupDetails returns a new SfAddGroupDetails instance
+func NewSfAddGroupDetails(TargetAssetIndex uint64, OriginalFolderName string, TeamName string) *SfAddGroupDetails {
+ s := new(SfAddGroupDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
+ s.TeamName = TeamName
return s
}
-// LinkAudience : has no documentation (yet)
-type LinkAudience struct {
- dropbox.Tagged
-}
-
-// Valid tag values for LinkAudience
-const (
- LinkAudiencePublic = "public"
- LinkAudienceTeam = "team"
- LinkAudienceMembers = "members"
- LinkAudienceOther = "other"
-)
-
-// LoginFailDetails : Failed to sign in.
-type LoginFailDetails struct {
- // IsEmmManaged : Tells if the login device is EMM managed. Might be missing
- // due to historical data gap.
- IsEmmManaged bool `json:"is_emm_managed,omitempty"`
- // LoginMethod : Login method.
- LoginMethod *LoginMethod `json:"login_method"`
- // ErrorDetails : Error details.
- ErrorDetails *FailureDetailsLogInfo `json:"error_details"`
+// SfAddGroupType : has no documentation (yet)
+type SfAddGroupType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewLoginFailDetails returns a new LoginFailDetails instance
-func NewLoginFailDetails(LoginMethod *LoginMethod, ErrorDetails *FailureDetailsLogInfo) *LoginFailDetails {
- s := new(LoginFailDetails)
- s.LoginMethod = LoginMethod
- s.ErrorDetails = ErrorDetails
+// NewSfAddGroupType returns a new SfAddGroupType instance
+func NewSfAddGroupType(Description string) *SfAddGroupType {
+ s := new(SfAddGroupType)
+ s.Description = Description
return s
}
-// LoginMethod : has no documentation (yet)
-type LoginMethod struct {
- dropbox.Tagged
+// SfAllowNonMembersToViewSharedLinksDetails : Allowed non-collaborators to view
+// links to files in shared folder.
+type SfAllowNonMembersToViewSharedLinksDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // SharedFolderType : Shared folder type. Might be missing due to historical
+ // data gap.
+ SharedFolderType string `json:"shared_folder_type,omitempty"`
}
-// Valid tag values for LoginMethod
-const (
- LoginMethodPassword = "password"
- LoginMethodTwoFactorAuthentication = "two_factor_authentication"
- LoginMethodSaml = "saml"
- LoginMethodOther = "other"
-)
+// NewSfAllowNonMembersToViewSharedLinksDetails returns a new SfAllowNonMembersToViewSharedLinksDetails instance
+func NewSfAllowNonMembersToViewSharedLinksDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfAllowNonMembersToViewSharedLinksDetails {
+ s := new(SfAllowNonMembersToViewSharedLinksDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
+ return s
+}
-// LoginSuccessDetails : Signed in.
-type LoginSuccessDetails struct {
- // IsEmmManaged : Tells if the login device is EMM managed. Might be missing
- // due to historical data gap.
- IsEmmManaged bool `json:"is_emm_managed,omitempty"`
- // LoginMethod : Login method.
- LoginMethod *LoginMethod `json:"login_method"`
+// SfAllowNonMembersToViewSharedLinksType : has no documentation (yet)
+type SfAllowNonMembersToViewSharedLinksType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewLoginSuccessDetails returns a new LoginSuccessDetails instance
-func NewLoginSuccessDetails(LoginMethod *LoginMethod) *LoginSuccessDetails {
- s := new(LoginSuccessDetails)
- s.LoginMethod = LoginMethod
+// NewSfAllowNonMembersToViewSharedLinksType returns a new SfAllowNonMembersToViewSharedLinksType instance
+func NewSfAllowNonMembersToViewSharedLinksType(Description string) *SfAllowNonMembersToViewSharedLinksType {
+ s := new(SfAllowNonMembersToViewSharedLinksType)
+ s.Description = Description
return s
}
-// LogoutDetails : Signed out.
-type LogoutDetails struct {
+// SfExternalInviteWarnDetails : Set team members to see warning before sharing
+// folders outside team.
+type SfExternalInviteWarnDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // NewSharingPermission : New sharing permission. Might be missing due to
+ // historical data gap.
+ NewSharingPermission string `json:"new_sharing_permission,omitempty"`
+ // PreviousSharingPermission : Previous sharing permission. Might be missing
+ // due to historical data gap.
+ PreviousSharingPermission string `json:"previous_sharing_permission,omitempty"`
}
-// NewLogoutDetails returns a new LogoutDetails instance
-func NewLogoutDetails() *LogoutDetails {
- s := new(LogoutDetails)
+// NewSfExternalInviteWarnDetails returns a new SfExternalInviteWarnDetails instance
+func NewSfExternalInviteWarnDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfExternalInviteWarnDetails {
+ s := new(SfExternalInviteWarnDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberAddNameDetails : Set team member name when joining team.
-type MemberAddNameDetails struct {
- // Value : User's name.
- Value *UserNameLogInfo `json:"value"`
+// SfExternalInviteWarnType : has no documentation (yet)
+type SfExternalInviteWarnType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberAddNameDetails returns a new MemberAddNameDetails instance
-func NewMemberAddNameDetails(Value *UserNameLogInfo) *MemberAddNameDetails {
- s := new(MemberAddNameDetails)
- s.Value = Value
+// NewSfExternalInviteWarnType returns a new SfExternalInviteWarnType instance
+func NewSfExternalInviteWarnType(Description string) *SfExternalInviteWarnType {
+ s := new(SfExternalInviteWarnType)
+ s.Description = Description
return s
}
-// MemberChangeAdminRoleDetails : Change the admin role belonging to team
-// member.
-type MemberChangeAdminRoleDetails struct {
- // NewValue : New admin role. This field is relevant when the admin role is
- // changed or whenthe user role changes from no admin rights to with admin
- // rights.
- NewValue *AdminRole `json:"new_value,omitempty"`
- // PreviousValue : Previous admin role. This field is relevant when the
- // admin role is changed or when the admin role is removed.
- PreviousValue *AdminRole `json:"previous_value,omitempty"`
+// SfFbInviteChangeRoleDetails : Changed Facebook user's role in shared folder.
+type SfFbInviteChangeRoleDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // PreviousSharingPermission : Previous sharing permission. Might be missing
+ // due to historical data gap.
+ PreviousSharingPermission string `json:"previous_sharing_permission,omitempty"`
+ // NewSharingPermission : New sharing permission. Might be missing due to
+ // historical data gap.
+ NewSharingPermission string `json:"new_sharing_permission,omitempty"`
}
-// NewMemberChangeAdminRoleDetails returns a new MemberChangeAdminRoleDetails instance
-func NewMemberChangeAdminRoleDetails() *MemberChangeAdminRoleDetails {
- s := new(MemberChangeAdminRoleDetails)
+// NewSfFbInviteChangeRoleDetails returns a new SfFbInviteChangeRoleDetails instance
+func NewSfFbInviteChangeRoleDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfFbInviteChangeRoleDetails {
+ s := new(SfFbInviteChangeRoleDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberChangeEmailDetails : Changed team member email address.
-type MemberChangeEmailDetails struct {
- // NewValue : New email.
- NewValue string `json:"new_value"`
- // PreviousValue : Previous email. Might be missing due to historical data
- // gap.
- PreviousValue string `json:"previous_value,omitempty"`
+// SfFbInviteChangeRoleType : has no documentation (yet)
+type SfFbInviteChangeRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberChangeEmailDetails returns a new MemberChangeEmailDetails instance
-func NewMemberChangeEmailDetails(NewValue string) *MemberChangeEmailDetails {
- s := new(MemberChangeEmailDetails)
- s.NewValue = NewValue
+// NewSfFbInviteChangeRoleType returns a new SfFbInviteChangeRoleType instance
+func NewSfFbInviteChangeRoleType(Description string) *SfFbInviteChangeRoleType {
+ s := new(SfFbInviteChangeRoleType)
+ s.Description = Description
return s
}
-// MemberChangeMembershipTypeDetails : Changed the membership type (limited vs
-// full) for team member.
-type MemberChangeMembershipTypeDetails struct {
- // PrevValue : Previous membership type.
- PrevValue *TeamMembershipType `json:"prev_value"`
- // NewValue : New membership type.
- NewValue *TeamMembershipType `json:"new_value"`
+// SfFbInviteDetails : Invited Facebook users to shared folder.
+type SfFbInviteDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // SharingPermission : Sharing permission. Might be missing due to
+ // historical data gap.
+ SharingPermission string `json:"sharing_permission,omitempty"`
}
-// NewMemberChangeMembershipTypeDetails returns a new MemberChangeMembershipTypeDetails instance
-func NewMemberChangeMembershipTypeDetails(PrevValue *TeamMembershipType, NewValue *TeamMembershipType) *MemberChangeMembershipTypeDetails {
- s := new(MemberChangeMembershipTypeDetails)
- s.PrevValue = PrevValue
- s.NewValue = NewValue
+// NewSfFbInviteDetails returns a new SfFbInviteDetails instance
+func NewSfFbInviteDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfFbInviteDetails {
+ s := new(SfFbInviteDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberChangeNameDetails : Changed team member name.
-type MemberChangeNameDetails struct {
- // NewValue : New user's name.
- NewValue *UserNameLogInfo `json:"new_value"`
- // PreviousValue : Previous user's name. Might be missing due to historical
- // data gap.
- PreviousValue *UserNameLogInfo `json:"previous_value,omitempty"`
-}
-
-// NewMemberChangeNameDetails returns a new MemberChangeNameDetails instance
-func NewMemberChangeNameDetails(NewValue *UserNameLogInfo) *MemberChangeNameDetails {
- s := new(MemberChangeNameDetails)
- s.NewValue = NewValue
+// SfFbInviteType : has no documentation (yet)
+type SfFbInviteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSfFbInviteType returns a new SfFbInviteType instance
+func NewSfFbInviteType(Description string) *SfFbInviteType {
+ s := new(SfFbInviteType)
+ s.Description = Description
return s
}
-// MemberChangeStatusDetails : Changed the membership status of a team member.
-type MemberChangeStatusDetails struct {
- // PreviousValue : Previous member status. Might be missing due to
- // historical data gap.
- PreviousValue *MemberStatus `json:"previous_value,omitempty"`
- // NewValue : New member status.
- NewValue *MemberStatus `json:"new_value"`
- // TeamJoinDetails : Additional information relevant when a new member joins
- // the team.
- TeamJoinDetails *JoinTeamDetails `json:"team_join_details,omitempty"`
+// SfFbUninviteDetails : Uninvited Facebook user from shared folder.
+type SfFbUninviteDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
}
-// NewMemberChangeStatusDetails returns a new MemberChangeStatusDetails instance
-func NewMemberChangeStatusDetails(NewValue *MemberStatus) *MemberChangeStatusDetails {
- s := new(MemberChangeStatusDetails)
- s.NewValue = NewValue
+// NewSfFbUninviteDetails returns a new SfFbUninviteDetails instance
+func NewSfFbUninviteDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfFbUninviteDetails {
+ s := new(SfFbUninviteDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberPermanentlyDeleteAccountContentsDetails : Permanently deleted contents
-// of a removed team member account.
-type MemberPermanentlyDeleteAccountContentsDetails struct {
+// SfFbUninviteType : has no documentation (yet)
+type SfFbUninviteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberPermanentlyDeleteAccountContentsDetails returns a new MemberPermanentlyDeleteAccountContentsDetails instance
-func NewMemberPermanentlyDeleteAccountContentsDetails() *MemberPermanentlyDeleteAccountContentsDetails {
- s := new(MemberPermanentlyDeleteAccountContentsDetails)
+// NewSfFbUninviteType returns a new SfFbUninviteType instance
+func NewSfFbUninviteType(Description string) *SfFbUninviteType {
+ s := new(SfFbUninviteType)
+ s.Description = Description
return s
}
-// MemberRequestsChangePolicyDetails : Changed whether users can find the team
-// when not invited.
-type MemberRequestsChangePolicyDetails struct {
- // NewValue : New member change requests policy.
- NewValue *MemberRequestsPolicy `json:"new_value"`
- // PreviousValue : Previous member change requests policy. Might be missing
- // due to historical data gap.
- PreviousValue *MemberRequestsPolicy `json:"previous_value,omitempty"`
+// SfInviteGroupDetails : Invited group to shared folder.
+type SfInviteGroupDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
}
-// NewMemberRequestsChangePolicyDetails returns a new MemberRequestsChangePolicyDetails instance
-func NewMemberRequestsChangePolicyDetails(NewValue *MemberRequestsPolicy) *MemberRequestsChangePolicyDetails {
- s := new(MemberRequestsChangePolicyDetails)
- s.NewValue = NewValue
+// NewSfInviteGroupDetails returns a new SfInviteGroupDetails instance
+func NewSfInviteGroupDetails(TargetAssetIndex uint64) *SfInviteGroupDetails {
+ s := new(SfInviteGroupDetails)
+ s.TargetAssetIndex = TargetAssetIndex
return s
}
-// MemberRequestsPolicy : has no documentation (yet)
-type MemberRequestsPolicy struct {
- dropbox.Tagged
+// SfInviteGroupType : has no documentation (yet)
+type SfInviteGroupType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for MemberRequestsPolicy
-const (
- MemberRequestsPolicyAutoAccept = "auto_accept"
- MemberRequestsPolicyDisabled = "disabled"
- MemberRequestsPolicyRequireApproval = "require_approval"
- MemberRequestsPolicyOther = "other"
-)
+// NewSfInviteGroupType returns a new SfInviteGroupType instance
+func NewSfInviteGroupType(Description string) *SfInviteGroupType {
+ s := new(SfInviteGroupType)
+ s.Description = Description
+ return s
+}
-// MemberSpaceLimitsAddExceptionDetails : Added an exception for one or more
-// team members to bypass space limits imposed by policy.
-type MemberSpaceLimitsAddExceptionDetails struct {
+// SfTeamGrantAccessDetails : Granted access to shared folder.
+type SfTeamGrantAccessDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
}
-// NewMemberSpaceLimitsAddExceptionDetails returns a new MemberSpaceLimitsAddExceptionDetails instance
-func NewMemberSpaceLimitsAddExceptionDetails() *MemberSpaceLimitsAddExceptionDetails {
- s := new(MemberSpaceLimitsAddExceptionDetails)
+// NewSfTeamGrantAccessDetails returns a new SfTeamGrantAccessDetails instance
+func NewSfTeamGrantAccessDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamGrantAccessDetails {
+ s := new(SfTeamGrantAccessDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberSpaceLimitsChangePolicyDetails : Changed the team default limit level.
-type MemberSpaceLimitsChangePolicyDetails struct {
- // PreviousValue : Previous team default limit value in bytes. Might be
- // missing due to historical data gap.
- PreviousValue uint64 `json:"previous_value,omitempty"`
- // NewValue : New team default limit value in bytes. Might be missing due to
- // historical data gap.
- NewValue uint64 `json:"new_value,omitempty"`
+// SfTeamGrantAccessType : has no documentation (yet)
+type SfTeamGrantAccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberSpaceLimitsChangePolicyDetails returns a new MemberSpaceLimitsChangePolicyDetails instance
-func NewMemberSpaceLimitsChangePolicyDetails() *MemberSpaceLimitsChangePolicyDetails {
- s := new(MemberSpaceLimitsChangePolicyDetails)
+// NewSfTeamGrantAccessType returns a new SfTeamGrantAccessType instance
+func NewSfTeamGrantAccessType(Description string) *SfTeamGrantAccessType {
+ s := new(SfTeamGrantAccessType)
+ s.Description = Description
return s
}
-// MemberSpaceLimitsChangeStatusDetails : Changed the status with respect to
-// whether the team member is under or over storage quota specified by policy.
-type MemberSpaceLimitsChangeStatusDetails struct {
- // PreviousValue : Previous storage quota status.
- PreviousValue *SpaceLimitsStatus `json:"previous_value"`
- // NewValue : New storage quota status.
- NewValue *SpaceLimitsStatus `json:"new_value"`
+// SfTeamInviteChangeRoleDetails : Changed team member's role in shared folder.
+type SfTeamInviteChangeRoleDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // NewSharingPermission : New sharing permission. Might be missing due to
+ // historical data gap.
+ NewSharingPermission string `json:"new_sharing_permission,omitempty"`
+ // PreviousSharingPermission : Previous sharing permission. Might be missing
+ // due to historical data gap.
+ PreviousSharingPermission string `json:"previous_sharing_permission,omitempty"`
}
-// NewMemberSpaceLimitsChangeStatusDetails returns a new MemberSpaceLimitsChangeStatusDetails instance
-func NewMemberSpaceLimitsChangeStatusDetails(PreviousValue *SpaceLimitsStatus, NewValue *SpaceLimitsStatus) *MemberSpaceLimitsChangeStatusDetails {
- s := new(MemberSpaceLimitsChangeStatusDetails)
- s.PreviousValue = PreviousValue
- s.NewValue = NewValue
+// NewSfTeamInviteChangeRoleDetails returns a new SfTeamInviteChangeRoleDetails instance
+func NewSfTeamInviteChangeRoleDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamInviteChangeRoleDetails {
+ s := new(SfTeamInviteChangeRoleDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberSpaceLimitsRemoveExceptionDetails : Removed an exception for one or
-// more team members to bypass space limits imposed by policy.
-type MemberSpaceLimitsRemoveExceptionDetails struct {
+// SfTeamInviteChangeRoleType : has no documentation (yet)
+type SfTeamInviteChangeRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberSpaceLimitsRemoveExceptionDetails returns a new MemberSpaceLimitsRemoveExceptionDetails instance
-func NewMemberSpaceLimitsRemoveExceptionDetails() *MemberSpaceLimitsRemoveExceptionDetails {
- s := new(MemberSpaceLimitsRemoveExceptionDetails)
+// NewSfTeamInviteChangeRoleType returns a new SfTeamInviteChangeRoleType instance
+func NewSfTeamInviteChangeRoleType(Description string) *SfTeamInviteChangeRoleType {
+ s := new(SfTeamInviteChangeRoleType)
+ s.Description = Description
return s
}
-// MemberStatus : has no documentation (yet)
-type MemberStatus struct {
- dropbox.Tagged
+// SfTeamInviteDetails : Invited team members to shared folder.
+type SfTeamInviteDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // SharingPermission : Sharing permission. Might be missing due to
+ // historical data gap.
+ SharingPermission string `json:"sharing_permission,omitempty"`
}
-// Valid tag values for MemberStatus
-const (
- MemberStatusNotJoined = "not_joined"
- MemberStatusInvited = "invited"
- MemberStatusActive = "active"
- MemberStatusSuspended = "suspended"
- MemberStatusRemoved = "removed"
- MemberStatusOther = "other"
-)
+// NewSfTeamInviteDetails returns a new SfTeamInviteDetails instance
+func NewSfTeamInviteDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamInviteDetails {
+ s := new(SfTeamInviteDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
+ return s
+}
-// MemberSuggestDetails : Suggested a new team member to be added to the team.
-type MemberSuggestDetails struct {
+// SfTeamInviteType : has no documentation (yet)
+type SfTeamInviteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberSuggestDetails returns a new MemberSuggestDetails instance
-func NewMemberSuggestDetails() *MemberSuggestDetails {
- s := new(MemberSuggestDetails)
+// NewSfTeamInviteType returns a new SfTeamInviteType instance
+func NewSfTeamInviteType(Description string) *SfTeamInviteType {
+ s := new(SfTeamInviteType)
+ s.Description = Description
return s
}
-// MemberSuggestionsChangePolicyDetails : Enabled or disabled the option for
-// team members to suggest new members to add to the team.
-type MemberSuggestionsChangePolicyDetails struct {
- // NewValue : New team member suggestions policy.
- NewValue *MemberSuggestionsPolicy `json:"new_value"`
- // PreviousValue : Previous team member suggestions policy. Might be missing
- // due to historical data gap.
- PreviousValue *MemberSuggestionsPolicy `json:"previous_value,omitempty"`
+// SfTeamJoinDetails : Joined team member's shared folder.
+type SfTeamJoinDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
}
-// NewMemberSuggestionsChangePolicyDetails returns a new MemberSuggestionsChangePolicyDetails instance
-func NewMemberSuggestionsChangePolicyDetails(NewValue *MemberSuggestionsPolicy) *MemberSuggestionsChangePolicyDetails {
- s := new(MemberSuggestionsChangePolicyDetails)
- s.NewValue = NewValue
+// NewSfTeamJoinDetails returns a new SfTeamJoinDetails instance
+func NewSfTeamJoinDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamJoinDetails {
+ s := new(SfTeamJoinDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
return s
}
-// MemberSuggestionsPolicy : Member suggestions policy
-type MemberSuggestionsPolicy struct {
- dropbox.Tagged
+// SfTeamJoinFromOobLinkDetails : Joined team member's shared folder from link.
+type SfTeamJoinFromOobLinkDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
+ // TokenKey : Shared link token key.
+ TokenKey string `json:"token_key,omitempty"`
+ // SharingPermission : Sharing permission. Might be missing due to
+ // historical data gap.
+ SharingPermission string `json:"sharing_permission,omitempty"`
}
-// Valid tag values for MemberSuggestionsPolicy
-const (
- MemberSuggestionsPolicyDisabled = "disabled"
- MemberSuggestionsPolicyEnabled = "enabled"
- MemberSuggestionsPolicyOther = "other"
-)
+// NewSfTeamJoinFromOobLinkDetails returns a new SfTeamJoinFromOobLinkDetails instance
+func NewSfTeamJoinFromOobLinkDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamJoinFromOobLinkDetails {
+ s := new(SfTeamJoinFromOobLinkDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
+ return s
+}
-// MemberTransferAccountContentsDetails : Transferred contents of a removed team
-// member account to another member.
-type MemberTransferAccountContentsDetails struct {
- // SrcParticipantIndex : Source participant position in the Participants
- // list.
- SrcParticipantIndex uint64 `json:"src_participant_index"`
- // DestParticipantIndex : Destination participant position in the
- // Participants list.
- DestParticipantIndex uint64 `json:"dest_participant_index"`
+// SfTeamJoinFromOobLinkType : has no documentation (yet)
+type SfTeamJoinFromOobLinkType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMemberTransferAccountContentsDetails returns a new MemberTransferAccountContentsDetails instance
-func NewMemberTransferAccountContentsDetails(SrcParticipantIndex uint64, DestParticipantIndex uint64) *MemberTransferAccountContentsDetails {
- s := new(MemberTransferAccountContentsDetails)
- s.SrcParticipantIndex = SrcParticipantIndex
- s.DestParticipantIndex = DestParticipantIndex
+// NewSfTeamJoinFromOobLinkType returns a new SfTeamJoinFromOobLinkType instance
+func NewSfTeamJoinFromOobLinkType(Description string) *SfTeamJoinFromOobLinkType {
+ s := new(SfTeamJoinFromOobLinkType)
+ s.Description = Description
return s
}
-// MicrosoftOfficeAddinChangePolicyDetails : Enabled or disabled the Microsoft
-// Office add-in, which lets team members save files to Dropbox directly from
-// Microsoft Office.
-type MicrosoftOfficeAddinChangePolicyDetails struct {
- // NewValue : New Microsoft Office addin policy.
- NewValue *MicrosoftOfficeAddinPolicy `json:"new_value"`
- // PreviousValue : Previous Microsoft Office addin policy. Might be missing
- // due to historical data gap.
- PreviousValue *MicrosoftOfficeAddinPolicy `json:"previous_value,omitempty"`
+// SfTeamJoinType : has no documentation (yet)
+type SfTeamJoinType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMicrosoftOfficeAddinChangePolicyDetails returns a new MicrosoftOfficeAddinChangePolicyDetails instance
-func NewMicrosoftOfficeAddinChangePolicyDetails(NewValue *MicrosoftOfficeAddinPolicy) *MicrosoftOfficeAddinChangePolicyDetails {
- s := new(MicrosoftOfficeAddinChangePolicyDetails)
- s.NewValue = NewValue
+// NewSfTeamJoinType returns a new SfTeamJoinType instance
+func NewSfTeamJoinType(Description string) *SfTeamJoinType {
+ s := new(SfTeamJoinType)
+ s.Description = Description
return s
}
-// MicrosoftOfficeAddinPolicy : Microsoft Office addin policy
-type MicrosoftOfficeAddinPolicy struct {
- dropbox.Tagged
+// SfTeamUninviteDetails : Unshared folder with team member.
+type SfTeamUninviteDetails struct {
+ // TargetAssetIndex : Target asset position in the Assets list.
+ TargetAssetIndex uint64 `json:"target_asset_index"`
+ // OriginalFolderName : Original shared folder name.
+ OriginalFolderName string `json:"original_folder_name"`
}
-// Valid tag values for MicrosoftOfficeAddinPolicy
-const (
- MicrosoftOfficeAddinPolicyDisabled = "disabled"
- MicrosoftOfficeAddinPolicyEnabled = "enabled"
- MicrosoftOfficeAddinPolicyOther = "other"
-)
+// NewSfTeamUninviteDetails returns a new SfTeamUninviteDetails instance
+func NewSfTeamUninviteDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamUninviteDetails {
+ s := new(SfTeamUninviteDetails)
+ s.TargetAssetIndex = TargetAssetIndex
+ s.OriginalFolderName = OriginalFolderName
+ return s
+}
-// MissingDetails : An indication that an event was returned with missing
-// details
-type MissingDetails struct {
+// SfTeamUninviteType : has no documentation (yet)
+type SfTeamUninviteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewMissingDetails returns a new MissingDetails instance
-func NewMissingDetails() *MissingDetails {
- s := new(MissingDetails)
+// NewSfTeamUninviteType returns a new SfTeamUninviteType instance
+func NewSfTeamUninviteType(Description string) *SfTeamUninviteType {
+ s := new(SfTeamUninviteType)
+ s.Description = Description
return s
}
-// MobileSessionLogInfo : Mobile session.
-type MobileSessionLogInfo struct {
- SessionLogInfo
+// SharedContentAddInviteesDetails : Invited user to Dropbox and added them to
+// shared file/folder.
+type SharedContentAddInviteesDetails struct {
+ // SharedContentAccessLevel : Shared content access level.
+ SharedContentAccessLevel *sharing.AccessLevel `json:"shared_content_access_level"`
+ // Invitees : A list of invitees.
+ Invitees []string `json:"invitees"`
}
-// NewMobileSessionLogInfo returns a new MobileSessionLogInfo instance
-func NewMobileSessionLogInfo() *MobileSessionLogInfo {
- s := new(MobileSessionLogInfo)
+// NewSharedContentAddInviteesDetails returns a new SharedContentAddInviteesDetails instance
+func NewSharedContentAddInviteesDetails(SharedContentAccessLevel *sharing.AccessLevel, Invitees []string) *SharedContentAddInviteesDetails {
+ s := new(SharedContentAddInviteesDetails)
+ s.SharedContentAccessLevel = SharedContentAccessLevel
+ s.Invitees = Invitees
return s
}
-// NamespaceRelativePathLogInfo : Namespace relative path details.
-type NamespaceRelativePathLogInfo struct {
- // NsId : Namespace ID. Might be missing due to historical data gap.
- NsId string `json:"ns_id,omitempty"`
- // RelativePath : A path relative to the specified namespace ID. Might be
- // missing due to historical data gap.
- RelativePath string `json:"relative_path,omitempty"`
+// SharedContentAddInviteesType : has no documentation (yet)
+type SharedContentAddInviteesType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewNamespaceRelativePathLogInfo returns a new NamespaceRelativePathLogInfo instance
-func NewNamespaceRelativePathLogInfo() *NamespaceRelativePathLogInfo {
- s := new(NamespaceRelativePathLogInfo)
+// NewSharedContentAddInviteesType returns a new SharedContentAddInviteesType instance
+func NewSharedContentAddInviteesType(Description string) *SharedContentAddInviteesType {
+ s := new(SharedContentAddInviteesType)
+ s.Description = Description
return s
}
-// NetworkControlChangePolicyDetails : Enabled or disabled network control.
-type NetworkControlChangePolicyDetails struct {
- // NewValue : New network control policy.
- NewValue *NetworkControlPolicy `json:"new_value"`
- // PreviousValue : Previous network control policy. Might be missing due to
- // historical data gap.
- PreviousValue *NetworkControlPolicy `json:"previous_value,omitempty"`
+// SharedContentAddLinkExpiryDetails : Added expiration date to link for shared
+// file/folder.
+type SharedContentAddLinkExpiryDetails struct {
+ // NewValue : New shared content link expiration date. Might be missing due
+ // to historical data gap.
+ NewValue time.Time `json:"new_value,omitempty"`
}
-// NewNetworkControlChangePolicyDetails returns a new NetworkControlChangePolicyDetails instance
-func NewNetworkControlChangePolicyDetails(NewValue *NetworkControlPolicy) *NetworkControlChangePolicyDetails {
- s := new(NetworkControlChangePolicyDetails)
- s.NewValue = NewValue
+// NewSharedContentAddLinkExpiryDetails returns a new SharedContentAddLinkExpiryDetails instance
+func NewSharedContentAddLinkExpiryDetails() *SharedContentAddLinkExpiryDetails {
+ s := new(SharedContentAddLinkExpiryDetails)
return s
}
-// NetworkControlPolicy : Network control policy
-type NetworkControlPolicy struct {
- dropbox.Tagged
+// SharedContentAddLinkExpiryType : has no documentation (yet)
+type SharedContentAddLinkExpiryType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for NetworkControlPolicy
-const (
- NetworkControlPolicyDisabled = "disabled"
- NetworkControlPolicyEnabled = "enabled"
- NetworkControlPolicyOther = "other"
-)
+// NewSharedContentAddLinkExpiryType returns a new SharedContentAddLinkExpiryType instance
+func NewSharedContentAddLinkExpiryType(Description string) *SharedContentAddLinkExpiryType {
+ s := new(SharedContentAddLinkExpiryType)
+ s.Description = Description
+ return s
+}
-// UserLogInfo : User's logged information.
-type UserLogInfo struct {
- // AccountId : User unique ID. Might be missing due to historical data gap.
- AccountId string `json:"account_id,omitempty"`
- // DisplayName : User display name. Might be missing due to historical data
- // gap.
- DisplayName string `json:"display_name,omitempty"`
- // Email : User email address. Might be missing due to historical data gap.
- Email string `json:"email,omitempty"`
+// SharedContentAddLinkPasswordDetails : Added password to link for shared
+// file/folder.
+type SharedContentAddLinkPasswordDetails struct {
}
-// NewUserLogInfo returns a new UserLogInfo instance
-func NewUserLogInfo() *UserLogInfo {
- s := new(UserLogInfo)
+// NewSharedContentAddLinkPasswordDetails returns a new SharedContentAddLinkPasswordDetails instance
+func NewSharedContentAddLinkPasswordDetails() *SharedContentAddLinkPasswordDetails {
+ s := new(SharedContentAddLinkPasswordDetails)
return s
}
-// IsUserLogInfo is the interface type for UserLogInfo and its subtypes
-type IsUserLogInfo interface {
- IsUserLogInfo()
+// SharedContentAddLinkPasswordType : has no documentation (yet)
+type SharedContentAddLinkPasswordType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// IsUserLogInfo implements the IsUserLogInfo interface
-func (u *UserLogInfo) IsUserLogInfo() {}
+// NewSharedContentAddLinkPasswordType returns a new SharedContentAddLinkPasswordType instance
+func NewSharedContentAddLinkPasswordType(Description string) *SharedContentAddLinkPasswordType {
+ s := new(SharedContentAddLinkPasswordType)
+ s.Description = Description
+ return s
+}
-type userLogInfoUnion struct {
- dropbox.Tagged
- // TeamMember : has no documentation (yet)
- TeamMember *TeamMemberLogInfo `json:"team_member,omitempty"`
- // NonTeamMember : has no documentation (yet)
- NonTeamMember *NonTeamMemberLogInfo `json:"non_team_member,omitempty"`
+// SharedContentAddMemberDetails : Added users and/or groups to shared
+// file/folder.
+type SharedContentAddMemberDetails struct {
+ // SharedContentAccessLevel : Shared content access level.
+ SharedContentAccessLevel *sharing.AccessLevel `json:"shared_content_access_level"`
}
-// Valid tag values for UserLogInfo
-const (
- UserLogInfoTeamMember = "team_member"
- UserLogInfoNonTeamMember = "non_team_member"
-)
+// NewSharedContentAddMemberDetails returns a new SharedContentAddMemberDetails instance
+func NewSharedContentAddMemberDetails(SharedContentAccessLevel *sharing.AccessLevel) *SharedContentAddMemberDetails {
+ s := new(SharedContentAddMemberDetails)
+ s.SharedContentAccessLevel = SharedContentAccessLevel
+ return s
+}
-// UnmarshalJSON deserializes into a userLogInfoUnion instance
-func (u *userLogInfoUnion) UnmarshalJSON(body []byte) error {
- type wrap struct {
- dropbox.Tagged
- // TeamMember : has no documentation (yet)
- TeamMember json.RawMessage `json:"team_member,omitempty"`
- // NonTeamMember : has no documentation (yet)
- NonTeamMember json.RawMessage `json:"non_team_member,omitempty"`
- }
- var w wrap
- var err error
- if err = json.Unmarshal(body, &w); err != nil {
- return err
- }
- u.Tag = w.Tag
- switch u.Tag {
- case "team_member":
- err = json.Unmarshal(body, &u.TeamMember)
+// SharedContentAddMemberType : has no documentation (yet)
+type SharedContentAddMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
- if err != nil {
- return err
- }
- case "non_team_member":
- err = json.Unmarshal(body, &u.NonTeamMember)
+// NewSharedContentAddMemberType returns a new SharedContentAddMemberType instance
+func NewSharedContentAddMemberType(Description string) *SharedContentAddMemberType {
+ s := new(SharedContentAddMemberType)
+ s.Description = Description
+ return s
+}
- if err != nil {
- return err
- }
- }
- return nil
+// SharedContentChangeDownloadsPolicyDetails : Changed whether members can
+// download shared file/folder.
+type SharedContentChangeDownloadsPolicyDetails struct {
+ // NewValue : New downloads policy.
+ NewValue *DownloadPolicyType `json:"new_value"`
+ // PreviousValue : Previous downloads policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *DownloadPolicyType `json:"previous_value,omitempty"`
}
-// IsUserLogInfoFromJSON converts JSON to a concrete IsUserLogInfo instance
-func IsUserLogInfoFromJSON(data []byte) (IsUserLogInfo, error) {
- var t userLogInfoUnion
- if err := json.Unmarshal(data, &t); err != nil {
- return nil, err
- }
- switch t.Tag {
- case "team_member":
- return t.TeamMember, nil
+// NewSharedContentChangeDownloadsPolicyDetails returns a new SharedContentChangeDownloadsPolicyDetails instance
+func NewSharedContentChangeDownloadsPolicyDetails(NewValue *DownloadPolicyType) *SharedContentChangeDownloadsPolicyDetails {
+ s := new(SharedContentChangeDownloadsPolicyDetails)
+ s.NewValue = NewValue
+ return s
+}
- case "non_team_member":
- return t.NonTeamMember, nil
+// SharedContentChangeDownloadsPolicyType : has no documentation (yet)
+type SharedContentChangeDownloadsPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
- }
- return nil, nil
+// NewSharedContentChangeDownloadsPolicyType returns a new SharedContentChangeDownloadsPolicyType instance
+func NewSharedContentChangeDownloadsPolicyType(Description string) *SharedContentChangeDownloadsPolicyType {
+ s := new(SharedContentChangeDownloadsPolicyType)
+ s.Description = Description
+ return s
}
-// NonTeamMemberLogInfo : Non team member's logged information.
-type NonTeamMemberLogInfo struct {
- UserLogInfo
+// SharedContentChangeInviteeRoleDetails : Changed access type of invitee to
+// shared file/folder before invite was accepted.
+type SharedContentChangeInviteeRoleDetails struct {
+ // PreviousAccessLevel : Previous access level. Might be missing due to
+ // historical data gap.
+ PreviousAccessLevel *sharing.AccessLevel `json:"previous_access_level,omitempty"`
+ // NewAccessLevel : New access level.
+ NewAccessLevel *sharing.AccessLevel `json:"new_access_level"`
+ // Invitee : The invitee whose role was changed.
+ Invitee string `json:"invitee"`
}
-// NewNonTeamMemberLogInfo returns a new NonTeamMemberLogInfo instance
-func NewNonTeamMemberLogInfo() *NonTeamMemberLogInfo {
- s := new(NonTeamMemberLogInfo)
+// NewSharedContentChangeInviteeRoleDetails returns a new SharedContentChangeInviteeRoleDetails instance
+func NewSharedContentChangeInviteeRoleDetails(NewAccessLevel *sharing.AccessLevel, Invitee string) *SharedContentChangeInviteeRoleDetails {
+ s := new(SharedContentChangeInviteeRoleDetails)
+ s.NewAccessLevel = NewAccessLevel
+ s.Invitee = Invitee
return s
}
-// NoteAclInviteOnlyDetails : Changed a Paper document to be invite-only.
-type NoteAclInviteOnlyDetails struct {
+// SharedContentChangeInviteeRoleType : has no documentation (yet)
+type SharedContentChangeInviteeRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewNoteAclInviteOnlyDetails returns a new NoteAclInviteOnlyDetails instance
-func NewNoteAclInviteOnlyDetails() *NoteAclInviteOnlyDetails {
- s := new(NoteAclInviteOnlyDetails)
+// NewSharedContentChangeInviteeRoleType returns a new SharedContentChangeInviteeRoleType instance
+func NewSharedContentChangeInviteeRoleType(Description string) *SharedContentChangeInviteeRoleType {
+ s := new(SharedContentChangeInviteeRoleType)
+ s.Description = Description
return s
}
-// NoteAclLinkDetails : Changed a Paper document to be link accessible.
-type NoteAclLinkDetails struct {
+// SharedContentChangeLinkAudienceDetails : Changed link audience of shared
+// file/folder.
+type SharedContentChangeLinkAudienceDetails struct {
+ // NewValue : New link audience value.
+ NewValue *sharing.LinkAudience `json:"new_value"`
+ // PreviousValue : Previous link audience value.
+ PreviousValue *sharing.LinkAudience `json:"previous_value,omitempty"`
}
-// NewNoteAclLinkDetails returns a new NoteAclLinkDetails instance
-func NewNoteAclLinkDetails() *NoteAclLinkDetails {
- s := new(NoteAclLinkDetails)
+// NewSharedContentChangeLinkAudienceDetails returns a new SharedContentChangeLinkAudienceDetails instance
+func NewSharedContentChangeLinkAudienceDetails(NewValue *sharing.LinkAudience) *SharedContentChangeLinkAudienceDetails {
+ s := new(SharedContentChangeLinkAudienceDetails)
+ s.NewValue = NewValue
return s
}
-// NoteAclTeamLinkDetails : Changed a Paper document to be link accessible for
-// the team.
-type NoteAclTeamLinkDetails struct {
+// SharedContentChangeLinkAudienceType : has no documentation (yet)
+type SharedContentChangeLinkAudienceType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewNoteAclTeamLinkDetails returns a new NoteAclTeamLinkDetails instance
-func NewNoteAclTeamLinkDetails() *NoteAclTeamLinkDetails {
- s := new(NoteAclTeamLinkDetails)
+// NewSharedContentChangeLinkAudienceType returns a new SharedContentChangeLinkAudienceType instance
+func NewSharedContentChangeLinkAudienceType(Description string) *SharedContentChangeLinkAudienceType {
+ s := new(SharedContentChangeLinkAudienceType)
+ s.Description = Description
return s
}
-// NoteShareReceiveDetails : Shared Paper document received.
-type NoteShareReceiveDetails struct {
+// SharedContentChangeLinkExpiryDetails : Changed link expiration of shared
+// file/folder.
+type SharedContentChangeLinkExpiryDetails struct {
+ // NewValue : New shared content link expiration date. Might be missing due
+ // to historical data gap.
+ NewValue time.Time `json:"new_value,omitempty"`
+ // PreviousValue : Previous shared content link expiration date. Might be
+ // missing due to historical data gap.
+ PreviousValue time.Time `json:"previous_value,omitempty"`
}
-// NewNoteShareReceiveDetails returns a new NoteShareReceiveDetails instance
-func NewNoteShareReceiveDetails() *NoteShareReceiveDetails {
- s := new(NoteShareReceiveDetails)
+// NewSharedContentChangeLinkExpiryDetails returns a new SharedContentChangeLinkExpiryDetails instance
+func NewSharedContentChangeLinkExpiryDetails() *SharedContentChangeLinkExpiryDetails {
+ s := new(SharedContentChangeLinkExpiryDetails)
return s
}
-// NoteSharedDetails : Shared a Paper doc.
-type NoteSharedDetails struct {
+// SharedContentChangeLinkExpiryType : has no documentation (yet)
+type SharedContentChangeLinkExpiryType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewNoteSharedDetails returns a new NoteSharedDetails instance
-func NewNoteSharedDetails() *NoteSharedDetails {
- s := new(NoteSharedDetails)
+// NewSharedContentChangeLinkExpiryType returns a new SharedContentChangeLinkExpiryType instance
+func NewSharedContentChangeLinkExpiryType(Description string) *SharedContentChangeLinkExpiryType {
+ s := new(SharedContentChangeLinkExpiryType)
+ s.Description = Description
return s
}
-// OpenNoteSharedDetails : Opened a shared Paper doc.
-type OpenNoteSharedDetails struct {
+// SharedContentChangeLinkPasswordDetails : Changed link password of shared
+// file/folder.
+type SharedContentChangeLinkPasswordDetails struct {
}
-// NewOpenNoteSharedDetails returns a new OpenNoteSharedDetails instance
-func NewOpenNoteSharedDetails() *OpenNoteSharedDetails {
- s := new(OpenNoteSharedDetails)
+// NewSharedContentChangeLinkPasswordDetails returns a new SharedContentChangeLinkPasswordDetails instance
+func NewSharedContentChangeLinkPasswordDetails() *SharedContentChangeLinkPasswordDetails {
+ s := new(SharedContentChangeLinkPasswordDetails)
return s
}
-// OriginLogInfo : The origin from which the actor performed the action.
-type OriginLogInfo struct {
- // GeoLocation : Geographic location details.
- GeoLocation *GeoLocationLogInfo `json:"geo_location,omitempty"`
- // AccessMethod : The method that was used to perform the action.
- AccessMethod *AccessMethodLogInfo `json:"access_method"`
+// SharedContentChangeLinkPasswordType : has no documentation (yet)
+type SharedContentChangeLinkPasswordType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewOriginLogInfo returns a new OriginLogInfo instance
-func NewOriginLogInfo(AccessMethod *AccessMethodLogInfo) *OriginLogInfo {
- s := new(OriginLogInfo)
- s.AccessMethod = AccessMethod
+// NewSharedContentChangeLinkPasswordType returns a new SharedContentChangeLinkPasswordType instance
+func NewSharedContentChangeLinkPasswordType(Description string) *SharedContentChangeLinkPasswordType {
+ s := new(SharedContentChangeLinkPasswordType)
+ s.Description = Description
return s
}
-// PaperAccessType : has no documentation (yet)
-type PaperAccessType struct {
- dropbox.Tagged
+// SharedContentChangeMemberRoleDetails : Changed access type of shared
+// file/folder member.
+type SharedContentChangeMemberRoleDetails struct {
+ // PreviousAccessLevel : Previous access level. Might be missing due to
+ // historical data gap.
+ PreviousAccessLevel *sharing.AccessLevel `json:"previous_access_level,omitempty"`
+ // NewAccessLevel : New access level.
+ NewAccessLevel *sharing.AccessLevel `json:"new_access_level"`
}
-// Valid tag values for PaperAccessType
-const (
- PaperAccessTypeViewer = "viewer"
- PaperAccessTypeCommenter = "commenter"
- PaperAccessTypeEditor = "editor"
- PaperAccessTypeOther = "other"
-)
+// NewSharedContentChangeMemberRoleDetails returns a new SharedContentChangeMemberRoleDetails instance
+func NewSharedContentChangeMemberRoleDetails(NewAccessLevel *sharing.AccessLevel) *SharedContentChangeMemberRoleDetails {
+ s := new(SharedContentChangeMemberRoleDetails)
+ s.NewAccessLevel = NewAccessLevel
+ return s
+}
-// PaperAdminExportStartDetails : Exported all Paper documents in the team.
-type PaperAdminExportStartDetails struct {
+// SharedContentChangeMemberRoleType : has no documentation (yet)
+type SharedContentChangeMemberRoleType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperAdminExportStartDetails returns a new PaperAdminExportStartDetails instance
-func NewPaperAdminExportStartDetails() *PaperAdminExportStartDetails {
- s := new(PaperAdminExportStartDetails)
+// NewSharedContentChangeMemberRoleType returns a new SharedContentChangeMemberRoleType instance
+func NewSharedContentChangeMemberRoleType(Description string) *SharedContentChangeMemberRoleType {
+ s := new(SharedContentChangeMemberRoleType)
+ s.Description = Description
return s
}
-// PaperChangeDeploymentPolicyDetails : Changed whether Dropbox Paper, when
-// enabled, is deployed to all teams or to specific members of the team.
-type PaperChangeDeploymentPolicyDetails struct {
- // NewValue : New Dropbox Paper deployment policy.
- NewValue *team_policies.PaperDeploymentPolicy `json:"new_value"`
- // PreviousValue : Previous Dropbox Paper deployment policy. Might be
- // missing due to historical data gap.
- PreviousValue *team_policies.PaperDeploymentPolicy `json:"previous_value,omitempty"`
+// SharedContentChangeViewerInfoPolicyDetails : Changed whether members can see
+// who viewed shared file/folder.
+type SharedContentChangeViewerInfoPolicyDetails struct {
+ // NewValue : New viewer info policy.
+ NewValue *sharing.ViewerInfoPolicy `json:"new_value"`
+ // PreviousValue : Previous view info policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *sharing.ViewerInfoPolicy `json:"previous_value,omitempty"`
}
-// NewPaperChangeDeploymentPolicyDetails returns a new PaperChangeDeploymentPolicyDetails instance
-func NewPaperChangeDeploymentPolicyDetails(NewValue *team_policies.PaperDeploymentPolicy) *PaperChangeDeploymentPolicyDetails {
- s := new(PaperChangeDeploymentPolicyDetails)
+// NewSharedContentChangeViewerInfoPolicyDetails returns a new SharedContentChangeViewerInfoPolicyDetails instance
+func NewSharedContentChangeViewerInfoPolicyDetails(NewValue *sharing.ViewerInfoPolicy) *SharedContentChangeViewerInfoPolicyDetails {
+ s := new(SharedContentChangeViewerInfoPolicyDetails)
s.NewValue = NewValue
return s
}
-// PaperChangeMemberLinkPolicyDetails : Changed whether non team members can
-// view Paper documents using a link.
-type PaperChangeMemberLinkPolicyDetails struct {
- // NewValue : New paper external link accessibility policy.
- NewValue *PaperMemberPolicy `json:"new_value"`
+// SharedContentChangeViewerInfoPolicyType : has no documentation (yet)
+type SharedContentChangeViewerInfoPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperChangeMemberLinkPolicyDetails returns a new PaperChangeMemberLinkPolicyDetails instance
-func NewPaperChangeMemberLinkPolicyDetails(NewValue *PaperMemberPolicy) *PaperChangeMemberLinkPolicyDetails {
- s := new(PaperChangeMemberLinkPolicyDetails)
- s.NewValue = NewValue
+// NewSharedContentChangeViewerInfoPolicyType returns a new SharedContentChangeViewerInfoPolicyType instance
+func NewSharedContentChangeViewerInfoPolicyType(Description string) *SharedContentChangeViewerInfoPolicyType {
+ s := new(SharedContentChangeViewerInfoPolicyType)
+ s.Description = Description
return s
}
-// PaperChangeMemberPolicyDetails : Changed whether team members can share Paper
-// documents externally (i.e. outside the team), and if so, whether they should
-// be accessible only by team members or anyone by default.
-type PaperChangeMemberPolicyDetails struct {
- // NewValue : New paper external accessibility policy.
- NewValue *PaperMemberPolicy `json:"new_value"`
- // PreviousValue : Previous paper external accessibility policy. Might be
- // missing due to historical data gap.
- PreviousValue *PaperMemberPolicy `json:"previous_value,omitempty"`
+// SharedContentClaimInvitationDetails : Acquired membership of shared
+// file/folder by accepting invite.
+type SharedContentClaimInvitationDetails struct {
+ // SharedContentLink : Shared content link.
+ SharedContentLink string `json:"shared_content_link,omitempty"`
}
-// NewPaperChangeMemberPolicyDetails returns a new PaperChangeMemberPolicyDetails instance
-func NewPaperChangeMemberPolicyDetails(NewValue *PaperMemberPolicy) *PaperChangeMemberPolicyDetails {
- s := new(PaperChangeMemberPolicyDetails)
- s.NewValue = NewValue
+// NewSharedContentClaimInvitationDetails returns a new SharedContentClaimInvitationDetails instance
+func NewSharedContentClaimInvitationDetails() *SharedContentClaimInvitationDetails {
+ s := new(SharedContentClaimInvitationDetails)
return s
}
-// PaperChangePolicyDetails : Enabled or disabled Dropbox Paper for the team.
-type PaperChangePolicyDetails struct {
- // NewValue : New Dropbox Paper policy.
- NewValue *team_policies.PaperEnabledPolicy `json:"new_value"`
- // PreviousValue : Previous Dropbox Paper policy. Might be missing due to
- // historical data gap.
- PreviousValue *team_policies.PaperEnabledPolicy `json:"previous_value,omitempty"`
+// SharedContentClaimInvitationType : has no documentation (yet)
+type SharedContentClaimInvitationType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperChangePolicyDetails returns a new PaperChangePolicyDetails instance
-func NewPaperChangePolicyDetails(NewValue *team_policies.PaperEnabledPolicy) *PaperChangePolicyDetails {
- s := new(PaperChangePolicyDetails)
- s.NewValue = NewValue
+// NewSharedContentClaimInvitationType returns a new SharedContentClaimInvitationType instance
+func NewSharedContentClaimInvitationType(Description string) *SharedContentClaimInvitationType {
+ s := new(SharedContentClaimInvitationType)
+ s.Description = Description
return s
}
-// PaperContentAddMemberDetails : Added users to the membership of a Paper doc
-// or folder.
-type PaperContentAddMemberDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentCopyDetails : Copied shared file/folder to own Dropbox.
+type SharedContentCopyDetails struct {
+ // SharedContentLink : Shared content link.
+ SharedContentLink string `json:"shared_content_link"`
+ // SharedContentOwner : The shared content owner.
+ SharedContentOwner IsUserLogInfo `json:"shared_content_owner,omitempty"`
+ // SharedContentAccessLevel : Shared content access level.
+ SharedContentAccessLevel *sharing.AccessLevel `json:"shared_content_access_level"`
+ // DestinationPath : The path where the member saved the content.
+ DestinationPath string `json:"destination_path"`
}
-// NewPaperContentAddMemberDetails returns a new PaperContentAddMemberDetails instance
-func NewPaperContentAddMemberDetails(EventUuid string) *PaperContentAddMemberDetails {
- s := new(PaperContentAddMemberDetails)
- s.EventUuid = EventUuid
+// NewSharedContentCopyDetails returns a new SharedContentCopyDetails instance
+func NewSharedContentCopyDetails(SharedContentLink string, SharedContentAccessLevel *sharing.AccessLevel, DestinationPath string) *SharedContentCopyDetails {
+ s := new(SharedContentCopyDetails)
+ s.SharedContentLink = SharedContentLink
+ s.SharedContentAccessLevel = SharedContentAccessLevel
+ s.DestinationPath = DestinationPath
return s
}
-// PaperContentAddToFolderDetails : Added Paper doc or folder to a folder.
-type PaperContentAddToFolderDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // ParentAssetIndex : Parent asset position in the Assets list.
- ParentAssetIndex uint64 `json:"parent_asset_index"`
+// SharedContentCopyType : has no documentation (yet)
+type SharedContentCopyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSharedContentCopyType returns a new SharedContentCopyType instance
+func NewSharedContentCopyType(Description string) *SharedContentCopyType {
+ s := new(SharedContentCopyType)
+ s.Description = Description
+ return s
+}
+
+// SharedContentDownloadDetails : Downloaded shared file/folder.
+type SharedContentDownloadDetails struct {
+ // SharedContentLink : Shared content link.
+ SharedContentLink string `json:"shared_content_link"`
+ // SharedContentOwner : The shared content owner.
+ SharedContentOwner IsUserLogInfo `json:"shared_content_owner,omitempty"`
+ // SharedContentAccessLevel : Shared content access level.
+ SharedContentAccessLevel *sharing.AccessLevel `json:"shared_content_access_level"`
}
-// NewPaperContentAddToFolderDetails returns a new PaperContentAddToFolderDetails instance
-func NewPaperContentAddToFolderDetails(EventUuid string, TargetAssetIndex uint64, ParentAssetIndex uint64) *PaperContentAddToFolderDetails {
- s := new(PaperContentAddToFolderDetails)
- s.EventUuid = EventUuid
- s.TargetAssetIndex = TargetAssetIndex
- s.ParentAssetIndex = ParentAssetIndex
+// NewSharedContentDownloadDetails returns a new SharedContentDownloadDetails instance
+func NewSharedContentDownloadDetails(SharedContentLink string, SharedContentAccessLevel *sharing.AccessLevel) *SharedContentDownloadDetails {
+ s := new(SharedContentDownloadDetails)
+ s.SharedContentLink = SharedContentLink
+ s.SharedContentAccessLevel = SharedContentAccessLevel
return s
}
-// PaperContentArchiveDetails : Archived Paper doc or folder.
-type PaperContentArchiveDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentDownloadType : has no documentation (yet)
+type SharedContentDownloadType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperContentArchiveDetails returns a new PaperContentArchiveDetails instance
-func NewPaperContentArchiveDetails(EventUuid string) *PaperContentArchiveDetails {
- s := new(PaperContentArchiveDetails)
- s.EventUuid = EventUuid
+// NewSharedContentDownloadType returns a new SharedContentDownloadType instance
+func NewSharedContentDownloadType(Description string) *SharedContentDownloadType {
+ s := new(SharedContentDownloadType)
+ s.Description = Description
return s
}
-// PaperContentCreateDetails : Created a Paper doc or folder.
-type PaperContentCreateDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRelinquishMembershipDetails : Left shared file/folder.
+type SharedContentRelinquishMembershipDetails struct {
}
-// NewPaperContentCreateDetails returns a new PaperContentCreateDetails instance
-func NewPaperContentCreateDetails(EventUuid string) *PaperContentCreateDetails {
- s := new(PaperContentCreateDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRelinquishMembershipDetails returns a new SharedContentRelinquishMembershipDetails instance
+func NewSharedContentRelinquishMembershipDetails() *SharedContentRelinquishMembershipDetails {
+ s := new(SharedContentRelinquishMembershipDetails)
return s
}
-// PaperContentPermanentlyDeleteDetails : Permanently deleted a Paper doc or
-// folder.
-type PaperContentPermanentlyDeleteDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRelinquishMembershipType : has no documentation (yet)
+type SharedContentRelinquishMembershipType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperContentPermanentlyDeleteDetails returns a new PaperContentPermanentlyDeleteDetails instance
-func NewPaperContentPermanentlyDeleteDetails(EventUuid string) *PaperContentPermanentlyDeleteDetails {
- s := new(PaperContentPermanentlyDeleteDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRelinquishMembershipType returns a new SharedContentRelinquishMembershipType instance
+func NewSharedContentRelinquishMembershipType(Description string) *SharedContentRelinquishMembershipType {
+ s := new(SharedContentRelinquishMembershipType)
+ s.Description = Description
return s
}
-// PaperContentRemoveFromFolderDetails : Removed Paper doc or folder from a
-// folder.
-type PaperContentRemoveFromFolderDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRemoveInviteesDetails : Removed invitee from shared file/folder
+// before invite was accepted.
+type SharedContentRemoveInviteesDetails struct {
+ // Invitees : A list of invitees.
+ Invitees []string `json:"invitees"`
}
-// NewPaperContentRemoveFromFolderDetails returns a new PaperContentRemoveFromFolderDetails instance
-func NewPaperContentRemoveFromFolderDetails(EventUuid string) *PaperContentRemoveFromFolderDetails {
- s := new(PaperContentRemoveFromFolderDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRemoveInviteesDetails returns a new SharedContentRemoveInviteesDetails instance
+func NewSharedContentRemoveInviteesDetails(Invitees []string) *SharedContentRemoveInviteesDetails {
+ s := new(SharedContentRemoveInviteesDetails)
+ s.Invitees = Invitees
return s
}
-// PaperContentRemoveMemberDetails : Removed a user from the membership of a
-// Paper doc or folder.
-type PaperContentRemoveMemberDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRemoveInviteesType : has no documentation (yet)
+type SharedContentRemoveInviteesType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperContentRemoveMemberDetails returns a new PaperContentRemoveMemberDetails instance
-func NewPaperContentRemoveMemberDetails(EventUuid string) *PaperContentRemoveMemberDetails {
- s := new(PaperContentRemoveMemberDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRemoveInviteesType returns a new SharedContentRemoveInviteesType instance
+func NewSharedContentRemoveInviteesType(Description string) *SharedContentRemoveInviteesType {
+ s := new(SharedContentRemoveInviteesType)
+ s.Description = Description
return s
}
-// PaperContentRenameDetails : Renamed Paper doc or folder.
-type PaperContentRenameDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRemoveLinkExpiryDetails : Removed link expiration date of shared
+// file/folder.
+type SharedContentRemoveLinkExpiryDetails struct {
+ // PreviousValue : Previous shared content link expiration date. Might be
+ // missing due to historical data gap.
+ PreviousValue time.Time `json:"previous_value,omitempty"`
}
-// NewPaperContentRenameDetails returns a new PaperContentRenameDetails instance
-func NewPaperContentRenameDetails(EventUuid string) *PaperContentRenameDetails {
- s := new(PaperContentRenameDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRemoveLinkExpiryDetails returns a new SharedContentRemoveLinkExpiryDetails instance
+func NewSharedContentRemoveLinkExpiryDetails() *SharedContentRemoveLinkExpiryDetails {
+ s := new(SharedContentRemoveLinkExpiryDetails)
return s
}
-// PaperContentRestoreDetails : Restored an archived Paper doc or folder.
-type PaperContentRestoreDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRemoveLinkExpiryType : has no documentation (yet)
+type SharedContentRemoveLinkExpiryType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperContentRestoreDetails returns a new PaperContentRestoreDetails instance
-func NewPaperContentRestoreDetails(EventUuid string) *PaperContentRestoreDetails {
- s := new(PaperContentRestoreDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRemoveLinkExpiryType returns a new SharedContentRemoveLinkExpiryType instance
+func NewSharedContentRemoveLinkExpiryType(Description string) *SharedContentRemoveLinkExpiryType {
+ s := new(SharedContentRemoveLinkExpiryType)
+ s.Description = Description
return s
}
-// PaperDocAddCommentDetails : Added a Paper doc comment.
-type PaperDocAddCommentDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// SharedContentRemoveLinkPasswordDetails : Removed link password of shared
+// file/folder.
+type SharedContentRemoveLinkPasswordDetails struct {
}
-// NewPaperDocAddCommentDetails returns a new PaperDocAddCommentDetails instance
-func NewPaperDocAddCommentDetails(EventUuid string) *PaperDocAddCommentDetails {
- s := new(PaperDocAddCommentDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRemoveLinkPasswordDetails returns a new SharedContentRemoveLinkPasswordDetails instance
+func NewSharedContentRemoveLinkPasswordDetails() *SharedContentRemoveLinkPasswordDetails {
+ s := new(SharedContentRemoveLinkPasswordDetails)
return s
}
-// PaperDocChangeMemberRoleDetails : Changed the access type of a Paper doc
-// member.
-type PaperDocChangeMemberRoleDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // AccessType : Paper doc access type.
- AccessType *PaperAccessType `json:"access_type"`
+// SharedContentRemoveLinkPasswordType : has no documentation (yet)
+type SharedContentRemoveLinkPasswordType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocChangeMemberRoleDetails returns a new PaperDocChangeMemberRoleDetails instance
-func NewPaperDocChangeMemberRoleDetails(EventUuid string, AccessType *PaperAccessType) *PaperDocChangeMemberRoleDetails {
- s := new(PaperDocChangeMemberRoleDetails)
- s.EventUuid = EventUuid
- s.AccessType = AccessType
+// NewSharedContentRemoveLinkPasswordType returns a new SharedContentRemoveLinkPasswordType instance
+func NewSharedContentRemoveLinkPasswordType(Description string) *SharedContentRemoveLinkPasswordType {
+ s := new(SharedContentRemoveLinkPasswordType)
+ s.Description = Description
return s
}
-// PaperDocChangeSharingPolicyDetails : Changed the sharing policy for Paper
-// doc.
-type PaperDocChangeSharingPolicyDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // PublicSharingPolicy : Sharing policy with external users. Might be
- // missing due to historical data gap.
- PublicSharingPolicy string `json:"public_sharing_policy,omitempty"`
- // TeamSharingPolicy : Sharing policy with team. Might be missing due to
- // historical data gap.
- TeamSharingPolicy string `json:"team_sharing_policy,omitempty"`
+// SharedContentRemoveMemberDetails : Removed user/group from shared
+// file/folder.
+type SharedContentRemoveMemberDetails struct {
+ // SharedContentAccessLevel : Shared content access level.
+ SharedContentAccessLevel *sharing.AccessLevel `json:"shared_content_access_level,omitempty"`
}
-// NewPaperDocChangeSharingPolicyDetails returns a new PaperDocChangeSharingPolicyDetails instance
-func NewPaperDocChangeSharingPolicyDetails(EventUuid string) *PaperDocChangeSharingPolicyDetails {
- s := new(PaperDocChangeSharingPolicyDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRemoveMemberDetails returns a new SharedContentRemoveMemberDetails instance
+func NewSharedContentRemoveMemberDetails() *SharedContentRemoveMemberDetails {
+ s := new(SharedContentRemoveMemberDetails)
return s
}
-// PaperDocChangeSubscriptionDetails : Followed or unfollowed a Paper doc.
-type PaperDocChangeSubscriptionDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // NewSubscriptionLevel : New doc subscription level.
- NewSubscriptionLevel string `json:"new_subscription_level"`
- // PreviousSubscriptionLevel : Previous doc subscription level. Might be
- // missing due to historical data gap.
- PreviousSubscriptionLevel string `json:"previous_subscription_level,omitempty"`
+// SharedContentRemoveMemberType : has no documentation (yet)
+type SharedContentRemoveMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocChangeSubscriptionDetails returns a new PaperDocChangeSubscriptionDetails instance
-func NewPaperDocChangeSubscriptionDetails(EventUuid string, NewSubscriptionLevel string) *PaperDocChangeSubscriptionDetails {
- s := new(PaperDocChangeSubscriptionDetails)
- s.EventUuid = EventUuid
- s.NewSubscriptionLevel = NewSubscriptionLevel
+// NewSharedContentRemoveMemberType returns a new SharedContentRemoveMemberType instance
+func NewSharedContentRemoveMemberType(Description string) *SharedContentRemoveMemberType {
+ s := new(SharedContentRemoveMemberType)
+ s.Description = Description
return s
}
-// PaperDocDeleteCommentDetails : Deleted a Paper doc comment.
-type PaperDocDeleteCommentDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// SharedContentRequestAccessDetails : Requested access to shared file/folder.
+type SharedContentRequestAccessDetails struct {
+ // SharedContentLink : Shared content link.
+ SharedContentLink string `json:"shared_content_link,omitempty"`
}
-// NewPaperDocDeleteCommentDetails returns a new PaperDocDeleteCommentDetails instance
-func NewPaperDocDeleteCommentDetails(EventUuid string) *PaperDocDeleteCommentDetails {
- s := new(PaperDocDeleteCommentDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRequestAccessDetails returns a new SharedContentRequestAccessDetails instance
+func NewSharedContentRequestAccessDetails() *SharedContentRequestAccessDetails {
+ s := new(SharedContentRequestAccessDetails)
return s
}
-// PaperDocDeletedDetails : Paper doc archived.
-type PaperDocDeletedDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentRequestAccessType : has no documentation (yet)
+type SharedContentRequestAccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocDeletedDetails returns a new PaperDocDeletedDetails instance
-func NewPaperDocDeletedDetails(EventUuid string) *PaperDocDeletedDetails {
- s := new(PaperDocDeletedDetails)
- s.EventUuid = EventUuid
+// NewSharedContentRequestAccessType returns a new SharedContentRequestAccessType instance
+func NewSharedContentRequestAccessType(Description string) *SharedContentRequestAccessType {
+ s := new(SharedContentRequestAccessType)
+ s.Description = Description
return s
}
-// PaperDocDownloadDetails : Downloaded a Paper doc in a particular output
-// format.
-type PaperDocDownloadDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // ExportFileFormat : Export file format.
- ExportFileFormat *PaperDownloadFormat `json:"export_file_format"`
+// SharedContentUnshareDetails : Unshared file/folder by clearing membership and
+// turning off link.
+type SharedContentUnshareDetails struct {
}
-// NewPaperDocDownloadDetails returns a new PaperDocDownloadDetails instance
-func NewPaperDocDownloadDetails(EventUuid string, ExportFileFormat *PaperDownloadFormat) *PaperDocDownloadDetails {
- s := new(PaperDocDownloadDetails)
- s.EventUuid = EventUuid
- s.ExportFileFormat = ExportFileFormat
+// NewSharedContentUnshareDetails returns a new SharedContentUnshareDetails instance
+func NewSharedContentUnshareDetails() *SharedContentUnshareDetails {
+ s := new(SharedContentUnshareDetails)
return s
}
-// PaperDocEditCommentDetails : Edited a Paper doc comment.
-type PaperDocEditCommentDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// SharedContentUnshareType : has no documentation (yet)
+type SharedContentUnshareType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocEditCommentDetails returns a new PaperDocEditCommentDetails instance
-func NewPaperDocEditCommentDetails(EventUuid string) *PaperDocEditCommentDetails {
- s := new(PaperDocEditCommentDetails)
- s.EventUuid = EventUuid
+// NewSharedContentUnshareType returns a new SharedContentUnshareType instance
+func NewSharedContentUnshareType(Description string) *SharedContentUnshareType {
+ s := new(SharedContentUnshareType)
+ s.Description = Description
return s
}
-// PaperDocEditDetails : Edited a Paper doc.
-type PaperDocEditDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentViewDetails : Previewed shared file/folder.
+type SharedContentViewDetails struct {
+ // SharedContentLink : Shared content link.
+ SharedContentLink string `json:"shared_content_link"`
+ // SharedContentOwner : The shared content owner.
+ SharedContentOwner IsUserLogInfo `json:"shared_content_owner,omitempty"`
+ // SharedContentAccessLevel : Shared content access level.
+ SharedContentAccessLevel *sharing.AccessLevel `json:"shared_content_access_level"`
}
-// NewPaperDocEditDetails returns a new PaperDocEditDetails instance
-func NewPaperDocEditDetails(EventUuid string) *PaperDocEditDetails {
- s := new(PaperDocEditDetails)
- s.EventUuid = EventUuid
+// NewSharedContentViewDetails returns a new SharedContentViewDetails instance
+func NewSharedContentViewDetails(SharedContentLink string, SharedContentAccessLevel *sharing.AccessLevel) *SharedContentViewDetails {
+ s := new(SharedContentViewDetails)
+ s.SharedContentLink = SharedContentLink
+ s.SharedContentAccessLevel = SharedContentAccessLevel
return s
}
-// PaperDocFollowedDetails : Followed a Paper doc.
-type PaperDocFollowedDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedContentViewType : has no documentation (yet)
+type SharedContentViewType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocFollowedDetails returns a new PaperDocFollowedDetails instance
-func NewPaperDocFollowedDetails(EventUuid string) *PaperDocFollowedDetails {
- s := new(PaperDocFollowedDetails)
- s.EventUuid = EventUuid
+// NewSharedContentViewType returns a new SharedContentViewType instance
+func NewSharedContentViewType(Description string) *SharedContentViewType {
+ s := new(SharedContentViewType)
+ s.Description = Description
return s
}
-// PaperDocMentionDetails : Mentioned a member in a Paper doc.
-type PaperDocMentionDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderChangeLinkPolicyDetails : Changed who can access shared folder
+// via link.
+type SharedFolderChangeLinkPolicyDetails struct {
+ // NewValue : New shared folder link policy.
+ NewValue *sharing.SharedLinkPolicy `json:"new_value"`
+ // PreviousValue : Previous shared folder link policy. Might be missing due
+ // to historical data gap.
+ PreviousValue *sharing.SharedLinkPolicy `json:"previous_value,omitempty"`
}
-// NewPaperDocMentionDetails returns a new PaperDocMentionDetails instance
-func NewPaperDocMentionDetails(EventUuid string) *PaperDocMentionDetails {
- s := new(PaperDocMentionDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeLinkPolicyDetails returns a new SharedFolderChangeLinkPolicyDetails instance
+func NewSharedFolderChangeLinkPolicyDetails(NewValue *sharing.SharedLinkPolicy) *SharedFolderChangeLinkPolicyDetails {
+ s := new(SharedFolderChangeLinkPolicyDetails)
+ s.NewValue = NewValue
return s
}
-// PaperDocRequestAccessDetails : Requested to be a member on a Paper doc.
-type PaperDocRequestAccessDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderChangeLinkPolicyType : has no documentation (yet)
+type SharedFolderChangeLinkPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocRequestAccessDetails returns a new PaperDocRequestAccessDetails instance
-func NewPaperDocRequestAccessDetails(EventUuid string) *PaperDocRequestAccessDetails {
- s := new(PaperDocRequestAccessDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeLinkPolicyType returns a new SharedFolderChangeLinkPolicyType instance
+func NewSharedFolderChangeLinkPolicyType(Description string) *SharedFolderChangeLinkPolicyType {
+ s := new(SharedFolderChangeLinkPolicyType)
+ s.Description = Description
return s
}
-// PaperDocResolveCommentDetails : Paper doc comment resolved.
-type PaperDocResolveCommentDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// SharedFolderChangeMembersInheritancePolicyDetails : Changed whether shared
+// folder inherits members from parent folder.
+type SharedFolderChangeMembersInheritancePolicyDetails struct {
+ // NewValue : New member inheritance policy.
+ NewValue *SharedFolderMembersInheritancePolicy `json:"new_value"`
+ // PreviousValue : Previous member inheritance policy. Might be missing due
+ // to historical data gap.
+ PreviousValue *SharedFolderMembersInheritancePolicy `json:"previous_value,omitempty"`
}
-// NewPaperDocResolveCommentDetails returns a new PaperDocResolveCommentDetails instance
-func NewPaperDocResolveCommentDetails(EventUuid string) *PaperDocResolveCommentDetails {
- s := new(PaperDocResolveCommentDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeMembersInheritancePolicyDetails returns a new SharedFolderChangeMembersInheritancePolicyDetails instance
+func NewSharedFolderChangeMembersInheritancePolicyDetails(NewValue *SharedFolderMembersInheritancePolicy) *SharedFolderChangeMembersInheritancePolicyDetails {
+ s := new(SharedFolderChangeMembersInheritancePolicyDetails)
+ s.NewValue = NewValue
return s
}
-// PaperDocRevertDetails : Restored a Paper doc to previous revision.
-type PaperDocRevertDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderChangeMembersInheritancePolicyType : has no documentation (yet)
+type SharedFolderChangeMembersInheritancePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocRevertDetails returns a new PaperDocRevertDetails instance
-func NewPaperDocRevertDetails(EventUuid string) *PaperDocRevertDetails {
- s := new(PaperDocRevertDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeMembersInheritancePolicyType returns a new SharedFolderChangeMembersInheritancePolicyType instance
+func NewSharedFolderChangeMembersInheritancePolicyType(Description string) *SharedFolderChangeMembersInheritancePolicyType {
+ s := new(SharedFolderChangeMembersInheritancePolicyType)
+ s.Description = Description
return s
}
-// PaperDocSlackShareDetails : Paper doc link shared via slack.
-type PaperDocSlackShareDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderChangeMembersManagementPolicyDetails : Changed who can add/remove
+// members of shared folder.
+type SharedFolderChangeMembersManagementPolicyDetails struct {
+ // NewValue : New members management policy.
+ NewValue *sharing.AclUpdatePolicy `json:"new_value"`
+ // PreviousValue : Previous members management policy. Might be missing due
+ // to historical data gap.
+ PreviousValue *sharing.AclUpdatePolicy `json:"previous_value,omitempty"`
}
-// NewPaperDocSlackShareDetails returns a new PaperDocSlackShareDetails instance
-func NewPaperDocSlackShareDetails(EventUuid string) *PaperDocSlackShareDetails {
- s := new(PaperDocSlackShareDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeMembersManagementPolicyDetails returns a new SharedFolderChangeMembersManagementPolicyDetails instance
+func NewSharedFolderChangeMembersManagementPolicyDetails(NewValue *sharing.AclUpdatePolicy) *SharedFolderChangeMembersManagementPolicyDetails {
+ s := new(SharedFolderChangeMembersManagementPolicyDetails)
+ s.NewValue = NewValue
return s
}
-// PaperDocTeamInviteDetails : Paper doc shared with team member.
-type PaperDocTeamInviteDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderChangeMembersManagementPolicyType : has no documentation (yet)
+type SharedFolderChangeMembersManagementPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocTeamInviteDetails returns a new PaperDocTeamInviteDetails instance
-func NewPaperDocTeamInviteDetails(EventUuid string) *PaperDocTeamInviteDetails {
- s := new(PaperDocTeamInviteDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeMembersManagementPolicyType returns a new SharedFolderChangeMembersManagementPolicyType instance
+func NewSharedFolderChangeMembersManagementPolicyType(Description string) *SharedFolderChangeMembersManagementPolicyType {
+ s := new(SharedFolderChangeMembersManagementPolicyType)
+ s.Description = Description
return s
}
-// PaperDocTrashedDetails : Paper doc trashed.
-type PaperDocTrashedDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderChangeMembersPolicyDetails : Changed who can become member of
+// shared folder.
+type SharedFolderChangeMembersPolicyDetails struct {
+ // NewValue : New external invite policy.
+ NewValue *sharing.MemberPolicy `json:"new_value"`
+ // PreviousValue : Previous external invite policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *sharing.MemberPolicy `json:"previous_value,omitempty"`
}
-// NewPaperDocTrashedDetails returns a new PaperDocTrashedDetails instance
-func NewPaperDocTrashedDetails(EventUuid string) *PaperDocTrashedDetails {
- s := new(PaperDocTrashedDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderChangeMembersPolicyDetails returns a new SharedFolderChangeMembersPolicyDetails instance
+func NewSharedFolderChangeMembersPolicyDetails(NewValue *sharing.MemberPolicy) *SharedFolderChangeMembersPolicyDetails {
+ s := new(SharedFolderChangeMembersPolicyDetails)
+ s.NewValue = NewValue
return s
}
-// PaperDocUnresolveCommentDetails : Unresolved a Paper doc comment.
-type PaperDocUnresolveCommentDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // CommentText : Comment text. Might be missing due to historical data gap.
- CommentText string `json:"comment_text,omitempty"`
+// SharedFolderChangeMembersPolicyType : has no documentation (yet)
+type SharedFolderChangeMembersPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSharedFolderChangeMembersPolicyType returns a new SharedFolderChangeMembersPolicyType instance
+func NewSharedFolderChangeMembersPolicyType(Description string) *SharedFolderChangeMembersPolicyType {
+ s := new(SharedFolderChangeMembersPolicyType)
+ s.Description = Description
+ return s
}
-// NewPaperDocUnresolveCommentDetails returns a new PaperDocUnresolveCommentDetails instance
-func NewPaperDocUnresolveCommentDetails(EventUuid string) *PaperDocUnresolveCommentDetails {
- s := new(PaperDocUnresolveCommentDetails)
- s.EventUuid = EventUuid
+// SharedFolderCreateDetails : Created shared folder.
+type SharedFolderCreateDetails struct {
+ // TargetNsId : Target namespace ID. Might be missing due to historical data
+ // gap.
+ TargetNsId string `json:"target_ns_id,omitempty"`
+}
+
+// NewSharedFolderCreateDetails returns a new SharedFolderCreateDetails instance
+func NewSharedFolderCreateDetails() *SharedFolderCreateDetails {
+ s := new(SharedFolderCreateDetails)
return s
}
-// PaperDocUntrashedDetails : Paper doc untrashed.
-type PaperDocUntrashedDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderCreateType : has no documentation (yet)
+type SharedFolderCreateType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocUntrashedDetails returns a new PaperDocUntrashedDetails instance
-func NewPaperDocUntrashedDetails(EventUuid string) *PaperDocUntrashedDetails {
- s := new(PaperDocUntrashedDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderCreateType returns a new SharedFolderCreateType instance
+func NewSharedFolderCreateType(Description string) *SharedFolderCreateType {
+ s := new(SharedFolderCreateType)
+ s.Description = Description
return s
}
-// PaperDocViewDetails : Viewed Paper doc.
-type PaperDocViewDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderDeclineInvitationDetails : Declined team member's invite to
+// shared folder.
+type SharedFolderDeclineInvitationDetails struct {
}
-// NewPaperDocViewDetails returns a new PaperDocViewDetails instance
-func NewPaperDocViewDetails(EventUuid string) *PaperDocViewDetails {
- s := new(PaperDocViewDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderDeclineInvitationDetails returns a new SharedFolderDeclineInvitationDetails instance
+func NewSharedFolderDeclineInvitationDetails() *SharedFolderDeclineInvitationDetails {
+ s := new(SharedFolderDeclineInvitationDetails)
return s
}
-// PaperDocumentLogInfo : Paper document's logged information.
-type PaperDocumentLogInfo struct {
- // DocId : Papers document Id.
- DocId string `json:"doc_id"`
- // DocTitle : Paper document title.
- DocTitle string `json:"doc_title"`
+// SharedFolderDeclineInvitationType : has no documentation (yet)
+type SharedFolderDeclineInvitationType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperDocumentLogInfo returns a new PaperDocumentLogInfo instance
-func NewPaperDocumentLogInfo(DocId string, DocTitle string) *PaperDocumentLogInfo {
- s := new(PaperDocumentLogInfo)
- s.DocId = DocId
- s.DocTitle = DocTitle
+// NewSharedFolderDeclineInvitationType returns a new SharedFolderDeclineInvitationType instance
+func NewSharedFolderDeclineInvitationType(Description string) *SharedFolderDeclineInvitationType {
+ s := new(SharedFolderDeclineInvitationType)
+ s.Description = Description
return s
}
-// PaperDownloadFormat : has no documentation (yet)
-type PaperDownloadFormat struct {
+// SharedFolderMembersInheritancePolicy : Specifies if a shared folder inherits
+// its members from the parent folder.
+type SharedFolderMembersInheritancePolicy struct {
dropbox.Tagged
}
-// Valid tag values for PaperDownloadFormat
+// Valid tag values for SharedFolderMembersInheritancePolicy
const (
- PaperDownloadFormatDocx = "docx"
- PaperDownloadFormatHtml = "html"
- PaperDownloadFormatMarkdown = "markdown"
- PaperDownloadFormatOther = "other"
+ SharedFolderMembersInheritancePolicyInheritMembers = "inherit_members"
+ SharedFolderMembersInheritancePolicyDontInheritMembers = "dont_inherit_members"
+ SharedFolderMembersInheritancePolicyOther = "other"
)
-// PaperEnabledUsersGroupAdditionDetails : Users added to Paper enabled users
-// list.
-type PaperEnabledUsersGroupAdditionDetails struct {
+// SharedFolderMountDetails : Added shared folder to own Dropbox.
+type SharedFolderMountDetails struct {
}
-// NewPaperEnabledUsersGroupAdditionDetails returns a new PaperEnabledUsersGroupAdditionDetails instance
-func NewPaperEnabledUsersGroupAdditionDetails() *PaperEnabledUsersGroupAdditionDetails {
- s := new(PaperEnabledUsersGroupAdditionDetails)
+// NewSharedFolderMountDetails returns a new SharedFolderMountDetails instance
+func NewSharedFolderMountDetails() *SharedFolderMountDetails {
+ s := new(SharedFolderMountDetails)
return s
}
-// PaperEnabledUsersGroupRemovalDetails : Users removed from Paper enabled users
-// list.
-type PaperEnabledUsersGroupRemovalDetails struct {
+// SharedFolderMountType : has no documentation (yet)
+type SharedFolderMountType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperEnabledUsersGroupRemovalDetails returns a new PaperEnabledUsersGroupRemovalDetails instance
-func NewPaperEnabledUsersGroupRemovalDetails() *PaperEnabledUsersGroupRemovalDetails {
- s := new(PaperEnabledUsersGroupRemovalDetails)
+// NewSharedFolderMountType returns a new SharedFolderMountType instance
+func NewSharedFolderMountType(Description string) *SharedFolderMountType {
+ s := new(SharedFolderMountType)
+ s.Description = Description
return s
}
-// PaperExternalViewAllowDetails : Paper external sharing policy changed:
-// anyone.
-type PaperExternalViewAllowDetails struct {
+// SharedFolderNestDetails : Changed parent of shared folder.
+type SharedFolderNestDetails struct {
+ // PreviousParentNsId : Previous parent namespace ID. Might be missing due
+ // to historical data gap.
+ PreviousParentNsId string `json:"previous_parent_ns_id,omitempty"`
+ // NewParentNsId : New parent namespace ID. Might be missing due to
+ // historical data gap.
+ NewParentNsId string `json:"new_parent_ns_id,omitempty"`
}
-// NewPaperExternalViewAllowDetails returns a new PaperExternalViewAllowDetails instance
-func NewPaperExternalViewAllowDetails() *PaperExternalViewAllowDetails {
- s := new(PaperExternalViewAllowDetails)
+// NewSharedFolderNestDetails returns a new SharedFolderNestDetails instance
+func NewSharedFolderNestDetails() *SharedFolderNestDetails {
+ s := new(SharedFolderNestDetails)
return s
}
-// PaperExternalViewDefaultTeamDetails : Paper external sharing policy changed:
-// default team.
-type PaperExternalViewDefaultTeamDetails struct {
+// SharedFolderNestType : has no documentation (yet)
+type SharedFolderNestType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperExternalViewDefaultTeamDetails returns a new PaperExternalViewDefaultTeamDetails instance
-func NewPaperExternalViewDefaultTeamDetails() *PaperExternalViewDefaultTeamDetails {
- s := new(PaperExternalViewDefaultTeamDetails)
+// NewSharedFolderNestType returns a new SharedFolderNestType instance
+func NewSharedFolderNestType(Description string) *SharedFolderNestType {
+ s := new(SharedFolderNestType)
+ s.Description = Description
return s
}
-// PaperExternalViewForbidDetails : Paper external sharing policy changed:
-// team-only.
-type PaperExternalViewForbidDetails struct {
+// SharedFolderTransferOwnershipDetails : Transferred ownership of shared folder
+// to another member.
+type SharedFolderTransferOwnershipDetails struct {
+ // PreviousOwnerEmail : The email address of the previous shared folder
+ // owner.
+ PreviousOwnerEmail string `json:"previous_owner_email,omitempty"`
+ // NewOwnerEmail : The email address of the new shared folder owner.
+ NewOwnerEmail string `json:"new_owner_email"`
}
-// NewPaperExternalViewForbidDetails returns a new PaperExternalViewForbidDetails instance
-func NewPaperExternalViewForbidDetails() *PaperExternalViewForbidDetails {
- s := new(PaperExternalViewForbidDetails)
+// NewSharedFolderTransferOwnershipDetails returns a new SharedFolderTransferOwnershipDetails instance
+func NewSharedFolderTransferOwnershipDetails(NewOwnerEmail string) *SharedFolderTransferOwnershipDetails {
+ s := new(SharedFolderTransferOwnershipDetails)
+ s.NewOwnerEmail = NewOwnerEmail
return s
}
-// PaperFolderChangeSubscriptionDetails : Followed or unfollowed a Paper folder.
-type PaperFolderChangeSubscriptionDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
- // NewSubscriptionLevel : New folder subscription level.
- NewSubscriptionLevel string `json:"new_subscription_level"`
- // PreviousSubscriptionLevel : Previous folder subscription level. Might be
- // missing due to historical data gap.
- PreviousSubscriptionLevel string `json:"previous_subscription_level,omitempty"`
+// SharedFolderTransferOwnershipType : has no documentation (yet)
+type SharedFolderTransferOwnershipType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperFolderChangeSubscriptionDetails returns a new PaperFolderChangeSubscriptionDetails instance
-func NewPaperFolderChangeSubscriptionDetails(EventUuid string, NewSubscriptionLevel string) *PaperFolderChangeSubscriptionDetails {
- s := new(PaperFolderChangeSubscriptionDetails)
- s.EventUuid = EventUuid
- s.NewSubscriptionLevel = NewSubscriptionLevel
+// NewSharedFolderTransferOwnershipType returns a new SharedFolderTransferOwnershipType instance
+func NewSharedFolderTransferOwnershipType(Description string) *SharedFolderTransferOwnershipType {
+ s := new(SharedFolderTransferOwnershipType)
+ s.Description = Description
return s
}
-// PaperFolderDeletedDetails : Paper folder archived.
-type PaperFolderDeletedDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderUnmountDetails : Deleted shared folder from Dropbox.
+type SharedFolderUnmountDetails struct {
}
-// NewPaperFolderDeletedDetails returns a new PaperFolderDeletedDetails instance
-func NewPaperFolderDeletedDetails(EventUuid string) *PaperFolderDeletedDetails {
- s := new(PaperFolderDeletedDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderUnmountDetails returns a new SharedFolderUnmountDetails instance
+func NewSharedFolderUnmountDetails() *SharedFolderUnmountDetails {
+ s := new(SharedFolderUnmountDetails)
return s
}
-// PaperFolderFollowedDetails : Followed a Paper folder.
-type PaperFolderFollowedDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedFolderUnmountType : has no documentation (yet)
+type SharedFolderUnmountType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperFolderFollowedDetails returns a new PaperFolderFollowedDetails instance
-func NewPaperFolderFollowedDetails(EventUuid string) *PaperFolderFollowedDetails {
- s := new(PaperFolderFollowedDetails)
- s.EventUuid = EventUuid
+// NewSharedFolderUnmountType returns a new SharedFolderUnmountType instance
+func NewSharedFolderUnmountType(Description string) *SharedFolderUnmountType {
+ s := new(SharedFolderUnmountType)
+ s.Description = Description
return s
}
-// PaperFolderLogInfo : Paper folder's logged information.
-type PaperFolderLogInfo struct {
- // FolderId : Papers folder Id.
- FolderId string `json:"folder_id"`
- // FolderName : Paper folder name.
- FolderName string `json:"folder_name"`
+// SharedLinkAccessLevel : Shared link access level.
+type SharedLinkAccessLevel struct {
+ dropbox.Tagged
}
-// NewPaperFolderLogInfo returns a new PaperFolderLogInfo instance
-func NewPaperFolderLogInfo(FolderId string, FolderName string) *PaperFolderLogInfo {
- s := new(PaperFolderLogInfo)
- s.FolderId = FolderId
- s.FolderName = FolderName
+// Valid tag values for SharedLinkAccessLevel
+const (
+ SharedLinkAccessLevelNone = "none"
+ SharedLinkAccessLevelReader = "reader"
+ SharedLinkAccessLevelWriter = "writer"
+ SharedLinkAccessLevelOther = "other"
+)
+
+// SharedLinkAddExpiryDetails : Added shared link expiration date.
+type SharedLinkAddExpiryDetails struct {
+ // NewValue : New shared link expiration date.
+ NewValue time.Time `json:"new_value"`
+}
+
+// NewSharedLinkAddExpiryDetails returns a new SharedLinkAddExpiryDetails instance
+func NewSharedLinkAddExpiryDetails(NewValue time.Time) *SharedLinkAddExpiryDetails {
+ s := new(SharedLinkAddExpiryDetails)
+ s.NewValue = NewValue
return s
}
-// PaperFolderTeamInviteDetails : Paper folder shared with team member.
-type PaperFolderTeamInviteDetails struct {
- // EventUuid : Event unique identifier.
- EventUuid string `json:"event_uuid"`
+// SharedLinkAddExpiryType : has no documentation (yet)
+type SharedLinkAddExpiryType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPaperFolderTeamInviteDetails returns a new PaperFolderTeamInviteDetails instance
-func NewPaperFolderTeamInviteDetails(EventUuid string) *PaperFolderTeamInviteDetails {
- s := new(PaperFolderTeamInviteDetails)
- s.EventUuid = EventUuid
+// NewSharedLinkAddExpiryType returns a new SharedLinkAddExpiryType instance
+func NewSharedLinkAddExpiryType(Description string) *SharedLinkAddExpiryType {
+ s := new(SharedLinkAddExpiryType)
+ s.Description = Description
return s
}
-// PaperMemberPolicy : Policy for controlling if team members can share Paper
-// documents externally.
-type PaperMemberPolicy struct {
- dropbox.Tagged
+// SharedLinkChangeExpiryDetails : Changed shared link expiration date.
+type SharedLinkChangeExpiryDetails struct {
+ // NewValue : New shared link expiration date. Might be missing due to
+ // historical data gap.
+ NewValue time.Time `json:"new_value,omitempty"`
+ // PreviousValue : Previous shared link expiration date. Might be missing
+ // due to historical data gap.
+ PreviousValue time.Time `json:"previous_value,omitempty"`
}
-// Valid tag values for PaperMemberPolicy
-const (
- PaperMemberPolicyAnyoneWithLink = "anyone_with_link"
- PaperMemberPolicyOnlyTeam = "only_team"
- PaperMemberPolicyTeamAndExplicitlyShared = "team_and_explicitly_shared"
- PaperMemberPolicyOther = "other"
-)
-
-// ParticipantLogInfo : A user or group
-type ParticipantLogInfo struct {
- dropbox.Tagged
- // User : User details.
- User IsUserLogInfo `json:"user,omitempty"`
- // Group : Group details.
- Group *GroupLogInfo `json:"group,omitempty"`
+// NewSharedLinkChangeExpiryDetails returns a new SharedLinkChangeExpiryDetails instance
+func NewSharedLinkChangeExpiryDetails() *SharedLinkChangeExpiryDetails {
+ s := new(SharedLinkChangeExpiryDetails)
+ return s
}
-// Valid tag values for ParticipantLogInfo
-const (
- ParticipantLogInfoUser = "user"
- ParticipantLogInfoGroup = "group"
- ParticipantLogInfoOther = "other"
-)
+// SharedLinkChangeExpiryType : has no documentation (yet)
+type SharedLinkChangeExpiryType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
-// UnmarshalJSON deserializes into a ParticipantLogInfo instance
-func (u *ParticipantLogInfo) UnmarshalJSON(body []byte) error {
- type wrap struct {
- dropbox.Tagged
- // User : User details.
- User json.RawMessage `json:"user,omitempty"`
- // Group : Group details.
- Group json.RawMessage `json:"group,omitempty"`
- }
- var w wrap
- var err error
- if err = json.Unmarshal(body, &w); err != nil {
- return err
- }
- u.Tag = w.Tag
- switch u.Tag {
- case "user":
- u.User, err = IsUserLogInfoFromJSON(body)
+// NewSharedLinkChangeExpiryType returns a new SharedLinkChangeExpiryType instance
+func NewSharedLinkChangeExpiryType(Description string) *SharedLinkChangeExpiryType {
+ s := new(SharedLinkChangeExpiryType)
+ s.Description = Description
+ return s
+}
- if err != nil {
- return err
- }
- case "group":
- err = json.Unmarshal(body, &u.Group)
+// SharedLinkChangeVisibilityDetails : Changed visibility of shared link.
+type SharedLinkChangeVisibilityDetails struct {
+ // NewValue : New shared link visibility.
+ NewValue *SharedLinkVisibility `json:"new_value"`
+ // PreviousValue : Previous shared link visibility. Might be missing due to
+ // historical data gap.
+ PreviousValue *SharedLinkVisibility `json:"previous_value,omitempty"`
+}
- if err != nil {
- return err
- }
- }
- return nil
+// NewSharedLinkChangeVisibilityDetails returns a new SharedLinkChangeVisibilityDetails instance
+func NewSharedLinkChangeVisibilityDetails(NewValue *SharedLinkVisibility) *SharedLinkChangeVisibilityDetails {
+ s := new(SharedLinkChangeVisibilityDetails)
+ s.NewValue = NewValue
+ return s
}
-// PasswordChangeDetails : Changed password.
-type PasswordChangeDetails struct {
+// SharedLinkChangeVisibilityType : has no documentation (yet)
+type SharedLinkChangeVisibilityType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPasswordChangeDetails returns a new PasswordChangeDetails instance
-func NewPasswordChangeDetails() *PasswordChangeDetails {
- s := new(PasswordChangeDetails)
+// NewSharedLinkChangeVisibilityType returns a new SharedLinkChangeVisibilityType instance
+func NewSharedLinkChangeVisibilityType(Description string) *SharedLinkChangeVisibilityType {
+ s := new(SharedLinkChangeVisibilityType)
+ s.Description = Description
return s
}
-// PasswordResetAllDetails : Reset all team member passwords.
-type PasswordResetAllDetails struct {
+// SharedLinkCopyDetails : Added file/folder to Dropbox from shared link.
+type SharedLinkCopyDetails struct {
+ // SharedLinkOwner : Shared link owner details. Might be missing due to
+ // historical data gap.
+ SharedLinkOwner IsUserLogInfo `json:"shared_link_owner,omitempty"`
}
-// NewPasswordResetAllDetails returns a new PasswordResetAllDetails instance
-func NewPasswordResetAllDetails() *PasswordResetAllDetails {
- s := new(PasswordResetAllDetails)
+// NewSharedLinkCopyDetails returns a new SharedLinkCopyDetails instance
+func NewSharedLinkCopyDetails() *SharedLinkCopyDetails {
+ s := new(SharedLinkCopyDetails)
return s
}
-// PasswordResetDetails : Reset password.
-type PasswordResetDetails struct {
+// SharedLinkCopyType : has no documentation (yet)
+type SharedLinkCopyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPasswordResetDetails returns a new PasswordResetDetails instance
-func NewPasswordResetDetails() *PasswordResetDetails {
- s := new(PasswordResetDetails)
+// NewSharedLinkCopyType returns a new SharedLinkCopyType instance
+func NewSharedLinkCopyType(Description string) *SharedLinkCopyType {
+ s := new(SharedLinkCopyType)
+ s.Description = Description
return s
}
-// PathLogInfo : Path's details.
-type PathLogInfo struct {
- // Contextual : Fully qualified path relative to event's context. Might be
+// SharedLinkCreateDetails : Created shared link.
+type SharedLinkCreateDetails struct {
+ // SharedLinkAccessLevel : Defines who can access the shared link. Might be
// missing due to historical data gap.
- Contextual string `json:"contextual,omitempty"`
- // NamespaceRelative : Path relative to the namespace containing the
- // content.
- NamespaceRelative *NamespaceRelativePathLogInfo `json:"namespace_relative"`
+ SharedLinkAccessLevel *SharedLinkAccessLevel `json:"shared_link_access_level,omitempty"`
}
-// NewPathLogInfo returns a new PathLogInfo instance
-func NewPathLogInfo(NamespaceRelative *NamespaceRelativePathLogInfo) *PathLogInfo {
- s := new(PathLogInfo)
- s.NamespaceRelative = NamespaceRelative
+// NewSharedLinkCreateDetails returns a new SharedLinkCreateDetails instance
+func NewSharedLinkCreateDetails() *SharedLinkCreateDetails {
+ s := new(SharedLinkCreateDetails)
return s
}
-// PermanentDeleteChangePolicyDetails : Enabled or disabled the ability of team
-// members to permanently delete content.
-type PermanentDeleteChangePolicyDetails struct {
- // NewValue : New permanent delete content policy.
- NewValue *ContentPermanentDeletePolicy `json:"new_value"`
- // PreviousValue : Previous permanent delete content policy. Might be
- // missing due to historical data gap.
- PreviousValue *ContentPermanentDeletePolicy `json:"previous_value,omitempty"`
+// SharedLinkCreateType : has no documentation (yet)
+type SharedLinkCreateType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewPermanentDeleteChangePolicyDetails returns a new PermanentDeleteChangePolicyDetails instance
-func NewPermanentDeleteChangePolicyDetails(NewValue *ContentPermanentDeletePolicy) *PermanentDeleteChangePolicyDetails {
- s := new(PermanentDeleteChangePolicyDetails)
- s.NewValue = NewValue
+// NewSharedLinkCreateType returns a new SharedLinkCreateType instance
+func NewSharedLinkCreateType(Description string) *SharedLinkCreateType {
+ s := new(SharedLinkCreateType)
+ s.Description = Description
return s
}
-// PlacementRestriction : has no documentation (yet)
-type PlacementRestriction struct {
- dropbox.Tagged
+// SharedLinkDisableDetails : Removed shared link.
+type SharedLinkDisableDetails struct {
+ // SharedLinkOwner : Shared link owner details. Might be missing due to
+ // historical data gap.
+ SharedLinkOwner IsUserLogInfo `json:"shared_link_owner,omitempty"`
}
-// Valid tag values for PlacementRestriction
-const (
- PlacementRestrictionEuropeOnly = "europe_only"
- PlacementRestrictionNone = "none"
- PlacementRestrictionOther = "other"
-)
+// NewSharedLinkDisableDetails returns a new SharedLinkDisableDetails instance
+func NewSharedLinkDisableDetails() *SharedLinkDisableDetails {
+ s := new(SharedLinkDisableDetails)
+ return s
+}
-// RelocateAssetReferencesLogInfo : Provides the indices of the source asset and
-// the destination asset for a relocate action.
-type RelocateAssetReferencesLogInfo struct {
- // SrcAssetIndex : Source asset position in the Assets list.
- SrcAssetIndex uint64 `json:"src_asset_index"`
- // DestAssetIndex : Destination asset position in the Assets list.
- DestAssetIndex uint64 `json:"dest_asset_index"`
+// SharedLinkDisableType : has no documentation (yet)
+type SharedLinkDisableType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewRelocateAssetReferencesLogInfo returns a new RelocateAssetReferencesLogInfo instance
-func NewRelocateAssetReferencesLogInfo(SrcAssetIndex uint64, DestAssetIndex uint64) *RelocateAssetReferencesLogInfo {
- s := new(RelocateAssetReferencesLogInfo)
- s.SrcAssetIndex = SrcAssetIndex
- s.DestAssetIndex = DestAssetIndex
+// NewSharedLinkDisableType returns a new SharedLinkDisableType instance
+func NewSharedLinkDisableType(Description string) *SharedLinkDisableType {
+ s := new(SharedLinkDisableType)
+ s.Description = Description
+ return s
+}
+
+// SharedLinkDownloadDetails : Downloaded file/folder from shared link.
+type SharedLinkDownloadDetails struct {
+ // SharedLinkOwner : Shared link owner details. Might be missing due to
+ // historical data gap.
+ SharedLinkOwner IsUserLogInfo `json:"shared_link_owner,omitempty"`
+}
+
+// NewSharedLinkDownloadDetails returns a new SharedLinkDownloadDetails instance
+func NewSharedLinkDownloadDetails() *SharedLinkDownloadDetails {
+ s := new(SharedLinkDownloadDetails)
return s
}
-// ResellerLogInfo : Reseller information.
-type ResellerLogInfo struct {
- // ResellerName : Reseller name.
- ResellerName string `json:"reseller_name"`
- // ResellerEmail : Reseller email.
- ResellerEmail string `json:"reseller_email"`
+// SharedLinkDownloadType : has no documentation (yet)
+type SharedLinkDownloadType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewResellerLogInfo returns a new ResellerLogInfo instance
-func NewResellerLogInfo(ResellerName string, ResellerEmail string) *ResellerLogInfo {
- s := new(ResellerLogInfo)
- s.ResellerName = ResellerName
- s.ResellerEmail = ResellerEmail
+// NewSharedLinkDownloadType returns a new SharedLinkDownloadType instance
+func NewSharedLinkDownloadType(Description string) *SharedLinkDownloadType {
+ s := new(SharedLinkDownloadType)
+ s.Description = Description
return s
}
-// ResellerSupportSessionEndDetails : Ended reseller support session.
-type ResellerSupportSessionEndDetails struct {
+// SharedLinkRemoveExpiryDetails : Removed shared link expiration date.
+type SharedLinkRemoveExpiryDetails struct {
+ // PreviousValue : Previous shared link expiration date. Might be missing
+ // due to historical data gap.
+ PreviousValue time.Time `json:"previous_value,omitempty"`
}
-// NewResellerSupportSessionEndDetails returns a new ResellerSupportSessionEndDetails instance
-func NewResellerSupportSessionEndDetails() *ResellerSupportSessionEndDetails {
- s := new(ResellerSupportSessionEndDetails)
+// NewSharedLinkRemoveExpiryDetails returns a new SharedLinkRemoveExpiryDetails instance
+func NewSharedLinkRemoveExpiryDetails() *SharedLinkRemoveExpiryDetails {
+ s := new(SharedLinkRemoveExpiryDetails)
return s
}
-// ResellerSupportSessionStartDetails : Started reseller support session.
-type ResellerSupportSessionStartDetails struct {
+// SharedLinkRemoveExpiryType : has no documentation (yet)
+type SharedLinkRemoveExpiryType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewResellerSupportSessionStartDetails returns a new ResellerSupportSessionStartDetails instance
-func NewResellerSupportSessionStartDetails() *ResellerSupportSessionStartDetails {
- s := new(ResellerSupportSessionStartDetails)
+// NewSharedLinkRemoveExpiryType returns a new SharedLinkRemoveExpiryType instance
+func NewSharedLinkRemoveExpiryType(Description string) *SharedLinkRemoveExpiryType {
+ s := new(SharedLinkRemoveExpiryType)
+ s.Description = Description
return s
}
-// SfAddGroupDetails : Added the team to a shared folder.
-type SfAddGroupDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // SharingPermission : Sharing permission. Might be missing due to
+// SharedLinkShareDetails : Added members as audience of shared link.
+type SharedLinkShareDetails struct {
+ // SharedLinkOwner : Shared link owner details. Might be missing due to
// historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TeamName : Team name.
- TeamName string `json:"team_name"`
+ SharedLinkOwner IsUserLogInfo `json:"shared_link_owner,omitempty"`
+ // ExternalUsers : Users without a Dropbox account that were added as shared
+ // link audience.
+ ExternalUsers []*ExternalUserLogInfo `json:"external_users,omitempty"`
}
-// NewSfAddGroupDetails returns a new SfAddGroupDetails instance
-func NewSfAddGroupDetails(TargetAssetIndex uint64, OriginalFolderName string, TeamName string) *SfAddGroupDetails {
- s := new(SfAddGroupDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
- s.TeamName = TeamName
+// NewSharedLinkShareDetails returns a new SharedLinkShareDetails instance
+func NewSharedLinkShareDetails() *SharedLinkShareDetails {
+ s := new(SharedLinkShareDetails)
return s
}
-// SfAllowNonMembersToViewSharedLinksDetails : Allowed non collaborators to view
-// links to files in a shared folder.
-type SfAllowNonMembersToViewSharedLinksDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// SharedLinkShareType : has no documentation (yet)
+type SharedLinkShareType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSfAllowNonMembersToViewSharedLinksDetails returns a new SfAllowNonMembersToViewSharedLinksDetails instance
-func NewSfAllowNonMembersToViewSharedLinksDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfAllowNonMembersToViewSharedLinksDetails {
- s := new(SfAllowNonMembersToViewSharedLinksDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharedLinkShareType returns a new SharedLinkShareType instance
+func NewSharedLinkShareType(Description string) *SharedLinkShareType {
+ s := new(SharedLinkShareType)
+ s.Description = Description
return s
}
-// SfExternalInviteWarnDetails : Admin settings: team members see a warning
-// before sharing folders outside the team (DEPRECATED FEATURE).
-type SfExternalInviteWarnDetails struct {
+// SharedLinkViewDetails : Opened shared link.
+type SharedLinkViewDetails struct {
+ // SharedLinkOwner : Shared link owner details. Might be missing due to
+ // historical data gap.
+ SharedLinkOwner IsUserLogInfo `json:"shared_link_owner,omitempty"`
}
-// NewSfExternalInviteWarnDetails returns a new SfExternalInviteWarnDetails instance
-func NewSfExternalInviteWarnDetails() *SfExternalInviteWarnDetails {
- s := new(SfExternalInviteWarnDetails)
+// NewSharedLinkViewDetails returns a new SharedLinkViewDetails instance
+func NewSharedLinkViewDetails() *SharedLinkViewDetails {
+ s := new(SharedLinkViewDetails)
return s
}
-// SfInviteGroupDetails : Invited a group to a shared folder.
-type SfInviteGroupDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
+// SharedLinkViewType : has no documentation (yet)
+type SharedLinkViewType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSfInviteGroupDetails returns a new SfInviteGroupDetails instance
-func NewSfInviteGroupDetails(TargetAssetIndex uint64) *SfInviteGroupDetails {
- s := new(SfInviteGroupDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewSharedLinkViewType returns a new SharedLinkViewType instance
+func NewSharedLinkViewType(Description string) *SharedLinkViewType {
+ s := new(SharedLinkViewType)
+ s.Description = Description
return s
}
-// SfNestDetails : Changed parent of shared folder.
-type SfNestDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // PrevParentNsId : Previous parent namespace ID. Might be missing due to
- // historical data gap.
- PrevParentNsId string `json:"prev_parent_ns_id,omitempty"`
- // NewParentNsId : New parent namespace ID. Might be missing due to
- // historical data gap.
- NewParentNsId string `json:"new_parent_ns_id,omitempty"`
+// SharedLinkVisibility : Defines who has access to a shared link.
+type SharedLinkVisibility struct {
+ dropbox.Tagged
}
-// NewSfNestDetails returns a new SfNestDetails instance
-func NewSfNestDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfNestDetails {
- s := new(SfNestDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// Valid tag values for SharedLinkVisibility
+const (
+ SharedLinkVisibilityPassword = "password"
+ SharedLinkVisibilityPublic = "public"
+ SharedLinkVisibilityTeamOnly = "team_only"
+ SharedLinkVisibilityOther = "other"
+)
+
+// SharedNoteOpenedDetails : Opened shared Paper doc.
+type SharedNoteOpenedDetails struct {
+}
+
+// NewSharedNoteOpenedDetails returns a new SharedNoteOpenedDetails instance
+func NewSharedNoteOpenedDetails() *SharedNoteOpenedDetails {
+ s := new(SharedNoteOpenedDetails)
return s
}
-// SfTeamDeclineDetails : Declined a team member's invitation to a shared
-// folder.
-type SfTeamDeclineDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// SharedNoteOpenedType : has no documentation (yet)
+type SharedNoteOpenedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSfTeamDeclineDetails returns a new SfTeamDeclineDetails instance
-func NewSfTeamDeclineDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamDeclineDetails {
- s := new(SfTeamDeclineDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharedNoteOpenedType returns a new SharedNoteOpenedType instance
+func NewSharedNoteOpenedType(Description string) *SharedNoteOpenedType {
+ s := new(SharedNoteOpenedType)
+ s.Description = Description
return s
}
-// SfTeamGrantAccessDetails : Granted access to a shared folder.
-type SfTeamGrantAccessDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// SharingChangeFolderJoinPolicyDetails : Changed whether team members can join
+// shared folders owned outside team.
+type SharingChangeFolderJoinPolicyDetails struct {
+ // NewValue : New external join policy.
+ NewValue *SharingFolderJoinPolicy `json:"new_value"`
+ // PreviousValue : Previous external join policy. Might be missing due to
+ // historical data gap.
+ PreviousValue *SharingFolderJoinPolicy `json:"previous_value,omitempty"`
}
-// NewSfTeamGrantAccessDetails returns a new SfTeamGrantAccessDetails instance
-func NewSfTeamGrantAccessDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamGrantAccessDetails {
- s := new(SfTeamGrantAccessDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharingChangeFolderJoinPolicyDetails returns a new SharingChangeFolderJoinPolicyDetails instance
+func NewSharingChangeFolderJoinPolicyDetails(NewValue *SharingFolderJoinPolicy) *SharingChangeFolderJoinPolicyDetails {
+ s := new(SharingChangeFolderJoinPolicyDetails)
+ s.NewValue = NewValue
return s
}
-// SfTeamInviteChangeRoleDetails : Changed a team member's role in a shared
-// folder.
-type SfTeamInviteChangeRoleDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // NewSharingPermission : New sharing permission. Might be missing due to
- // historical data gap.
- NewSharingPermission string `json:"new_sharing_permission,omitempty"`
- // PreviousSharingPermission : Previous sharing permission. Might be missing
- // due to historical data gap.
- PreviousSharingPermission string `json:"previous_sharing_permission,omitempty"`
+// SharingChangeFolderJoinPolicyType : has no documentation (yet)
+type SharingChangeFolderJoinPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSfTeamInviteChangeRoleDetails returns a new SfTeamInviteChangeRoleDetails instance
-func NewSfTeamInviteChangeRoleDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamInviteChangeRoleDetails {
- s := new(SfTeamInviteChangeRoleDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharingChangeFolderJoinPolicyType returns a new SharingChangeFolderJoinPolicyType instance
+func NewSharingChangeFolderJoinPolicyType(Description string) *SharingChangeFolderJoinPolicyType {
+ s := new(SharingChangeFolderJoinPolicyType)
+ s.Description = Description
return s
}
-// SfTeamInviteDetails : Invited team members to a shared folder.
-type SfTeamInviteDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
+// SharingChangeLinkPolicyDetails : Changed whether members can share links
+// outside team, and if links are accessible only by team members or anyone by
+// default.
+type SharingChangeLinkPolicyDetails struct {
+ // NewValue : New external link accessibility policy.
+ NewValue *SharingLinkPolicy `json:"new_value"`
+ // PreviousValue : Previous external link accessibility policy. Might be
+ // missing due to historical data gap.
+ PreviousValue *SharingLinkPolicy `json:"previous_value,omitempty"`
}
-// NewSfTeamInviteDetails returns a new SfTeamInviteDetails instance
-func NewSfTeamInviteDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamInviteDetails {
- s := new(SfTeamInviteDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharingChangeLinkPolicyDetails returns a new SharingChangeLinkPolicyDetails instance
+func NewSharingChangeLinkPolicyDetails(NewValue *SharingLinkPolicy) *SharingChangeLinkPolicyDetails {
+ s := new(SharingChangeLinkPolicyDetails)
+ s.NewValue = NewValue
return s
}
-// SfTeamJoinDetails : Joined a team member's shared folder.
-type SfTeamJoinDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// SharingChangeLinkPolicyType : has no documentation (yet)
+type SharingChangeLinkPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSfTeamJoinDetails returns a new SfTeamJoinDetails instance
-func NewSfTeamJoinDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamJoinDetails {
- s := new(SfTeamJoinDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharingChangeLinkPolicyType returns a new SharingChangeLinkPolicyType instance
+func NewSharingChangeLinkPolicyType(Description string) *SharingChangeLinkPolicyType {
+ s := new(SharingChangeLinkPolicyType)
+ s.Description = Description
return s
}
-// SfTeamJoinFromOobLinkDetails : Joined a team member's shared folder from a
-// link.
-type SfTeamJoinFromOobLinkDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // TokenKey : Shared link token key.
- TokenKey string `json:"token_key,omitempty"`
- // SharingPermission : Sharing permission. Might be missing due to
+// SharingChangeMemberPolicyDetails : Changed whether members can share
+// files/folders outside team.
+type SharingChangeMemberPolicyDetails struct {
+ // NewValue : New external invite policy.
+ NewValue *SharingMemberPolicy `json:"new_value"`
+ // PreviousValue : Previous external invite policy. Might be missing due to
// historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
+ PreviousValue *SharingMemberPolicy `json:"previous_value,omitempty"`
}
-// NewSfTeamJoinFromOobLinkDetails returns a new SfTeamJoinFromOobLinkDetails instance
-func NewSfTeamJoinFromOobLinkDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamJoinFromOobLinkDetails {
- s := new(SfTeamJoinFromOobLinkDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharingChangeMemberPolicyDetails returns a new SharingChangeMemberPolicyDetails instance
+func NewSharingChangeMemberPolicyDetails(NewValue *SharingMemberPolicy) *SharingChangeMemberPolicyDetails {
+ s := new(SharingChangeMemberPolicyDetails)
+ s.NewValue = NewValue
return s
}
-// SfTeamUninviteDetails : Unshared a folder with a team member.
-type SfTeamUninviteDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// SharingChangeMemberPolicyType : has no documentation (yet)
+type SharingChangeMemberPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSfTeamUninviteDetails returns a new SfTeamUninviteDetails instance
-func NewSfTeamUninviteDetails(TargetAssetIndex uint64, OriginalFolderName string) *SfTeamUninviteDetails {
- s := new(SfTeamUninviteDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewSharingChangeMemberPolicyType returns a new SharingChangeMemberPolicyType instance
+func NewSharingChangeMemberPolicyType(Description string) *SharingChangeMemberPolicyType {
+ s := new(SharingChangeMemberPolicyType)
+ s.Description = Description
return s
}
-// SharedContentAddInviteesDetails : Sent an email invitation to the membership
-// of a shared file or folder.
-type SharedContentAddInviteesDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
+// SharingFolderJoinPolicy : Policy for controlling if team members can join
+// shared folders owned by non team members.
+type SharingFolderJoinPolicy struct {
+ dropbox.Tagged
}
-// NewSharedContentAddInviteesDetails returns a new SharedContentAddInviteesDetails instance
-func NewSharedContentAddInviteesDetails(TargetAssetIndex uint64) *SharedContentAddInviteesDetails {
- s := new(SharedContentAddInviteesDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// Valid tag values for SharingFolderJoinPolicy
+const (
+ SharingFolderJoinPolicyFromAnyone = "from_anyone"
+ SharingFolderJoinPolicyFromTeamOnly = "from_team_only"
+ SharingFolderJoinPolicyOther = "other"
+)
+
+// SharingLinkPolicy : Policy for controlling if team members can share links
+// externally
+type SharingLinkPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for SharingLinkPolicy
+const (
+ SharingLinkPolicyDefaultPrivate = "default_private"
+ SharingLinkPolicyDefaultPublic = "default_public"
+ SharingLinkPolicyOnlyPrivate = "only_private"
+ SharingLinkPolicyOther = "other"
+)
+
+// SharingMemberPolicy : External sharing policy
+type SharingMemberPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for SharingMemberPolicy
+const (
+ SharingMemberPolicyAllow = "allow"
+ SharingMemberPolicyForbid = "forbid"
+ SharingMemberPolicyOther = "other"
+)
+
+// ShmodelGroupShareDetails : Shared link with group.
+type ShmodelGroupShareDetails struct {
+}
+
+// NewShmodelGroupShareDetails returns a new ShmodelGroupShareDetails instance
+func NewShmodelGroupShareDetails() *ShmodelGroupShareDetails {
+ s := new(ShmodelGroupShareDetails)
return s
}
-// SharedContentAddLinkExpiryDetails : Added an expiry to the link for the
-// shared file or folder.
-type SharedContentAddLinkExpiryDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // ExpirationStartDate : Expiration starting date.
- ExpirationStartDate string `json:"expiration_start_date"`
- // ExpirationDays : The number of days from the starting expiration date
- // after which the link will expire.
- ExpirationDays int64 `json:"expiration_days"`
+// ShmodelGroupShareType : has no documentation (yet)
+type ShmodelGroupShareType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentAddLinkExpiryDetails returns a new SharedContentAddLinkExpiryDetails instance
-func NewSharedContentAddLinkExpiryDetails(TargetAssetIndex uint64, ExpirationStartDate string, ExpirationDays int64) *SharedContentAddLinkExpiryDetails {
- s := new(SharedContentAddLinkExpiryDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.ExpirationStartDate = ExpirationStartDate
- s.ExpirationDays = ExpirationDays
+// NewShmodelGroupShareType returns a new ShmodelGroupShareType instance
+func NewShmodelGroupShareType(Description string) *ShmodelGroupShareType {
+ s := new(ShmodelGroupShareType)
+ s.Description = Description
return s
}
-// SharedContentAddLinkPasswordDetails : Added a password to the link for the
-// shared file or folder.
-type SharedContentAddLinkPasswordDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseAccessGrantedDetails : Granted access to showcase.
+type ShowcaseAccessGrantedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharedContentAddLinkPasswordDetails returns a new SharedContentAddLinkPasswordDetails instance
-func NewSharedContentAddLinkPasswordDetails(TargetAssetIndex uint64) *SharedContentAddLinkPasswordDetails {
- s := new(SharedContentAddLinkPasswordDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseAccessGrantedDetails returns a new ShowcaseAccessGrantedDetails instance
+func NewShowcaseAccessGrantedDetails(EventUuid string) *ShowcaseAccessGrantedDetails {
+ s := new(ShowcaseAccessGrantedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedContentAddMemberDetails : Added users and/or groups to the membership
-// of a shared file or folder.
-type SharedContentAddMemberDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseAccessGrantedType : has no documentation (yet)
+type ShowcaseAccessGrantedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentAddMemberDetails returns a new SharedContentAddMemberDetails instance
-func NewSharedContentAddMemberDetails(TargetAssetIndex uint64) *SharedContentAddMemberDetails {
- s := new(SharedContentAddMemberDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseAccessGrantedType returns a new ShowcaseAccessGrantedType instance
+func NewShowcaseAccessGrantedType(Description string) *ShowcaseAccessGrantedType {
+ s := new(ShowcaseAccessGrantedType)
+ s.Description = Description
return s
}
-// SharedContentChangeDownloadsPolicyDetails : Changed whether members can
-// download the shared file or folder.
-type SharedContentChangeDownloadsPolicyDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // NewValue : New downlaod policy.
- NewValue *SharedContentDownloadsPolicy `json:"new_value"`
- // PreviousValue : Previous downlaod policy. Might be missing due to
- // historical data gap.
- PreviousValue *SharedContentDownloadsPolicy `json:"previous_value,omitempty"`
+// ShowcaseAddMemberDetails : Added member to showcase.
+type ShowcaseAddMemberDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharedContentChangeDownloadsPolicyDetails returns a new SharedContentChangeDownloadsPolicyDetails instance
-func NewSharedContentChangeDownloadsPolicyDetails(TargetAssetIndex uint64, NewValue *SharedContentDownloadsPolicy) *SharedContentChangeDownloadsPolicyDetails {
- s := new(SharedContentChangeDownloadsPolicyDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.NewValue = NewValue
+// NewShowcaseAddMemberDetails returns a new ShowcaseAddMemberDetails instance
+func NewShowcaseAddMemberDetails(EventUuid string) *ShowcaseAddMemberDetails {
+ s := new(ShowcaseAddMemberDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedContentChangeInviteeRoleDetails : Changed the access type of an invitee
-// to a shared file or folder before the invitation was claimed.
-type SharedContentChangeInviteeRoleDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // NewSharingPermission : New sharing permission. Might be missing due to
- // historical data gap.
- NewSharingPermission string `json:"new_sharing_permission,omitempty"`
- // PreviousSharingPermission : Previous sharing permission. Might be missing
- // due to historical data gap.
- PreviousSharingPermission string `json:"previous_sharing_permission,omitempty"`
+// ShowcaseAddMemberType : has no documentation (yet)
+type ShowcaseAddMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentChangeInviteeRoleDetails returns a new SharedContentChangeInviteeRoleDetails instance
-func NewSharedContentChangeInviteeRoleDetails(TargetAssetIndex uint64, OriginalFolderName string) *SharedContentChangeInviteeRoleDetails {
- s := new(SharedContentChangeInviteeRoleDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewShowcaseAddMemberType returns a new ShowcaseAddMemberType instance
+func NewShowcaseAddMemberType(Description string) *ShowcaseAddMemberType {
+ s := new(ShowcaseAddMemberType)
+ s.Description = Description
return s
}
-// SharedContentChangeLinkAudienceDetails : Changed the audience of the link for
-// a shared file or folder.
-type SharedContentChangeLinkAudienceDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // NewValue : New link audience value.
- NewValue *LinkAudience `json:"new_value"`
- // PreviousValue : Previous link audience value. Might be missing due to
- // historical data gap.
- PreviousValue *LinkAudience `json:"previous_value,omitempty"`
+// ShowcaseArchivedDetails : Archived showcase.
+type ShowcaseArchivedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharedContentChangeLinkAudienceDetails returns a new SharedContentChangeLinkAudienceDetails instance
-func NewSharedContentChangeLinkAudienceDetails(TargetAssetIndex uint64, NewValue *LinkAudience) *SharedContentChangeLinkAudienceDetails {
- s := new(SharedContentChangeLinkAudienceDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.NewValue = NewValue
+// NewShowcaseArchivedDetails returns a new ShowcaseArchivedDetails instance
+func NewShowcaseArchivedDetails(EventUuid string) *ShowcaseArchivedDetails {
+ s := new(ShowcaseArchivedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedContentChangeLinkExpiryDetails : Changed the expiry of the link for the
-// shared file or folder.
-type SharedContentChangeLinkExpiryDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // ExpirationStartDate : Expiration starting date.
- ExpirationStartDate string `json:"expiration_start_date"`
- // ExpirationDays : The number of days from the starting expiration date
- // after which the link will expire.
- ExpirationDays int64 `json:"expiration_days"`
+// ShowcaseArchivedType : has no documentation (yet)
+type ShowcaseArchivedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentChangeLinkExpiryDetails returns a new SharedContentChangeLinkExpiryDetails instance
-func NewSharedContentChangeLinkExpiryDetails(TargetAssetIndex uint64, ExpirationStartDate string, ExpirationDays int64) *SharedContentChangeLinkExpiryDetails {
- s := new(SharedContentChangeLinkExpiryDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.ExpirationStartDate = ExpirationStartDate
- s.ExpirationDays = ExpirationDays
+// NewShowcaseArchivedType returns a new ShowcaseArchivedType instance
+func NewShowcaseArchivedType(Description string) *ShowcaseArchivedType {
+ s := new(ShowcaseArchivedType)
+ s.Description = Description
return s
}
-// SharedContentChangeLinkPasswordDetails : Changed the password on the link for
-// the shared file or folder.
-type SharedContentChangeLinkPasswordDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseChangeDownloadPolicyDetails : Enabled/disabled downloading files from
+// Dropbox Showcase for team.
+type ShowcaseChangeDownloadPolicyDetails struct {
+ // NewValue : New Dropbox Showcase download policy.
+ NewValue *ShowcaseDownloadPolicy `json:"new_value"`
+ // PreviousValue : Previous Dropbox Showcase download policy.
+ PreviousValue *ShowcaseDownloadPolicy `json:"previous_value"`
}
-// NewSharedContentChangeLinkPasswordDetails returns a new SharedContentChangeLinkPasswordDetails instance
-func NewSharedContentChangeLinkPasswordDetails(TargetAssetIndex uint64) *SharedContentChangeLinkPasswordDetails {
- s := new(SharedContentChangeLinkPasswordDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseChangeDownloadPolicyDetails returns a new ShowcaseChangeDownloadPolicyDetails instance
+func NewShowcaseChangeDownloadPolicyDetails(NewValue *ShowcaseDownloadPolicy, PreviousValue *ShowcaseDownloadPolicy) *ShowcaseChangeDownloadPolicyDetails {
+ s := new(ShowcaseChangeDownloadPolicyDetails)
+ s.NewValue = NewValue
+ s.PreviousValue = PreviousValue
return s
}
-// SharedContentChangeMemberRoleDetails : Changed the access type of a shared
-// file or folder member.
-type SharedContentChangeMemberRoleDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // NewSharingPermission : New sharing permission. Might be missing due to
- // historical data gap.
- NewSharingPermission string `json:"new_sharing_permission,omitempty"`
- // PreviousSharingPermission : Previous sharing permission. Might be missing
- // due to historical data gap.
- PreviousSharingPermission string `json:"previous_sharing_permission,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseChangeDownloadPolicyType : has no documentation (yet)
+type ShowcaseChangeDownloadPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentChangeMemberRoleDetails returns a new SharedContentChangeMemberRoleDetails instance
-func NewSharedContentChangeMemberRoleDetails(TargetAssetIndex uint64) *SharedContentChangeMemberRoleDetails {
- s := new(SharedContentChangeMemberRoleDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseChangeDownloadPolicyType returns a new ShowcaseChangeDownloadPolicyType instance
+func NewShowcaseChangeDownloadPolicyType(Description string) *ShowcaseChangeDownloadPolicyType {
+ s := new(ShowcaseChangeDownloadPolicyType)
+ s.Description = Description
return s
}
-// SharedContentChangeViewerInfoPolicyDetails : Changed whether members can see
-// who viewed the shared file or folder.
-type SharedContentChangeViewerInfoPolicyDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // NewValue : New viewer info policy.
- NewValue *SharedContentViewerInfoPolicy `json:"new_value"`
- // PreviousValue : Previous view info policy. Might be missing due to
- // historical data gap.
- PreviousValue *SharedContentViewerInfoPolicy `json:"previous_value,omitempty"`
+// ShowcaseChangeEnabledPolicyDetails : Enabled/disabled Dropbox Showcase for
+// team.
+type ShowcaseChangeEnabledPolicyDetails struct {
+ // NewValue : New Dropbox Showcase policy.
+ NewValue *ShowcaseEnabledPolicy `json:"new_value"`
+ // PreviousValue : Previous Dropbox Showcase policy.
+ PreviousValue *ShowcaseEnabledPolicy `json:"previous_value"`
}
-// NewSharedContentChangeViewerInfoPolicyDetails returns a new SharedContentChangeViewerInfoPolicyDetails instance
-func NewSharedContentChangeViewerInfoPolicyDetails(TargetAssetIndex uint64, NewValue *SharedContentViewerInfoPolicy) *SharedContentChangeViewerInfoPolicyDetails {
- s := new(SharedContentChangeViewerInfoPolicyDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseChangeEnabledPolicyDetails returns a new ShowcaseChangeEnabledPolicyDetails instance
+func NewShowcaseChangeEnabledPolicyDetails(NewValue *ShowcaseEnabledPolicy, PreviousValue *ShowcaseEnabledPolicy) *ShowcaseChangeEnabledPolicyDetails {
+ s := new(ShowcaseChangeEnabledPolicyDetails)
s.NewValue = NewValue
+ s.PreviousValue = PreviousValue
return s
}
-// SharedContentClaimInvitationDetails : Claimed membership to a team member's
-// shared folder.
-type SharedContentClaimInvitationDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedContentLink : Shared content link.
- SharedContentLink string `json:"shared_content_link,omitempty"`
+// ShowcaseChangeEnabledPolicyType : has no documentation (yet)
+type ShowcaseChangeEnabledPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentClaimInvitationDetails returns a new SharedContentClaimInvitationDetails instance
-func NewSharedContentClaimInvitationDetails(TargetAssetIndex uint64) *SharedContentClaimInvitationDetails {
- s := new(SharedContentClaimInvitationDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseChangeEnabledPolicyType returns a new ShowcaseChangeEnabledPolicyType instance
+func NewShowcaseChangeEnabledPolicyType(Description string) *ShowcaseChangeEnabledPolicyType {
+ s := new(ShowcaseChangeEnabledPolicyType)
+ s.Description = Description
return s
}
-// SharedContentCopyDetails : Copied the shared file or folder to own Dropbox.
-type SharedContentCopyDetails struct {
- // SharedContentLink : Shared content link.
- SharedContentLink string `json:"shared_content_link"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // RelocateActionDetails : Specifies the source and destination indices in
- // the assets list.
- RelocateActionDetails *RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+// ShowcaseChangeExternalSharingPolicyDetails : Enabled/disabled sharing Dropbox
+// Showcase externally for team.
+type ShowcaseChangeExternalSharingPolicyDetails struct {
+ // NewValue : New Dropbox Showcase external sharing policy.
+ NewValue *ShowcaseExternalSharingPolicy `json:"new_value"`
+ // PreviousValue : Previous Dropbox Showcase external sharing policy.
+ PreviousValue *ShowcaseExternalSharingPolicy `json:"previous_value"`
}
-// NewSharedContentCopyDetails returns a new SharedContentCopyDetails instance
-func NewSharedContentCopyDetails(SharedContentLink string, TargetAssetIndex uint64, RelocateActionDetails *RelocateAssetReferencesLogInfo) *SharedContentCopyDetails {
- s := new(SharedContentCopyDetails)
- s.SharedContentLink = SharedContentLink
- s.TargetAssetIndex = TargetAssetIndex
- s.RelocateActionDetails = RelocateActionDetails
+// NewShowcaseChangeExternalSharingPolicyDetails returns a new ShowcaseChangeExternalSharingPolicyDetails instance
+func NewShowcaseChangeExternalSharingPolicyDetails(NewValue *ShowcaseExternalSharingPolicy, PreviousValue *ShowcaseExternalSharingPolicy) *ShowcaseChangeExternalSharingPolicyDetails {
+ s := new(ShowcaseChangeExternalSharingPolicyDetails)
+ s.NewValue = NewValue
+ s.PreviousValue = PreviousValue
return s
}
-// SharedContentDownloadDetails : Downloaded the shared file or folder.
-type SharedContentDownloadDetails struct {
- // SharedContentLink : Shared content link.
- SharedContentLink string `json:"shared_content_link"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
+// ShowcaseChangeExternalSharingPolicyType : has no documentation (yet)
+type ShowcaseChangeExternalSharingPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentDownloadDetails returns a new SharedContentDownloadDetails instance
-func NewSharedContentDownloadDetails(SharedContentLink string, TargetAssetIndex uint64) *SharedContentDownloadDetails {
- s := new(SharedContentDownloadDetails)
- s.SharedContentLink = SharedContentLink
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseChangeExternalSharingPolicyType returns a new ShowcaseChangeExternalSharingPolicyType instance
+func NewShowcaseChangeExternalSharingPolicyType(Description string) *ShowcaseChangeExternalSharingPolicyType {
+ s := new(ShowcaseChangeExternalSharingPolicyType)
+ s.Description = Description
return s
}
-// SharedContentDownloadsPolicy : Shared content downloads policy
-type SharedContentDownloadsPolicy struct {
- dropbox.Tagged
+// ShowcaseCreatedDetails : Created showcase.
+type ShowcaseCreatedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// Valid tag values for SharedContentDownloadsPolicy
-const (
- SharedContentDownloadsPolicyDisabled = "disabled"
- SharedContentDownloadsPolicyEnabled = "enabled"
- SharedContentDownloadsPolicyOther = "other"
-)
+// NewShowcaseCreatedDetails returns a new ShowcaseCreatedDetails instance
+func NewShowcaseCreatedDetails(EventUuid string) *ShowcaseCreatedDetails {
+ s := new(ShowcaseCreatedDetails)
+ s.EventUuid = EventUuid
+ return s
+}
-// SharedContentRelinquishMembershipDetails : Left the membership of a shared
-// file or folder.
-type SharedContentRelinquishMembershipDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// ShowcaseCreatedType : has no documentation (yet)
+type ShowcaseCreatedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentRelinquishMembershipDetails returns a new SharedContentRelinquishMembershipDetails instance
-func NewSharedContentRelinquishMembershipDetails(TargetAssetIndex uint64, OriginalFolderName string) *SharedContentRelinquishMembershipDetails {
- s := new(SharedContentRelinquishMembershipDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewShowcaseCreatedType returns a new ShowcaseCreatedType instance
+func NewShowcaseCreatedType(Description string) *ShowcaseCreatedType {
+ s := new(ShowcaseCreatedType)
+ s.Description = Description
return s
}
-// SharedContentRemoveInviteeDetails : Removed an invitee from the membership of
-// a shared file or folder before it was claimed.
-type SharedContentRemoveInviteeDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// ShowcaseDeleteCommentDetails : Deleted showcase comment.
+type ShowcaseDeleteCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text.
+ CommentText string `json:"comment_text,omitempty"`
}
-// NewSharedContentRemoveInviteeDetails returns a new SharedContentRemoveInviteeDetails instance
-func NewSharedContentRemoveInviteeDetails(TargetAssetIndex uint64, OriginalFolderName string) *SharedContentRemoveInviteeDetails {
- s := new(SharedContentRemoveInviteeDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewShowcaseDeleteCommentDetails returns a new ShowcaseDeleteCommentDetails instance
+func NewShowcaseDeleteCommentDetails(EventUuid string) *ShowcaseDeleteCommentDetails {
+ s := new(ShowcaseDeleteCommentDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedContentRemoveLinkExpiryDetails : Removed the expiry of the link for the
-// shared file or folder.
-type SharedContentRemoveLinkExpiryDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseDeleteCommentType : has no documentation (yet)
+type ShowcaseDeleteCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentRemoveLinkExpiryDetails returns a new SharedContentRemoveLinkExpiryDetails instance
-func NewSharedContentRemoveLinkExpiryDetails(TargetAssetIndex uint64) *SharedContentRemoveLinkExpiryDetails {
- s := new(SharedContentRemoveLinkExpiryDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseDeleteCommentType returns a new ShowcaseDeleteCommentType instance
+func NewShowcaseDeleteCommentType(Description string) *ShowcaseDeleteCommentType {
+ s := new(ShowcaseDeleteCommentType)
+ s.Description = Description
return s
}
-// SharedContentRemoveLinkPasswordDetails : Removed the password on the link for
-// the shared file or folder.
-type SharedContentRemoveLinkPasswordDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseDocumentLogInfo : Showcase document's logged information.
+type ShowcaseDocumentLogInfo struct {
+ // ShowcaseId : Showcase document Id.
+ ShowcaseId string `json:"showcase_id"`
+ // ShowcaseTitle : Showcase document title.
+ ShowcaseTitle string `json:"showcase_title"`
}
-// NewSharedContentRemoveLinkPasswordDetails returns a new SharedContentRemoveLinkPasswordDetails instance
-func NewSharedContentRemoveLinkPasswordDetails(TargetAssetIndex uint64) *SharedContentRemoveLinkPasswordDetails {
- s := new(SharedContentRemoveLinkPasswordDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseDocumentLogInfo returns a new ShowcaseDocumentLogInfo instance
+func NewShowcaseDocumentLogInfo(ShowcaseId string, ShowcaseTitle string) *ShowcaseDocumentLogInfo {
+ s := new(ShowcaseDocumentLogInfo)
+ s.ShowcaseId = ShowcaseId
+ s.ShowcaseTitle = ShowcaseTitle
return s
}
-// SharedContentRemoveMemberDetails : Removed a user or a group from the
-// membership of a shared file or folder.
-type SharedContentRemoveMemberDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
+// ShowcaseDownloadPolicy : Policy for controlling if files can be downloaded
+// from Showcases by team members
+type ShowcaseDownloadPolicy struct {
+ dropbox.Tagged
}
-// NewSharedContentRemoveMemberDetails returns a new SharedContentRemoveMemberDetails instance
-func NewSharedContentRemoveMemberDetails(TargetAssetIndex uint64) *SharedContentRemoveMemberDetails {
- s := new(SharedContentRemoveMemberDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// Valid tag values for ShowcaseDownloadPolicy
+const (
+ ShowcaseDownloadPolicyDisabled = "disabled"
+ ShowcaseDownloadPolicyEnabled = "enabled"
+ ShowcaseDownloadPolicyOther = "other"
+)
+
+// ShowcaseEditCommentDetails : Edited showcase comment.
+type ShowcaseEditCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text.
+ CommentText string `json:"comment_text,omitempty"`
+}
+
+// NewShowcaseEditCommentDetails returns a new ShowcaseEditCommentDetails instance
+func NewShowcaseEditCommentDetails(EventUuid string) *ShowcaseEditCommentDetails {
+ s := new(ShowcaseEditCommentDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedContentRequestAccessDetails : Requested to be on the membership of a
-// shared file or folder.
-type SharedContentRequestAccessDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
- // SharedContentLink : Shared content link.
- SharedContentLink string `json:"shared_content_link,omitempty"`
+// ShowcaseEditCommentType : has no documentation (yet)
+type ShowcaseEditCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentRequestAccessDetails returns a new SharedContentRequestAccessDetails instance
-func NewSharedContentRequestAccessDetails(TargetAssetIndex uint64) *SharedContentRequestAccessDetails {
- s := new(SharedContentRequestAccessDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseEditCommentType returns a new ShowcaseEditCommentType instance
+func NewShowcaseEditCommentType(Description string) *ShowcaseEditCommentType {
+ s := new(ShowcaseEditCommentType)
+ s.Description = Description
return s
}
-// SharedContentUnshareDetails : Unshared a shared file or folder by clearing
-// its membership and turning off its link.
-type SharedContentUnshareDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name,omitempty"`
+// ShowcaseEditedDetails : Edited showcase.
+type ShowcaseEditedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharedContentUnshareDetails returns a new SharedContentUnshareDetails instance
-func NewSharedContentUnshareDetails(TargetAssetIndex uint64) *SharedContentUnshareDetails {
- s := new(SharedContentUnshareDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseEditedDetails returns a new ShowcaseEditedDetails instance
+func NewShowcaseEditedDetails(EventUuid string) *ShowcaseEditedDetails {
+ s := new(ShowcaseEditedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedContentViewDetails : Previewed the shared file or folder.
-type SharedContentViewDetails struct {
- // SharedContentLink : Shared content link.
- SharedContentLink string `json:"shared_content_link"`
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
+// ShowcaseEditedType : has no documentation (yet)
+type ShowcaseEditedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedContentViewDetails returns a new SharedContentViewDetails instance
-func NewSharedContentViewDetails(SharedContentLink string, TargetAssetIndex uint64) *SharedContentViewDetails {
- s := new(SharedContentViewDetails)
- s.SharedContentLink = SharedContentLink
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseEditedType returns a new ShowcaseEditedType instance
+func NewShowcaseEditedType(Description string) *ShowcaseEditedType {
+ s := new(ShowcaseEditedType)
+ s.Description = Description
return s
}
-// SharedContentViewerInfoPolicy : Shared content viewer info policy
-type SharedContentViewerInfoPolicy struct {
+// ShowcaseEnabledPolicy : Policy for controlling whether Showcase is enabled.
+type ShowcaseEnabledPolicy struct {
dropbox.Tagged
}
-// Valid tag values for SharedContentViewerInfoPolicy
+// Valid tag values for ShowcaseEnabledPolicy
const (
- SharedContentViewerInfoPolicyDisabled = "disabled"
- SharedContentViewerInfoPolicyEnabled = "enabled"
- SharedContentViewerInfoPolicyOther = "other"
+ ShowcaseEnabledPolicyDisabled = "disabled"
+ ShowcaseEnabledPolicyEnabled = "enabled"
+ ShowcaseEnabledPolicyOther = "other"
)
-// SharedFolderChangeConfidentialityDetails : Set or unset the confidential flag
-// on a shared folder.
-type SharedFolderChangeConfidentialityDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // NewValue : New confidentiality value.
- NewValue *Confidentiality `json:"new_value"`
- // PreviousValue : Previous confidentiality value. Might be missing due to
- // historical data gap.
- PreviousValue *Confidentiality `json:"previous_value,omitempty"`
+// ShowcaseExternalSharingPolicy : Policy for controlling if team members can
+// share Showcases externally.
+type ShowcaseExternalSharingPolicy struct {
+ dropbox.Tagged
}
-// NewSharedFolderChangeConfidentialityDetails returns a new SharedFolderChangeConfidentialityDetails instance
-func NewSharedFolderChangeConfidentialityDetails(TargetAssetIndex uint64, OriginalFolderName string, NewValue *Confidentiality) *SharedFolderChangeConfidentialityDetails {
- s := new(SharedFolderChangeConfidentialityDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
- s.NewValue = NewValue
+// Valid tag values for ShowcaseExternalSharingPolicy
+const (
+ ShowcaseExternalSharingPolicyDisabled = "disabled"
+ ShowcaseExternalSharingPolicyEnabled = "enabled"
+ ShowcaseExternalSharingPolicyOther = "other"
+)
+
+// ShowcaseFileAddedDetails : Added file to showcase.
+type ShowcaseFileAddedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewShowcaseFileAddedDetails returns a new ShowcaseFileAddedDetails instance
+func NewShowcaseFileAddedDetails(EventUuid string) *ShowcaseFileAddedDetails {
+ s := new(ShowcaseFileAddedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedFolderChangeLinkPolicyDetails : Changed who can access the shared
-// folder via a link.
-type SharedFolderChangeLinkPolicyDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // NewValue : New shared folder link policy.
- NewValue *SharedFolderLinkPolicy `json:"new_value"`
- // PreviousValue : Previous shared folder link policy. Might be missing due
- // to historical data gap.
- PreviousValue *SharedFolderLinkPolicy `json:"previous_value,omitempty"`
+// ShowcaseFileAddedType : has no documentation (yet)
+type ShowcaseFileAddedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedFolderChangeLinkPolicyDetails returns a new SharedFolderChangeLinkPolicyDetails instance
-func NewSharedFolderChangeLinkPolicyDetails(TargetAssetIndex uint64, OriginalFolderName string, NewValue *SharedFolderLinkPolicy) *SharedFolderChangeLinkPolicyDetails {
- s := new(SharedFolderChangeLinkPolicyDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
- s.NewValue = NewValue
+// NewShowcaseFileAddedType returns a new ShowcaseFileAddedType instance
+func NewShowcaseFileAddedType(Description string) *ShowcaseFileAddedType {
+ s := new(ShowcaseFileAddedType)
+ s.Description = Description
return s
}
-// SharedFolderChangeMemberManagementPolicyDetails : Changed who can manage the
-// membership of a shared folder.
-type SharedFolderChangeMemberManagementPolicyDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // NewValue : New membership management policy.
- NewValue *SharedFolderMembershipManagementPolicy `json:"new_value"`
- // PreviousValue : Previous membership management policy. Might be missing
- // due to historical data gap.
- PreviousValue *SharedFolderMembershipManagementPolicy `json:"previous_value,omitempty"`
+// ShowcaseFileDownloadDetails : Downloaded file from showcase.
+type ShowcaseFileDownloadDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // DownloadType : Showcase download type.
+ DownloadType string `json:"download_type"`
}
-// NewSharedFolderChangeMemberManagementPolicyDetails returns a new SharedFolderChangeMemberManagementPolicyDetails instance
-func NewSharedFolderChangeMemberManagementPolicyDetails(TargetAssetIndex uint64, OriginalFolderName string, NewValue *SharedFolderMembershipManagementPolicy) *SharedFolderChangeMemberManagementPolicyDetails {
- s := new(SharedFolderChangeMemberManagementPolicyDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
- s.NewValue = NewValue
+// NewShowcaseFileDownloadDetails returns a new ShowcaseFileDownloadDetails instance
+func NewShowcaseFileDownloadDetails(EventUuid string, DownloadType string) *ShowcaseFileDownloadDetails {
+ s := new(ShowcaseFileDownloadDetails)
+ s.EventUuid = EventUuid
+ s.DownloadType = DownloadType
return s
}
-// SharedFolderChangeMemberPolicyDetails : Changed who can become a member of
-// the shared folder.
-type SharedFolderChangeMemberPolicyDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
- // SharedFolderType : Shared folder type. Might be missing due to historical
- // data gap.
- SharedFolderType string `json:"shared_folder_type,omitempty"`
- // NewValue : New external invite policy.
- NewValue *SharedFolderMemberPolicy `json:"new_value"`
- // PreviousValue : Previous external invite policy. Might be missing due to
- // historical data gap.
- PreviousValue *SharedFolderMemberPolicy `json:"previous_value,omitempty"`
+// ShowcaseFileDownloadType : has no documentation (yet)
+type ShowcaseFileDownloadType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedFolderChangeMemberPolicyDetails returns a new SharedFolderChangeMemberPolicyDetails instance
-func NewSharedFolderChangeMemberPolicyDetails(TargetAssetIndex uint64, OriginalFolderName string, NewValue *SharedFolderMemberPolicy) *SharedFolderChangeMemberPolicyDetails {
- s := new(SharedFolderChangeMemberPolicyDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
- s.NewValue = NewValue
+// NewShowcaseFileDownloadType returns a new ShowcaseFileDownloadType instance
+func NewShowcaseFileDownloadType(Description string) *ShowcaseFileDownloadType {
+ s := new(ShowcaseFileDownloadType)
+ s.Description = Description
return s
}
-// SharedFolderCreateDetails : Created a shared folder.
-type SharedFolderCreateDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // ParentNsId : Parent namespace ID. Might be missing due to historical data
- // gap.
- ParentNsId string `json:"parent_ns_id,omitempty"`
+// ShowcaseFileRemovedDetails : Removed file from showcase.
+type ShowcaseFileRemovedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharedFolderCreateDetails returns a new SharedFolderCreateDetails instance
-func NewSharedFolderCreateDetails(TargetAssetIndex uint64) *SharedFolderCreateDetails {
- s := new(SharedFolderCreateDetails)
- s.TargetAssetIndex = TargetAssetIndex
+// NewShowcaseFileRemovedDetails returns a new ShowcaseFileRemovedDetails instance
+func NewShowcaseFileRemovedDetails(EventUuid string) *ShowcaseFileRemovedDetails {
+ s := new(ShowcaseFileRemovedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedFolderLinkPolicy : has no documentation (yet)
-type SharedFolderLinkPolicy struct {
- dropbox.Tagged
+// ShowcaseFileRemovedType : has no documentation (yet)
+type ShowcaseFileRemovedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for SharedFolderLinkPolicy
-const (
- SharedFolderLinkPolicyMembersOnly = "members_only"
- SharedFolderLinkPolicyMembersAndTeam = "members_and_team"
- SharedFolderLinkPolicyAnyone = "anyone"
- SharedFolderLinkPolicyOther = "other"
-)
+// NewShowcaseFileRemovedType returns a new ShowcaseFileRemovedType instance
+func NewShowcaseFileRemovedType(Description string) *ShowcaseFileRemovedType {
+ s := new(ShowcaseFileRemovedType)
+ s.Description = Description
+ return s
+}
-// SharedFolderMemberPolicy : Policy for controlling who can become a member of
-// a shared folder
-type SharedFolderMemberPolicy struct {
- dropbox.Tagged
+// ShowcaseFileViewDetails : Viewed file in showcase.
+type ShowcaseFileViewDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// Valid tag values for SharedFolderMemberPolicy
-const (
- SharedFolderMemberPolicyTeamOnly = "team_only"
- SharedFolderMemberPolicyAnyone = "anyone"
- SharedFolderMemberPolicyOther = "other"
-)
+// NewShowcaseFileViewDetails returns a new ShowcaseFileViewDetails instance
+func NewShowcaseFileViewDetails(EventUuid string) *ShowcaseFileViewDetails {
+ s := new(ShowcaseFileViewDetails)
+ s.EventUuid = EventUuid
+ return s
+}
-// SharedFolderMembershipManagementPolicy : has no documentation (yet)
-type SharedFolderMembershipManagementPolicy struct {
- dropbox.Tagged
+// ShowcaseFileViewType : has no documentation (yet)
+type ShowcaseFileViewType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for SharedFolderMembershipManagementPolicy
-const (
- SharedFolderMembershipManagementPolicyOwner = "owner"
- SharedFolderMembershipManagementPolicyEditors = "editors"
- SharedFolderMembershipManagementPolicyOther = "other"
-)
+// NewShowcaseFileViewType returns a new ShowcaseFileViewType instance
+func NewShowcaseFileViewType(Description string) *ShowcaseFileViewType {
+ s := new(ShowcaseFileViewType)
+ s.Description = Description
+ return s
+}
-// SharedFolderMountDetails : Added a shared folder to own Dropbox.
-type SharedFolderMountDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// ShowcasePermanentlyDeletedDetails : Permanently deleted showcase.
+type ShowcasePermanentlyDeletedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharedFolderMountDetails returns a new SharedFolderMountDetails instance
-func NewSharedFolderMountDetails(TargetAssetIndex uint64, OriginalFolderName string) *SharedFolderMountDetails {
- s := new(SharedFolderMountDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewShowcasePermanentlyDeletedDetails returns a new ShowcasePermanentlyDeletedDetails instance
+func NewShowcasePermanentlyDeletedDetails(EventUuid string) *ShowcasePermanentlyDeletedDetails {
+ s := new(ShowcasePermanentlyDeletedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedFolderTransferOwnershipDetails : Transferred the ownership of a shared
-// folder to another member.
-type SharedFolderTransferOwnershipDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// ShowcasePermanentlyDeletedType : has no documentation (yet)
+type ShowcasePermanentlyDeletedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedFolderTransferOwnershipDetails returns a new SharedFolderTransferOwnershipDetails instance
-func NewSharedFolderTransferOwnershipDetails(TargetAssetIndex uint64, OriginalFolderName string) *SharedFolderTransferOwnershipDetails {
- s := new(SharedFolderTransferOwnershipDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewShowcasePermanentlyDeletedType returns a new ShowcasePermanentlyDeletedType instance
+func NewShowcasePermanentlyDeletedType(Description string) *ShowcasePermanentlyDeletedType {
+ s := new(ShowcasePermanentlyDeletedType)
+ s.Description = Description
return s
}
-// SharedFolderUnmountDetails : Deleted a shared folder from Dropbox.
-type SharedFolderUnmountDetails struct {
- // TargetAssetIndex : Target asset position in the Assets list.
- TargetAssetIndex uint64 `json:"target_asset_index"`
- // OriginalFolderName : Original shared folder name.
- OriginalFolderName string `json:"original_folder_name"`
+// ShowcasePostCommentDetails : Added showcase comment.
+type ShowcasePostCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text.
+ CommentText string `json:"comment_text,omitempty"`
}
-// NewSharedFolderUnmountDetails returns a new SharedFolderUnmountDetails instance
-func NewSharedFolderUnmountDetails(TargetAssetIndex uint64, OriginalFolderName string) *SharedFolderUnmountDetails {
- s := new(SharedFolderUnmountDetails)
- s.TargetAssetIndex = TargetAssetIndex
- s.OriginalFolderName = OriginalFolderName
+// NewShowcasePostCommentDetails returns a new ShowcasePostCommentDetails instance
+func NewShowcasePostCommentDetails(EventUuid string) *ShowcasePostCommentDetails {
+ s := new(ShowcasePostCommentDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharedNoteOpenedDetails : Shared Paper document was opened.
-type SharedNoteOpenedDetails struct {
+// ShowcasePostCommentType : has no documentation (yet)
+type ShowcasePostCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharedNoteOpenedDetails returns a new SharedNoteOpenedDetails instance
-func NewSharedNoteOpenedDetails() *SharedNoteOpenedDetails {
- s := new(SharedNoteOpenedDetails)
+// NewShowcasePostCommentType returns a new ShowcasePostCommentType instance
+func NewShowcasePostCommentType(Description string) *ShowcasePostCommentType {
+ s := new(ShowcasePostCommentType)
+ s.Description = Description
return s
}
-// SharingChangeFolderJoinPolicyDetails : Changed whether team members can join
-// shared folders owned externally (i.e. outside the team).
-type SharingChangeFolderJoinPolicyDetails struct {
- // NewValue : New external join policy.
- NewValue *SharingFolderJoinPolicy `json:"new_value"`
- // PreviousValue : Previous external join policy. Might be missing due to
- // historical data gap.
- PreviousValue *SharingFolderJoinPolicy `json:"previous_value,omitempty"`
+// ShowcaseRemoveMemberDetails : Removed member from showcase.
+type ShowcaseRemoveMemberDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharingChangeFolderJoinPolicyDetails returns a new SharingChangeFolderJoinPolicyDetails instance
-func NewSharingChangeFolderJoinPolicyDetails(NewValue *SharingFolderJoinPolicy) *SharingChangeFolderJoinPolicyDetails {
- s := new(SharingChangeFolderJoinPolicyDetails)
- s.NewValue = NewValue
+// NewShowcaseRemoveMemberDetails returns a new ShowcaseRemoveMemberDetails instance
+func NewShowcaseRemoveMemberDetails(EventUuid string) *ShowcaseRemoveMemberDetails {
+ s := new(ShowcaseRemoveMemberDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharingChangeLinkPolicyDetails : Changed whether team members can share links
-// externally (i.e. outside the team), and if so, whether links should be
-// accessible only by team members or anyone by default.
-type SharingChangeLinkPolicyDetails struct {
- // NewValue : New external link accessibility policy.
- NewValue *SharingLinkPolicy `json:"new_value"`
- // PreviousValue : Previous external link accessibility policy. Might be
- // missing due to historical data gap.
- PreviousValue *SharingLinkPolicy `json:"previous_value,omitempty"`
+// ShowcaseRemoveMemberType : has no documentation (yet)
+type ShowcaseRemoveMemberType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewSharingChangeLinkPolicyDetails returns a new SharingChangeLinkPolicyDetails instance
-func NewSharingChangeLinkPolicyDetails(NewValue *SharingLinkPolicy) *SharingChangeLinkPolicyDetails {
- s := new(SharingChangeLinkPolicyDetails)
- s.NewValue = NewValue
+// NewShowcaseRemoveMemberType returns a new ShowcaseRemoveMemberType instance
+func NewShowcaseRemoveMemberType(Description string) *ShowcaseRemoveMemberType {
+ s := new(ShowcaseRemoveMemberType)
+ s.Description = Description
return s
}
-// SharingChangeMemberPolicyDetails : Changed whether team members can share
-// files and folders externally (i.e. outside the team).
-type SharingChangeMemberPolicyDetails struct {
- // NewValue : New external invite policy.
- NewValue *SharingMemberPolicy `json:"new_value"`
- // PreviousValue : Previous external invite policy. Might be missing due to
- // historical data gap.
- PreviousValue *SharingMemberPolicy `json:"previous_value,omitempty"`
+// ShowcaseRenamedDetails : Renamed showcase.
+type ShowcaseRenamedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewSharingChangeMemberPolicyDetails returns a new SharingChangeMemberPolicyDetails instance
-func NewSharingChangeMemberPolicyDetails(NewValue *SharingMemberPolicy) *SharingChangeMemberPolicyDetails {
- s := new(SharingChangeMemberPolicyDetails)
- s.NewValue = NewValue
+// NewShowcaseRenamedDetails returns a new ShowcaseRenamedDetails instance
+func NewShowcaseRenamedDetails(EventUuid string) *ShowcaseRenamedDetails {
+ s := new(ShowcaseRenamedDetails)
+ s.EventUuid = EventUuid
return s
}
-// SharingFolderJoinPolicy : Policy for controlling if team members can join
-// shared folders owned by non team members.
-type SharingFolderJoinPolicy struct {
- dropbox.Tagged
+// ShowcaseRenamedType : has no documentation (yet)
+type ShowcaseRenamedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for SharingFolderJoinPolicy
-const (
- SharingFolderJoinPolicyFromAnyone = "from_anyone"
- SharingFolderJoinPolicyFromTeamOnly = "from_team_only"
- SharingFolderJoinPolicyOther = "other"
-)
+// NewShowcaseRenamedType returns a new ShowcaseRenamedType instance
+func NewShowcaseRenamedType(Description string) *ShowcaseRenamedType {
+ s := new(ShowcaseRenamedType)
+ s.Description = Description
+ return s
+}
-// SharingLinkPolicy : Policy for controlling if team members can share links
-// externally
-type SharingLinkPolicy struct {
- dropbox.Tagged
+// ShowcaseRequestAccessDetails : Requested access to showcase.
+type ShowcaseRequestAccessDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// Valid tag values for SharingLinkPolicy
-const (
- SharingLinkPolicyDefaultPrivate = "default_private"
- SharingLinkPolicyDefaultPublic = "default_public"
- SharingLinkPolicyOnlyPrivate = "only_private"
- SharingLinkPolicyOther = "other"
-)
+// NewShowcaseRequestAccessDetails returns a new ShowcaseRequestAccessDetails instance
+func NewShowcaseRequestAccessDetails(EventUuid string) *ShowcaseRequestAccessDetails {
+ s := new(ShowcaseRequestAccessDetails)
+ s.EventUuid = EventUuid
+ return s
+}
-// SharingMemberPolicy : External sharing policy
-type SharingMemberPolicy struct {
- dropbox.Tagged
+// ShowcaseRequestAccessType : has no documentation (yet)
+type ShowcaseRequestAccessType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for SharingMemberPolicy
-const (
- SharingMemberPolicyAllow = "allow"
- SharingMemberPolicyForbid = "forbid"
- SharingMemberPolicyOther = "other"
-)
+// NewShowcaseRequestAccessType returns a new ShowcaseRequestAccessType instance
+func NewShowcaseRequestAccessType(Description string) *ShowcaseRequestAccessType {
+ s := new(ShowcaseRequestAccessType)
+ s.Description = Description
+ return s
+}
-// ShmodelAppCreateDetails : Created a link to a file using an app.
-type ShmodelAppCreateDetails struct {
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TokenKey : Shared link token key.
- TokenKey string `json:"token_key,omitempty"`
+// ShowcaseResolveCommentDetails : Resolved showcase comment.
+type ShowcaseResolveCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text.
+ CommentText string `json:"comment_text,omitempty"`
}
-// NewShmodelAppCreateDetails returns a new ShmodelAppCreateDetails instance
-func NewShmodelAppCreateDetails() *ShmodelAppCreateDetails {
- s := new(ShmodelAppCreateDetails)
+// NewShowcaseResolveCommentDetails returns a new ShowcaseResolveCommentDetails instance
+func NewShowcaseResolveCommentDetails(EventUuid string) *ShowcaseResolveCommentDetails {
+ s := new(ShowcaseResolveCommentDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelCreateDetails : Created a new link.
-type ShmodelCreateDetails struct {
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TokenKey : Shared link token key.
- TokenKey string `json:"token_key,omitempty"`
+// ShowcaseResolveCommentType : has no documentation (yet)
+type ShowcaseResolveCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelCreateDetails returns a new ShmodelCreateDetails instance
-func NewShmodelCreateDetails() *ShmodelCreateDetails {
- s := new(ShmodelCreateDetails)
+// NewShowcaseResolveCommentType returns a new ShowcaseResolveCommentType instance
+func NewShowcaseResolveCommentType(Description string) *ShowcaseResolveCommentType {
+ s := new(ShowcaseResolveCommentType)
+ s.Description = Description
return s
}
-// ShmodelDisableDetails : Removed a link.
-type ShmodelDisableDetails struct {
- // SharingPermission : Sharing permission. Might be missing due to
- // historical data gap.
- SharingPermission string `json:"sharing_permission,omitempty"`
- // TokenKey : Shared link token key.
- TokenKey string `json:"token_key,omitempty"`
+// ShowcaseRestoredDetails : Unarchived showcase.
+type ShowcaseRestoredDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewShmodelDisableDetails returns a new ShmodelDisableDetails instance
-func NewShmodelDisableDetails() *ShmodelDisableDetails {
- s := new(ShmodelDisableDetails)
+// NewShowcaseRestoredDetails returns a new ShowcaseRestoredDetails instance
+func NewShowcaseRestoredDetails(EventUuid string) *ShowcaseRestoredDetails {
+ s := new(ShowcaseRestoredDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelFbShareDetails : Shared a link with Facebook users.
-type ShmodelFbShareDetails struct {
- // SharingNonMemberRecipients : Sharing non member recipients.
- SharingNonMemberRecipients []*NonTeamMemberLogInfo `json:"sharing_non_member_recipients"`
+// ShowcaseRestoredType : has no documentation (yet)
+type ShowcaseRestoredType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelFbShareDetails returns a new ShmodelFbShareDetails instance
-func NewShmodelFbShareDetails(SharingNonMemberRecipients []*NonTeamMemberLogInfo) *ShmodelFbShareDetails {
- s := new(ShmodelFbShareDetails)
- s.SharingNonMemberRecipients = SharingNonMemberRecipients
+// NewShowcaseRestoredType returns a new ShowcaseRestoredType instance
+func NewShowcaseRestoredType(Description string) *ShowcaseRestoredType {
+ s := new(ShowcaseRestoredType)
+ s.Description = Description
return s
}
-// ShmodelGroupShareDetails : Shared a link with a group.
-type ShmodelGroupShareDetails struct {
+// ShowcaseTrashedDeprecatedDetails : Deleted showcase (old version).
+type ShowcaseTrashedDeprecatedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewShmodelGroupShareDetails returns a new ShmodelGroupShareDetails instance
-func NewShmodelGroupShareDetails() *ShmodelGroupShareDetails {
- s := new(ShmodelGroupShareDetails)
+// NewShowcaseTrashedDeprecatedDetails returns a new ShowcaseTrashedDeprecatedDetails instance
+func NewShowcaseTrashedDeprecatedDetails(EventUuid string) *ShowcaseTrashedDeprecatedDetails {
+ s := new(ShowcaseTrashedDeprecatedDetails)
+ s.EventUuid = EventUuid
+ return s
+}
+
+// ShowcaseTrashedDeprecatedType : has no documentation (yet)
+type ShowcaseTrashedDeprecatedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewShowcaseTrashedDeprecatedType returns a new ShowcaseTrashedDeprecatedType instance
+func NewShowcaseTrashedDeprecatedType(Description string) *ShowcaseTrashedDeprecatedType {
+ s := new(ShowcaseTrashedDeprecatedType)
+ s.Description = Description
+ return s
+}
+
+// ShowcaseTrashedDetails : Deleted showcase.
+type ShowcaseTrashedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+}
+
+// NewShowcaseTrashedDetails returns a new ShowcaseTrashedDetails instance
+func NewShowcaseTrashedDetails(EventUuid string) *ShowcaseTrashedDetails {
+ s := new(ShowcaseTrashedDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelRemoveExpirationDetails : Removed the expiration date from a link.
-type ShmodelRemoveExpirationDetails struct {
+// ShowcaseTrashedType : has no documentation (yet)
+type ShowcaseTrashedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelRemoveExpirationDetails returns a new ShmodelRemoveExpirationDetails instance
-func NewShmodelRemoveExpirationDetails() *ShmodelRemoveExpirationDetails {
- s := new(ShmodelRemoveExpirationDetails)
+// NewShowcaseTrashedType returns a new ShowcaseTrashedType instance
+func NewShowcaseTrashedType(Description string) *ShowcaseTrashedType {
+ s := new(ShowcaseTrashedType)
+ s.Description = Description
return s
}
-// ShmodelSetExpirationDetails : Added an expiration date to a link.
-type ShmodelSetExpirationDetails struct {
- // ExpirationStartDate : Expiration starting date.
- ExpirationStartDate string `json:"expiration_start_date"`
- // ExpirationDays : The number of days from the starting expiration date
- // after which the link will expire.
- ExpirationDays int64 `json:"expiration_days"`
+// ShowcaseUnresolveCommentDetails : Unresolved showcase comment.
+type ShowcaseUnresolveCommentDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
+ // CommentText : Comment text.
+ CommentText string `json:"comment_text,omitempty"`
}
-// NewShmodelSetExpirationDetails returns a new ShmodelSetExpirationDetails instance
-func NewShmodelSetExpirationDetails(ExpirationStartDate string, ExpirationDays int64) *ShmodelSetExpirationDetails {
- s := new(ShmodelSetExpirationDetails)
- s.ExpirationStartDate = ExpirationStartDate
- s.ExpirationDays = ExpirationDays
+// NewShowcaseUnresolveCommentDetails returns a new ShowcaseUnresolveCommentDetails instance
+func NewShowcaseUnresolveCommentDetails(EventUuid string) *ShowcaseUnresolveCommentDetails {
+ s := new(ShowcaseUnresolveCommentDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelTeamCopyDetails : Added a team member's file/folder to their Dropbox
-// from a link.
-type ShmodelTeamCopyDetails struct {
+// ShowcaseUnresolveCommentType : has no documentation (yet)
+type ShowcaseUnresolveCommentType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelTeamCopyDetails returns a new ShmodelTeamCopyDetails instance
-func NewShmodelTeamCopyDetails() *ShmodelTeamCopyDetails {
- s := new(ShmodelTeamCopyDetails)
+// NewShowcaseUnresolveCommentType returns a new ShowcaseUnresolveCommentType instance
+func NewShowcaseUnresolveCommentType(Description string) *ShowcaseUnresolveCommentType {
+ s := new(ShowcaseUnresolveCommentType)
+ s.Description = Description
return s
}
-// ShmodelTeamDownloadDetails : Downloaded a team member's file/folder from a
-// link.
-type ShmodelTeamDownloadDetails struct {
+// ShowcaseUntrashedDeprecatedDetails : Restored showcase (old version).
+type ShowcaseUntrashedDeprecatedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewShmodelTeamDownloadDetails returns a new ShmodelTeamDownloadDetails instance
-func NewShmodelTeamDownloadDetails() *ShmodelTeamDownloadDetails {
- s := new(ShmodelTeamDownloadDetails)
+// NewShowcaseUntrashedDeprecatedDetails returns a new ShowcaseUntrashedDeprecatedDetails instance
+func NewShowcaseUntrashedDeprecatedDetails(EventUuid string) *ShowcaseUntrashedDeprecatedDetails {
+ s := new(ShowcaseUntrashedDeprecatedDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelTeamShareDetails : Shared a link with team members.
-type ShmodelTeamShareDetails struct {
+// ShowcaseUntrashedDeprecatedType : has no documentation (yet)
+type ShowcaseUntrashedDeprecatedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelTeamShareDetails returns a new ShmodelTeamShareDetails instance
-func NewShmodelTeamShareDetails() *ShmodelTeamShareDetails {
- s := new(ShmodelTeamShareDetails)
+// NewShowcaseUntrashedDeprecatedType returns a new ShowcaseUntrashedDeprecatedType instance
+func NewShowcaseUntrashedDeprecatedType(Description string) *ShowcaseUntrashedDeprecatedType {
+ s := new(ShowcaseUntrashedDeprecatedType)
+ s.Description = Description
return s
}
-// ShmodelTeamViewDetails : Opened a team member's link.
-type ShmodelTeamViewDetails struct {
+// ShowcaseUntrashedDetails : Restored showcase.
+type ShowcaseUntrashedDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewShmodelTeamViewDetails returns a new ShmodelTeamViewDetails instance
-func NewShmodelTeamViewDetails() *ShmodelTeamViewDetails {
- s := new(ShmodelTeamViewDetails)
+// NewShowcaseUntrashedDetails returns a new ShowcaseUntrashedDetails instance
+func NewShowcaseUntrashedDetails(EventUuid string) *ShowcaseUntrashedDetails {
+ s := new(ShowcaseUntrashedDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelVisibilityPasswordDetails : Password-protected a link.
-type ShmodelVisibilityPasswordDetails struct {
+// ShowcaseUntrashedType : has no documentation (yet)
+type ShowcaseUntrashedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelVisibilityPasswordDetails returns a new ShmodelVisibilityPasswordDetails instance
-func NewShmodelVisibilityPasswordDetails() *ShmodelVisibilityPasswordDetails {
- s := new(ShmodelVisibilityPasswordDetails)
+// NewShowcaseUntrashedType returns a new ShowcaseUntrashedType instance
+func NewShowcaseUntrashedType(Description string) *ShowcaseUntrashedType {
+ s := new(ShowcaseUntrashedType)
+ s.Description = Description
return s
}
-// ShmodelVisibilityPublicDetails : Made a file/folder visible to anyone with
-// the link.
-type ShmodelVisibilityPublicDetails struct {
+// ShowcaseViewDetails : Viewed showcase.
+type ShowcaseViewDetails struct {
+ // EventUuid : Event unique identifier.
+ EventUuid string `json:"event_uuid"`
}
-// NewShmodelVisibilityPublicDetails returns a new ShmodelVisibilityPublicDetails instance
-func NewShmodelVisibilityPublicDetails() *ShmodelVisibilityPublicDetails {
- s := new(ShmodelVisibilityPublicDetails)
+// NewShowcaseViewDetails returns a new ShowcaseViewDetails instance
+func NewShowcaseViewDetails(EventUuid string) *ShowcaseViewDetails {
+ s := new(ShowcaseViewDetails)
+ s.EventUuid = EventUuid
return s
}
-// ShmodelVisibilityTeamOnlyDetails : Made a file/folder visible only to team
-// members with the link.
-type ShmodelVisibilityTeamOnlyDetails struct {
+// ShowcaseViewType : has no documentation (yet)
+type ShowcaseViewType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// NewShmodelVisibilityTeamOnlyDetails returns a new ShmodelVisibilityTeamOnlyDetails instance
-func NewShmodelVisibilityTeamOnlyDetails() *ShmodelVisibilityTeamOnlyDetails {
- s := new(ShmodelVisibilityTeamOnlyDetails)
+// NewShowcaseViewType returns a new ShowcaseViewType instance
+func NewShowcaseViewType(Description string) *ShowcaseViewType {
+ s := new(ShowcaseViewType)
+ s.Description = Description
return s
}
@@ -8510,6 +16276,19 @@ func NewSignInAsSessionEndDetails() *SignInAsSessionEndDetails {
return s
}
+// SignInAsSessionEndType : has no documentation (yet)
+type SignInAsSessionEndType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSignInAsSessionEndType returns a new SignInAsSessionEndType instance
+func NewSignInAsSessionEndType(Description string) *SignInAsSessionEndType {
+ s := new(SignInAsSessionEndType)
+ s.Description = Description
+ return s
+}
+
// SignInAsSessionStartDetails : Started admin sign-in-as session.
type SignInAsSessionStartDetails struct {
}
@@ -8520,24 +16299,49 @@ func NewSignInAsSessionStartDetails() *SignInAsSessionStartDetails {
return s
}
-// SmartSyncChangePolicyDetails : Changed the default Smart Sync policy for team
+// SignInAsSessionStartType : has no documentation (yet)
+type SignInAsSessionStartType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSignInAsSessionStartType returns a new SignInAsSessionStartType instance
+func NewSignInAsSessionStartType(Description string) *SignInAsSessionStartType {
+ s := new(SignInAsSessionStartType)
+ s.Description = Description
+ return s
+}
+
+// SmartSyncChangePolicyDetails : Changed default Smart Sync setting for team
// members.
type SmartSyncChangePolicyDetails struct {
// NewValue : New smart sync policy.
- NewValue *team_policies.SmartSyncPolicy `json:"new_value"`
+ NewValue *team_policies.SmartSyncPolicy `json:"new_value,omitempty"`
// PreviousValue : Previous smart sync policy.
PreviousValue *team_policies.SmartSyncPolicy `json:"previous_value,omitempty"`
}
// NewSmartSyncChangePolicyDetails returns a new SmartSyncChangePolicyDetails instance
-func NewSmartSyncChangePolicyDetails(NewValue *team_policies.SmartSyncPolicy) *SmartSyncChangePolicyDetails {
+func NewSmartSyncChangePolicyDetails() *SmartSyncChangePolicyDetails {
s := new(SmartSyncChangePolicyDetails)
- s.NewValue = NewValue
return s
}
-// SmartSyncCreateAdminPrivilegeReportDetails : Smart Sync non-admin devices
-// report created.
+// SmartSyncChangePolicyType : has no documentation (yet)
+type SmartSyncChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSmartSyncChangePolicyType returns a new SmartSyncChangePolicyType instance
+func NewSmartSyncChangePolicyType(Description string) *SmartSyncChangePolicyType {
+ s := new(SmartSyncChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// SmartSyncCreateAdminPrivilegeReportDetails : Created Smart Sync non-admin
+// devices report.
type SmartSyncCreateAdminPrivilegeReportDetails struct {
}
@@ -8547,6 +16351,19 @@ func NewSmartSyncCreateAdminPrivilegeReportDetails() *SmartSyncCreateAdminPrivil
return s
}
+// SmartSyncCreateAdminPrivilegeReportType : has no documentation (yet)
+type SmartSyncCreateAdminPrivilegeReportType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSmartSyncCreateAdminPrivilegeReportType returns a new SmartSyncCreateAdminPrivilegeReportType instance
+func NewSmartSyncCreateAdminPrivilegeReportType(Description string) *SmartSyncCreateAdminPrivilegeReportType {
+ s := new(SmartSyncCreateAdminPrivilegeReportType)
+ s.Description = Description
+ return s
+}
+
// SmartSyncNotOptOutDetails : Opted team into Smart Sync.
type SmartSyncNotOptOutDetails struct {
// PreviousValue : Previous Smart Sync opt out policy.
@@ -8563,6 +16380,19 @@ func NewSmartSyncNotOptOutDetails(PreviousValue *SmartSyncOptOutPolicy, NewValue
return s
}
+// SmartSyncNotOptOutType : has no documentation (yet)
+type SmartSyncNotOptOutType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSmartSyncNotOptOutType returns a new SmartSyncNotOptOutType instance
+func NewSmartSyncNotOptOutType(Description string) *SmartSyncNotOptOutType {
+ s := new(SmartSyncNotOptOutType)
+ s.Description = Description
+ return s
+}
+
// SmartSyncOptOutDetails : Opted team out of Smart Sync.
type SmartSyncOptOutDetails struct {
// PreviousValue : Previous Smart Sync opt out policy.
@@ -8591,6 +16421,32 @@ const (
SmartSyncOptOutPolicyOther = "other"
)
+// SmartSyncOptOutType : has no documentation (yet)
+type SmartSyncOptOutType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSmartSyncOptOutType returns a new SmartSyncOptOutType instance
+func NewSmartSyncOptOutType(Description string) *SmartSyncOptOutType {
+ s := new(SmartSyncOptOutType)
+ s.Description = Description
+ return s
+}
+
+// SpaceCapsType : Space limit alert policy
+type SpaceCapsType struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for SpaceCapsType
+const (
+ SpaceCapsTypeHard = "hard"
+ SpaceCapsTypeOff = "off"
+ SpaceCapsTypeSoft = "soft"
+ SpaceCapsTypeOther = "other"
+)
+
// SpaceLimitsStatus : has no documentation (yet)
type SpaceLimitsStatus struct {
dropbox.Tagged
@@ -8604,7 +16460,7 @@ const (
SpaceLimitsStatusOther = "other"
)
-// SsoAddCertDetails : Added the X.509 certificate for SSO.
+// SsoAddCertDetails : Added X.509 certificate for SSO.
type SsoAddCertDetails struct {
// CertificateDetails : SSO certificate details.
CertificateDetails *Certificate `json:"certificate_details"`
@@ -8617,6 +16473,19 @@ func NewSsoAddCertDetails(CertificateDetails *Certificate) *SsoAddCertDetails {
return s
}
+// SsoAddCertType : has no documentation (yet)
+type SsoAddCertType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoAddCertType returns a new SsoAddCertType instance
+func NewSsoAddCertType(Description string) *SsoAddCertType {
+ s := new(SsoAddCertType)
+ s.Description = Description
+ return s
+}
+
// SsoAddLoginUrlDetails : Added sign-in URL for SSO.
type SsoAddLoginUrlDetails struct {
// NewValue : New single sign-on login URL.
@@ -8630,6 +16499,19 @@ func NewSsoAddLoginUrlDetails(NewValue string) *SsoAddLoginUrlDetails {
return s
}
+// SsoAddLoginUrlType : has no documentation (yet)
+type SsoAddLoginUrlType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoAddLoginUrlType returns a new SsoAddLoginUrlType instance
+func NewSsoAddLoginUrlType(Description string) *SsoAddLoginUrlType {
+ s := new(SsoAddLoginUrlType)
+ s.Description = Description
+ return s
+}
+
// SsoAddLogoutUrlDetails : Added sign-out URL for SSO.
type SsoAddLogoutUrlDetails struct {
// NewValue : New single sign-on logout URL. Might be missing due to
@@ -8643,7 +16525,20 @@ func NewSsoAddLogoutUrlDetails() *SsoAddLogoutUrlDetails {
return s
}
-// SsoChangeCertDetails : Changed the X.509 certificate for SSO.
+// SsoAddLogoutUrlType : has no documentation (yet)
+type SsoAddLogoutUrlType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoAddLogoutUrlType returns a new SsoAddLogoutUrlType instance
+func NewSsoAddLogoutUrlType(Description string) *SsoAddLogoutUrlType {
+ s := new(SsoAddLogoutUrlType)
+ s.Description = Description
+ return s
+}
+
+// SsoChangeCertDetails : Changed X.509 certificate for SSO.
type SsoChangeCertDetails struct {
// PreviousCertificateDetails : Previous SSO certificate details. Might be
// missing due to historical data gap.
@@ -8659,7 +16554,20 @@ func NewSsoChangeCertDetails(NewCertificateDetails *Certificate) *SsoChangeCertD
return s
}
-// SsoChangeLoginUrlDetails : Changed the sign-in URL for SSO.
+// SsoChangeCertType : has no documentation (yet)
+type SsoChangeCertType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoChangeCertType returns a new SsoChangeCertType instance
+func NewSsoChangeCertType(Description string) *SsoChangeCertType {
+ s := new(SsoChangeCertType)
+ s.Description = Description
+ return s
+}
+
+// SsoChangeLoginUrlDetails : Changed sign-in URL for SSO.
type SsoChangeLoginUrlDetails struct {
// PreviousValue : Previous single sign-on login URL.
PreviousValue string `json:"previous_value"`
@@ -8675,7 +16583,20 @@ func NewSsoChangeLoginUrlDetails(PreviousValue string, NewValue string) *SsoChan
return s
}
-// SsoChangeLogoutUrlDetails : Changed the sign-out URL for SSO.
+// SsoChangeLoginUrlType : has no documentation (yet)
+type SsoChangeLoginUrlType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoChangeLoginUrlType returns a new SsoChangeLoginUrlType instance
+func NewSsoChangeLoginUrlType(Description string) *SsoChangeLoginUrlType {
+ s := new(SsoChangeLoginUrlType)
+ s.Description = Description
+ return s
+}
+
+// SsoChangeLogoutUrlDetails : Changed sign-out URL for SSO.
type SsoChangeLogoutUrlDetails struct {
// PreviousValue : Previous single sign-on logout URL. Might be missing due
// to historical data gap.
@@ -8691,7 +16612,20 @@ func NewSsoChangeLogoutUrlDetails() *SsoChangeLogoutUrlDetails {
return s
}
-// SsoChangePolicyDetails : Change the single sign-on policy for the team.
+// SsoChangeLogoutUrlType : has no documentation (yet)
+type SsoChangeLogoutUrlType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoChangeLogoutUrlType returns a new SsoChangeLogoutUrlType instance
+func NewSsoChangeLogoutUrlType(Description string) *SsoChangeLogoutUrlType {
+ s := new(SsoChangeLogoutUrlType)
+ s.Description = Description
+ return s
+}
+
+// SsoChangePolicyDetails : Changed single sign-on setting for team.
type SsoChangePolicyDetails struct {
// NewValue : New single sign-on policy.
NewValue *team_policies.SsoPolicy `json:"new_value"`
@@ -8707,7 +16641,20 @@ func NewSsoChangePolicyDetails(NewValue *team_policies.SsoPolicy) *SsoChangePoli
return s
}
-// SsoChangeSamlIdentityModeDetails : Changed the SAML identity mode for SSO.
+// SsoChangePolicyType : has no documentation (yet)
+type SsoChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoChangePolicyType returns a new SsoChangePolicyType instance
+func NewSsoChangePolicyType(Description string) *SsoChangePolicyType {
+ s := new(SsoChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// SsoChangeSamlIdentityModeDetails : Changed SAML identity mode for SSO.
type SsoChangeSamlIdentityModeDetails struct {
// PreviousValue : Previous single sign-on identity mode.
PreviousValue int64 `json:"previous_value"`
@@ -8723,6 +16670,19 @@ func NewSsoChangeSamlIdentityModeDetails(PreviousValue int64, NewValue int64) *S
return s
}
+// SsoChangeSamlIdentityModeType : has no documentation (yet)
+type SsoChangeSamlIdentityModeType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoChangeSamlIdentityModeType returns a new SsoChangeSamlIdentityModeType instance
+func NewSsoChangeSamlIdentityModeType(Description string) *SsoChangeSamlIdentityModeType {
+ s := new(SsoChangeSamlIdentityModeType)
+ s.Description = Description
+ return s
+}
+
// SsoErrorDetails : Failed to sign in via SSO.
type SsoErrorDetails struct {
// ErrorDetails : Error details.
@@ -8736,7 +16696,20 @@ func NewSsoErrorDetails(ErrorDetails *FailureDetailsLogInfo) *SsoErrorDetails {
return s
}
-// SsoRemoveCertDetails : Removed the X.509 certificate for SSO.
+// SsoErrorType : has no documentation (yet)
+type SsoErrorType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoErrorType returns a new SsoErrorType instance
+func NewSsoErrorType(Description string) *SsoErrorType {
+ s := new(SsoErrorType)
+ s.Description = Description
+ return s
+}
+
+// SsoRemoveCertDetails : Removed X.509 certificate for SSO.
type SsoRemoveCertDetails struct {
}
@@ -8746,7 +16719,20 @@ func NewSsoRemoveCertDetails() *SsoRemoveCertDetails {
return s
}
-// SsoRemoveLoginUrlDetails : Removed the sign-in URL for SSO.
+// SsoRemoveCertType : has no documentation (yet)
+type SsoRemoveCertType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoRemoveCertType returns a new SsoRemoveCertType instance
+func NewSsoRemoveCertType(Description string) *SsoRemoveCertType {
+ s := new(SsoRemoveCertType)
+ s.Description = Description
+ return s
+}
+
+// SsoRemoveLoginUrlDetails : Removed sign-in URL for SSO.
type SsoRemoveLoginUrlDetails struct {
// PreviousValue : Previous single sign-on login URL.
PreviousValue string `json:"previous_value"`
@@ -8759,7 +16745,20 @@ func NewSsoRemoveLoginUrlDetails(PreviousValue string) *SsoRemoveLoginUrlDetails
return s
}
-// SsoRemoveLogoutUrlDetails : Removed single sign-on logout URL.
+// SsoRemoveLoginUrlType : has no documentation (yet)
+type SsoRemoveLoginUrlType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoRemoveLoginUrlType returns a new SsoRemoveLoginUrlType instance
+func NewSsoRemoveLoginUrlType(Description string) *SsoRemoveLoginUrlType {
+ s := new(SsoRemoveLoginUrlType)
+ s.Description = Description
+ return s
+}
+
+// SsoRemoveLogoutUrlDetails : Removed sign-out URL for SSO.
type SsoRemoveLogoutUrlDetails struct {
// PreviousValue : Previous single sign-on logout URL.
PreviousValue string `json:"previous_value"`
@@ -8772,7 +16771,20 @@ func NewSsoRemoveLogoutUrlDetails(PreviousValue string) *SsoRemoveLogoutUrlDetai
return s
}
-// TeamActivityCreateReportDetails : Created a team activity report.
+// SsoRemoveLogoutUrlType : has no documentation (yet)
+type SsoRemoveLogoutUrlType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewSsoRemoveLogoutUrlType returns a new SsoRemoveLogoutUrlType instance
+func NewSsoRemoveLogoutUrlType(Description string) *SsoRemoveLogoutUrlType {
+ s := new(SsoRemoveLogoutUrlType)
+ s.Description = Description
+ return s
+}
+
+// TeamActivityCreateReportDetails : Created team activity report.
type TeamActivityCreateReportDetails struct {
// StartDate : Report start date.
StartDate time.Time `json:"start_date"`
@@ -8788,25 +16800,40 @@ func NewTeamActivityCreateReportDetails(StartDate time.Time, EndDate time.Time)
return s
}
+// TeamActivityCreateReportType : has no documentation (yet)
+type TeamActivityCreateReportType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamActivityCreateReportType returns a new TeamActivityCreateReportType instance
+func NewTeamActivityCreateReportType(Description string) *TeamActivityCreateReportType {
+ s := new(TeamActivityCreateReportType)
+ s.Description = Description
+ return s
+}
+
// TeamEvent : An audit log event.
type TeamEvent struct {
// Timestamp : The Dropbox timestamp representing when the action was taken.
Timestamp time.Time `json:"timestamp"`
// EventCategory : The category that this type of action belongs to.
EventCategory *EventCategory `json:"event_category"`
- // Actor : The entity who actually performed the action.
- Actor *ActorLogInfo `json:"actor"`
+ // Actor : The entity who actually performed the action. Might be missing
+ // due to historical data gap.
+ Actor *ActorLogInfo `json:"actor,omitempty"`
// Origin : The origin from which the actor performed the action including
// information about host, ip address, location, session, etc. If the action
// was performed programmatically via the API the origin represents the API
// client.
Origin *OriginLogInfo `json:"origin,omitempty"`
// InvolveNonTeamMember : True if the action involved a non team member
- // either as the actor or as one of the affected users.
- InvolveNonTeamMember bool `json:"involve_non_team_member"`
+ // either as the actor or as one of the affected users. Might be missing due
+ // to historical data gap.
+ InvolveNonTeamMember bool `json:"involve_non_team_member,omitempty"`
// Context : The user or team on whose behalf the actor performed the
- // action.
- Context *ContextLogInfo `json:"context"`
+ // action. Might be missing due to historical data gap.
+ Context *ContextLogInfo `json:"context,omitempty"`
// Participants : Zero or more users and/or groups that are affected by the
// action. Note that this list doesn't include any actors or users in
// context.
@@ -8823,35 +16850,45 @@ type TeamEvent struct {
}
// NewTeamEvent returns a new TeamEvent instance
-func NewTeamEvent(Timestamp time.Time, EventCategory *EventCategory, Actor *ActorLogInfo, InvolveNonTeamMember bool, Context *ContextLogInfo, EventType *EventType, Details *EventDetails) *TeamEvent {
+func NewTeamEvent(Timestamp time.Time, EventCategory *EventCategory, EventType *EventType, Details *EventDetails) *TeamEvent {
s := new(TeamEvent)
s.Timestamp = Timestamp
s.EventCategory = EventCategory
- s.Actor = Actor
- s.InvolveNonTeamMember = InvolveNonTeamMember
- s.Context = Context
s.EventType = EventType
s.Details = Details
return s
}
-// TeamFolderChangeStatusDetails : Changed the archival status of a team folder.
+// TeamFolderChangeStatusDetails : Changed archival status of team folder.
type TeamFolderChangeStatusDetails struct {
// NewValue : New team folder status.
- NewValue *TeamFolderStatus `json:"new_value"`
+ NewValue *team.TeamFolderStatus `json:"new_value"`
// PreviousValue : Previous team folder status. Might be missing due to
// historical data gap.
- PreviousValue *TeamFolderStatus `json:"previous_value,omitempty"`
+ PreviousValue *team.TeamFolderStatus `json:"previous_value,omitempty"`
}
// NewTeamFolderChangeStatusDetails returns a new TeamFolderChangeStatusDetails instance
-func NewTeamFolderChangeStatusDetails(NewValue *TeamFolderStatus) *TeamFolderChangeStatusDetails {
+func NewTeamFolderChangeStatusDetails(NewValue *team.TeamFolderStatus) *TeamFolderChangeStatusDetails {
s := new(TeamFolderChangeStatusDetails)
s.NewValue = NewValue
return s
}
-// TeamFolderCreateDetails : Created a new team folder in active status.
+// TeamFolderChangeStatusType : has no documentation (yet)
+type TeamFolderChangeStatusType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamFolderChangeStatusType returns a new TeamFolderChangeStatusType instance
+func NewTeamFolderChangeStatusType(Description string) *TeamFolderChangeStatusType {
+ s := new(TeamFolderChangeStatusType)
+ s.Description = Description
+ return s
+}
+
+// TeamFolderCreateDetails : Created team folder in active status.
type TeamFolderCreateDetails struct {
}
@@ -8861,8 +16898,20 @@ func NewTeamFolderCreateDetails() *TeamFolderCreateDetails {
return s
}
-// TeamFolderDowngradeDetails : Downgraded a team folder to a regular shared
-// folder.
+// TeamFolderCreateType : has no documentation (yet)
+type TeamFolderCreateType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamFolderCreateType returns a new TeamFolderCreateType instance
+func NewTeamFolderCreateType(Description string) *TeamFolderCreateType {
+ s := new(TeamFolderCreateType)
+ s.Description = Description
+ return s
+}
+
+// TeamFolderDowngradeDetails : Downgraded team folder to regular shared folder.
type TeamFolderDowngradeDetails struct {
// TargetAssetIndex : Target asset position in the Assets list.
TargetAssetIndex uint64 `json:"target_asset_index"`
@@ -8875,7 +16924,20 @@ func NewTeamFolderDowngradeDetails(TargetAssetIndex uint64) *TeamFolderDowngrade
return s
}
-// TeamFolderPermanentlyDeleteDetails : Permanently deleted an archived team
+// TeamFolderDowngradeType : has no documentation (yet)
+type TeamFolderDowngradeType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamFolderDowngradeType returns a new TeamFolderDowngradeType instance
+func NewTeamFolderDowngradeType(Description string) *TeamFolderDowngradeType {
+ s := new(TeamFolderDowngradeType)
+ s.Description = Description
+ return s
+}
+
+// TeamFolderPermanentlyDeleteDetails : Permanently deleted archived team
// folder.
type TeamFolderPermanentlyDeleteDetails struct {
}
@@ -8886,31 +16948,47 @@ func NewTeamFolderPermanentlyDeleteDetails() *TeamFolderPermanentlyDeleteDetails
return s
}
-// TeamFolderRenameDetails : Renamed an active or archived team folder.
+// TeamFolderPermanentlyDeleteType : has no documentation (yet)
+type TeamFolderPermanentlyDeleteType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamFolderPermanentlyDeleteType returns a new TeamFolderPermanentlyDeleteType instance
+func NewTeamFolderPermanentlyDeleteType(Description string) *TeamFolderPermanentlyDeleteType {
+ s := new(TeamFolderPermanentlyDeleteType)
+ s.Description = Description
+ return s
+}
+
+// TeamFolderRenameDetails : Renamed active/archived team folder.
type TeamFolderRenameDetails struct {
- // RelocateActionDetails : Specifies the source and destination indices in
- // the assets list.
- RelocateActionDetails *RelocateAssetReferencesLogInfo `json:"relocate_action_details"`
+ // PreviousFolderName : Previous folder name.
+ PreviousFolderName string `json:"previous_folder_name"`
+ // NewFolderName : New folder name.
+ NewFolderName string `json:"new_folder_name"`
}
// NewTeamFolderRenameDetails returns a new TeamFolderRenameDetails instance
-func NewTeamFolderRenameDetails(RelocateActionDetails *RelocateAssetReferencesLogInfo) *TeamFolderRenameDetails {
+func NewTeamFolderRenameDetails(PreviousFolderName string, NewFolderName string) *TeamFolderRenameDetails {
s := new(TeamFolderRenameDetails)
- s.RelocateActionDetails = RelocateActionDetails
+ s.PreviousFolderName = PreviousFolderName
+ s.NewFolderName = NewFolderName
return s
}
-// TeamFolderStatus : has no documentation (yet)
-type TeamFolderStatus struct {
- dropbox.Tagged
+// TeamFolderRenameType : has no documentation (yet)
+type TeamFolderRenameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
}
-// Valid tag values for TeamFolderStatus
-const (
- TeamFolderStatusArchive = "archive"
- TeamFolderStatusUnarchive = "unarchive"
- TeamFolderStatusOther = "other"
-)
+// NewTeamFolderRenameType returns a new TeamFolderRenameType instance
+func NewTeamFolderRenameType(Description string) *TeamFolderRenameType {
+ s := new(TeamFolderRenameType)
+ s.Description = Description
+ return s
+}
// TeamLinkedAppLogInfo : Team linked app
type TeamLinkedAppLogInfo struct {
@@ -8964,6 +17042,19 @@ func NewTeamMergeFromDetails(TeamName string) *TeamMergeFromDetails {
return s
}
+// TeamMergeFromType : has no documentation (yet)
+type TeamMergeFromType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamMergeFromType returns a new TeamMergeFromType instance
+func NewTeamMergeFromType(Description string) *TeamMergeFromType {
+ s := new(TeamMergeFromType)
+ s.Description = Description
+ return s
+}
+
// TeamMergeToDetails : Merged this team into another team.
type TeamMergeToDetails struct {
// TeamName : The name of the team that this team was merged into.
@@ -8977,6 +17068,19 @@ func NewTeamMergeToDetails(TeamName string) *TeamMergeToDetails {
return s
}
+// TeamMergeToType : has no documentation (yet)
+type TeamMergeToType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamMergeToType returns a new TeamMergeToType instance
+func NewTeamMergeToType(Description string) *TeamMergeToType {
+ s := new(TeamMergeToType)
+ s.Description = Description
+ return s
+}
+
// TeamName : Team name details
type TeamName struct {
// TeamDisplayName : Team's display name.
@@ -8993,7 +17097,7 @@ func NewTeamName(TeamDisplayName string, TeamLegalName string) *TeamName {
return s
}
-// TeamProfileAddLogoDetails : Added a team logo to be displayed on shared link
+// TeamProfileAddLogoDetails : Added team logo to display on shared link
// headers.
type TeamProfileAddLogoDetails struct {
}
@@ -9004,8 +17108,20 @@ func NewTeamProfileAddLogoDetails() *TeamProfileAddLogoDetails {
return s
}
-// TeamProfileChangeDefaultLanguageDetails : Changed the default language for
-// the team.
+// TeamProfileAddLogoType : has no documentation (yet)
+type TeamProfileAddLogoType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamProfileAddLogoType returns a new TeamProfileAddLogoType instance
+func NewTeamProfileAddLogoType(Description string) *TeamProfileAddLogoType {
+ s := new(TeamProfileAddLogoType)
+ s.Description = Description
+ return s
+}
+
+// TeamProfileChangeDefaultLanguageDetails : Changed default language for team.
type TeamProfileChangeDefaultLanguageDetails struct {
// NewValue : New team's default language.
NewValue string `json:"new_value"`
@@ -9021,8 +17137,21 @@ func NewTeamProfileChangeDefaultLanguageDetails(NewValue string, PreviousValue s
return s
}
-// TeamProfileChangeLogoDetails : Changed the team logo to be displayed on
-// shared link headers.
+// TeamProfileChangeDefaultLanguageType : has no documentation (yet)
+type TeamProfileChangeDefaultLanguageType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamProfileChangeDefaultLanguageType returns a new TeamProfileChangeDefaultLanguageType instance
+func NewTeamProfileChangeDefaultLanguageType(Description string) *TeamProfileChangeDefaultLanguageType {
+ s := new(TeamProfileChangeDefaultLanguageType)
+ s.Description = Description
+ return s
+}
+
+// TeamProfileChangeLogoDetails : Changed team logo displayed on shared link
+// headers.
type TeamProfileChangeLogoDetails struct {
}
@@ -9032,7 +17161,20 @@ func NewTeamProfileChangeLogoDetails() *TeamProfileChangeLogoDetails {
return s
}
-// TeamProfileChangeNameDetails : Changed the team name.
+// TeamProfileChangeLogoType : has no documentation (yet)
+type TeamProfileChangeLogoType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamProfileChangeLogoType returns a new TeamProfileChangeLogoType instance
+func NewTeamProfileChangeLogoType(Description string) *TeamProfileChangeLogoType {
+ s := new(TeamProfileChangeLogoType)
+ s.Description = Description
+ return s
+}
+
+// TeamProfileChangeNameDetails : Changed team name.
type TeamProfileChangeNameDetails struct {
// PreviousValue : Previous teams name. Might be missing due to historical
// data gap.
@@ -9048,8 +17190,21 @@ func NewTeamProfileChangeNameDetails(NewValue *TeamName) *TeamProfileChangeNameD
return s
}
-// TeamProfileRemoveLogoDetails : Removed the team logo to be displayed on
-// shared link headers.
+// TeamProfileChangeNameType : has no documentation (yet)
+type TeamProfileChangeNameType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamProfileChangeNameType returns a new TeamProfileChangeNameType instance
+func NewTeamProfileChangeNameType(Description string) *TeamProfileChangeNameType {
+ s := new(TeamProfileChangeNameType)
+ s.Description = Description
+ return s
+}
+
+// TeamProfileRemoveLogoDetails : Removed team logo displayed on shared link
+// headers.
type TeamProfileRemoveLogoDetails struct {
}
@@ -9059,7 +17214,49 @@ func NewTeamProfileRemoveLogoDetails() *TeamProfileRemoveLogoDetails {
return s
}
-// TfaAddBackupPhoneDetails : Added a backup phone for two-step verification.
+// TeamProfileRemoveLogoType : has no documentation (yet)
+type TeamProfileRemoveLogoType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamProfileRemoveLogoType returns a new TeamProfileRemoveLogoType instance
+func NewTeamProfileRemoveLogoType(Description string) *TeamProfileRemoveLogoType {
+ s := new(TeamProfileRemoveLogoType)
+ s.Description = Description
+ return s
+}
+
+// TeamSelectiveSyncSettingsChangedDetails : Changed sync default.
+type TeamSelectiveSyncSettingsChangedDetails struct {
+ // PreviousValue : Previous value.
+ PreviousValue *files.SyncSetting `json:"previous_value"`
+ // NewValue : New value.
+ NewValue *files.SyncSetting `json:"new_value"`
+}
+
+// NewTeamSelectiveSyncSettingsChangedDetails returns a new TeamSelectiveSyncSettingsChangedDetails instance
+func NewTeamSelectiveSyncSettingsChangedDetails(PreviousValue *files.SyncSetting, NewValue *files.SyncSetting) *TeamSelectiveSyncSettingsChangedDetails {
+ s := new(TeamSelectiveSyncSettingsChangedDetails)
+ s.PreviousValue = PreviousValue
+ s.NewValue = NewValue
+ return s
+}
+
+// TeamSelectiveSyncSettingsChangedType : has no documentation (yet)
+type TeamSelectiveSyncSettingsChangedType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTeamSelectiveSyncSettingsChangedType returns a new TeamSelectiveSyncSettingsChangedType instance
+func NewTeamSelectiveSyncSettingsChangedType(Description string) *TeamSelectiveSyncSettingsChangedType {
+ s := new(TeamSelectiveSyncSettingsChangedType)
+ s.Description = Description
+ return s
+}
+
+// TfaAddBackupPhoneDetails : Added backup phone for two-step verification.
type TfaAddBackupPhoneDetails struct {
}
@@ -9069,7 +17266,20 @@ func NewTfaAddBackupPhoneDetails() *TfaAddBackupPhoneDetails {
return s
}
-// TfaAddSecurityKeyDetails : Added a security key for two-step verification.
+// TfaAddBackupPhoneType : has no documentation (yet)
+type TfaAddBackupPhoneType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaAddBackupPhoneType returns a new TfaAddBackupPhoneType instance
+func NewTfaAddBackupPhoneType(Description string) *TfaAddBackupPhoneType {
+ s := new(TfaAddBackupPhoneType)
+ s.Description = Description
+ return s
+}
+
+// TfaAddSecurityKeyDetails : Added security key for two-step verification.
type TfaAddSecurityKeyDetails struct {
}
@@ -9079,8 +17289,20 @@ func NewTfaAddSecurityKeyDetails() *TfaAddSecurityKeyDetails {
return s
}
-// TfaChangeBackupPhoneDetails : Changed the backup phone for two-step
-// verification.
+// TfaAddSecurityKeyType : has no documentation (yet)
+type TfaAddSecurityKeyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaAddSecurityKeyType returns a new TfaAddSecurityKeyType instance
+func NewTfaAddSecurityKeyType(Description string) *TfaAddSecurityKeyType {
+ s := new(TfaAddSecurityKeyType)
+ s.Description = Description
+ return s
+}
+
+// TfaChangeBackupPhoneDetails : Changed backup phone for two-step verification.
type TfaChangeBackupPhoneDetails struct {
}
@@ -9090,7 +17312,20 @@ func NewTfaChangeBackupPhoneDetails() *TfaChangeBackupPhoneDetails {
return s
}
-// TfaChangePolicyDetails : Change two-step verification policy for the team.
+// TfaChangeBackupPhoneType : has no documentation (yet)
+type TfaChangeBackupPhoneType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaChangeBackupPhoneType returns a new TfaChangeBackupPhoneType instance
+func NewTfaChangeBackupPhoneType(Description string) *TfaChangeBackupPhoneType {
+ s := new(TfaChangeBackupPhoneType)
+ s.Description = Description
+ return s
+}
+
+// TfaChangePolicyDetails : Changed two-step verification setting for team.
type TfaChangePolicyDetails struct {
// NewValue : New change policy.
NewValue *team_policies.TwoStepVerificationPolicy `json:"new_value"`
@@ -9106,8 +17341,21 @@ func NewTfaChangePolicyDetails(NewValue *team_policies.TwoStepVerificationPolicy
return s
}
-// TfaChangeStatusDetails : Enabled, disabled or changed the configuration for
-// two-step verification.
+// TfaChangePolicyType : has no documentation (yet)
+type TfaChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaChangePolicyType returns a new TfaChangePolicyType instance
+func NewTfaChangePolicyType(Description string) *TfaChangePolicyType {
+ s := new(TfaChangePolicyType)
+ s.Description = Description
+ return s
+}
+
+// TfaChangeStatusDetails : Enabled/disabled/changed two-step verification
+// setting.
type TfaChangeStatusDetails struct {
// NewValue : The new two factor authentication configuration.
NewValue *TfaConfiguration `json:"new_value"`
@@ -9126,6 +17374,19 @@ func NewTfaChangeStatusDetails(NewValue *TfaConfiguration) *TfaChangeStatusDetai
return s
}
+// TfaChangeStatusType : has no documentation (yet)
+type TfaChangeStatusType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaChangeStatusType returns a new TfaChangeStatusType instance
+func NewTfaChangeStatusType(Description string) *TfaChangeStatusType {
+ s := new(TfaChangeStatusType)
+ s.Description = Description
+ return s
+}
+
// TfaConfiguration : Two factor authentication configuration. Note: the enabled
// option is deprecated.
type TfaConfiguration struct {
@@ -9141,8 +17402,7 @@ const (
TfaConfigurationOther = "other"
)
-// TfaRemoveBackupPhoneDetails : Removed the backup phone for two-step
-// verification.
+// TfaRemoveBackupPhoneDetails : Removed backup phone for two-step verification.
type TfaRemoveBackupPhoneDetails struct {
}
@@ -9152,8 +17412,20 @@ func NewTfaRemoveBackupPhoneDetails() *TfaRemoveBackupPhoneDetails {
return s
}
-// TfaRemoveSecurityKeyDetails : Removed a security key for two-step
-// verification.
+// TfaRemoveBackupPhoneType : has no documentation (yet)
+type TfaRemoveBackupPhoneType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaRemoveBackupPhoneType returns a new TfaRemoveBackupPhoneType instance
+func NewTfaRemoveBackupPhoneType(Description string) *TfaRemoveBackupPhoneType {
+ s := new(TfaRemoveBackupPhoneType)
+ s.Description = Description
+ return s
+}
+
+// TfaRemoveSecurityKeyDetails : Removed security key for two-step verification.
type TfaRemoveSecurityKeyDetails struct {
}
@@ -9163,6 +17435,19 @@ func NewTfaRemoveSecurityKeyDetails() *TfaRemoveSecurityKeyDetails {
return s
}
+// TfaRemoveSecurityKeyType : has no documentation (yet)
+type TfaRemoveSecurityKeyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaRemoveSecurityKeyType returns a new TfaRemoveSecurityKeyType instance
+func NewTfaRemoveSecurityKeyType(Description string) *TfaRemoveSecurityKeyType {
+ s := new(TfaRemoveSecurityKeyType)
+ s.Description = Description
+ return s
+}
+
// TfaResetDetails : Reset two-step verification for team member.
type TfaResetDetails struct {
}
@@ -9173,6 +17458,19 @@ func NewTfaResetDetails() *TfaResetDetails {
return s
}
+// TfaResetType : has no documentation (yet)
+type TfaResetType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTfaResetType returns a new TfaResetType instance
+func NewTfaResetType(Description string) *TfaResetType {
+ s := new(TfaResetType)
+ s.Description = Description
+ return s
+}
+
// TimeUnit : has no documentation (yet)
type TimeUnit struct {
dropbox.Tagged
@@ -9191,9 +17489,8 @@ const (
TimeUnitOther = "other"
)
-// TwoAccountChangePolicyDetails : Enabled or disabled the option for team
-// members to link a personal Dropbox account in addition to their work account
-// to the same computer.
+// TwoAccountChangePolicyDetails : Enabled/disabled option for members to link
+// personal Dropbox account and team account to same computer.
type TwoAccountChangePolicyDetails struct {
// NewValue : New two account policy.
NewValue *TwoAccountPolicy `json:"new_value"`
@@ -9209,6 +17506,19 @@ func NewTwoAccountChangePolicyDetails(NewValue *TwoAccountPolicy) *TwoAccountCha
return s
}
+// TwoAccountChangePolicyType : has no documentation (yet)
+type TwoAccountChangePolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewTwoAccountChangePolicyType returns a new TwoAccountChangePolicyType instance
+func NewTwoAccountChangePolicyType(Description string) *TwoAccountChangePolicyType {
+ s := new(TwoAccountChangePolicyType)
+ s.Description = Description
+ return s
+}
+
// TwoAccountPolicy : Policy for pairing personal account to work account
type TwoAccountPolicy struct {
dropbox.Tagged
@@ -9262,6 +17572,29 @@ func NewUserOrTeamLinkedAppLogInfo() *UserOrTeamLinkedAppLogInfo {
return s
}
+// WebDeviceSessionLogInfo : Information on active web sessions
+type WebDeviceSessionLogInfo struct {
+ DeviceSessionLogInfo
+ // SessionInfo : Web session unique id. Might be missing due to historical
+ // data gap.
+ SessionInfo *WebSessionLogInfo `json:"session_info,omitempty"`
+ // UserAgent : Information on the hosting device.
+ UserAgent string `json:"user_agent"`
+ // Os : Information on the hosting operating system.
+ Os string `json:"os"`
+ // Browser : Information on the browser used for this web session.
+ Browser string `json:"browser"`
+}
+
+// NewWebDeviceSessionLogInfo returns a new WebDeviceSessionLogInfo instance
+func NewWebDeviceSessionLogInfo(UserAgent string, Os string, Browser string) *WebDeviceSessionLogInfo {
+ s := new(WebDeviceSessionLogInfo)
+ s.UserAgent = UserAgent
+ s.Os = Os
+ s.Browser = Browser
+ return s
+}
+
// WebSessionLogInfo : Web session.
type WebSessionLogInfo struct {
SessionLogInfo
@@ -9273,8 +17606,8 @@ func NewWebSessionLogInfo() *WebSessionLogInfo {
return s
}
-// WebSessionsChangeFixedLengthPolicyDetails : Changed how long team members can
-// stay signed in to Dropbox on the web.
+// WebSessionsChangeFixedLengthPolicyDetails : Changed how long members can stay
+// signed in to Dropbox.com.
type WebSessionsChangeFixedLengthPolicyDetails struct {
// NewValue : New session length policy. Might be missing due to historical
// data gap.
@@ -9290,8 +17623,21 @@ func NewWebSessionsChangeFixedLengthPolicyDetails() *WebSessionsChangeFixedLengt
return s
}
+// WebSessionsChangeFixedLengthPolicyType : has no documentation (yet)
+type WebSessionsChangeFixedLengthPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewWebSessionsChangeFixedLengthPolicyType returns a new WebSessionsChangeFixedLengthPolicyType instance
+func NewWebSessionsChangeFixedLengthPolicyType(Description string) *WebSessionsChangeFixedLengthPolicyType {
+ s := new(WebSessionsChangeFixedLengthPolicyType)
+ s.Description = Description
+ return s
+}
+
// WebSessionsChangeIdleLengthPolicyDetails : Changed how long team members can
-// be idle while signed in to Dropbox on the web.
+// be idle while signed in to Dropbox.com.
type WebSessionsChangeIdleLengthPolicyDetails struct {
// NewValue : New idle length policy. Might be missing due to historical
// data gap.
@@ -9307,6 +17653,19 @@ func NewWebSessionsChangeIdleLengthPolicyDetails() *WebSessionsChangeIdleLengthP
return s
}
+// WebSessionsChangeIdleLengthPolicyType : has no documentation (yet)
+type WebSessionsChangeIdleLengthPolicyType struct {
+ // Description : has no documentation (yet)
+ Description string `json:"description"`
+}
+
+// NewWebSessionsChangeIdleLengthPolicyType returns a new WebSessionsChangeIdleLengthPolicyType instance
+func NewWebSessionsChangeIdleLengthPolicyType(Description string) *WebSessionsChangeIdleLengthPolicyType {
+ s := new(WebSessionsChangeIdleLengthPolicyType)
+ s.Description = Description
+ return s
+}
+
// WebSessionsFixedLengthPolicy : Web sessions fixed length policy.
type WebSessionsFixedLengthPolicy struct {
dropbox.Tagged
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies/types.go
index a2858f458..8871bf331 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies/types.go
@@ -149,6 +149,42 @@ const (
SharedLinkCreatePolicyOther = "other"
)
+// ShowcaseDownloadPolicy : has no documentation (yet)
+type ShowcaseDownloadPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for ShowcaseDownloadPolicy
+const (
+ ShowcaseDownloadPolicyDisabled = "disabled"
+ ShowcaseDownloadPolicyEnabled = "enabled"
+ ShowcaseDownloadPolicyOther = "other"
+)
+
+// ShowcaseEnabledPolicy : has no documentation (yet)
+type ShowcaseEnabledPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for ShowcaseEnabledPolicy
+const (
+ ShowcaseEnabledPolicyDisabled = "disabled"
+ ShowcaseEnabledPolicyEnabled = "enabled"
+ ShowcaseEnabledPolicyOther = "other"
+)
+
+// ShowcaseExternalSharingPolicy : has no documentation (yet)
+type ShowcaseExternalSharingPolicy struct {
+ dropbox.Tagged
+}
+
+// Valid tag values for ShowcaseExternalSharingPolicy
+const (
+ ShowcaseExternalSharingPolicyDisabled = "disabled"
+ ShowcaseExternalSharingPolicyEnabled = "enabled"
+ ShowcaseExternalSharingPolicyOther = "other"
+)
+
// SmartSyncPolicy : has no documentation (yet)
type SmartSyncPolicy struct {
dropbox.Tagged
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/client.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/client.go
index 4f3c6f4c5..4ef71b736 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/client.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/client.go
@@ -104,7 +104,7 @@ func (dbx *apiImpl) GetAccount(arg *GetAccountArg) (res *BasicAccount, err error
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -176,7 +176,7 @@ func (dbx *apiImpl) GetAccountBatch(arg *GetAccountBatchArg) (res []*BasicAccoun
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -240,7 +240,7 @@ func (dbx *apiImpl) GetCurrentAccount() (res *FullAccount, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
@@ -304,7 +304,7 @@ func (dbx *apiImpl) GetSpaceUsage() (res *SpaceUsage, err error) {
return
}
var apiError dropbox.APIError
- if resp.StatusCode == http.StatusBadRequest {
+ if resp.StatusCode == http.StatusBadRequest || resp.StatusCode == http.StatusInternalServerError {
apiError.ErrorSummary = string(body)
err = apiError
return
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/types.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/types.go
index 47c2e86c4..b9d7d920f 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/types.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users/types.go
@@ -27,6 +27,7 @@ import (
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/common"
+ "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_common"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team_policies"
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users_common"
)
@@ -128,6 +129,75 @@ func NewFullAccount(AccountId string, Name *Name, Email string, EmailVerified bo
return s
}
+// UnmarshalJSON deserializes into a FullAccount instance
+func (u *FullAccount) UnmarshalJSON(b []byte) error {
+ type wrap struct {
+ // AccountId : The user's unique Dropbox ID.
+ AccountId string `json:"account_id"`
+ // Name : Details of a user's name.
+ Name *Name `json:"name"`
+ // Email : The user's e-mail address. Do not rely on this without
+ // checking the `email_verified` field. Even then, it's possible that
+ // the user has since lost access to their e-mail.
+ Email string `json:"email"`
+ // EmailVerified : Whether the user has verified their e-mail address.
+ EmailVerified bool `json:"email_verified"`
+ // Disabled : Whether the user has been disabled.
+ Disabled bool `json:"disabled"`
+ // Locale : The language that the user specified. Locale tags will be
+ // `IETF language tags`
+ // <http://en.wikipedia.org/wiki/IETF_language_tag>.
+ Locale string `json:"locale"`
+ // ReferralLink : The user's `referral link`
+ // <https://www.dropbox.com/referrals>.
+ ReferralLink string `json:"referral_link"`
+ // IsPaired : Whether the user has a personal and work account. If the
+ // current account is personal, then `team` will always be nil, but
+ // `is_paired` will indicate if a work account is linked.
+ IsPaired bool `json:"is_paired"`
+ // AccountType : What type of account this user has.
+ AccountType *users_common.AccountType `json:"account_type"`
+ // RootInfo : The root info for this account.
+ RootInfo json.RawMessage `json:"root_info"`
+ // ProfilePhotoUrl : URL for the photo representing the user, if one is
+ // set.
+ ProfilePhotoUrl string `json:"profile_photo_url,omitempty"`
+ // Country : The user's two-letter country code, if available. Country
+ // codes are based on `ISO 3166-1`
+ // <http://en.wikipedia.org/wiki/ISO_3166-1>.
+ Country string `json:"country,omitempty"`
+ // Team : If this account is a member of a team, information about that
+ // team.
+ Team *FullTeam `json:"team,omitempty"`
+ // TeamMemberId : This account's unique team member id. This field will
+ // only be present if `team` is present.
+ TeamMemberId string `json:"team_member_id,omitempty"`
+ }
+ var w wrap
+ if err := json.Unmarshal(b, &w); err != nil {
+ return err
+ }
+ u.AccountId = w.AccountId
+ u.Name = w.Name
+ u.Email = w.Email
+ u.EmailVerified = w.EmailVerified
+ u.Disabled = w.Disabled
+ u.Locale = w.Locale
+ u.ReferralLink = w.ReferralLink
+ u.IsPaired = w.IsPaired
+ u.AccountType = w.AccountType
+ RootInfo, err := common.IsRootInfoFromJSON(w.RootInfo)
+ if err != nil {
+ return err
+ }
+ u.RootInfo = RootInfo
+ u.ProfilePhotoUrl = w.ProfilePhotoUrl
+ u.Country = w.Country
+ u.Team = w.Team
+ u.TeamMemberId = w.TeamMemberId
+ return nil
+}
+
// Team : Information about a team.
type Team struct {
// Id : The team's unique ID.
@@ -353,12 +423,21 @@ type TeamSpaceAllocation struct {
Used uint64 `json:"used"`
// Allocated : The total space allocated to the user's team (bytes).
Allocated uint64 `json:"allocated"`
+ // UserWithinTeamSpaceAllocated : The total space allocated to the user
+ // within its team allocated space (0 means that no restriction is imposed
+ // on the user's quota within its team).
+ UserWithinTeamSpaceAllocated uint64 `json:"user_within_team_space_allocated"`
+ // UserWithinTeamSpaceLimitType : The type of the space limit imposed on the
+ // team member (off, alert_only, stop_sync).
+ UserWithinTeamSpaceLimitType *team_common.MemberSpaceLimitType `json:"user_within_team_space_limit_type"`
}
// NewTeamSpaceAllocation returns a new TeamSpaceAllocation instance
-func NewTeamSpaceAllocation(Used uint64, Allocated uint64) *TeamSpaceAllocation {
+func NewTeamSpaceAllocation(Used uint64, Allocated uint64, UserWithinTeamSpaceAllocated uint64, UserWithinTeamSpaceLimitType *team_common.MemberSpaceLimitType) *TeamSpaceAllocation {
s := new(TeamSpaceAllocation)
s.Used = Used
s.Allocated = Allocated
+ s.UserWithinTeamSpaceAllocated = UserWithinTeamSpaceAllocated
+ s.UserWithinTeamSpaceLimitType = UserWithinTeamSpaceLimitType
return s
}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/generate-sdk.sh b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/generate-sdk.sh
index 4bbf8850b..7b004d34a 100755
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/generate-sdk.sh
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/generate-sdk.sh
@@ -15,7 +15,7 @@ stone -v -a :all go_types.stoneg.py "$gen_dir" "$spec_dir"/*.stone
stone -v -a :all go_client.stoneg.py "$gen_dir" "$spec_dir"/*.stone
# Update SDK and API spec versions
-sdk_version=${1:-"3.0.0"}
+sdk_version=${1:-"4.2.0"}
pushd ${spec_dir}
spec_version=$(git rev-parse --short HEAD)
popd
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_client.stoneg.py b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_client.stoneg.py
index 0dc9eb3ce..22f57a759 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_client.stoneg.py
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_client.stoneg.py
@@ -192,7 +192,8 @@ class GoClientBackend(CodeBackend):
out('err = apiError')
out('return')
out('var apiError dropbox.APIError')
- with self.block('if resp.StatusCode == http.StatusBadRequest'):
+ with self.block("if resp.StatusCode == http.StatusBadRequest || "
+ "resp.StatusCode == http.StatusInternalServerError"):
out('apiError.ErrorSummary = string(body)')
out('err = apiError')
out('return')
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_helpers.py b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_helpers.py
index cab893cdb..ae19ce4a2 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_helpers.py
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_helpers.py
@@ -12,6 +12,7 @@ from stone.ir import (
unwrap_nullable,
is_composite_type,
is_list_type,
+ is_primitive_type,
is_struct_type,
Void,
)
@@ -68,10 +69,14 @@ def _rename_if_reserved(s):
return s
-def fmt_type(data_type, namespace=None, use_interface=False):
+def fmt_type(data_type, namespace=None, use_interface=False, raw=False):
data_type, nullable = unwrap_nullable(data_type)
if is_list_type(data_type):
- return '[]%s' % fmt_type(data_type.data_type, namespace, use_interface)
+ if raw and is_primitive_type(data_type.data_type):
+ return "json.RawMessage"
+ return '[]%s' % fmt_type(data_type.data_type, namespace, use_interface, raw)
+ if raw:
+ return "json.RawMessage"
type_name = data_type.name
if use_interface and _needs_base_type(data_type):
type_name = 'Is' + type_name
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/files/metadata.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/files/metadata.go
deleted file mode 100644
index e70da6b67..000000000
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/files/metadata.go
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright (c) Dropbox, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-package files
-
-import "encoding/json"
-
-type listFolderResult struct {
- Entries []json.RawMessage `json:"entries"`
- Cursor string `json:"cursor"`
- HasMore bool `json:"has_more"`
-}
-
-// UnmarshalJSON deserializes into a ListFolderResult instance
-func (r *ListFolderResult) UnmarshalJSON(b []byte) error {
- var l listFolderResult
- if err := json.Unmarshal(b, &l); err != nil {
- return err
- }
- r.Cursor = l.Cursor
- r.HasMore = l.HasMore
- r.Entries = make([]IsMetadata, len(l.Entries))
- for i, e := range l.Entries {
- metadata, err := IsMetadataFromJSON(e)
- if err != nil {
- return err
- }
- r.Entries[i] = metadata
- }
- return nil
-}
-
-type searchMatch struct {
- MatchType *SearchMatchType `json:"match_type"`
- Metadata json.RawMessage `json:"metadata"`
-}
-
-// UnmarshalJSON deserializes into a SearchMatch instance
-func (s *SearchMatch) UnmarshalJSON(b []byte) error {
- var m searchMatch
- if err := json.Unmarshal(b, &m); err != nil {
- return err
- }
- s.MatchType = m.MatchType
- metadata, err := IsMetadataFromJSON(m.Metadata)
- if err != nil {
- return err
- }
- s.Metadata = metadata
- return nil
-}
-
-type deleteResult struct {
- FileOpsResult
- Metadata json.RawMessage `json:"metadata"`
-}
-
-// UnmarshalJSON deserializes into a DeleteResult instance
-func (s *DeleteResult) UnmarshalJSON(b []byte) error {
- var m deleteResult
- if err := json.Unmarshal(b, &m); err != nil {
- return err
- }
- s.FileOpsResult = m.FileOpsResult
- metadata, err := IsMetadataFromJSON(m.Metadata)
- if err != nil {
- return err
- }
- s.Metadata = metadata
- return nil
-}
-
-type relocationResult struct {
- FileOpsResult
- // Metadata : Metadata of the relocated object.
- Metadata json.RawMessage `json:"metadata"`
-}
-
-// UnmarshalJSON deserializes into a RelocationResult instance
-func (s *RelocationResult) UnmarshalJSON(b []byte) error {
- var m relocationResult
- if err := json.Unmarshal(b, &m); err != nil {
- return err
- }
- s.FileOpsResult = m.FileOpsResult
- metadata, err := IsMetadataFromJSON(m.Metadata)
- if err != nil {
- return err
- }
- s.Metadata = metadata
- return nil
-}
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sdk.go b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sdk.go
index 7fc82df8e..499e1c9bc 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sdk.go
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_rsrc/sdk.go
@@ -26,6 +26,7 @@ import (
"log"
"net/http"
+ "golang.org/x/net/context"
"golang.org/x/oauth2"
)
@@ -77,12 +78,12 @@ const (
LogInfo
)
-func (l LogLevel) ShouldLog(v LogLevel) bool {
- return l > v || l & v == v
+func (l LogLevel) shouldLog(v LogLevel) bool {
+ return l > v || l&v == v
}
func (c *Config) doLog(l LogLevel, format string, v ...interface{}) {
- if !c.LogLevel.ShouldLog(l) {
+ if !c.LogLevel.shouldLog(l) {
return
}
@@ -152,7 +153,7 @@ func NewContext(c Config) Context {
if client == nil {
var conf = &oauth2.Config{Endpoint: OAuthEndpoint(domain)}
tok := &oauth2.Token{AccessToken: c.Token}
- client = conf.Client(oauth2.NoContext, tok)
+ client = conf.Client(context.Background(), tok)
}
headerGenerator := c.HeaderGenerator
diff --git a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_types.stoneg.py b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_types.stoneg.py
index 3260e55af..bd6e4e7f5 100644
--- a/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_types.stoneg.py
+++ b/vendor/github.com/dropbox/dropbox-sdk-go-unofficial/generator/go_types.stoneg.py
@@ -4,6 +4,7 @@ import shutil
from stone.backend import CodeBackend
from stone.ir import (
is_boolean_type,
+ is_list_type,
is_nullable_type,
is_primitive_type,
is_struct_type,
@@ -16,6 +17,8 @@ from go_helpers import (
fmt_type,
fmt_var,
generate_doc,
+ needs_base_type,
+ _needs_base_type
)
@@ -26,10 +29,6 @@ class GoTypesBackend(CodeBackend):
self.target_folder_path)
for namespace in api.namespaces.values():
self._generate_namespace(namespace)
- if namespace.name == 'files' or namespace.name == 'sharing':
- self.logger.info('Copying metadata.go to files')
- shutil.copy(os.path.join(rsrc_folder, namespace.name, 'metadata.go'),
- os.path.join(self.target_folder_path, namespace.name))
def _generate_namespace(self, namespace):
file_name = os.path.join(self.target_folder_path, namespace.name,
@@ -90,6 +89,39 @@ class GoTypesBackend(CodeBackend):
self.emit('// ExtraHeaders can be used to pass Range, If-None-Match headers')
self.emit('ExtraHeaders map[string]string `json:"-"`')
self._generate_struct_builder(struct)
+ self.emit()
+ if needs_base_type(struct):
+ self.emit('// UnmarshalJSON deserializes into a %s instance' % struct.name)
+ with self.block('func (u *%s) UnmarshalJSON(b []byte) error' % struct.name):
+ with self.block('type wrap struct'):
+ for field in struct.all_fields:
+ self._generate_field(field, namespace=struct.namespace,
+ raw=_needs_base_type(field.data_type))
+ self.emit('var w wrap')
+ with self.block('if err := json.Unmarshal(b, &w); err != nil'):
+ self.emit('return err')
+ for field in struct.all_fields:
+ dt = field.data_type
+ fn = fmt_var(field.name)
+ tn = fmt_type(dt, namespace=struct.namespace, use_interface=True)
+ if _needs_base_type(dt):
+ if is_list_type(dt):
+ self.emit("u.{0} = make({1}, len(w.{0}))".format(fn, tn))
+ # Grab the underlying type to get the correct Is...FromJSON method
+ tn = fmt_type(dt.data_type, namespace=struct.namespace, use_interface=True)
+ with self.block("for i, e := range w.{0}".format(fn)):
+ self.emit("v, err := {1}FromJSON(e)".format(fn, tn))
+ with self.block('if err != nil'):
+ self.emit('return err')
+ self.emit("u.{0}[i] = v".format(fn))
+ else:
+ self.emit("{0}, err := {1}FromJSON(w.{0})".format(fn, tn))
+ with self.block('if err != nil'):
+ self.emit('return err')
+ self.emit("u.{0} = {0}".format(fn))
+ else:
+ self.emit("u.{0} = w.{0}".format(fn))
+ self.emit('return nil')
def _generate_struct_builder(self, struct):
fields = ["%s %s" % (fmt_var(field.name),
@@ -122,14 +154,11 @@ class GoTypesBackend(CodeBackend):
def _generate_field(self, field, union_field=False, namespace=None, raw=False):
generate_doc(self, field)
field_name = fmt_var(field.name)
- type_name = fmt_type(field.data_type, namespace, use_interface=True)
+ type_name = fmt_type(field.data_type, namespace, use_interface=True, raw=raw)
json_tag = '`json:"%s"`' % field.name
if is_nullable_type(field.data_type) or union_field:
json_tag = '`json:"%s,omitempty"`' % field.name
- if raw:
- self.emit('%s json.RawMessage %s' % (field_name, json_tag))
- else:
- self.emit('%s %s %s' % (field_name, type_name, json_tag))
+ self.emit('%s %s %s' % (field_name, type_name, json_tag))
def _generate_union(self, union):
self._generate_union_helper(union)
@@ -187,8 +216,7 @@ class GoTypesBackend(CodeBackend):
if is_union_type(field.data_type):
self.emit('err = json.Unmarshal(w.{0}, &u.{0})'
.format(field_name))
- elif is_struct_type(field.data_type) and \
- field.data_type.has_enumerated_subtypes():
+ elif _needs_base_type(field.data_type):
self.emit("u.{0}, err = Is{1}FromJSON(body)"
.format(field_name, field.data_type.name))
else: