package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 25, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DeviceAccessCodeResponse struct {
ExpIn int64 `json:"expires_in"`
Interval int `json:"interval"`
DeviceCode string `json:"device_code"`
UserCode string `json:"user_code"`
VerificationUrl string `json:"verification_url"`
}
type DiskInfo struct {
TrashSize int64 `json:"trash_size"`
TotalSpace int64 `json:"total_space"`
UsedSpace int64 `json:"used_space"`
SystemFolders map[string]string `json:"system_folders"`
}
type ErrorResponse struct {
ErrDesc string `json:"error_description"`
Error string `json:"error"`
}
type FileResourceList struct {
Items []Resource `json:"items"`
Limit *int `json:"limit"`
Offset *int `json:"offset"`
}
type LastUploadedResourceList struct {
Items []Resource `json:"items"`
Limit *int `json:"limit"`
}
type Link struct {
Href string `json:"href"`
Method string `json:"method"`
Templated bool `json:"templated"`
}
type OAuthTokenResponse struct {
ExpIn int64 `json:"expires_in"`
TokenType string `json:"token_type"`
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
Scope string `json:"scope"`
}
type Resource struct {
PublicKey *string `json:"public_key"`
Embedded *ResourceList `json:"_embedded"`
Name *string `json:"name"`
Preview *string `json:"preview"`
Created *time.Time `json:"created"`
Modified *time.Time `json:"modified"`
CustomProperties CustomProperties `json:"custom_properties"`
PublicUrl *string `json:"public_url"`
Path *string `json:"path"`
OriginPath *string `json:"origin_path"`
Md5 *string `json:"md5"`
Type *string `json:"type"`
MimeType *string `json:"mime_type"`
Size *int64 `json:"size"`
}
type ResourceList struct {
Sort *string `json:"sort"`
PublicKey *string `json:"public_key"`
Items []Resource `json:"items"`
Path *string `json:"path"`
Limit *int `json:"limit"`
Offset *int `json:"offset"`
Total *int `json:"total"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.