openapi

package module
v0.0.0-...-fd4993d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 20 Imported by: 0

README

Go API client for openapi

Programmatic access to the Weblens server

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.20.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "github.com/ethanrous/weblens/api"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value openapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value openapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using openapi.ContextOperationServerIndices and openapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:8080/api/v1

Class Method HTTP request Description
APIKeysAPI CreateAPIKey Post /keys Create a new api key
APIKeysAPI DeleteAPIKey Delete /keys/{tokenID} Delete an api key
APIKeysAPI GetAPIKeys Get /keys Get all api keys
FeatureFlagsAPI GetFlags Get /flags Get Feature Flags
FeatureFlagsAPI SetFlags Post /flags Set Feature Flags
FilesAPI AddFilesToUpload Post /upload/{uploadID} Add a file to an upload task
FilesAPI AutocompletePath Get /files/autocomplete Get path completion suggestions
FilesAPI ClearZipCache Delete /takeout Clear all cached zip files
FilesAPI CreateTakeout Post /takeout Create a zip file
FilesAPI DeleteFiles Delete /files Delete Files "permanently"
FilesAPI DownloadFile Get /files/{fileID}/download Download a file
FilesAPI GetFile Get /files/{fileID} Get information about a file
FilesAPI GetFileStats Get /files/{fileID}/stats Get the statistics of a file
FilesAPI GetFileText Get /files/{fileID}/text Get the text of a text file
FilesAPI GetSharedFiles Get /files/shared Get files shared with the logged in user
FilesAPI GetUploadResult Get /upload/{uploadID} Get the result of an upload task. This will block until the upload is complete
FilesAPI MoveFiles Patch /files Move a list of files to a new parent folder
FilesAPI RestoreFiles Post /files/structsore structsore files from some time in the past
FilesAPI SearchByFilename Get /files/search Search for files by filename
FilesAPI StartUpload Post /upload Begin a new upload task
FilesAPI UnTrashFiles Patch /files/untrash Move a list of files out of the trash, structsoring them to where they were before
FilesAPI UpdateFile Patch /files/{fileID} Update a File
FilesAPI UploadFileChunk Put /upload/{uploadID}/file/{fileID} Add a chunk to a file upload
FolderAPI CreateFolder Post /folder Create a new folder
FolderAPI GetFolder Get /folder/{folderID} Get a folder
FolderAPI GetFolderHistory Get /files/{fileID}/history Get actions of a folder at a given time
FolderAPI ScanFolder Post /folder/{folderID}/scan Dispatch a folder scan
FolderAPI SetFolderCover Patch /folder/{folderID}/cover Set the cover image of a folder
MediaAPI CleanupMedia Post /media/cleanup Make sure all media is correctly synced with the file system
MediaAPI DropHDIRs Post /media/drop/hdirs Drop all computed media HDIR data. Must be server owner.
MediaAPI DropMedia Post /media/drop DANGEROUS. Drop all computed media and clear thumbnail in-memory and filesystem cache. Must be server owner.
MediaAPI GetMedia Post /media Get paginated media
MediaAPI GetMediaFile Get /media/{mediaID}/file Get file of media by id
MediaAPI GetMediaImage Get /media/{mediaID}.{extension} Get a media image bytes
MediaAPI GetMediaInfo Get /media/{mediaID}/info Get media info
MediaAPI GetMediaTypes Get /media/types Get media type dictionary
MediaAPI GetRandomMedia Get /media/random Get random media
MediaAPI SetMediaLiked Patch /media/{mediaID}/liked Like a media
MediaAPI SetMediaVisibility Patch /media/visibility Set media visibility
MediaAPI StreamVideo Get /media/{mediaID}/video Stream a video
ShareAPI AddUserToShare Post /share/{shareID}/accessors Add a user to a file share
ShareAPI CreateFileShare Post /share/file Share a file
ShareAPI DeleteFileShare Delete /share/{shareID} Delete a file share
ShareAPI GetFileShare Get /share/{shareID} Get a file share
ShareAPI RemoveUserFromShare Delete /share/{shareID}/accessors/{username} Remove a user from a file share
ShareAPI SetSharePublic Patch /share/{shareID}/public Update a share's "public" status
ShareAPI UpdateShareAccessorPermissions Patch /share/{shareID}/accessors/{username} Update a share's user permissions
TowersAPI CreateRemote Post /tower/remote Create a new remote
TowersAPI DeleteRemote Delete /tower/{serverID} Delete a remote
TowersAPI EnableTraceLogging Post /tower/trace Enable trace logging
TowersAPI FlushCache Delete /tower/cache Flush Cache
TowersAPI GetBackupInfo Get /tower/backup Get information about a file
TowersAPI GetPagedHistoryActions Get /tower/history Get a page of file actions
TowersAPI GetRemotes Get /tower Get all remotes
TowersAPI GetRunningTasks Get /tower/tasks Get Running Tasks
TowersAPI GetServerHealthStatus Get /health Get server health status
TowersAPI GetServerInfo Get /info Get server info
TowersAPI InitializeTower Post /tower/init Initialize the target server
TowersAPI LaunchBackup Post /tower/{serverID}/backup Launch backup on a tower
TowersAPI ResetTower Post /tower/reset Reset tower
UsersAPI ActivateUser Patch /users/{username}/active Update active status of user
UsersAPI ChangeDisplayName Patch /users/{username}/fullName Update display name of a user
UsersAPI CheckExists Head /users/{username} Check if username is already taken
UsersAPI CreateUser Post /users Create a new user
UsersAPI DeleteUser Delete /users/{username} Delete a user
UsersAPI GetUser Get /users/me Gets the user based on the auth token
UsersAPI GetUsers Get /users Get all users, including (possibly) sensitive information like password hashes
UsersAPI LoginUser Post /users/auth Login User
UsersAPI LogoutUser Post /users/logout Logout User
UsersAPI SearchUsers Get /users/search Search for users by username
UsersAPI SetUserAdmin Patch /users/{username}/admin Update admin status of user
UsersAPI UpdateUserPassword Patch /users/{username}/password Update user password

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

APIKeyAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: APIKeyAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		openapi.ContextAPIKeys,
		map[string]openapi.APIKey{
			"APIKeyAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	APIKeysAPI *APIKeysAPIService

	FeatureFlagsAPI *FeatureFlagsAPIService

	FilesAPI *FilesAPIService

	FolderAPI *FolderAPIService

	MediaAPI *MediaAPIService

	ShareAPI *ShareAPIService

	TowersAPI *TowersAPIService

	UsersAPI *UsersAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Weblens API API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIKeyParams

type APIKeyParams struct {
	Name string `json:"name"`
}

APIKeyParams struct for APIKeyParams

func NewAPIKeyParams

func NewAPIKeyParams(name string) *APIKeyParams

NewAPIKeyParams instantiates a new APIKeyParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIKeyParamsWithDefaults

func NewAPIKeyParamsWithDefaults() *APIKeyParams

NewAPIKeyParamsWithDefaults instantiates a new APIKeyParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIKeyParams) GetName

func (o *APIKeyParams) GetName() string

GetName returns the Name field value

func (*APIKeyParams) GetNameOk

func (o *APIKeyParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (APIKeyParams) MarshalJSON

func (o APIKeyParams) MarshalJSON() ([]byte, error)

func (*APIKeyParams) SetName

func (o *APIKeyParams) SetName(v string)

SetName sets field value

func (APIKeyParams) ToMap

func (o APIKeyParams) ToMap() (map[string]interface{}, error)

func (*APIKeyParams) UnmarshalJSON

func (o *APIKeyParams) UnmarshalJSON(data []byte) (err error)

type APIKeysAPIService

type APIKeysAPIService service

APIKeysAPIService APIKeysAPI service

func (*APIKeysAPIService) CreateAPIKey

CreateAPIKey Create a new api key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateAPIKeyRequest

func (*APIKeysAPIService) CreateAPIKeyExecute

func (a *APIKeysAPIService) CreateAPIKeyExecute(r ApiCreateAPIKeyRequest) (*TokenInfo, *http.Response, error)

Execute executes the request

@return TokenInfo

func (*APIKeysAPIService) DeleteAPIKey

func (a *APIKeysAPIService) DeleteAPIKey(ctx context.Context, tokenID string) ApiDeleteAPIKeyRequest

DeleteAPIKey Delete an api key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tokenID API key id
@return ApiDeleteAPIKeyRequest

func (*APIKeysAPIService) DeleteAPIKeyExecute

func (a *APIKeysAPIService) DeleteAPIKeyExecute(r ApiDeleteAPIKeyRequest) (*http.Response, error)

Execute executes the request

func (*APIKeysAPIService) GetAPIKeys

GetAPIKeys Get all api keys

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAPIKeysRequest

func (*APIKeysAPIService) GetAPIKeysExecute

func (a *APIKeysAPIService) GetAPIKeysExecute(r ApiGetAPIKeysRequest) ([]TokenInfo, *http.Response, error)

Execute executes the request

@return []TokenInfo

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AddUserParams

type AddUserParams struct {
	CanDelete   *bool  `json:"canDelete,omitempty"`
	CanDownload *bool  `json:"canDownload,omitempty"`
	CanEdit     *bool  `json:"canEdit,omitempty"`
	CanView     *bool  `json:"canView,omitempty"`
	Username    string `json:"username"`
}

AddUserParams struct for AddUserParams

func NewAddUserParams

func NewAddUserParams(username string) *AddUserParams

NewAddUserParams instantiates a new AddUserParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddUserParamsWithDefaults

func NewAddUserParamsWithDefaults() *AddUserParams

NewAddUserParamsWithDefaults instantiates a new AddUserParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AddUserParams) GetCanDelete

func (o *AddUserParams) GetCanDelete() bool

GetCanDelete returns the CanDelete field value if set, zero value otherwise.

func (*AddUserParams) GetCanDeleteOk

func (o *AddUserParams) GetCanDeleteOk() (*bool, bool)

GetCanDeleteOk returns a tuple with the CanDelete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddUserParams) GetCanDownload

func (o *AddUserParams) GetCanDownload() bool

GetCanDownload returns the CanDownload field value if set, zero value otherwise.

func (*AddUserParams) GetCanDownloadOk

func (o *AddUserParams) GetCanDownloadOk() (*bool, bool)

GetCanDownloadOk returns a tuple with the CanDownload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddUserParams) GetCanEdit

func (o *AddUserParams) GetCanEdit() bool

GetCanEdit returns the CanEdit field value if set, zero value otherwise.

func (*AddUserParams) GetCanEditOk

func (o *AddUserParams) GetCanEditOk() (*bool, bool)

GetCanEditOk returns a tuple with the CanEdit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddUserParams) GetCanView

func (o *AddUserParams) GetCanView() bool

GetCanView returns the CanView field value if set, zero value otherwise.

func (*AddUserParams) GetCanViewOk

func (o *AddUserParams) GetCanViewOk() (*bool, bool)

GetCanViewOk returns a tuple with the CanView field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddUserParams) GetUsername

func (o *AddUserParams) GetUsername() string

GetUsername returns the Username field value

func (*AddUserParams) GetUsernameOk

func (o *AddUserParams) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*AddUserParams) HasCanDelete

func (o *AddUserParams) HasCanDelete() bool

HasCanDelete returns a boolean if a field has been set.

func (*AddUserParams) HasCanDownload

func (o *AddUserParams) HasCanDownload() bool

HasCanDownload returns a boolean if a field has been set.

func (*AddUserParams) HasCanEdit

func (o *AddUserParams) HasCanEdit() bool

HasCanEdit returns a boolean if a field has been set.

func (*AddUserParams) HasCanView

func (o *AddUserParams) HasCanView() bool

HasCanView returns a boolean if a field has been set.

func (AddUserParams) MarshalJSON

func (o AddUserParams) MarshalJSON() ([]byte, error)

func (*AddUserParams) SetCanDelete

func (o *AddUserParams) SetCanDelete(v bool)

SetCanDelete gets a reference to the given bool and assigns it to the CanDelete field.

func (*AddUserParams) SetCanDownload

func (o *AddUserParams) SetCanDownload(v bool)

SetCanDownload gets a reference to the given bool and assigns it to the CanDownload field.

func (*AddUserParams) SetCanEdit

func (o *AddUserParams) SetCanEdit(v bool)

SetCanEdit gets a reference to the given bool and assigns it to the CanEdit field.

func (*AddUserParams) SetCanView

func (o *AddUserParams) SetCanView(v bool)

SetCanView gets a reference to the given bool and assigns it to the CanView field.

func (*AddUserParams) SetUsername

func (o *AddUserParams) SetUsername(v string)

SetUsername sets field value

func (AddUserParams) ToMap

func (o AddUserParams) ToMap() (map[string]interface{}, error)

func (*AddUserParams) UnmarshalJSON

func (o *AddUserParams) UnmarshalJSON(data []byte) (err error)

type ApiActivateUserRequest

type ApiActivateUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiActivateUserRequest) Execute

func (r ApiActivateUserRequest) Execute() (*http.Response, error)

func (ApiActivateUserRequest) SetActive

func (r ApiActivateUserRequest) SetActive(setActive bool) ApiActivateUserRequest

Target activation status

type ApiAddFilesToUploadRequest

type ApiAddFilesToUploadRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiAddFilesToUploadRequest) Execute

func (ApiAddFilesToUploadRequest) Request

New file params

func (ApiAddFilesToUploadRequest) ShareID

Share ID

type ApiAddUserToShareRequest

type ApiAddUserToShareRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiAddUserToShareRequest) Execute

func (ApiAddUserToShareRequest) Request

Share Accessors

type ApiAutocompletePathRequest

type ApiAutocompletePathRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiAutocompletePathRequest) Execute

func (ApiAutocompletePathRequest) SearchPath

Search path

type ApiChangeDisplayNameRequest

type ApiChangeDisplayNameRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiChangeDisplayNameRequest) Execute

func (ApiChangeDisplayNameRequest) NewFullName

New full name of user

type ApiCheckExistsRequest

type ApiCheckExistsRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiCheckExistsRequest) Execute

func (r ApiCheckExistsRequest) Execute() (*http.Response, error)

type ApiCleanupMediaRequest

type ApiCleanupMediaRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiCleanupMediaRequest) Execute

func (r ApiCleanupMediaRequest) Execute() (*http.Response, error)

type ApiClearZipCacheRequest

type ApiClearZipCacheRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiClearZipCacheRequest) Execute

func (r ApiClearZipCacheRequest) Execute() (*http.Response, error)

type ApiCreateAPIKeyRequest

type ApiCreateAPIKeyRequest struct {
	ApiService *APIKeysAPIService
	// contains filtered or unexported fields
}

func (ApiCreateAPIKeyRequest) Execute

func (ApiCreateAPIKeyRequest) Params

The new token params

type ApiCreateFileShareRequest

type ApiCreateFileShareRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiCreateFileShareRequest) Execute

func (ApiCreateFileShareRequest) Request

New File Share Params

type ApiCreateFolderRequest

type ApiCreateFolderRequest struct {
	ApiService *FolderAPIService
	// contains filtered or unexported fields
}

func (ApiCreateFolderRequest) Execute

func (ApiCreateFolderRequest) Request

New folder body

func (ApiCreateFolderRequest) ShareID

Share ID

type ApiCreateRemoteRequest

type ApiCreateRemoteRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiCreateRemoteRequest) Execute

func (ApiCreateRemoteRequest) Request

New Server Params

type ApiCreateTakeoutRequest

type ApiCreateTakeoutRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiCreateTakeoutRequest) Execute

func (ApiCreateTakeoutRequest) Request

File Ids

func (ApiCreateTakeoutRequest) ShareID

Share ID

type ApiCreateUserRequest

type ApiCreateUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) Execute

func (r ApiCreateUserRequest) Execute() (*http.Response, error)

func (ApiCreateUserRequest) NewUserParams

func (r ApiCreateUserRequest) NewUserParams(newUserParams NewUserParams) ApiCreateUserRequest

New user params

type ApiDeleteAPIKeyRequest

type ApiDeleteAPIKeyRequest struct {
	ApiService *APIKeysAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteAPIKeyRequest) Execute

func (r ApiDeleteAPIKeyRequest) Execute() (*http.Response, error)

type ApiDeleteFileShareRequest

type ApiDeleteFileShareRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteFileShareRequest) Execute

func (r ApiDeleteFileShareRequest) Execute() (*http.Response, error)

type ApiDeleteFilesRequest

type ApiDeleteFilesRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteFilesRequest) Execute

func (r ApiDeleteFilesRequest) Execute() (*http.Response, error)

func (ApiDeleteFilesRequest) IgnoreTrash

func (r ApiDeleteFilesRequest) IgnoreTrash(ignoreTrash bool) ApiDeleteFilesRequest

Delete files even if they are not in the trash

func (ApiDeleteFilesRequest) PreserveFolder

func (r ApiDeleteFilesRequest) PreserveFolder(preserveFolder bool) ApiDeleteFilesRequest

Preserve parent folder if it is empty after deletion

func (ApiDeleteFilesRequest) Request

Delete files request body

type ApiDeleteRemoteRequest

type ApiDeleteRemoteRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteRemoteRequest) Execute

func (r ApiDeleteRemoteRequest) Execute() (*http.Response, error)

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() (*http.Response, error)

type ApiDownloadFileRequest

type ApiDownloadFileRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiDownloadFileRequest) Execute

func (r ApiDownloadFileRequest) Execute() (string, *http.Response, error)

func (ApiDownloadFileRequest) Format

File format conversion

func (ApiDownloadFileRequest) IsTakeout

func (r ApiDownloadFileRequest) IsTakeout(isTakeout bool) ApiDownloadFileRequest

Is this a takeout file

func (ApiDownloadFileRequest) Quality

JPEG quality (1-100)

func (ApiDownloadFileRequest) ShareID

Share ID

type ApiDropHDIRsRequest

type ApiDropHDIRsRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiDropHDIRsRequest) Execute

func (r ApiDropHDIRsRequest) Execute() (*http.Response, error)

type ApiDropMediaRequest

type ApiDropMediaRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiDropMediaRequest) Execute

func (r ApiDropMediaRequest) Execute() (*http.Response, error)

func (ApiDropMediaRequest) Username

func (r ApiDropMediaRequest) Username(username string) ApiDropMediaRequest

Username of owner whose media to drop. If empty, drops all media.

type ApiEnableTraceLoggingRequest

type ApiEnableTraceLoggingRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiEnableTraceLoggingRequest) Execute

type ApiFlushCacheRequest

type ApiFlushCacheRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiFlushCacheRequest) Execute

type ApiGetAPIKeysRequest

type ApiGetAPIKeysRequest struct {
	ApiService *APIKeysAPIService
	// contains filtered or unexported fields
}

func (ApiGetAPIKeysRequest) Execute

func (r ApiGetAPIKeysRequest) Execute() ([]TokenInfo, *http.Response, error)

type ApiGetBackupInfoRequest

type ApiGetBackupInfoRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiGetBackupInfoRequest) Execute

func (ApiGetBackupInfoRequest) Timestamp

Timestamp in milliseconds since epoch

type ApiGetFileRequest

type ApiGetFileRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiGetFileRequest) Execute

func (r ApiGetFileRequest) Execute() (*FileInfo, *http.Response, error)

func (ApiGetFileRequest) ShareID

func (r ApiGetFileRequest) ShareID(shareID string) ApiGetFileRequest

Share ID

type ApiGetFileShareRequest

type ApiGetFileShareRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiGetFileShareRequest) Execute

type ApiGetFileStatsRequest

type ApiGetFileStatsRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiGetFileStatsRequest) Execute

func (r ApiGetFileStatsRequest) Execute() (*http.Response, error)

type ApiGetFileTextRequest

type ApiGetFileTextRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiGetFileTextRequest) Execute

func (r ApiGetFileTextRequest) Execute() (string, *http.Response, error)

func (ApiGetFileTextRequest) ShareID

Share ID

type ApiGetFlagsRequest

type ApiGetFlagsRequest struct {
	ApiService *FeatureFlagsAPIService
	// contains filtered or unexported fields
}

func (ApiGetFlagsRequest) Execute

func (r ApiGetFlagsRequest) Execute() (*Bundle, *http.Response, error)

type ApiGetFolderHistoryRequest

type ApiGetFolderHistoryRequest struct {
	ApiService *FolderAPIService
	// contains filtered or unexported fields
}

func (ApiGetFolderHistoryRequest) Execute

type ApiGetFolderRequest

type ApiGetFolderRequest struct {
	ApiService *FolderAPIService
	// contains filtered or unexported fields
}

func (ApiGetFolderRequest) Execute

func (r ApiGetFolderRequest) Execute() (*FolderInfo, *http.Response, error)

func (ApiGetFolderRequest) ShareID

func (r ApiGetFolderRequest) ShareID(shareID string) ApiGetFolderRequest

Share ID

func (ApiGetFolderRequest) SortOrder

func (r ApiGetFolderRequest) SortOrder(sortOrder string) ApiGetFolderRequest

Sort order

func (ApiGetFolderRequest) SortProp

func (r ApiGetFolderRequest) SortProp(sortProp string) ApiGetFolderRequest

Property to sort by

func (ApiGetFolderRequest) Timestamp

func (r ApiGetFolderRequest) Timestamp(timestamp int32) ApiGetFolderRequest

Past timestamp to view the folder at, in ms since epoch

type ApiGetMediaFileRequest

type ApiGetMediaFileRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiGetMediaFileRequest) Execute

type ApiGetMediaImageRequest

type ApiGetMediaImageRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiGetMediaImageRequest) Execute

func (ApiGetMediaImageRequest) Page

Page number

func (ApiGetMediaImageRequest) Quality

Image Quality

type ApiGetMediaInfoRequest

type ApiGetMediaInfoRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiGetMediaInfoRequest) Execute

type ApiGetMediaRequest

type ApiGetMediaRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiGetMediaRequest) Execute

func (ApiGetMediaRequest) Request

Media Batch Params

func (ApiGetMediaRequest) ShareID

func (r ApiGetMediaRequest) ShareID(shareID string) ApiGetMediaRequest

File ShareID

type ApiGetMediaTypesRequest

type ApiGetMediaTypesRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiGetMediaTypesRequest) Execute

type ApiGetPagedHistoryActionsRequest

type ApiGetPagedHistoryActionsRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiGetPagedHistoryActionsRequest) Execute

func (ApiGetPagedHistoryActionsRequest) Page

Page number

func (ApiGetPagedHistoryActionsRequest) PageSize

Number of items per page

type ApiGetRandomMediaRequest

type ApiGetRandomMediaRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiGetRandomMediaRequest) Count

Number of random medias to get

func (ApiGetRandomMediaRequest) Execute

type ApiGetRemotesRequest

type ApiGetRemotesRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiGetRemotesRequest) Execute

func (r ApiGetRemotesRequest) Execute() ([]TowerInfo, *http.Response, error)

type ApiGetRunningTasksRequest

type ApiGetRunningTasksRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiGetRunningTasksRequest) Execute

type ApiGetServerHealthStatusRequest

type ApiGetServerHealthStatusRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiGetServerHealthStatusRequest) Execute

type ApiGetServerInfoRequest

type ApiGetServerInfoRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiGetServerInfoRequest) Execute

type ApiGetSharedFilesRequest

type ApiGetSharedFilesRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiGetSharedFilesRequest) Execute

type ApiGetUploadResultRequest

type ApiGetUploadResultRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiGetUploadResultRequest) Execute

func (r ApiGetUploadResultRequest) Execute() (*http.Response, error)

type ApiGetUserRequest

type ApiGetUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*UserInfo, *http.Response, error)

type ApiGetUsersRequest

type ApiGetUsersRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetUsersRequest) Execute

type ApiInitializeTowerRequest

type ApiInitializeTowerRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiInitializeTowerRequest) Execute

func (ApiInitializeTowerRequest) Request

Server initialization body

type ApiLaunchBackupRequest

type ApiLaunchBackupRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiLaunchBackupRequest) Execute

func (r ApiLaunchBackupRequest) Execute() (*http.Response, error)

type ApiLoginUserRequest

type ApiLoginUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiLoginUserRequest) Execute

func (r ApiLoginUserRequest) Execute() (*UserInfo, *http.Response, error)

func (ApiLoginUserRequest) LoginParams

func (r ApiLoginUserRequest) LoginParams(loginParams LoginBody) ApiLoginUserRequest

Login params

type ApiLogoutUserRequest

type ApiLogoutUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiLogoutUserRequest) Execute

func (r ApiLogoutUserRequest) Execute() (*http.Response, error)

type ApiMoveFilesRequest

type ApiMoveFilesRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiMoveFilesRequest) Execute

func (r ApiMoveFilesRequest) Execute() (*http.Response, error)

func (ApiMoveFilesRequest) Request

Move files request body

func (ApiMoveFilesRequest) ShareID

func (r ApiMoveFilesRequest) ShareID(shareID string) ApiMoveFilesRequest

Share ID

type ApiRemoveUserFromShareRequest

type ApiRemoveUserFromShareRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveUserFromShareRequest) Execute

type ApiResetTowerRequest

type ApiResetTowerRequest struct {
	ApiService *TowersAPIService
	// contains filtered or unexported fields
}

func (ApiResetTowerRequest) Execute

func (r ApiResetTowerRequest) Execute() (*http.Response, error)

type ApiRestoreFilesRequest

type ApiRestoreFilesRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiRestoreFilesRequest) Execute

func (ApiRestoreFilesRequest) Request

RestoreFiles files request body

type ApiScanFolderRequest

type ApiScanFolderRequest struct {
	ApiService *FolderAPIService
	// contains filtered or unexported fields
}

func (ApiScanFolderRequest) Execute

func (r ApiScanFolderRequest) Execute() (*TaskInfo, *http.Response, error)

func (ApiScanFolderRequest) ShareID

Share ID

type ApiSearchByFilenameRequest

type ApiSearchByFilenameRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiSearchByFilenameRequest) BaseFolderID

func (r ApiSearchByFilenameRequest) BaseFolderID(baseFolderID string) ApiSearchByFilenameRequest

The folder to search in, defaults to the user's home folder

func (ApiSearchByFilenameRequest) Execute

func (ApiSearchByFilenameRequest) Recursive

Search recursively

func (ApiSearchByFilenameRequest) Regex

Whether to treat the search term as a regex pattern

func (ApiSearchByFilenameRequest) Search

Filename to search for

func (ApiSearchByFilenameRequest) SortOrder

Sort order

func (ApiSearchByFilenameRequest) SortProp

Property to sort by

type ApiSearchUsersRequest

type ApiSearchUsersRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiSearchUsersRequest) Execute

func (r ApiSearchUsersRequest) Execute() ([]UserInfo, *http.Response, error)

func (ApiSearchUsersRequest) Search

Partial username to search for

type ApiSetFlagsRequest

type ApiSetFlagsRequest struct {
	ApiService *FeatureFlagsAPIService
	// contains filtered or unexported fields
}

func (ApiSetFlagsRequest) Execute

func (r ApiSetFlagsRequest) Execute() (*http.Response, error)

func (ApiSetFlagsRequest) Request

Feature Flag Params

type ApiSetFolderCoverRequest

type ApiSetFolderCoverRequest struct {
	ApiService *FolderAPIService
	// contains filtered or unexported fields
}

func (ApiSetFolderCoverRequest) Execute

func (r ApiSetFolderCoverRequest) Execute() (*http.Response, error)

func (ApiSetFolderCoverRequest) MediaID

Media ID

type ApiSetMediaLikedRequest

type ApiSetMediaLikedRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiSetMediaLikedRequest) Execute

func (r ApiSetMediaLikedRequest) Execute() (*http.Response, error)

func (ApiSetMediaLikedRequest) Liked

Liked status to set

func (ApiSetMediaLikedRequest) ShareID

ShareID

type ApiSetMediaVisibilityRequest

type ApiSetMediaVisibilityRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiSetMediaVisibilityRequest) Execute

func (ApiSetMediaVisibilityRequest) Hidden

Set the media visibility

func (ApiSetMediaVisibilityRequest) MediaIDs

MediaIDs to change visibility of

type ApiSetSharePublicRequest

type ApiSetSharePublicRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiSetSharePublicRequest) Execute

func (r ApiSetSharePublicRequest) Execute() (*http.Response, error)

func (ApiSetSharePublicRequest) Public

Share Public Status

type ApiSetUserAdminRequest

type ApiSetUserAdminRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiSetUserAdminRequest) Execute

func (r ApiSetUserAdminRequest) Execute() (*http.Response, error)

func (ApiSetUserAdminRequest) SetAdmin

func (r ApiSetUserAdminRequest) SetAdmin(setAdmin bool) ApiSetUserAdminRequest

Target admin status

type ApiStartUploadRequest

type ApiStartUploadRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiStartUploadRequest) Execute

func (ApiStartUploadRequest) Request

New upload request body

func (ApiStartUploadRequest) ShareID

Share ID

type ApiStreamVideoRequest

type ApiStreamVideoRequest struct {
	ApiService *MediaAPIService
	// contains filtered or unexported fields
}

func (ApiStreamVideoRequest) Execute

func (r ApiStreamVideoRequest) Execute() (*http.Response, error)

type ApiUnTrashFilesRequest

type ApiUnTrashFilesRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiUnTrashFilesRequest) Execute

func (r ApiUnTrashFilesRequest) Execute() (*http.Response, error)

func (ApiUnTrashFilesRequest) Request

Un-trash files request body

type ApiUpdateFileRequest

type ApiUpdateFileRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateFileRequest) Execute

func (r ApiUpdateFileRequest) Execute() (*http.Response, error)

func (ApiUpdateFileRequest) Request

Update file request body

func (ApiUpdateFileRequest) ShareID

Share ID

type ApiUpdateShareAccessorPermissionsRequest

type ApiUpdateShareAccessorPermissionsRequest struct {
	ApiService *ShareAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateShareAccessorPermissionsRequest) Execute

func (ApiUpdateShareAccessorPermissionsRequest) Request

Share Permissions Params

type ApiUpdateUserPasswordRequest

type ApiUpdateUserPasswordRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateUserPasswordRequest) Execute

func (ApiUpdateUserPasswordRequest) PasswordUpdateParams

func (r ApiUpdateUserPasswordRequest) PasswordUpdateParams(passwordUpdateParams PasswordUpdateParams) ApiUpdateUserPasswordRequest

Password update params

type ApiUploadFileChunkRequest

type ApiUploadFileChunkRequest struct {
	ApiService *FilesAPIService
	// contains filtered or unexported fields
}

func (ApiUploadFileChunkRequest) Chunk

File chunk

func (ApiUploadFileChunkRequest) Execute

func (r ApiUploadFileChunkRequest) Execute() (*http.Response, error)

func (ApiUploadFileChunkRequest) ShareID

Share ID

type BackupInfo

type BackupInfo struct {
	FileHistory    []FileActionInfo  `json:"fileHistory,omitempty"`
	Instances      []TowerInfo       `json:"instances,omitempty"`
	LifetimesCount *int32            `json:"lifetimesCount,omitempty"`
	Tokens         []TokenInfo       `json:"tokens,omitempty"`
	Users          []UserInfoArchive `json:"users,omitempty"`
}

BackupInfo struct for BackupInfo

func NewBackupInfo

func NewBackupInfo() *BackupInfo

NewBackupInfo instantiates a new BackupInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupInfoWithDefaults

func NewBackupInfoWithDefaults() *BackupInfo

NewBackupInfoWithDefaults instantiates a new BackupInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupInfo) GetFileHistory

func (o *BackupInfo) GetFileHistory() []FileActionInfo

GetFileHistory returns the FileHistory field value if set, zero value otherwise.

func (*BackupInfo) GetFileHistoryOk

func (o *BackupInfo) GetFileHistoryOk() ([]FileActionInfo, bool)

GetFileHistoryOk returns a tuple with the FileHistory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupInfo) GetInstances

func (o *BackupInfo) GetInstances() []TowerInfo

GetInstances returns the Instances field value if set, zero value otherwise.

func (*BackupInfo) GetInstancesOk

func (o *BackupInfo) GetInstancesOk() ([]TowerInfo, bool)

GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupInfo) GetLifetimesCount

func (o *BackupInfo) GetLifetimesCount() int32

GetLifetimesCount returns the LifetimesCount field value if set, zero value otherwise.

func (*BackupInfo) GetLifetimesCountOk

func (o *BackupInfo) GetLifetimesCountOk() (*int32, bool)

GetLifetimesCountOk returns a tuple with the LifetimesCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupInfo) GetTokens

func (o *BackupInfo) GetTokens() []TokenInfo

GetTokens returns the Tokens field value if set, zero value otherwise.

func (*BackupInfo) GetTokensOk

func (o *BackupInfo) GetTokensOk() ([]TokenInfo, bool)

GetTokensOk returns a tuple with the Tokens field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupInfo) GetUsers

func (o *BackupInfo) GetUsers() []UserInfoArchive

GetUsers returns the Users field value if set, zero value otherwise.

func (*BackupInfo) GetUsersOk

func (o *BackupInfo) GetUsersOk() ([]UserInfoArchive, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupInfo) HasFileHistory

func (o *BackupInfo) HasFileHistory() bool

HasFileHistory returns a boolean if a field has been set.

func (*BackupInfo) HasInstances

func (o *BackupInfo) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*BackupInfo) HasLifetimesCount

func (o *BackupInfo) HasLifetimesCount() bool

HasLifetimesCount returns a boolean if a field has been set.

func (*BackupInfo) HasTokens

func (o *BackupInfo) HasTokens() bool

HasTokens returns a boolean if a field has been set.

func (*BackupInfo) HasUsers

func (o *BackupInfo) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (BackupInfo) MarshalJSON

func (o BackupInfo) MarshalJSON() ([]byte, error)

func (*BackupInfo) SetFileHistory

func (o *BackupInfo) SetFileHistory(v []FileActionInfo)

SetFileHistory gets a reference to the given []FileActionInfo and assigns it to the FileHistory field.

func (*BackupInfo) SetInstances

func (o *BackupInfo) SetInstances(v []TowerInfo)

SetInstances gets a reference to the given []TowerInfo and assigns it to the Instances field.

func (*BackupInfo) SetLifetimesCount

func (o *BackupInfo) SetLifetimesCount(v int32)

SetLifetimesCount gets a reference to the given int32 and assigns it to the LifetimesCount field.

func (*BackupInfo) SetTokens

func (o *BackupInfo) SetTokens(v []TokenInfo)

SetTokens gets a reference to the given []TokenInfo and assigns it to the Tokens field.

func (*BackupInfo) SetUsers

func (o *BackupInfo) SetUsers(v []UserInfoArchive)

SetUsers gets a reference to the given []UserInfoArchive and assigns it to the Users field.

func (BackupInfo) ToMap

func (o BackupInfo) ToMap() (map[string]interface{}, error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Bundle

type Bundle struct {
	AuthAllowRegistrations     *bool `json:"auth.allow_registrations,omitempty"`
	MediaHdirProcessingEnabled *bool `json:"media.hdir_processing_enabled,omitempty"`
}

Bundle struct for Bundle

func NewBundle

func NewBundle() *Bundle

NewBundle instantiates a new Bundle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBundleWithDefaults

func NewBundleWithDefaults() *Bundle

NewBundleWithDefaults instantiates a new Bundle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Bundle) GetAuthAllowRegistrations

func (o *Bundle) GetAuthAllowRegistrations() bool

GetAuthAllowRegistrations returns the AuthAllowRegistrations field value if set, zero value otherwise.

func (*Bundle) GetAuthAllowRegistrationsOk

func (o *Bundle) GetAuthAllowRegistrationsOk() (*bool, bool)

GetAuthAllowRegistrationsOk returns a tuple with the AuthAllowRegistrations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Bundle) GetMediaHdirProcessingEnabled

func (o *Bundle) GetMediaHdirProcessingEnabled() bool

GetMediaHdirProcessingEnabled returns the MediaHdirProcessingEnabled field value if set, zero value otherwise.

func (*Bundle) GetMediaHdirProcessingEnabledOk

func (o *Bundle) GetMediaHdirProcessingEnabledOk() (*bool, bool)

GetMediaHdirProcessingEnabledOk returns a tuple with the MediaHdirProcessingEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Bundle) HasAuthAllowRegistrations

func (o *Bundle) HasAuthAllowRegistrations() bool

HasAuthAllowRegistrations returns a boolean if a field has been set.

func (*Bundle) HasMediaHdirProcessingEnabled

func (o *Bundle) HasMediaHdirProcessingEnabled() bool

HasMediaHdirProcessingEnabled returns a boolean if a field has been set.

func (Bundle) MarshalJSON

func (o Bundle) MarshalJSON() ([]byte, error)

func (*Bundle) SetAuthAllowRegistrations

func (o *Bundle) SetAuthAllowRegistrations(v bool)

SetAuthAllowRegistrations gets a reference to the given bool and assigns it to the AuthAllowRegistrations field.

func (*Bundle) SetMediaHdirProcessingEnabled

func (o *Bundle) SetMediaHdirProcessingEnabled(v bool)

SetMediaHdirProcessingEnabled gets a reference to the given bool and assigns it to the MediaHdirProcessingEnabled field.

func (Bundle) ToMap

func (o Bundle) ToMap() (map[string]interface{}, error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateFolderBody

type CreateFolderBody struct {
	Children       []string `json:"children,omitempty"`
	NewFolderName  string   `json:"newFolderName"`
	ParentFolderID string   `json:"parentFolderID"`
}

CreateFolderBody struct for CreateFolderBody

func NewCreateFolderBody

func NewCreateFolderBody(newFolderName string, parentFolderID string) *CreateFolderBody

NewCreateFolderBody instantiates a new CreateFolderBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFolderBodyWithDefaults

func NewCreateFolderBodyWithDefaults() *CreateFolderBody

NewCreateFolderBodyWithDefaults instantiates a new CreateFolderBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFolderBody) GetChildren

func (o *CreateFolderBody) GetChildren() []string

GetChildren returns the Children field value if set, zero value otherwise.

func (*CreateFolderBody) GetChildrenOk

func (o *CreateFolderBody) GetChildrenOk() ([]string, bool)

GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFolderBody) GetNewFolderName

func (o *CreateFolderBody) GetNewFolderName() string

GetNewFolderName returns the NewFolderName field value

func (*CreateFolderBody) GetNewFolderNameOk

func (o *CreateFolderBody) GetNewFolderNameOk() (*string, bool)

GetNewFolderNameOk returns a tuple with the NewFolderName field value and a boolean to check if the value has been set.

func (*CreateFolderBody) GetParentFolderID

func (o *CreateFolderBody) GetParentFolderID() string

GetParentFolderID returns the ParentFolderID field value

func (*CreateFolderBody) GetParentFolderIDOk

func (o *CreateFolderBody) GetParentFolderIDOk() (*string, bool)

GetParentFolderIDOk returns a tuple with the ParentFolderID field value and a boolean to check if the value has been set.

func (*CreateFolderBody) HasChildren

func (o *CreateFolderBody) HasChildren() bool

HasChildren returns a boolean if a field has been set.

func (CreateFolderBody) MarshalJSON

func (o CreateFolderBody) MarshalJSON() ([]byte, error)

func (*CreateFolderBody) SetChildren

func (o *CreateFolderBody) SetChildren(v []string)

SetChildren gets a reference to the given []string and assigns it to the Children field.

func (*CreateFolderBody) SetNewFolderName

func (o *CreateFolderBody) SetNewFolderName(v string)

SetNewFolderName sets field value

func (*CreateFolderBody) SetParentFolderID

func (o *CreateFolderBody) SetParentFolderID(v string)

SetParentFolderID sets field value

func (CreateFolderBody) ToMap

func (o CreateFolderBody) ToMap() (map[string]interface{}, error)

func (*CreateFolderBody) UnmarshalJSON

func (o *CreateFolderBody) UnmarshalJSON(data []byte) (err error)

type FeatureFlagsAPIService

type FeatureFlagsAPIService service

FeatureFlagsAPIService FeatureFlagsAPI service

func (*FeatureFlagsAPIService) GetFlags

GetFlags Get Feature Flags

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetFlagsRequest

func (*FeatureFlagsAPIService) GetFlagsExecute

func (a *FeatureFlagsAPIService) GetFlagsExecute(r ApiGetFlagsRequest) (*Bundle, *http.Response, error)

Execute executes the request

@return Bundle

func (*FeatureFlagsAPIService) SetFlags

SetFlags Set Feature Flags

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetFlagsRequest

func (*FeatureFlagsAPIService) SetFlagsExecute

func (a *FeatureFlagsAPIService) SetFlagsExecute(r ApiSetFlagsRequest) (*http.Response, error)

Execute executes the request

type FileActionInfo

type FileActionInfo struct {
	ActionType      string  `json:"actionType"`
	ContentID       *string `json:"contentID,omitempty"`
	DestinationPath *string `json:"destinationPath,omitempty"`
	EventID         string  `json:"eventID"`
	FileID          string  `json:"fileID"`
	Filepath        *string `json:"filepath,omitempty"`
	OriginPath      *string `json:"originPath,omitempty"`
	ParentID        string  `json:"parentID"`
	Size            int64   `json:"size"`
	Timestamp       int64   `json:"timestamp"`
	TowerID         string  `json:"towerID"`
}

FileActionInfo struct for FileActionInfo

func NewFileActionInfo

func NewFileActionInfo(actionType string, eventID string, fileID string, parentID string, size int64, timestamp int64, towerID string) *FileActionInfo

NewFileActionInfo instantiates a new FileActionInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFileActionInfoWithDefaults

func NewFileActionInfoWithDefaults() *FileActionInfo

NewFileActionInfoWithDefaults instantiates a new FileActionInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FileActionInfo) GetActionType

func (o *FileActionInfo) GetActionType() string

GetActionType returns the ActionType field value

func (*FileActionInfo) GetActionTypeOk

func (o *FileActionInfo) GetActionTypeOk() (*string, bool)

GetActionTypeOk returns a tuple with the ActionType field value and a boolean to check if the value has been set.

func (*FileActionInfo) GetContentID

func (o *FileActionInfo) GetContentID() string

GetContentID returns the ContentID field value if set, zero value otherwise.

func (*FileActionInfo) GetContentIDOk

func (o *FileActionInfo) GetContentIDOk() (*string, bool)

GetContentIDOk returns a tuple with the ContentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileActionInfo) GetDestinationPath

func (o *FileActionInfo) GetDestinationPath() string

GetDestinationPath returns the DestinationPath field value if set, zero value otherwise.

func (*FileActionInfo) GetDestinationPathOk

func (o *FileActionInfo) GetDestinationPathOk() (*string, bool)

GetDestinationPathOk returns a tuple with the DestinationPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileActionInfo) GetEventID

func (o *FileActionInfo) GetEventID() string

GetEventID returns the EventID field value

func (*FileActionInfo) GetEventIDOk

func (o *FileActionInfo) GetEventIDOk() (*string, bool)

GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.

func (*FileActionInfo) GetFileID

func (o *FileActionInfo) GetFileID() string

GetFileID returns the FileID field value

func (*FileActionInfo) GetFileIDOk

func (o *FileActionInfo) GetFileIDOk() (*string, bool)

GetFileIDOk returns a tuple with the FileID field value and a boolean to check if the value has been set.

func (*FileActionInfo) GetFilepath

func (o *FileActionInfo) GetFilepath() string

GetFilepath returns the Filepath field value if set, zero value otherwise.

func (*FileActionInfo) GetFilepathOk

func (o *FileActionInfo) GetFilepathOk() (*string, bool)

GetFilepathOk returns a tuple with the Filepath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileActionInfo) GetOriginPath

func (o *FileActionInfo) GetOriginPath() string

GetOriginPath returns the OriginPath field value if set, zero value otherwise.

func (*FileActionInfo) GetOriginPathOk

func (o *FileActionInfo) GetOriginPathOk() (*string, bool)

GetOriginPathOk returns a tuple with the OriginPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileActionInfo) GetParentID

func (o *FileActionInfo) GetParentID() string

GetParentID returns the ParentID field value

func (*FileActionInfo) GetParentIDOk

func (o *FileActionInfo) GetParentIDOk() (*string, bool)

GetParentIDOk returns a tuple with the ParentID field value and a boolean to check if the value has been set.

func (*FileActionInfo) GetSize

func (o *FileActionInfo) GetSize() int64

GetSize returns the Size field value

func (*FileActionInfo) GetSizeOk

func (o *FileActionInfo) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (*FileActionInfo) GetTimestamp

func (o *FileActionInfo) GetTimestamp() int64

GetTimestamp returns the Timestamp field value

func (*FileActionInfo) GetTimestampOk

func (o *FileActionInfo) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*FileActionInfo) GetTowerID

func (o *FileActionInfo) GetTowerID() string

GetTowerID returns the TowerID field value

func (*FileActionInfo) GetTowerIDOk

func (o *FileActionInfo) GetTowerIDOk() (*string, bool)

GetTowerIDOk returns a tuple with the TowerID field value and a boolean to check if the value has been set.

func (*FileActionInfo) HasContentID

func (o *FileActionInfo) HasContentID() bool

HasContentID returns a boolean if a field has been set.

func (*FileActionInfo) HasDestinationPath

func (o *FileActionInfo) HasDestinationPath() bool

HasDestinationPath returns a boolean if a field has been set.

func (*FileActionInfo) HasFilepath

func (o *FileActionInfo) HasFilepath() bool

HasFilepath returns a boolean if a field has been set.

func (*FileActionInfo) HasOriginPath

func (o *FileActionInfo) HasOriginPath() bool

HasOriginPath returns a boolean if a field has been set.

func (FileActionInfo) MarshalJSON

func (o FileActionInfo) MarshalJSON() ([]byte, error)

func (*FileActionInfo) SetActionType

func (o *FileActionInfo) SetActionType(v string)

SetActionType sets field value

func (*FileActionInfo) SetContentID

func (o *FileActionInfo) SetContentID(v string)

SetContentID gets a reference to the given string and assigns it to the ContentID field.

func (*FileActionInfo) SetDestinationPath

func (o *FileActionInfo) SetDestinationPath(v string)

SetDestinationPath gets a reference to the given string and assigns it to the DestinationPath field.

func (*FileActionInfo) SetEventID

func (o *FileActionInfo) SetEventID(v string)

SetEventID sets field value

func (*FileActionInfo) SetFileID

func (o *FileActionInfo) SetFileID(v string)

SetFileID sets field value

func (*FileActionInfo) SetFilepath

func (o *FileActionInfo) SetFilepath(v string)

SetFilepath gets a reference to the given string and assigns it to the Filepath field.

func (*FileActionInfo) SetOriginPath

func (o *FileActionInfo) SetOriginPath(v string)

SetOriginPath gets a reference to the given string and assigns it to the OriginPath field.

func (*FileActionInfo) SetParentID

func (o *FileActionInfo) SetParentID(v string)

SetParentID sets field value

func (*FileActionInfo) SetSize

func (o *FileActionInfo) SetSize(v int64)

SetSize sets field value

func (*FileActionInfo) SetTimestamp

func (o *FileActionInfo) SetTimestamp(v int64)

SetTimestamp sets field value

func (*FileActionInfo) SetTowerID

func (o *FileActionInfo) SetTowerID(v string)

SetTowerID sets field value

func (FileActionInfo) ToMap

func (o FileActionInfo) ToMap() (map[string]interface{}, error)

func (*FileActionInfo) UnmarshalJSON

func (o *FileActionInfo) UnmarshalJSON(data []byte) (err error)

type FileInfo

type FileInfo struct {
	ChildrenIds     []string         `json:"childrenIds,omitempty"`
	ContentID       *string          `json:"contentID,omitempty"`
	HasRestoreMedia *bool            `json:"hasRestoreMedia,omitempty"`
	Id              *string          `json:"id,omitempty"`
	IsDir           *bool            `json:"isDir,omitempty"`
	Modifiable      *bool            `json:"modifiable,omitempty"`
	ModifyTimestamp *int64           `json:"modifyTimestamp,omitempty"`
	Owner           *string          `json:"owner,omitempty"`
	ParentID        *string          `json:"parentID,omitempty"`
	PastFile        *bool            `json:"pastFile,omitempty"`
	Permissions     *PermissionsInfo `json:"permissions,omitempty"`
	PortablePath    *string          `json:"portablePath,omitempty"`
	ShareID         *string          `json:"shareID,omitempty"`
	Size            *int64           `json:"size,omitempty"`
}

FileInfo struct for FileInfo

func NewFileInfo

func NewFileInfo() *FileInfo

NewFileInfo instantiates a new FileInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFileInfoWithDefaults

func NewFileInfoWithDefaults() *FileInfo

NewFileInfoWithDefaults instantiates a new FileInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FileInfo) GetChildrenIds

func (o *FileInfo) GetChildrenIds() []string

GetChildrenIds returns the ChildrenIds field value if set, zero value otherwise.

func (*FileInfo) GetChildrenIdsOk

func (o *FileInfo) GetChildrenIdsOk() ([]string, bool)

GetChildrenIdsOk returns a tuple with the ChildrenIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetContentID

func (o *FileInfo) GetContentID() string

GetContentID returns the ContentID field value if set, zero value otherwise.

func (*FileInfo) GetContentIDOk

func (o *FileInfo) GetContentIDOk() (*string, bool)

GetContentIDOk returns a tuple with the ContentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetHasRestoreMedia

func (o *FileInfo) GetHasRestoreMedia() bool

GetHasRestoreMedia returns the HasRestoreMedia field value if set, zero value otherwise.

func (*FileInfo) GetHasRestoreMediaOk

func (o *FileInfo) GetHasRestoreMediaOk() (*bool, bool)

GetHasRestoreMediaOk returns a tuple with the HasRestoreMedia field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetId

func (o *FileInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*FileInfo) GetIdOk

func (o *FileInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetIsDir

func (o *FileInfo) GetIsDir() bool

GetIsDir returns the IsDir field value if set, zero value otherwise.

func (*FileInfo) GetIsDirOk

func (o *FileInfo) GetIsDirOk() (*bool, bool)

GetIsDirOk returns a tuple with the IsDir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetModifiable

func (o *FileInfo) GetModifiable() bool

GetModifiable returns the Modifiable field value if set, zero value otherwise.

func (*FileInfo) GetModifiableOk

func (o *FileInfo) GetModifiableOk() (*bool, bool)

GetModifiableOk returns a tuple with the Modifiable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetModifyTimestamp

func (o *FileInfo) GetModifyTimestamp() int64

GetModifyTimestamp returns the ModifyTimestamp field value if set, zero value otherwise.

func (*FileInfo) GetModifyTimestampOk

func (o *FileInfo) GetModifyTimestampOk() (*int64, bool)

GetModifyTimestampOk returns a tuple with the ModifyTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetOwner

func (o *FileInfo) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*FileInfo) GetOwnerOk

func (o *FileInfo) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetParentID

func (o *FileInfo) GetParentID() string

GetParentID returns the ParentID field value if set, zero value otherwise.

func (*FileInfo) GetParentIDOk

func (o *FileInfo) GetParentIDOk() (*string, bool)

GetParentIDOk returns a tuple with the ParentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetPastFile

func (o *FileInfo) GetPastFile() bool

GetPastFile returns the PastFile field value if set, zero value otherwise.

func (*FileInfo) GetPastFileOk

func (o *FileInfo) GetPastFileOk() (*bool, bool)

GetPastFileOk returns a tuple with the PastFile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetPermissions

func (o *FileInfo) GetPermissions() PermissionsInfo

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*FileInfo) GetPermissionsOk

func (o *FileInfo) GetPermissionsOk() (*PermissionsInfo, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetPortablePath

func (o *FileInfo) GetPortablePath() string

GetPortablePath returns the PortablePath field value if set, zero value otherwise.

func (*FileInfo) GetPortablePathOk

func (o *FileInfo) GetPortablePathOk() (*string, bool)

GetPortablePathOk returns a tuple with the PortablePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetShareID

func (o *FileInfo) GetShareID() string

GetShareID returns the ShareID field value if set, zero value otherwise.

func (*FileInfo) GetShareIDOk

func (o *FileInfo) GetShareIDOk() (*string, bool)

GetShareIDOk returns a tuple with the ShareID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) GetSize

func (o *FileInfo) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*FileInfo) GetSizeOk

func (o *FileInfo) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileInfo) HasChildrenIds

func (o *FileInfo) HasChildrenIds() bool

HasChildrenIds returns a boolean if a field has been set.

func (*FileInfo) HasContentID

func (o *FileInfo) HasContentID() bool

HasContentID returns a boolean if a field has been set.

func (*FileInfo) HasHasRestoreMedia

func (o *FileInfo) HasHasRestoreMedia() bool

HasHasRestoreMedia returns a boolean if a field has been set.

func (*FileInfo) HasId

func (o *FileInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (*FileInfo) HasIsDir

func (o *FileInfo) HasIsDir() bool

HasIsDir returns a boolean if a field has been set.

func (*FileInfo) HasModifiable

func (o *FileInfo) HasModifiable() bool

HasModifiable returns a boolean if a field has been set.

func (*FileInfo) HasModifyTimestamp

func (o *FileInfo) HasModifyTimestamp() bool

HasModifyTimestamp returns a boolean if a field has been set.

func (*FileInfo) HasOwner

func (o *FileInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*FileInfo) HasParentID

func (o *FileInfo) HasParentID() bool

HasParentID returns a boolean if a field has been set.

func (*FileInfo) HasPastFile

func (o *FileInfo) HasPastFile() bool

HasPastFile returns a boolean if a field has been set.

func (*FileInfo) HasPermissions

func (o *FileInfo) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*FileInfo) HasPortablePath

func (o *FileInfo) HasPortablePath() bool

HasPortablePath returns a boolean if a field has been set.

func (*FileInfo) HasShareID

func (o *FileInfo) HasShareID() bool

HasShareID returns a boolean if a field has been set.

func (*FileInfo) HasSize

func (o *FileInfo) HasSize() bool

HasSize returns a boolean if a field has been set.

func (FileInfo) MarshalJSON

func (o FileInfo) MarshalJSON() ([]byte, error)

func (*FileInfo) SetChildrenIds

func (o *FileInfo) SetChildrenIds(v []string)

SetChildrenIds gets a reference to the given []string and assigns it to the ChildrenIds field.

func (*FileInfo) SetContentID

func (o *FileInfo) SetContentID(v string)

SetContentID gets a reference to the given string and assigns it to the ContentID field.

func (*FileInfo) SetHasRestoreMedia

func (o *FileInfo) SetHasRestoreMedia(v bool)

SetHasRestoreMedia gets a reference to the given bool and assigns it to the HasRestoreMedia field.

func (*FileInfo) SetId

func (o *FileInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FileInfo) SetIsDir

func (o *FileInfo) SetIsDir(v bool)

SetIsDir gets a reference to the given bool and assigns it to the IsDir field.

func (*FileInfo) SetModifiable

func (o *FileInfo) SetModifiable(v bool)

SetModifiable gets a reference to the given bool and assigns it to the Modifiable field.

func (*FileInfo) SetModifyTimestamp

func (o *FileInfo) SetModifyTimestamp(v int64)

SetModifyTimestamp gets a reference to the given int64 and assigns it to the ModifyTimestamp field.

func (*FileInfo) SetOwner

func (o *FileInfo) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*FileInfo) SetParentID

func (o *FileInfo) SetParentID(v string)

SetParentID gets a reference to the given string and assigns it to the ParentID field.

func (*FileInfo) SetPastFile

func (o *FileInfo) SetPastFile(v bool)

SetPastFile gets a reference to the given bool and assigns it to the PastFile field.

func (*FileInfo) SetPermissions

func (o *FileInfo) SetPermissions(v PermissionsInfo)

SetPermissions gets a reference to the given PermissionsInfo and assigns it to the Permissions field.

func (*FileInfo) SetPortablePath

func (o *FileInfo) SetPortablePath(v string)

SetPortablePath gets a reference to the given string and assigns it to the PortablePath field.

func (*FileInfo) SetShareID

func (o *FileInfo) SetShareID(v string)

SetShareID gets a reference to the given string and assigns it to the ShareID field.

func (*FileInfo) SetSize

func (o *FileInfo) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (FileInfo) ToMap

func (o FileInfo) ToMap() (map[string]interface{}, error)

type FileShareParams

type FileShareParams struct {
	FileID       *string  `json:"fileID,omitempty"`
	Public       *bool    `json:"public,omitempty"`
	TimelineOnly *bool    `json:"timelineOnly,omitempty"`
	Users        []string `json:"users,omitempty"`
	Wormhole     *bool    `json:"wormhole,omitempty"`
}

FileShareParams struct for FileShareParams

func NewFileShareParams

func NewFileShareParams() *FileShareParams

NewFileShareParams instantiates a new FileShareParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFileShareParamsWithDefaults

func NewFileShareParamsWithDefaults() *FileShareParams

NewFileShareParamsWithDefaults instantiates a new FileShareParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FileShareParams) GetFileID

func (o *FileShareParams) GetFileID() string

GetFileID returns the FileID field value if set, zero value otherwise.

func (*FileShareParams) GetFileIDOk

func (o *FileShareParams) GetFileIDOk() (*string, bool)

GetFileIDOk returns a tuple with the FileID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileShareParams) GetPublic

func (o *FileShareParams) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*FileShareParams) GetPublicOk

func (o *FileShareParams) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileShareParams) GetTimelineOnly

func (o *FileShareParams) GetTimelineOnly() bool

GetTimelineOnly returns the TimelineOnly field value if set, zero value otherwise.

func (*FileShareParams) GetTimelineOnlyOk

func (o *FileShareParams) GetTimelineOnlyOk() (*bool, bool)

GetTimelineOnlyOk returns a tuple with the TimelineOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileShareParams) GetUsers

func (o *FileShareParams) GetUsers() []string

GetUsers returns the Users field value if set, zero value otherwise.

func (*FileShareParams) GetUsersOk

func (o *FileShareParams) GetUsersOk() ([]string, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileShareParams) GetWormhole

func (o *FileShareParams) GetWormhole() bool

GetWormhole returns the Wormhole field value if set, zero value otherwise.

func (*FileShareParams) GetWormholeOk

func (o *FileShareParams) GetWormholeOk() (*bool, bool)

GetWormholeOk returns a tuple with the Wormhole field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileShareParams) HasFileID

func (o *FileShareParams) HasFileID() bool

HasFileID returns a boolean if a field has been set.

func (*FileShareParams) HasPublic

func (o *FileShareParams) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*FileShareParams) HasTimelineOnly

func (o *FileShareParams) HasTimelineOnly() bool

HasTimelineOnly returns a boolean if a field has been set.

func (*FileShareParams) HasUsers

func (o *FileShareParams) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (*FileShareParams) HasWormhole

func (o *FileShareParams) HasWormhole() bool

HasWormhole returns a boolean if a field has been set.

func (FileShareParams) MarshalJSON

func (o FileShareParams) MarshalJSON() ([]byte, error)

func (*FileShareParams) SetFileID

func (o *FileShareParams) SetFileID(v string)

SetFileID gets a reference to the given string and assigns it to the FileID field.

func (*FileShareParams) SetPublic

func (o *FileShareParams) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*FileShareParams) SetTimelineOnly

func (o *FileShareParams) SetTimelineOnly(v bool)

SetTimelineOnly gets a reference to the given bool and assigns it to the TimelineOnly field.

func (*FileShareParams) SetUsers

func (o *FileShareParams) SetUsers(v []string)

SetUsers gets a reference to the given []string and assigns it to the Users field.

func (*FileShareParams) SetWormhole

func (o *FileShareParams) SetWormhole(v bool)

SetWormhole gets a reference to the given bool and assigns it to the Wormhole field.

func (FileShareParams) ToMap

func (o FileShareParams) ToMap() (map[string]interface{}, error)

type FilesAPIService

type FilesAPIService service

FilesAPIService FilesAPI service

func (*FilesAPIService) AddFilesToUpload

func (a *FilesAPIService) AddFilesToUpload(ctx context.Context, uploadID string) ApiAddFilesToUploadRequest

AddFilesToUpload Add a file to an upload task

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uploadID Upload ID
@return ApiAddFilesToUploadRequest

func (*FilesAPIService) AddFilesToUploadExecute

func (a *FilesAPIService) AddFilesToUploadExecute(r ApiAddFilesToUploadRequest) (*NewFilesInfo, *http.Response, error)

Execute executes the request

@return NewFilesInfo

func (*FilesAPIService) AutocompletePath

func (a *FilesAPIService) AutocompletePath(ctx context.Context) ApiAutocompletePathRequest

AutocompletePath Get path completion suggestions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAutocompletePathRequest

func (*FilesAPIService) AutocompletePathExecute

func (a *FilesAPIService) AutocompletePathExecute(r ApiAutocompletePathRequest) (*FolderInfo, *http.Response, error)

Execute executes the request

@return FolderInfo

func (*FilesAPIService) ClearZipCache

ClearZipCache Clear all cached zip files

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiClearZipCacheRequest

func (*FilesAPIService) ClearZipCacheExecute

func (a *FilesAPIService) ClearZipCacheExecute(r ApiClearZipCacheRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) CreateTakeout

CreateTakeout Create a zip file

Dispatch a task to create a zip file of the given files, or get the id of a previously created zip file if it already exists

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTakeoutRequest

func (*FilesAPIService) CreateTakeoutExecute

func (a *FilesAPIService) CreateTakeoutExecute(r ApiCreateTakeoutRequest) (*TakeoutInfo, *http.Response, error)

Execute executes the request

@return TakeoutInfo

func (*FilesAPIService) DeleteFiles

DeleteFiles Delete Files \"permanently\"

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteFilesRequest

func (*FilesAPIService) DeleteFilesExecute

func (a *FilesAPIService) DeleteFilesExecute(r ApiDeleteFilesRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) DownloadFile

func (a *FilesAPIService) DownloadFile(ctx context.Context, fileID string) ApiDownloadFileRequest

DownloadFile Download a file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileID File ID
@return ApiDownloadFileRequest

func (*FilesAPIService) DownloadFileExecute

func (a *FilesAPIService) DownloadFileExecute(r ApiDownloadFileRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*FilesAPIService) GetFile

func (a *FilesAPIService) GetFile(ctx context.Context, fileID string) ApiGetFileRequest

GetFile Get information about a file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileID File ID
@return ApiGetFileRequest

func (*FilesAPIService) GetFileExecute

func (a *FilesAPIService) GetFileExecute(r ApiGetFileRequest) (*FileInfo, *http.Response, error)

Execute executes the request

@return FileInfo

func (*FilesAPIService) GetFileStats

func (a *FilesAPIService) GetFileStats(ctx context.Context, fileID string) ApiGetFileStatsRequest

GetFileStats Get the statistics of a file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileID File ID
@return ApiGetFileStatsRequest

func (*FilesAPIService) GetFileStatsExecute

func (a *FilesAPIService) GetFileStatsExecute(r ApiGetFileStatsRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) GetFileText

func (a *FilesAPIService) GetFileText(ctx context.Context, fileID string) ApiGetFileTextRequest

GetFileText Get the text of a text file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileID File ID
@return ApiGetFileTextRequest

func (*FilesAPIService) GetFileTextExecute

func (a *FilesAPIService) GetFileTextExecute(r ApiGetFileTextRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*FilesAPIService) GetSharedFiles

GetSharedFiles Get files shared with the logged in user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSharedFilesRequest

func (*FilesAPIService) GetSharedFilesExecute

func (a *FilesAPIService) GetSharedFilesExecute(r ApiGetSharedFilesRequest) (*FolderInfo, *http.Response, error)

Execute executes the request

@return FolderInfo

func (*FilesAPIService) GetUploadResult

func (a *FilesAPIService) GetUploadResult(ctx context.Context, uploadID string) ApiGetUploadResultRequest

GetUploadResult Get the result of an upload task. This will block until the upload is complete

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uploadID Upload ID
@return ApiGetUploadResultRequest

func (*FilesAPIService) GetUploadResultExecute

func (a *FilesAPIService) GetUploadResultExecute(r ApiGetUploadResultRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) MoveFiles

MoveFiles Move a list of files to a new parent folder

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMoveFilesRequest

func (*FilesAPIService) MoveFilesExecute

func (a *FilesAPIService) MoveFilesExecute(r ApiMoveFilesRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) RestoreFiles

RestoreFiles structsore files from some time in the past

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRestoreFilesRequest

func (*FilesAPIService) RestoreFilesExecute

Execute executes the request

@return RestoreFilesInfo

func (*FilesAPIService) SearchByFilename

func (a *FilesAPIService) SearchByFilename(ctx context.Context) ApiSearchByFilenameRequest

SearchByFilename Search for files by filename

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchByFilenameRequest

func (*FilesAPIService) SearchByFilenameExecute

func (a *FilesAPIService) SearchByFilenameExecute(r ApiSearchByFilenameRequest) ([]FileInfo, *http.Response, error)

Execute executes the request

@return []FileInfo

func (*FilesAPIService) StartUpload

StartUpload Begin a new upload task

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStartUploadRequest

func (*FilesAPIService) StartUploadExecute

func (a *FilesAPIService) StartUploadExecute(r ApiStartUploadRequest) (*NewUploadInfo, *http.Response, error)

Execute executes the request

@return NewUploadInfo

func (*FilesAPIService) UnTrashFiles

UnTrashFiles Move a list of files out of the trash, structsoring them to where they were before

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUnTrashFilesRequest

func (*FilesAPIService) UnTrashFilesExecute

func (a *FilesAPIService) UnTrashFilesExecute(r ApiUnTrashFilesRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) UpdateFile

func (a *FilesAPIService) UpdateFile(ctx context.Context, fileID string) ApiUpdateFileRequest

UpdateFile Update a File

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileID File ID
@return ApiUpdateFileRequest

func (*FilesAPIService) UpdateFileExecute

func (a *FilesAPIService) UpdateFileExecute(r ApiUpdateFileRequest) (*http.Response, error)

Execute executes the request

func (*FilesAPIService) UploadFileChunk

func (a *FilesAPIService) UploadFileChunk(ctx context.Context, uploadID string, fileID string) ApiUploadFileChunkRequest

UploadFileChunk Add a chunk to a file upload

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uploadID Upload ID
@param fileID File ID
@return ApiUploadFileChunkRequest

func (*FilesAPIService) UploadFileChunkExecute

func (a *FilesAPIService) UploadFileChunkExecute(r ApiUploadFileChunkRequest) (*http.Response, error)

Execute executes the request

type FilesListParams

type FilesListParams struct {
	FileIDs []string `json:"fileIDs,omitempty"`
}

FilesListParams struct for FilesListParams

func NewFilesListParams

func NewFilesListParams() *FilesListParams

NewFilesListParams instantiates a new FilesListParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFilesListParamsWithDefaults

func NewFilesListParamsWithDefaults() *FilesListParams

NewFilesListParamsWithDefaults instantiates a new FilesListParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FilesListParams) GetFileIDs

func (o *FilesListParams) GetFileIDs() []string

GetFileIDs returns the FileIDs field value if set, zero value otherwise.

func (*FilesListParams) GetFileIDsOk

func (o *FilesListParams) GetFileIDsOk() ([]string, bool)

GetFileIDsOk returns a tuple with the FileIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FilesListParams) HasFileIDs

func (o *FilesListParams) HasFileIDs() bool

HasFileIDs returns a boolean if a field has been set.

func (FilesListParams) MarshalJSON

func (o FilesListParams) MarshalJSON() ([]byte, error)

func (*FilesListParams) SetFileIDs

func (o *FilesListParams) SetFileIDs(v []string)

SetFileIDs gets a reference to the given []string and assigns it to the FileIDs field.

func (FilesListParams) ToMap

func (o FilesListParams) ToMap() (map[string]interface{}, error)

type FolderAPIService

type FolderAPIService service

FolderAPIService FolderAPI service

func (*FolderAPIService) CreateFolder

CreateFolder Create a new folder

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateFolderRequest

func (*FolderAPIService) CreateFolderExecute

func (a *FolderAPIService) CreateFolderExecute(r ApiCreateFolderRequest) (*FileInfo, *http.Response, error)

Execute executes the request

@return FileInfo

func (*FolderAPIService) GetFolder

func (a *FolderAPIService) GetFolder(ctx context.Context, folderID string) ApiGetFolderRequest

GetFolder Get a folder

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param folderID Folder ID
@return ApiGetFolderRequest

func (*FolderAPIService) GetFolderExecute

func (a *FolderAPIService) GetFolderExecute(r ApiGetFolderRequest) (*FolderInfo, *http.Response, error)

Execute executes the request

@return FolderInfo

func (*FolderAPIService) GetFolderHistory

func (a *FolderAPIService) GetFolderHistory(ctx context.Context, fileID string) ApiGetFolderHistoryRequest

GetFolderHistory Get actions of a folder at a given time

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileID File ID
@return ApiGetFolderHistoryRequest

func (*FolderAPIService) GetFolderHistoryExecute

func (a *FolderAPIService) GetFolderHistoryExecute(r ApiGetFolderHistoryRequest) ([]FileActionInfo, *http.Response, error)

Execute executes the request

@return []FileActionInfo

func (*FolderAPIService) ScanFolder

func (a *FolderAPIService) ScanFolder(ctx context.Context, folderID string) ApiScanFolderRequest

ScanFolder Dispatch a folder scan

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param folderID Folder ID
@return ApiScanFolderRequest

func (*FolderAPIService) ScanFolderExecute

func (a *FolderAPIService) ScanFolderExecute(r ApiScanFolderRequest) (*TaskInfo, *http.Response, error)

Execute executes the request

@return TaskInfo

func (*FolderAPIService) SetFolderCover

func (a *FolderAPIService) SetFolderCover(ctx context.Context, folderID string) ApiSetFolderCoverRequest

SetFolderCover Set the cover image of a folder

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param folderID Folder ID
@return ApiSetFolderCoverRequest

func (*FolderAPIService) SetFolderCoverExecute

func (a *FolderAPIService) SetFolderCoverExecute(r ApiSetFolderCoverRequest) (*http.Response, error)

Execute executes the request

type FolderInfo

type FolderInfo struct {
	Children []FileInfo  `json:"children,omitempty"`
	Medias   []MediaInfo `json:"medias,omitempty"`
	Parents  []FileInfo  `json:"parents,omitempty"`
	Self     *FileInfo   `json:"self,omitempty"`
}

FolderInfo struct for FolderInfo

func NewFolderInfo

func NewFolderInfo() *FolderInfo

NewFolderInfo instantiates a new FolderInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFolderInfoWithDefaults

func NewFolderInfoWithDefaults() *FolderInfo

NewFolderInfoWithDefaults instantiates a new FolderInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FolderInfo) GetChildren

func (o *FolderInfo) GetChildren() []FileInfo

GetChildren returns the Children field value if set, zero value otherwise.

func (*FolderInfo) GetChildrenOk

func (o *FolderInfo) GetChildrenOk() ([]FileInfo, bool)

GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderInfo) GetMedias

func (o *FolderInfo) GetMedias() []MediaInfo

GetMedias returns the Medias field value if set, zero value otherwise.

func (*FolderInfo) GetMediasOk

func (o *FolderInfo) GetMediasOk() ([]MediaInfo, bool)

GetMediasOk returns a tuple with the Medias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderInfo) GetParents

func (o *FolderInfo) GetParents() []FileInfo

GetParents returns the Parents field value if set, zero value otherwise.

func (*FolderInfo) GetParentsOk

func (o *FolderInfo) GetParentsOk() ([]FileInfo, bool)

GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderInfo) GetSelf

func (o *FolderInfo) GetSelf() FileInfo

GetSelf returns the Self field value if set, zero value otherwise.

func (*FolderInfo) GetSelfOk

func (o *FolderInfo) GetSelfOk() (*FileInfo, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderInfo) HasChildren

func (o *FolderInfo) HasChildren() bool

HasChildren returns a boolean if a field has been set.

func (*FolderInfo) HasMedias

func (o *FolderInfo) HasMedias() bool

HasMedias returns a boolean if a field has been set.

func (*FolderInfo) HasParents

func (o *FolderInfo) HasParents() bool

HasParents returns a boolean if a field has been set.

func (*FolderInfo) HasSelf

func (o *FolderInfo) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (FolderInfo) MarshalJSON

func (o FolderInfo) MarshalJSON() ([]byte, error)

func (*FolderInfo) SetChildren

func (o *FolderInfo) SetChildren(v []FileInfo)

SetChildren gets a reference to the given []FileInfo and assigns it to the Children field.

func (*FolderInfo) SetMedias

func (o *FolderInfo) SetMedias(v []MediaInfo)

SetMedias gets a reference to the given []MediaInfo and assigns it to the Medias field.

func (*FolderInfo) SetParents

func (o *FolderInfo) SetParents(v []FileInfo)

SetParents gets a reference to the given []FileInfo and assigns it to the Parents field.

func (*FolderInfo) SetSelf

func (o *FolderInfo) SetSelf(v FileInfo)

SetSelf gets a reference to the given FileInfo and assigns it to the Self field.

func (FolderInfo) ToMap

func (o FolderInfo) ToMap() (map[string]interface{}, error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HistoryFileAction

type HistoryFileAction struct {
	ActionType      *string       `json:"actionType,omitempty"`
	ContentID       *string       `json:"contentID,omitempty"`
	DestinationPath *WlfsFilepath `json:"destinationPath,omitempty"`
	// The user or system that performed the action
	Doer       *string       `json:"doer,omitempty"`
	EventID    *string       `json:"eventID,omitempty"`
	FileID     *string       `json:"fileID,omitempty"`
	Filepath   *WlfsFilepath `json:"filepath,omitempty"`
	Id         *string       `json:"id,omitempty"`
	OriginPath *WlfsFilepath `json:"originPath,omitempty"`
	Size       *int32        `json:"size,omitempty"`
	Timestamp  *string       `json:"timestamp,omitempty"`
	TowerID    *string       `json:"towerID,omitempty"`
}

HistoryFileAction struct for HistoryFileAction

func NewHistoryFileAction

func NewHistoryFileAction() *HistoryFileAction

NewHistoryFileAction instantiates a new HistoryFileAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHistoryFileActionWithDefaults

func NewHistoryFileActionWithDefaults() *HistoryFileAction

NewHistoryFileActionWithDefaults instantiates a new HistoryFileAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HistoryFileAction) GetActionType

func (o *HistoryFileAction) GetActionType() string

GetActionType returns the ActionType field value if set, zero value otherwise.

func (*HistoryFileAction) GetActionTypeOk

func (o *HistoryFileAction) GetActionTypeOk() (*string, bool)

GetActionTypeOk returns a tuple with the ActionType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetContentID

func (o *HistoryFileAction) GetContentID() string

GetContentID returns the ContentID field value if set, zero value otherwise.

func (*HistoryFileAction) GetContentIDOk

func (o *HistoryFileAction) GetContentIDOk() (*string, bool)

GetContentIDOk returns a tuple with the ContentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetDestinationPath

func (o *HistoryFileAction) GetDestinationPath() WlfsFilepath

GetDestinationPath returns the DestinationPath field value if set, zero value otherwise.

func (*HistoryFileAction) GetDestinationPathOk

func (o *HistoryFileAction) GetDestinationPathOk() (*WlfsFilepath, bool)

GetDestinationPathOk returns a tuple with the DestinationPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetDoer

func (o *HistoryFileAction) GetDoer() string

GetDoer returns the Doer field value if set, zero value otherwise.

func (*HistoryFileAction) GetDoerOk

func (o *HistoryFileAction) GetDoerOk() (*string, bool)

GetDoerOk returns a tuple with the Doer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetEventID

func (o *HistoryFileAction) GetEventID() string

GetEventID returns the EventID field value if set, zero value otherwise.

func (*HistoryFileAction) GetEventIDOk

func (o *HistoryFileAction) GetEventIDOk() (*string, bool)

GetEventIDOk returns a tuple with the EventID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetFileID

func (o *HistoryFileAction) GetFileID() string

GetFileID returns the FileID field value if set, zero value otherwise.

func (*HistoryFileAction) GetFileIDOk

func (o *HistoryFileAction) GetFileIDOk() (*string, bool)

GetFileIDOk returns a tuple with the FileID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetFilepath

func (o *HistoryFileAction) GetFilepath() WlfsFilepath

GetFilepath returns the Filepath field value if set, zero value otherwise.

func (*HistoryFileAction) GetFilepathOk

func (o *HistoryFileAction) GetFilepathOk() (*WlfsFilepath, bool)

GetFilepathOk returns a tuple with the Filepath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetId

func (o *HistoryFileAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*HistoryFileAction) GetIdOk

func (o *HistoryFileAction) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetOriginPath

func (o *HistoryFileAction) GetOriginPath() WlfsFilepath

GetOriginPath returns the OriginPath field value if set, zero value otherwise.

func (*HistoryFileAction) GetOriginPathOk

func (o *HistoryFileAction) GetOriginPathOk() (*WlfsFilepath, bool)

GetOriginPathOk returns a tuple with the OriginPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetSize

func (o *HistoryFileAction) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*HistoryFileAction) GetSizeOk

func (o *HistoryFileAction) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetTimestamp

func (o *HistoryFileAction) GetTimestamp() string

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*HistoryFileAction) GetTimestampOk

func (o *HistoryFileAction) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) GetTowerID

func (o *HistoryFileAction) GetTowerID() string

GetTowerID returns the TowerID field value if set, zero value otherwise.

func (*HistoryFileAction) GetTowerIDOk

func (o *HistoryFileAction) GetTowerIDOk() (*string, bool)

GetTowerIDOk returns a tuple with the TowerID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoryFileAction) HasActionType

func (o *HistoryFileAction) HasActionType() bool

HasActionType returns a boolean if a field has been set.

func (*HistoryFileAction) HasContentID

func (o *HistoryFileAction) HasContentID() bool

HasContentID returns a boolean if a field has been set.

func (*HistoryFileAction) HasDestinationPath

func (o *HistoryFileAction) HasDestinationPath() bool

HasDestinationPath returns a boolean if a field has been set.

func (*HistoryFileAction) HasDoer

func (o *HistoryFileAction) HasDoer() bool

HasDoer returns a boolean if a field has been set.

func (*HistoryFileAction) HasEventID

func (o *HistoryFileAction) HasEventID() bool

HasEventID returns a boolean if a field has been set.

func (*HistoryFileAction) HasFileID

func (o *HistoryFileAction) HasFileID() bool

HasFileID returns a boolean if a field has been set.

func (*HistoryFileAction) HasFilepath

func (o *HistoryFileAction) HasFilepath() bool

HasFilepath returns a boolean if a field has been set.

func (*HistoryFileAction) HasId

func (o *HistoryFileAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*HistoryFileAction) HasOriginPath

func (o *HistoryFileAction) HasOriginPath() bool

HasOriginPath returns a boolean if a field has been set.

func (*HistoryFileAction) HasSize

func (o *HistoryFileAction) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*HistoryFileAction) HasTimestamp

func (o *HistoryFileAction) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*HistoryFileAction) HasTowerID

func (o *HistoryFileAction) HasTowerID() bool

HasTowerID returns a boolean if a field has been set.

func (HistoryFileAction) MarshalJSON

func (o HistoryFileAction) MarshalJSON() ([]byte, error)

func (*HistoryFileAction) SetActionType

func (o *HistoryFileAction) SetActionType(v string)

SetActionType gets a reference to the given string and assigns it to the ActionType field.

func (*HistoryFileAction) SetContentID

func (o *HistoryFileAction) SetContentID(v string)

SetContentID gets a reference to the given string and assigns it to the ContentID field.

func (*HistoryFileAction) SetDestinationPath

func (o *HistoryFileAction) SetDestinationPath(v WlfsFilepath)

SetDestinationPath gets a reference to the given WlfsFilepath and assigns it to the DestinationPath field.

func (*HistoryFileAction) SetDoer

func (o *HistoryFileAction) SetDoer(v string)

SetDoer gets a reference to the given string and assigns it to the Doer field.

func (*HistoryFileAction) SetEventID

func (o *HistoryFileAction) SetEventID(v string)

SetEventID gets a reference to the given string and assigns it to the EventID field.

func (*HistoryFileAction) SetFileID

func (o *HistoryFileAction) SetFileID(v string)

SetFileID gets a reference to the given string and assigns it to the FileID field.

func (*HistoryFileAction) SetFilepath

func (o *HistoryFileAction) SetFilepath(v WlfsFilepath)

SetFilepath gets a reference to the given WlfsFilepath and assigns it to the Filepath field.

func (*HistoryFileAction) SetId

func (o *HistoryFileAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*HistoryFileAction) SetOriginPath

func (o *HistoryFileAction) SetOriginPath(v WlfsFilepath)

SetOriginPath gets a reference to the given WlfsFilepath and assigns it to the OriginPath field.

func (*HistoryFileAction) SetSize

func (o *HistoryFileAction) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*HistoryFileAction) SetTimestamp

func (o *HistoryFileAction) SetTimestamp(v string)

SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.

func (*HistoryFileAction) SetTowerID

func (o *HistoryFileAction) SetTowerID(v string)

SetTowerID gets a reference to the given string and assigns it to the TowerID field.

func (HistoryFileAction) ToMap

func (o HistoryFileAction) ToMap() (map[string]interface{}, error)

type LoginBody

type LoginBody struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginBody struct for LoginBody

func NewLoginBody

func NewLoginBody(password string, username string) *LoginBody

NewLoginBody instantiates a new LoginBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginBodyWithDefaults

func NewLoginBodyWithDefaults() *LoginBody

NewLoginBodyWithDefaults instantiates a new LoginBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginBody) GetPassword

func (o *LoginBody) GetPassword() string

GetPassword returns the Password field value

func (*LoginBody) GetPasswordOk

func (o *LoginBody) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*LoginBody) GetUsername

func (o *LoginBody) GetUsername() string

GetUsername returns the Username field value

func (*LoginBody) GetUsernameOk

func (o *LoginBody) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (LoginBody) MarshalJSON

func (o LoginBody) MarshalJSON() ([]byte, error)

func (*LoginBody) SetPassword

func (o *LoginBody) SetPassword(v string)

SetPassword sets field value

func (*LoginBody) SetUsername

func (o *LoginBody) SetUsername(v string)

SetUsername sets field value

func (LoginBody) ToMap

func (o LoginBody) ToMap() (map[string]interface{}, error)

func (*LoginBody) UnmarshalJSON

func (o *LoginBody) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MediaAPIService

type MediaAPIService service

MediaAPIService MediaAPI service

func (*MediaAPIService) CleanupMedia

CleanupMedia Make sure all media is correctly synced with the file system

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCleanupMediaRequest

func (*MediaAPIService) CleanupMediaExecute

func (a *MediaAPIService) CleanupMediaExecute(r ApiCleanupMediaRequest) (*http.Response, error)

Execute executes the request

func (*MediaAPIService) DropHDIRs

DropHDIRs Drop all computed media HDIR data. Must be server owner.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDropHDIRsRequest

func (*MediaAPIService) DropHDIRsExecute

func (a *MediaAPIService) DropHDIRsExecute(r ApiDropHDIRsRequest) (*http.Response, error)

Execute executes the request

func (*MediaAPIService) DropMedia

DropMedia DANGEROUS. Drop all computed media and clear thumbnail in-memory and filesystem cache. Must be server owner.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDropMediaRequest

func (*MediaAPIService) DropMediaExecute

func (a *MediaAPIService) DropMediaExecute(r ApiDropMediaRequest) (*http.Response, error)

Execute executes the request

func (*MediaAPIService) GetMedia

GetMedia Get paginated media

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetMediaRequest

func (*MediaAPIService) GetMediaExecute

Execute executes the request

@return MediaBatchInfo

func (*MediaAPIService) GetMediaFile

func (a *MediaAPIService) GetMediaFile(ctx context.Context, mediaID string) ApiGetMediaFileRequest

GetMediaFile Get file of media by id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param mediaID ID of media
@return ApiGetMediaFileRequest

func (*MediaAPIService) GetMediaFileExecute

func (a *MediaAPIService) GetMediaFileExecute(r ApiGetMediaFileRequest) (*FileInfo, *http.Response, error)

Execute executes the request

@return FileInfo

func (*MediaAPIService) GetMediaImage

func (a *MediaAPIService) GetMediaImage(ctx context.Context, mediaID string, extension string) ApiGetMediaImageRequest

GetMediaImage Get a media image bytes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param mediaID Media ID
@param extension Extension
@return ApiGetMediaImageRequest

func (*MediaAPIService) GetMediaImageExecute

func (a *MediaAPIService) GetMediaImageExecute(r ApiGetMediaImageRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*MediaAPIService) GetMediaInfo

func (a *MediaAPIService) GetMediaInfo(ctx context.Context, mediaID string) ApiGetMediaInfoRequest

GetMediaInfo Get media info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param mediaID Media ID
@return ApiGetMediaInfoRequest

func (*MediaAPIService) GetMediaInfoExecute

func (a *MediaAPIService) GetMediaInfoExecute(r ApiGetMediaInfoRequest) (*MediaInfo, *http.Response, error)

Execute executes the request

@return MediaInfo

func (*MediaAPIService) GetMediaTypes

GetMediaTypes Get media type dictionary

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetMediaTypesRequest

func (*MediaAPIService) GetMediaTypesExecute

func (a *MediaAPIService) GetMediaTypesExecute(r ApiGetMediaTypesRequest) (*MediaTypesInfo, *http.Response, error)

Execute executes the request

@return MediaTypesInfo

func (*MediaAPIService) GetRandomMedia

GetRandomMedia Get random media

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRandomMediaRequest

func (*MediaAPIService) GetRandomMediaExecute

func (a *MediaAPIService) GetRandomMediaExecute(r ApiGetRandomMediaRequest) (*MediaBatchInfo, *http.Response, error)

Execute executes the request

@return MediaBatchInfo

func (*MediaAPIService) SetMediaLiked

func (a *MediaAPIService) SetMediaLiked(ctx context.Context, mediaID string) ApiSetMediaLikedRequest

SetMediaLiked Like a media

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param mediaID ID of media
@return ApiSetMediaLikedRequest

func (*MediaAPIService) SetMediaLikedExecute

func (a *MediaAPIService) SetMediaLikedExecute(r ApiSetMediaLikedRequest) (*http.Response, error)

Execute executes the request

func (*MediaAPIService) SetMediaVisibility

func (a *MediaAPIService) SetMediaVisibility(ctx context.Context) ApiSetMediaVisibilityRequest

SetMediaVisibility Set media visibility

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetMediaVisibilityRequest

func (*MediaAPIService) SetMediaVisibilityExecute

func (a *MediaAPIService) SetMediaVisibilityExecute(r ApiSetMediaVisibilityRequest) (*http.Response, error)

Execute executes the request

func (*MediaAPIService) StreamVideo

func (a *MediaAPIService) StreamVideo(ctx context.Context, mediaID string) ApiStreamVideoRequest

StreamVideo Stream a video

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param mediaID ID of media
@return ApiStreamVideoRequest

func (*MediaAPIService) StreamVideoExecute

func (a *MediaAPIService) StreamVideoExecute(r ApiStreamVideoRequest) (*http.Response, error)

Execute executes the request

type MediaBatchInfo

type MediaBatchInfo struct {
	Media           []MediaInfo `json:"Media,omitempty"`
	MediaCount      *int32      `json:"mediaCount,omitempty"`
	TotalMediaCount *int32      `json:"totalMediaCount,omitempty"`
}

MediaBatchInfo struct for MediaBatchInfo

func NewMediaBatchInfo

func NewMediaBatchInfo() *MediaBatchInfo

NewMediaBatchInfo instantiates a new MediaBatchInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMediaBatchInfoWithDefaults

func NewMediaBatchInfoWithDefaults() *MediaBatchInfo

NewMediaBatchInfoWithDefaults instantiates a new MediaBatchInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MediaBatchInfo) GetMedia

func (o *MediaBatchInfo) GetMedia() []MediaInfo

GetMedia returns the Media field value if set, zero value otherwise.

func (*MediaBatchInfo) GetMediaCount

func (o *MediaBatchInfo) GetMediaCount() int32

GetMediaCount returns the MediaCount field value if set, zero value otherwise.

func (*MediaBatchInfo) GetMediaCountOk

func (o *MediaBatchInfo) GetMediaCountOk() (*int32, bool)

GetMediaCountOk returns a tuple with the MediaCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchInfo) GetMediaOk

func (o *MediaBatchInfo) GetMediaOk() ([]MediaInfo, bool)

GetMediaOk returns a tuple with the Media field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchInfo) GetTotalMediaCount

func (o *MediaBatchInfo) GetTotalMediaCount() int32

GetTotalMediaCount returns the TotalMediaCount field value if set, zero value otherwise.

func (*MediaBatchInfo) GetTotalMediaCountOk

func (o *MediaBatchInfo) GetTotalMediaCountOk() (*int32, bool)

GetTotalMediaCountOk returns a tuple with the TotalMediaCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchInfo) HasMedia

func (o *MediaBatchInfo) HasMedia() bool

HasMedia returns a boolean if a field has been set.

func (*MediaBatchInfo) HasMediaCount

func (o *MediaBatchInfo) HasMediaCount() bool

HasMediaCount returns a boolean if a field has been set.

func (*MediaBatchInfo) HasTotalMediaCount

func (o *MediaBatchInfo) HasTotalMediaCount() bool

HasTotalMediaCount returns a boolean if a field has been set.

func (MediaBatchInfo) MarshalJSON

func (o MediaBatchInfo) MarshalJSON() ([]byte, error)

func (*MediaBatchInfo) SetMedia

func (o *MediaBatchInfo) SetMedia(v []MediaInfo)

SetMedia gets a reference to the given []MediaInfo and assigns it to the Media field.

func (*MediaBatchInfo) SetMediaCount

func (o *MediaBatchInfo) SetMediaCount(v int32)

SetMediaCount gets a reference to the given int32 and assigns it to the MediaCount field.

func (*MediaBatchInfo) SetTotalMediaCount

func (o *MediaBatchInfo) SetTotalMediaCount(v int32)

SetTotalMediaCount gets a reference to the given int32 and assigns it to the TotalMediaCount field.

func (MediaBatchInfo) ToMap

func (o MediaBatchInfo) ToMap() (map[string]interface{}, error)

type MediaBatchParams

type MediaBatchParams struct {
	FolderIDs     []string `json:"folderIDs,omitempty"`
	Hidden        *bool    `json:"hidden,omitempty"`
	Limit         *int32   `json:"limit,omitempty"`
	MediaIDs      []string `json:"mediaIDs,omitempty"`
	Page          *int32   `json:"page,omitempty"`
	Raw           *bool    `json:"raw,omitempty"`
	Search        *string  `json:"search,omitempty"`
	Sort          *string  `json:"sort,omitempty"`
	SortDirection *int32   `json:"sortDirection,omitempty"`
}

MediaBatchParams struct for MediaBatchParams

func NewMediaBatchParams

func NewMediaBatchParams() *MediaBatchParams

NewMediaBatchParams instantiates a new MediaBatchParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMediaBatchParamsWithDefaults

func NewMediaBatchParamsWithDefaults() *MediaBatchParams

NewMediaBatchParamsWithDefaults instantiates a new MediaBatchParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MediaBatchParams) GetFolderIDs

func (o *MediaBatchParams) GetFolderIDs() []string

GetFolderIDs returns the FolderIDs field value if set, zero value otherwise.

func (*MediaBatchParams) GetFolderIDsOk

func (o *MediaBatchParams) GetFolderIDsOk() ([]string, bool)

GetFolderIDsOk returns a tuple with the FolderIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetHidden

func (o *MediaBatchParams) GetHidden() bool

GetHidden returns the Hidden field value if set, zero value otherwise.

func (*MediaBatchParams) GetHiddenOk

func (o *MediaBatchParams) GetHiddenOk() (*bool, bool)

GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetLimit

func (o *MediaBatchParams) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*MediaBatchParams) GetLimitOk

func (o *MediaBatchParams) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetMediaIDs

func (o *MediaBatchParams) GetMediaIDs() []string

GetMediaIDs returns the MediaIDs field value if set, zero value otherwise.

func (*MediaBatchParams) GetMediaIDsOk

func (o *MediaBatchParams) GetMediaIDsOk() ([]string, bool)

GetMediaIDsOk returns a tuple with the MediaIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetPage

func (o *MediaBatchParams) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*MediaBatchParams) GetPageOk

func (o *MediaBatchParams) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetRaw

func (o *MediaBatchParams) GetRaw() bool

GetRaw returns the Raw field value if set, zero value otherwise.

func (*MediaBatchParams) GetRawOk

func (o *MediaBatchParams) GetRawOk() (*bool, bool)

GetRawOk returns a tuple with the Raw field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetSearch

func (o *MediaBatchParams) GetSearch() string

GetSearch returns the Search field value if set, zero value otherwise.

func (*MediaBatchParams) GetSearchOk

func (o *MediaBatchParams) GetSearchOk() (*string, bool)

GetSearchOk returns a tuple with the Search field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetSort

func (o *MediaBatchParams) GetSort() string

GetSort returns the Sort field value if set, zero value otherwise.

func (*MediaBatchParams) GetSortDirection

func (o *MediaBatchParams) GetSortDirection() int32

GetSortDirection returns the SortDirection field value if set, zero value otherwise.

func (*MediaBatchParams) GetSortDirectionOk

func (o *MediaBatchParams) GetSortDirectionOk() (*int32, bool)

GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) GetSortOk

func (o *MediaBatchParams) GetSortOk() (*string, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaBatchParams) HasFolderIDs

func (o *MediaBatchParams) HasFolderIDs() bool

HasFolderIDs returns a boolean if a field has been set.

func (*MediaBatchParams) HasHidden

func (o *MediaBatchParams) HasHidden() bool

HasHidden returns a boolean if a field has been set.

func (*MediaBatchParams) HasLimit

func (o *MediaBatchParams) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*MediaBatchParams) HasMediaIDs

func (o *MediaBatchParams) HasMediaIDs() bool

HasMediaIDs returns a boolean if a field has been set.

func (*MediaBatchParams) HasPage

func (o *MediaBatchParams) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*MediaBatchParams) HasRaw

func (o *MediaBatchParams) HasRaw() bool

HasRaw returns a boolean if a field has been set.

func (*MediaBatchParams) HasSearch

func (o *MediaBatchParams) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*MediaBatchParams) HasSort

func (o *MediaBatchParams) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*MediaBatchParams) HasSortDirection

func (o *MediaBatchParams) HasSortDirection() bool

HasSortDirection returns a boolean if a field has been set.

func (MediaBatchParams) MarshalJSON

func (o MediaBatchParams) MarshalJSON() ([]byte, error)

func (*MediaBatchParams) SetFolderIDs

func (o *MediaBatchParams) SetFolderIDs(v []string)

SetFolderIDs gets a reference to the given []string and assigns it to the FolderIDs field.

func (*MediaBatchParams) SetHidden

func (o *MediaBatchParams) SetHidden(v bool)

SetHidden gets a reference to the given bool and assigns it to the Hidden field.

func (*MediaBatchParams) SetLimit

func (o *MediaBatchParams) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*MediaBatchParams) SetMediaIDs

func (o *MediaBatchParams) SetMediaIDs(v []string)

SetMediaIDs gets a reference to the given []string and assigns it to the MediaIDs field.

func (*MediaBatchParams) SetPage

func (o *MediaBatchParams) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*MediaBatchParams) SetRaw

func (o *MediaBatchParams) SetRaw(v bool)

SetRaw gets a reference to the given bool and assigns it to the Raw field.

func (*MediaBatchParams) SetSearch

func (o *MediaBatchParams) SetSearch(v string)

SetSearch gets a reference to the given string and assigns it to the Search field.

func (*MediaBatchParams) SetSort

func (o *MediaBatchParams) SetSort(v string)

SetSort gets a reference to the given string and assigns it to the Sort field.

func (*MediaBatchParams) SetSortDirection

func (o *MediaBatchParams) SetSortDirection(v int32)

SetSortDirection gets a reference to the given int32 and assigns it to the SortDirection field.

func (MediaBatchParams) ToMap

func (o MediaBatchParams) ToMap() (map[string]interface{}, error)

type MediaIDsParams

type MediaIDsParams struct {
	MediaIDs []string `json:"mediaIDs,omitempty"`
}

MediaIDsParams struct for MediaIDsParams

func NewMediaIDsParams

func NewMediaIDsParams() *MediaIDsParams

NewMediaIDsParams instantiates a new MediaIDsParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMediaIDsParamsWithDefaults

func NewMediaIDsParamsWithDefaults() *MediaIDsParams

NewMediaIDsParamsWithDefaults instantiates a new MediaIDsParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MediaIDsParams) GetMediaIDs

func (o *MediaIDsParams) GetMediaIDs() []string

GetMediaIDs returns the MediaIDs field value if set, zero value otherwise.

func (*MediaIDsParams) GetMediaIDsOk

func (o *MediaIDsParams) GetMediaIDsOk() ([]string, bool)

GetMediaIDsOk returns a tuple with the MediaIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaIDsParams) HasMediaIDs

func (o *MediaIDsParams) HasMediaIDs() bool

HasMediaIDs returns a boolean if a field has been set.

func (MediaIDsParams) MarshalJSON

func (o MediaIDsParams) MarshalJSON() ([]byte, error)

func (*MediaIDsParams) SetMediaIDs

func (o *MediaIDsParams) SetMediaIDs(v []string)

SetMediaIDs gets a reference to the given []string and assigns it to the MediaIDs field.

func (MediaIDsParams) ToMap

func (o MediaIDsParams) ToMap() (map[string]interface{}, error)

type MediaInfo

type MediaInfo struct {
	// Hash of the file content, to ensure that the same files don't get duplicated
	ContentID  *string `json:"contentID,omitempty"`
	CreateDate *int32  `json:"createDate,omitempty"`
	// Total time, in milliseconds, of a video
	Duration *int32 `json:"duration,omitempty"`
	// If the media disabled. This can happen when the backing file(s) are deleted, but the media stays behind because it can be re-used if needed.
	Enabled *bool `json:"enabled,omitempty"`
	// Slices of files whos content hash to the contentId
	FileIDs []string `json:"fileIDs,omitempty"`
	// Similarity score from HDIR search
	HdirScore *float32 `json:"hdirScore,omitempty"`
	Height    *int32   `json:"height,omitempty"`
	// If the media is hidden from the timeline TODO - make this per user
	Hidden   *bool     `json:"hidden,omitempty"`
	Imported *bool     `json:"imported,omitempty"`
	LikedBy  []string  `json:"likedBy,omitempty"`
	Location []float32 `json:"location,omitempty"`
	// Mime-type key of the media
	MimeType *string `json:"mimeType,omitempty"`
	// User who owns the file that resulted in this media being created
	Owner *string `json:"owner,omitempty"`
	// Number of pages (typically 1, 0 in not a valid page count)
	PageCount *int32 `json:"pageCount,omitempty"`
	// Full-res image dimensions
	Width *int32 `json:"width,omitempty"`
}

MediaInfo struct for MediaInfo

func NewMediaInfo

func NewMediaInfo() *MediaInfo

NewMediaInfo instantiates a new MediaInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMediaInfoWithDefaults

func NewMediaInfoWithDefaults() *MediaInfo

NewMediaInfoWithDefaults instantiates a new MediaInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MediaInfo) GetContentID

func (o *MediaInfo) GetContentID() string

GetContentID returns the ContentID field value if set, zero value otherwise.

func (*MediaInfo) GetContentIDOk

func (o *MediaInfo) GetContentIDOk() (*string, bool)

GetContentIDOk returns a tuple with the ContentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetCreateDate

func (o *MediaInfo) GetCreateDate() int32

GetCreateDate returns the CreateDate field value if set, zero value otherwise.

func (*MediaInfo) GetCreateDateOk

func (o *MediaInfo) GetCreateDateOk() (*int32, bool)

GetCreateDateOk returns a tuple with the CreateDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetDuration

func (o *MediaInfo) GetDuration() int32

GetDuration returns the Duration field value if set, zero value otherwise.

func (*MediaInfo) GetDurationOk

func (o *MediaInfo) GetDurationOk() (*int32, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetEnabled

func (o *MediaInfo) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*MediaInfo) GetEnabledOk

func (o *MediaInfo) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetFileIDs

func (o *MediaInfo) GetFileIDs() []string

GetFileIDs returns the FileIDs field value if set, zero value otherwise.

func (*MediaInfo) GetFileIDsOk

func (o *MediaInfo) GetFileIDsOk() ([]string, bool)

GetFileIDsOk returns a tuple with the FileIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetHdirScore

func (o *MediaInfo) GetHdirScore() float32

GetHdirScore returns the HdirScore field value if set, zero value otherwise.

func (*MediaInfo) GetHdirScoreOk

func (o *MediaInfo) GetHdirScoreOk() (*float32, bool)

GetHdirScoreOk returns a tuple with the HdirScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetHeight

func (o *MediaInfo) GetHeight() int32

GetHeight returns the Height field value if set, zero value otherwise.

func (*MediaInfo) GetHeightOk

func (o *MediaInfo) GetHeightOk() (*int32, bool)

GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetHidden

func (o *MediaInfo) GetHidden() bool

GetHidden returns the Hidden field value if set, zero value otherwise.

func (*MediaInfo) GetHiddenOk

func (o *MediaInfo) GetHiddenOk() (*bool, bool)

GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetImported

func (o *MediaInfo) GetImported() bool

GetImported returns the Imported field value if set, zero value otherwise.

func (*MediaInfo) GetImportedOk

func (o *MediaInfo) GetImportedOk() (*bool, bool)

GetImportedOk returns a tuple with the Imported field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetLikedBy

func (o *MediaInfo) GetLikedBy() []string

GetLikedBy returns the LikedBy field value if set, zero value otherwise.

func (*MediaInfo) GetLikedByOk

func (o *MediaInfo) GetLikedByOk() ([]string, bool)

GetLikedByOk returns a tuple with the LikedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetLocation

func (o *MediaInfo) GetLocation() []float32

GetLocation returns the Location field value if set, zero value otherwise.

func (*MediaInfo) GetLocationOk

func (o *MediaInfo) GetLocationOk() ([]float32, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetMimeType

func (o *MediaInfo) GetMimeType() string

GetMimeType returns the MimeType field value if set, zero value otherwise.

func (*MediaInfo) GetMimeTypeOk

func (o *MediaInfo) GetMimeTypeOk() (*string, bool)

GetMimeTypeOk returns a tuple with the MimeType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetOwner

func (o *MediaInfo) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*MediaInfo) GetOwnerOk

func (o *MediaInfo) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetPageCount

func (o *MediaInfo) GetPageCount() int32

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*MediaInfo) GetPageCountOk

func (o *MediaInfo) GetPageCountOk() (*int32, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) GetWidth

func (o *MediaInfo) GetWidth() int32

GetWidth returns the Width field value if set, zero value otherwise.

func (*MediaInfo) GetWidthOk

func (o *MediaInfo) GetWidthOk() (*int32, bool)

GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaInfo) HasContentID

func (o *MediaInfo) HasContentID() bool

HasContentID returns a boolean if a field has been set.

func (*MediaInfo) HasCreateDate

func (o *MediaInfo) HasCreateDate() bool

HasCreateDate returns a boolean if a field has been set.

func (*MediaInfo) HasDuration

func (o *MediaInfo) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*MediaInfo) HasEnabled

func (o *MediaInfo) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*MediaInfo) HasFileIDs

func (o *MediaInfo) HasFileIDs() bool

HasFileIDs returns a boolean if a field has been set.

func (*MediaInfo) HasHdirScore

func (o *MediaInfo) HasHdirScore() bool

HasHdirScore returns a boolean if a field has been set.

func (*MediaInfo) HasHeight

func (o *MediaInfo) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*MediaInfo) HasHidden

func (o *MediaInfo) HasHidden() bool

HasHidden returns a boolean if a field has been set.

func (*MediaInfo) HasImported

func (o *MediaInfo) HasImported() bool

HasImported returns a boolean if a field has been set.

func (*MediaInfo) HasLikedBy

func (o *MediaInfo) HasLikedBy() bool

HasLikedBy returns a boolean if a field has been set.

func (*MediaInfo) HasLocation

func (o *MediaInfo) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*MediaInfo) HasMimeType

func (o *MediaInfo) HasMimeType() bool

HasMimeType returns a boolean if a field has been set.

func (*MediaInfo) HasOwner

func (o *MediaInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*MediaInfo) HasPageCount

func (o *MediaInfo) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (*MediaInfo) HasWidth

func (o *MediaInfo) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (MediaInfo) MarshalJSON

func (o MediaInfo) MarshalJSON() ([]byte, error)

func (*MediaInfo) SetContentID

func (o *MediaInfo) SetContentID(v string)

SetContentID gets a reference to the given string and assigns it to the ContentID field.

func (*MediaInfo) SetCreateDate

func (o *MediaInfo) SetCreateDate(v int32)

SetCreateDate gets a reference to the given int32 and assigns it to the CreateDate field.

func (*MediaInfo) SetDuration

func (o *MediaInfo) SetDuration(v int32)

SetDuration gets a reference to the given int32 and assigns it to the Duration field.

func (*MediaInfo) SetEnabled

func (o *MediaInfo) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*MediaInfo) SetFileIDs

func (o *MediaInfo) SetFileIDs(v []string)

SetFileIDs gets a reference to the given []string and assigns it to the FileIDs field.

func (*MediaInfo) SetHdirScore

func (o *MediaInfo) SetHdirScore(v float32)

SetHdirScore gets a reference to the given float32 and assigns it to the HdirScore field.

func (*MediaInfo) SetHeight

func (o *MediaInfo) SetHeight(v int32)

SetHeight gets a reference to the given int32 and assigns it to the Height field.

func (*MediaInfo) SetHidden

func (o *MediaInfo) SetHidden(v bool)

SetHidden gets a reference to the given bool and assigns it to the Hidden field.

func (*MediaInfo) SetImported

func (o *MediaInfo) SetImported(v bool)

SetImported gets a reference to the given bool and assigns it to the Imported field.

func (*MediaInfo) SetLikedBy

func (o *MediaInfo) SetLikedBy(v []string)

SetLikedBy gets a reference to the given []string and assigns it to the LikedBy field.

func (*MediaInfo) SetLocation

func (o *MediaInfo) SetLocation(v []float32)

SetLocation gets a reference to the given []float32 and assigns it to the Location field.

func (*MediaInfo) SetMimeType

func (o *MediaInfo) SetMimeType(v string)

SetMimeType gets a reference to the given string and assigns it to the MimeType field.

func (*MediaInfo) SetOwner

func (o *MediaInfo) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*MediaInfo) SetPageCount

func (o *MediaInfo) SetPageCount(v int32)

SetPageCount gets a reference to the given int32 and assigns it to the PageCount field.

func (*MediaInfo) SetWidth

func (o *MediaInfo) SetWidth(v int32)

SetWidth gets a reference to the given int32 and assigns it to the Width field.

func (MediaInfo) ToMap

func (o MediaInfo) ToMap() (map[string]interface{}, error)

type MediaTypeInfo

type MediaTypeInfo struct {
	FileExtension    []string `json:"FileExtension,omitempty"`
	FriendlyName     *string  `json:"FriendlyName,omitempty"`
	IsDisplayable    *bool    `json:"IsDisplayable,omitempty"`
	IsRaw            *bool    `json:"IsRaw,omitempty"`
	IsVideo          *bool    `json:"IsVideo,omitempty"`
	MultiPage        *bool    `json:"MultiPage,omitempty"`
	RawThumbExifKey  *string  `json:"RawThumbExifKey,omitempty"`
	SupportsImgRecog *bool    `json:"SupportsImgRecog,omitempty"`
	Mime             *string  `json:"mime,omitempty"`
}

MediaTypeInfo struct for MediaTypeInfo

func NewMediaTypeInfo

func NewMediaTypeInfo() *MediaTypeInfo

NewMediaTypeInfo instantiates a new MediaTypeInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMediaTypeInfoWithDefaults

func NewMediaTypeInfoWithDefaults() *MediaTypeInfo

NewMediaTypeInfoWithDefaults instantiates a new MediaTypeInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MediaTypeInfo) GetFileExtension

func (o *MediaTypeInfo) GetFileExtension() []string

GetFileExtension returns the FileExtension field value if set, zero value otherwise.

func (*MediaTypeInfo) GetFileExtensionOk

func (o *MediaTypeInfo) GetFileExtensionOk() ([]string, bool)

GetFileExtensionOk returns a tuple with the FileExtension field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetFriendlyName

func (o *MediaTypeInfo) GetFriendlyName() string

GetFriendlyName returns the FriendlyName field value if set, zero value otherwise.

func (*MediaTypeInfo) GetFriendlyNameOk

func (o *MediaTypeInfo) GetFriendlyNameOk() (*string, bool)

GetFriendlyNameOk returns a tuple with the FriendlyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetIsDisplayable

func (o *MediaTypeInfo) GetIsDisplayable() bool

GetIsDisplayable returns the IsDisplayable field value if set, zero value otherwise.

func (*MediaTypeInfo) GetIsDisplayableOk

func (o *MediaTypeInfo) GetIsDisplayableOk() (*bool, bool)

GetIsDisplayableOk returns a tuple with the IsDisplayable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetIsRaw

func (o *MediaTypeInfo) GetIsRaw() bool

GetIsRaw returns the IsRaw field value if set, zero value otherwise.

func (*MediaTypeInfo) GetIsRawOk

func (o *MediaTypeInfo) GetIsRawOk() (*bool, bool)

GetIsRawOk returns a tuple with the IsRaw field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetIsVideo

func (o *MediaTypeInfo) GetIsVideo() bool

GetIsVideo returns the IsVideo field value if set, zero value otherwise.

func (*MediaTypeInfo) GetIsVideoOk

func (o *MediaTypeInfo) GetIsVideoOk() (*bool, bool)

GetIsVideoOk returns a tuple with the IsVideo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetMime

func (o *MediaTypeInfo) GetMime() string

GetMime returns the Mime field value if set, zero value otherwise.

func (*MediaTypeInfo) GetMimeOk

func (o *MediaTypeInfo) GetMimeOk() (*string, bool)

GetMimeOk returns a tuple with the Mime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetMultiPage

func (o *MediaTypeInfo) GetMultiPage() bool

GetMultiPage returns the MultiPage field value if set, zero value otherwise.

func (*MediaTypeInfo) GetMultiPageOk

func (o *MediaTypeInfo) GetMultiPageOk() (*bool, bool)

GetMultiPageOk returns a tuple with the MultiPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetRawThumbExifKey

func (o *MediaTypeInfo) GetRawThumbExifKey() string

GetRawThumbExifKey returns the RawThumbExifKey field value if set, zero value otherwise.

func (*MediaTypeInfo) GetRawThumbExifKeyOk

func (o *MediaTypeInfo) GetRawThumbExifKeyOk() (*string, bool)

GetRawThumbExifKeyOk returns a tuple with the RawThumbExifKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) GetSupportsImgRecog

func (o *MediaTypeInfo) GetSupportsImgRecog() bool

GetSupportsImgRecog returns the SupportsImgRecog field value if set, zero value otherwise.

func (*MediaTypeInfo) GetSupportsImgRecogOk

func (o *MediaTypeInfo) GetSupportsImgRecogOk() (*bool, bool)

GetSupportsImgRecogOk returns a tuple with the SupportsImgRecog field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypeInfo) HasFileExtension

func (o *MediaTypeInfo) HasFileExtension() bool

HasFileExtension returns a boolean if a field has been set.

func (*MediaTypeInfo) HasFriendlyName

func (o *MediaTypeInfo) HasFriendlyName() bool

HasFriendlyName returns a boolean if a field has been set.

func (*MediaTypeInfo) HasIsDisplayable

func (o *MediaTypeInfo) HasIsDisplayable() bool

HasIsDisplayable returns a boolean if a field has been set.

func (*MediaTypeInfo) HasIsRaw

func (o *MediaTypeInfo) HasIsRaw() bool

HasIsRaw returns a boolean if a field has been set.

func (*MediaTypeInfo) HasIsVideo

func (o *MediaTypeInfo) HasIsVideo() bool

HasIsVideo returns a boolean if a field has been set.

func (*MediaTypeInfo) HasMime

func (o *MediaTypeInfo) HasMime() bool

HasMime returns a boolean if a field has been set.

func (*MediaTypeInfo) HasMultiPage

func (o *MediaTypeInfo) HasMultiPage() bool

HasMultiPage returns a boolean if a field has been set.

func (*MediaTypeInfo) HasRawThumbExifKey

func (o *MediaTypeInfo) HasRawThumbExifKey() bool

HasRawThumbExifKey returns a boolean if a field has been set.

func (*MediaTypeInfo) HasSupportsImgRecog

func (o *MediaTypeInfo) HasSupportsImgRecog() bool

HasSupportsImgRecog returns a boolean if a field has been set.

func (MediaTypeInfo) MarshalJSON

func (o MediaTypeInfo) MarshalJSON() ([]byte, error)

func (*MediaTypeInfo) SetFileExtension

func (o *MediaTypeInfo) SetFileExtension(v []string)

SetFileExtension gets a reference to the given []string and assigns it to the FileExtension field.

func (*MediaTypeInfo) SetFriendlyName

func (o *MediaTypeInfo) SetFriendlyName(v string)

SetFriendlyName gets a reference to the given string and assigns it to the FriendlyName field.

func (*MediaTypeInfo) SetIsDisplayable

func (o *MediaTypeInfo) SetIsDisplayable(v bool)

SetIsDisplayable gets a reference to the given bool and assigns it to the IsDisplayable field.

func (*MediaTypeInfo) SetIsRaw

func (o *MediaTypeInfo) SetIsRaw(v bool)

SetIsRaw gets a reference to the given bool and assigns it to the IsRaw field.

func (*MediaTypeInfo) SetIsVideo

func (o *MediaTypeInfo) SetIsVideo(v bool)

SetIsVideo gets a reference to the given bool and assigns it to the IsVideo field.

func (*MediaTypeInfo) SetMime

func (o *MediaTypeInfo) SetMime(v string)

SetMime gets a reference to the given string and assigns it to the Mime field.

func (*MediaTypeInfo) SetMultiPage

func (o *MediaTypeInfo) SetMultiPage(v bool)

SetMultiPage gets a reference to the given bool and assigns it to the MultiPage field.

func (*MediaTypeInfo) SetRawThumbExifKey

func (o *MediaTypeInfo) SetRawThumbExifKey(v string)

SetRawThumbExifKey gets a reference to the given string and assigns it to the RawThumbExifKey field.

func (*MediaTypeInfo) SetSupportsImgRecog

func (o *MediaTypeInfo) SetSupportsImgRecog(v bool)

SetSupportsImgRecog gets a reference to the given bool and assigns it to the SupportsImgRecog field.

func (MediaTypeInfo) ToMap

func (o MediaTypeInfo) ToMap() (map[string]interface{}, error)

type MediaTypesInfo

type MediaTypesInfo struct {
	ExtMap  *map[string]MediaTypeInfo `json:"extMap,omitempty"`
	MimeMap *map[string]MediaTypeInfo `json:"mimeMap,omitempty"`
}

MediaTypesInfo struct for MediaTypesInfo

func NewMediaTypesInfo

func NewMediaTypesInfo() *MediaTypesInfo

NewMediaTypesInfo instantiates a new MediaTypesInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMediaTypesInfoWithDefaults

func NewMediaTypesInfoWithDefaults() *MediaTypesInfo

NewMediaTypesInfoWithDefaults instantiates a new MediaTypesInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MediaTypesInfo) GetExtMap

func (o *MediaTypesInfo) GetExtMap() map[string]MediaTypeInfo

GetExtMap returns the ExtMap field value if set, zero value otherwise.

func (*MediaTypesInfo) GetExtMapOk

func (o *MediaTypesInfo) GetExtMapOk() (*map[string]MediaTypeInfo, bool)

GetExtMapOk returns a tuple with the ExtMap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypesInfo) GetMimeMap

func (o *MediaTypesInfo) GetMimeMap() map[string]MediaTypeInfo

GetMimeMap returns the MimeMap field value if set, zero value otherwise.

func (*MediaTypesInfo) GetMimeMapOk

func (o *MediaTypesInfo) GetMimeMapOk() (*map[string]MediaTypeInfo, bool)

GetMimeMapOk returns a tuple with the MimeMap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MediaTypesInfo) HasExtMap

func (o *MediaTypesInfo) HasExtMap() bool

HasExtMap returns a boolean if a field has been set.

func (*MediaTypesInfo) HasMimeMap

func (o *MediaTypesInfo) HasMimeMap() bool

HasMimeMap returns a boolean if a field has been set.

func (MediaTypesInfo) MarshalJSON

func (o MediaTypesInfo) MarshalJSON() ([]byte, error)

func (*MediaTypesInfo) SetExtMap

func (o *MediaTypesInfo) SetExtMap(v map[string]MediaTypeInfo)

SetExtMap gets a reference to the given map[string]MediaTypeInfo and assigns it to the ExtMap field.

func (*MediaTypesInfo) SetMimeMap

func (o *MediaTypesInfo) SetMimeMap(v map[string]MediaTypeInfo)

SetMimeMap gets a reference to the given map[string]MediaTypeInfo and assigns it to the MimeMap field.

func (MediaTypesInfo) ToMap

func (o MediaTypesInfo) ToMap() (map[string]interface{}, error)

type MoveFilesParams

type MoveFilesParams struct {
	FileIDs     []string `json:"fileIDs,omitempty"`
	NewParentID *string  `json:"newParentID,omitempty"`
}

MoveFilesParams struct for MoveFilesParams

func NewMoveFilesParams

func NewMoveFilesParams() *MoveFilesParams

NewMoveFilesParams instantiates a new MoveFilesParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMoveFilesParamsWithDefaults

func NewMoveFilesParamsWithDefaults() *MoveFilesParams

NewMoveFilesParamsWithDefaults instantiates a new MoveFilesParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MoveFilesParams) GetFileIDs

func (o *MoveFilesParams) GetFileIDs() []string

GetFileIDs returns the FileIDs field value if set, zero value otherwise.

func (*MoveFilesParams) GetFileIDsOk

func (o *MoveFilesParams) GetFileIDsOk() ([]string, bool)

GetFileIDsOk returns a tuple with the FileIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MoveFilesParams) GetNewParentID

func (o *MoveFilesParams) GetNewParentID() string

GetNewParentID returns the NewParentID field value if set, zero value otherwise.

func (*MoveFilesParams) GetNewParentIDOk

func (o *MoveFilesParams) GetNewParentIDOk() (*string, bool)

GetNewParentIDOk returns a tuple with the NewParentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MoveFilesParams) HasFileIDs

func (o *MoveFilesParams) HasFileIDs() bool

HasFileIDs returns a boolean if a field has been set.

func (*MoveFilesParams) HasNewParentID

func (o *MoveFilesParams) HasNewParentID() bool

HasNewParentID returns a boolean if a field has been set.

func (MoveFilesParams) MarshalJSON

func (o MoveFilesParams) MarshalJSON() ([]byte, error)

func (*MoveFilesParams) SetFileIDs

func (o *MoveFilesParams) SetFileIDs(v []string)

SetFileIDs gets a reference to the given []string and assigns it to the FileIDs field.

func (*MoveFilesParams) SetNewParentID

func (o *MoveFilesParams) SetNewParentID(v string)

SetNewParentID gets a reference to the given string and assigns it to the NewParentID field.

func (MoveFilesParams) ToMap

func (o MoveFilesParams) ToMap() (map[string]interface{}, error)

type NewFileParams

type NewFileParams struct {
	FileSize       *int32  `json:"fileSize,omitempty"`
	IsDir          *bool   `json:"isDir,omitempty"`
	NewFileName    *string `json:"newFileName,omitempty"`
	ParentFolderID *string `json:"parentFolderID,omitempty"`
}

NewFileParams struct for NewFileParams

func NewNewFileParams

func NewNewFileParams() *NewFileParams

NewNewFileParams instantiates a new NewFileParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewFileParamsWithDefaults

func NewNewFileParamsWithDefaults() *NewFileParams

NewNewFileParamsWithDefaults instantiates a new NewFileParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewFileParams) GetFileSize

func (o *NewFileParams) GetFileSize() int32

GetFileSize returns the FileSize field value if set, zero value otherwise.

func (*NewFileParams) GetFileSizeOk

func (o *NewFileParams) GetFileSizeOk() (*int32, bool)

GetFileSizeOk returns a tuple with the FileSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewFileParams) GetIsDir

func (o *NewFileParams) GetIsDir() bool

GetIsDir returns the IsDir field value if set, zero value otherwise.

func (*NewFileParams) GetIsDirOk

func (o *NewFileParams) GetIsDirOk() (*bool, bool)

GetIsDirOk returns a tuple with the IsDir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewFileParams) GetNewFileName

func (o *NewFileParams) GetNewFileName() string

GetNewFileName returns the NewFileName field value if set, zero value otherwise.

func (*NewFileParams) GetNewFileNameOk

func (o *NewFileParams) GetNewFileNameOk() (*string, bool)

GetNewFileNameOk returns a tuple with the NewFileName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewFileParams) GetParentFolderID

func (o *NewFileParams) GetParentFolderID() string

GetParentFolderID returns the ParentFolderID field value if set, zero value otherwise.

func (*NewFileParams) GetParentFolderIDOk

func (o *NewFileParams) GetParentFolderIDOk() (*string, bool)

GetParentFolderIDOk returns a tuple with the ParentFolderID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewFileParams) HasFileSize

func (o *NewFileParams) HasFileSize() bool

HasFileSize returns a boolean if a field has been set.

func (*NewFileParams) HasIsDir

func (o *NewFileParams) HasIsDir() bool

HasIsDir returns a boolean if a field has been set.

func (*NewFileParams) HasNewFileName

func (o *NewFileParams) HasNewFileName() bool

HasNewFileName returns a boolean if a field has been set.

func (*NewFileParams) HasParentFolderID

func (o *NewFileParams) HasParentFolderID() bool

HasParentFolderID returns a boolean if a field has been set.

func (NewFileParams) MarshalJSON

func (o NewFileParams) MarshalJSON() ([]byte, error)

func (*NewFileParams) SetFileSize

func (o *NewFileParams) SetFileSize(v int32)

SetFileSize gets a reference to the given int32 and assigns it to the FileSize field.

func (*NewFileParams) SetIsDir

func (o *NewFileParams) SetIsDir(v bool)

SetIsDir gets a reference to the given bool and assigns it to the IsDir field.

func (*NewFileParams) SetNewFileName

func (o *NewFileParams) SetNewFileName(v string)

SetNewFileName gets a reference to the given string and assigns it to the NewFileName field.

func (*NewFileParams) SetParentFolderID

func (o *NewFileParams) SetParentFolderID(v string)

SetParentFolderID gets a reference to the given string and assigns it to the ParentFolderID field.

func (NewFileParams) ToMap

func (o NewFileParams) ToMap() (map[string]interface{}, error)

type NewFilesInfo

type NewFilesInfo struct {
	FileIDs []string `json:"fileIDs,omitempty"`
}

NewFilesInfo struct for NewFilesInfo

func NewNewFilesInfo

func NewNewFilesInfo() *NewFilesInfo

NewNewFilesInfo instantiates a new NewFilesInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewFilesInfoWithDefaults

func NewNewFilesInfoWithDefaults() *NewFilesInfo

NewNewFilesInfoWithDefaults instantiates a new NewFilesInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewFilesInfo) GetFileIDs

func (o *NewFilesInfo) GetFileIDs() []string

GetFileIDs returns the FileIDs field value if set, zero value otherwise.

func (*NewFilesInfo) GetFileIDsOk

func (o *NewFilesInfo) GetFileIDsOk() ([]string, bool)

GetFileIDsOk returns a tuple with the FileIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewFilesInfo) HasFileIDs

func (o *NewFilesInfo) HasFileIDs() bool

HasFileIDs returns a boolean if a field has been set.

func (NewFilesInfo) MarshalJSON

func (o NewFilesInfo) MarshalJSON() ([]byte, error)

func (*NewFilesInfo) SetFileIDs

func (o *NewFilesInfo) SetFileIDs(v []string)

SetFileIDs gets a reference to the given []string and assigns it to the FileIDs field.

func (NewFilesInfo) ToMap

func (o NewFilesInfo) ToMap() (map[string]interface{}, error)

type NewFilesParams

type NewFilesParams struct {
	NewFiles []NewFileParams `json:"newFiles,omitempty"`
}

NewFilesParams struct for NewFilesParams

func NewNewFilesParams

func NewNewFilesParams() *NewFilesParams

NewNewFilesParams instantiates a new NewFilesParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewFilesParamsWithDefaults

func NewNewFilesParamsWithDefaults() *NewFilesParams

NewNewFilesParamsWithDefaults instantiates a new NewFilesParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewFilesParams) GetNewFiles

func (o *NewFilesParams) GetNewFiles() []NewFileParams

GetNewFiles returns the NewFiles field value if set, zero value otherwise.

func (*NewFilesParams) GetNewFilesOk

func (o *NewFilesParams) GetNewFilesOk() ([]NewFileParams, bool)

GetNewFilesOk returns a tuple with the NewFiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewFilesParams) HasNewFiles

func (o *NewFilesParams) HasNewFiles() bool

HasNewFiles returns a boolean if a field has been set.

func (NewFilesParams) MarshalJSON

func (o NewFilesParams) MarshalJSON() ([]byte, error)

func (*NewFilesParams) SetNewFiles

func (o *NewFilesParams) SetNewFiles(v []NewFileParams)

SetNewFiles gets a reference to the given []NewFileParams and assigns it to the NewFiles field.

func (NewFilesParams) ToMap

func (o NewFilesParams) ToMap() (map[string]interface{}, error)

type NewServerParams

type NewServerParams struct {
	CoreAddress *string `json:"coreAddress,omitempty"`
	Name        *string `json:"name,omitempty"`
	Role        *string `json:"role,omitempty"`
	ServerID    *string `json:"serverID,omitempty"`
	UsingKey    *string `json:"usingKey,omitempty"`
}

NewServerParams struct for NewServerParams

func NewNewServerParams

func NewNewServerParams() *NewServerParams

NewNewServerParams instantiates a new NewServerParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewServerParamsWithDefaults

func NewNewServerParamsWithDefaults() *NewServerParams

NewNewServerParamsWithDefaults instantiates a new NewServerParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewServerParams) GetCoreAddress

func (o *NewServerParams) GetCoreAddress() string

GetCoreAddress returns the CoreAddress field value if set, zero value otherwise.

func (*NewServerParams) GetCoreAddressOk

func (o *NewServerParams) GetCoreAddressOk() (*string, bool)

GetCoreAddressOk returns a tuple with the CoreAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewServerParams) GetName

func (o *NewServerParams) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NewServerParams) GetNameOk

func (o *NewServerParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewServerParams) GetRole

func (o *NewServerParams) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*NewServerParams) GetRoleOk

func (o *NewServerParams) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewServerParams) GetServerID

func (o *NewServerParams) GetServerID() string

GetServerID returns the ServerID field value if set, zero value otherwise.

func (*NewServerParams) GetServerIDOk

func (o *NewServerParams) GetServerIDOk() (*string, bool)

GetServerIDOk returns a tuple with the ServerID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewServerParams) GetUsingKey

func (o *NewServerParams) GetUsingKey() string

GetUsingKey returns the UsingKey field value if set, zero value otherwise.

func (*NewServerParams) GetUsingKeyOk

func (o *NewServerParams) GetUsingKeyOk() (*string, bool)

GetUsingKeyOk returns a tuple with the UsingKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewServerParams) HasCoreAddress

func (o *NewServerParams) HasCoreAddress() bool

HasCoreAddress returns a boolean if a field has been set.

func (*NewServerParams) HasName

func (o *NewServerParams) HasName() bool

HasName returns a boolean if a field has been set.

func (*NewServerParams) HasRole

func (o *NewServerParams) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*NewServerParams) HasServerID

func (o *NewServerParams) HasServerID() bool

HasServerID returns a boolean if a field has been set.

func (*NewServerParams) HasUsingKey

func (o *NewServerParams) HasUsingKey() bool

HasUsingKey returns a boolean if a field has been set.

func (NewServerParams) MarshalJSON

func (o NewServerParams) MarshalJSON() ([]byte, error)

func (*NewServerParams) SetCoreAddress

func (o *NewServerParams) SetCoreAddress(v string)

SetCoreAddress gets a reference to the given string and assigns it to the CoreAddress field.

func (*NewServerParams) SetName

func (o *NewServerParams) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NewServerParams) SetRole

func (o *NewServerParams) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*NewServerParams) SetServerID

func (o *NewServerParams) SetServerID(v string)

SetServerID gets a reference to the given string and assigns it to the ServerID field.

func (*NewServerParams) SetUsingKey

func (o *NewServerParams) SetUsingKey(v string)

SetUsingKey gets a reference to the given string and assigns it to the UsingKey field.

func (NewServerParams) ToMap

func (o NewServerParams) ToMap() (map[string]interface{}, error)

type NewUploadInfo

type NewUploadInfo struct {
	UploadID *string `json:"uploadID,omitempty"`
}

NewUploadInfo struct for NewUploadInfo

func NewNewUploadInfo

func NewNewUploadInfo() *NewUploadInfo

NewNewUploadInfo instantiates a new NewUploadInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewUploadInfoWithDefaults

func NewNewUploadInfoWithDefaults() *NewUploadInfo

NewNewUploadInfoWithDefaults instantiates a new NewUploadInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewUploadInfo) GetUploadID

func (o *NewUploadInfo) GetUploadID() string

GetUploadID returns the UploadID field value if set, zero value otherwise.

func (*NewUploadInfo) GetUploadIDOk

func (o *NewUploadInfo) GetUploadIDOk() (*string, bool)

GetUploadIDOk returns a tuple with the UploadID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewUploadInfo) HasUploadID

func (o *NewUploadInfo) HasUploadID() bool

HasUploadID returns a boolean if a field has been set.

func (NewUploadInfo) MarshalJSON

func (o NewUploadInfo) MarshalJSON() ([]byte, error)

func (*NewUploadInfo) SetUploadID

func (o *NewUploadInfo) SetUploadID(v string)

SetUploadID gets a reference to the given string and assigns it to the UploadID field.

func (NewUploadInfo) ToMap

func (o NewUploadInfo) ToMap() (map[string]interface{}, error)

type NewUploadParams

type NewUploadParams struct {
	ChunkSize    *int32  `json:"chunkSize,omitempty"`
	RootFolderID *string `json:"rootFolderID,omitempty"`
}

NewUploadParams struct for NewUploadParams

func NewNewUploadParams

func NewNewUploadParams() *NewUploadParams

NewNewUploadParams instantiates a new NewUploadParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewUploadParamsWithDefaults

func NewNewUploadParamsWithDefaults() *NewUploadParams

NewNewUploadParamsWithDefaults instantiates a new NewUploadParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewUploadParams) GetChunkSize

func (o *NewUploadParams) GetChunkSize() int32

GetChunkSize returns the ChunkSize field value if set, zero value otherwise.

func (*NewUploadParams) GetChunkSizeOk

func (o *NewUploadParams) GetChunkSizeOk() (*int32, bool)

GetChunkSizeOk returns a tuple with the ChunkSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewUploadParams) GetRootFolderID

func (o *NewUploadParams) GetRootFolderID() string

GetRootFolderID returns the RootFolderID field value if set, zero value otherwise.

func (*NewUploadParams) GetRootFolderIDOk

func (o *NewUploadParams) GetRootFolderIDOk() (*string, bool)

GetRootFolderIDOk returns a tuple with the RootFolderID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewUploadParams) HasChunkSize

func (o *NewUploadParams) HasChunkSize() bool

HasChunkSize returns a boolean if a field has been set.

func (*NewUploadParams) HasRootFolderID

func (o *NewUploadParams) HasRootFolderID() bool

HasRootFolderID returns a boolean if a field has been set.

func (NewUploadParams) MarshalJSON

func (o NewUploadParams) MarshalJSON() ([]byte, error)

func (*NewUploadParams) SetChunkSize

func (o *NewUploadParams) SetChunkSize(v int32)

SetChunkSize gets a reference to the given int32 and assigns it to the ChunkSize field.

func (*NewUploadParams) SetRootFolderID

func (o *NewUploadParams) SetRootFolderID(v string)

SetRootFolderID gets a reference to the given string and assigns it to the RootFolderID field.

func (NewUploadParams) ToMap

func (o NewUploadParams) ToMap() (map[string]interface{}, error)

type NewUserParams

type NewUserParams struct {
	Admin        *bool  `json:"admin,omitempty"`
	AutoActivate *bool  `json:"autoActivate,omitempty"`
	FullName     string `json:"fullName"`
	Password     string `json:"password"`
	Username     string `json:"username"`
}

NewUserParams struct for NewUserParams

func NewNewUserParams

func NewNewUserParams(fullName string, password string, username string) *NewUserParams

NewNewUserParams instantiates a new NewUserParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewUserParamsWithDefaults

func NewNewUserParamsWithDefaults() *NewUserParams

NewNewUserParamsWithDefaults instantiates a new NewUserParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewUserParams) GetAdmin

func (o *NewUserParams) GetAdmin() bool

GetAdmin returns the Admin field value if set, zero value otherwise.

func (*NewUserParams) GetAdminOk

func (o *NewUserParams) GetAdminOk() (*bool, bool)

GetAdminOk returns a tuple with the Admin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewUserParams) GetAutoActivate

func (o *NewUserParams) GetAutoActivate() bool

GetAutoActivate returns the AutoActivate field value if set, zero value otherwise.

func (*NewUserParams) GetAutoActivateOk

func (o *NewUserParams) GetAutoActivateOk() (*bool, bool)

GetAutoActivateOk returns a tuple with the AutoActivate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewUserParams) GetFullName

func (o *NewUserParams) GetFullName() string

GetFullName returns the FullName field value

func (*NewUserParams) GetFullNameOk

func (o *NewUserParams) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*NewUserParams) GetPassword

func (o *NewUserParams) GetPassword() string

GetPassword returns the Password field value

func (*NewUserParams) GetPasswordOk

func (o *NewUserParams) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*NewUserParams) GetUsername

func (o *NewUserParams) GetUsername() string

GetUsername returns the Username field value

func (*NewUserParams) GetUsernameOk

func (o *NewUserParams) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*NewUserParams) HasAdmin

func (o *NewUserParams) HasAdmin() bool

HasAdmin returns a boolean if a field has been set.

func (*NewUserParams) HasAutoActivate

func (o *NewUserParams) HasAutoActivate() bool

HasAutoActivate returns a boolean if a field has been set.

func (NewUserParams) MarshalJSON

func (o NewUserParams) MarshalJSON() ([]byte, error)

func (*NewUserParams) SetAdmin

func (o *NewUserParams) SetAdmin(v bool)

SetAdmin gets a reference to the given bool and assigns it to the Admin field.

func (*NewUserParams) SetAutoActivate

func (o *NewUserParams) SetAutoActivate(v bool)

SetAutoActivate gets a reference to the given bool and assigns it to the AutoActivate field.

func (*NewUserParams) SetFullName

func (o *NewUserParams) SetFullName(v string)

SetFullName sets field value

func (*NewUserParams) SetPassword

func (o *NewUserParams) SetPassword(v string)

SetPassword sets field value

func (*NewUserParams) SetUsername

func (o *NewUserParams) SetUsername(v string)

SetUsername sets field value

func (NewUserParams) ToMap

func (o NewUserParams) ToMap() (map[string]interface{}, error)

func (*NewUserParams) UnmarshalJSON

func (o *NewUserParams) UnmarshalJSON(data []byte) (err error)

type NullableAPIKeyParams

type NullableAPIKeyParams struct {
	// contains filtered or unexported fields
}

func NewNullableAPIKeyParams

func NewNullableAPIKeyParams(val *APIKeyParams) *NullableAPIKeyParams

func (NullableAPIKeyParams) Get

func (NullableAPIKeyParams) IsSet

func (v NullableAPIKeyParams) IsSet() bool

func (NullableAPIKeyParams) MarshalJSON

func (v NullableAPIKeyParams) MarshalJSON() ([]byte, error)

func (*NullableAPIKeyParams) Set

func (v *NullableAPIKeyParams) Set(val *APIKeyParams)

func (*NullableAPIKeyParams) UnmarshalJSON

func (v *NullableAPIKeyParams) UnmarshalJSON(src []byte) error

func (*NullableAPIKeyParams) Unset

func (v *NullableAPIKeyParams) Unset()

type NullableAddUserParams

type NullableAddUserParams struct {
	// contains filtered or unexported fields
}

func NewNullableAddUserParams

func NewNullableAddUserParams(val *AddUserParams) *NullableAddUserParams

func (NullableAddUserParams) Get

func (NullableAddUserParams) IsSet

func (v NullableAddUserParams) IsSet() bool

func (NullableAddUserParams) MarshalJSON

func (v NullableAddUserParams) MarshalJSON() ([]byte, error)

func (*NullableAddUserParams) Set

func (v *NullableAddUserParams) Set(val *AddUserParams)

func (*NullableAddUserParams) UnmarshalJSON

func (v *NullableAddUserParams) UnmarshalJSON(src []byte) error

func (*NullableAddUserParams) Unset

func (v *NullableAddUserParams) Unset()

type NullableBackupInfo

type NullableBackupInfo struct {
	// contains filtered or unexported fields
}

func NewNullableBackupInfo

func NewNullableBackupInfo(val *BackupInfo) *NullableBackupInfo

func (NullableBackupInfo) Get

func (v NullableBackupInfo) Get() *BackupInfo

func (NullableBackupInfo) IsSet

func (v NullableBackupInfo) IsSet() bool

func (NullableBackupInfo) MarshalJSON

func (v NullableBackupInfo) MarshalJSON() ([]byte, error)

func (*NullableBackupInfo) Set

func (v *NullableBackupInfo) Set(val *BackupInfo)

func (*NullableBackupInfo) UnmarshalJSON

func (v *NullableBackupInfo) UnmarshalJSON(src []byte) error

func (*NullableBackupInfo) Unset

func (v *NullableBackupInfo) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBundle

type NullableBundle struct {
	// contains filtered or unexported fields
}

func NewNullableBundle

func NewNullableBundle(val *Bundle) *NullableBundle

func (NullableBundle) Get

func (v NullableBundle) Get() *Bundle

func (NullableBundle) IsSet

func (v NullableBundle) IsSet() bool

func (NullableBundle) MarshalJSON

func (v NullableBundle) MarshalJSON() ([]byte, error)

func (*NullableBundle) Set

func (v *NullableBundle) Set(val *Bundle)

func (*NullableBundle) UnmarshalJSON

func (v *NullableBundle) UnmarshalJSON(src []byte) error

func (*NullableBundle) Unset

func (v *NullableBundle) Unset()

type NullableCreateFolderBody

type NullableCreateFolderBody struct {
	// contains filtered or unexported fields
}

func NewNullableCreateFolderBody

func NewNullableCreateFolderBody(val *CreateFolderBody) *NullableCreateFolderBody

func (NullableCreateFolderBody) Get

func (NullableCreateFolderBody) IsSet

func (v NullableCreateFolderBody) IsSet() bool

func (NullableCreateFolderBody) MarshalJSON

func (v NullableCreateFolderBody) MarshalJSON() ([]byte, error)

func (*NullableCreateFolderBody) Set

func (*NullableCreateFolderBody) UnmarshalJSON

func (v *NullableCreateFolderBody) UnmarshalJSON(src []byte) error

func (*NullableCreateFolderBody) Unset

func (v *NullableCreateFolderBody) Unset()

type NullableFileActionInfo

type NullableFileActionInfo struct {
	// contains filtered or unexported fields
}

func NewNullableFileActionInfo

func NewNullableFileActionInfo(val *FileActionInfo) *NullableFileActionInfo

func (NullableFileActionInfo) Get

func (NullableFileActionInfo) IsSet

func (v NullableFileActionInfo) IsSet() bool

func (NullableFileActionInfo) MarshalJSON

func (v NullableFileActionInfo) MarshalJSON() ([]byte, error)

func (*NullableFileActionInfo) Set

func (*NullableFileActionInfo) UnmarshalJSON

func (v *NullableFileActionInfo) UnmarshalJSON(src []byte) error

func (*NullableFileActionInfo) Unset

func (v *NullableFileActionInfo) Unset()

type NullableFileInfo

type NullableFileInfo struct {
	// contains filtered or unexported fields
}

func NewNullableFileInfo

func NewNullableFileInfo(val *FileInfo) *NullableFileInfo

func (NullableFileInfo) Get

func (v NullableFileInfo) Get() *FileInfo

func (NullableFileInfo) IsSet

func (v NullableFileInfo) IsSet() bool

func (NullableFileInfo) MarshalJSON

func (v NullableFileInfo) MarshalJSON() ([]byte, error)

func (*NullableFileInfo) Set

func (v *NullableFileInfo) Set(val *FileInfo)

func (*NullableFileInfo) UnmarshalJSON

func (v *NullableFileInfo) UnmarshalJSON(src []byte) error

func (*NullableFileInfo) Unset

func (v *NullableFileInfo) Unset()

type NullableFileShareParams

type NullableFileShareParams struct {
	// contains filtered or unexported fields
}

func NewNullableFileShareParams

func NewNullableFileShareParams(val *FileShareParams) *NullableFileShareParams

func (NullableFileShareParams) Get

func (NullableFileShareParams) IsSet

func (v NullableFileShareParams) IsSet() bool

func (NullableFileShareParams) MarshalJSON

func (v NullableFileShareParams) MarshalJSON() ([]byte, error)

func (*NullableFileShareParams) Set

func (*NullableFileShareParams) UnmarshalJSON

func (v *NullableFileShareParams) UnmarshalJSON(src []byte) error

func (*NullableFileShareParams) Unset

func (v *NullableFileShareParams) Unset()

type NullableFilesListParams

type NullableFilesListParams struct {
	// contains filtered or unexported fields
}

func NewNullableFilesListParams

func NewNullableFilesListParams(val *FilesListParams) *NullableFilesListParams

func (NullableFilesListParams) Get

func (NullableFilesListParams) IsSet

func (v NullableFilesListParams) IsSet() bool

func (NullableFilesListParams) MarshalJSON

func (v NullableFilesListParams) MarshalJSON() ([]byte, error)

func (*NullableFilesListParams) Set

func (*NullableFilesListParams) UnmarshalJSON

func (v *NullableFilesListParams) UnmarshalJSON(src []byte) error

func (*NullableFilesListParams) Unset

func (v *NullableFilesListParams) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableFolderInfo

type NullableFolderInfo struct {
	// contains filtered or unexported fields
}

func NewNullableFolderInfo

func NewNullableFolderInfo(val *FolderInfo) *NullableFolderInfo

func (NullableFolderInfo) Get

func (v NullableFolderInfo) Get() *FolderInfo

func (NullableFolderInfo) IsSet

func (v NullableFolderInfo) IsSet() bool

func (NullableFolderInfo) MarshalJSON

func (v NullableFolderInfo) MarshalJSON() ([]byte, error)

func (*NullableFolderInfo) Set

func (v *NullableFolderInfo) Set(val *FolderInfo)

func (*NullableFolderInfo) UnmarshalJSON

func (v *NullableFolderInfo) UnmarshalJSON(src []byte) error

func (*NullableFolderInfo) Unset

func (v *NullableFolderInfo) Unset()

type NullableHistoryFileAction

type NullableHistoryFileAction struct {
	// contains filtered or unexported fields
}

func NewNullableHistoryFileAction

func NewNullableHistoryFileAction(val *HistoryFileAction) *NullableHistoryFileAction

func (NullableHistoryFileAction) Get

func (NullableHistoryFileAction) IsSet

func (v NullableHistoryFileAction) IsSet() bool

func (NullableHistoryFileAction) MarshalJSON

func (v NullableHistoryFileAction) MarshalJSON() ([]byte, error)

func (*NullableHistoryFileAction) Set

func (*NullableHistoryFileAction) UnmarshalJSON

func (v *NullableHistoryFileAction) UnmarshalJSON(src []byte) error

func (*NullableHistoryFileAction) Unset

func (v *NullableHistoryFileAction) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLoginBody

type NullableLoginBody struct {
	// contains filtered or unexported fields
}

func NewNullableLoginBody

func NewNullableLoginBody(val *LoginBody) *NullableLoginBody

func (NullableLoginBody) Get

func (v NullableLoginBody) Get() *LoginBody

func (NullableLoginBody) IsSet

func (v NullableLoginBody) IsSet() bool

func (NullableLoginBody) MarshalJSON

func (v NullableLoginBody) MarshalJSON() ([]byte, error)

func (*NullableLoginBody) Set

func (v *NullableLoginBody) Set(val *LoginBody)

func (*NullableLoginBody) UnmarshalJSON

func (v *NullableLoginBody) UnmarshalJSON(src []byte) error

func (*NullableLoginBody) Unset

func (v *NullableLoginBody) Unset()

type NullableMediaBatchInfo

type NullableMediaBatchInfo struct {
	// contains filtered or unexported fields
}

func NewNullableMediaBatchInfo

func NewNullableMediaBatchInfo(val *MediaBatchInfo) *NullableMediaBatchInfo

func (NullableMediaBatchInfo) Get

func (NullableMediaBatchInfo) IsSet

func (v NullableMediaBatchInfo) IsSet() bool

func (NullableMediaBatchInfo) MarshalJSON

func (v NullableMediaBatchInfo) MarshalJSON() ([]byte, error)

func (*NullableMediaBatchInfo) Set

func (*NullableMediaBatchInfo) UnmarshalJSON

func (v *NullableMediaBatchInfo) UnmarshalJSON(src []byte) error

func (*NullableMediaBatchInfo) Unset

func (v *NullableMediaBatchInfo) Unset()

type NullableMediaBatchParams

type NullableMediaBatchParams struct {
	// contains filtered or unexported fields
}

func NewNullableMediaBatchParams

func NewNullableMediaBatchParams(val *MediaBatchParams) *NullableMediaBatchParams

func (NullableMediaBatchParams) Get

func (NullableMediaBatchParams) IsSet

func (v NullableMediaBatchParams) IsSet() bool

func (NullableMediaBatchParams) MarshalJSON

func (v NullableMediaBatchParams) MarshalJSON() ([]byte, error)

func (*NullableMediaBatchParams) Set

func (*NullableMediaBatchParams) UnmarshalJSON

func (v *NullableMediaBatchParams) UnmarshalJSON(src []byte) error

func (*NullableMediaBatchParams) Unset

func (v *NullableMediaBatchParams) Unset()

type NullableMediaIDsParams

type NullableMediaIDsParams struct {
	// contains filtered or unexported fields
}

func NewNullableMediaIDsParams

func NewNullableMediaIDsParams(val *MediaIDsParams) *NullableMediaIDsParams

func (NullableMediaIDsParams) Get

func (NullableMediaIDsParams) IsSet

func (v NullableMediaIDsParams) IsSet() bool

func (NullableMediaIDsParams) MarshalJSON

func (v NullableMediaIDsParams) MarshalJSON() ([]byte, error)

func (*NullableMediaIDsParams) Set

func (*NullableMediaIDsParams) UnmarshalJSON

func (v *NullableMediaIDsParams) UnmarshalJSON(src []byte) error

func (*NullableMediaIDsParams) Unset

func (v *NullableMediaIDsParams) Unset()

type NullableMediaInfo

type NullableMediaInfo struct {
	// contains filtered or unexported fields
}

func NewNullableMediaInfo

func NewNullableMediaInfo(val *MediaInfo) *NullableMediaInfo

func (NullableMediaInfo) Get

func (v NullableMediaInfo) Get() *MediaInfo

func (NullableMediaInfo) IsSet

func (v NullableMediaInfo) IsSet() bool

func (NullableMediaInfo) MarshalJSON

func (v NullableMediaInfo) MarshalJSON() ([]byte, error)

func (*NullableMediaInfo) Set

func (v *NullableMediaInfo) Set(val *MediaInfo)

func (*NullableMediaInfo) UnmarshalJSON

func (v *NullableMediaInfo) UnmarshalJSON(src []byte) error

func (*NullableMediaInfo) Unset

func (v *NullableMediaInfo) Unset()

type NullableMediaTypeInfo

type NullableMediaTypeInfo struct {
	// contains filtered or unexported fields
}

func NewNullableMediaTypeInfo

func NewNullableMediaTypeInfo(val *MediaTypeInfo) *NullableMediaTypeInfo

func (NullableMediaTypeInfo) Get

func (NullableMediaTypeInfo) IsSet

func (v NullableMediaTypeInfo) IsSet() bool

func (NullableMediaTypeInfo) MarshalJSON

func (v NullableMediaTypeInfo) MarshalJSON() ([]byte, error)

func (*NullableMediaTypeInfo) Set

func (v *NullableMediaTypeInfo) Set(val *MediaTypeInfo)

func (*NullableMediaTypeInfo) UnmarshalJSON

func (v *NullableMediaTypeInfo) UnmarshalJSON(src []byte) error

func (*NullableMediaTypeInfo) Unset

func (v *NullableMediaTypeInfo) Unset()

type NullableMediaTypesInfo

type NullableMediaTypesInfo struct {
	// contains filtered or unexported fields
}

func NewNullableMediaTypesInfo

func NewNullableMediaTypesInfo(val *MediaTypesInfo) *NullableMediaTypesInfo

func (NullableMediaTypesInfo) Get

func (NullableMediaTypesInfo) IsSet

func (v NullableMediaTypesInfo) IsSet() bool

func (NullableMediaTypesInfo) MarshalJSON

func (v NullableMediaTypesInfo) MarshalJSON() ([]byte, error)

func (*NullableMediaTypesInfo) Set

func (*NullableMediaTypesInfo) UnmarshalJSON

func (v *NullableMediaTypesInfo) UnmarshalJSON(src []byte) error

func (*NullableMediaTypesInfo) Unset

func (v *NullableMediaTypesInfo) Unset()

type NullableMoveFilesParams

type NullableMoveFilesParams struct {
	// contains filtered or unexported fields
}

func NewNullableMoveFilesParams

func NewNullableMoveFilesParams(val *MoveFilesParams) *NullableMoveFilesParams

func (NullableMoveFilesParams) Get

func (NullableMoveFilesParams) IsSet

func (v NullableMoveFilesParams) IsSet() bool

func (NullableMoveFilesParams) MarshalJSON

func (v NullableMoveFilesParams) MarshalJSON() ([]byte, error)

func (*NullableMoveFilesParams) Set

func (*NullableMoveFilesParams) UnmarshalJSON

func (v *NullableMoveFilesParams) UnmarshalJSON(src []byte) error

func (*NullableMoveFilesParams) Unset

func (v *NullableMoveFilesParams) Unset()

type NullableNewFileParams

type NullableNewFileParams struct {
	// contains filtered or unexported fields
}

func NewNullableNewFileParams

func NewNullableNewFileParams(val *NewFileParams) *NullableNewFileParams

func (NullableNewFileParams) Get

func (NullableNewFileParams) IsSet

func (v NullableNewFileParams) IsSet() bool

func (NullableNewFileParams) MarshalJSON

func (v NullableNewFileParams) MarshalJSON() ([]byte, error)

func (*NullableNewFileParams) Set

func (v *NullableNewFileParams) Set(val *NewFileParams)

func (*NullableNewFileParams) UnmarshalJSON

func (v *NullableNewFileParams) UnmarshalJSON(src []byte) error

func (*NullableNewFileParams) Unset

func (v *NullableNewFileParams) Unset()

type NullableNewFilesInfo

type NullableNewFilesInfo struct {
	// contains filtered or unexported fields
}

func NewNullableNewFilesInfo

func NewNullableNewFilesInfo(val *NewFilesInfo) *NullableNewFilesInfo

func (NullableNewFilesInfo) Get

func (NullableNewFilesInfo) IsSet

func (v NullableNewFilesInfo) IsSet() bool

func (NullableNewFilesInfo) MarshalJSON

func (v NullableNewFilesInfo) MarshalJSON() ([]byte, error)

func (*NullableNewFilesInfo) Set

func (v *NullableNewFilesInfo) Set(val *NewFilesInfo)

func (*NullableNewFilesInfo) UnmarshalJSON

func (v *NullableNewFilesInfo) UnmarshalJSON(src []byte) error

func (*NullableNewFilesInfo) Unset

func (v *NullableNewFilesInfo) Unset()

type NullableNewFilesParams

type NullableNewFilesParams struct {
	// contains filtered or unexported fields
}

func NewNullableNewFilesParams

func NewNullableNewFilesParams(val *NewFilesParams) *NullableNewFilesParams

func (NullableNewFilesParams) Get

func (NullableNewFilesParams) IsSet

func (v NullableNewFilesParams) IsSet() bool

func (NullableNewFilesParams) MarshalJSON

func (v NullableNewFilesParams) MarshalJSON() ([]byte, error)

func (*NullableNewFilesParams) Set

func (*NullableNewFilesParams) UnmarshalJSON

func (v *NullableNewFilesParams) UnmarshalJSON(src []byte) error

func (*NullableNewFilesParams) Unset

func (v *NullableNewFilesParams) Unset()

type NullableNewServerParams

type NullableNewServerParams struct {
	// contains filtered or unexported fields
}

func NewNullableNewServerParams

func NewNullableNewServerParams(val *NewServerParams) *NullableNewServerParams

func (NullableNewServerParams) Get

func (NullableNewServerParams) IsSet

func (v NullableNewServerParams) IsSet() bool

func (NullableNewServerParams) MarshalJSON

func (v NullableNewServerParams) MarshalJSON() ([]byte, error)

func (*NullableNewServerParams) Set

func (*NullableNewServerParams) UnmarshalJSON

func (v *NullableNewServerParams) UnmarshalJSON(src []byte) error

func (*NullableNewServerParams) Unset

func (v *NullableNewServerParams) Unset()

type NullableNewUploadInfo

type NullableNewUploadInfo struct {
	// contains filtered or unexported fields
}

func NewNullableNewUploadInfo

func NewNullableNewUploadInfo(val *NewUploadInfo) *NullableNewUploadInfo

func (NullableNewUploadInfo) Get

func (NullableNewUploadInfo) IsSet

func (v NullableNewUploadInfo) IsSet() bool

func (NullableNewUploadInfo) MarshalJSON

func (v NullableNewUploadInfo) MarshalJSON() ([]byte, error)

func (*NullableNewUploadInfo) Set

func (v *NullableNewUploadInfo) Set(val *NewUploadInfo)

func (*NullableNewUploadInfo) UnmarshalJSON

func (v *NullableNewUploadInfo) UnmarshalJSON(src []byte) error

func (*NullableNewUploadInfo) Unset

func (v *NullableNewUploadInfo) Unset()

type NullableNewUploadParams

type NullableNewUploadParams struct {
	// contains filtered or unexported fields
}

func NewNullableNewUploadParams

func NewNullableNewUploadParams(val *NewUploadParams) *NullableNewUploadParams

func (NullableNewUploadParams) Get

func (NullableNewUploadParams) IsSet

func (v NullableNewUploadParams) IsSet() bool

func (NullableNewUploadParams) MarshalJSON

func (v NullableNewUploadParams) MarshalJSON() ([]byte, error)

func (*NullableNewUploadParams) Set

func (*NullableNewUploadParams) UnmarshalJSON

func (v *NullableNewUploadParams) UnmarshalJSON(src []byte) error

func (*NullableNewUploadParams) Unset

func (v *NullableNewUploadParams) Unset()

type NullableNewUserParams

type NullableNewUserParams struct {
	// contains filtered or unexported fields
}

func NewNullableNewUserParams

func NewNullableNewUserParams(val *NewUserParams) *NullableNewUserParams

func (NullableNewUserParams) Get

func (NullableNewUserParams) IsSet

func (v NullableNewUserParams) IsSet() bool

func (NullableNewUserParams) MarshalJSON

func (v NullableNewUserParams) MarshalJSON() ([]byte, error)

func (*NullableNewUserParams) Set

func (v *NullableNewUserParams) Set(val *NewUserParams)

func (*NullableNewUserParams) UnmarshalJSON

func (v *NullableNewUserParams) UnmarshalJSON(src []byte) error

func (*NullableNewUserParams) Unset

func (v *NullableNewUserParams) Unset()

type NullablePasswordUpdateParams

type NullablePasswordUpdateParams struct {
	// contains filtered or unexported fields
}

func NewNullablePasswordUpdateParams

func NewNullablePasswordUpdateParams(val *PasswordUpdateParams) *NullablePasswordUpdateParams

func (NullablePasswordUpdateParams) Get

func (NullablePasswordUpdateParams) IsSet

func (NullablePasswordUpdateParams) MarshalJSON

func (v NullablePasswordUpdateParams) MarshalJSON() ([]byte, error)

func (*NullablePasswordUpdateParams) Set

func (*NullablePasswordUpdateParams) UnmarshalJSON

func (v *NullablePasswordUpdateParams) UnmarshalJSON(src []byte) error

func (*NullablePasswordUpdateParams) Unset

func (v *NullablePasswordUpdateParams) Unset()

type NullablePermissionsInfo

type NullablePermissionsInfo struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionsInfo

func NewNullablePermissionsInfo(val *PermissionsInfo) *NullablePermissionsInfo

func (NullablePermissionsInfo) Get

func (NullablePermissionsInfo) IsSet

func (v NullablePermissionsInfo) IsSet() bool

func (NullablePermissionsInfo) MarshalJSON

func (v NullablePermissionsInfo) MarshalJSON() ([]byte, error)

func (*NullablePermissionsInfo) Set

func (*NullablePermissionsInfo) UnmarshalJSON

func (v *NullablePermissionsInfo) UnmarshalJSON(src []byte) error

func (*NullablePermissionsInfo) Unset

func (v *NullablePermissionsInfo) Unset()

type NullablePermissionsParams

type NullablePermissionsParams struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionsParams

func NewNullablePermissionsParams(val *PermissionsParams) *NullablePermissionsParams

func (NullablePermissionsParams) Get

func (NullablePermissionsParams) IsSet

func (v NullablePermissionsParams) IsSet() bool

func (NullablePermissionsParams) MarshalJSON

func (v NullablePermissionsParams) MarshalJSON() ([]byte, error)

func (*NullablePermissionsParams) Set

func (*NullablePermissionsParams) UnmarshalJSON

func (v *NullablePermissionsParams) UnmarshalJSON(src []byte) error

func (*NullablePermissionsParams) Unset

func (v *NullablePermissionsParams) Unset()

type NullableRestoreFilesBody

type NullableRestoreFilesBody struct {
	// contains filtered or unexported fields
}

func NewNullableRestoreFilesBody

func NewNullableRestoreFilesBody(val *RestoreFilesBody) *NullableRestoreFilesBody

func (NullableRestoreFilesBody) Get

func (NullableRestoreFilesBody) IsSet

func (v NullableRestoreFilesBody) IsSet() bool

func (NullableRestoreFilesBody) MarshalJSON

func (v NullableRestoreFilesBody) MarshalJSON() ([]byte, error)

func (*NullableRestoreFilesBody) Set

func (*NullableRestoreFilesBody) UnmarshalJSON

func (v *NullableRestoreFilesBody) UnmarshalJSON(src []byte) error

func (*NullableRestoreFilesBody) Unset

func (v *NullableRestoreFilesBody) Unset()

type NullableRestoreFilesInfo

type NullableRestoreFilesInfo struct {
	// contains filtered or unexported fields
}

func NewNullableRestoreFilesInfo

func NewNullableRestoreFilesInfo(val *RestoreFilesInfo) *NullableRestoreFilesInfo

func (NullableRestoreFilesInfo) Get

func (NullableRestoreFilesInfo) IsSet

func (v NullableRestoreFilesInfo) IsSet() bool

func (NullableRestoreFilesInfo) MarshalJSON

func (v NullableRestoreFilesInfo) MarshalJSON() ([]byte, error)

func (*NullableRestoreFilesInfo) Set

func (*NullableRestoreFilesInfo) UnmarshalJSON

func (v *NullableRestoreFilesInfo) UnmarshalJSON(src []byte) error

func (*NullableRestoreFilesInfo) Unset

func (v *NullableRestoreFilesInfo) Unset()

type NullableShareInfo

type NullableShareInfo struct {
	// contains filtered or unexported fields
}

func NewNullableShareInfo

func NewNullableShareInfo(val *ShareInfo) *NullableShareInfo

func (NullableShareInfo) Get

func (v NullableShareInfo) Get() *ShareInfo

func (NullableShareInfo) IsSet

func (v NullableShareInfo) IsSet() bool

func (NullableShareInfo) MarshalJSON

func (v NullableShareInfo) MarshalJSON() ([]byte, error)

func (*NullableShareInfo) Set

func (v *NullableShareInfo) Set(val *ShareInfo)

func (*NullableShareInfo) UnmarshalJSON

func (v *NullableShareInfo) UnmarshalJSON(src []byte) error

func (*NullableShareInfo) Unset

func (v *NullableShareInfo) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTakeoutInfo

type NullableTakeoutInfo struct {
	// contains filtered or unexported fields
}

func NewNullableTakeoutInfo

func NewNullableTakeoutInfo(val *TakeoutInfo) *NullableTakeoutInfo

func (NullableTakeoutInfo) Get

func (NullableTakeoutInfo) IsSet

func (v NullableTakeoutInfo) IsSet() bool

func (NullableTakeoutInfo) MarshalJSON

func (v NullableTakeoutInfo) MarshalJSON() ([]byte, error)

func (*NullableTakeoutInfo) Set

func (v *NullableTakeoutInfo) Set(val *TakeoutInfo)

func (*NullableTakeoutInfo) UnmarshalJSON

func (v *NullableTakeoutInfo) UnmarshalJSON(src []byte) error

func (*NullableTakeoutInfo) Unset

func (v *NullableTakeoutInfo) Unset()

type NullableTaskInfo

type NullableTaskInfo struct {
	// contains filtered or unexported fields
}

func NewNullableTaskInfo

func NewNullableTaskInfo(val *TaskInfo) *NullableTaskInfo

func (NullableTaskInfo) Get

func (v NullableTaskInfo) Get() *TaskInfo

func (NullableTaskInfo) IsSet

func (v NullableTaskInfo) IsSet() bool

func (NullableTaskInfo) MarshalJSON

func (v NullableTaskInfo) MarshalJSON() ([]byte, error)

func (*NullableTaskInfo) Set

func (v *NullableTaskInfo) Set(val *TaskInfo)

func (*NullableTaskInfo) UnmarshalJSON

func (v *NullableTaskInfo) UnmarshalJSON(src []byte) error

func (*NullableTaskInfo) Unset

func (v *NullableTaskInfo) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTokenInfo

type NullableTokenInfo struct {
	// contains filtered or unexported fields
}

func NewNullableTokenInfo

func NewNullableTokenInfo(val *TokenInfo) *NullableTokenInfo

func (NullableTokenInfo) Get

func (v NullableTokenInfo) Get() *TokenInfo

func (NullableTokenInfo) IsSet

func (v NullableTokenInfo) IsSet() bool

func (NullableTokenInfo) MarshalJSON

func (v NullableTokenInfo) MarshalJSON() ([]byte, error)

func (*NullableTokenInfo) Set

func (v *NullableTokenInfo) Set(val *TokenInfo)

func (*NullableTokenInfo) UnmarshalJSON

func (v *NullableTokenInfo) UnmarshalJSON(src []byte) error

func (*NullableTokenInfo) Unset

func (v *NullableTokenInfo) Unset()

type NullableTowerHealth

type NullableTowerHealth struct {
	// contains filtered or unexported fields
}

func NewNullableTowerHealth

func NewNullableTowerHealth(val *TowerHealth) *NullableTowerHealth

func (NullableTowerHealth) Get

func (NullableTowerHealth) IsSet

func (v NullableTowerHealth) IsSet() bool

func (NullableTowerHealth) MarshalJSON

func (v NullableTowerHealth) MarshalJSON() ([]byte, error)

func (*NullableTowerHealth) Set

func (v *NullableTowerHealth) Set(val *TowerHealth)

func (*NullableTowerHealth) UnmarshalJSON

func (v *NullableTowerHealth) UnmarshalJSON(src []byte) error

func (*NullableTowerHealth) Unset

func (v *NullableTowerHealth) Unset()

type NullableTowerInfo

type NullableTowerInfo struct {
	// contains filtered or unexported fields
}

func NewNullableTowerInfo

func NewNullableTowerInfo(val *TowerInfo) *NullableTowerInfo

func (NullableTowerInfo) Get

func (v NullableTowerInfo) Get() *TowerInfo

func (NullableTowerInfo) IsSet

func (v NullableTowerInfo) IsSet() bool

func (NullableTowerInfo) MarshalJSON

func (v NullableTowerInfo) MarshalJSON() ([]byte, error)

func (*NullableTowerInfo) Set

func (v *NullableTowerInfo) Set(val *TowerInfo)

func (*NullableTowerInfo) UnmarshalJSON

func (v *NullableTowerInfo) UnmarshalJSON(src []byte) error

func (*NullableTowerInfo) Unset

func (v *NullableTowerInfo) Unset()

type NullableUpdateFileParams

type NullableUpdateFileParams struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateFileParams

func NewNullableUpdateFileParams(val *UpdateFileParams) *NullableUpdateFileParams

func (NullableUpdateFileParams) Get

func (NullableUpdateFileParams) IsSet

func (v NullableUpdateFileParams) IsSet() bool

func (NullableUpdateFileParams) MarshalJSON

func (v NullableUpdateFileParams) MarshalJSON() ([]byte, error)

func (*NullableUpdateFileParams) Set

func (*NullableUpdateFileParams) UnmarshalJSON

func (v *NullableUpdateFileParams) UnmarshalJSON(src []byte) error

func (*NullableUpdateFileParams) Unset

func (v *NullableUpdateFileParams) Unset()

type NullableUserInfo

type NullableUserInfo struct {
	// contains filtered or unexported fields
}

func NewNullableUserInfo

func NewNullableUserInfo(val *UserInfo) *NullableUserInfo

func (NullableUserInfo) Get

func (v NullableUserInfo) Get() *UserInfo

func (NullableUserInfo) IsSet

func (v NullableUserInfo) IsSet() bool

func (NullableUserInfo) MarshalJSON

func (v NullableUserInfo) MarshalJSON() ([]byte, error)

func (*NullableUserInfo) Set

func (v *NullableUserInfo) Set(val *UserInfo)

func (*NullableUserInfo) UnmarshalJSON

func (v *NullableUserInfo) UnmarshalJSON(src []byte) error

func (*NullableUserInfo) Unset

func (v *NullableUserInfo) Unset()

type NullableUserInfoArchive

type NullableUserInfoArchive struct {
	// contains filtered or unexported fields
}

func NewNullableUserInfoArchive

func NewNullableUserInfoArchive(val *UserInfoArchive) *NullableUserInfoArchive

func (NullableUserInfoArchive) Get

func (NullableUserInfoArchive) IsSet

func (v NullableUserInfoArchive) IsSet() bool

func (NullableUserInfoArchive) MarshalJSON

func (v NullableUserInfoArchive) MarshalJSON() ([]byte, error)

func (*NullableUserInfoArchive) Set

func (*NullableUserInfoArchive) UnmarshalJSON

func (v *NullableUserInfoArchive) UnmarshalJSON(src []byte) error

func (*NullableUserInfoArchive) Unset

func (v *NullableUserInfoArchive) Unset()

type NullableWLResponseInfo

type NullableWLResponseInfo struct {
	// contains filtered or unexported fields
}

func NewNullableWLResponseInfo

func NewNullableWLResponseInfo(val *WLResponseInfo) *NullableWLResponseInfo

func (NullableWLResponseInfo) Get

func (NullableWLResponseInfo) IsSet

func (v NullableWLResponseInfo) IsSet() bool

func (NullableWLResponseInfo) MarshalJSON

func (v NullableWLResponseInfo) MarshalJSON() ([]byte, error)

func (*NullableWLResponseInfo) Set

func (*NullableWLResponseInfo) UnmarshalJSON

func (v *NullableWLResponseInfo) UnmarshalJSON(src []byte) error

func (*NullableWLResponseInfo) Unset

func (v *NullableWLResponseInfo) Unset()

type NullableWeblensErrorInfo

type NullableWeblensErrorInfo struct {
	// contains filtered or unexported fields
}

func NewNullableWeblensErrorInfo

func NewNullableWeblensErrorInfo(val *WeblensErrorInfo) *NullableWeblensErrorInfo

func (NullableWeblensErrorInfo) Get

func (NullableWeblensErrorInfo) IsSet

func (v NullableWeblensErrorInfo) IsSet() bool

func (NullableWeblensErrorInfo) MarshalJSON

func (v NullableWeblensErrorInfo) MarshalJSON() ([]byte, error)

func (*NullableWeblensErrorInfo) Set

func (*NullableWeblensErrorInfo) UnmarshalJSON

func (v *NullableWeblensErrorInfo) UnmarshalJSON(src []byte) error

func (*NullableWeblensErrorInfo) Unset

func (v *NullableWeblensErrorInfo) Unset()

type NullableWlfsFilepath

type NullableWlfsFilepath struct {
	// contains filtered or unexported fields
}

func NewNullableWlfsFilepath

func NewNullableWlfsFilepath(val *WlfsFilepath) *NullableWlfsFilepath

func (NullableWlfsFilepath) Get

func (NullableWlfsFilepath) IsSet

func (v NullableWlfsFilepath) IsSet() bool

func (NullableWlfsFilepath) MarshalJSON

func (v NullableWlfsFilepath) MarshalJSON() ([]byte, error)

func (*NullableWlfsFilepath) Set

func (v *NullableWlfsFilepath) Set(val *WlfsFilepath)

func (*NullableWlfsFilepath) UnmarshalJSON

func (v *NullableWlfsFilepath) UnmarshalJSON(src []byte) error

func (*NullableWlfsFilepath) Unset

func (v *NullableWlfsFilepath) Unset()

type NullableWlstructsInitServerParams

type NullableWlstructsInitServerParams struct {
	// contains filtered or unexported fields
}

func (NullableWlstructsInitServerParams) Get

func (NullableWlstructsInitServerParams) IsSet

func (NullableWlstructsInitServerParams) MarshalJSON

func (v NullableWlstructsInitServerParams) MarshalJSON() ([]byte, error)

func (*NullableWlstructsInitServerParams) Set

func (*NullableWlstructsInitServerParams) UnmarshalJSON

func (v *NullableWlstructsInitServerParams) UnmarshalJSON(src []byte) error

func (*NullableWlstructsInitServerParams) Unset

type NullableWlstructsSetConfigParam

type NullableWlstructsSetConfigParam struct {
	// contains filtered or unexported fields
}

func (NullableWlstructsSetConfigParam) Get

func (NullableWlstructsSetConfigParam) IsSet

func (NullableWlstructsSetConfigParam) MarshalJSON

func (v NullableWlstructsSetConfigParam) MarshalJSON() ([]byte, error)

func (*NullableWlstructsSetConfigParam) Set

func (*NullableWlstructsSetConfigParam) UnmarshalJSON

func (v *NullableWlstructsSetConfigParam) UnmarshalJSON(src []byte) error

func (*NullableWlstructsSetConfigParam) Unset

type PasswordUpdateParams

type PasswordUpdateParams struct {
	NewPassword string  `json:"newPassword"`
	OldPassword *string `json:"oldPassword,omitempty"`
}

PasswordUpdateParams struct for PasswordUpdateParams

func NewPasswordUpdateParams

func NewPasswordUpdateParams(newPassword string) *PasswordUpdateParams

NewPasswordUpdateParams instantiates a new PasswordUpdateParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPasswordUpdateParamsWithDefaults

func NewPasswordUpdateParamsWithDefaults() *PasswordUpdateParams

NewPasswordUpdateParamsWithDefaults instantiates a new PasswordUpdateParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PasswordUpdateParams) GetNewPassword

func (o *PasswordUpdateParams) GetNewPassword() string

GetNewPassword returns the NewPassword field value

func (*PasswordUpdateParams) GetNewPasswordOk

func (o *PasswordUpdateParams) GetNewPasswordOk() (*string, bool)

GetNewPasswordOk returns a tuple with the NewPassword field value and a boolean to check if the value has been set.

func (*PasswordUpdateParams) GetOldPassword

func (o *PasswordUpdateParams) GetOldPassword() string

GetOldPassword returns the OldPassword field value if set, zero value otherwise.

func (*PasswordUpdateParams) GetOldPasswordOk

func (o *PasswordUpdateParams) GetOldPasswordOk() (*string, bool)

GetOldPasswordOk returns a tuple with the OldPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordUpdateParams) HasOldPassword

func (o *PasswordUpdateParams) HasOldPassword() bool

HasOldPassword returns a boolean if a field has been set.

func (PasswordUpdateParams) MarshalJSON

func (o PasswordUpdateParams) MarshalJSON() ([]byte, error)

func (*PasswordUpdateParams) SetNewPassword

func (o *PasswordUpdateParams) SetNewPassword(v string)

SetNewPassword sets field value

func (*PasswordUpdateParams) SetOldPassword

func (o *PasswordUpdateParams) SetOldPassword(v string)

SetOldPassword gets a reference to the given string and assigns it to the OldPassword field.

func (PasswordUpdateParams) ToMap

func (o PasswordUpdateParams) ToMap() (map[string]interface{}, error)

func (*PasswordUpdateParams) UnmarshalJSON

func (o *PasswordUpdateParams) UnmarshalJSON(data []byte) (err error)

type PermissionsInfo

type PermissionsInfo struct {
	CanDelete   *bool `json:"canDelete,omitempty"`
	CanDownload *bool `json:"canDownload,omitempty"`
	CanEdit     *bool `json:"canEdit,omitempty"`
	CanView     *bool `json:"canView,omitempty"`
}

PermissionsInfo struct for PermissionsInfo

func NewPermissionsInfo

func NewPermissionsInfo() *PermissionsInfo

NewPermissionsInfo instantiates a new PermissionsInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPermissionsInfoWithDefaults

func NewPermissionsInfoWithDefaults() *PermissionsInfo

NewPermissionsInfoWithDefaults instantiates a new PermissionsInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PermissionsInfo) GetCanDelete

func (o *PermissionsInfo) GetCanDelete() bool

GetCanDelete returns the CanDelete field value if set, zero value otherwise.

func (*PermissionsInfo) GetCanDeleteOk

func (o *PermissionsInfo) GetCanDeleteOk() (*bool, bool)

GetCanDeleteOk returns a tuple with the CanDelete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsInfo) GetCanDownload

func (o *PermissionsInfo) GetCanDownload() bool

GetCanDownload returns the CanDownload field value if set, zero value otherwise.

func (*PermissionsInfo) GetCanDownloadOk

func (o *PermissionsInfo) GetCanDownloadOk() (*bool, bool)

GetCanDownloadOk returns a tuple with the CanDownload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsInfo) GetCanEdit

func (o *PermissionsInfo) GetCanEdit() bool

GetCanEdit returns the CanEdit field value if set, zero value otherwise.

func (*PermissionsInfo) GetCanEditOk

func (o *PermissionsInfo) GetCanEditOk() (*bool, bool)

GetCanEditOk returns a tuple with the CanEdit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsInfo) GetCanView

func (o *PermissionsInfo) GetCanView() bool

GetCanView returns the CanView field value if set, zero value otherwise.

func (*PermissionsInfo) GetCanViewOk

func (o *PermissionsInfo) GetCanViewOk() (*bool, bool)

GetCanViewOk returns a tuple with the CanView field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsInfo) HasCanDelete

func (o *PermissionsInfo) HasCanDelete() bool

HasCanDelete returns a boolean if a field has been set.

func (*PermissionsInfo) HasCanDownload

func (o *PermissionsInfo) HasCanDownload() bool

HasCanDownload returns a boolean if a field has been set.

func (*PermissionsInfo) HasCanEdit

func (o *PermissionsInfo) HasCanEdit() bool

HasCanEdit returns a boolean if a field has been set.

func (*PermissionsInfo) HasCanView

func (o *PermissionsInfo) HasCanView() bool

HasCanView returns a boolean if a field has been set.

func (PermissionsInfo) MarshalJSON

func (o PermissionsInfo) MarshalJSON() ([]byte, error)

func (*PermissionsInfo) SetCanDelete

func (o *PermissionsInfo) SetCanDelete(v bool)

SetCanDelete gets a reference to the given bool and assigns it to the CanDelete field.

func (*PermissionsInfo) SetCanDownload

func (o *PermissionsInfo) SetCanDownload(v bool)

SetCanDownload gets a reference to the given bool and assigns it to the CanDownload field.

func (*PermissionsInfo) SetCanEdit

func (o *PermissionsInfo) SetCanEdit(v bool)

SetCanEdit gets a reference to the given bool and assigns it to the CanEdit field.

func (*PermissionsInfo) SetCanView

func (o *PermissionsInfo) SetCanView(v bool)

SetCanView gets a reference to the given bool and assigns it to the CanView field.

func (PermissionsInfo) ToMap

func (o PermissionsInfo) ToMap() (map[string]interface{}, error)

type PermissionsParams

type PermissionsParams struct {
	CanDelete   *bool `json:"canDelete,omitempty"`
	CanDownload *bool `json:"canDownload,omitempty"`
	CanEdit     *bool `json:"canEdit,omitempty"`
	CanView     *bool `json:"canView,omitempty"`
}

PermissionsParams struct for PermissionsParams

func NewPermissionsParams

func NewPermissionsParams() *PermissionsParams

NewPermissionsParams instantiates a new PermissionsParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPermissionsParamsWithDefaults

func NewPermissionsParamsWithDefaults() *PermissionsParams

NewPermissionsParamsWithDefaults instantiates a new PermissionsParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PermissionsParams) GetCanDelete

func (o *PermissionsParams) GetCanDelete() bool

GetCanDelete returns the CanDelete field value if set, zero value otherwise.

func (*PermissionsParams) GetCanDeleteOk

func (o *PermissionsParams) GetCanDeleteOk() (*bool, bool)

GetCanDeleteOk returns a tuple with the CanDelete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsParams) GetCanDownload

func (o *PermissionsParams) GetCanDownload() bool

GetCanDownload returns the CanDownload field value if set, zero value otherwise.

func (*PermissionsParams) GetCanDownloadOk

func (o *PermissionsParams) GetCanDownloadOk() (*bool, bool)

GetCanDownloadOk returns a tuple with the CanDownload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsParams) GetCanEdit

func (o *PermissionsParams) GetCanEdit() bool

GetCanEdit returns the CanEdit field value if set, zero value otherwise.

func (*PermissionsParams) GetCanEditOk

func (o *PermissionsParams) GetCanEditOk() (*bool, bool)

GetCanEditOk returns a tuple with the CanEdit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsParams) GetCanView

func (o *PermissionsParams) GetCanView() bool

GetCanView returns the CanView field value if set, zero value otherwise.

func (*PermissionsParams) GetCanViewOk

func (o *PermissionsParams) GetCanViewOk() (*bool, bool)

GetCanViewOk returns a tuple with the CanView field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsParams) HasCanDelete

func (o *PermissionsParams) HasCanDelete() bool

HasCanDelete returns a boolean if a field has been set.

func (*PermissionsParams) HasCanDownload

func (o *PermissionsParams) HasCanDownload() bool

HasCanDownload returns a boolean if a field has been set.

func (*PermissionsParams) HasCanEdit

func (o *PermissionsParams) HasCanEdit() bool

HasCanEdit returns a boolean if a field has been set.

func (*PermissionsParams) HasCanView

func (o *PermissionsParams) HasCanView() bool

HasCanView returns a boolean if a field has been set.

func (PermissionsParams) MarshalJSON

func (o PermissionsParams) MarshalJSON() ([]byte, error)

func (*PermissionsParams) SetCanDelete

func (o *PermissionsParams) SetCanDelete(v bool)

SetCanDelete gets a reference to the given bool and assigns it to the CanDelete field.

func (*PermissionsParams) SetCanDownload

func (o *PermissionsParams) SetCanDownload(v bool)

SetCanDownload gets a reference to the given bool and assigns it to the CanDownload field.

func (*PermissionsParams) SetCanEdit

func (o *PermissionsParams) SetCanEdit(v bool)

SetCanEdit gets a reference to the given bool and assigns it to the CanEdit field.

func (*PermissionsParams) SetCanView

func (o *PermissionsParams) SetCanView(v bool)

SetCanView gets a reference to the given bool and assigns it to the CanView field.

func (PermissionsParams) ToMap

func (o PermissionsParams) ToMap() (map[string]interface{}, error)

type RestoreFilesBody

type RestoreFilesBody struct {
	FileIDs     []string `json:"fileIDs,omitempty"`
	NewParentID *string  `json:"newParentID,omitempty"`
	Timestamp   *int32   `json:"timestamp,omitempty"`
}

RestoreFilesBody struct for RestoreFilesBody

func NewRestoreFilesBody

func NewRestoreFilesBody() *RestoreFilesBody

NewRestoreFilesBody instantiates a new RestoreFilesBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRestoreFilesBodyWithDefaults

func NewRestoreFilesBodyWithDefaults() *RestoreFilesBody

NewRestoreFilesBodyWithDefaults instantiates a new RestoreFilesBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RestoreFilesBody) GetFileIDs

func (o *RestoreFilesBody) GetFileIDs() []string

GetFileIDs returns the FileIDs field value if set, zero value otherwise.

func (*RestoreFilesBody) GetFileIDsOk

func (o *RestoreFilesBody) GetFileIDsOk() ([]string, bool)

GetFileIDsOk returns a tuple with the FileIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestoreFilesBody) GetNewParentID

func (o *RestoreFilesBody) GetNewParentID() string

GetNewParentID returns the NewParentID field value if set, zero value otherwise.

func (*RestoreFilesBody) GetNewParentIDOk

func (o *RestoreFilesBody) GetNewParentIDOk() (*string, bool)

GetNewParentIDOk returns a tuple with the NewParentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestoreFilesBody) GetTimestamp

func (o *RestoreFilesBody) GetTimestamp() int32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*RestoreFilesBody) GetTimestampOk

func (o *RestoreFilesBody) GetTimestampOk() (*int32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestoreFilesBody) HasFileIDs

func (o *RestoreFilesBody) HasFileIDs() bool

HasFileIDs returns a boolean if a field has been set.

func (*RestoreFilesBody) HasNewParentID

func (o *RestoreFilesBody) HasNewParentID() bool

HasNewParentID returns a boolean if a field has been set.

func (*RestoreFilesBody) HasTimestamp

func (o *RestoreFilesBody) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (RestoreFilesBody) MarshalJSON

func (o RestoreFilesBody) MarshalJSON() ([]byte, error)

func (*RestoreFilesBody) SetFileIDs

func (o *RestoreFilesBody) SetFileIDs(v []string)

SetFileIDs gets a reference to the given []string and assigns it to the FileIDs field.

func (*RestoreFilesBody) SetNewParentID

func (o *RestoreFilesBody) SetNewParentID(v string)

SetNewParentID gets a reference to the given string and assigns it to the NewParentID field.

func (*RestoreFilesBody) SetTimestamp

func (o *RestoreFilesBody) SetTimestamp(v int32)

SetTimestamp gets a reference to the given int32 and assigns it to the Timestamp field.

func (RestoreFilesBody) ToMap

func (o RestoreFilesBody) ToMap() (map[string]interface{}, error)

type RestoreFilesInfo

type RestoreFilesInfo struct {
	NewParentID *string `json:"newParentID,omitempty"`
}

RestoreFilesInfo struct for RestoreFilesInfo

func NewRestoreFilesInfo

func NewRestoreFilesInfo() *RestoreFilesInfo

NewRestoreFilesInfo instantiates a new RestoreFilesInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRestoreFilesInfoWithDefaults

func NewRestoreFilesInfoWithDefaults() *RestoreFilesInfo

NewRestoreFilesInfoWithDefaults instantiates a new RestoreFilesInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RestoreFilesInfo) GetNewParentID

func (o *RestoreFilesInfo) GetNewParentID() string

GetNewParentID returns the NewParentID field value if set, zero value otherwise.

func (*RestoreFilesInfo) GetNewParentIDOk

func (o *RestoreFilesInfo) GetNewParentIDOk() (*string, bool)

GetNewParentIDOk returns a tuple with the NewParentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestoreFilesInfo) HasNewParentID

func (o *RestoreFilesInfo) HasNewParentID() bool

HasNewParentID returns a boolean if a field has been set.

func (RestoreFilesInfo) MarshalJSON

func (o RestoreFilesInfo) MarshalJSON() ([]byte, error)

func (*RestoreFilesInfo) SetNewParentID

func (o *RestoreFilesInfo) SetNewParentID(v string)

SetNewParentID gets a reference to the given string and assigns it to the NewParentID field.

func (RestoreFilesInfo) ToMap

func (o RestoreFilesInfo) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ShareAPIService

type ShareAPIService service

ShareAPIService ShareAPI service

func (*ShareAPIService) AddUserToShare

func (a *ShareAPIService) AddUserToShare(ctx context.Context, shareID string) ApiAddUserToShareRequest

AddUserToShare Add a user to a file share

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param shareID Share ID
@return ApiAddUserToShareRequest

func (*ShareAPIService) AddUserToShareExecute

func (a *ShareAPIService) AddUserToShareExecute(r ApiAddUserToShareRequest) (*ShareInfo, *http.Response, error)

Execute executes the request

@return ShareInfo

func (*ShareAPIService) CreateFileShare

func (a *ShareAPIService) CreateFileShare(ctx context.Context) ApiCreateFileShareRequest

CreateFileShare Share a file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateFileShareRequest

func (*ShareAPIService) CreateFileShareExecute

func (a *ShareAPIService) CreateFileShareExecute(r ApiCreateFileShareRequest) (*ShareInfo, *http.Response, error)

Execute executes the request

@return ShareInfo

func (*ShareAPIService) DeleteFileShare

func (a *ShareAPIService) DeleteFileShare(ctx context.Context, shareID string) ApiDeleteFileShareRequest

DeleteFileShare Delete a file share

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param shareID Share ID
@return ApiDeleteFileShareRequest

func (*ShareAPIService) DeleteFileShareExecute

func (a *ShareAPIService) DeleteFileShareExecute(r ApiDeleteFileShareRequest) (*http.Response, error)

Execute executes the request

func (*ShareAPIService) GetFileShare

func (a *ShareAPIService) GetFileShare(ctx context.Context, shareID string) ApiGetFileShareRequest

GetFileShare Get a file share

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param shareID Share ID
@return ApiGetFileShareRequest

func (*ShareAPIService) GetFileShareExecute

func (a *ShareAPIService) GetFileShareExecute(r ApiGetFileShareRequest) (*ShareInfo, *http.Response, error)

Execute executes the request

@return ShareInfo

func (*ShareAPIService) RemoveUserFromShare

func (a *ShareAPIService) RemoveUserFromShare(ctx context.Context, shareID string, username string) ApiRemoveUserFromShareRequest

RemoveUserFromShare Remove a user from a file share

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param shareID Share ID
@param username Username
@return ApiRemoveUserFromShareRequest

func (*ShareAPIService) RemoveUserFromShareExecute

func (a *ShareAPIService) RemoveUserFromShareExecute(r ApiRemoveUserFromShareRequest) (*ShareInfo, *http.Response, error)

Execute executes the request

@return ShareInfo

func (*ShareAPIService) SetSharePublic

func (a *ShareAPIService) SetSharePublic(ctx context.Context, shareID string) ApiSetSharePublicRequest

SetSharePublic Update a share's \"public\" status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param shareID Share ID
@return ApiSetSharePublicRequest

func (*ShareAPIService) SetSharePublicExecute

func (a *ShareAPIService) SetSharePublicExecute(r ApiSetSharePublicRequest) (*http.Response, error)

Execute executes the request

func (*ShareAPIService) UpdateShareAccessorPermissions

func (a *ShareAPIService) UpdateShareAccessorPermissions(ctx context.Context, shareID string, username string) ApiUpdateShareAccessorPermissionsRequest

UpdateShareAccessorPermissions Update a share's user permissions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param shareID Share ID
@param username Username
@return ApiUpdateShareAccessorPermissionsRequest

func (*ShareAPIService) UpdateShareAccessorPermissionsExecute

func (a *ShareAPIService) UpdateShareAccessorPermissionsExecute(r ApiUpdateShareAccessorPermissionsRequest) (*ShareInfo, *http.Response, error)

Execute executes the request

@return ShareInfo

type ShareInfo

type ShareInfo struct {
	Accessors    []UserInfo                  `json:"accessors,omitempty"`
	Enabled      *bool                       `json:"enabled,omitempty"`
	Expires      *int64                      `json:"expires,omitempty"`
	FileID       *string                     `json:"fileID,omitempty"`
	Owner        *string                     `json:"owner,omitempty"`
	Permissions  *map[string]PermissionsInfo `json:"permissions,omitempty"`
	Public       *bool                       `json:"public,omitempty"`
	ShareID      *string                     `json:"shareID,omitempty"`
	ShareName    *string                     `json:"shareName,omitempty"`
	ShareType    *string                     `json:"shareType,omitempty"`
	TimelineOnly *bool                       `json:"timelineOnly,omitempty"`
	Updated      *int64                      `json:"updated,omitempty"`
	Wormhole     *bool                       `json:"wormhole,omitempty"`
}

ShareInfo struct for ShareInfo

func NewShareInfo

func NewShareInfo() *ShareInfo

NewShareInfo instantiates a new ShareInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewShareInfoWithDefaults

func NewShareInfoWithDefaults() *ShareInfo

NewShareInfoWithDefaults instantiates a new ShareInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ShareInfo) GetAccessors

func (o *ShareInfo) GetAccessors() []UserInfo

GetAccessors returns the Accessors field value if set, zero value otherwise.

func (*ShareInfo) GetAccessorsOk

func (o *ShareInfo) GetAccessorsOk() ([]UserInfo, bool)

GetAccessorsOk returns a tuple with the Accessors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetEnabled

func (o *ShareInfo) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*ShareInfo) GetEnabledOk

func (o *ShareInfo) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetExpires

func (o *ShareInfo) GetExpires() int64

GetExpires returns the Expires field value if set, zero value otherwise.

func (*ShareInfo) GetExpiresOk

func (o *ShareInfo) GetExpiresOk() (*int64, bool)

GetExpiresOk returns a tuple with the Expires field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetFileID

func (o *ShareInfo) GetFileID() string

GetFileID returns the FileID field value if set, zero value otherwise.

func (*ShareInfo) GetFileIDOk

func (o *ShareInfo) GetFileIDOk() (*string, bool)

GetFileIDOk returns a tuple with the FileID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetOwner

func (o *ShareInfo) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*ShareInfo) GetOwnerOk

func (o *ShareInfo) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetPermissions

func (o *ShareInfo) GetPermissions() map[string]PermissionsInfo

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*ShareInfo) GetPermissionsOk

func (o *ShareInfo) GetPermissionsOk() (*map[string]PermissionsInfo, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetPublic

func (o *ShareInfo) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*ShareInfo) GetPublicOk

func (o *ShareInfo) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetShareID

func (o *ShareInfo) GetShareID() string

GetShareID returns the ShareID field value if set, zero value otherwise.

func (*ShareInfo) GetShareIDOk

func (o *ShareInfo) GetShareIDOk() (*string, bool)

GetShareIDOk returns a tuple with the ShareID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetShareName

func (o *ShareInfo) GetShareName() string

GetShareName returns the ShareName field value if set, zero value otherwise.

func (*ShareInfo) GetShareNameOk

func (o *ShareInfo) GetShareNameOk() (*string, bool)

GetShareNameOk returns a tuple with the ShareName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetShareType

func (o *ShareInfo) GetShareType() string

GetShareType returns the ShareType field value if set, zero value otherwise.

func (*ShareInfo) GetShareTypeOk

func (o *ShareInfo) GetShareTypeOk() (*string, bool)

GetShareTypeOk returns a tuple with the ShareType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetTimelineOnly

func (o *ShareInfo) GetTimelineOnly() bool

GetTimelineOnly returns the TimelineOnly field value if set, zero value otherwise.

func (*ShareInfo) GetTimelineOnlyOk

func (o *ShareInfo) GetTimelineOnlyOk() (*bool, bool)

GetTimelineOnlyOk returns a tuple with the TimelineOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetUpdated

func (o *ShareInfo) GetUpdated() int64

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*ShareInfo) GetUpdatedOk

func (o *ShareInfo) GetUpdatedOk() (*int64, bool)

GetUpdatedOk returns a tuple with the Updated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) GetWormhole

func (o *ShareInfo) GetWormhole() bool

GetWormhole returns the Wormhole field value if set, zero value otherwise.

func (*ShareInfo) GetWormholeOk

func (o *ShareInfo) GetWormholeOk() (*bool, bool)

GetWormholeOk returns a tuple with the Wormhole field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareInfo) HasAccessors

func (o *ShareInfo) HasAccessors() bool

HasAccessors returns a boolean if a field has been set.

func (*ShareInfo) HasEnabled

func (o *ShareInfo) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*ShareInfo) HasExpires

func (o *ShareInfo) HasExpires() bool

HasExpires returns a boolean if a field has been set.

func (*ShareInfo) HasFileID

func (o *ShareInfo) HasFileID() bool

HasFileID returns a boolean if a field has been set.

func (*ShareInfo) HasOwner

func (o *ShareInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*ShareInfo) HasPermissions

func (o *ShareInfo) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*ShareInfo) HasPublic

func (o *ShareInfo) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*ShareInfo) HasShareID

func (o *ShareInfo) HasShareID() bool

HasShareID returns a boolean if a field has been set.

func (*ShareInfo) HasShareName

func (o *ShareInfo) HasShareName() bool

HasShareName returns a boolean if a field has been set.

func (*ShareInfo) HasShareType

func (o *ShareInfo) HasShareType() bool

HasShareType returns a boolean if a field has been set.

func (*ShareInfo) HasTimelineOnly

func (o *ShareInfo) HasTimelineOnly() bool

HasTimelineOnly returns a boolean if a field has been set.

func (*ShareInfo) HasUpdated

func (o *ShareInfo) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (*ShareInfo) HasWormhole

func (o *ShareInfo) HasWormhole() bool

HasWormhole returns a boolean if a field has been set.

func (ShareInfo) MarshalJSON

func (o ShareInfo) MarshalJSON() ([]byte, error)

func (*ShareInfo) SetAccessors

func (o *ShareInfo) SetAccessors(v []UserInfo)

SetAccessors gets a reference to the given []UserInfo and assigns it to the Accessors field.

func (*ShareInfo) SetEnabled

func (o *ShareInfo) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*ShareInfo) SetExpires

func (o *ShareInfo) SetExpires(v int64)

SetExpires gets a reference to the given int64 and assigns it to the Expires field.

func (*ShareInfo) SetFileID

func (o *ShareInfo) SetFileID(v string)

SetFileID gets a reference to the given string and assigns it to the FileID field.

func (*ShareInfo) SetOwner

func (o *ShareInfo) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*ShareInfo) SetPermissions

func (o *ShareInfo) SetPermissions(v map[string]PermissionsInfo)

SetPermissions gets a reference to the given map[string]PermissionsInfo and assigns it to the Permissions field.

func (*ShareInfo) SetPublic

func (o *ShareInfo) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*ShareInfo) SetShareID

func (o *ShareInfo) SetShareID(v string)

SetShareID gets a reference to the given string and assigns it to the ShareID field.

func (*ShareInfo) SetShareName

func (o *ShareInfo) SetShareName(v string)

SetShareName gets a reference to the given string and assigns it to the ShareName field.

func (*ShareInfo) SetShareType

func (o *ShareInfo) SetShareType(v string)

SetShareType gets a reference to the given string and assigns it to the ShareType field.

func (*ShareInfo) SetTimelineOnly

func (o *ShareInfo) SetTimelineOnly(v bool)

SetTimelineOnly gets a reference to the given bool and assigns it to the TimelineOnly field.

func (*ShareInfo) SetUpdated

func (o *ShareInfo) SetUpdated(v int64)

SetUpdated gets a reference to the given int64 and assigns it to the Updated field.

func (*ShareInfo) SetWormhole

func (o *ShareInfo) SetWormhole(v bool)

SetWormhole gets a reference to the given bool and assigns it to the Wormhole field.

func (ShareInfo) ToMap

func (o ShareInfo) ToMap() (map[string]interface{}, error)

type TakeoutInfo

type TakeoutInfo struct {
	Filename  *string `json:"filename,omitempty"`
	Single    *bool   `json:"single,omitempty"`
	TakeoutID *string `json:"takeoutID,omitempty"`
	TaskID    *string `json:"taskID,omitempty"`
}

TakeoutInfo struct for TakeoutInfo

func NewTakeoutInfo

func NewTakeoutInfo() *TakeoutInfo

NewTakeoutInfo instantiates a new TakeoutInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTakeoutInfoWithDefaults

func NewTakeoutInfoWithDefaults() *TakeoutInfo

NewTakeoutInfoWithDefaults instantiates a new TakeoutInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TakeoutInfo) GetFilename

func (o *TakeoutInfo) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*TakeoutInfo) GetFilenameOk

func (o *TakeoutInfo) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TakeoutInfo) GetSingle

func (o *TakeoutInfo) GetSingle() bool

GetSingle returns the Single field value if set, zero value otherwise.

func (*TakeoutInfo) GetSingleOk

func (o *TakeoutInfo) GetSingleOk() (*bool, bool)

GetSingleOk returns a tuple with the Single field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TakeoutInfo) GetTakeoutID

func (o *TakeoutInfo) GetTakeoutID() string

GetTakeoutID returns the TakeoutID field value if set, zero value otherwise.

func (*TakeoutInfo) GetTakeoutIDOk

func (o *TakeoutInfo) GetTakeoutIDOk() (*string, bool)

GetTakeoutIDOk returns a tuple with the TakeoutID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TakeoutInfo) GetTaskID

func (o *TakeoutInfo) GetTaskID() string

GetTaskID returns the TaskID field value if set, zero value otherwise.

func (*TakeoutInfo) GetTaskIDOk

func (o *TakeoutInfo) GetTaskIDOk() (*string, bool)

GetTaskIDOk returns a tuple with the TaskID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TakeoutInfo) HasFilename

func (o *TakeoutInfo) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*TakeoutInfo) HasSingle

func (o *TakeoutInfo) HasSingle() bool

HasSingle returns a boolean if a field has been set.

func (*TakeoutInfo) HasTakeoutID

func (o *TakeoutInfo) HasTakeoutID() bool

HasTakeoutID returns a boolean if a field has been set.

func (*TakeoutInfo) HasTaskID

func (o *TakeoutInfo) HasTaskID() bool

HasTaskID returns a boolean if a field has been set.

func (TakeoutInfo) MarshalJSON

func (o TakeoutInfo) MarshalJSON() ([]byte, error)

func (*TakeoutInfo) SetFilename

func (o *TakeoutInfo) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*TakeoutInfo) SetSingle

func (o *TakeoutInfo) SetSingle(v bool)

SetSingle gets a reference to the given bool and assigns it to the Single field.

func (*TakeoutInfo) SetTakeoutID

func (o *TakeoutInfo) SetTakeoutID(v string)

SetTakeoutID gets a reference to the given string and assigns it to the TakeoutID field.

func (*TakeoutInfo) SetTaskID

func (o *TakeoutInfo) SetTaskID(v string)

SetTaskID gets a reference to the given string and assigns it to the TaskID field.

func (TakeoutInfo) ToMap

func (o TakeoutInfo) ToMap() (map[string]interface{}, error)

type TaskInfo

type TaskInfo struct {
	Completed bool                   `json:"Completed"`
	JobName   string                 `json:"jobName"`
	Progress  int32                  `json:"progress"`
	Result    map[string]interface{} `json:"result,omitempty"`
	StartTime *string                `json:"startTime,omitempty"`
	Status    string                 `json:"status"`
	TaskID    string                 `json:"taskID"`
	WorkerID  int32                  `json:"workerID"`
}

TaskInfo struct for TaskInfo

func NewTaskInfo

func NewTaskInfo(completed bool, jobName string, progress int32, status string, taskID string, workerID int32) *TaskInfo

NewTaskInfo instantiates a new TaskInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTaskInfoWithDefaults

func NewTaskInfoWithDefaults() *TaskInfo

NewTaskInfoWithDefaults instantiates a new TaskInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TaskInfo) GetCompleted

func (o *TaskInfo) GetCompleted() bool

GetCompleted returns the Completed field value

func (*TaskInfo) GetCompletedOk

func (o *TaskInfo) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value and a boolean to check if the value has been set.

func (*TaskInfo) GetJobName

func (o *TaskInfo) GetJobName() string

GetJobName returns the JobName field value

func (*TaskInfo) GetJobNameOk

func (o *TaskInfo) GetJobNameOk() (*string, bool)

GetJobNameOk returns a tuple with the JobName field value and a boolean to check if the value has been set.

func (*TaskInfo) GetProgress

func (o *TaskInfo) GetProgress() int32

GetProgress returns the Progress field value

func (*TaskInfo) GetProgressOk

func (o *TaskInfo) GetProgressOk() (*int32, bool)

GetProgressOk returns a tuple with the Progress field value and a boolean to check if the value has been set.

func (*TaskInfo) GetResult

func (o *TaskInfo) GetResult() map[string]interface{}

GetResult returns the Result field value if set, zero value otherwise.

func (*TaskInfo) GetResultOk

func (o *TaskInfo) GetResultOk() (map[string]interface{}, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskInfo) GetStartTime

func (o *TaskInfo) GetStartTime() string

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*TaskInfo) GetStartTimeOk

func (o *TaskInfo) GetStartTimeOk() (*string, bool)

GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskInfo) GetStatus

func (o *TaskInfo) GetStatus() string

GetStatus returns the Status field value

func (*TaskInfo) GetStatusOk

func (o *TaskInfo) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*TaskInfo) GetTaskID

func (o *TaskInfo) GetTaskID() string

GetTaskID returns the TaskID field value

func (*TaskInfo) GetTaskIDOk

func (o *TaskInfo) GetTaskIDOk() (*string, bool)

GetTaskIDOk returns a tuple with the TaskID field value and a boolean to check if the value has been set.

func (*TaskInfo) GetWorkerID

func (o *TaskInfo) GetWorkerID() int32

GetWorkerID returns the WorkerID field value

func (*TaskInfo) GetWorkerIDOk

func (o *TaskInfo) GetWorkerIDOk() (*int32, bool)

GetWorkerIDOk returns a tuple with the WorkerID field value and a boolean to check if the value has been set.

func (*TaskInfo) HasResult

func (o *TaskInfo) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*TaskInfo) HasStartTime

func (o *TaskInfo) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (TaskInfo) MarshalJSON

func (o TaskInfo) MarshalJSON() ([]byte, error)

func (*TaskInfo) SetCompleted

func (o *TaskInfo) SetCompleted(v bool)

SetCompleted sets field value

func (*TaskInfo) SetJobName

func (o *TaskInfo) SetJobName(v string)

SetJobName sets field value

func (*TaskInfo) SetProgress

func (o *TaskInfo) SetProgress(v int32)

SetProgress sets field value

func (*TaskInfo) SetResult

func (o *TaskInfo) SetResult(v map[string]interface{})

SetResult gets a reference to the given map[string]interface{} and assigns it to the Result field.

func (*TaskInfo) SetStartTime

func (o *TaskInfo) SetStartTime(v string)

SetStartTime gets a reference to the given string and assigns it to the StartTime field.

func (*TaskInfo) SetStatus

func (o *TaskInfo) SetStatus(v string)

SetStatus sets field value

func (*TaskInfo) SetTaskID

func (o *TaskInfo) SetTaskID(v string)

SetTaskID sets field value

func (*TaskInfo) SetWorkerID

func (o *TaskInfo) SetWorkerID(v int32)

SetWorkerID sets field value

func (TaskInfo) ToMap

func (o TaskInfo) ToMap() (map[string]interface{}, error)

func (*TaskInfo) UnmarshalJSON

func (o *TaskInfo) UnmarshalJSON(data []byte) (err error)

type TokenInfo

type TokenInfo struct {
	CreatedBy   string `json:"createdBy"`
	CreatedTime int64  `json:"createdTime"`
	Id          string `json:"id"`
	LastUsed    int64  `json:"lastUsed"`
	Nickname    string `json:"nickname"`
	Owner       string `json:"owner"`
	RemoteUsing string `json:"remoteUsing"`
	Token       string `json:"token"`
}

TokenInfo struct for TokenInfo

func NewTokenInfo

func NewTokenInfo(createdBy string, createdTime int64, id string, lastUsed int64, nickname string, owner string, remoteUsing string, token string) *TokenInfo

NewTokenInfo instantiates a new TokenInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenInfoWithDefaults

func NewTokenInfoWithDefaults() *TokenInfo

NewTokenInfoWithDefaults instantiates a new TokenInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenInfo) GetCreatedBy

func (o *TokenInfo) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*TokenInfo) GetCreatedByOk

func (o *TokenInfo) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*TokenInfo) GetCreatedTime

func (o *TokenInfo) GetCreatedTime() int64

GetCreatedTime returns the CreatedTime field value

func (*TokenInfo) GetCreatedTimeOk

func (o *TokenInfo) GetCreatedTimeOk() (*int64, bool)

GetCreatedTimeOk returns a tuple with the CreatedTime field value and a boolean to check if the value has been set.

func (*TokenInfo) GetId

func (o *TokenInfo) GetId() string

GetId returns the Id field value

func (*TokenInfo) GetIdOk

func (o *TokenInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TokenInfo) GetLastUsed

func (o *TokenInfo) GetLastUsed() int64

GetLastUsed returns the LastUsed field value

func (*TokenInfo) GetLastUsedOk

func (o *TokenInfo) GetLastUsedOk() (*int64, bool)

GetLastUsedOk returns a tuple with the LastUsed field value and a boolean to check if the value has been set.

func (*TokenInfo) GetNickname

func (o *TokenInfo) GetNickname() string

GetNickname returns the Nickname field value

func (*TokenInfo) GetNicknameOk

func (o *TokenInfo) GetNicknameOk() (*string, bool)

GetNicknameOk returns a tuple with the Nickname field value and a boolean to check if the value has been set.

func (*TokenInfo) GetOwner

func (o *TokenInfo) GetOwner() string

GetOwner returns the Owner field value

func (*TokenInfo) GetOwnerOk

func (o *TokenInfo) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.

func (*TokenInfo) GetRemoteUsing

func (o *TokenInfo) GetRemoteUsing() string

GetRemoteUsing returns the RemoteUsing field value

func (*TokenInfo) GetRemoteUsingOk

func (o *TokenInfo) GetRemoteUsingOk() (*string, bool)

GetRemoteUsingOk returns a tuple with the RemoteUsing field value and a boolean to check if the value has been set.

func (*TokenInfo) GetToken

func (o *TokenInfo) GetToken() string

GetToken returns the Token field value

func (*TokenInfo) GetTokenOk

func (o *TokenInfo) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (TokenInfo) MarshalJSON

func (o TokenInfo) MarshalJSON() ([]byte, error)

func (*TokenInfo) SetCreatedBy

func (o *TokenInfo) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*TokenInfo) SetCreatedTime

func (o *TokenInfo) SetCreatedTime(v int64)

SetCreatedTime sets field value

func (*TokenInfo) SetId

func (o *TokenInfo) SetId(v string)

SetId sets field value

func (*TokenInfo) SetLastUsed

func (o *TokenInfo) SetLastUsed(v int64)

SetLastUsed sets field value

func (*TokenInfo) SetNickname

func (o *TokenInfo) SetNickname(v string)

SetNickname sets field value

func (*TokenInfo) SetOwner

func (o *TokenInfo) SetOwner(v string)

SetOwner sets field value

func (*TokenInfo) SetRemoteUsing

func (o *TokenInfo) SetRemoteUsing(v string)

SetRemoteUsing sets field value

func (*TokenInfo) SetToken

func (o *TokenInfo) SetToken(v string)

SetToken sets field value

func (TokenInfo) ToMap

func (o TokenInfo) ToMap() (map[string]interface{}, error)

func (*TokenInfo) UnmarshalJSON

func (o *TokenInfo) UnmarshalJSON(data []byte) (err error)

type TowerHealth

type TowerHealth struct {
	Status string `json:"status"`
}

TowerHealth struct for TowerHealth

func NewTowerHealth

func NewTowerHealth(status string) *TowerHealth

NewTowerHealth instantiates a new TowerHealth object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTowerHealthWithDefaults

func NewTowerHealthWithDefaults() *TowerHealth

NewTowerHealthWithDefaults instantiates a new TowerHealth object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TowerHealth) GetStatus

func (o *TowerHealth) GetStatus() string

GetStatus returns the Status field value

func (*TowerHealth) GetStatusOk

func (o *TowerHealth) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (TowerHealth) MarshalJSON

func (o TowerHealth) MarshalJSON() ([]byte, error)

func (*TowerHealth) SetStatus

func (o *TowerHealth) SetStatus(v string)

SetStatus sets field value

func (TowerHealth) ToMap

func (o TowerHealth) ToMap() (map[string]interface{}, error)

func (*TowerHealth) UnmarshalJSON

func (o *TowerHealth) UnmarshalJSON(data []byte) (err error)

type TowerInfo

type TowerInfo struct {
	BackupSize int64 `json:"backupSize"`
	// Address of the remote server, only if the instance is a core. Not set for any remotes/backups on core server, as it IS the core
	CoreAddress string  `json:"coreAddress"`
	Id          string  `json:"id"`
	LastBackup  int64   `json:"lastBackup"`
	LogLevel    *string `json:"logLevel,omitempty"`
	Name        string  `json:"name"`
	Online      bool    `json:"online"`
	// Role the server is currently reporting. This is used to determine if the server is online (and functional) or not
	ReportedRole string `json:"reportedRole"`
	// Core or Backup
	Role      string `json:"role"`
	Started   bool   `json:"started"`
	UserCount int32  `json:"userCount"`
}

TowerInfo struct for TowerInfo

func NewTowerInfo

func NewTowerInfo(backupSize int64, coreAddress string, id string, lastBackup int64, name string, online bool, reportedRole string, role string, started bool, userCount int32) *TowerInfo

NewTowerInfo instantiates a new TowerInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTowerInfoWithDefaults

func NewTowerInfoWithDefaults() *TowerInfo

NewTowerInfoWithDefaults instantiates a new TowerInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TowerInfo) GetBackupSize

func (o *TowerInfo) GetBackupSize() int64

GetBackupSize returns the BackupSize field value

func (*TowerInfo) GetBackupSizeOk

func (o *TowerInfo) GetBackupSizeOk() (*int64, bool)

GetBackupSizeOk returns a tuple with the BackupSize field value and a boolean to check if the value has been set.

func (*TowerInfo) GetCoreAddress

func (o *TowerInfo) GetCoreAddress() string

GetCoreAddress returns the CoreAddress field value

func (*TowerInfo) GetCoreAddressOk

func (o *TowerInfo) GetCoreAddressOk() (*string, bool)

GetCoreAddressOk returns a tuple with the CoreAddress field value and a boolean to check if the value has been set.

func (*TowerInfo) GetId

func (o *TowerInfo) GetId() string

GetId returns the Id field value

func (*TowerInfo) GetIdOk

func (o *TowerInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TowerInfo) GetLastBackup

func (o *TowerInfo) GetLastBackup() int64

GetLastBackup returns the LastBackup field value

func (*TowerInfo) GetLastBackupOk

func (o *TowerInfo) GetLastBackupOk() (*int64, bool)

GetLastBackupOk returns a tuple with the LastBackup field value and a boolean to check if the value has been set.

func (*TowerInfo) GetLogLevel

func (o *TowerInfo) GetLogLevel() string

GetLogLevel returns the LogLevel field value if set, zero value otherwise.

func (*TowerInfo) GetLogLevelOk

func (o *TowerInfo) GetLogLevelOk() (*string, bool)

GetLogLevelOk returns a tuple with the LogLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TowerInfo) GetName

func (o *TowerInfo) GetName() string

GetName returns the Name field value

func (*TowerInfo) GetNameOk

func (o *TowerInfo) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TowerInfo) GetOnline

func (o *TowerInfo) GetOnline() bool

GetOnline returns the Online field value

func (*TowerInfo) GetOnlineOk

func (o *TowerInfo) GetOnlineOk() (*bool, bool)

GetOnlineOk returns a tuple with the Online field value and a boolean to check if the value has been set.

func (*TowerInfo) GetReportedRole

func (o *TowerInfo) GetReportedRole() string

GetReportedRole returns the ReportedRole field value

func (*TowerInfo) GetReportedRoleOk

func (o *TowerInfo) GetReportedRoleOk() (*string, bool)

GetReportedRoleOk returns a tuple with the ReportedRole field value and a boolean to check if the value has been set.

func (*TowerInfo) GetRole

func (o *TowerInfo) GetRole() string

GetRole returns the Role field value

func (*TowerInfo) GetRoleOk

func (o *TowerInfo) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*TowerInfo) GetStarted

func (o *TowerInfo) GetStarted() bool

GetStarted returns the Started field value

func (*TowerInfo) GetStartedOk

func (o *TowerInfo) GetStartedOk() (*bool, bool)

GetStartedOk returns a tuple with the Started field value and a boolean to check if the value has been set.

func (*TowerInfo) GetUserCount

func (o *TowerInfo) GetUserCount() int32

GetUserCount returns the UserCount field value

func (*TowerInfo) GetUserCountOk

func (o *TowerInfo) GetUserCountOk() (*int32, bool)

GetUserCountOk returns a tuple with the UserCount field value and a boolean to check if the value has been set.

func (*TowerInfo) HasLogLevel

func (o *TowerInfo) HasLogLevel() bool

HasLogLevel returns a boolean if a field has been set.

func (TowerInfo) MarshalJSON

func (o TowerInfo) MarshalJSON() ([]byte, error)

func (*TowerInfo) SetBackupSize

func (o *TowerInfo) SetBackupSize(v int64)

SetBackupSize sets field value

func (*TowerInfo) SetCoreAddress

func (o *TowerInfo) SetCoreAddress(v string)

SetCoreAddress sets field value

func (*TowerInfo) SetId

func (o *TowerInfo) SetId(v string)

SetId sets field value

func (*TowerInfo) SetLastBackup

func (o *TowerInfo) SetLastBackup(v int64)

SetLastBackup sets field value

func (*TowerInfo) SetLogLevel

func (o *TowerInfo) SetLogLevel(v string)

SetLogLevel gets a reference to the given string and assigns it to the LogLevel field.

func (*TowerInfo) SetName

func (o *TowerInfo) SetName(v string)

SetName sets field value

func (*TowerInfo) SetOnline

func (o *TowerInfo) SetOnline(v bool)

SetOnline sets field value

func (*TowerInfo) SetReportedRole

func (o *TowerInfo) SetReportedRole(v string)

SetReportedRole sets field value

func (*TowerInfo) SetRole

func (o *TowerInfo) SetRole(v string)

SetRole sets field value

func (*TowerInfo) SetStarted

func (o *TowerInfo) SetStarted(v bool)

SetStarted sets field value

func (*TowerInfo) SetUserCount

func (o *TowerInfo) SetUserCount(v int32)

SetUserCount sets field value

func (TowerInfo) ToMap

func (o TowerInfo) ToMap() (map[string]interface{}, error)

func (*TowerInfo) UnmarshalJSON

func (o *TowerInfo) UnmarshalJSON(data []byte) (err error)

type TowersAPIService

type TowersAPIService service

TowersAPIService TowersAPI service

func (*TowersAPIService) CreateRemote

CreateRemote Create a new remote

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateRemoteRequest

func (*TowersAPIService) CreateRemoteExecute

func (a *TowersAPIService) CreateRemoteExecute(r ApiCreateRemoteRequest) (*TowerInfo, *http.Response, error)

Execute executes the request

@return TowerInfo

func (*TowersAPIService) DeleteRemote

func (a *TowersAPIService) DeleteRemote(ctx context.Context, serverID string) ApiDeleteRemoteRequest

DeleteRemote Delete a remote

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverID Server ID to delete
@return ApiDeleteRemoteRequest

func (*TowersAPIService) DeleteRemoteExecute

func (a *TowersAPIService) DeleteRemoteExecute(r ApiDeleteRemoteRequest) (*http.Response, error)

Execute executes the request

func (*TowersAPIService) EnableTraceLogging

func (a *TowersAPIService) EnableTraceLogging(ctx context.Context) ApiEnableTraceLoggingRequest

EnableTraceLogging Enable trace logging

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEnableTraceLoggingRequest

func (*TowersAPIService) EnableTraceLoggingExecute

func (a *TowersAPIService) EnableTraceLoggingExecute(r ApiEnableTraceLoggingRequest) (*http.Response, error)

Execute executes the request

func (*TowersAPIService) FlushCache

FlushCache Flush Cache

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFlushCacheRequest

func (*TowersAPIService) FlushCacheExecute

Execute executes the request

@return WLResponseInfo

func (*TowersAPIService) GetBackupInfo

GetBackupInfo Get information about a file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBackupInfoRequest

func (*TowersAPIService) GetBackupInfoExecute

func (a *TowersAPIService) GetBackupInfoExecute(r ApiGetBackupInfoRequest) (*BackupInfo, *http.Response, error)

Execute executes the request

@return BackupInfo

func (*TowersAPIService) GetPagedHistoryActions

func (a *TowersAPIService) GetPagedHistoryActions(ctx context.Context) ApiGetPagedHistoryActionsRequest

GetPagedHistoryActions Get a page of file actions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPagedHistoryActionsRequest

func (*TowersAPIService) GetPagedHistoryActionsExecute

func (a *TowersAPIService) GetPagedHistoryActionsExecute(r ApiGetPagedHistoryActionsRequest) ([]HistoryFileAction, *http.Response, error)

Execute executes the request

@return []HistoryFileAction

func (*TowersAPIService) GetRemotes

GetRemotes Get all remotes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRemotesRequest

func (*TowersAPIService) GetRemotesExecute

func (a *TowersAPIService) GetRemotesExecute(r ApiGetRemotesRequest) ([]TowerInfo, *http.Response, error)

Execute executes the request

@return []TowerInfo

func (*TowersAPIService) GetRunningTasks

GetRunningTasks Get Running Tasks

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRunningTasksRequest

func (*TowersAPIService) GetRunningTasksExecute

func (a *TowersAPIService) GetRunningTasksExecute(r ApiGetRunningTasksRequest) ([]TaskInfo, *http.Response, error)

Execute executes the request

@return []TaskInfo

func (*TowersAPIService) GetServerHealthStatus

func (a *TowersAPIService) GetServerHealthStatus(ctx context.Context) ApiGetServerHealthStatusRequest

GetServerHealthStatus Get server health status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetServerHealthStatusRequest

func (*TowersAPIService) GetServerHealthStatusExecute

func (a *TowersAPIService) GetServerHealthStatusExecute(r ApiGetServerHealthStatusRequest) (*TowerHealth, *http.Response, error)

Execute executes the request

@return TowerHealth

func (*TowersAPIService) GetServerInfo

GetServerInfo Get server info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetServerInfoRequest

func (*TowersAPIService) GetServerInfoExecute

func (a *TowersAPIService) GetServerInfoExecute(r ApiGetServerInfoRequest) (*TowerInfo, *http.Response, error)

Execute executes the request

@return TowerInfo

func (*TowersAPIService) InitializeTower

InitializeTower Initialize the target server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiInitializeTowerRequest

func (*TowersAPIService) InitializeTowerExecute

func (a *TowersAPIService) InitializeTowerExecute(r ApiInitializeTowerRequest) ([]TowerInfo, *http.Response, error)

Execute executes the request

@return []TowerInfo

func (*TowersAPIService) LaunchBackup

func (a *TowersAPIService) LaunchBackup(ctx context.Context, serverID string) ApiLaunchBackupRequest

LaunchBackup Launch backup on a tower

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverID Server ID of the tower to back up
@return ApiLaunchBackupRequest

func (*TowersAPIService) LaunchBackupExecute

func (a *TowersAPIService) LaunchBackupExecute(r ApiLaunchBackupRequest) (*http.Response, error)

Execute executes the request

func (*TowersAPIService) ResetTower

ResetTower Reset tower

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiResetTowerRequest

func (*TowersAPIService) ResetTowerExecute

func (a *TowersAPIService) ResetTowerExecute(r ApiResetTowerRequest) (*http.Response, error)

Execute executes the request

type UpdateFileParams

type UpdateFileParams struct {
	NewName     *string `json:"newName,omitempty"`
	NewParentID *string `json:"newParentID,omitempty"`
}

UpdateFileParams struct for UpdateFileParams

func NewUpdateFileParams

func NewUpdateFileParams() *UpdateFileParams

NewUpdateFileParams instantiates a new UpdateFileParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateFileParamsWithDefaults

func NewUpdateFileParamsWithDefaults() *UpdateFileParams

NewUpdateFileParamsWithDefaults instantiates a new UpdateFileParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateFileParams) GetNewName

func (o *UpdateFileParams) GetNewName() string

GetNewName returns the NewName field value if set, zero value otherwise.

func (*UpdateFileParams) GetNewNameOk

func (o *UpdateFileParams) GetNewNameOk() (*string, bool)

GetNewNameOk returns a tuple with the NewName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFileParams) GetNewParentID

func (o *UpdateFileParams) GetNewParentID() string

GetNewParentID returns the NewParentID field value if set, zero value otherwise.

func (*UpdateFileParams) GetNewParentIDOk

func (o *UpdateFileParams) GetNewParentIDOk() (*string, bool)

GetNewParentIDOk returns a tuple with the NewParentID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFileParams) HasNewName

func (o *UpdateFileParams) HasNewName() bool

HasNewName returns a boolean if a field has been set.

func (*UpdateFileParams) HasNewParentID

func (o *UpdateFileParams) HasNewParentID() bool

HasNewParentID returns a boolean if a field has been set.

func (UpdateFileParams) MarshalJSON

func (o UpdateFileParams) MarshalJSON() ([]byte, error)

func (*UpdateFileParams) SetNewName

func (o *UpdateFileParams) SetNewName(v string)

SetNewName gets a reference to the given string and assigns it to the NewName field.

func (*UpdateFileParams) SetNewParentID

func (o *UpdateFileParams) SetNewParentID(v string)

SetNewParentID gets a reference to the given string and assigns it to the NewParentID field.

func (UpdateFileParams) ToMap

func (o UpdateFileParams) ToMap() (map[string]interface{}, error)

type UserInfo

type UserInfo struct {
	Activated       bool    `json:"activated"`
	FullName        string  `json:"fullName"`
	HomeID          string  `json:"homeID"`
	IsOnline        *bool   `json:"isOnline,omitempty"`
	PermissionLevel int32   `json:"permissionLevel"`
	Token           *string `json:"token,omitempty"`
	TrashID         string  `json:"trashID"`
	UpdatedAt       int64   `json:"updatedAt"`
	Username        string  `json:"username"`
}

UserInfo struct for UserInfo

func NewUserInfo

func NewUserInfo(activated bool, fullName string, homeID string, permissionLevel int32, trashID string, updatedAt int64, username string) *UserInfo

NewUserInfo instantiates a new UserInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserInfoWithDefaults

func NewUserInfoWithDefaults() *UserInfo

NewUserInfoWithDefaults instantiates a new UserInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserInfo) GetActivated

func (o *UserInfo) GetActivated() bool

GetActivated returns the Activated field value

func (*UserInfo) GetActivatedOk

func (o *UserInfo) GetActivatedOk() (*bool, bool)

GetActivatedOk returns a tuple with the Activated field value and a boolean to check if the value has been set.

func (*UserInfo) GetFullName

func (o *UserInfo) GetFullName() string

GetFullName returns the FullName field value

func (*UserInfo) GetFullNameOk

func (o *UserInfo) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*UserInfo) GetHomeID

func (o *UserInfo) GetHomeID() string

GetHomeID returns the HomeID field value

func (*UserInfo) GetHomeIDOk

func (o *UserInfo) GetHomeIDOk() (*string, bool)

GetHomeIDOk returns a tuple with the HomeID field value and a boolean to check if the value has been set.

func (*UserInfo) GetIsOnline

func (o *UserInfo) GetIsOnline() bool

GetIsOnline returns the IsOnline field value if set, zero value otherwise.

func (*UserInfo) GetIsOnlineOk

func (o *UserInfo) GetIsOnlineOk() (*bool, bool)

GetIsOnlineOk returns a tuple with the IsOnline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInfo) GetPermissionLevel

func (o *UserInfo) GetPermissionLevel() int32

GetPermissionLevel returns the PermissionLevel field value

func (*UserInfo) GetPermissionLevelOk

func (o *UserInfo) GetPermissionLevelOk() (*int32, bool)

GetPermissionLevelOk returns a tuple with the PermissionLevel field value and a boolean to check if the value has been set.

func (*UserInfo) GetToken

func (o *UserInfo) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*UserInfo) GetTokenOk

func (o *UserInfo) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInfo) GetTrashID

func (o *UserInfo) GetTrashID() string

GetTrashID returns the TrashID field value

func (*UserInfo) GetTrashIDOk

func (o *UserInfo) GetTrashIDOk() (*string, bool)

GetTrashIDOk returns a tuple with the TrashID field value and a boolean to check if the value has been set.

func (*UserInfo) GetUpdatedAt

func (o *UserInfo) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field value

func (*UserInfo) GetUpdatedAtOk

func (o *UserInfo) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*UserInfo) GetUsername

func (o *UserInfo) GetUsername() string

GetUsername returns the Username field value

func (*UserInfo) GetUsernameOk

func (o *UserInfo) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*UserInfo) HasIsOnline

func (o *UserInfo) HasIsOnline() bool

HasIsOnline returns a boolean if a field has been set.

func (*UserInfo) HasToken

func (o *UserInfo) HasToken() bool

HasToken returns a boolean if a field has been set.

func (UserInfo) MarshalJSON

func (o UserInfo) MarshalJSON() ([]byte, error)

func (*UserInfo) SetActivated

func (o *UserInfo) SetActivated(v bool)

SetActivated sets field value

func (*UserInfo) SetFullName

func (o *UserInfo) SetFullName(v string)

SetFullName sets field value

func (*UserInfo) SetHomeID

func (o *UserInfo) SetHomeID(v string)

SetHomeID sets field value

func (*UserInfo) SetIsOnline

func (o *UserInfo) SetIsOnline(v bool)

SetIsOnline gets a reference to the given bool and assigns it to the IsOnline field.

func (*UserInfo) SetPermissionLevel

func (o *UserInfo) SetPermissionLevel(v int32)

SetPermissionLevel sets field value

func (*UserInfo) SetToken

func (o *UserInfo) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*UserInfo) SetTrashID

func (o *UserInfo) SetTrashID(v string)

SetTrashID sets field value

func (*UserInfo) SetUpdatedAt

func (o *UserInfo) SetUpdatedAt(v int64)

SetUpdatedAt sets field value

func (*UserInfo) SetUsername

func (o *UserInfo) SetUsername(v string)

SetUsername sets field value

func (UserInfo) ToMap

func (o UserInfo) ToMap() (map[string]interface{}, error)

func (*UserInfo) UnmarshalJSON

func (o *UserInfo) UnmarshalJSON(data []byte) (err error)

type UserInfoArchive

type UserInfoArchive struct {
	Activated       bool    `json:"activated"`
	FullName        string  `json:"fullName"`
	HomeID          string  `json:"homeID"`
	IsOnline        *bool   `json:"isOnline,omitempty"`
	Password        *string `json:"password,omitempty"`
	PermissionLevel int32   `json:"permissionLevel"`
	Token           *string `json:"token,omitempty"`
	TrashID         string  `json:"trashID"`
	UpdatedAt       int64   `json:"updatedAt"`
	Username        string  `json:"username"`
}

UserInfoArchive struct for UserInfoArchive

func NewUserInfoArchive

func NewUserInfoArchive(activated bool, fullName string, homeID string, permissionLevel int32, trashID string, updatedAt int64, username string) *UserInfoArchive

NewUserInfoArchive instantiates a new UserInfoArchive object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserInfoArchiveWithDefaults

func NewUserInfoArchiveWithDefaults() *UserInfoArchive

NewUserInfoArchiveWithDefaults instantiates a new UserInfoArchive object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserInfoArchive) GetActivated

func (o *UserInfoArchive) GetActivated() bool

GetActivated returns the Activated field value

func (*UserInfoArchive) GetActivatedOk

func (o *UserInfoArchive) GetActivatedOk() (*bool, bool)

GetActivatedOk returns a tuple with the Activated field value and a boolean to check if the value has been set.

func (*UserInfoArchive) GetFullName

func (o *UserInfoArchive) GetFullName() string

GetFullName returns the FullName field value

func (*UserInfoArchive) GetFullNameOk

func (o *UserInfoArchive) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*UserInfoArchive) GetHomeID

func (o *UserInfoArchive) GetHomeID() string

GetHomeID returns the HomeID field value

func (*UserInfoArchive) GetHomeIDOk

func (o *UserInfoArchive) GetHomeIDOk() (*string, bool)

GetHomeIDOk returns a tuple with the HomeID field value and a boolean to check if the value has been set.

func (*UserInfoArchive) GetIsOnline

func (o *UserInfoArchive) GetIsOnline() bool

GetIsOnline returns the IsOnline field value if set, zero value otherwise.

func (*UserInfoArchive) GetIsOnlineOk

func (o *UserInfoArchive) GetIsOnlineOk() (*bool, bool)

GetIsOnlineOk returns a tuple with the IsOnline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInfoArchive) GetPassword

func (o *UserInfoArchive) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*UserInfoArchive) GetPasswordOk

func (o *UserInfoArchive) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInfoArchive) GetPermissionLevel

func (o *UserInfoArchive) GetPermissionLevel() int32

GetPermissionLevel returns the PermissionLevel field value

func (*UserInfoArchive) GetPermissionLevelOk

func (o *UserInfoArchive) GetPermissionLevelOk() (*int32, bool)

GetPermissionLevelOk returns a tuple with the PermissionLevel field value and a boolean to check if the value has been set.

func (*UserInfoArchive) GetToken

func (o *UserInfoArchive) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*UserInfoArchive) GetTokenOk

func (o *UserInfoArchive) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInfoArchive) GetTrashID

func (o *UserInfoArchive) GetTrashID() string

GetTrashID returns the TrashID field value

func (*UserInfoArchive) GetTrashIDOk

func (o *UserInfoArchive) GetTrashIDOk() (*string, bool)

GetTrashIDOk returns a tuple with the TrashID field value and a boolean to check if the value has been set.

func (*UserInfoArchive) GetUpdatedAt

func (o *UserInfoArchive) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field value

func (*UserInfoArchive) GetUpdatedAtOk

func (o *UserInfoArchive) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*UserInfoArchive) GetUsername

func (o *UserInfoArchive) GetUsername() string

GetUsername returns the Username field value

func (*UserInfoArchive) GetUsernameOk

func (o *UserInfoArchive) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*UserInfoArchive) HasIsOnline

func (o *UserInfoArchive) HasIsOnline() bool

HasIsOnline returns a boolean if a field has been set.

func (*UserInfoArchive) HasPassword

func (o *UserInfoArchive) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*UserInfoArchive) HasToken

func (o *UserInfoArchive) HasToken() bool

HasToken returns a boolean if a field has been set.

func (UserInfoArchive) MarshalJSON

func (o UserInfoArchive) MarshalJSON() ([]byte, error)

func (*UserInfoArchive) SetActivated

func (o *UserInfoArchive) SetActivated(v bool)

SetActivated sets field value

func (*UserInfoArchive) SetFullName

func (o *UserInfoArchive) SetFullName(v string)

SetFullName sets field value

func (*UserInfoArchive) SetHomeID

func (o *UserInfoArchive) SetHomeID(v string)

SetHomeID sets field value

func (*UserInfoArchive) SetIsOnline

func (o *UserInfoArchive) SetIsOnline(v bool)

SetIsOnline gets a reference to the given bool and assigns it to the IsOnline field.

func (*UserInfoArchive) SetPassword

func (o *UserInfoArchive) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*UserInfoArchive) SetPermissionLevel

func (o *UserInfoArchive) SetPermissionLevel(v int32)

SetPermissionLevel sets field value

func (*UserInfoArchive) SetToken

func (o *UserInfoArchive) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*UserInfoArchive) SetTrashID

func (o *UserInfoArchive) SetTrashID(v string)

SetTrashID sets field value

func (*UserInfoArchive) SetUpdatedAt

func (o *UserInfoArchive) SetUpdatedAt(v int64)

SetUpdatedAt sets field value

func (*UserInfoArchive) SetUsername

func (o *UserInfoArchive) SetUsername(v string)

SetUsername sets field value

func (UserInfoArchive) ToMap

func (o UserInfoArchive) ToMap() (map[string]interface{}, error)

func (*UserInfoArchive) UnmarshalJSON

func (o *UserInfoArchive) UnmarshalJSON(data []byte) (err error)

type UsersAPIService

type UsersAPIService service

UsersAPIService UsersAPI service

func (*UsersAPIService) ActivateUser

func (a *UsersAPIService) ActivateUser(ctx context.Context, username string) ApiActivateUserRequest

ActivateUser Update active status of user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username Username of user to update
@return ApiActivateUserRequest

func (*UsersAPIService) ActivateUserExecute

func (a *UsersAPIService) ActivateUserExecute(r ApiActivateUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) ChangeDisplayName

func (a *UsersAPIService) ChangeDisplayName(ctx context.Context, username string) ApiChangeDisplayNameRequest

ChangeDisplayName Update display name of a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username Username of user to update
@return ApiChangeDisplayNameRequest

func (*UsersAPIService) ChangeDisplayNameExecute

func (a *UsersAPIService) ChangeDisplayNameExecute(r ApiChangeDisplayNameRequest) (*UserInfo, *http.Response, error)

Execute executes the request

@return UserInfo

func (*UsersAPIService) CheckExists

func (a *UsersAPIService) CheckExists(ctx context.Context, username string) ApiCheckExistsRequest

CheckExists Check if username is already taken

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username Username of user to check
@return ApiCheckExistsRequest

func (*UsersAPIService) CheckExistsExecute

func (a *UsersAPIService) CheckExistsExecute(r ApiCheckExistsRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) CreateUser

CreateUser Create a new user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateUserRequest

func (*UsersAPIService) CreateUserExecute

func (a *UsersAPIService) CreateUserExecute(r ApiCreateUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) DeleteUser

func (a *UsersAPIService) DeleteUser(ctx context.Context, username string) ApiDeleteUserRequest

DeleteUser Delete a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username Username of user to delete
@return ApiDeleteUserRequest

func (*UsersAPIService) DeleteUserExecute

func (a *UsersAPIService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) GetUser

GetUser Gets the user based on the auth token

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUserRequest

func (*UsersAPIService) GetUserExecute

func (a *UsersAPIService) GetUserExecute(r ApiGetUserRequest) (*UserInfo, *http.Response, error)

Execute executes the request

@return UserInfo

func (*UsersAPIService) GetUsers

GetUsers Get all users, including (possibly) sensitive information like password hashes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUsersRequest

func (*UsersAPIService) GetUsersExecute

Execute executes the request

@return []UserInfoArchive

func (*UsersAPIService) LoginUser

LoginUser Login User

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLoginUserRequest

func (*UsersAPIService) LoginUserExecute

func (a *UsersAPIService) LoginUserExecute(r ApiLoginUserRequest) (*UserInfo, *http.Response, error)

Execute executes the request

@return UserInfo

func (*UsersAPIService) LogoutUser

LogoutUser Logout User

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLogoutUserRequest

func (*UsersAPIService) LogoutUserExecute

func (a *UsersAPIService) LogoutUserExecute(r ApiLogoutUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) SearchUsers

SearchUsers Search for users by username

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchUsersRequest

func (*UsersAPIService) SearchUsersExecute

func (a *UsersAPIService) SearchUsersExecute(r ApiSearchUsersRequest) ([]UserInfo, *http.Response, error)

Execute executes the request

@return []UserInfo

func (*UsersAPIService) SetUserAdmin

func (a *UsersAPIService) SetUserAdmin(ctx context.Context, username string) ApiSetUserAdminRequest

SetUserAdmin Update admin status of user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username Username of user to update
@return ApiSetUserAdminRequest

func (*UsersAPIService) SetUserAdminExecute

func (a *UsersAPIService) SetUserAdminExecute(r ApiSetUserAdminRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) UpdateUserPassword

func (a *UsersAPIService) UpdateUserPassword(ctx context.Context, username string) ApiUpdateUserPasswordRequest

UpdateUserPassword Update user password

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username Username of user to update
@return ApiUpdateUserPasswordRequest

func (*UsersAPIService) UpdateUserPasswordExecute

func (a *UsersAPIService) UpdateUserPasswordExecute(r ApiUpdateUserPasswordRequest) (*http.Response, error)

Execute executes the request

type WLResponseInfo

type WLResponseInfo struct {
	Message *string `json:"message,omitempty"`
}

WLResponseInfo struct for WLResponseInfo

func NewWLResponseInfo

func NewWLResponseInfo() *WLResponseInfo

NewWLResponseInfo instantiates a new WLResponseInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWLResponseInfoWithDefaults

func NewWLResponseInfoWithDefaults() *WLResponseInfo

NewWLResponseInfoWithDefaults instantiates a new WLResponseInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WLResponseInfo) GetMessage

func (o *WLResponseInfo) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*WLResponseInfo) GetMessageOk

func (o *WLResponseInfo) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WLResponseInfo) HasMessage

func (o *WLResponseInfo) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (WLResponseInfo) MarshalJSON

func (o WLResponseInfo) MarshalJSON() ([]byte, error)

func (*WLResponseInfo) SetMessage

func (o *WLResponseInfo) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (WLResponseInfo) ToMap

func (o WLResponseInfo) ToMap() (map[string]interface{}, error)

type WeblensErrorInfo

type WeblensErrorInfo struct {
	Error *string `json:"error,omitempty"`
}

WeblensErrorInfo struct for WeblensErrorInfo

func NewWeblensErrorInfo

func NewWeblensErrorInfo() *WeblensErrorInfo

NewWeblensErrorInfo instantiates a new WeblensErrorInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWeblensErrorInfoWithDefaults

func NewWeblensErrorInfoWithDefaults() *WeblensErrorInfo

NewWeblensErrorInfoWithDefaults instantiates a new WeblensErrorInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WeblensErrorInfo) GetError

func (o *WeblensErrorInfo) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*WeblensErrorInfo) GetErrorOk

func (o *WeblensErrorInfo) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WeblensErrorInfo) HasError

func (o *WeblensErrorInfo) HasError() bool

HasError returns a boolean if a field has been set.

func (WeblensErrorInfo) MarshalJSON

func (o WeblensErrorInfo) MarshalJSON() ([]byte, error)

func (*WeblensErrorInfo) SetError

func (o *WeblensErrorInfo) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (WeblensErrorInfo) ToMap

func (o WeblensErrorInfo) ToMap() (map[string]interface{}, error)

type WlfsFilepath

type WlfsFilepath struct {
	RelPath   *string `json:"relPath,omitempty"`
	RootAlias *string `json:"rootAlias,omitempty"`
}

WlfsFilepath struct for WlfsFilepath

func NewWlfsFilepath

func NewWlfsFilepath() *WlfsFilepath

NewWlfsFilepath instantiates a new WlfsFilepath object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWlfsFilepathWithDefaults

func NewWlfsFilepathWithDefaults() *WlfsFilepath

NewWlfsFilepathWithDefaults instantiates a new WlfsFilepath object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WlfsFilepath) GetRelPath

func (o *WlfsFilepath) GetRelPath() string

GetRelPath returns the RelPath field value if set, zero value otherwise.

func (*WlfsFilepath) GetRelPathOk

func (o *WlfsFilepath) GetRelPathOk() (*string, bool)

GetRelPathOk returns a tuple with the RelPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlfsFilepath) GetRootAlias

func (o *WlfsFilepath) GetRootAlias() string

GetRootAlias returns the RootAlias field value if set, zero value otherwise.

func (*WlfsFilepath) GetRootAliasOk

func (o *WlfsFilepath) GetRootAliasOk() (*string, bool)

GetRootAliasOk returns a tuple with the RootAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlfsFilepath) HasRelPath

func (o *WlfsFilepath) HasRelPath() bool

HasRelPath returns a boolean if a field has been set.

func (*WlfsFilepath) HasRootAlias

func (o *WlfsFilepath) HasRootAlias() bool

HasRootAlias returns a boolean if a field has been set.

func (WlfsFilepath) MarshalJSON

func (o WlfsFilepath) MarshalJSON() ([]byte, error)

func (*WlfsFilepath) SetRelPath

func (o *WlfsFilepath) SetRelPath(v string)

SetRelPath gets a reference to the given string and assigns it to the RelPath field.

func (*WlfsFilepath) SetRootAlias

func (o *WlfsFilepath) SetRootAlias(v string)

SetRootAlias gets a reference to the given string and assigns it to the RootAlias field.

func (WlfsFilepath) ToMap

func (o WlfsFilepath) ToMap() (map[string]interface{}, error)

type WlstructsInitServerParams

type WlstructsInitServerParams struct {
	CoreAddress *string `json:"coreAddress,omitempty"`
	CoreKey     *string `json:"coreKey,omitempty"`
	FullName    *string `json:"fullName,omitempty"`
	// For restoring a server, remoind the core of its serverID and api key the remote last used
	LocalID      *string `json:"localID,omitempty"`
	Name         string  `json:"name"`
	Password     string  `json:"password"`
	RemoteID     *string `json:"remoteID,omitempty"`
	Role         string  `json:"role"`
	Username     string  `json:"username"`
	UsingKeyInfo *string `json:"usingKeyInfo,omitempty"`
}

WlstructsInitServerParams struct for WlstructsInitServerParams

func NewWlstructsInitServerParams

func NewWlstructsInitServerParams(name string, password string, role string, username string) *WlstructsInitServerParams

NewWlstructsInitServerParams instantiates a new WlstructsInitServerParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWlstructsInitServerParamsWithDefaults

func NewWlstructsInitServerParamsWithDefaults() *WlstructsInitServerParams

NewWlstructsInitServerParamsWithDefaults instantiates a new WlstructsInitServerParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WlstructsInitServerParams) GetCoreAddress

func (o *WlstructsInitServerParams) GetCoreAddress() string

GetCoreAddress returns the CoreAddress field value if set, zero value otherwise.

func (*WlstructsInitServerParams) GetCoreAddressOk

func (o *WlstructsInitServerParams) GetCoreAddressOk() (*string, bool)

GetCoreAddressOk returns a tuple with the CoreAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetCoreKey

func (o *WlstructsInitServerParams) GetCoreKey() string

GetCoreKey returns the CoreKey field value if set, zero value otherwise.

func (*WlstructsInitServerParams) GetCoreKeyOk

func (o *WlstructsInitServerParams) GetCoreKeyOk() (*string, bool)

GetCoreKeyOk returns a tuple with the CoreKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetFullName

func (o *WlstructsInitServerParams) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*WlstructsInitServerParams) GetFullNameOk

func (o *WlstructsInitServerParams) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetLocalID

func (o *WlstructsInitServerParams) GetLocalID() string

GetLocalID returns the LocalID field value if set, zero value otherwise.

func (*WlstructsInitServerParams) GetLocalIDOk

func (o *WlstructsInitServerParams) GetLocalIDOk() (*string, bool)

GetLocalIDOk returns a tuple with the LocalID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetName

func (o *WlstructsInitServerParams) GetName() string

GetName returns the Name field value

func (*WlstructsInitServerParams) GetNameOk

func (o *WlstructsInitServerParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetPassword

func (o *WlstructsInitServerParams) GetPassword() string

GetPassword returns the Password field value

func (*WlstructsInitServerParams) GetPasswordOk

func (o *WlstructsInitServerParams) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetRemoteID

func (o *WlstructsInitServerParams) GetRemoteID() string

GetRemoteID returns the RemoteID field value if set, zero value otherwise.

func (*WlstructsInitServerParams) GetRemoteIDOk

func (o *WlstructsInitServerParams) GetRemoteIDOk() (*string, bool)

GetRemoteIDOk returns a tuple with the RemoteID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetRole

func (o *WlstructsInitServerParams) GetRole() string

GetRole returns the Role field value

func (*WlstructsInitServerParams) GetRoleOk

func (o *WlstructsInitServerParams) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetUsername

func (o *WlstructsInitServerParams) GetUsername() string

GetUsername returns the Username field value

func (*WlstructsInitServerParams) GetUsernameOk

func (o *WlstructsInitServerParams) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) GetUsingKeyInfo

func (o *WlstructsInitServerParams) GetUsingKeyInfo() string

GetUsingKeyInfo returns the UsingKeyInfo field value if set, zero value otherwise.

func (*WlstructsInitServerParams) GetUsingKeyInfoOk

func (o *WlstructsInitServerParams) GetUsingKeyInfoOk() (*string, bool)

GetUsingKeyInfoOk returns a tuple with the UsingKeyInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsInitServerParams) HasCoreAddress

func (o *WlstructsInitServerParams) HasCoreAddress() bool

HasCoreAddress returns a boolean if a field has been set.

func (*WlstructsInitServerParams) HasCoreKey

func (o *WlstructsInitServerParams) HasCoreKey() bool

HasCoreKey returns a boolean if a field has been set.

func (*WlstructsInitServerParams) HasFullName

func (o *WlstructsInitServerParams) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*WlstructsInitServerParams) HasLocalID

func (o *WlstructsInitServerParams) HasLocalID() bool

HasLocalID returns a boolean if a field has been set.

func (*WlstructsInitServerParams) HasRemoteID

func (o *WlstructsInitServerParams) HasRemoteID() bool

HasRemoteID returns a boolean if a field has been set.

func (*WlstructsInitServerParams) HasUsingKeyInfo

func (o *WlstructsInitServerParams) HasUsingKeyInfo() bool

HasUsingKeyInfo returns a boolean if a field has been set.

func (WlstructsInitServerParams) MarshalJSON

func (o WlstructsInitServerParams) MarshalJSON() ([]byte, error)

func (*WlstructsInitServerParams) SetCoreAddress

func (o *WlstructsInitServerParams) SetCoreAddress(v string)

SetCoreAddress gets a reference to the given string and assigns it to the CoreAddress field.

func (*WlstructsInitServerParams) SetCoreKey

func (o *WlstructsInitServerParams) SetCoreKey(v string)

SetCoreKey gets a reference to the given string and assigns it to the CoreKey field.

func (*WlstructsInitServerParams) SetFullName

func (o *WlstructsInitServerParams) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*WlstructsInitServerParams) SetLocalID

func (o *WlstructsInitServerParams) SetLocalID(v string)

SetLocalID gets a reference to the given string and assigns it to the LocalID field.

func (*WlstructsInitServerParams) SetName

func (o *WlstructsInitServerParams) SetName(v string)

SetName sets field value

func (*WlstructsInitServerParams) SetPassword

func (o *WlstructsInitServerParams) SetPassword(v string)

SetPassword sets field value

func (*WlstructsInitServerParams) SetRemoteID

func (o *WlstructsInitServerParams) SetRemoteID(v string)

SetRemoteID gets a reference to the given string and assigns it to the RemoteID field.

func (*WlstructsInitServerParams) SetRole

func (o *WlstructsInitServerParams) SetRole(v string)

SetRole sets field value

func (*WlstructsInitServerParams) SetUsername

func (o *WlstructsInitServerParams) SetUsername(v string)

SetUsername sets field value

func (*WlstructsInitServerParams) SetUsingKeyInfo

func (o *WlstructsInitServerParams) SetUsingKeyInfo(v string)

SetUsingKeyInfo gets a reference to the given string and assigns it to the UsingKeyInfo field.

func (WlstructsInitServerParams) ToMap

func (o WlstructsInitServerParams) ToMap() (map[string]interface{}, error)

func (*WlstructsInitServerParams) UnmarshalJSON

func (o *WlstructsInitServerParams) UnmarshalJSON(data []byte) (err error)

type WlstructsSetConfigParam

type WlstructsSetConfigParam struct {
	ConfigKey   *string                `json:"configKey,omitempty"`
	ConfigValue map[string]interface{} `json:"configValue,omitempty"`
}

WlstructsSetConfigParam struct for WlstructsSetConfigParam

func NewWlstructsSetConfigParam

func NewWlstructsSetConfigParam() *WlstructsSetConfigParam

NewWlstructsSetConfigParam instantiates a new WlstructsSetConfigParam object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWlstructsSetConfigParamWithDefaults

func NewWlstructsSetConfigParamWithDefaults() *WlstructsSetConfigParam

NewWlstructsSetConfigParamWithDefaults instantiates a new WlstructsSetConfigParam object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WlstructsSetConfigParam) GetConfigKey

func (o *WlstructsSetConfigParam) GetConfigKey() string

GetConfigKey returns the ConfigKey field value if set, zero value otherwise.

func (*WlstructsSetConfigParam) GetConfigKeyOk

func (o *WlstructsSetConfigParam) GetConfigKeyOk() (*string, bool)

GetConfigKeyOk returns a tuple with the ConfigKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsSetConfigParam) GetConfigValue

func (o *WlstructsSetConfigParam) GetConfigValue() map[string]interface{}

GetConfigValue returns the ConfigValue field value if set, zero value otherwise.

func (*WlstructsSetConfigParam) GetConfigValueOk

func (o *WlstructsSetConfigParam) GetConfigValueOk() (map[string]interface{}, bool)

GetConfigValueOk returns a tuple with the ConfigValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WlstructsSetConfigParam) HasConfigKey

func (o *WlstructsSetConfigParam) HasConfigKey() bool

HasConfigKey returns a boolean if a field has been set.

func (*WlstructsSetConfigParam) HasConfigValue

func (o *WlstructsSetConfigParam) HasConfigValue() bool

HasConfigValue returns a boolean if a field has been set.

func (WlstructsSetConfigParam) MarshalJSON

func (o WlstructsSetConfigParam) MarshalJSON() ([]byte, error)

func (*WlstructsSetConfigParam) SetConfigKey

func (o *WlstructsSetConfigParam) SetConfigKey(v string)

SetConfigKey gets a reference to the given string and assigns it to the ConfigKey field.

func (*WlstructsSetConfigParam) SetConfigValue

func (o *WlstructsSetConfigParam) SetConfigValue(v map[string]interface{})

SetConfigValue gets a reference to the given map[string]interface{} and assigns it to the ConfigValue field.

func (WlstructsSetConfigParam) ToMap

func (o WlstructsSetConfigParam) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL