Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIKeysApiApiAddApiKeyRequest
- type APIKeysApiApiDeleteApiKeyRequest
- type APIKeysApiApiGetApiKeyByIdRequest
- type APIKeysApiApiGetApiKeysRequest
- func (r APIKeysApiApiGetApiKeysRequest) Execute() ([]AuthAPIKey, *http.Response, error)
- func (r APIKeysApiApiGetApiKeysRequest) Limit(limit int32) APIKeysApiApiGetApiKeysRequest
- func (r APIKeysApiApiGetApiKeysRequest) Offset(offset int32) APIKeysApiApiGetApiKeysRequest
- func (r APIKeysApiApiGetApiKeysRequest) Order(order string) APIKeysApiApiGetApiKeysRequest
- type APIKeysApiApiUpdateApiKeyRequest
- type APIKeysApiService
- func (a *APIKeysApiService) AddApiKey(ctx context.Context) APIKeysApiApiAddApiKeyRequest
- func (a *APIKeysApiService) AddApiKeyExecute(r APIKeysApiApiAddApiKeyRequest) (*InlineResponse201, *http.Response, error)
- func (a *APIKeysApiService) DeleteApiKey(ctx context.Context, id string) APIKeysApiApiDeleteApiKeyRequest
- func (a *APIKeysApiService) DeleteApiKeyExecute(r APIKeysApiApiDeleteApiKeyRequest) (*ApiResponse, *http.Response, error)
- func (a *APIKeysApiService) GetApiKeyById(ctx context.Context, id string) APIKeysApiApiGetApiKeyByIdRequest
- func (a *APIKeysApiService) GetApiKeyByIdExecute(r APIKeysApiApiGetApiKeyByIdRequest) (*AuthAPIKey, *http.Response, error)
- func (a *APIKeysApiService) GetApiKeys(ctx context.Context) APIKeysApiApiGetApiKeysRequest
- func (a *APIKeysApiService) GetApiKeysExecute(r APIKeysApiApiGetApiKeysRequest) ([]AuthAPIKey, *http.Response, error)
- func (a *APIKeysApiService) UpdateApiKey(ctx context.Context, id string) APIKeysApiApiUpdateApiKeyRequest
- func (a *APIKeysApiService) UpdateApiKeyExecute(r APIKeysApiApiUpdateApiKeyRequest) (*ApiResponse, *http.Response, error)
- type APIResponse
- type Admin
- func (o *Admin) GetAdditionalInfo() string
- func (o *Admin) GetAdditionalInfoOk() (*string, bool)
- func (o *Admin) GetCreatedAt() int64
- func (o *Admin) GetCreatedAtOk() (*int64, bool)
- func (o *Admin) GetDescription() string
- func (o *Admin) GetDescriptionOk() (*string, bool)
- func (o *Admin) GetEmail() string
- func (o *Admin) GetEmailOk() (*string, bool)
- func (o *Admin) GetFilters() AdminFilters
- func (o *Admin) GetFiltersOk() (*AdminFilters, bool)
- func (o *Admin) GetId() int32
- func (o *Admin) GetIdOk() (*int32, bool)
- func (o *Admin) GetLastLogin() int64
- func (o *Admin) GetLastLoginOk() (*int64, bool)
- func (o *Admin) GetPassword() string
- func (o *Admin) GetPasswordOk() (*string, bool)
- func (o *Admin) GetPermissions() []AdminPermissions
- func (o *Admin) GetPermissionsOk() ([]AdminPermissions, bool)
- func (o *Admin) GetStatus() int32
- func (o *Admin) GetStatusOk() (*int32, bool)
- func (o *Admin) GetUpdatedAt() int64
- func (o *Admin) GetUpdatedAtOk() (*int64, bool)
- func (o *Admin) GetUsername() string
- func (o *Admin) GetUsernameOk() (*string, bool)
- func (o *Admin) HasAdditionalInfo() bool
- func (o *Admin) HasCreatedAt() bool
- func (o *Admin) HasDescription() bool
- func (o *Admin) HasEmail() bool
- func (o *Admin) HasFilters() bool
- func (o *Admin) HasId() bool
- func (o *Admin) HasLastLogin() bool
- func (o *Admin) HasPassword() bool
- func (o *Admin) HasPermissions() bool
- func (o *Admin) HasStatus() bool
- func (o *Admin) HasUpdatedAt() bool
- func (o *Admin) HasUsername() bool
- func (o Admin) MarshalJSON() ([]byte, error)
- func (o *Admin) SetAdditionalInfo(v string)
- func (o *Admin) SetCreatedAt(v int64)
- func (o *Admin) SetDescription(v string)
- func (o *Admin) SetEmail(v string)
- func (o *Admin) SetFilters(v AdminFilters)
- func (o *Admin) SetId(v int32)
- func (o *Admin) SetLastLogin(v int64)
- func (o *Admin) SetPassword(v string)
- func (o *Admin) SetPermissions(v []AdminPermissions)
- func (o *Admin) SetStatus(v int32)
- func (o *Admin) SetUpdatedAt(v int64)
- func (o *Admin) SetUsername(v string)
- type AdminFilters
- func (o *AdminFilters) GetAllowApiKeyAuth() bool
- func (o *AdminFilters) GetAllowApiKeyAuthOk() (*bool, bool)
- func (o *AdminFilters) GetAllowList() []string
- func (o *AdminFilters) GetAllowListOk() ([]string, bool)
- func (o *AdminFilters) GetRecoveryCodes() []RecoveryCode
- func (o *AdminFilters) GetRecoveryCodesOk() ([]RecoveryCode, bool)
- func (o *AdminFilters) GetTotpConfig() AdminTOTPConfig
- func (o *AdminFilters) GetTotpConfigOk() (*AdminTOTPConfig, bool)
- func (o *AdminFilters) HasAllowApiKeyAuth() bool
- func (o *AdminFilters) HasAllowList() bool
- func (o *AdminFilters) HasRecoveryCodes() bool
- func (o *AdminFilters) HasTotpConfig() bool
- func (o AdminFilters) MarshalJSON() ([]byte, error)
- func (o *AdminFilters) SetAllowApiKeyAuth(v bool)
- func (o *AdminFilters) SetAllowList(v []string)
- func (o *AdminFilters) SetRecoveryCodes(v []RecoveryCode)
- func (o *AdminFilters) SetTotpConfig(v AdminTOTPConfig)
- type AdminPermissions
- type AdminProfile
- func (o *AdminProfile) GetAllowApiKeyAuth() bool
- func (o *AdminProfile) GetAllowApiKeyAuthOk() (*bool, bool)
- func (o *AdminProfile) GetDescription() string
- func (o *AdminProfile) GetDescriptionOk() (*string, bool)
- func (o *AdminProfile) GetEmail() string
- func (o *AdminProfile) GetEmailOk() (*string, bool)
- func (o *AdminProfile) HasAllowApiKeyAuth() bool
- func (o *AdminProfile) HasDescription() bool
- func (o *AdminProfile) HasEmail() bool
- func (o AdminProfile) MarshalJSON() ([]byte, error)
- func (o *AdminProfile) SetAllowApiKeyAuth(v bool)
- func (o *AdminProfile) SetDescription(v string)
- func (o *AdminProfile) SetEmail(v string)
- type AdminTOTPConfig
- func (o *AdminTOTPConfig) GetConfigName() string
- func (o *AdminTOTPConfig) GetConfigNameOk() (*string, bool)
- func (o *AdminTOTPConfig) GetEnabled() bool
- func (o *AdminTOTPConfig) GetEnabledOk() (*bool, bool)
- func (o *AdminTOTPConfig) GetSecret() Secret
- func (o *AdminTOTPConfig) GetSecretOk() (*Secret, bool)
- func (o *AdminTOTPConfig) HasConfigName() bool
- func (o *AdminTOTPConfig) HasEnabled() bool
- func (o *AdminTOTPConfig) HasSecret() bool
- func (o AdminTOTPConfig) MarshalJSON() ([]byte, error)
- func (o *AdminTOTPConfig) SetConfigName(v string)
- func (o *AdminTOTPConfig) SetEnabled(v bool)
- func (o *AdminTOTPConfig) SetSecret(v Secret)
- type AdminsApiApiAddAdminRequest
- type AdminsApiApiAdminForgotPasswordRequest
- type AdminsApiApiAdminResetPasswordRequest
- type AdminsApiApiChangeAdminPasswordDeprecatedRequest
- type AdminsApiApiChangeAdminPasswordRequest
- type AdminsApiApiDeleteAdminRequest
- type AdminsApiApiDisableAdmin2faRequest
- type AdminsApiApiGenerateAdminRecoveryCodesRequest
- type AdminsApiApiGenerateAdminTotpSecretRequest
- type AdminsApiApiGetAdminByUsernameRequest
- type AdminsApiApiGetAdminProfileRequest
- type AdminsApiApiGetAdminRecoveryCodesRequest
- type AdminsApiApiGetAdminTotpConfigsRequest
- type AdminsApiApiGetAdminsRequest
- func (r AdminsApiApiGetAdminsRequest) Execute() ([]Admin, *http.Response, error)
- func (r AdminsApiApiGetAdminsRequest) Limit(limit int32) AdminsApiApiGetAdminsRequest
- func (r AdminsApiApiGetAdminsRequest) Offset(offset int32) AdminsApiApiGetAdminsRequest
- func (r AdminsApiApiGetAdminsRequest) Order(order string) AdminsApiApiGetAdminsRequest
- type AdminsApiApiSaveAdminTotpConfigRequest
- type AdminsApiApiUpdateAdminProfileRequest
- type AdminsApiApiUpdateAdminRequest
- type AdminsApiApiValidateAdminTotpSecretRequest
- type AdminsApiService
- func (a *AdminsApiService) AddAdmin(ctx context.Context) AdminsApiApiAddAdminRequest
- func (a *AdminsApiService) AddAdminExecute(r AdminsApiApiAddAdminRequest) (*Admin, *http.Response, error)
- func (a *AdminsApiService) AdminForgotPassword(ctx context.Context, username string) AdminsApiApiAdminForgotPasswordRequest
- func (a *AdminsApiService) AdminForgotPasswordExecute(r AdminsApiApiAdminForgotPasswordRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) AdminResetPassword(ctx context.Context, username string) AdminsApiApiAdminResetPasswordRequest
- func (a *AdminsApiService) AdminResetPasswordExecute(r AdminsApiApiAdminResetPasswordRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) ChangeAdminPassword(ctx context.Context) AdminsApiApiChangeAdminPasswordRequest
- func (a *AdminsApiService) ChangeAdminPasswordDeprecated(ctx context.Context) AdminsApiApiChangeAdminPasswordDeprecatedRequest
- func (a *AdminsApiService) ChangeAdminPasswordDeprecatedExecute(r AdminsApiApiChangeAdminPasswordDeprecatedRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) ChangeAdminPasswordExecute(r AdminsApiApiChangeAdminPasswordRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) DeleteAdmin(ctx context.Context, username string) AdminsApiApiDeleteAdminRequest
- func (a *AdminsApiService) DeleteAdminExecute(r AdminsApiApiDeleteAdminRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) DisableAdmin2fa(ctx context.Context, username string) AdminsApiApiDisableAdmin2faRequest
- func (a *AdminsApiService) DisableAdmin2faExecute(r AdminsApiApiDisableAdmin2faRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) GenerateAdminRecoveryCodes(ctx context.Context) AdminsApiApiGenerateAdminRecoveryCodesRequest
- func (a *AdminsApiService) GenerateAdminRecoveryCodesExecute(r AdminsApiApiGenerateAdminRecoveryCodesRequest) ([]string, *http.Response, error)
- func (a *AdminsApiService) GenerateAdminTotpSecret(ctx context.Context) AdminsApiApiGenerateAdminTotpSecretRequest
- func (a *AdminsApiService) GenerateAdminTotpSecretExecute(r AdminsApiApiGenerateAdminTotpSecretRequest) (*InlineResponse200, *http.Response, error)
- func (a *AdminsApiService) GetAdminByUsername(ctx context.Context, username string) AdminsApiApiGetAdminByUsernameRequest
- func (a *AdminsApiService) GetAdminByUsernameExecute(r AdminsApiApiGetAdminByUsernameRequest) (*Admin, *http.Response, error)
- func (a *AdminsApiService) GetAdminProfile(ctx context.Context) AdminsApiApiGetAdminProfileRequest
- func (a *AdminsApiService) GetAdminProfileExecute(r AdminsApiApiGetAdminProfileRequest) (*AdminProfile, *http.Response, error)
- func (a *AdminsApiService) GetAdminRecoveryCodes(ctx context.Context) AdminsApiApiGetAdminRecoveryCodesRequest
- func (a *AdminsApiService) GetAdminRecoveryCodesExecute(r AdminsApiApiGetAdminRecoveryCodesRequest) ([]RecoveryCode, *http.Response, error)
- func (a *AdminsApiService) GetAdminTotpConfigs(ctx context.Context) AdminsApiApiGetAdminTotpConfigsRequest
- func (a *AdminsApiService) GetAdminTotpConfigsExecute(r AdminsApiApiGetAdminTotpConfigsRequest) ([]TOTPConfig, *http.Response, error)
- func (a *AdminsApiService) GetAdmins(ctx context.Context) AdminsApiApiGetAdminsRequest
- func (a *AdminsApiService) GetAdminsExecute(r AdminsApiApiGetAdminsRequest) ([]Admin, *http.Response, error)
- func (a *AdminsApiService) SaveAdminTotpConfig(ctx context.Context) AdminsApiApiSaveAdminTotpConfigRequest
- func (a *AdminsApiService) SaveAdminTotpConfigExecute(r AdminsApiApiSaveAdminTotpConfigRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) UpdateAdmin(ctx context.Context, username string) AdminsApiApiUpdateAdminRequest
- func (a *AdminsApiService) UpdateAdminExecute(r AdminsApiApiUpdateAdminRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) UpdateAdminProfile(ctx context.Context) AdminsApiApiUpdateAdminProfileRequest
- func (a *AdminsApiService) UpdateAdminProfileExecute(r AdminsApiApiUpdateAdminProfileRequest) (*ApiResponse, *http.Response, error)
- func (a *AdminsApiService) ValidateAdminTotpSecret(ctx context.Context) AdminsApiApiValidateAdminTotpSecretRequest
- func (a *AdminsApiService) ValidateAdminTotpSecretExecute(r AdminsApiApiValidateAdminTotpSecretRequest) (*ApiResponse, *http.Response, error)
- type ApiResponse
- func (o *ApiResponse) GetError() string
- func (o *ApiResponse) GetErrorOk() (*string, bool)
- func (o *ApiResponse) GetMessage() string
- func (o *ApiResponse) GetMessageOk() (*string, bool)
- func (o *ApiResponse) HasError() bool
- func (o *ApiResponse) HasMessage() bool
- func (o ApiResponse) MarshalJSON() ([]byte, error)
- func (o *ApiResponse) SetError(v string)
- func (o *ApiResponse) SetMessage(v string)
- type AuthAPIKey
- func (o *AuthAPIKey) GetAdmin() string
- func (o *AuthAPIKey) GetAdminOk() (*string, bool)
- func (o *AuthAPIKey) GetCreatedAt() int64
- func (o *AuthAPIKey) GetCreatedAtOk() (*int64, bool)
- func (o *AuthAPIKey) GetDescription() string
- func (o *AuthAPIKey) GetDescriptionOk() (*string, bool)
- func (o *AuthAPIKey) GetExpiresAt() int64
- func (o *AuthAPIKey) GetExpiresAtOk() (*int64, bool)
- func (o *AuthAPIKey) GetId() string
- func (o *AuthAPIKey) GetIdOk() (*string, bool)
- func (o *AuthAPIKey) GetKey() string
- func (o *AuthAPIKey) GetKeyOk() (*string, bool)
- func (o *AuthAPIKey) GetLastUseAt() int64
- func (o *AuthAPIKey) GetLastUseAtOk() (*int64, bool)
- func (o *AuthAPIKey) GetName() string
- func (o *AuthAPIKey) GetNameOk() (*string, bool)
- func (o *AuthAPIKey) GetScope() AuthAPIKeyScope
- func (o *AuthAPIKey) GetScopeOk() (*AuthAPIKeyScope, bool)
- func (o *AuthAPIKey) GetUpdatedAt() int64
- func (o *AuthAPIKey) GetUpdatedAtOk() (*int64, bool)
- func (o *AuthAPIKey) GetUser() string
- func (o *AuthAPIKey) GetUserOk() (*string, bool)
- func (o *AuthAPIKey) HasAdmin() bool
- func (o *AuthAPIKey) HasCreatedAt() bool
- func (o *AuthAPIKey) HasDescription() bool
- func (o *AuthAPIKey) HasExpiresAt() bool
- func (o *AuthAPIKey) HasId() bool
- func (o *AuthAPIKey) HasKey() bool
- func (o *AuthAPIKey) HasLastUseAt() bool
- func (o *AuthAPIKey) HasName() bool
- func (o *AuthAPIKey) HasScope() bool
- func (o *AuthAPIKey) HasUpdatedAt() bool
- func (o *AuthAPIKey) HasUser() bool
- func (o AuthAPIKey) MarshalJSON() ([]byte, error)
- func (o *AuthAPIKey) SetAdmin(v string)
- func (o *AuthAPIKey) SetCreatedAt(v int64)
- func (o *AuthAPIKey) SetDescription(v string)
- func (o *AuthAPIKey) SetExpiresAt(v int64)
- func (o *AuthAPIKey) SetId(v string)
- func (o *AuthAPIKey) SetKey(v string)
- func (o *AuthAPIKey) SetLastUseAt(v int64)
- func (o *AuthAPIKey) SetName(v string)
- func (o *AuthAPIKey) SetScope(v AuthAPIKeyScope)
- func (o *AuthAPIKey) SetUpdatedAt(v int64)
- func (o *AuthAPIKey) SetUser(v string)
- type AuthAPIKeyScope
- type AzureBlobFsConfig
- func (o *AzureBlobFsConfig) GetAccessTier() string
- func (o *AzureBlobFsConfig) GetAccessTierOk() (*string, bool)
- func (o *AzureBlobFsConfig) GetAccountKey() Secret
- func (o *AzureBlobFsConfig) GetAccountKeyOk() (*Secret, bool)
- func (o *AzureBlobFsConfig) GetAccountName() string
- func (o *AzureBlobFsConfig) GetAccountNameOk() (*string, bool)
- func (o *AzureBlobFsConfig) GetContainer() string
- func (o *AzureBlobFsConfig) GetContainerOk() (*string, bool)
- func (o *AzureBlobFsConfig) GetEndpoint() string
- func (o *AzureBlobFsConfig) GetEndpointOk() (*string, bool)
- func (o *AzureBlobFsConfig) GetKeyPrefix() string
- func (o *AzureBlobFsConfig) GetKeyPrefixOk() (*string, bool)
- func (o *AzureBlobFsConfig) GetSasUrl() Secret
- func (o *AzureBlobFsConfig) GetSasUrlOk() (*Secret, bool)
- func (o *AzureBlobFsConfig) GetUploadConcurrency() int32
- func (o *AzureBlobFsConfig) GetUploadConcurrencyOk() (*int32, bool)
- func (o *AzureBlobFsConfig) GetUploadPartSize() int32
- func (o *AzureBlobFsConfig) GetUploadPartSizeOk() (*int32, bool)
- func (o *AzureBlobFsConfig) GetUseEmulator() bool
- func (o *AzureBlobFsConfig) GetUseEmulatorOk() (*bool, bool)
- func (o *AzureBlobFsConfig) HasAccessTier() bool
- func (o *AzureBlobFsConfig) HasAccountKey() bool
- func (o *AzureBlobFsConfig) HasAccountName() bool
- func (o *AzureBlobFsConfig) HasContainer() bool
- func (o *AzureBlobFsConfig) HasEndpoint() bool
- func (o *AzureBlobFsConfig) HasKeyPrefix() bool
- func (o *AzureBlobFsConfig) HasSasUrl() bool
- func (o *AzureBlobFsConfig) HasUploadConcurrency() bool
- func (o *AzureBlobFsConfig) HasUploadPartSize() bool
- func (o *AzureBlobFsConfig) HasUseEmulator() bool
- func (o AzureBlobFsConfig) MarshalJSON() ([]byte, error)
- func (o *AzureBlobFsConfig) SetAccessTier(v string)
- func (o *AzureBlobFsConfig) SetAccountKey(v Secret)
- func (o *AzureBlobFsConfig) SetAccountName(v string)
- func (o *AzureBlobFsConfig) SetContainer(v string)
- func (o *AzureBlobFsConfig) SetEndpoint(v string)
- func (o *AzureBlobFsConfig) SetKeyPrefix(v string)
- func (o *AzureBlobFsConfig) SetSasUrl(v Secret)
- func (o *AzureBlobFsConfig) SetUploadConcurrency(v int32)
- func (o *AzureBlobFsConfig) SetUploadPartSize(v int32)
- func (o *AzureBlobFsConfig) SetUseEmulator(v bool)
- type BackupData
- func (o *BackupData) GetAdmins() []Admin
- func (o *BackupData) GetAdminsOk() ([]Admin, bool)
- func (o *BackupData) GetApiKeys() []AuthAPIKey
- func (o *BackupData) GetApiKeysOk() ([]AuthAPIKey, bool)
- func (o *BackupData) GetFolders() []BaseVirtualFolder
- func (o *BackupData) GetFoldersOk() ([]BaseVirtualFolder, bool)
- func (o *BackupData) GetShares() []Share
- func (o *BackupData) GetSharesOk() ([]Share, bool)
- func (o *BackupData) GetUsers() []User
- func (o *BackupData) GetUsersOk() ([]User, bool)
- func (o *BackupData) GetVersion() int32
- func (o *BackupData) GetVersionOk() (*int32, bool)
- func (o *BackupData) HasAdmins() bool
- func (o *BackupData) HasApiKeys() bool
- func (o *BackupData) HasFolders() bool
- func (o *BackupData) HasShares() bool
- func (o *BackupData) HasUsers() bool
- func (o *BackupData) HasVersion() bool
- func (o BackupData) MarshalJSON() ([]byte, error)
- func (o *BackupData) SetAdmins(v []Admin)
- func (o *BackupData) SetApiKeys(v []AuthAPIKey)
- func (o *BackupData) SetFolders(v []BaseVirtualFolder)
- func (o *BackupData) SetShares(v []Share)
- func (o *BackupData) SetUsers(v []User)
- func (o *BackupData) SetVersion(v int32)
- type BanStatus
- func (o *BanStatus) GetDateTime() time.Time
- func (o *BanStatus) GetDateTimeOk() (*time.Time, bool)
- func (o *BanStatus) HasDateTime() bool
- func (o BanStatus) MarshalJSON() ([]byte, error)
- func (o *BanStatus) SetDateTime(v time.Time)
- func (o *BanStatus) SetDateTimeNil()
- func (o *BanStatus) UnsetDateTime()
- type BandwidthLimit
- func (o *BandwidthLimit) GetDownloadBandwidth() int32
- func (o *BandwidthLimit) GetDownloadBandwidthOk() (*int32, bool)
- func (o *BandwidthLimit) GetSources() []string
- func (o *BandwidthLimit) GetSourcesOk() ([]string, bool)
- func (o *BandwidthLimit) GetUploadBandwidth() int32
- func (o *BandwidthLimit) GetUploadBandwidthOk() (*int32, bool)
- func (o *BandwidthLimit) HasDownloadBandwidth() bool
- func (o *BandwidthLimit) HasSources() bool
- func (o *BandwidthLimit) HasUploadBandwidth() bool
- func (o BandwidthLimit) MarshalJSON() ([]byte, error)
- func (o *BandwidthLimit) SetDownloadBandwidth(v int32)
- func (o *BandwidthLimit) SetSources(v []string)
- func (o *BandwidthLimit) SetUploadBandwidth(v int32)
- type BaseTOTPConfig
- func (o *BaseTOTPConfig) GetConfigName() string
- func (o *BaseTOTPConfig) GetConfigNameOk() (*string, bool)
- func (o *BaseTOTPConfig) GetEnabled() bool
- func (o *BaseTOTPConfig) GetEnabledOk() (*bool, bool)
- func (o *BaseTOTPConfig) GetSecret() Secret
- func (o *BaseTOTPConfig) GetSecretOk() (*Secret, bool)
- func (o *BaseTOTPConfig) HasConfigName() bool
- func (o *BaseTOTPConfig) HasEnabled() bool
- func (o *BaseTOTPConfig) HasSecret() bool
- func (o BaseTOTPConfig) MarshalJSON() ([]byte, error)
- func (o *BaseTOTPConfig) SetConfigName(v string)
- func (o *BaseTOTPConfig) SetEnabled(v bool)
- func (o *BaseTOTPConfig) SetSecret(v Secret)
- type BaseVirtualFolder
- func (o *BaseVirtualFolder) GetDescription() string
- func (o *BaseVirtualFolder) GetDescriptionOk() (*string, bool)
- func (o *BaseVirtualFolder) GetFilesystem() FilesystemConfig
- func (o *BaseVirtualFolder) GetFilesystemOk() (*FilesystemConfig, bool)
- func (o *BaseVirtualFolder) GetId() int32
- func (o *BaseVirtualFolder) GetIdOk() (*int32, bool)
- func (o *BaseVirtualFolder) GetLastQuotaUpdate() int64
- func (o *BaseVirtualFolder) GetLastQuotaUpdateOk() (*int64, bool)
- func (o *BaseVirtualFolder) GetMappedPath() string
- func (o *BaseVirtualFolder) GetMappedPathOk() (*string, bool)
- func (o *BaseVirtualFolder) GetName() string
- func (o *BaseVirtualFolder) GetNameOk() (*string, bool)
- func (o *BaseVirtualFolder) GetUsedQuotaFiles() int32
- func (o *BaseVirtualFolder) GetUsedQuotaFilesOk() (*int32, bool)
- func (o *BaseVirtualFolder) GetUsedQuotaSize() int64
- func (o *BaseVirtualFolder) GetUsedQuotaSizeOk() (*int64, bool)
- func (o *BaseVirtualFolder) GetUsers() []string
- func (o *BaseVirtualFolder) GetUsersOk() ([]string, bool)
- func (o *BaseVirtualFolder) HasDescription() bool
- func (o *BaseVirtualFolder) HasFilesystem() bool
- func (o *BaseVirtualFolder) HasId() bool
- func (o *BaseVirtualFolder) HasLastQuotaUpdate() bool
- func (o *BaseVirtualFolder) HasMappedPath() bool
- func (o *BaseVirtualFolder) HasName() bool
- func (o *BaseVirtualFolder) HasUsedQuotaFiles() bool
- func (o *BaseVirtualFolder) HasUsedQuotaSize() bool
- func (o *BaseVirtualFolder) HasUsers() bool
- func (o BaseVirtualFolder) MarshalJSON() ([]byte, error)
- func (o *BaseVirtualFolder) SetDescription(v string)
- func (o *BaseVirtualFolder) SetFilesystem(v FilesystemConfig)
- func (o *BaseVirtualFolder) SetId(v int32)
- func (o *BaseVirtualFolder) SetLastQuotaUpdate(v int64)
- func (o *BaseVirtualFolder) SetMappedPath(v string)
- func (o *BaseVirtualFolder) SetName(v string)
- func (o *BaseVirtualFolder) SetUsedQuotaFiles(v int32)
- func (o *BaseVirtualFolder) SetUsedQuotaSize(v int64)
- func (o *BaseVirtualFolder) SetUsers(v []string)
- type BasicAuth
- type Configuration
- type ConnectionStatus
- func (o *ConnectionStatus) GetActiveTransfers() []Transfer
- func (o *ConnectionStatus) GetActiveTransfersOk() ([]Transfer, bool)
- func (o *ConnectionStatus) GetClientVersion() string
- func (o *ConnectionStatus) GetClientVersionOk() (*string, bool)
- func (o *ConnectionStatus) GetCommand() string
- func (o *ConnectionStatus) GetCommandOk() (*string, bool)
- func (o *ConnectionStatus) GetConnectionId() string
- func (o *ConnectionStatus) GetConnectionIdOk() (*string, bool)
- func (o *ConnectionStatus) GetConnectionTime() int64
- func (o *ConnectionStatus) GetConnectionTimeOk() (*int64, bool)
- func (o *ConnectionStatus) GetLastActivity() int64
- func (o *ConnectionStatus) GetLastActivityOk() (*int64, bool)
- func (o *ConnectionStatus) GetProtocol() string
- func (o *ConnectionStatus) GetProtocolOk() (*string, bool)
- func (o *ConnectionStatus) GetRemoteAddress() string
- func (o *ConnectionStatus) GetRemoteAddressOk() (*string, bool)
- func (o *ConnectionStatus) GetUsername() string
- func (o *ConnectionStatus) GetUsernameOk() (*string, bool)
- func (o *ConnectionStatus) HasActiveTransfers() bool
- func (o *ConnectionStatus) HasClientVersion() bool
- func (o *ConnectionStatus) HasCommand() bool
- func (o *ConnectionStatus) HasConnectionId() bool
- func (o *ConnectionStatus) HasConnectionTime() bool
- func (o *ConnectionStatus) HasLastActivity() bool
- func (o *ConnectionStatus) HasProtocol() bool
- func (o *ConnectionStatus) HasRemoteAddress() bool
- func (o *ConnectionStatus) HasUsername() bool
- func (o ConnectionStatus) MarshalJSON() ([]byte, error)
- func (o *ConnectionStatus) SetActiveTransfers(v []Transfer)
- func (o *ConnectionStatus) SetClientVersion(v string)
- func (o *ConnectionStatus) SetCommand(v string)
- func (o *ConnectionStatus) SetConnectionId(v string)
- func (o *ConnectionStatus) SetConnectionTime(v int64)
- func (o *ConnectionStatus) SetLastActivity(v int64)
- func (o *ConnectionStatus) SetProtocol(v string)
- func (o *ConnectionStatus) SetRemoteAddress(v string)
- func (o *ConnectionStatus) SetUsername(v string)
- type ConnectionsApiApiCloseConnectionRequest
- type ConnectionsApiApiGetConnectionsRequest
- type ConnectionsApiService
- func (a *ConnectionsApiService) CloseConnection(ctx context.Context, connectionID string) ConnectionsApiApiCloseConnectionRequest
- func (a *ConnectionsApiService) CloseConnectionExecute(r ConnectionsApiApiCloseConnectionRequest) (*ApiResponse, *http.Response, error)
- func (a *ConnectionsApiService) GetConnections(ctx context.Context) ConnectionsApiApiGetConnectionsRequest
- func (a *ConnectionsApiService) GetConnectionsExecute(r ConnectionsApiApiGetConnectionsRequest) ([]ConnectionStatus, *http.Response, error)
- type CryptFsConfig
- type DataProviderStatus
- func (o *DataProviderStatus) GetDriver() string
- func (o *DataProviderStatus) GetDriverOk() (*string, bool)
- func (o *DataProviderStatus) GetError() string
- func (o *DataProviderStatus) GetErrorOk() (*string, bool)
- func (o *DataProviderStatus) GetIsActive() bool
- func (o *DataProviderStatus) GetIsActiveOk() (*bool, bool)
- func (o *DataProviderStatus) HasDriver() bool
- func (o *DataProviderStatus) HasError() bool
- func (o *DataProviderStatus) HasIsActive() bool
- func (o DataProviderStatus) MarshalJSON() ([]byte, error)
- func (o *DataProviderStatus) SetDriver(v string)
- func (o *DataProviderStatus) SetError(v string)
- func (o *DataProviderStatus) SetIsActive(v bool)
- type DataRetentionApiApiGetUsersRetentionChecksRequest
- type DataRetentionApiApiStartUserRetentionCheckRequest
- func (r DataRetentionApiApiStartUserRetentionCheckRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r DataRetentionApiApiStartUserRetentionCheckRequest) FolderRetention(folderRetention []FolderRetention) DataRetentionApiApiStartUserRetentionCheckRequest
- func (r DataRetentionApiApiStartUserRetentionCheckRequest) Notifications(notifications []RetentionCheckNotification) DataRetentionApiApiStartUserRetentionCheckRequest
- type DataRetentionApiService
- func (a *DataRetentionApiService) GetUsersRetentionChecks(ctx context.Context) DataRetentionApiApiGetUsersRetentionChecksRequest
- func (a *DataRetentionApiService) GetUsersRetentionChecksExecute(r DataRetentionApiApiGetUsersRetentionChecksRequest) ([]RetentionCheck, *http.Response, error)
- func (a *DataRetentionApiService) StartUserRetentionCheck(ctx context.Context, username string) DataRetentionApiApiStartUserRetentionCheckRequest
- func (a *DataRetentionApiService) StartUserRetentionCheckExecute(r DataRetentionApiApiStartUserRetentionCheckRequest) (*ApiResponse, *http.Response, error)
- type DataTransferLimit
- func (o *DataTransferLimit) GetDownloadDataTransfer() int32
- func (o *DataTransferLimit) GetDownloadDataTransferOk() (*int32, bool)
- func (o *DataTransferLimit) GetSources() []string
- func (o *DataTransferLimit) GetSourcesOk() ([]string, bool)
- func (o *DataTransferLimit) GetTotalDataTransfer() int32
- func (o *DataTransferLimit) GetTotalDataTransferOk() (*int32, bool)
- func (o *DataTransferLimit) GetUploadDataTransfer() int32
- func (o *DataTransferLimit) GetUploadDataTransferOk() (*int32, bool)
- func (o *DataTransferLimit) HasDownloadDataTransfer() bool
- func (o *DataTransferLimit) HasSources() bool
- func (o *DataTransferLimit) HasTotalDataTransfer() bool
- func (o *DataTransferLimit) HasUploadDataTransfer() bool
- func (o DataTransferLimit) MarshalJSON() ([]byte, error)
- func (o *DataTransferLimit) SetDownloadDataTransfer(v int32)
- func (o *DataTransferLimit) SetSources(v []string)
- func (o *DataTransferLimit) SetTotalDataTransfer(v int32)
- func (o *DataTransferLimit) SetUploadDataTransfer(v int32)
- type DefenderApiApiDeleteDefenderHostByIdRequest
- type DefenderApiApiGetBanTimeRequest
- type DefenderApiApiGetDefenderHostByIdRequest
- type DefenderApiApiGetDefenderHostsRequest
- type DefenderApiApiGetScoreRequest
- type DefenderApiApiUnbanHostRequest
- type DefenderApiService
- func (a *DefenderApiService) DeleteDefenderHostById(ctx context.Context, id string) DefenderApiApiDeleteDefenderHostByIdRequest
- func (a *DefenderApiService) DeleteDefenderHostByIdExecute(r DefenderApiApiDeleteDefenderHostByIdRequest) (*ApiResponse, *http.Response, error)
- func (a *DefenderApiService) GetBanTime(ctx context.Context) DefenderApiApiGetBanTimeRequest
- func (a *DefenderApiService) GetBanTimeExecute(r DefenderApiApiGetBanTimeRequest) (*BanStatus, *http.Response, error)
- func (a *DefenderApiService) GetDefenderHostById(ctx context.Context, id string) DefenderApiApiGetDefenderHostByIdRequest
- func (a *DefenderApiService) GetDefenderHostByIdExecute(r DefenderApiApiGetDefenderHostByIdRequest) (*DefenderEntry, *http.Response, error)
- func (a *DefenderApiService) GetDefenderHosts(ctx context.Context) DefenderApiApiGetDefenderHostsRequest
- func (a *DefenderApiService) GetDefenderHostsExecute(r DefenderApiApiGetDefenderHostsRequest) ([]DefenderEntry, *http.Response, error)
- func (a *DefenderApiService) GetScore(ctx context.Context) DefenderApiApiGetScoreRequest
- func (a *DefenderApiService) GetScoreExecute(r DefenderApiApiGetScoreRequest) (*ScoreStatus, *http.Response, error)
- func (a *DefenderApiService) UnbanHost(ctx context.Context) DefenderApiApiUnbanHostRequest
- func (a *DefenderApiService) UnbanHostExecute(r DefenderApiApiUnbanHostRequest) (*ApiResponse, *http.Response, error)
- type DefenderEntry
- func (o *DefenderEntry) GetBanTime() time.Time
- func (o *DefenderEntry) GetBanTimeOk() (*time.Time, bool)
- func (o *DefenderEntry) GetId() string
- func (o *DefenderEntry) GetIdOk() (*string, bool)
- func (o *DefenderEntry) GetIp() string
- func (o *DefenderEntry) GetIpOk() (*string, bool)
- func (o *DefenderEntry) GetScore() int32
- func (o *DefenderEntry) GetScoreOk() (*int32, bool)
- func (o *DefenderEntry) HasBanTime() bool
- func (o *DefenderEntry) HasId() bool
- func (o *DefenderEntry) HasIp() bool
- func (o *DefenderEntry) HasScore() bool
- func (o DefenderEntry) MarshalJSON() ([]byte, error)
- func (o *DefenderEntry) SetBanTime(v time.Time)
- func (o *DefenderEntry) SetId(v string)
- func (o *DefenderEntry) SetIp(v string)
- func (o *DefenderEntry) SetScore(v int32)
- type DirEntry
- func (o *DirEntry) GetLastModified() time.Time
- func (o *DirEntry) GetLastModifiedOk() (*time.Time, bool)
- func (o *DirEntry) GetMode() int32
- func (o *DirEntry) GetModeOk() (*int32, bool)
- func (o *DirEntry) GetName() string
- func (o *DirEntry) GetNameOk() (*string, bool)
- func (o *DirEntry) GetSize() int64
- func (o *DirEntry) GetSizeOk() (*int64, bool)
- func (o *DirEntry) HasLastModified() bool
- func (o *DirEntry) HasMode() bool
- func (o *DirEntry) HasName() bool
- func (o *DirEntry) HasSize() bool
- func (o DirEntry) MarshalJSON() ([]byte, error)
- func (o *DirEntry) SetLastModified(v time.Time)
- func (o *DirEntry) SetMode(v int32)
- func (o *DirEntry) SetName(v string)
- func (o *DirEntry) SetSize(v int64)
- type EventProtocols
- type EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Actions(actions []FsEventAction) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Bucket(bucket string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) EndTimestamp(endTimestamp int64) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Endpoint(endpoint string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) ExcludeIds(excludeIds []string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Execute() ([]FsEvent, *http.Response, error)
- func (r EventsApiApiGetFsEventsRequest) FsProvider(fsProvider FsProviders) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) InstanceIds(instanceIds []string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Ip(ip string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Limit(limit int32) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Order(order string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Protocols(protocols []EventProtocols) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) SshCmd(sshCmd string) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) StartTimestamp(startTimestamp int64) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Statuses(statuses []FsEventStatus) EventsApiApiGetFsEventsRequest
- func (r EventsApiApiGetFsEventsRequest) Username(username string) EventsApiApiGetFsEventsRequest
- type EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) Actions(actions []ProviderEventAction) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) EndTimestamp(endTimestamp int64) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) ExcludeIds(excludeIds []string) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) Execute() ([]ProviderEvent, *http.Response, error)
- func (r EventsApiApiGetProviderEventsRequest) InstanceIds(instanceIds []string) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) Ip(ip string) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) Limit(limit int32) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) ObjectName(objectName string) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) ObjectTypes(objectTypes []ProviderEventObjectType) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) Order(order string) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) StartTimestamp(startTimestamp int64) EventsApiApiGetProviderEventsRequest
- func (r EventsApiApiGetProviderEventsRequest) Username(username string) EventsApiApiGetProviderEventsRequest
- type EventsApiService
- func (a *EventsApiService) GetFsEvents(ctx context.Context) EventsApiApiGetFsEventsRequest
- func (a *EventsApiService) GetFsEventsExecute(r EventsApiApiGetFsEventsRequest) ([]FsEvent, *http.Response, error)
- func (a *EventsApiService) GetProviderEvents(ctx context.Context) EventsApiApiGetProviderEventsRequest
- func (a *EventsApiService) GetProviderEventsExecute(r EventsApiApiGetProviderEventsRequest) ([]ProviderEvent, *http.Response, error)
- type FTPDBinding
- func (o *FTPDBinding) GetAddress() string
- func (o *FTPDBinding) GetAddressOk() (*string, bool)
- func (o *FTPDBinding) GetApplyProxyConfig() bool
- func (o *FTPDBinding) GetApplyProxyConfigOk() (*bool, bool)
- func (o *FTPDBinding) GetClientAuthType() int32
- func (o *FTPDBinding) GetClientAuthTypeOk() (*int32, bool)
- func (o *FTPDBinding) GetForcePassiveIp() string
- func (o *FTPDBinding) GetForcePassiveIpOk() (*string, bool)
- func (o *FTPDBinding) GetPort() int32
- func (o *FTPDBinding) GetPortOk() (*int32, bool)
- func (o *FTPDBinding) GetTlsMode() int32
- func (o *FTPDBinding) GetTlsModeOk() (*int32, bool)
- func (o *FTPDBinding) HasAddress() bool
- func (o *FTPDBinding) HasApplyProxyConfig() bool
- func (o *FTPDBinding) HasClientAuthType() bool
- func (o *FTPDBinding) HasForcePassiveIp() bool
- func (o *FTPDBinding) HasPort() bool
- func (o *FTPDBinding) HasTlsMode() bool
- func (o FTPDBinding) MarshalJSON() ([]byte, error)
- func (o *FTPDBinding) SetAddress(v string)
- func (o *FTPDBinding) SetApplyProxyConfig(v bool)
- func (o *FTPDBinding) SetClientAuthType(v int32)
- func (o *FTPDBinding) SetForcePassiveIp(v string)
- func (o *FTPDBinding) SetPort(v int32)
- func (o *FTPDBinding) SetTlsMode(v int32)
- type FTPPassivePortRange
- func (o *FTPPassivePortRange) GetEnd() int32
- func (o *FTPPassivePortRange) GetEndOk() (*int32, bool)
- func (o *FTPPassivePortRange) GetStart() int32
- func (o *FTPPassivePortRange) GetStartOk() (*int32, bool)
- func (o *FTPPassivePortRange) HasEnd() bool
- func (o *FTPPassivePortRange) HasStart() bool
- func (o FTPPassivePortRange) MarshalJSON() ([]byte, error)
- func (o *FTPPassivePortRange) SetEnd(v int32)
- func (o *FTPPassivePortRange) SetStart(v int32)
- type FTPServiceStatus
- func (o *FTPServiceStatus) GetBindings() []FTPDBinding
- func (o *FTPServiceStatus) GetBindingsOk() ([]FTPDBinding, bool)
- func (o *FTPServiceStatus) GetIsActive() bool
- func (o *FTPServiceStatus) GetIsActiveOk() (*bool, bool)
- func (o *FTPServiceStatus) GetPassivePortRange() FTPPassivePortRange
- func (o *FTPServiceStatus) GetPassivePortRangeOk() (*FTPPassivePortRange, bool)
- func (o *FTPServiceStatus) HasBindings() bool
- func (o *FTPServiceStatus) HasIsActive() bool
- func (o *FTPServiceStatus) HasPassivePortRange() bool
- func (o FTPServiceStatus) MarshalJSON() ([]byte, error)
- func (o *FTPServiceStatus) SetBindings(v []FTPDBinding)
- func (o *FTPServiceStatus) SetIsActive(v bool)
- func (o *FTPServiceStatus) SetPassivePortRange(v FTPPassivePortRange)
- type FilesystemConfig
- func (o *FilesystemConfig) GetAzblobconfig() AzureBlobFsConfig
- func (o *FilesystemConfig) GetAzblobconfigOk() (*AzureBlobFsConfig, bool)
- func (o *FilesystemConfig) GetCryptconfig() CryptFsConfig
- func (o *FilesystemConfig) GetCryptconfigOk() (*CryptFsConfig, bool)
- func (o *FilesystemConfig) GetGcsconfig() GCSConfig
- func (o *FilesystemConfig) GetGcsconfigOk() (*GCSConfig, bool)
- func (o *FilesystemConfig) GetProvider() FsProviders
- func (o *FilesystemConfig) GetProviderOk() (*FsProviders, bool)
- func (o *FilesystemConfig) GetS3config() S3Config
- func (o *FilesystemConfig) GetS3configOk() (*S3Config, bool)
- func (o *FilesystemConfig) GetSftpconfig() SFTPFsConfig
- func (o *FilesystemConfig) GetSftpconfigOk() (*SFTPFsConfig, bool)
- func (o *FilesystemConfig) HasAzblobconfig() bool
- func (o *FilesystemConfig) HasCryptconfig() bool
- func (o *FilesystemConfig) HasGcsconfig() bool
- func (o *FilesystemConfig) HasProvider() bool
- func (o *FilesystemConfig) HasS3config() bool
- func (o *FilesystemConfig) HasSftpconfig() bool
- func (o FilesystemConfig) MarshalJSON() ([]byte, error)
- func (o *FilesystemConfig) SetAzblobconfig(v AzureBlobFsConfig)
- func (o *FilesystemConfig) SetCryptconfig(v CryptFsConfig)
- func (o *FilesystemConfig) SetGcsconfig(v GCSConfig)
- func (o *FilesystemConfig) SetProvider(v FsProviders)
- func (o *FilesystemConfig) SetS3config(v S3Config)
- func (o *FilesystemConfig) SetSftpconfig(v SFTPFsConfig)
- type FolderQuotaScan
- func (o *FolderQuotaScan) GetName() string
- func (o *FolderQuotaScan) GetNameOk() (*string, bool)
- func (o *FolderQuotaScan) GetStartTime() int64
- func (o *FolderQuotaScan) GetStartTimeOk() (*int64, bool)
- func (o *FolderQuotaScan) HasName() bool
- func (o *FolderQuotaScan) HasStartTime() bool
- func (o FolderQuotaScan) MarshalJSON() ([]byte, error)
- func (o *FolderQuotaScan) SetName(v string)
- func (o *FolderQuotaScan) SetStartTime(v int64)
- type FolderRetention
- func (o *FolderRetention) GetDeleteEmptyDirs() bool
- func (o *FolderRetention) GetDeleteEmptyDirsOk() (*bool, bool)
- func (o *FolderRetention) GetIgnoreUserPermissions() bool
- func (o *FolderRetention) GetIgnoreUserPermissionsOk() (*bool, bool)
- func (o *FolderRetention) GetPath() string
- func (o *FolderRetention) GetPathOk() (*string, bool)
- func (o *FolderRetention) GetRetention() int32
- func (o *FolderRetention) GetRetentionOk() (*int32, bool)
- func (o *FolderRetention) HasDeleteEmptyDirs() bool
- func (o *FolderRetention) HasIgnoreUserPermissions() bool
- func (o *FolderRetention) HasPath() bool
- func (o *FolderRetention) HasRetention() bool
- func (o FolderRetention) MarshalJSON() ([]byte, error)
- func (o *FolderRetention) SetDeleteEmptyDirs(v bool)
- func (o *FolderRetention) SetIgnoreUserPermissions(v bool)
- func (o *FolderRetention) SetPath(v string)
- func (o *FolderRetention) SetRetention(v int32)
- type FoldersApiApiAddFolderRequest
- type FoldersApiApiDeleteFolderRequest
- type FoldersApiApiGetFolderByNameRequest
- type FoldersApiApiGetFoldersRequest
- func (r FoldersApiApiGetFoldersRequest) Execute() ([]BaseVirtualFolder, *http.Response, error)
- func (r FoldersApiApiGetFoldersRequest) Limit(limit int32) FoldersApiApiGetFoldersRequest
- func (r FoldersApiApiGetFoldersRequest) Offset(offset int32) FoldersApiApiGetFoldersRequest
- func (r FoldersApiApiGetFoldersRequest) Order(order string) FoldersApiApiGetFoldersRequest
- type FoldersApiApiUpdateFolderRequest
- type FoldersApiService
- func (a *FoldersApiService) AddFolder(ctx context.Context) FoldersApiApiAddFolderRequest
- func (a *FoldersApiService) AddFolderExecute(r FoldersApiApiAddFolderRequest) (*BaseVirtualFolder, *http.Response, error)
- func (a *FoldersApiService) DeleteFolder(ctx context.Context, name string) FoldersApiApiDeleteFolderRequest
- func (a *FoldersApiService) DeleteFolderExecute(r FoldersApiApiDeleteFolderRequest) (*ApiResponse, *http.Response, error)
- func (a *FoldersApiService) GetFolderByName(ctx context.Context, name string) FoldersApiApiGetFolderByNameRequest
- func (a *FoldersApiService) GetFolderByNameExecute(r FoldersApiApiGetFolderByNameRequest) (*BaseVirtualFolder, *http.Response, error)
- func (a *FoldersApiService) GetFolders(ctx context.Context) FoldersApiApiGetFoldersRequest
- func (a *FoldersApiService) GetFoldersExecute(r FoldersApiApiGetFoldersRequest) ([]BaseVirtualFolder, *http.Response, error)
- func (a *FoldersApiService) UpdateFolder(ctx context.Context, name string) FoldersApiApiUpdateFolderRequest
- func (a *FoldersApiService) UpdateFolderExecute(r FoldersApiApiUpdateFolderRequest) (*ApiResponse, *http.Response, error)
- type FsEvent
- func (o *FsEvent) GetAction() FsEventAction
- func (o *FsEvent) GetActionOk() (*FsEventAction, bool)
- func (o *FsEvent) GetBucket() string
- func (o *FsEvent) GetBucketOk() (*string, bool)
- func (o *FsEvent) GetEndpoint() string
- func (o *FsEvent) GetEndpointOk() (*string, bool)
- func (o *FsEvent) GetFileSize() int64
- func (o *FsEvent) GetFileSizeOk() (*int64, bool)
- func (o *FsEvent) GetFsPath() string
- func (o *FsEvent) GetFsPathOk() (*string, bool)
- func (o *FsEvent) GetFsProvider() FsProviders
- func (o *FsEvent) GetFsProviderOk() (*FsProviders, bool)
- func (o *FsEvent) GetFsTargetPath() string
- func (o *FsEvent) GetFsTargetPathOk() (*string, bool)
- func (o *FsEvent) GetId() string
- func (o *FsEvent) GetIdOk() (*string, bool)
- func (o *FsEvent) GetInstanceId() string
- func (o *FsEvent) GetInstanceIdOk() (*string, bool)
- func (o *FsEvent) GetIp() string
- func (o *FsEvent) GetIpOk() (*string, bool)
- func (o *FsEvent) GetOpenFlags() string
- func (o *FsEvent) GetOpenFlagsOk() (*string, bool)
- func (o *FsEvent) GetProtocol() EventProtocols
- func (o *FsEvent) GetProtocolOk() (*EventProtocols, bool)
- func (o *FsEvent) GetSessionId() string
- func (o *FsEvent) GetSessionIdOk() (*string, bool)
- func (o *FsEvent) GetSshCmd() string
- func (o *FsEvent) GetSshCmdOk() (*string, bool)
- func (o *FsEvent) GetStatus() FsEventStatus
- func (o *FsEvent) GetStatusOk() (*FsEventStatus, bool)
- func (o *FsEvent) GetTimestamp() int64
- func (o *FsEvent) GetTimestampOk() (*int64, bool)
- func (o *FsEvent) GetUsername() string
- func (o *FsEvent) GetUsernameOk() (*string, bool)
- func (o *FsEvent) GetVirtualPath() string
- func (o *FsEvent) GetVirtualPathOk() (*string, bool)
- func (o *FsEvent) GetVirtualTargetPath() string
- func (o *FsEvent) GetVirtualTargetPathOk() (*string, bool)
- func (o *FsEvent) HasAction() bool
- func (o *FsEvent) HasBucket() bool
- func (o *FsEvent) HasEndpoint() bool
- func (o *FsEvent) HasFileSize() bool
- func (o *FsEvent) HasFsPath() bool
- func (o *FsEvent) HasFsProvider() bool
- func (o *FsEvent) HasFsTargetPath() bool
- func (o *FsEvent) HasId() bool
- func (o *FsEvent) HasInstanceId() bool
- func (o *FsEvent) HasIp() bool
- func (o *FsEvent) HasOpenFlags() bool
- func (o *FsEvent) HasProtocol() bool
- func (o *FsEvent) HasSessionId() bool
- func (o *FsEvent) HasSshCmd() bool
- func (o *FsEvent) HasStatus() bool
- func (o *FsEvent) HasTimestamp() bool
- func (o *FsEvent) HasUsername() bool
- func (o *FsEvent) HasVirtualPath() bool
- func (o *FsEvent) HasVirtualTargetPath() bool
- func (o FsEvent) MarshalJSON() ([]byte, error)
- func (o *FsEvent) SetAction(v FsEventAction)
- func (o *FsEvent) SetBucket(v string)
- func (o *FsEvent) SetEndpoint(v string)
- func (o *FsEvent) SetFileSize(v int64)
- func (o *FsEvent) SetFsPath(v string)
- func (o *FsEvent) SetFsProvider(v FsProviders)
- func (o *FsEvent) SetFsTargetPath(v string)
- func (o *FsEvent) SetId(v string)
- func (o *FsEvent) SetInstanceId(v string)
- func (o *FsEvent) SetIp(v string)
- func (o *FsEvent) SetOpenFlags(v string)
- func (o *FsEvent) SetProtocol(v EventProtocols)
- func (o *FsEvent) SetSessionId(v string)
- func (o *FsEvent) SetSshCmd(v string)
- func (o *FsEvent) SetStatus(v FsEventStatus)
- func (o *FsEvent) SetTimestamp(v int64)
- func (o *FsEvent) SetUsername(v string)
- func (o *FsEvent) SetVirtualPath(v string)
- func (o *FsEvent) SetVirtualTargetPath(v string)
- type FsEventAction
- type FsEventStatus
- type FsProviders
- type GCSConfig
- func (o *GCSConfig) GetAcl() string
- func (o *GCSConfig) GetAclOk() (*string, bool)
- func (o *GCSConfig) GetAutomaticCredentials() int32
- func (o *GCSConfig) GetAutomaticCredentialsOk() (*int32, bool)
- func (o *GCSConfig) GetBucket() string
- func (o *GCSConfig) GetBucketOk() (*string, bool)
- func (o *GCSConfig) GetCredentials() Secret
- func (o *GCSConfig) GetCredentialsOk() (*Secret, bool)
- func (o *GCSConfig) GetKeyPrefix() string
- func (o *GCSConfig) GetKeyPrefixOk() (*string, bool)
- func (o *GCSConfig) GetStorageClass() string
- func (o *GCSConfig) GetStorageClassOk() (*string, bool)
- func (o *GCSConfig) HasAcl() bool
- func (o *GCSConfig) HasAutomaticCredentials() bool
- func (o *GCSConfig) HasBucket() bool
- func (o *GCSConfig) HasCredentials() bool
- func (o *GCSConfig) HasKeyPrefix() bool
- func (o *GCSConfig) HasStorageClass() bool
- func (o GCSConfig) MarshalJSON() ([]byte, error)
- func (o *GCSConfig) SetAcl(v string)
- func (o *GCSConfig) SetAutomaticCredentials(v int32)
- func (o *GCSConfig) SetBucket(v string)
- func (o *GCSConfig) SetCredentials(v Secret)
- func (o *GCSConfig) SetKeyPrefix(v string)
- func (o *GCSConfig) SetStorageClass(v string)
- type GenericOpenAPIError
- type HealthcheckApiApiHealthzRequest
- type HealthcheckApiService
- type HooksFilter
- func (o *HooksFilter) GetCheckPasswordDisabled() bool
- func (o *HooksFilter) GetCheckPasswordDisabledOk() (*bool, bool)
- func (o *HooksFilter) GetExternalAuthDisabled() bool
- func (o *HooksFilter) GetExternalAuthDisabledOk() (*bool, bool)
- func (o *HooksFilter) GetPreLoginDisabled() bool
- func (o *HooksFilter) GetPreLoginDisabledOk() (*bool, bool)
- func (o *HooksFilter) HasCheckPasswordDisabled() bool
- func (o *HooksFilter) HasExternalAuthDisabled() bool
- func (o *HooksFilter) HasPreLoginDisabled() bool
- func (o HooksFilter) MarshalJSON() ([]byte, error)
- func (o *HooksFilter) SetCheckPasswordDisabled(v bool)
- func (o *HooksFilter) SetExternalAuthDisabled(v bool)
- func (o *HooksFilter) SetPreLoginDisabled(v bool)
- type InlineObject1
- type InlineObject2
- func (o *InlineObject2) GetConfigName() string
- func (o *InlineObject2) GetConfigNameOk() (*string, bool)
- func (o *InlineObject2) GetPasscode() string
- func (o *InlineObject2) GetPasscodeOk() (*string, bool)
- func (o *InlineObject2) GetSecret() string
- func (o *InlineObject2) GetSecretOk() (*string, bool)
- func (o *InlineObject2) HasConfigName() bool
- func (o *InlineObject2) HasPasscode() bool
- func (o *InlineObject2) HasSecret() bool
- func (o InlineObject2) MarshalJSON() ([]byte, error)
- func (o *InlineObject2) SetConfigName(v string)
- func (o *InlineObject2) SetPasscode(v string)
- func (o *InlineObject2) SetSecret(v string)
- type InlineObject3
- type InlineObject4
- func (o *InlineObject4) GetCode() string
- func (o *InlineObject4) GetCodeOk() (*string, bool)
- func (o *InlineObject4) GetPassword() string
- func (o *InlineObject4) GetPasswordOk() (*string, bool)
- func (o *InlineObject4) HasCode() bool
- func (o *InlineObject4) HasPassword() bool
- func (o InlineObject4) MarshalJSON() ([]byte, error)
- func (o *InlineObject4) SetCode(v string)
- func (o *InlineObject4) SetPassword(v string)
- type InlineObject5
- func (o *InlineObject5) GetCode() string
- func (o *InlineObject5) GetCodeOk() (*string, bool)
- func (o *InlineObject5) GetPassword() string
- func (o *InlineObject5) GetPasswordOk() (*string, bool)
- func (o *InlineObject5) HasCode() bool
- func (o *InlineObject5) HasPassword() bool
- func (o InlineObject5) MarshalJSON() ([]byte, error)
- func (o *InlineObject5) SetCode(v string)
- func (o *InlineObject5) SetPassword(v string)
- type InlineObject6
- type InlineObject7
- func (o *InlineObject7) GetConfigName() string
- func (o *InlineObject7) GetConfigNameOk() (*string, bool)
- func (o *InlineObject7) GetPasscode() string
- func (o *InlineObject7) GetPasscodeOk() (*string, bool)
- func (o *InlineObject7) GetSecret() string
- func (o *InlineObject7) GetSecretOk() (*string, bool)
- func (o *InlineObject7) HasConfigName() bool
- func (o *InlineObject7) HasPasscode() bool
- func (o *InlineObject7) HasSecret() bool
- func (o InlineObject7) MarshalJSON() ([]byte, error)
- func (o *InlineObject7) SetConfigName(v string)
- func (o *InlineObject7) SetPasscode(v string)
- func (o *InlineObject7) SetSecret(v string)
- type InlineObject9
- type InlineResponse200
- func (o *InlineResponse200) GetConfigName() string
- func (o *InlineResponse200) GetConfigNameOk() (*string, bool)
- func (o *InlineResponse200) GetIssuer() string
- func (o *InlineResponse200) GetIssuerOk() (*string, bool)
- func (o *InlineResponse200) GetQrCode() string
- func (o *InlineResponse200) GetQrCodeOk() (*string, bool)
- func (o *InlineResponse200) GetSecret() string
- func (o *InlineResponse200) GetSecretOk() (*string, bool)
- func (o *InlineResponse200) HasConfigName() bool
- func (o *InlineResponse200) HasIssuer() bool
- func (o *InlineResponse200) HasQrCode() bool
- func (o *InlineResponse200) HasSecret() bool
- func (o InlineResponse200) MarshalJSON() ([]byte, error)
- func (o *InlineResponse200) SetConfigName(v string)
- func (o *InlineResponse200) SetIssuer(v string)
- func (o *InlineResponse200) SetQrCode(v string)
- func (o *InlineResponse200) SetSecret(v string)
- type InlineResponse201
- func (o *InlineResponse201) GetKey() string
- func (o *InlineResponse201) GetKeyOk() (*string, bool)
- func (o *InlineResponse201) GetMesage() string
- func (o *InlineResponse201) GetMesageOk() (*string, bool)
- func (o *InlineResponse201) HasKey() bool
- func (o *InlineResponse201) HasMesage() bool
- func (o InlineResponse201) MarshalJSON() ([]byte, error)
- func (o *InlineResponse201) SetKey(v string)
- func (o *InlineResponse201) SetMesage(v string)
- type LoginMethods
- type MFAProtocols
- type MFAStatus
- func (o *MFAStatus) GetIsActive() bool
- func (o *MFAStatus) GetIsActiveOk() (*bool, bool)
- func (o *MFAStatus) GetTotpConfigs() []TOTPConfig
- func (o *MFAStatus) GetTotpConfigsOk() ([]TOTPConfig, bool)
- func (o *MFAStatus) HasIsActive() bool
- func (o *MFAStatus) HasTotpConfigs() bool
- func (o MFAStatus) MarshalJSON() ([]byte, error)
- func (o *MFAStatus) SetIsActive(v bool)
- func (o *MFAStatus) SetTotpConfigs(v []TOTPConfig)
- type MaintenanceApiApiDumpdataRequest
- func (r MaintenanceApiApiDumpdataRequest) Execute() (*BackupData, *http.Response, error)
- func (r MaintenanceApiApiDumpdataRequest) Indent(indent int32) MaintenanceApiApiDumpdataRequest
- func (r MaintenanceApiApiDumpdataRequest) OutputData(outputData int32) MaintenanceApiApiDumpdataRequest
- func (r MaintenanceApiApiDumpdataRequest) OutputFile(outputFile string) MaintenanceApiApiDumpdataRequest
- type MaintenanceApiApiGetStatusRequest
- type MaintenanceApiApiGetVersionRequest
- type MaintenanceApiApiLoaddataFromFileRequest
- func (r MaintenanceApiApiLoaddataFromFileRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r MaintenanceApiApiLoaddataFromFileRequest) InputFile(inputFile string) MaintenanceApiApiLoaddataFromFileRequest
- func (r MaintenanceApiApiLoaddataFromFileRequest) Mode(mode int32) MaintenanceApiApiLoaddataFromFileRequest
- func (r MaintenanceApiApiLoaddataFromFileRequest) ScanQuota(scanQuota int32) MaintenanceApiApiLoaddataFromFileRequest
- type MaintenanceApiApiLoaddataFromRequestBodyRequest
- func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) BackupData(backupData BackupData) MaintenanceApiApiLoaddataFromRequestBodyRequest
- func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) Mode(mode int32) MaintenanceApiApiLoaddataFromRequestBodyRequest
- func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) ScanQuota(scanQuota int32) MaintenanceApiApiLoaddataFromRequestBodyRequest
- type MaintenanceApiService
- func (a *MaintenanceApiService) Dumpdata(ctx context.Context) MaintenanceApiApiDumpdataRequest
- func (a *MaintenanceApiService) DumpdataExecute(r MaintenanceApiApiDumpdataRequest) (*BackupData, *http.Response, error)
- func (a *MaintenanceApiService) GetStatus(ctx context.Context) MaintenanceApiApiGetStatusRequest
- func (a *MaintenanceApiService) GetStatusExecute(r MaintenanceApiApiGetStatusRequest) (*ServicesStatus, *http.Response, error)
- func (a *MaintenanceApiService) GetVersion(ctx context.Context) MaintenanceApiApiGetVersionRequest
- func (a *MaintenanceApiService) GetVersionExecute(r MaintenanceApiApiGetVersionRequest) (*VersionInfo, *http.Response, error)
- func (a *MaintenanceApiService) LoaddataFromFile(ctx context.Context) MaintenanceApiApiLoaddataFromFileRequest
- func (a *MaintenanceApiService) LoaddataFromFileExecute(r MaintenanceApiApiLoaddataFromFileRequest) (*ApiResponse, *http.Response, error)
- func (a *MaintenanceApiService) LoaddataFromRequestBody(ctx context.Context) MaintenanceApiApiLoaddataFromRequestBodyRequest
- func (a *MaintenanceApiService) LoaddataFromRequestBodyExecute(r MaintenanceApiApiLoaddataFromRequestBodyRequest) (*ApiResponse, *http.Response, error)
- type MetadataApiApiGetUsersMetadataChecksRequest
- type MetadataApiApiStartUserMetadataCheckRequest
- type MetadataApiService
- func (a *MetadataApiService) GetUsersMetadataChecks(ctx context.Context) MetadataApiApiGetUsersMetadataChecksRequest
- func (a *MetadataApiService) GetUsersMetadataChecksExecute(r MetadataApiApiGetUsersMetadataChecksRequest) ([]MetadataCheck, *http.Response, error)
- func (a *MetadataApiService) StartUserMetadataCheck(ctx context.Context, username string) MetadataApiApiStartUserMetadataCheckRequest
- func (a *MetadataApiService) StartUserMetadataCheckExecute(r MetadataApiApiStartUserMetadataCheckRequest) (*ApiResponse, *http.Response, error)
- type MetadataCheck
- func (o *MetadataCheck) GetStartTime() int64
- func (o *MetadataCheck) GetStartTimeOk() (*int64, bool)
- func (o *MetadataCheck) GetUsername() string
- func (o *MetadataCheck) GetUsernameOk() (*string, bool)
- func (o *MetadataCheck) HasStartTime() bool
- func (o *MetadataCheck) HasUsername() bool
- func (o MetadataCheck) MarshalJSON() ([]byte, error)
- func (o *MetadataCheck) SetStartTime(v int64)
- func (o *MetadataCheck) SetUsername(v string)
- type NullableAdmin
- type NullableAdminFilters
- func (v NullableAdminFilters) Get() *AdminFilters
- func (v NullableAdminFilters) IsSet() bool
- func (v NullableAdminFilters) MarshalJSON() ([]byte, error)
- func (v *NullableAdminFilters) Set(val *AdminFilters)
- func (v *NullableAdminFilters) UnmarshalJSON(src []byte) error
- func (v *NullableAdminFilters) Unset()
- type NullableAdminPermissions
- func (v NullableAdminPermissions) Get() *AdminPermissions
- func (v NullableAdminPermissions) IsSet() bool
- func (v NullableAdminPermissions) MarshalJSON() ([]byte, error)
- func (v *NullableAdminPermissions) Set(val *AdminPermissions)
- func (v *NullableAdminPermissions) UnmarshalJSON(src []byte) error
- func (v *NullableAdminPermissions) Unset()
- type NullableAdminProfile
- func (v NullableAdminProfile) Get() *AdminProfile
- func (v NullableAdminProfile) IsSet() bool
- func (v NullableAdminProfile) MarshalJSON() ([]byte, error)
- func (v *NullableAdminProfile) Set(val *AdminProfile)
- func (v *NullableAdminProfile) UnmarshalJSON(src []byte) error
- func (v *NullableAdminProfile) Unset()
- type NullableAdminTOTPConfig
- func (v NullableAdminTOTPConfig) Get() *AdminTOTPConfig
- func (v NullableAdminTOTPConfig) IsSet() bool
- func (v NullableAdminTOTPConfig) MarshalJSON() ([]byte, error)
- func (v *NullableAdminTOTPConfig) Set(val *AdminTOTPConfig)
- func (v *NullableAdminTOTPConfig) UnmarshalJSON(src []byte) error
- func (v *NullableAdminTOTPConfig) Unset()
- type NullableApiResponse
- func (v NullableApiResponse) Get() *ApiResponse
- func (v NullableApiResponse) IsSet() bool
- func (v NullableApiResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiResponse) Set(val *ApiResponse)
- func (v *NullableApiResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiResponse) Unset()
- type NullableAuthAPIKey
- type NullableAuthAPIKeyScope
- func (v NullableAuthAPIKeyScope) Get() *AuthAPIKeyScope
- func (v NullableAuthAPIKeyScope) IsSet() bool
- func (v NullableAuthAPIKeyScope) MarshalJSON() ([]byte, error)
- func (v *NullableAuthAPIKeyScope) Set(val *AuthAPIKeyScope)
- func (v *NullableAuthAPIKeyScope) UnmarshalJSON(src []byte) error
- func (v *NullableAuthAPIKeyScope) Unset()
- type NullableAzureBlobFsConfig
- func (v NullableAzureBlobFsConfig) Get() *AzureBlobFsConfig
- func (v NullableAzureBlobFsConfig) IsSet() bool
- func (v NullableAzureBlobFsConfig) MarshalJSON() ([]byte, error)
- func (v *NullableAzureBlobFsConfig) Set(val *AzureBlobFsConfig)
- func (v *NullableAzureBlobFsConfig) UnmarshalJSON(src []byte) error
- func (v *NullableAzureBlobFsConfig) Unset()
- type NullableBackupData
- type NullableBanStatus
- type NullableBandwidthLimit
- func (v NullableBandwidthLimit) Get() *BandwidthLimit
- func (v NullableBandwidthLimit) IsSet() bool
- func (v NullableBandwidthLimit) MarshalJSON() ([]byte, error)
- func (v *NullableBandwidthLimit) Set(val *BandwidthLimit)
- func (v *NullableBandwidthLimit) UnmarshalJSON(src []byte) error
- func (v *NullableBandwidthLimit) Unset()
- type NullableBaseTOTPConfig
- func (v NullableBaseTOTPConfig) Get() *BaseTOTPConfig
- func (v NullableBaseTOTPConfig) IsSet() bool
- func (v NullableBaseTOTPConfig) MarshalJSON() ([]byte, error)
- func (v *NullableBaseTOTPConfig) Set(val *BaseTOTPConfig)
- func (v *NullableBaseTOTPConfig) UnmarshalJSON(src []byte) error
- func (v *NullableBaseTOTPConfig) Unset()
- type NullableBaseVirtualFolder
- func (v NullableBaseVirtualFolder) Get() *BaseVirtualFolder
- func (v NullableBaseVirtualFolder) IsSet() bool
- func (v NullableBaseVirtualFolder) MarshalJSON() ([]byte, error)
- func (v *NullableBaseVirtualFolder) Set(val *BaseVirtualFolder)
- func (v *NullableBaseVirtualFolder) UnmarshalJSON(src []byte) error
- func (v *NullableBaseVirtualFolder) Unset()
- type NullableBool
- type NullableConnectionStatus
- func (v NullableConnectionStatus) Get() *ConnectionStatus
- func (v NullableConnectionStatus) IsSet() bool
- func (v NullableConnectionStatus) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionStatus) Set(val *ConnectionStatus)
- func (v *NullableConnectionStatus) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionStatus) Unset()
- type NullableCryptFsConfig
- func (v NullableCryptFsConfig) Get() *CryptFsConfig
- func (v NullableCryptFsConfig) IsSet() bool
- func (v NullableCryptFsConfig) MarshalJSON() ([]byte, error)
- func (v *NullableCryptFsConfig) Set(val *CryptFsConfig)
- func (v *NullableCryptFsConfig) UnmarshalJSON(src []byte) error
- func (v *NullableCryptFsConfig) Unset()
- type NullableDataProviderStatus
- func (v NullableDataProviderStatus) Get() *DataProviderStatus
- func (v NullableDataProviderStatus) IsSet() bool
- func (v NullableDataProviderStatus) MarshalJSON() ([]byte, error)
- func (v *NullableDataProviderStatus) Set(val *DataProviderStatus)
- func (v *NullableDataProviderStatus) UnmarshalJSON(src []byte) error
- func (v *NullableDataProviderStatus) Unset()
- type NullableDataTransferLimit
- func (v NullableDataTransferLimit) Get() *DataTransferLimit
- func (v NullableDataTransferLimit) IsSet() bool
- func (v NullableDataTransferLimit) MarshalJSON() ([]byte, error)
- func (v *NullableDataTransferLimit) Set(val *DataTransferLimit)
- func (v *NullableDataTransferLimit) UnmarshalJSON(src []byte) error
- func (v *NullableDataTransferLimit) Unset()
- type NullableDefenderEntry
- func (v NullableDefenderEntry) Get() *DefenderEntry
- func (v NullableDefenderEntry) IsSet() bool
- func (v NullableDefenderEntry) MarshalJSON() ([]byte, error)
- func (v *NullableDefenderEntry) Set(val *DefenderEntry)
- func (v *NullableDefenderEntry) UnmarshalJSON(src []byte) error
- func (v *NullableDefenderEntry) Unset()
- type NullableDirEntry
- type NullableEventProtocols
- func (v NullableEventProtocols) Get() *EventProtocols
- func (v NullableEventProtocols) IsSet() bool
- func (v NullableEventProtocols) MarshalJSON() ([]byte, error)
- func (v *NullableEventProtocols) Set(val *EventProtocols)
- func (v *NullableEventProtocols) UnmarshalJSON(src []byte) error
- func (v *NullableEventProtocols) Unset()
- type NullableFTPDBinding
- func (v NullableFTPDBinding) Get() *FTPDBinding
- func (v NullableFTPDBinding) IsSet() bool
- func (v NullableFTPDBinding) MarshalJSON() ([]byte, error)
- func (v *NullableFTPDBinding) Set(val *FTPDBinding)
- func (v *NullableFTPDBinding) UnmarshalJSON(src []byte) error
- func (v *NullableFTPDBinding) Unset()
- type NullableFTPPassivePortRange
- func (v NullableFTPPassivePortRange) Get() *FTPPassivePortRange
- func (v NullableFTPPassivePortRange) IsSet() bool
- func (v NullableFTPPassivePortRange) MarshalJSON() ([]byte, error)
- func (v *NullableFTPPassivePortRange) Set(val *FTPPassivePortRange)
- func (v *NullableFTPPassivePortRange) UnmarshalJSON(src []byte) error
- func (v *NullableFTPPassivePortRange) Unset()
- type NullableFTPServiceStatus
- func (v NullableFTPServiceStatus) Get() *FTPServiceStatus
- func (v NullableFTPServiceStatus) IsSet() bool
- func (v NullableFTPServiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableFTPServiceStatus) Set(val *FTPServiceStatus)
- func (v *NullableFTPServiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableFTPServiceStatus) Unset()
- type NullableFilesystemConfig
- func (v NullableFilesystemConfig) Get() *FilesystemConfig
- func (v NullableFilesystemConfig) IsSet() bool
- func (v NullableFilesystemConfig) MarshalJSON() ([]byte, error)
- func (v *NullableFilesystemConfig) Set(val *FilesystemConfig)
- func (v *NullableFilesystemConfig) UnmarshalJSON(src []byte) error
- func (v *NullableFilesystemConfig) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableFolderQuotaScan
- func (v NullableFolderQuotaScan) Get() *FolderQuotaScan
- func (v NullableFolderQuotaScan) IsSet() bool
- func (v NullableFolderQuotaScan) MarshalJSON() ([]byte, error)
- func (v *NullableFolderQuotaScan) Set(val *FolderQuotaScan)
- func (v *NullableFolderQuotaScan) UnmarshalJSON(src []byte) error
- func (v *NullableFolderQuotaScan) Unset()
- type NullableFolderRetention
- func (v NullableFolderRetention) Get() *FolderRetention
- func (v NullableFolderRetention) IsSet() bool
- func (v NullableFolderRetention) MarshalJSON() ([]byte, error)
- func (v *NullableFolderRetention) Set(val *FolderRetention)
- func (v *NullableFolderRetention) UnmarshalJSON(src []byte) error
- func (v *NullableFolderRetention) Unset()
- type NullableFsEvent
- type NullableFsEventAction
- func (v NullableFsEventAction) Get() *FsEventAction
- func (v NullableFsEventAction) IsSet() bool
- func (v NullableFsEventAction) MarshalJSON() ([]byte, error)
- func (v *NullableFsEventAction) Set(val *FsEventAction)
- func (v *NullableFsEventAction) UnmarshalJSON(src []byte) error
- func (v *NullableFsEventAction) Unset()
- type NullableFsEventStatus
- func (v NullableFsEventStatus) Get() *FsEventStatus
- func (v NullableFsEventStatus) IsSet() bool
- func (v NullableFsEventStatus) MarshalJSON() ([]byte, error)
- func (v *NullableFsEventStatus) Set(val *FsEventStatus)
- func (v *NullableFsEventStatus) UnmarshalJSON(src []byte) error
- func (v *NullableFsEventStatus) Unset()
- type NullableFsProviders
- func (v NullableFsProviders) Get() *FsProviders
- func (v NullableFsProviders) IsSet() bool
- func (v NullableFsProviders) MarshalJSON() ([]byte, error)
- func (v *NullableFsProviders) Set(val *FsProviders)
- func (v *NullableFsProviders) UnmarshalJSON(src []byte) error
- func (v *NullableFsProviders) Unset()
- type NullableGCSConfig
- type NullableHooksFilter
- func (v NullableHooksFilter) Get() *HooksFilter
- func (v NullableHooksFilter) IsSet() bool
- func (v NullableHooksFilter) MarshalJSON() ([]byte, error)
- func (v *NullableHooksFilter) Set(val *HooksFilter)
- func (v *NullableHooksFilter) UnmarshalJSON(src []byte) error
- func (v *NullableHooksFilter) Unset()
- type NullableInlineObject1
- func (v NullableInlineObject1) Get() *InlineObject1
- func (v NullableInlineObject1) IsSet() bool
- func (v NullableInlineObject1) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject1) Set(val *InlineObject1)
- func (v *NullableInlineObject1) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject1) Unset()
- type NullableInlineObject2
- func (v NullableInlineObject2) Get() *InlineObject2
- func (v NullableInlineObject2) IsSet() bool
- func (v NullableInlineObject2) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject2) Set(val *InlineObject2)
- func (v *NullableInlineObject2) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject2) Unset()
- type NullableInlineObject3
- func (v NullableInlineObject3) Get() *InlineObject3
- func (v NullableInlineObject3) IsSet() bool
- func (v NullableInlineObject3) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject3) Set(val *InlineObject3)
- func (v *NullableInlineObject3) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject3) Unset()
- type NullableInlineObject4
- func (v NullableInlineObject4) Get() *InlineObject4
- func (v NullableInlineObject4) IsSet() bool
- func (v NullableInlineObject4) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject4) Set(val *InlineObject4)
- func (v *NullableInlineObject4) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject4) Unset()
- type NullableInlineObject5
- func (v NullableInlineObject5) Get() *InlineObject5
- func (v NullableInlineObject5) IsSet() bool
- func (v NullableInlineObject5) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject5) Set(val *InlineObject5)
- func (v *NullableInlineObject5) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject5) Unset()
- type NullableInlineObject6
- func (v NullableInlineObject6) Get() *InlineObject6
- func (v NullableInlineObject6) IsSet() bool
- func (v NullableInlineObject6) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject6) Set(val *InlineObject6)
- func (v *NullableInlineObject6) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject6) Unset()
- type NullableInlineObject7
- func (v NullableInlineObject7) Get() *InlineObject7
- func (v NullableInlineObject7) IsSet() bool
- func (v NullableInlineObject7) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject7) Set(val *InlineObject7)
- func (v *NullableInlineObject7) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject7) Unset()
- type NullableInlineObject9
- func (v NullableInlineObject9) Get() *InlineObject9
- func (v NullableInlineObject9) IsSet() bool
- func (v NullableInlineObject9) MarshalJSON() ([]byte, error)
- func (v *NullableInlineObject9) Set(val *InlineObject9)
- func (v *NullableInlineObject9) UnmarshalJSON(src []byte) error
- func (v *NullableInlineObject9) Unset()
- type NullableInlineResponse200
- func (v NullableInlineResponse200) Get() *InlineResponse200
- func (v NullableInlineResponse200) IsSet() bool
- func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse200) Set(val *InlineResponse200)
- func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse200) Unset()
- type NullableInlineResponse201
- func (v NullableInlineResponse201) Get() *InlineResponse201
- func (v NullableInlineResponse201) IsSet() bool
- func (v NullableInlineResponse201) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse201) Set(val *InlineResponse201)
- func (v *NullableInlineResponse201) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse201) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLoginMethods
- func (v NullableLoginMethods) Get() *LoginMethods
- func (v NullableLoginMethods) IsSet() bool
- func (v NullableLoginMethods) MarshalJSON() ([]byte, error)
- func (v *NullableLoginMethods) Set(val *LoginMethods)
- func (v *NullableLoginMethods) UnmarshalJSON(src []byte) error
- func (v *NullableLoginMethods) Unset()
- type NullableMFAProtocols
- func (v NullableMFAProtocols) Get() *MFAProtocols
- func (v NullableMFAProtocols) IsSet() bool
- func (v NullableMFAProtocols) MarshalJSON() ([]byte, error)
- func (v *NullableMFAProtocols) Set(val *MFAProtocols)
- func (v *NullableMFAProtocols) UnmarshalJSON(src []byte) error
- func (v *NullableMFAProtocols) Unset()
- type NullableMFAStatus
- type NullableMetadataCheck
- func (v NullableMetadataCheck) Get() *MetadataCheck
- func (v NullableMetadataCheck) IsSet() bool
- func (v NullableMetadataCheck) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataCheck) Set(val *MetadataCheck)
- func (v *NullableMetadataCheck) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataCheck) Unset()
- type NullablePatternsFilter
- func (v NullablePatternsFilter) Get() *PatternsFilter
- func (v NullablePatternsFilter) IsSet() bool
- func (v NullablePatternsFilter) MarshalJSON() ([]byte, error)
- func (v *NullablePatternsFilter) Set(val *PatternsFilter)
- func (v *NullablePatternsFilter) UnmarshalJSON(src []byte) error
- func (v *NullablePatternsFilter) Unset()
- type NullablePermission
- type NullableProviderEvent
- func (v NullableProviderEvent) Get() *ProviderEvent
- func (v NullableProviderEvent) IsSet() bool
- func (v NullableProviderEvent) MarshalJSON() ([]byte, error)
- func (v *NullableProviderEvent) Set(val *ProviderEvent)
- func (v *NullableProviderEvent) UnmarshalJSON(src []byte) error
- func (v *NullableProviderEvent) Unset()
- type NullableProviderEventAction
- func (v NullableProviderEventAction) Get() *ProviderEventAction
- func (v NullableProviderEventAction) IsSet() bool
- func (v NullableProviderEventAction) MarshalJSON() ([]byte, error)
- func (v *NullableProviderEventAction) Set(val *ProviderEventAction)
- func (v *NullableProviderEventAction) UnmarshalJSON(src []byte) error
- func (v *NullableProviderEventAction) Unset()
- type NullableProviderEventObjectType
- func (v NullableProviderEventObjectType) Get() *ProviderEventObjectType
- func (v NullableProviderEventObjectType) IsSet() bool
- func (v NullableProviderEventObjectType) MarshalJSON() ([]byte, error)
- func (v *NullableProviderEventObjectType) Set(val *ProviderEventObjectType)
- func (v *NullableProviderEventObjectType) UnmarshalJSON(src []byte) error
- func (v *NullableProviderEventObjectType) Unset()
- type NullablePwdChange
- type NullableQuotaScan
- type NullableQuotaUsage
- type NullableRecoveryCode
- func (v NullableRecoveryCode) Get() *RecoveryCode
- func (v NullableRecoveryCode) IsSet() bool
- func (v NullableRecoveryCode) MarshalJSON() ([]byte, error)
- func (v *NullableRecoveryCode) Set(val *RecoveryCode)
- func (v *NullableRecoveryCode) UnmarshalJSON(src []byte) error
- func (v *NullableRecoveryCode) Unset()
- type NullableRetentionCheck
- func (v NullableRetentionCheck) Get() *RetentionCheck
- func (v NullableRetentionCheck) IsSet() bool
- func (v NullableRetentionCheck) MarshalJSON() ([]byte, error)
- func (v *NullableRetentionCheck) Set(val *RetentionCheck)
- func (v *NullableRetentionCheck) UnmarshalJSON(src []byte) error
- func (v *NullableRetentionCheck) Unset()
- type NullableRetentionCheckNotification
- func (v NullableRetentionCheckNotification) Get() *RetentionCheckNotification
- func (v NullableRetentionCheckNotification) IsSet() bool
- func (v NullableRetentionCheckNotification) MarshalJSON() ([]byte, error)
- func (v *NullableRetentionCheckNotification) Set(val *RetentionCheckNotification)
- func (v *NullableRetentionCheckNotification) UnmarshalJSON(src []byte) error
- func (v *NullableRetentionCheckNotification) Unset()
- type NullableS3Config
- type NullableSFTPFsConfig
- func (v NullableSFTPFsConfig) Get() *SFTPFsConfig
- func (v NullableSFTPFsConfig) IsSet() bool
- func (v NullableSFTPFsConfig) MarshalJSON() ([]byte, error)
- func (v *NullableSFTPFsConfig) Set(val *SFTPFsConfig)
- func (v *NullableSFTPFsConfig) UnmarshalJSON(src []byte) error
- func (v *NullableSFTPFsConfig) Unset()
- type NullableSSHBinding
- type NullableSSHHostKey
- type NullableSSHServiceStatus
- func (v NullableSSHServiceStatus) Get() *SSHServiceStatus
- func (v NullableSSHServiceStatus) IsSet() bool
- func (v NullableSSHServiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableSSHServiceStatus) Set(val *SSHServiceStatus)
- func (v *NullableSSHServiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSSHServiceStatus) Unset()
- type NullableScoreStatus
- func (v NullableScoreStatus) Get() *ScoreStatus
- func (v NullableScoreStatus) IsSet() bool
- func (v NullableScoreStatus) MarshalJSON() ([]byte, error)
- func (v *NullableScoreStatus) Set(val *ScoreStatus)
- func (v *NullableScoreStatus) UnmarshalJSON(src []byte) error
- func (v *NullableScoreStatus) Unset()
- type NullableSecret
- type NullableServicesStatus
- func (v NullableServicesStatus) Get() *ServicesStatus
- func (v NullableServicesStatus) IsSet() bool
- func (v NullableServicesStatus) MarshalJSON() ([]byte, error)
- func (v *NullableServicesStatus) Set(val *ServicesStatus)
- func (v *NullableServicesStatus) UnmarshalJSON(src []byte) error
- func (v *NullableServicesStatus) Unset()
- type NullableServicesStatusDefender
- func (v NullableServicesStatusDefender) Get() *ServicesStatusDefender
- func (v NullableServicesStatusDefender) IsSet() bool
- func (v NullableServicesStatusDefender) MarshalJSON() ([]byte, error)
- func (v *NullableServicesStatusDefender) Set(val *ServicesStatusDefender)
- func (v *NullableServicesStatusDefender) UnmarshalJSON(src []byte) error
- func (v *NullableServicesStatusDefender) Unset()
- type NullableShare
- type NullableShareScope
- type NullableString
- type NullableSupportedProtocols
- func (v NullableSupportedProtocols) Get() *SupportedProtocols
- func (v NullableSupportedProtocols) IsSet() bool
- func (v NullableSupportedProtocols) MarshalJSON() ([]byte, error)
- func (v *NullableSupportedProtocols) Set(val *SupportedProtocols)
- func (v *NullableSupportedProtocols) UnmarshalJSON(src []byte) error
- func (v *NullableSupportedProtocols) Unset()
- type NullableTOTPConfig
- type NullableTOTPHMacAlgo
- func (v NullableTOTPHMacAlgo) Get() *TOTPHMacAlgo
- func (v NullableTOTPHMacAlgo) IsSet() bool
- func (v NullableTOTPHMacAlgo) MarshalJSON() ([]byte, error)
- func (v *NullableTOTPHMacAlgo) Set(val *TOTPHMacAlgo)
- func (v *NullableTOTPHMacAlgo) UnmarshalJSON(src []byte) error
- func (v *NullableTOTPHMacAlgo) Unset()
- type NullableTime
- type NullableToken
- type NullableTransfer
- type NullableTransferQuotaUsage
- func (v NullableTransferQuotaUsage) Get() *TransferQuotaUsage
- func (v NullableTransferQuotaUsage) IsSet() bool
- func (v NullableTransferQuotaUsage) MarshalJSON() ([]byte, error)
- func (v *NullableTransferQuotaUsage) Set(val *TransferQuotaUsage)
- func (v *NullableTransferQuotaUsage) UnmarshalJSON(src []byte) error
- func (v *NullableTransferQuotaUsage) Unset()
- type NullableUser
- type NullableUserFilters
- func (v NullableUserFilters) Get() *UserFilters
- func (v NullableUserFilters) IsSet() bool
- func (v NullableUserFilters) MarshalJSON() ([]byte, error)
- func (v *NullableUserFilters) Set(val *UserFilters)
- func (v *NullableUserFilters) UnmarshalJSON(src []byte) error
- func (v *NullableUserFilters) Unset()
- type NullableUserProfile
- func (v NullableUserProfile) Get() *UserProfile
- func (v NullableUserProfile) IsSet() bool
- func (v NullableUserProfile) MarshalJSON() ([]byte, error)
- func (v *NullableUserProfile) Set(val *UserProfile)
- func (v *NullableUserProfile) UnmarshalJSON(src []byte) error
- func (v *NullableUserProfile) Unset()
- type NullableUserTOTPConfig
- func (v NullableUserTOTPConfig) Get() *UserTOTPConfig
- func (v NullableUserTOTPConfig) IsSet() bool
- func (v NullableUserTOTPConfig) MarshalJSON() ([]byte, error)
- func (v *NullableUserTOTPConfig) Set(val *UserTOTPConfig)
- func (v *NullableUserTOTPConfig) UnmarshalJSON(src []byte) error
- func (v *NullableUserTOTPConfig) Unset()
- type NullableUserTOTPConfigAllOf
- func (v NullableUserTOTPConfigAllOf) Get() *UserTOTPConfigAllOf
- func (v NullableUserTOTPConfigAllOf) IsSet() bool
- func (v NullableUserTOTPConfigAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableUserTOTPConfigAllOf) Set(val *UserTOTPConfigAllOf)
- func (v *NullableUserTOTPConfigAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableUserTOTPConfigAllOf) Unset()
- type NullableUserType
- type NullableVersionInfo
- func (v NullableVersionInfo) Get() *VersionInfo
- func (v NullableVersionInfo) IsSet() bool
- func (v NullableVersionInfo) MarshalJSON() ([]byte, error)
- func (v *NullableVersionInfo) Set(val *VersionInfo)
- func (v *NullableVersionInfo) UnmarshalJSON(src []byte) error
- func (v *NullableVersionInfo) Unset()
- type NullableVirtualFolder
- func (v NullableVirtualFolder) Get() *VirtualFolder
- func (v NullableVirtualFolder) IsSet() bool
- func (v NullableVirtualFolder) MarshalJSON() ([]byte, error)
- func (v *NullableVirtualFolder) Set(val *VirtualFolder)
- func (v *NullableVirtualFolder) UnmarshalJSON(src []byte) error
- func (v *NullableVirtualFolder) Unset()
- type NullableVirtualFolderAllOf
- func (v NullableVirtualFolderAllOf) Get() *VirtualFolderAllOf
- func (v NullableVirtualFolderAllOf) IsSet() bool
- func (v NullableVirtualFolderAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableVirtualFolderAllOf) Set(val *VirtualFolderAllOf)
- func (v *NullableVirtualFolderAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableVirtualFolderAllOf) Unset()
- type NullableWebClientOptions
- func (v NullableWebClientOptions) Get() *WebClientOptions
- func (v NullableWebClientOptions) IsSet() bool
- func (v NullableWebClientOptions) MarshalJSON() ([]byte, error)
- func (v *NullableWebClientOptions) Set(val *WebClientOptions)
- func (v *NullableWebClientOptions) UnmarshalJSON(src []byte) error
- func (v *NullableWebClientOptions) Unset()
- type NullableWebDAVBinding
- func (v NullableWebDAVBinding) Get() *WebDAVBinding
- func (v NullableWebDAVBinding) IsSet() bool
- func (v NullableWebDAVBinding) MarshalJSON() ([]byte, error)
- func (v *NullableWebDAVBinding) Set(val *WebDAVBinding)
- func (v *NullableWebDAVBinding) UnmarshalJSON(src []byte) error
- func (v *NullableWebDAVBinding) Unset()
- type NullableWebDAVServiceStatus
- func (v NullableWebDAVServiceStatus) Get() *WebDAVServiceStatus
- func (v NullableWebDAVServiceStatus) IsSet() bool
- func (v NullableWebDAVServiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableWebDAVServiceStatus) Set(val *WebDAVServiceStatus)
- func (v *NullableWebDAVServiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableWebDAVServiceStatus) Unset()
- type PatternsFilter
- func (o *PatternsFilter) GetAllowedPatterns() []string
- func (o *PatternsFilter) GetAllowedPatternsOk() ([]string, bool)
- func (o *PatternsFilter) GetDeniedPatterns() []string
- func (o *PatternsFilter) GetDeniedPatternsOk() ([]string, bool)
- func (o *PatternsFilter) GetDenyPolicy() int32
- func (o *PatternsFilter) GetDenyPolicyOk() (*int32, bool)
- func (o *PatternsFilter) GetPath() string
- func (o *PatternsFilter) GetPathOk() (*string, bool)
- func (o *PatternsFilter) HasAllowedPatterns() bool
- func (o *PatternsFilter) HasDeniedPatterns() bool
- func (o *PatternsFilter) HasDenyPolicy() bool
- func (o *PatternsFilter) HasPath() bool
- func (o PatternsFilter) MarshalJSON() ([]byte, error)
- func (o *PatternsFilter) SetAllowedPatterns(v []string)
- func (o *PatternsFilter) SetDeniedPatterns(v []string)
- func (o *PatternsFilter) SetDenyPolicy(v int32)
- func (o *PatternsFilter) SetPath(v string)
- type Permission
- type ProviderEvent
- func (o *ProviderEvent) GetAction() ProviderEventAction
- func (o *ProviderEvent) GetActionOk() (*ProviderEventAction, bool)
- func (o *ProviderEvent) GetId() string
- func (o *ProviderEvent) GetIdOk() (*string, bool)
- func (o *ProviderEvent) GetInstanceId() string
- func (o *ProviderEvent) GetInstanceIdOk() (*string, bool)
- func (o *ProviderEvent) GetIp() string
- func (o *ProviderEvent) GetIpOk() (*string, bool)
- func (o *ProviderEvent) GetObjectName() string
- func (o *ProviderEvent) GetObjectNameOk() (*string, bool)
- func (o *ProviderEvent) GetObjectType() ProviderEventObjectType
- func (o *ProviderEvent) GetObjectTypeOk() (*ProviderEventObjectType, bool)
- func (o *ProviderEvent) GetTimestamp() int64
- func (o *ProviderEvent) GetTimestampOk() (*int64, bool)
- func (o *ProviderEvent) GetUsername() string
- func (o *ProviderEvent) GetUsernameOk() (*string, bool)
- func (o *ProviderEvent) HasAction() bool
- func (o *ProviderEvent) HasId() bool
- func (o *ProviderEvent) HasInstanceId() bool
- func (o *ProviderEvent) HasIp() bool
- func (o *ProviderEvent) HasObjectName() bool
- func (o *ProviderEvent) HasObjectType() bool
- func (o *ProviderEvent) HasTimestamp() bool
- func (o *ProviderEvent) HasUsername() bool
- func (o ProviderEvent) MarshalJSON() ([]byte, error)
- func (o *ProviderEvent) SetAction(v ProviderEventAction)
- func (o *ProviderEvent) SetId(v string)
- func (o *ProviderEvent) SetInstanceId(v string)
- func (o *ProviderEvent) SetIp(v string)
- func (o *ProviderEvent) SetObjectName(v string)
- func (o *ProviderEvent) SetObjectType(v ProviderEventObjectType)
- func (o *ProviderEvent) SetTimestamp(v int64)
- func (o *ProviderEvent) SetUsername(v string)
- type ProviderEventAction
- type ProviderEventObjectType
- type PublicSharesApiApiDownloadShareFileRequest
- func (r PublicSharesApiApiDownloadShareFileRequest) Execute() (**os.File, *http.Response, error)
- func (r PublicSharesApiApiDownloadShareFileRequest) Inline(inline string) PublicSharesApiApiDownloadShareFileRequest
- func (r PublicSharesApiApiDownloadShareFileRequest) Path(path string) PublicSharesApiApiDownloadShareFileRequest
- type PublicSharesApiApiGetShareDirContentsRequest
- type PublicSharesApiApiGetShareRequest
- type PublicSharesApiApiUploadSingleToShareRequest
- func (r PublicSharesApiApiUploadSingleToShareRequest) Body(body *os.File) PublicSharesApiApiUploadSingleToShareRequest
- func (r PublicSharesApiApiUploadSingleToShareRequest) Execute() ([]ApiResponse, *http.Response, error)
- func (r PublicSharesApiApiUploadSingleToShareRequest) XSFTPGOMTIME(xSFTPGOMTIME int32) PublicSharesApiApiUploadSingleToShareRequest
- type PublicSharesApiApiUploadToShareRequest
- type PublicSharesApiService
- func (a *PublicSharesApiService) DownloadShareFile(ctx context.Context, id string) PublicSharesApiApiDownloadShareFileRequest
- func (a *PublicSharesApiService) DownloadShareFileExecute(r PublicSharesApiApiDownloadShareFileRequest) (**os.File, *http.Response, error)
- func (a *PublicSharesApiService) GetShare(ctx context.Context, id string) PublicSharesApiApiGetShareRequest
- func (a *PublicSharesApiService) GetShareDirContents(ctx context.Context, id string) PublicSharesApiApiGetShareDirContentsRequest
- func (a *PublicSharesApiService) GetShareDirContentsExecute(r PublicSharesApiApiGetShareDirContentsRequest) ([]DirEntry, *http.Response, error)
- func (a *PublicSharesApiService) GetShareExecute(r PublicSharesApiApiGetShareRequest) (**os.File, *http.Response, error)
- func (a *PublicSharesApiService) UploadSingleToShare(ctx context.Context, id string, fileName string) PublicSharesApiApiUploadSingleToShareRequest
- func (a *PublicSharesApiService) UploadSingleToShareExecute(r PublicSharesApiApiUploadSingleToShareRequest) ([]ApiResponse, *http.Response, error)
- func (a *PublicSharesApiService) UploadToShare(ctx context.Context, id string) PublicSharesApiApiUploadToShareRequest
- func (a *PublicSharesApiService) UploadToShareExecute(r PublicSharesApiApiUploadToShareRequest) ([]ApiResponse, *http.Response, error)
- type PwdChange
- func (o *PwdChange) GetCurrentPassword() string
- func (o *PwdChange) GetCurrentPasswordOk() (*string, bool)
- func (o *PwdChange) GetNewPassword() string
- func (o *PwdChange) GetNewPasswordOk() (*string, bool)
- func (o *PwdChange) HasCurrentPassword() bool
- func (o *PwdChange) HasNewPassword() bool
- func (o PwdChange) MarshalJSON() ([]byte, error)
- func (o *PwdChange) SetCurrentPassword(v string)
- func (o *PwdChange) SetNewPassword(v string)
- type QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
- func (r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) BaseVirtualFolder(baseVirtualFolder BaseVirtualFolder) QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
- func (r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) Mode(mode string) QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
- type QuotaApiApiFolderQuotaUpdateUsageRequest
- func (r QuotaApiApiFolderQuotaUpdateUsageRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r QuotaApiApiFolderQuotaUpdateUsageRequest) Mode(mode string) QuotaApiApiFolderQuotaUpdateUsageRequest
- func (r QuotaApiApiFolderQuotaUpdateUsageRequest) QuotaUsage(quotaUsage QuotaUsage) QuotaApiApiFolderQuotaUpdateUsageRequest
- type QuotaApiApiGetFoldersQuotaScansDeprecatedRequest
- type QuotaApiApiGetFoldersQuotaScansRequest
- type QuotaApiApiGetUsersQuotaScansDeprecatedRequest
- type QuotaApiApiGetUsersQuotaScansRequest
- type QuotaApiApiStartFolderQuotaScanDeprecatedRequest
- type QuotaApiApiStartFolderQuotaScanRequest
- type QuotaApiApiStartUserQuotaScanDeprecatedRequest
- type QuotaApiApiStartUserQuotaScanRequest
- type QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
- func (r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) Mode(mode string) QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
- func (r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) User(user User) QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
- type QuotaApiApiUserQuotaUpdateUsageRequest
- func (r QuotaApiApiUserQuotaUpdateUsageRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r QuotaApiApiUserQuotaUpdateUsageRequest) Mode(mode string) QuotaApiApiUserQuotaUpdateUsageRequest
- func (r QuotaApiApiUserQuotaUpdateUsageRequest) QuotaUsage(quotaUsage QuotaUsage) QuotaApiApiUserQuotaUpdateUsageRequest
- type QuotaApiApiUserTransferQuotaUpdateUsageRequest
- func (r QuotaApiApiUserTransferQuotaUpdateUsageRequest) Execute() (*ApiResponse, *http.Response, error)
- func (r QuotaApiApiUserTransferQuotaUpdateUsageRequest) Mode(mode string) QuotaApiApiUserTransferQuotaUpdateUsageRequest
- func (r QuotaApiApiUserTransferQuotaUpdateUsageRequest) TransferQuotaUsage(transferQuotaUsage TransferQuotaUsage) QuotaApiApiUserTransferQuotaUpdateUsageRequest
- type QuotaApiService
- func (a *QuotaApiService) FolderQuotaUpdateUsage(ctx context.Context, name string) QuotaApiApiFolderQuotaUpdateUsageRequest
- func (a *QuotaApiService) FolderQuotaUpdateUsageDeprecated(ctx context.Context) QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
- func (a *QuotaApiService) FolderQuotaUpdateUsageDeprecatedExecute(r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) FolderQuotaUpdateUsageExecute(r QuotaApiApiFolderQuotaUpdateUsageRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) GetFoldersQuotaScans(ctx context.Context) QuotaApiApiGetFoldersQuotaScansRequest
- func (a *QuotaApiService) GetFoldersQuotaScansDeprecated(ctx context.Context) QuotaApiApiGetFoldersQuotaScansDeprecatedRequest
- func (a *QuotaApiService) GetFoldersQuotaScansDeprecatedExecute(r QuotaApiApiGetFoldersQuotaScansDeprecatedRequest) ([]FolderQuotaScan, *http.Response, error)
- func (a *QuotaApiService) GetFoldersQuotaScansExecute(r QuotaApiApiGetFoldersQuotaScansRequest) ([]FolderQuotaScan, *http.Response, error)
- func (a *QuotaApiService) GetUsersQuotaScans(ctx context.Context) QuotaApiApiGetUsersQuotaScansRequest
- func (a *QuotaApiService) GetUsersQuotaScansDeprecated(ctx context.Context) QuotaApiApiGetUsersQuotaScansDeprecatedRequest
- func (a *QuotaApiService) GetUsersQuotaScansDeprecatedExecute(r QuotaApiApiGetUsersQuotaScansDeprecatedRequest) ([]QuotaScan, *http.Response, error)
- func (a *QuotaApiService) GetUsersQuotaScansExecute(r QuotaApiApiGetUsersQuotaScansRequest) ([]QuotaScan, *http.Response, error)
- func (a *QuotaApiService) StartFolderQuotaScan(ctx context.Context, name string) QuotaApiApiStartFolderQuotaScanRequest
- func (a *QuotaApiService) StartFolderQuotaScanDeprecated(ctx context.Context) QuotaApiApiStartFolderQuotaScanDeprecatedRequest
- func (a *QuotaApiService) StartFolderQuotaScanDeprecatedExecute(r QuotaApiApiStartFolderQuotaScanDeprecatedRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) StartFolderQuotaScanExecute(r QuotaApiApiStartFolderQuotaScanRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) StartUserQuotaScan(ctx context.Context, username string) QuotaApiApiStartUserQuotaScanRequest
- func (a *QuotaApiService) StartUserQuotaScanDeprecated(ctx context.Context) QuotaApiApiStartUserQuotaScanDeprecatedRequest
- func (a *QuotaApiService) StartUserQuotaScanDeprecatedExecute(r QuotaApiApiStartUserQuotaScanDeprecatedRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) StartUserQuotaScanExecute(r QuotaApiApiStartUserQuotaScanRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) UserQuotaUpdateUsage(ctx context.Context, username string) QuotaApiApiUserQuotaUpdateUsageRequest
- func (a *QuotaApiService) UserQuotaUpdateUsageDeprecated(ctx context.Context) QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
- func (a *QuotaApiService) UserQuotaUpdateUsageDeprecatedExecute(r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) UserQuotaUpdateUsageExecute(r QuotaApiApiUserQuotaUpdateUsageRequest) (*ApiResponse, *http.Response, error)
- func (a *QuotaApiService) UserTransferQuotaUpdateUsage(ctx context.Context, username string) QuotaApiApiUserTransferQuotaUpdateUsageRequest
- func (a *QuotaApiService) UserTransferQuotaUpdateUsageExecute(r QuotaApiApiUserTransferQuotaUpdateUsageRequest) (*ApiResponse, *http.Response, error)
- type QuotaScan
- func (o *QuotaScan) GetStartTime() int64
- func (o *QuotaScan) GetStartTimeOk() (*int64, bool)
- func (o *QuotaScan) GetUsername() string
- func (o *QuotaScan) GetUsernameOk() (*string, bool)
- func (o *QuotaScan) HasStartTime() bool
- func (o *QuotaScan) HasUsername() bool
- func (o QuotaScan) MarshalJSON() ([]byte, error)
- func (o *QuotaScan) SetStartTime(v int64)
- func (o *QuotaScan) SetUsername(v string)
- type QuotaUsage
- func (o *QuotaUsage) GetUsedQuotaFiles() int32
- func (o *QuotaUsage) GetUsedQuotaFilesOk() (*int32, bool)
- func (o *QuotaUsage) GetUsedQuotaSize() int64
- func (o *QuotaUsage) GetUsedQuotaSizeOk() (*int64, bool)
- func (o *QuotaUsage) HasUsedQuotaFiles() bool
- func (o *QuotaUsage) HasUsedQuotaSize() bool
- func (o QuotaUsage) MarshalJSON() ([]byte, error)
- func (o *QuotaUsage) SetUsedQuotaFiles(v int32)
- func (o *QuotaUsage) SetUsedQuotaSize(v int64)
- type RecoveryCode
- func (o *RecoveryCode) GetSecret() Secret
- func (o *RecoveryCode) GetSecretOk() (*Secret, bool)
- func (o *RecoveryCode) GetUsed() bool
- func (o *RecoveryCode) GetUsedOk() (*bool, bool)
- func (o *RecoveryCode) HasSecret() bool
- func (o *RecoveryCode) HasUsed() bool
- func (o RecoveryCode) MarshalJSON() ([]byte, error)
- func (o *RecoveryCode) SetSecret(v Secret)
- func (o *RecoveryCode) SetUsed(v bool)
- type RetentionCheck
- func (o *RetentionCheck) GetEmail() string
- func (o *RetentionCheck) GetEmailOk() (*string, bool)
- func (o *RetentionCheck) GetFolders() []FolderRetention
- func (o *RetentionCheck) GetFoldersOk() ([]FolderRetention, bool)
- func (o *RetentionCheck) GetNotifications() []RetentionCheckNotification
- func (o *RetentionCheck) GetNotificationsOk() ([]RetentionCheckNotification, bool)
- func (o *RetentionCheck) GetStartTime() int64
- func (o *RetentionCheck) GetStartTimeOk() (*int64, bool)
- func (o *RetentionCheck) GetUsername() string
- func (o *RetentionCheck) GetUsernameOk() (*string, bool)
- func (o *RetentionCheck) HasEmail() bool
- func (o *RetentionCheck) HasFolders() bool
- func (o *RetentionCheck) HasNotifications() bool
- func (o *RetentionCheck) HasStartTime() bool
- func (o *RetentionCheck) HasUsername() bool
- func (o RetentionCheck) MarshalJSON() ([]byte, error)
- func (o *RetentionCheck) SetEmail(v string)
- func (o *RetentionCheck) SetFolders(v []FolderRetention)
- func (o *RetentionCheck) SetNotifications(v []RetentionCheckNotification)
- func (o *RetentionCheck) SetStartTime(v int64)
- func (o *RetentionCheck) SetUsername(v string)
- type RetentionCheckNotification
- type S3Config
- func (o *S3Config) GetAccessKey() string
- func (o *S3Config) GetAccessKeyOk() (*string, bool)
- func (o *S3Config) GetAccessSecret() Secret
- func (o *S3Config) GetAccessSecretOk() (*Secret, bool)
- func (o *S3Config) GetAcl() string
- func (o *S3Config) GetAclOk() (*string, bool)
- func (o *S3Config) GetBucket() string
- func (o *S3Config) GetBucketOk() (*string, bool)
- func (o *S3Config) GetDownloadConcurrency() int32
- func (o *S3Config) GetDownloadConcurrencyOk() (*int32, bool)
- func (o *S3Config) GetDownloadPartMaxTime() int32
- func (o *S3Config) GetDownloadPartMaxTimeOk() (*int32, bool)
- func (o *S3Config) GetDownloadPartSize() int32
- func (o *S3Config) GetDownloadPartSizeOk() (*int32, bool)
- func (o *S3Config) GetEndpoint() string
- func (o *S3Config) GetEndpointOk() (*string, bool)
- func (o *S3Config) GetForcePathStyle() bool
- func (o *S3Config) GetForcePathStyleOk() (*bool, bool)
- func (o *S3Config) GetKeyPrefix() string
- func (o *S3Config) GetKeyPrefixOk() (*string, bool)
- func (o *S3Config) GetRegion() string
- func (o *S3Config) GetRegionOk() (*string, bool)
- func (o *S3Config) GetStorageClass() string
- func (o *S3Config) GetStorageClassOk() (*string, bool)
- func (o *S3Config) GetUploadConcurrency() int32
- func (o *S3Config) GetUploadConcurrencyOk() (*int32, bool)
- func (o *S3Config) GetUploadPartMaxTime() int32
- func (o *S3Config) GetUploadPartMaxTimeOk() (*int32, bool)
- func (o *S3Config) GetUploadPartSize() int32
- func (o *S3Config) GetUploadPartSizeOk() (*int32, bool)
- func (o *S3Config) HasAccessKey() bool
- func (o *S3Config) HasAccessSecret() bool
- func (o *S3Config) HasAcl() bool
- func (o *S3Config) HasBucket() bool
- func (o *S3Config) HasDownloadConcurrency() bool
- func (o *S3Config) HasDownloadPartMaxTime() bool
- func (o *S3Config) HasDownloadPartSize() bool
- func (o *S3Config) HasEndpoint() bool
- func (o *S3Config) HasForcePathStyle() bool
- func (o *S3Config) HasKeyPrefix() bool
- func (o *S3Config) HasRegion() bool
- func (o *S3Config) HasStorageClass() bool
- func (o *S3Config) HasUploadConcurrency() bool
- func (o *S3Config) HasUploadPartMaxTime() bool
- func (o *S3Config) HasUploadPartSize() bool
- func (o S3Config) MarshalJSON() ([]byte, error)
- func (o *S3Config) SetAccessKey(v string)
- func (o *S3Config) SetAccessSecret(v Secret)
- func (o *S3Config) SetAcl(v string)
- func (o *S3Config) SetBucket(v string)
- func (o *S3Config) SetDownloadConcurrency(v int32)
- func (o *S3Config) SetDownloadPartMaxTime(v int32)
- func (o *S3Config) SetDownloadPartSize(v int32)
- func (o *S3Config) SetEndpoint(v string)
- func (o *S3Config) SetForcePathStyle(v bool)
- func (o *S3Config) SetKeyPrefix(v string)
- func (o *S3Config) SetRegion(v string)
- func (o *S3Config) SetStorageClass(v string)
- func (o *S3Config) SetUploadConcurrency(v int32)
- func (o *S3Config) SetUploadPartMaxTime(v int32)
- func (o *S3Config) SetUploadPartSize(v int32)
- type SFTPFsConfig
- func (o *SFTPFsConfig) GetBufferSize() int32
- func (o *SFTPFsConfig) GetBufferSizeOk() (*int32, bool)
- func (o *SFTPFsConfig) GetDisableConcurrentReads() bool
- func (o *SFTPFsConfig) GetDisableConcurrentReadsOk() (*bool, bool)
- func (o *SFTPFsConfig) GetEndpoint() string
- func (o *SFTPFsConfig) GetEndpointOk() (*string, bool)
- func (o *SFTPFsConfig) GetFingerprints() []string
- func (o *SFTPFsConfig) GetFingerprintsOk() ([]string, bool)
- func (o *SFTPFsConfig) GetPassword() Secret
- func (o *SFTPFsConfig) GetPasswordOk() (*Secret, bool)
- func (o *SFTPFsConfig) GetPrefix() string
- func (o *SFTPFsConfig) GetPrefixOk() (*string, bool)
- func (o *SFTPFsConfig) GetPrivateKey() Secret
- func (o *SFTPFsConfig) GetPrivateKeyOk() (*Secret, bool)
- func (o *SFTPFsConfig) GetUsername() string
- func (o *SFTPFsConfig) GetUsernameOk() (*string, bool)
- func (o *SFTPFsConfig) HasBufferSize() bool
- func (o *SFTPFsConfig) HasDisableConcurrentReads() bool
- func (o *SFTPFsConfig) HasEndpoint() bool
- func (o *SFTPFsConfig) HasFingerprints() bool
- func (o *SFTPFsConfig) HasPassword() bool
- func (o *SFTPFsConfig) HasPrefix() bool
- func (o *SFTPFsConfig) HasPrivateKey() bool
- func (o *SFTPFsConfig) HasUsername() bool
- func (o SFTPFsConfig) MarshalJSON() ([]byte, error)
- func (o *SFTPFsConfig) SetBufferSize(v int32)
- func (o *SFTPFsConfig) SetDisableConcurrentReads(v bool)
- func (o *SFTPFsConfig) SetEndpoint(v string)
- func (o *SFTPFsConfig) SetFingerprints(v []string)
- func (o *SFTPFsConfig) SetPassword(v Secret)
- func (o *SFTPFsConfig) SetPrefix(v string)
- func (o *SFTPFsConfig) SetPrivateKey(v Secret)
- func (o *SFTPFsConfig) SetUsername(v string)
- type SSHBinding
- func (o *SSHBinding) GetAddress() string
- func (o *SSHBinding) GetAddressOk() (*string, bool)
- func (o *SSHBinding) GetApplyProxyConfig() bool
- func (o *SSHBinding) GetApplyProxyConfigOk() (*bool, bool)
- func (o *SSHBinding) GetPort() int32
- func (o *SSHBinding) GetPortOk() (*int32, bool)
- func (o *SSHBinding) HasAddress() bool
- func (o *SSHBinding) HasApplyProxyConfig() bool
- func (o *SSHBinding) HasPort() bool
- func (o SSHBinding) MarshalJSON() ([]byte, error)
- func (o *SSHBinding) SetAddress(v string)
- func (o *SSHBinding) SetApplyProxyConfig(v bool)
- func (o *SSHBinding) SetPort(v int32)
- type SSHHostKey
- func (o *SSHHostKey) GetFingerprint() string
- func (o *SSHHostKey) GetFingerprintOk() (*string, bool)
- func (o *SSHHostKey) GetPath() string
- func (o *SSHHostKey) GetPathOk() (*string, bool)
- func (o *SSHHostKey) HasFingerprint() bool
- func (o *SSHHostKey) HasPath() bool
- func (o SSHHostKey) MarshalJSON() ([]byte, error)
- func (o *SSHHostKey) SetFingerprint(v string)
- func (o *SSHHostKey) SetPath(v string)
- type SSHServiceStatus
- func (o *SSHServiceStatus) GetBindings() []SSHBinding
- func (o *SSHServiceStatus) GetBindingsOk() ([]SSHBinding, bool)
- func (o *SSHServiceStatus) GetHostKeys() []SSHHostKey
- func (o *SSHServiceStatus) GetHostKeysOk() ([]SSHHostKey, bool)
- func (o *SSHServiceStatus) GetIsActive() bool
- func (o *SSHServiceStatus) GetIsActiveOk() (*bool, bool)
- func (o *SSHServiceStatus) GetSshCommands() []string
- func (o *SSHServiceStatus) GetSshCommandsOk() ([]string, bool)
- func (o *SSHServiceStatus) HasBindings() bool
- func (o *SSHServiceStatus) HasHostKeys() bool
- func (o *SSHServiceStatus) HasIsActive() bool
- func (o *SSHServiceStatus) HasSshCommands() bool
- func (o SSHServiceStatus) MarshalJSON() ([]byte, error)
- func (o *SSHServiceStatus) SetBindings(v []SSHBinding)
- func (o *SSHServiceStatus) SetHostKeys(v []SSHHostKey)
- func (o *SSHServiceStatus) SetIsActive(v bool)
- func (o *SSHServiceStatus) SetSshCommands(v []string)
- type ScoreStatus
- type Secret
- func (o *Secret) GetAdditionalData() string
- func (o *Secret) GetAdditionalDataOk() (*string, bool)
- func (o *Secret) GetKey() string
- func (o *Secret) GetKeyOk() (*string, bool)
- func (o *Secret) GetMode() int32
- func (o *Secret) GetModeOk() (*int32, bool)
- func (o *Secret) GetPayload() string
- func (o *Secret) GetPayloadOk() (*string, bool)
- func (o *Secret) GetStatus() string
- func (o *Secret) GetStatusOk() (*string, bool)
- func (o *Secret) HasAdditionalData() bool
- func (o *Secret) HasKey() bool
- func (o *Secret) HasMode() bool
- func (o *Secret) HasPayload() bool
- func (o *Secret) HasStatus() bool
- func (o Secret) MarshalJSON() ([]byte, error)
- func (o *Secret) SetAdditionalData(v string)
- func (o *Secret) SetKey(v string)
- func (o *Secret) SetMode(v int32)
- func (o *Secret) SetPayload(v string)
- func (o *Secret) SetStatus(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServicesStatus
- func (o *ServicesStatus) GetDataProvider() DataProviderStatus
- func (o *ServicesStatus) GetDataProviderOk() (*DataProviderStatus, bool)
- func (o *ServicesStatus) GetDefender() ServicesStatusDefender
- func (o *ServicesStatus) GetDefenderOk() (*ServicesStatusDefender, bool)
- func (o *ServicesStatus) GetFtp() FTPServiceStatus
- func (o *ServicesStatus) GetFtpOk() (*FTPServiceStatus, bool)
- func (o *ServicesStatus) GetMfa() MFAStatus
- func (o *ServicesStatus) GetMfaOk() (*MFAStatus, bool)
- func (o *ServicesStatus) GetSsh() SSHServiceStatus
- func (o *ServicesStatus) GetSshOk() (*SSHServiceStatus, bool)
- func (o *ServicesStatus) GetWebdav() WebDAVServiceStatus
- func (o *ServicesStatus) GetWebdavOk() (*WebDAVServiceStatus, bool)
- func (o *ServicesStatus) HasDataProvider() bool
- func (o *ServicesStatus) HasDefender() bool
- func (o *ServicesStatus) HasFtp() bool
- func (o *ServicesStatus) HasMfa() bool
- func (o *ServicesStatus) HasSsh() bool
- func (o *ServicesStatus) HasWebdav() bool
- func (o ServicesStatus) MarshalJSON() ([]byte, error)
- func (o *ServicesStatus) SetDataProvider(v DataProviderStatus)
- func (o *ServicesStatus) SetDefender(v ServicesStatusDefender)
- func (o *ServicesStatus) SetFtp(v FTPServiceStatus)
- func (o *ServicesStatus) SetMfa(v MFAStatus)
- func (o *ServicesStatus) SetSsh(v SSHServiceStatus)
- func (o *ServicesStatus) SetWebdav(v WebDAVServiceStatus)
- type ServicesStatusDefender
- type Share
- func (o *Share) GetAllowFrom() []string
- func (o *Share) GetAllowFromOk() ([]string, bool)
- func (o *Share) GetCreatedAt() int64
- func (o *Share) GetCreatedAtOk() (*int64, bool)
- func (o *Share) GetDescription() string
- func (o *Share) GetDescriptionOk() (*string, bool)
- func (o *Share) GetExpiresAt() int64
- func (o *Share) GetExpiresAtOk() (*int64, bool)
- func (o *Share) GetId() string
- func (o *Share) GetIdOk() (*string, bool)
- func (o *Share) GetLastUseAt() int64
- func (o *Share) GetLastUseAtOk() (*int64, bool)
- func (o *Share) GetMaxTokens() int32
- func (o *Share) GetMaxTokensOk() (*int32, bool)
- func (o *Share) GetName() string
- func (o *Share) GetNameOk() (*string, bool)
- func (o *Share) GetPassword() string
- func (o *Share) GetPasswordOk() (*string, bool)
- func (o *Share) GetPaths() []string
- func (o *Share) GetPathsOk() ([]string, bool)
- func (o *Share) GetScope() ShareScope
- func (o *Share) GetScopeOk() (*ShareScope, bool)
- func (o *Share) GetUpdatedAt() int64
- func (o *Share) GetUpdatedAtOk() (*int64, bool)
- func (o *Share) GetUsedTokens() int32
- func (o *Share) GetUsedTokensOk() (*int32, bool)
- func (o *Share) GetUsername() string
- func (o *Share) GetUsernameOk() (*string, bool)
- func (o *Share) HasAllowFrom() bool
- func (o *Share) HasCreatedAt() bool
- func (o *Share) HasDescription() bool
- func (o *Share) HasExpiresAt() bool
- func (o *Share) HasId() bool
- func (o *Share) HasLastUseAt() bool
- func (o *Share) HasMaxTokens() bool
- func (o *Share) HasName() bool
- func (o *Share) HasPassword() bool
- func (o *Share) HasPaths() bool
- func (o *Share) HasScope() bool
- func (o *Share) HasUpdatedAt() bool
- func (o *Share) HasUsedTokens() bool
- func (o *Share) HasUsername() bool
- func (o Share) MarshalJSON() ([]byte, error)
- func (o *Share) SetAllowFrom(v []string)
- func (o *Share) SetCreatedAt(v int64)
- func (o *Share) SetDescription(v string)
- func (o *Share) SetExpiresAt(v int64)
- func (o *Share) SetId(v string)
- func (o *Share) SetLastUseAt(v int64)
- func (o *Share) SetMaxTokens(v int32)
- func (o *Share) SetName(v string)
- func (o *Share) SetPassword(v string)
- func (o *Share) SetPaths(v []string)
- func (o *Share) SetScope(v ShareScope)
- func (o *Share) SetUpdatedAt(v int64)
- func (o *Share) SetUsedTokens(v int32)
- func (o *Share) SetUsername(v string)
- type ShareScope
- type SupportedProtocols
- type TOTPConfig
- func (o *TOTPConfig) GetAlgo() TOTPHMacAlgo
- func (o *TOTPConfig) GetAlgoOk() (*TOTPHMacAlgo, bool)
- func (o *TOTPConfig) GetIssuer() string
- func (o *TOTPConfig) GetIssuerOk() (*string, bool)
- func (o *TOTPConfig) GetName() string
- func (o *TOTPConfig) GetNameOk() (*string, bool)
- func (o *TOTPConfig) HasAlgo() bool
- func (o *TOTPConfig) HasIssuer() bool
- func (o *TOTPConfig) HasName() bool
- func (o TOTPConfig) MarshalJSON() ([]byte, error)
- func (o *TOTPConfig) SetAlgo(v TOTPHMacAlgo)
- func (o *TOTPConfig) SetIssuer(v string)
- func (o *TOTPConfig) SetName(v string)
- type TOTPHMacAlgo
- type Token
- func (o *Token) GetAccessToken() string
- func (o *Token) GetAccessTokenOk() (*string, bool)
- func (o *Token) GetExpiresAt() time.Time
- func (o *Token) GetExpiresAtOk() (*time.Time, bool)
- func (o *Token) HasAccessToken() bool
- func (o *Token) HasExpiresAt() bool
- func (o Token) MarshalJSON() ([]byte, error)
- func (o *Token) SetAccessToken(v string)
- func (o *Token) SetExpiresAt(v time.Time)
- type TokenApiApiClientLogoutRequest
- type TokenApiApiGetTokenRequest
- type TokenApiApiGetUserTokenRequest
- type TokenApiApiLogoutRequest
- type TokenApiService
- func (a *TokenApiService) ClientLogout(ctx context.Context) TokenApiApiClientLogoutRequest
- func (a *TokenApiService) ClientLogoutExecute(r TokenApiApiClientLogoutRequest) (*ApiResponse, *http.Response, error)
- func (a *TokenApiService) GetToken(ctx context.Context) TokenApiApiGetTokenRequest
- func (a *TokenApiService) GetTokenExecute(r TokenApiApiGetTokenRequest) (*Token, *http.Response, error)
- func (a *TokenApiService) GetUserToken(ctx context.Context) TokenApiApiGetUserTokenRequest
- func (a *TokenApiService) GetUserTokenExecute(r TokenApiApiGetUserTokenRequest) (*Token, *http.Response, error)
- func (a *TokenApiService) Logout(ctx context.Context) TokenApiApiLogoutRequest
- func (a *TokenApiService) LogoutExecute(r TokenApiApiLogoutRequest) (*ApiResponse, *http.Response, error)
- type Transfer
- func (o *Transfer) GetOperationType() string
- func (o *Transfer) GetOperationTypeOk() (*string, bool)
- func (o *Transfer) GetPath() string
- func (o *Transfer) GetPathOk() (*string, bool)
- func (o *Transfer) GetSize() int64
- func (o *Transfer) GetSizeOk() (*int64, bool)
- func (o *Transfer) GetStartTime() int64
- func (o *Transfer) GetStartTimeOk() (*int64, bool)
- func (o *Transfer) HasOperationType() bool
- func (o *Transfer) HasPath() bool
- func (o *Transfer) HasSize() bool
- func (o *Transfer) HasStartTime() bool
- func (o Transfer) MarshalJSON() ([]byte, error)
- func (o *Transfer) SetOperationType(v string)
- func (o *Transfer) SetPath(v string)
- func (o *Transfer) SetSize(v int64)
- func (o *Transfer) SetStartTime(v int64)
- type TransferQuotaUsage
- func (o *TransferQuotaUsage) GetUsedDownloadDataTransfer() int64
- func (o *TransferQuotaUsage) GetUsedDownloadDataTransferOk() (*int64, bool)
- func (o *TransferQuotaUsage) GetUsedUploadDataTransfer() int64
- func (o *TransferQuotaUsage) GetUsedUploadDataTransferOk() (*int64, bool)
- func (o *TransferQuotaUsage) HasUsedDownloadDataTransfer() bool
- func (o *TransferQuotaUsage) HasUsedUploadDataTransfer() bool
- func (o TransferQuotaUsage) MarshalJSON() ([]byte, error)
- func (o *TransferQuotaUsage) SetUsedDownloadDataTransfer(v int64)
- func (o *TransferQuotaUsage) SetUsedUploadDataTransfer(v int64)
- type User
- func (o *User) GetAdditionalInfo() string
- func (o *User) GetAdditionalInfoOk() (*string, bool)
- func (o *User) GetCreatedAt() int64
- func (o *User) GetCreatedAtOk() (*int64, bool)
- func (o *User) GetDescription() string
- func (o *User) GetDescriptionOk() (*string, bool)
- func (o *User) GetDownloadBandwidth() int32
- func (o *User) GetDownloadBandwidthOk() (*int32, bool)
- func (o *User) GetDownloadDataTransfer() int32
- func (o *User) GetDownloadDataTransferOk() (*int32, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetExpirationDate() int64
- func (o *User) GetExpirationDateOk() (*int64, bool)
- func (o *User) GetFilesystem() FilesystemConfig
- func (o *User) GetFilesystemOk() (*FilesystemConfig, bool)
- func (o *User) GetFilters() UserFilters
- func (o *User) GetFiltersOk() (*UserFilters, bool)
- func (o *User) GetGid() int32
- func (o *User) GetGidOk() (*int32, bool)
- func (o *User) GetHomeDir() string
- func (o *User) GetHomeDirOk() (*string, bool)
- func (o *User) GetId() int32
- func (o *User) GetIdOk() (*int32, bool)
- func (o *User) GetLastLogin() int64
- func (o *User) GetLastLoginOk() (*int64, bool)
- func (o *User) GetLastQuotaUpdate() int64
- func (o *User) GetLastQuotaUpdateOk() (*int64, bool)
- func (o *User) GetMaxSessions() int32
- func (o *User) GetMaxSessionsOk() (*int32, bool)
- func (o *User) GetPassword() string
- func (o *User) GetPasswordOk() (*string, bool)
- func (o *User) GetPermissions() []map[string][]Permission
- func (o *User) GetPermissionsOk() ([]map[string][]Permission, bool)
- func (o *User) GetPublicKeys() []string
- func (o *User) GetPublicKeysOk() ([]string, bool)
- func (o *User) GetQuotaFiles() int32
- func (o *User) GetQuotaFilesOk() (*int32, bool)
- func (o *User) GetQuotaSize() int64
- func (o *User) GetQuotaSizeOk() (*int64, bool)
- func (o *User) GetStatus() int32
- func (o *User) GetStatusOk() (*int32, bool)
- func (o *User) GetTotalDataTransfer() int32
- func (o *User) GetTotalDataTransferOk() (*int32, bool)
- func (o *User) GetUid() int32
- func (o *User) GetUidOk() (*int32, bool)
- func (o *User) GetUpdatedAt() int64
- func (o *User) GetUpdatedAtOk() (*int64, bool)
- func (o *User) GetUploadBandwidth() int32
- func (o *User) GetUploadBandwidthOk() (*int32, bool)
- func (o *User) GetUploadDataTransfer() int32
- func (o *User) GetUploadDataTransferOk() (*int32, bool)
- func (o *User) GetUsedDownloadDataTransfer() int32
- func (o *User) GetUsedDownloadDataTransferOk() (*int32, bool)
- func (o *User) GetUsedQuotaFiles() int32
- func (o *User) GetUsedQuotaFilesOk() (*int32, bool)
- func (o *User) GetUsedQuotaSize() int64
- func (o *User) GetUsedQuotaSizeOk() (*int64, bool)
- func (o *User) GetUsedUploadDataTransfer() int32
- func (o *User) GetUsedUploadDataTransferOk() (*int32, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) GetVirtualFolders() []VirtualFolder
- func (o *User) GetVirtualFoldersOk() ([]VirtualFolder, bool)
- func (o *User) HasAdditionalInfo() bool
- func (o *User) HasCreatedAt() bool
- func (o *User) HasDescription() bool
- func (o *User) HasDownloadBandwidth() bool
- func (o *User) HasDownloadDataTransfer() bool
- func (o *User) HasEmail() bool
- func (o *User) HasExpirationDate() bool
- func (o *User) HasFilesystem() bool
- func (o *User) HasFilters() bool
- func (o *User) HasGid() bool
- func (o *User) HasHomeDir() bool
- func (o *User) HasId() bool
- func (o *User) HasLastLogin() bool
- func (o *User) HasLastQuotaUpdate() bool
- func (o *User) HasMaxSessions() bool
- func (o *User) HasPassword() bool
- func (o *User) HasPermissions() bool
- func (o *User) HasPublicKeys() bool
- func (o *User) HasQuotaFiles() bool
- func (o *User) HasQuotaSize() bool
- func (o *User) HasStatus() bool
- func (o *User) HasTotalDataTransfer() bool
- func (o *User) HasUid() bool
- func (o *User) HasUpdatedAt() bool
- func (o *User) HasUploadBandwidth() bool
- func (o *User) HasUploadDataTransfer() bool
- func (o *User) HasUsedDownloadDataTransfer() bool
- func (o *User) HasUsedQuotaFiles() bool
- func (o *User) HasUsedQuotaSize() bool
- func (o *User) HasUsedUploadDataTransfer() bool
- func (o *User) HasUsername() bool
- func (o *User) HasVirtualFolders() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetAdditionalInfo(v string)
- func (o *User) SetCreatedAt(v int64)
- func (o *User) SetDescription(v string)
- func (o *User) SetDownloadBandwidth(v int32)
- func (o *User) SetDownloadDataTransfer(v int32)
- func (o *User) SetEmail(v string)
- func (o *User) SetExpirationDate(v int64)
- func (o *User) SetFilesystem(v FilesystemConfig)
- func (o *User) SetFilters(v UserFilters)
- func (o *User) SetGid(v int32)
- func (o *User) SetHomeDir(v string)
- func (o *User) SetId(v int32)
- func (o *User) SetLastLogin(v int64)
- func (o *User) SetLastQuotaUpdate(v int64)
- func (o *User) SetMaxSessions(v int32)
- func (o *User) SetPassword(v string)
- func (o *User) SetPermissions(v []map[string][]Permission)
- func (o *User) SetPublicKeys(v []string)
- func (o *User) SetQuotaFiles(v int32)
- func (o *User) SetQuotaSize(v int64)
- func (o *User) SetStatus(v int32)
- func (o *User) SetTotalDataTransfer(v int32)
- func (o *User) SetUid(v int32)
- func (o *User) SetUpdatedAt(v int64)
- func (o *User) SetUploadBandwidth(v int32)
- func (o *User) SetUploadDataTransfer(v int32)
- func (o *User) SetUsedDownloadDataTransfer(v int32)
- func (o *User) SetUsedQuotaFiles(v int32)
- func (o *User) SetUsedQuotaSize(v int64)
- func (o *User) SetUsedUploadDataTransfer(v int32)
- func (o *User) SetUsername(v string)
- func (o *User) SetVirtualFolders(v []VirtualFolder)
- type UserAPIsApiApiAddShareRequest
- type UserAPIsApiApiChangeUserPasswordRequest
- type UserAPIsApiApiCreateUserDirRequest
- func (r UserAPIsApiApiCreateUserDirRequest) Execute() ([]ApiResponse, *http.Response, error)
- func (r UserAPIsApiApiCreateUserDirRequest) MkdirParents(mkdirParents bool) UserAPIsApiApiCreateUserDirRequest
- func (r UserAPIsApiApiCreateUserDirRequest) Path(path string) UserAPIsApiApiCreateUserDirRequest
- type UserAPIsApiApiCreateUserFileRequest
- func (r UserAPIsApiApiCreateUserFileRequest) Body(body *os.File) UserAPIsApiApiCreateUserFileRequest
- func (r UserAPIsApiApiCreateUserFileRequest) Execute() ([]ApiResponse, *http.Response, error)
- func (r UserAPIsApiApiCreateUserFileRequest) MkdirParents(mkdirParents bool) UserAPIsApiApiCreateUserFileRequest
- func (r UserAPIsApiApiCreateUserFileRequest) Path(path string) UserAPIsApiApiCreateUserFileRequest
- func (r UserAPIsApiApiCreateUserFileRequest) XSFTPGOMTIME(xSFTPGOMTIME int32) UserAPIsApiApiCreateUserFileRequest
- type UserAPIsApiApiCreateUserFilesRequest
- func (r UserAPIsApiApiCreateUserFilesRequest) Execute() ([]ApiResponse, *http.Response, error)
- func (r UserAPIsApiApiCreateUserFilesRequest) Filenames(filenames []*os.File) UserAPIsApiApiCreateUserFilesRequest
- func (r UserAPIsApiApiCreateUserFilesRequest) MkdirParents(mkdirParents bool) UserAPIsApiApiCreateUserFilesRequest
- func (r UserAPIsApiApiCreateUserFilesRequest) Path(path string) UserAPIsApiApiCreateUserFilesRequest
- type UserAPIsApiApiDeleteUserDirRequest
- type UserAPIsApiApiDeleteUserFileRequest
- type UserAPIsApiApiDeleteUserShareRequest
- type UserAPIsApiApiDownloadUserFileRequest
- func (r UserAPIsApiApiDownloadUserFileRequest) Execute() (**os.File, *http.Response, error)
- func (r UserAPIsApiApiDownloadUserFileRequest) Inline(inline string) UserAPIsApiApiDownloadUserFileRequest
- func (r UserAPIsApiApiDownloadUserFileRequest) Path(path string) UserAPIsApiApiDownloadUserFileRequest
- type UserAPIsApiApiGenerateUserRecoveryCodesRequest
- type UserAPIsApiApiGenerateUserTotpSecretRequest
- type UserAPIsApiApiGetUserDirContentsRequest
- type UserAPIsApiApiGetUserFileRequest
- type UserAPIsApiApiGetUserFolderContentsRequest
- type UserAPIsApiApiGetUserProfileRequest
- type UserAPIsApiApiGetUserPublicKeysRequest
- type UserAPIsApiApiGetUserRecoveryCodesRequest
- type UserAPIsApiApiGetUserShareByIdRequest
- type UserAPIsApiApiGetUserSharesRequest
- func (r UserAPIsApiApiGetUserSharesRequest) Execute() ([]Share, *http.Response, error)
- func (r UserAPIsApiApiGetUserSharesRequest) Limit(limit int32) UserAPIsApiApiGetUserSharesRequest
- func (r UserAPIsApiApiGetUserSharesRequest) Offset(offset int32) UserAPIsApiApiGetUserSharesRequest
- func (r UserAPIsApiApiGetUserSharesRequest) Order(order string) UserAPIsApiApiGetUserSharesRequest
- type UserAPIsApiApiGetUserTotpConfigsRequest
- type UserAPIsApiApiRenameUserDirRequest
- type UserAPIsApiApiRenameUserFileRequest
- type UserAPIsApiApiSaveUserTotpConfigRequest
- type UserAPIsApiApiSetUserPublicKeysRequest
- type UserAPIsApiApiSetpropsUserFileRequest
- func (r UserAPIsApiApiSetpropsUserFileRequest) Execute() ([]ApiResponse, *http.Response, error)
- func (r UserAPIsApiApiSetpropsUserFileRequest) InlineObject9(inlineObject9 InlineObject9) UserAPIsApiApiSetpropsUserFileRequest
- func (r UserAPIsApiApiSetpropsUserFileRequest) Path(path string) UserAPIsApiApiSetpropsUserFileRequest
- type UserAPIsApiApiStreamzipRequest
- type UserAPIsApiApiUpdateUserProfileRequest
- type UserAPIsApiApiUpdateUserShareRequest
- type UserAPIsApiApiValidateUserTotpSecretRequest
- type UserAPIsApiService
- func (a *UserAPIsApiService) AddShare(ctx context.Context) UserAPIsApiApiAddShareRequest
- func (a *UserAPIsApiService) AddShareExecute(r UserAPIsApiApiAddShareRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) ChangeUserPassword(ctx context.Context) UserAPIsApiApiChangeUserPasswordRequest
- func (a *UserAPIsApiService) ChangeUserPasswordExecute(r UserAPIsApiApiChangeUserPasswordRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) CreateUserDir(ctx context.Context) UserAPIsApiApiCreateUserDirRequest
- func (a *UserAPIsApiService) CreateUserDirExecute(r UserAPIsApiApiCreateUserDirRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) CreateUserFile(ctx context.Context) UserAPIsApiApiCreateUserFileRequest
- func (a *UserAPIsApiService) CreateUserFileExecute(r UserAPIsApiApiCreateUserFileRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) CreateUserFiles(ctx context.Context) UserAPIsApiApiCreateUserFilesRequest
- func (a *UserAPIsApiService) CreateUserFilesExecute(r UserAPIsApiApiCreateUserFilesRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) DeleteUserDir(ctx context.Context) UserAPIsApiApiDeleteUserDirRequest
- func (a *UserAPIsApiService) DeleteUserDirExecute(r UserAPIsApiApiDeleteUserDirRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) DeleteUserFile(ctx context.Context) UserAPIsApiApiDeleteUserFileRequest
- func (a *UserAPIsApiService) DeleteUserFileExecute(r UserAPIsApiApiDeleteUserFileRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) DeleteUserShare(ctx context.Context, id string) UserAPIsApiApiDeleteUserShareRequest
- func (a *UserAPIsApiService) DeleteUserShareExecute(r UserAPIsApiApiDeleteUserShareRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) DownloadUserFile(ctx context.Context) UserAPIsApiApiDownloadUserFileRequest
- func (a *UserAPIsApiService) DownloadUserFileExecute(r UserAPIsApiApiDownloadUserFileRequest) (**os.File, *http.Response, error)
- func (a *UserAPIsApiService) GenerateUserRecoveryCodes(ctx context.Context) UserAPIsApiApiGenerateUserRecoveryCodesRequest
- func (a *UserAPIsApiService) GenerateUserRecoveryCodesExecute(r UserAPIsApiApiGenerateUserRecoveryCodesRequest) ([]string, *http.Response, error)
- func (a *UserAPIsApiService) GenerateUserTotpSecret(ctx context.Context) UserAPIsApiApiGenerateUserTotpSecretRequest
- func (a *UserAPIsApiService) GenerateUserTotpSecretExecute(r UserAPIsApiApiGenerateUserTotpSecretRequest) (*InlineResponse200, *http.Response, error)
- func (a *UserAPIsApiService) GetUserDirContents(ctx context.Context) UserAPIsApiApiGetUserDirContentsRequest
- func (a *UserAPIsApiService) GetUserDirContentsExecute(r UserAPIsApiApiGetUserDirContentsRequest) ([]DirEntry, *http.Response, error)
- func (a *UserAPIsApiService) GetUserFile(ctx context.Context) UserAPIsApiApiGetUserFileRequest
- func (a *UserAPIsApiService) GetUserFileExecute(r UserAPIsApiApiGetUserFileRequest) (**os.File, *http.Response, error)
- func (a *UserAPIsApiService) GetUserFolderContents(ctx context.Context) UserAPIsApiApiGetUserFolderContentsRequest
- func (a *UserAPIsApiService) GetUserFolderContentsExecute(r UserAPIsApiApiGetUserFolderContentsRequest) ([]DirEntry, *http.Response, error)
- func (a *UserAPIsApiService) GetUserProfile(ctx context.Context) UserAPIsApiApiGetUserProfileRequest
- func (a *UserAPIsApiService) GetUserProfileExecute(r UserAPIsApiApiGetUserProfileRequest) (*UserProfile, *http.Response, error)
- func (a *UserAPIsApiService) GetUserPublicKeys(ctx context.Context) UserAPIsApiApiGetUserPublicKeysRequest
- func (a *UserAPIsApiService) GetUserPublicKeysExecute(r UserAPIsApiApiGetUserPublicKeysRequest) ([]string, *http.Response, error)
- func (a *UserAPIsApiService) GetUserRecoveryCodes(ctx context.Context) UserAPIsApiApiGetUserRecoveryCodesRequest
- func (a *UserAPIsApiService) GetUserRecoveryCodesExecute(r UserAPIsApiApiGetUserRecoveryCodesRequest) ([]RecoveryCode, *http.Response, error)
- func (a *UserAPIsApiService) GetUserShareById(ctx context.Context, id string) UserAPIsApiApiGetUserShareByIdRequest
- func (a *UserAPIsApiService) GetUserShareByIdExecute(r UserAPIsApiApiGetUserShareByIdRequest) (*Share, *http.Response, error)
- func (a *UserAPIsApiService) GetUserShares(ctx context.Context) UserAPIsApiApiGetUserSharesRequest
- func (a *UserAPIsApiService) GetUserSharesExecute(r UserAPIsApiApiGetUserSharesRequest) ([]Share, *http.Response, error)
- func (a *UserAPIsApiService) GetUserTotpConfigs(ctx context.Context) UserAPIsApiApiGetUserTotpConfigsRequest
- func (a *UserAPIsApiService) GetUserTotpConfigsExecute(r UserAPIsApiApiGetUserTotpConfigsRequest) ([]TOTPConfig, *http.Response, error)
- func (a *UserAPIsApiService) RenameUserDir(ctx context.Context) UserAPIsApiApiRenameUserDirRequest
- func (a *UserAPIsApiService) RenameUserDirExecute(r UserAPIsApiApiRenameUserDirRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) RenameUserFile(ctx context.Context) UserAPIsApiApiRenameUserFileRequest
- func (a *UserAPIsApiService) RenameUserFileExecute(r UserAPIsApiApiRenameUserFileRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) SaveUserTotpConfig(ctx context.Context) UserAPIsApiApiSaveUserTotpConfigRequest
- func (a *UserAPIsApiService) SaveUserTotpConfigExecute(r UserAPIsApiApiSaveUserTotpConfigRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) SetUserPublicKeys(ctx context.Context) UserAPIsApiApiSetUserPublicKeysRequest
- func (a *UserAPIsApiService) SetUserPublicKeysExecute(r UserAPIsApiApiSetUserPublicKeysRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) SetpropsUserFile(ctx context.Context) UserAPIsApiApiSetpropsUserFileRequest
- func (a *UserAPIsApiService) SetpropsUserFileExecute(r UserAPIsApiApiSetpropsUserFileRequest) ([]ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) Streamzip(ctx context.Context) UserAPIsApiApiStreamzipRequest
- func (a *UserAPIsApiService) StreamzipExecute(r UserAPIsApiApiStreamzipRequest) (**os.File, *http.Response, error)
- func (a *UserAPIsApiService) UpdateUserProfile(ctx context.Context) UserAPIsApiApiUpdateUserProfileRequest
- func (a *UserAPIsApiService) UpdateUserProfileExecute(r UserAPIsApiApiUpdateUserProfileRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) UpdateUserShare(ctx context.Context, id string) UserAPIsApiApiUpdateUserShareRequest
- func (a *UserAPIsApiService) UpdateUserShareExecute(r UserAPIsApiApiUpdateUserShareRequest) (*ApiResponse, *http.Response, error)
- func (a *UserAPIsApiService) ValidateUserTotpSecret(ctx context.Context) UserAPIsApiApiValidateUserTotpSecretRequest
- func (a *UserAPIsApiService) ValidateUserTotpSecretExecute(r UserAPIsApiApiValidateUserTotpSecretRequest) (*ApiResponse, *http.Response, error)
- type UserFilters
- func (o *UserFilters) GetAllowApiKeyAuth() bool
- func (o *UserFilters) GetAllowApiKeyAuthOk() (*bool, bool)
- func (o *UserFilters) GetAllowedIp() []string
- func (o *UserFilters) GetAllowedIpOk() ([]string, bool)
- func (o *UserFilters) GetBandwidthLimits() []BandwidthLimit
- func (o *UserFilters) GetBandwidthLimitsOk() ([]BandwidthLimit, bool)
- func (o *UserFilters) GetDataTransferLimits() []DataTransferLimit
- func (o *UserFilters) GetDataTransferLimitsOk() ([]DataTransferLimit, bool)
- func (o *UserFilters) GetDeniedIp() []string
- func (o *UserFilters) GetDeniedIpOk() ([]string, bool)
- func (o *UserFilters) GetDeniedLoginMethods() []LoginMethods
- func (o *UserFilters) GetDeniedLoginMethodsOk() ([]LoginMethods, bool)
- func (o *UserFilters) GetDeniedProtocols() []SupportedProtocols
- func (o *UserFilters) GetDeniedProtocolsOk() ([]SupportedProtocols, bool)
- func (o *UserFilters) GetDisableFsChecks() bool
- func (o *UserFilters) GetDisableFsChecksOk() (*bool, bool)
- func (o *UserFilters) GetFilePatterns() []PatternsFilter
- func (o *UserFilters) GetFilePatternsOk() ([]PatternsFilter, bool)
- func (o *UserFilters) GetHooks() HooksFilter
- func (o *UserFilters) GetHooksOk() (*HooksFilter, bool)
- func (o *UserFilters) GetMaxUploadFileSize() int64
- func (o *UserFilters) GetMaxUploadFileSizeOk() (*int64, bool)
- func (o *UserFilters) GetRecoveryCodes() []RecoveryCode
- func (o *UserFilters) GetRecoveryCodesOk() ([]RecoveryCode, bool)
- func (o *UserFilters) GetTlsUsername() string
- func (o *UserFilters) GetTlsUsernameOk() (*string, bool)
- func (o *UserFilters) GetTotpConfig() UserTOTPConfig
- func (o *UserFilters) GetTotpConfigOk() (*UserTOTPConfig, bool)
- func (o *UserFilters) GetUserType() UserType
- func (o *UserFilters) GetUserTypeOk() (*UserType, bool)
- func (o *UserFilters) GetWebClient() []WebClientOptions
- func (o *UserFilters) GetWebClientOk() ([]WebClientOptions, bool)
- func (o *UserFilters) HasAllowApiKeyAuth() bool
- func (o *UserFilters) HasAllowedIp() bool
- func (o *UserFilters) HasBandwidthLimits() bool
- func (o *UserFilters) HasDataTransferLimits() bool
- func (o *UserFilters) HasDeniedIp() bool
- func (o *UserFilters) HasDeniedLoginMethods() bool
- func (o *UserFilters) HasDeniedProtocols() bool
- func (o *UserFilters) HasDisableFsChecks() bool
- func (o *UserFilters) HasFilePatterns() bool
- func (o *UserFilters) HasHooks() bool
- func (o *UserFilters) HasMaxUploadFileSize() bool
- func (o *UserFilters) HasRecoveryCodes() bool
- func (o *UserFilters) HasTlsUsername() bool
- func (o *UserFilters) HasTotpConfig() bool
- func (o *UserFilters) HasUserType() bool
- func (o *UserFilters) HasWebClient() bool
- func (o UserFilters) MarshalJSON() ([]byte, error)
- func (o *UserFilters) SetAllowApiKeyAuth(v bool)
- func (o *UserFilters) SetAllowedIp(v []string)
- func (o *UserFilters) SetBandwidthLimits(v []BandwidthLimit)
- func (o *UserFilters) SetDataTransferLimits(v []DataTransferLimit)
- func (o *UserFilters) SetDeniedIp(v []string)
- func (o *UserFilters) SetDeniedLoginMethods(v []LoginMethods)
- func (o *UserFilters) SetDeniedProtocols(v []SupportedProtocols)
- func (o *UserFilters) SetDisableFsChecks(v bool)
- func (o *UserFilters) SetFilePatterns(v []PatternsFilter)
- func (o *UserFilters) SetHooks(v HooksFilter)
- func (o *UserFilters) SetMaxUploadFileSize(v int64)
- func (o *UserFilters) SetRecoveryCodes(v []RecoveryCode)
- func (o *UserFilters) SetTlsUsername(v string)
- func (o *UserFilters) SetTotpConfig(v UserTOTPConfig)
- func (o *UserFilters) SetUserType(v UserType)
- func (o *UserFilters) SetWebClient(v []WebClientOptions)
- type UserProfile
- func (o *UserProfile) GetAllowApiKeyAuth() bool
- func (o *UserProfile) GetAllowApiKeyAuthOk() (*bool, bool)
- func (o *UserProfile) GetDescription() string
- func (o *UserProfile) GetDescriptionOk() (*string, bool)
- func (o *UserProfile) GetEmail() string
- func (o *UserProfile) GetEmailOk() (*string, bool)
- func (o *UserProfile) GetPublicKeys() []string
- func (o *UserProfile) GetPublicKeysOk() ([]string, bool)
- func (o *UserProfile) HasAllowApiKeyAuth() bool
- func (o *UserProfile) HasDescription() bool
- func (o *UserProfile) HasEmail() bool
- func (o *UserProfile) HasPublicKeys() bool
- func (o UserProfile) MarshalJSON() ([]byte, error)
- func (o *UserProfile) SetAllowApiKeyAuth(v bool)
- func (o *UserProfile) SetDescription(v string)
- func (o *UserProfile) SetEmail(v string)
- func (o *UserProfile) SetPublicKeys(v []string)
- type UserTOTPConfig
- func (o *UserTOTPConfig) GetConfigName() string
- func (o *UserTOTPConfig) GetConfigNameOk() (*string, bool)
- func (o *UserTOTPConfig) GetEnabled() bool
- func (o *UserTOTPConfig) GetEnabledOk() (*bool, bool)
- func (o *UserTOTPConfig) GetProtocols() []MFAProtocols
- func (o *UserTOTPConfig) GetProtocolsOk() ([]MFAProtocols, bool)
- func (o *UserTOTPConfig) GetSecret() Secret
- func (o *UserTOTPConfig) GetSecretOk() (*Secret, bool)
- func (o *UserTOTPConfig) HasConfigName() bool
- func (o *UserTOTPConfig) HasEnabled() bool
- func (o *UserTOTPConfig) HasProtocols() bool
- func (o *UserTOTPConfig) HasSecret() bool
- func (o UserTOTPConfig) MarshalJSON() ([]byte, error)
- func (o *UserTOTPConfig) SetConfigName(v string)
- func (o *UserTOTPConfig) SetEnabled(v bool)
- func (o *UserTOTPConfig) SetProtocols(v []MFAProtocols)
- func (o *UserTOTPConfig) SetSecret(v Secret)
- type UserTOTPConfigAllOf
- type UserType
- type UsersApiApiAddUserRequest
- type UsersApiApiDeleteUserRequest
- type UsersApiApiDisableUser2faRequest
- type UsersApiApiGetUserByUsernameRequest
- type UsersApiApiGetUsersRequest
- func (r UsersApiApiGetUsersRequest) Execute() ([]User, *http.Response, error)
- func (r UsersApiApiGetUsersRequest) Limit(limit int32) UsersApiApiGetUsersRequest
- func (r UsersApiApiGetUsersRequest) Offset(offset int32) UsersApiApiGetUsersRequest
- func (r UsersApiApiGetUsersRequest) Order(order string) UsersApiApiGetUsersRequest
- type UsersApiApiUpdateUserRequest
- type UsersApiApiUserForgotPasswordRequest
- type UsersApiApiUserResetPasswordRequest
- type UsersApiService
- func (a *UsersApiService) AddUser(ctx context.Context) UsersApiApiAddUserRequest
- func (a *UsersApiService) AddUserExecute(r UsersApiApiAddUserRequest) (*User, *http.Response, error)
- func (a *UsersApiService) DeleteUser(ctx context.Context, username string) UsersApiApiDeleteUserRequest
- func (a *UsersApiService) DeleteUserExecute(r UsersApiApiDeleteUserRequest) (*ApiResponse, *http.Response, error)
- func (a *UsersApiService) DisableUser2fa(ctx context.Context, username string) UsersApiApiDisableUser2faRequest
- func (a *UsersApiService) DisableUser2faExecute(r UsersApiApiDisableUser2faRequest) (*ApiResponse, *http.Response, error)
- func (a *UsersApiService) GetUserByUsername(ctx context.Context, username string) UsersApiApiGetUserByUsernameRequest
- func (a *UsersApiService) GetUserByUsernameExecute(r UsersApiApiGetUserByUsernameRequest) (*User, *http.Response, error)
- func (a *UsersApiService) GetUsers(ctx context.Context) UsersApiApiGetUsersRequest
- func (a *UsersApiService) GetUsersExecute(r UsersApiApiGetUsersRequest) ([]User, *http.Response, error)
- func (a *UsersApiService) UpdateUser(ctx context.Context, username string) UsersApiApiUpdateUserRequest
- func (a *UsersApiService) UpdateUserExecute(r UsersApiApiUpdateUserRequest) (*ApiResponse, *http.Response, error)
- func (a *UsersApiService) UserForgotPassword(ctx context.Context, username string) UsersApiApiUserForgotPasswordRequest
- func (a *UsersApiService) UserForgotPasswordExecute(r UsersApiApiUserForgotPasswordRequest) (*ApiResponse, *http.Response, error)
- func (a *UsersApiService) UserResetPassword(ctx context.Context, username string) UsersApiApiUserResetPasswordRequest
- func (a *UsersApiService) UserResetPasswordExecute(r UsersApiApiUserResetPasswordRequest) (*ApiResponse, *http.Response, error)
- type VersionInfo
- func (o *VersionInfo) GetBuildDate() string
- func (o *VersionInfo) GetBuildDateOk() (*string, bool)
- func (o *VersionInfo) GetCommitHash() string
- func (o *VersionInfo) GetCommitHashOk() (*string, bool)
- func (o *VersionInfo) GetFeatures() []string
- func (o *VersionInfo) GetFeaturesOk() ([]string, bool)
- func (o *VersionInfo) GetVersion() string
- func (o *VersionInfo) GetVersionOk() (*string, bool)
- func (o *VersionInfo) HasBuildDate() bool
- func (o *VersionInfo) HasCommitHash() bool
- func (o *VersionInfo) HasFeatures() bool
- func (o *VersionInfo) HasVersion() bool
- func (o VersionInfo) MarshalJSON() ([]byte, error)
- func (o *VersionInfo) SetBuildDate(v string)
- func (o *VersionInfo) SetCommitHash(v string)
- func (o *VersionInfo) SetFeatures(v []string)
- func (o *VersionInfo) SetVersion(v string)
- type VirtualFolder
- func (o *VirtualFolder) GetDescription() string
- func (o *VirtualFolder) GetDescriptionOk() (*string, bool)
- func (o *VirtualFolder) GetFilesystem() FilesystemConfig
- func (o *VirtualFolder) GetFilesystemOk() (*FilesystemConfig, bool)
- func (o *VirtualFolder) GetId() int32
- func (o *VirtualFolder) GetIdOk() (*int32, bool)
- func (o *VirtualFolder) GetLastQuotaUpdate() int64
- func (o *VirtualFolder) GetLastQuotaUpdateOk() (*int64, bool)
- func (o *VirtualFolder) GetMappedPath() string
- func (o *VirtualFolder) GetMappedPathOk() (*string, bool)
- func (o *VirtualFolder) GetName() string
- func (o *VirtualFolder) GetNameOk() (*string, bool)
- func (o *VirtualFolder) GetQuotaFiles() int32
- func (o *VirtualFolder) GetQuotaFilesOk() (*int32, bool)
- func (o *VirtualFolder) GetQuotaSize() int64
- func (o *VirtualFolder) GetQuotaSizeOk() (*int64, bool)
- func (o *VirtualFolder) GetUsedQuotaFiles() int32
- func (o *VirtualFolder) GetUsedQuotaFilesOk() (*int32, bool)
- func (o *VirtualFolder) GetUsedQuotaSize() int64
- func (o *VirtualFolder) GetUsedQuotaSizeOk() (*int64, bool)
- func (o *VirtualFolder) GetUsers() []string
- func (o *VirtualFolder) GetUsersOk() ([]string, bool)
- func (o *VirtualFolder) GetVirtualPath() string
- func (o *VirtualFolder) GetVirtualPathOk() (*string, bool)
- func (o *VirtualFolder) HasDescription() bool
- func (o *VirtualFolder) HasFilesystem() bool
- func (o *VirtualFolder) HasId() bool
- func (o *VirtualFolder) HasLastQuotaUpdate() bool
- func (o *VirtualFolder) HasMappedPath() bool
- func (o *VirtualFolder) HasName() bool
- func (o *VirtualFolder) HasQuotaFiles() bool
- func (o *VirtualFolder) HasQuotaSize() bool
- func (o *VirtualFolder) HasUsedQuotaFiles() bool
- func (o *VirtualFolder) HasUsedQuotaSize() bool
- func (o *VirtualFolder) HasUsers() bool
- func (o VirtualFolder) MarshalJSON() ([]byte, error)
- func (o *VirtualFolder) SetDescription(v string)
- func (o *VirtualFolder) SetFilesystem(v FilesystemConfig)
- func (o *VirtualFolder) SetId(v int32)
- func (o *VirtualFolder) SetLastQuotaUpdate(v int64)
- func (o *VirtualFolder) SetMappedPath(v string)
- func (o *VirtualFolder) SetName(v string)
- func (o *VirtualFolder) SetQuotaFiles(v int32)
- func (o *VirtualFolder) SetQuotaSize(v int64)
- func (o *VirtualFolder) SetUsedQuotaFiles(v int32)
- func (o *VirtualFolder) SetUsedQuotaSize(v int64)
- func (o *VirtualFolder) SetUsers(v []string)
- func (o *VirtualFolder) SetVirtualPath(v string)
- type VirtualFolderAllOf
- func (o *VirtualFolderAllOf) GetQuotaFiles() int32
- func (o *VirtualFolderAllOf) GetQuotaFilesOk() (*int32, bool)
- func (o *VirtualFolderAllOf) GetQuotaSize() int64
- func (o *VirtualFolderAllOf) GetQuotaSizeOk() (*int64, bool)
- func (o *VirtualFolderAllOf) GetVirtualPath() string
- func (o *VirtualFolderAllOf) GetVirtualPathOk() (*string, bool)
- func (o *VirtualFolderAllOf) HasQuotaFiles() bool
- func (o *VirtualFolderAllOf) HasQuotaSize() bool
- func (o VirtualFolderAllOf) MarshalJSON() ([]byte, error)
- func (o *VirtualFolderAllOf) SetQuotaFiles(v int32)
- func (o *VirtualFolderAllOf) SetQuotaSize(v int64)
- func (o *VirtualFolderAllOf) SetVirtualPath(v string)
- type WebClientOptions
- type WebDAVBinding
- func (o *WebDAVBinding) GetAddress() string
- func (o *WebDAVBinding) GetAddressOk() (*string, bool)
- func (o *WebDAVBinding) GetClientAuthType() int32
- func (o *WebDAVBinding) GetClientAuthTypeOk() (*int32, bool)
- func (o *WebDAVBinding) GetEnableHttps() bool
- func (o *WebDAVBinding) GetEnableHttpsOk() (*bool, bool)
- func (o *WebDAVBinding) GetPort() int32
- func (o *WebDAVBinding) GetPortOk() (*int32, bool)
- func (o *WebDAVBinding) HasAddress() bool
- func (o *WebDAVBinding) HasClientAuthType() bool
- func (o *WebDAVBinding) HasEnableHttps() bool
- func (o *WebDAVBinding) HasPort() bool
- func (o WebDAVBinding) MarshalJSON() ([]byte, error)
- func (o *WebDAVBinding) SetAddress(v string)
- func (o *WebDAVBinding) SetClientAuthType(v int32)
- func (o *WebDAVBinding) SetEnableHttps(v bool)
- func (o *WebDAVBinding) SetPort(v int32)
- type WebDAVServiceStatus
- func (o *WebDAVServiceStatus) GetBindings() []WebDAVBinding
- func (o *WebDAVServiceStatus) GetBindingsOk() ([]WebDAVBinding, bool)
- func (o *WebDAVServiceStatus) GetIsActive() bool
- func (o *WebDAVServiceStatus) GetIsActiveOk() (*bool, bool)
- func (o *WebDAVServiceStatus) HasBindings() bool
- func (o *WebDAVServiceStatus) HasIsActive() bool
- func (o WebDAVServiceStatus) MarshalJSON() ([]byte, error)
- func (o *WebDAVServiceStatus) SetBindings(v []WebDAVBinding)
- func (o *WebDAVServiceStatus) SetIsActive(v bool)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // 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") )
var AllowedAdminPermissionsEnumValues = []AdminPermissions{
"*",
"add_users",
"edit_users",
"del_users",
"view_users",
"view_conns",
"close_conns",
"view_status",
"manage_admins",
"manage_apikeys",
"quota_scans",
"manage_system",
"manage_defender",
"view_defender",
"retention_checks",
"metadata_checks",
"view_events",
}
All allowed values of AdminPermissions enum
var AllowedAuthAPIKeyScopeEnumValues = []AuthAPIKeyScope{
1,
2,
}
All allowed values of AuthAPIKeyScope enum
var AllowedEventProtocolsEnumValues = []EventProtocols{
"SSH",
"SFTP",
"SCP",
"FTP",
"DAV",
"HTTP",
"DataRetention",
}
All allowed values of EventProtocols enum
var AllowedFsEventActionEnumValues = []FsEventAction{
"download",
"pre-upload",
"upload",
"delete",
"rename",
"mkdir",
"rmdir",
"ssh_cmd",
}
All allowed values of FsEventAction enum
var AllowedFsEventStatusEnumValues = []FsEventStatus{
1,
2,
3,
}
All allowed values of FsEventStatus enum
var AllowedFsProvidersEnumValues = []FsProviders{
0,
1,
2,
3,
4,
5,
}
All allowed values of FsProviders enum
var AllowedLoginMethodsEnumValues = []LoginMethods{
"publickey",
"password",
"keyboard-interactive",
"publickey+password",
"publickey+keyboard-interactive",
"TLSCertificate",
"TLSCertificate+password",
}
All allowed values of LoginMethods enum
var AllowedMFAProtocolsEnumValues = []MFAProtocols{
"SSH",
"FTP",
"HTTP",
}
All allowed values of MFAProtocols enum
var AllowedPermissionEnumValues = []Permission{
"*",
"list",
"download",
"upload",
"overwrite",
"delete",
"delete_files",
"delete_dirs",
"rename",
"rename_files",
"rename_dirs",
"create_dirs",
"create_symlinks",
"chmod",
"chown",
"chtimes",
}
All allowed values of Permission enum
var AllowedProviderEventActionEnumValues = []ProviderEventAction{
"add",
"update",
"delete",
}
All allowed values of ProviderEventAction enum
var AllowedProviderEventObjectTypeEnumValues = []ProviderEventObjectType{
"user",
"admin",
"api_key",
"share",
}
All allowed values of ProviderEventObjectType enum
var AllowedRetentionCheckNotificationEnumValues = []RetentionCheckNotification{
"Hook",
"Email",
}
All allowed values of RetentionCheckNotification enum
1,
2,
}All allowed values of ShareScope enum
var AllowedSupportedProtocolsEnumValues = []SupportedProtocols{
"SSH",
"FTP",
"DAV",
"HTTP",
}
All allowed values of SupportedProtocols enum
var AllowedTOTPHMacAlgoEnumValues = []TOTPHMacAlgo{
"sha1",
"sha256",
"sha512",
}
All allowed values of TOTPHMacAlgo enum
var AllowedUserTypeEnumValues = []UserType{
"",
"LDAPUser",
"OSUser",
}
All allowed values of UserType enum
var AllowedWebClientOptionsEnumValues = []WebClientOptions{
"publickey-change-disabled",
"write-disabled",
"mfa-disabled",
"password-change-disabled",
"api-key-auth-change-disabled",
"info-change-disabled",
"shares-disabled",
"password-reset-disabled",
}
All allowed values of WebClientOptions enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { APIKeysApi *APIKeysApiService AdminsApi *AdminsApiService ConnectionsApi *ConnectionsApiService DataRetentionApi *DataRetentionApiService DefenderApi *DefenderApiService EventsApi *EventsApiService FoldersApi *FoldersApiService HealthcheckApi *HealthcheckApiService MaintenanceApi *MaintenanceApiService MetadataApi *MetadataApiService QuotaApi *QuotaApiService TokenApi *TokenApiService UserAPIsApi *UserAPIsApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the SFTPGo API v2.2.2-dev 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 ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIKeysApiApiAddApiKeyRequest ¶
type APIKeysApiApiAddApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (APIKeysApiApiAddApiKeyRequest) AuthAPIKey ¶
func (r APIKeysApiApiAddApiKeyRequest) AuthAPIKey(authAPIKey AuthAPIKey) APIKeysApiApiAddApiKeyRequest
func (APIKeysApiApiAddApiKeyRequest) Execute ¶
func (r APIKeysApiApiAddApiKeyRequest) Execute() (*InlineResponse201, *http.Response, error)
type APIKeysApiApiDeleteApiKeyRequest ¶
type APIKeysApiApiDeleteApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (APIKeysApiApiDeleteApiKeyRequest) Execute ¶
func (r APIKeysApiApiDeleteApiKeyRequest) Execute() (*ApiResponse, *http.Response, error)
type APIKeysApiApiGetApiKeyByIdRequest ¶
type APIKeysApiApiGetApiKeyByIdRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (APIKeysApiApiGetApiKeyByIdRequest) Execute ¶
func (r APIKeysApiApiGetApiKeyByIdRequest) Execute() (*AuthAPIKey, *http.Response, error)
type APIKeysApiApiGetApiKeysRequest ¶
type APIKeysApiApiGetApiKeysRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (APIKeysApiApiGetApiKeysRequest) Execute ¶
func (r APIKeysApiApiGetApiKeysRequest) Execute() ([]AuthAPIKey, *http.Response, error)
func (APIKeysApiApiGetApiKeysRequest) Limit ¶
func (r APIKeysApiApiGetApiKeysRequest) Limit(limit int32) APIKeysApiApiGetApiKeysRequest
The maximum number of items to return. Max value is 500, default is 100
func (APIKeysApiApiGetApiKeysRequest) Offset ¶
func (r APIKeysApiApiGetApiKeysRequest) Offset(offset int32) APIKeysApiApiGetApiKeysRequest
func (APIKeysApiApiGetApiKeysRequest) Order ¶
func (r APIKeysApiApiGetApiKeysRequest) Order(order string) APIKeysApiApiGetApiKeysRequest
Ordering API keys by id. Default ASC
type APIKeysApiApiUpdateApiKeyRequest ¶
type APIKeysApiApiUpdateApiKeyRequest struct { ApiService *APIKeysApiService // contains filtered or unexported fields }
func (APIKeysApiApiUpdateApiKeyRequest) AuthAPIKey ¶
func (r APIKeysApiApiUpdateApiKeyRequest) AuthAPIKey(authAPIKey AuthAPIKey) APIKeysApiApiUpdateApiKeyRequest
func (APIKeysApiApiUpdateApiKeyRequest) Execute ¶
func (r APIKeysApiApiUpdateApiKeyRequest) Execute() (*ApiResponse, *http.Response, error)
type APIKeysApiService ¶
type APIKeysApiService service
APIKeysApiService APIKeysApi service
func (*APIKeysApiService) AddApiKey ¶
func (a *APIKeysApiService) AddApiKey(ctx context.Context) APIKeysApiApiAddApiKeyRequest
AddApiKey Add API key
Adds a new API key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APIKeysApiApiAddApiKeyRequest
func (*APIKeysApiService) AddApiKeyExecute ¶
func (a *APIKeysApiService) AddApiKeyExecute(r APIKeysApiApiAddApiKeyRequest) (*InlineResponse201, *http.Response, error)
Execute executes the request
@return InlineResponse201
func (*APIKeysApiService) DeleteApiKey ¶
func (a *APIKeysApiService) DeleteApiKey(ctx context.Context, id string) APIKeysApiApiDeleteApiKeyRequest
DeleteApiKey Delete API key
Deletes an existing API key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the key id @return APIKeysApiApiDeleteApiKeyRequest
func (*APIKeysApiService) DeleteApiKeyExecute ¶
func (a *APIKeysApiService) DeleteApiKeyExecute(r APIKeysApiApiDeleteApiKeyRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*APIKeysApiService) GetApiKeyById ¶
func (a *APIKeysApiService) GetApiKeyById(ctx context.Context, id string) APIKeysApiApiGetApiKeyByIdRequest
GetApiKeyById Find API key by id
Returns the API key with the given id, if it exists. For security reasons the hashed key is omitted in the response
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the key id @return APIKeysApiApiGetApiKeyByIdRequest
func (*APIKeysApiService) GetApiKeyByIdExecute ¶
func (a *APIKeysApiService) GetApiKeyByIdExecute(r APIKeysApiApiGetApiKeyByIdRequest) (*AuthAPIKey, *http.Response, error)
Execute executes the request
@return AuthAPIKey
func (*APIKeysApiService) GetApiKeys ¶
func (a *APIKeysApiService) GetApiKeys(ctx context.Context) APIKeysApiApiGetApiKeysRequest
GetApiKeys Get API keys
Returns an array with one or more API keys. For security reasons hashed keys are omitted in the response
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APIKeysApiApiGetApiKeysRequest
func (*APIKeysApiService) GetApiKeysExecute ¶
func (a *APIKeysApiService) GetApiKeysExecute(r APIKeysApiApiGetApiKeysRequest) ([]AuthAPIKey, *http.Response, error)
Execute executes the request
@return []AuthAPIKey
func (*APIKeysApiService) UpdateApiKey ¶
func (a *APIKeysApiService) UpdateApiKey(ctx context.Context, id string) APIKeysApiApiUpdateApiKeyRequest
UpdateApiKey Update API key
Updates an existing API key. You cannot update the key itself, the creation date and the last use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the key id @return APIKeysApiApiUpdateApiKeyRequest
func (*APIKeysApiService) UpdateApiKeyExecute ¶
func (a *APIKeysApiService) UpdateApiKeyExecute(r APIKeysApiApiUpdateApiKeyRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
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 Admin ¶
type Admin struct { Id *int32 `json:"id,omitempty"` // status: * `0` user is disabled, login is not allowed * `1` user is enabled Status *int32 `json:"status,omitempty"` // username is unique Username *string `json:"username,omitempty"` // optional description, for example the admin full name Description *string `json:"description,omitempty"` // Admin password. For security reasons this field is omitted when you search/get admins Password *string `json:"password,omitempty"` Email *string `json:"email,omitempty"` Permissions []AdminPermissions `json:"permissions,omitempty"` Filters *AdminFilters `json:"filters,omitempty"` // Free form text field AdditionalInfo *string `json:"additional_info,omitempty"` // creation time as unix timestamp in milliseconds. It will be 0 for admins created before v2.2.0 CreatedAt *int64 `json:"created_at,omitempty"` // last update time as unix timestamp in milliseconds UpdatedAt *int64 `json:"updated_at,omitempty"` // Last user login as unix timestamp in milliseconds. It is saved at most once every 10 minutes LastLogin *int64 `json:"last_login,omitempty"` }
Admin struct for Admin
func NewAdmin ¶
func NewAdmin() *Admin
NewAdmin instantiates a new Admin 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 NewAdminWithDefaults ¶
func NewAdminWithDefaults() *Admin
NewAdminWithDefaults instantiates a new Admin 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 (*Admin) GetAdditionalInfo ¶
GetAdditionalInfo returns the AdditionalInfo field value if set, zero value otherwise.
func (*Admin) GetAdditionalInfoOk ¶
GetAdditionalInfoOk returns a tuple with the AdditionalInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Admin) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Admin) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetFilters ¶
func (o *Admin) GetFilters() AdminFilters
GetFilters returns the Filters field value if set, zero value otherwise.
func (*Admin) GetFiltersOk ¶
func (o *Admin) GetFiltersOk() (*AdminFilters, bool)
GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetIdOk ¶
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 (*Admin) GetLastLogin ¶
GetLastLogin returns the LastLogin field value if set, zero value otherwise.
func (*Admin) GetLastLoginOk ¶
GetLastLoginOk returns a tuple with the LastLogin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*Admin) GetPasswordOk ¶
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 (*Admin) GetPermissions ¶
func (o *Admin) GetPermissions() []AdminPermissions
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*Admin) GetPermissionsOk ¶
func (o *Admin) GetPermissionsOk() ([]AdminPermissions, 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 (*Admin) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Admin) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*Admin) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Admin) HasAdditionalInfo ¶
HasAdditionalInfo returns a boolean if a field has been set.
func (*Admin) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Admin) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Admin) HasFilters ¶
HasFilters returns a boolean if a field has been set.
func (*Admin) HasLastLogin ¶
HasLastLogin returns a boolean if a field has been set.
func (*Admin) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*Admin) HasPermissions ¶
HasPermissions returns a boolean if a field has been set.
func (*Admin) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Admin) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (Admin) MarshalJSON ¶
func (*Admin) SetAdditionalInfo ¶
SetAdditionalInfo gets a reference to the given string and assigns it to the AdditionalInfo field.
func (*Admin) SetCreatedAt ¶
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*Admin) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Admin) SetEmail ¶
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*Admin) SetFilters ¶
func (o *Admin) SetFilters(v AdminFilters)
SetFilters gets a reference to the given AdminFilters and assigns it to the Filters field.
func (*Admin) SetLastLogin ¶
SetLastLogin gets a reference to the given int64 and assigns it to the LastLogin field.
func (*Admin) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*Admin) SetPermissions ¶
func (o *Admin) SetPermissions(v []AdminPermissions)
SetPermissions gets a reference to the given []AdminPermissions and assigns it to the Permissions field.
func (*Admin) SetStatus ¶
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*Admin) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (*Admin) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
type AdminFilters ¶
type AdminFilters struct { // only clients connecting from these IP/Mask are allowed. IP/Mask must be in CIDR notation as defined in RFC 4632 and RFC 4291, for example \"192.0.2.0/24\" or \"2001:db8::/32\" AllowList []string `json:"allow_list,omitempty"` // API key auth allows to impersonate this administrator with an API key AllowApiKeyAuth *bool `json:"allow_api_key_auth,omitempty"` TotpConfig *AdminTOTPConfig `json:"totp_config,omitempty"` RecoveryCodes []RecoveryCode `json:"recovery_codes,omitempty"` }
AdminFilters struct for AdminFilters
func NewAdminFilters ¶
func NewAdminFilters() *AdminFilters
NewAdminFilters instantiates a new AdminFilters 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 NewAdminFiltersWithDefaults ¶
func NewAdminFiltersWithDefaults() *AdminFilters
NewAdminFiltersWithDefaults instantiates a new AdminFilters 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 (*AdminFilters) GetAllowApiKeyAuth ¶
func (o *AdminFilters) GetAllowApiKeyAuth() bool
GetAllowApiKeyAuth returns the AllowApiKeyAuth field value if set, zero value otherwise.
func (*AdminFilters) GetAllowApiKeyAuthOk ¶
func (o *AdminFilters) GetAllowApiKeyAuthOk() (*bool, bool)
GetAllowApiKeyAuthOk returns a tuple with the AllowApiKeyAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminFilters) GetAllowList ¶
func (o *AdminFilters) GetAllowList() []string
GetAllowList returns the AllowList field value if set, zero value otherwise.
func (*AdminFilters) GetAllowListOk ¶
func (o *AdminFilters) GetAllowListOk() ([]string, bool)
GetAllowListOk returns a tuple with the AllowList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminFilters) GetRecoveryCodes ¶
func (o *AdminFilters) GetRecoveryCodes() []RecoveryCode
GetRecoveryCodes returns the RecoveryCodes field value if set, zero value otherwise.
func (*AdminFilters) GetRecoveryCodesOk ¶
func (o *AdminFilters) GetRecoveryCodesOk() ([]RecoveryCode, bool)
GetRecoveryCodesOk returns a tuple with the RecoveryCodes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminFilters) GetTotpConfig ¶
func (o *AdminFilters) GetTotpConfig() AdminTOTPConfig
GetTotpConfig returns the TotpConfig field value if set, zero value otherwise.
func (*AdminFilters) GetTotpConfigOk ¶
func (o *AdminFilters) GetTotpConfigOk() (*AdminTOTPConfig, bool)
GetTotpConfigOk returns a tuple with the TotpConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminFilters) HasAllowApiKeyAuth ¶
func (o *AdminFilters) HasAllowApiKeyAuth() bool
HasAllowApiKeyAuth returns a boolean if a field has been set.
func (*AdminFilters) HasAllowList ¶
func (o *AdminFilters) HasAllowList() bool
HasAllowList returns a boolean if a field has been set.
func (*AdminFilters) HasRecoveryCodes ¶
func (o *AdminFilters) HasRecoveryCodes() bool
HasRecoveryCodes returns a boolean if a field has been set.
func (*AdminFilters) HasTotpConfig ¶
func (o *AdminFilters) HasTotpConfig() bool
HasTotpConfig returns a boolean if a field has been set.
func (AdminFilters) MarshalJSON ¶
func (o AdminFilters) MarshalJSON() ([]byte, error)
func (*AdminFilters) SetAllowApiKeyAuth ¶
func (o *AdminFilters) SetAllowApiKeyAuth(v bool)
SetAllowApiKeyAuth gets a reference to the given bool and assigns it to the AllowApiKeyAuth field.
func (*AdminFilters) SetAllowList ¶
func (o *AdminFilters) SetAllowList(v []string)
SetAllowList gets a reference to the given []string and assigns it to the AllowList field.
func (*AdminFilters) SetRecoveryCodes ¶
func (o *AdminFilters) SetRecoveryCodes(v []RecoveryCode)
SetRecoveryCodes gets a reference to the given []RecoveryCode and assigns it to the RecoveryCodes field.
func (*AdminFilters) SetTotpConfig ¶
func (o *AdminFilters) SetTotpConfig(v AdminTOTPConfig)
SetTotpConfig gets a reference to the given AdminTOTPConfig and assigns it to the TotpConfig field.
type AdminPermissions ¶
type AdminPermissions string
AdminPermissions Admin permissions: * `*` - all permissions are granted * `add_users` - add new users is allowed * `edit_users` - change existing users is allowed * `del_users` - remove users is allowed * `view_users` - list users is allowed * `view_conns` - list active connections is allowed * `close_conns` - close active connections is allowed * `view_status` - view the server status is allowed * `manage_admins` - manage other admins is allowed * `manage_apikeys` - manage API keys is allowed * `quota_scans` - view and start quota scans is allowed * `manage_system` - backups and restores are allowed * `manage_defender` - remove ip from the dynamic blocklist is allowed * `view_defender` - list the dynamic blocklist is allowed * `retention_checks` - view and start retention checks is allowed * `metadata_checks` - view and start metadata checks is allowed * `view_events` - view and search filesystem and provider events is allowed
const ( ADMINPERMISSIONS_STAR AdminPermissions = "*" ADMINPERMISSIONS_ADD_USERS AdminPermissions = "add_users" ADMINPERMISSIONS_EDIT_USERS AdminPermissions = "edit_users" ADMINPERMISSIONS_DEL_USERS AdminPermissions = "del_users" ADMINPERMISSIONS_VIEW_USERS AdminPermissions = "view_users" ADMINPERMISSIONS_VIEW_CONNS AdminPermissions = "view_conns" ADMINPERMISSIONS_CLOSE_CONNS AdminPermissions = "close_conns" ADMINPERMISSIONS_VIEW_STATUS AdminPermissions = "view_status" ADMINPERMISSIONS_MANAGE_ADMINS AdminPermissions = "manage_admins" ADMINPERMISSIONS_MANAGE_APIKEYS AdminPermissions = "manage_apikeys" ADMINPERMISSIONS_QUOTA_SCANS AdminPermissions = "quota_scans" ADMINPERMISSIONS_MANAGE_SYSTEM AdminPermissions = "manage_system" ADMINPERMISSIONS_MANAGE_DEFENDER AdminPermissions = "manage_defender" ADMINPERMISSIONS_VIEW_DEFENDER AdminPermissions = "view_defender" ADMINPERMISSIONS_RETENTION_CHECKS AdminPermissions = "retention_checks" ADMINPERMISSIONS_METADATA_CHECKS AdminPermissions = "metadata_checks" ADMINPERMISSIONS_VIEW_EVENTS AdminPermissions = "view_events" )
List of AdminPermissions
func NewAdminPermissionsFromValue ¶
func NewAdminPermissionsFromValue(v string) (*AdminPermissions, error)
NewAdminPermissionsFromValue returns a pointer to a valid AdminPermissions for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AdminPermissions) IsValid ¶
func (v AdminPermissions) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AdminPermissions) Ptr ¶
func (v AdminPermissions) Ptr() *AdminPermissions
Ptr returns reference to AdminPermissions value
func (*AdminPermissions) UnmarshalJSON ¶
func (v *AdminPermissions) UnmarshalJSON(src []byte) error
type AdminProfile ¶
type AdminProfile struct { Email *string `json:"email,omitempty"` Description *string `json:"description,omitempty"` // If enabled, you can impersonate this admin, in REST API, using an API key. If disabled admin credentials are required for impersonation AllowApiKeyAuth *bool `json:"allow_api_key_auth,omitempty"` }
AdminProfile struct for AdminProfile
func NewAdminProfile ¶
func NewAdminProfile() *AdminProfile
NewAdminProfile instantiates a new AdminProfile 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 NewAdminProfileWithDefaults ¶
func NewAdminProfileWithDefaults() *AdminProfile
NewAdminProfileWithDefaults instantiates a new AdminProfile 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 (*AdminProfile) GetAllowApiKeyAuth ¶
func (o *AdminProfile) GetAllowApiKeyAuth() bool
GetAllowApiKeyAuth returns the AllowApiKeyAuth field value if set, zero value otherwise.
func (*AdminProfile) GetAllowApiKeyAuthOk ¶
func (o *AdminProfile) GetAllowApiKeyAuthOk() (*bool, bool)
GetAllowApiKeyAuthOk returns a tuple with the AllowApiKeyAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminProfile) GetDescription ¶
func (o *AdminProfile) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AdminProfile) GetDescriptionOk ¶
func (o *AdminProfile) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminProfile) GetEmail ¶
func (o *AdminProfile) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*AdminProfile) GetEmailOk ¶
func (o *AdminProfile) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminProfile) HasAllowApiKeyAuth ¶
func (o *AdminProfile) HasAllowApiKeyAuth() bool
HasAllowApiKeyAuth returns a boolean if a field has been set.
func (*AdminProfile) HasDescription ¶
func (o *AdminProfile) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AdminProfile) HasEmail ¶
func (o *AdminProfile) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (AdminProfile) MarshalJSON ¶
func (o AdminProfile) MarshalJSON() ([]byte, error)
func (*AdminProfile) SetAllowApiKeyAuth ¶
func (o *AdminProfile) SetAllowApiKeyAuth(v bool)
SetAllowApiKeyAuth gets a reference to the given bool and assigns it to the AllowApiKeyAuth field.
func (*AdminProfile) SetDescription ¶
func (o *AdminProfile) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AdminProfile) SetEmail ¶
func (o *AdminProfile) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
type AdminTOTPConfig ¶
type AdminTOTPConfig struct { Enabled *bool `json:"enabled,omitempty"` // This name must be defined within the \"totp\" section of the SFTPGo configuration file. You will be unable to save a user/admin referencing a missing config_name ConfigName *string `json:"config_name,omitempty"` Secret *Secret `json:"secret,omitempty"` }
AdminTOTPConfig struct for AdminTOTPConfig
func NewAdminTOTPConfig ¶
func NewAdminTOTPConfig() *AdminTOTPConfig
NewAdminTOTPConfig instantiates a new AdminTOTPConfig 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 NewAdminTOTPConfigWithDefaults ¶
func NewAdminTOTPConfigWithDefaults() *AdminTOTPConfig
NewAdminTOTPConfigWithDefaults instantiates a new AdminTOTPConfig 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 (*AdminTOTPConfig) GetConfigName ¶
func (o *AdminTOTPConfig) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*AdminTOTPConfig) GetConfigNameOk ¶
func (o *AdminTOTPConfig) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminTOTPConfig) GetEnabled ¶
func (o *AdminTOTPConfig) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*AdminTOTPConfig) GetEnabledOk ¶
func (o *AdminTOTPConfig) 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 (*AdminTOTPConfig) GetSecret ¶
func (o *AdminTOTPConfig) GetSecret() Secret
GetSecret returns the Secret field value if set, zero value otherwise.
func (*AdminTOTPConfig) GetSecretOk ¶
func (o *AdminTOTPConfig) GetSecretOk() (*Secret, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminTOTPConfig) HasConfigName ¶
func (o *AdminTOTPConfig) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (*AdminTOTPConfig) HasEnabled ¶
func (o *AdminTOTPConfig) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*AdminTOTPConfig) HasSecret ¶
func (o *AdminTOTPConfig) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (AdminTOTPConfig) MarshalJSON ¶
func (o AdminTOTPConfig) MarshalJSON() ([]byte, error)
func (*AdminTOTPConfig) SetConfigName ¶
func (o *AdminTOTPConfig) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
func (*AdminTOTPConfig) SetEnabled ¶
func (o *AdminTOTPConfig) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*AdminTOTPConfig) SetSecret ¶
func (o *AdminTOTPConfig) SetSecret(v Secret)
SetSecret gets a reference to the given Secret and assigns it to the Secret field.
type AdminsApiApiAddAdminRequest ¶
type AdminsApiApiAddAdminRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiAddAdminRequest) Admin ¶
func (r AdminsApiApiAddAdminRequest) Admin(admin Admin) AdminsApiApiAddAdminRequest
type AdminsApiApiAdminForgotPasswordRequest ¶
type AdminsApiApiAdminForgotPasswordRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiAdminForgotPasswordRequest) Execute ¶
func (r AdminsApiApiAdminForgotPasswordRequest) Execute() (*ApiResponse, *http.Response, error)
type AdminsApiApiAdminResetPasswordRequest ¶
type AdminsApiApiAdminResetPasswordRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiAdminResetPasswordRequest) Execute ¶
func (r AdminsApiApiAdminResetPasswordRequest) Execute() (*ApiResponse, *http.Response, error)
func (AdminsApiApiAdminResetPasswordRequest) InlineObject4 ¶
func (r AdminsApiApiAdminResetPasswordRequest) InlineObject4(inlineObject4 InlineObject4) AdminsApiApiAdminResetPasswordRequest
type AdminsApiApiChangeAdminPasswordDeprecatedRequest ¶
type AdminsApiApiChangeAdminPasswordDeprecatedRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiChangeAdminPasswordDeprecatedRequest) Execute ¶
func (r AdminsApiApiChangeAdminPasswordDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
func (AdminsApiApiChangeAdminPasswordDeprecatedRequest) PwdChange ¶
func (r AdminsApiApiChangeAdminPasswordDeprecatedRequest) PwdChange(pwdChange PwdChange) AdminsApiApiChangeAdminPasswordDeprecatedRequest
type AdminsApiApiChangeAdminPasswordRequest ¶
type AdminsApiApiChangeAdminPasswordRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiChangeAdminPasswordRequest) Execute ¶
func (r AdminsApiApiChangeAdminPasswordRequest) Execute() (*ApiResponse, *http.Response, error)
func (AdminsApiApiChangeAdminPasswordRequest) PwdChange ¶
func (r AdminsApiApiChangeAdminPasswordRequest) PwdChange(pwdChange PwdChange) AdminsApiApiChangeAdminPasswordRequest
type AdminsApiApiDeleteAdminRequest ¶
type AdminsApiApiDeleteAdminRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiDeleteAdminRequest) Execute ¶
func (r AdminsApiApiDeleteAdminRequest) Execute() (*ApiResponse, *http.Response, error)
type AdminsApiApiDisableAdmin2faRequest ¶
type AdminsApiApiDisableAdmin2faRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiDisableAdmin2faRequest) Execute ¶
func (r AdminsApiApiDisableAdmin2faRequest) Execute() (*ApiResponse, *http.Response, error)
type AdminsApiApiGenerateAdminRecoveryCodesRequest ¶
type AdminsApiApiGenerateAdminRecoveryCodesRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
type AdminsApiApiGenerateAdminTotpSecretRequest ¶
type AdminsApiApiGenerateAdminTotpSecretRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiGenerateAdminTotpSecretRequest) Execute ¶
func (r AdminsApiApiGenerateAdminTotpSecretRequest) Execute() (*InlineResponse200, *http.Response, error)
func (AdminsApiApiGenerateAdminTotpSecretRequest) InlineObject1 ¶
func (r AdminsApiApiGenerateAdminTotpSecretRequest) InlineObject1(inlineObject1 InlineObject1) AdminsApiApiGenerateAdminTotpSecretRequest
type AdminsApiApiGetAdminByUsernameRequest ¶
type AdminsApiApiGetAdminByUsernameRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
type AdminsApiApiGetAdminProfileRequest ¶
type AdminsApiApiGetAdminProfileRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiGetAdminProfileRequest) Execute ¶
func (r AdminsApiApiGetAdminProfileRequest) Execute() (*AdminProfile, *http.Response, error)
type AdminsApiApiGetAdminRecoveryCodesRequest ¶
type AdminsApiApiGetAdminRecoveryCodesRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiGetAdminRecoveryCodesRequest) Execute ¶
func (r AdminsApiApiGetAdminRecoveryCodesRequest) Execute() ([]RecoveryCode, *http.Response, error)
type AdminsApiApiGetAdminTotpConfigsRequest ¶
type AdminsApiApiGetAdminTotpConfigsRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiGetAdminTotpConfigsRequest) Execute ¶
func (r AdminsApiApiGetAdminTotpConfigsRequest) Execute() ([]TOTPConfig, *http.Response, error)
type AdminsApiApiGetAdminsRequest ¶
type AdminsApiApiGetAdminsRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiGetAdminsRequest) Execute ¶
func (r AdminsApiApiGetAdminsRequest) Execute() ([]Admin, *http.Response, error)
func (AdminsApiApiGetAdminsRequest) Limit ¶
func (r AdminsApiApiGetAdminsRequest) Limit(limit int32) AdminsApiApiGetAdminsRequest
The maximum number of items to return. Max value is 500, default is 100
func (AdminsApiApiGetAdminsRequest) Offset ¶
func (r AdminsApiApiGetAdminsRequest) Offset(offset int32) AdminsApiApiGetAdminsRequest
func (AdminsApiApiGetAdminsRequest) Order ¶
func (r AdminsApiApiGetAdminsRequest) Order(order string) AdminsApiApiGetAdminsRequest
Ordering admins by username. Default ASC
type AdminsApiApiSaveAdminTotpConfigRequest ¶
type AdminsApiApiSaveAdminTotpConfigRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiSaveAdminTotpConfigRequest) AdminTOTPConfig ¶
func (r AdminsApiApiSaveAdminTotpConfigRequest) AdminTOTPConfig(adminTOTPConfig AdminTOTPConfig) AdminsApiApiSaveAdminTotpConfigRequest
func (AdminsApiApiSaveAdminTotpConfigRequest) Execute ¶
func (r AdminsApiApiSaveAdminTotpConfigRequest) Execute() (*ApiResponse, *http.Response, error)
type AdminsApiApiUpdateAdminProfileRequest ¶
type AdminsApiApiUpdateAdminProfileRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiUpdateAdminProfileRequest) AdminProfile ¶
func (r AdminsApiApiUpdateAdminProfileRequest) AdminProfile(adminProfile AdminProfile) AdminsApiApiUpdateAdminProfileRequest
func (AdminsApiApiUpdateAdminProfileRequest) Execute ¶
func (r AdminsApiApiUpdateAdminProfileRequest) Execute() (*ApiResponse, *http.Response, error)
type AdminsApiApiUpdateAdminRequest ¶
type AdminsApiApiUpdateAdminRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiUpdateAdminRequest) Admin ¶
func (r AdminsApiApiUpdateAdminRequest) Admin(admin Admin) AdminsApiApiUpdateAdminRequest
func (AdminsApiApiUpdateAdminRequest) Execute ¶
func (r AdminsApiApiUpdateAdminRequest) Execute() (*ApiResponse, *http.Response, error)
type AdminsApiApiValidateAdminTotpSecretRequest ¶
type AdminsApiApiValidateAdminTotpSecretRequest struct { ApiService *AdminsApiService // contains filtered or unexported fields }
func (AdminsApiApiValidateAdminTotpSecretRequest) Execute ¶
func (r AdminsApiApiValidateAdminTotpSecretRequest) Execute() (*ApiResponse, *http.Response, error)
func (AdminsApiApiValidateAdminTotpSecretRequest) InlineObject2 ¶
func (r AdminsApiApiValidateAdminTotpSecretRequest) InlineObject2(inlineObject2 InlineObject2) AdminsApiApiValidateAdminTotpSecretRequest
type AdminsApiService ¶
type AdminsApiService service
AdminsApiService AdminsApi service
func (*AdminsApiService) AddAdmin ¶
func (a *AdminsApiService) AddAdmin(ctx context.Context) AdminsApiApiAddAdminRequest
AddAdmin Add admin
Adds a new admin. Recovery codes and TOTP configuration cannot be set using this API: each admin must use the specific APIs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiAddAdminRequest
func (*AdminsApiService) AddAdminExecute ¶
func (a *AdminsApiService) AddAdminExecute(r AdminsApiApiAddAdminRequest) (*Admin, *http.Response, error)
Execute executes the request
@return Admin
func (*AdminsApiService) AdminForgotPassword ¶
func (a *AdminsApiService) AdminForgotPassword(ctx context.Context, username string) AdminsApiApiAdminForgotPasswordRequest
AdminForgotPassword Send a password reset code by email
You must set up an SMTP server and the account must have a valid email address, in which case SFTPGo will send a code via email to reset the password. If the specified admin does not exist, the request will be silently ignored (a success response will be returned) to avoid disclosing existing admins
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the admin username @return AdminsApiApiAdminForgotPasswordRequest
func (*AdminsApiService) AdminForgotPasswordExecute ¶
func (a *AdminsApiService) AdminForgotPasswordExecute(r AdminsApiApiAdminForgotPasswordRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) AdminResetPassword ¶
func (a *AdminsApiService) AdminResetPassword(ctx context.Context, username string) AdminsApiApiAdminResetPasswordRequest
AdminResetPassword Reset the password
Set a new password using the code received via email
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the admin username @return AdminsApiApiAdminResetPasswordRequest
func (*AdminsApiService) AdminResetPasswordExecute ¶
func (a *AdminsApiService) AdminResetPasswordExecute(r AdminsApiApiAdminResetPasswordRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) ChangeAdminPassword ¶
func (a *AdminsApiService) ChangeAdminPassword(ctx context.Context) AdminsApiApiChangeAdminPasswordRequest
ChangeAdminPassword Change admin password
Changes the password for the logged in admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiChangeAdminPasswordRequest
func (*AdminsApiService) ChangeAdminPasswordDeprecated ¶
func (a *AdminsApiService) ChangeAdminPasswordDeprecated(ctx context.Context) AdminsApiApiChangeAdminPasswordDeprecatedRequest
ChangeAdminPasswordDeprecated Change admin password
Changes the password for the logged in admin. Please use '/admin/changepwd' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiChangeAdminPasswordDeprecatedRequest
Deprecated
func (*AdminsApiService) ChangeAdminPasswordDeprecatedExecute ¶
func (a *AdminsApiService) ChangeAdminPasswordDeprecatedExecute(r AdminsApiApiChangeAdminPasswordDeprecatedRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
func (*AdminsApiService) ChangeAdminPasswordExecute ¶
func (a *AdminsApiService) ChangeAdminPasswordExecute(r AdminsApiApiChangeAdminPasswordRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) DeleteAdmin ¶
func (a *AdminsApiService) DeleteAdmin(ctx context.Context, username string) AdminsApiApiDeleteAdminRequest
DeleteAdmin Delete admin
Deletes an existing admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the admin username @return AdminsApiApiDeleteAdminRequest
func (*AdminsApiService) DeleteAdminExecute ¶
func (a *AdminsApiService) DeleteAdminExecute(r AdminsApiApiDeleteAdminRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) DisableAdmin2fa ¶
func (a *AdminsApiService) DisableAdmin2fa(ctx context.Context, username string) AdminsApiApiDisableAdmin2faRequest
DisableAdmin2fa Disable second factor authentication
Disables second factor authentication for the given admin. This API must be used if the admin loses access to their second factor auth device and has no recovery codes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the admin username @return AdminsApiApiDisableAdmin2faRequest
func (*AdminsApiService) DisableAdmin2faExecute ¶
func (a *AdminsApiService) DisableAdmin2faExecute(r AdminsApiApiDisableAdmin2faRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) GenerateAdminRecoveryCodes ¶
func (a *AdminsApiService) GenerateAdminRecoveryCodes(ctx context.Context) AdminsApiApiGenerateAdminRecoveryCodesRequest
GenerateAdminRecoveryCodes Generate recovery codes
Generates new recovery codes for the logged in admin. Generating new recovery codes you automatically invalidate old ones
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiGenerateAdminRecoveryCodesRequest
func (*AdminsApiService) GenerateAdminRecoveryCodesExecute ¶
func (a *AdminsApiService) GenerateAdminRecoveryCodesExecute(r AdminsApiApiGenerateAdminRecoveryCodesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AdminsApiService) GenerateAdminTotpSecret ¶
func (a *AdminsApiService) GenerateAdminTotpSecret(ctx context.Context) AdminsApiApiGenerateAdminTotpSecretRequest
GenerateAdminTotpSecret Generate a new TOTP secret
Generates a new TOTP secret, including the QR code as png, using the specified configuration for the logged in admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiGenerateAdminTotpSecretRequest
func (*AdminsApiService) GenerateAdminTotpSecretExecute ¶
func (a *AdminsApiService) GenerateAdminTotpSecretExecute(r AdminsApiApiGenerateAdminTotpSecretRequest) (*InlineResponse200, *http.Response, error)
Execute executes the request
@return InlineResponse200
func (*AdminsApiService) GetAdminByUsername ¶
func (a *AdminsApiService) GetAdminByUsername(ctx context.Context, username string) AdminsApiApiGetAdminByUsernameRequest
GetAdminByUsername Find admins by username
Returns the admin with the given username, if it exists. For security reasons the hashed password is omitted in the response
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the admin username @return AdminsApiApiGetAdminByUsernameRequest
func (*AdminsApiService) GetAdminByUsernameExecute ¶
func (a *AdminsApiService) GetAdminByUsernameExecute(r AdminsApiApiGetAdminByUsernameRequest) (*Admin, *http.Response, error)
Execute executes the request
@return Admin
func (*AdminsApiService) GetAdminProfile ¶
func (a *AdminsApiService) GetAdminProfile(ctx context.Context) AdminsApiApiGetAdminProfileRequest
GetAdminProfile Get admin profile
Returns the profile for the logged in admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiGetAdminProfileRequest
func (*AdminsApiService) GetAdminProfileExecute ¶
func (a *AdminsApiService) GetAdminProfileExecute(r AdminsApiApiGetAdminProfileRequest) (*AdminProfile, *http.Response, error)
Execute executes the request
@return AdminProfile
func (*AdminsApiService) GetAdminRecoveryCodes ¶
func (a *AdminsApiService) GetAdminRecoveryCodes(ctx context.Context) AdminsApiApiGetAdminRecoveryCodesRequest
GetAdminRecoveryCodes Get recovery codes
Returns the recovery codes for the logged in admin. Recovery codes can be used if the admin loses access to their second factor auth device. Recovery codes are returned unencrypted
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiGetAdminRecoveryCodesRequest
func (*AdminsApiService) GetAdminRecoveryCodesExecute ¶
func (a *AdminsApiService) GetAdminRecoveryCodesExecute(r AdminsApiApiGetAdminRecoveryCodesRequest) ([]RecoveryCode, *http.Response, error)
Execute executes the request
@return []RecoveryCode
func (*AdminsApiService) GetAdminTotpConfigs ¶
func (a *AdminsApiService) GetAdminTotpConfigs(ctx context.Context) AdminsApiApiGetAdminTotpConfigsRequest
GetAdminTotpConfigs Get available TOTP configuration
Returns the available TOTP configurations for the logged in admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiGetAdminTotpConfigsRequest
func (*AdminsApiService) GetAdminTotpConfigsExecute ¶
func (a *AdminsApiService) GetAdminTotpConfigsExecute(r AdminsApiApiGetAdminTotpConfigsRequest) ([]TOTPConfig, *http.Response, error)
Execute executes the request
@return []TOTPConfig
func (*AdminsApiService) GetAdmins ¶
func (a *AdminsApiService) GetAdmins(ctx context.Context) AdminsApiApiGetAdminsRequest
GetAdmins Get admins
Returns an array with one or more admins. For security reasons hashed passwords are omitted in the response
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiGetAdminsRequest
func (*AdminsApiService) GetAdminsExecute ¶
func (a *AdminsApiService) GetAdminsExecute(r AdminsApiApiGetAdminsRequest) ([]Admin, *http.Response, error)
Execute executes the request
@return []Admin
func (*AdminsApiService) SaveAdminTotpConfig ¶
func (a *AdminsApiService) SaveAdminTotpConfig(ctx context.Context) AdminsApiApiSaveAdminTotpConfigRequest
SaveAdminTotpConfig Save a TOTP config
Saves the specified TOTP config for the logged in admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiSaveAdminTotpConfigRequest
func (*AdminsApiService) SaveAdminTotpConfigExecute ¶
func (a *AdminsApiService) SaveAdminTotpConfigExecute(r AdminsApiApiSaveAdminTotpConfigRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) UpdateAdmin ¶
func (a *AdminsApiService) UpdateAdmin(ctx context.Context, username string) AdminsApiApiUpdateAdminRequest
UpdateAdmin Update admin
Updates an existing admin. Recovery codes and TOTP configuration cannot be set/updated using this API: each admin must use the specific APIs. You are not allowed to update the admin impersonated using an API key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the admin username @return AdminsApiApiUpdateAdminRequest
func (*AdminsApiService) UpdateAdminExecute ¶
func (a *AdminsApiService) UpdateAdminExecute(r AdminsApiApiUpdateAdminRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) UpdateAdminProfile ¶
func (a *AdminsApiService) UpdateAdminProfile(ctx context.Context) AdminsApiApiUpdateAdminProfileRequest
UpdateAdminProfile Update admin profile
Allows to update the profile for the logged in admin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiUpdateAdminProfileRequest
func (*AdminsApiService) UpdateAdminProfileExecute ¶
func (a *AdminsApiService) UpdateAdminProfileExecute(r AdminsApiApiUpdateAdminProfileRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*AdminsApiService) ValidateAdminTotpSecret ¶
func (a *AdminsApiService) ValidateAdminTotpSecret(ctx context.Context) AdminsApiApiValidateAdminTotpSecretRequest
ValidateAdminTotpSecret Validate a one time authentication code
Checks if the given authentication code can be validated using the specified secret and config name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminsApiApiValidateAdminTotpSecretRequest
func (*AdminsApiService) ValidateAdminTotpSecretExecute ¶
func (a *AdminsApiService) ValidateAdminTotpSecretExecute(r AdminsApiApiValidateAdminTotpSecretRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type ApiResponse ¶
type ApiResponse struct { // message, can be empty Message *string `json:"message,omitempty"` // error description if any Error *string `json:"error,omitempty"` }
ApiResponse struct for ApiResponse
func NewApiResponse ¶
func NewApiResponse() *ApiResponse
NewApiResponse instantiates a new ApiResponse 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 NewApiResponseWithDefaults ¶
func NewApiResponseWithDefaults() *ApiResponse
NewApiResponseWithDefaults instantiates a new ApiResponse 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 (*ApiResponse) GetError ¶
func (o *ApiResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ApiResponse) GetErrorOk ¶
func (o *ApiResponse) 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 (*ApiResponse) GetMessage ¶
func (o *ApiResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ApiResponse) GetMessageOk ¶
func (o *ApiResponse) 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 (*ApiResponse) HasError ¶
func (o *ApiResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*ApiResponse) HasMessage ¶
func (o *ApiResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ApiResponse) MarshalJSON ¶
func (o ApiResponse) MarshalJSON() ([]byte, error)
func (*ApiResponse) SetError ¶
func (o *ApiResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ApiResponse) SetMessage ¶
func (o *ApiResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type AuthAPIKey ¶
type AuthAPIKey struct { // unique key identifier Id *string `json:"id,omitempty"` // User friendly key name Name *string `json:"name,omitempty"` // We store the hash of the key. This is just like a password. For security reasons this field is omitted when you search/get API keys Key *string `json:"key,omitempty"` Scope *AuthAPIKeyScope `json:"scope,omitempty"` // creation time as unix timestamp in milliseconds CreatedAt *int64 `json:"created_at,omitempty"` // last update time as unix timestamp in milliseconds UpdatedAt *int64 `json:"updated_at,omitempty"` // last use time as unix timestamp in milliseconds. It is saved at most once every 10 minutes LastUseAt *int64 `json:"last_use_at,omitempty"` // expiration time as unix timestamp in milliseconds ExpiresAt *int64 `json:"expires_at,omitempty"` // optional description Description *string `json:"description,omitempty"` // username associated with this API key. If empty and the scope is \"user scope\" the key can impersonate any user User *string `json:"user,omitempty"` // admin associated with this API key. If empty and the scope is \"admin scope\" the key can impersonate any admin Admin *string `json:"admin,omitempty"` }
AuthAPIKey struct for AuthAPIKey
func NewAuthAPIKey ¶
func NewAuthAPIKey() *AuthAPIKey
NewAuthAPIKey instantiates a new AuthAPIKey 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 NewAuthAPIKeyWithDefaults ¶
func NewAuthAPIKeyWithDefaults() *AuthAPIKey
NewAuthAPIKeyWithDefaults instantiates a new AuthAPIKey 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 (*AuthAPIKey) GetAdmin ¶
func (o *AuthAPIKey) GetAdmin() string
GetAdmin returns the Admin field value if set, zero value otherwise.
func (*AuthAPIKey) GetAdminOk ¶
func (o *AuthAPIKey) GetAdminOk() (*string, 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 (*AuthAPIKey) GetCreatedAt ¶
func (o *AuthAPIKey) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AuthAPIKey) GetCreatedAtOk ¶
func (o *AuthAPIKey) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetDescription ¶
func (o *AuthAPIKey) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AuthAPIKey) GetDescriptionOk ¶
func (o *AuthAPIKey) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetExpiresAt ¶
func (o *AuthAPIKey) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*AuthAPIKey) GetExpiresAtOk ¶
func (o *AuthAPIKey) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetId ¶
func (o *AuthAPIKey) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AuthAPIKey) GetIdOk ¶
func (o *AuthAPIKey) 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 (*AuthAPIKey) GetKey ¶
func (o *AuthAPIKey) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*AuthAPIKey) GetKeyOk ¶
func (o *AuthAPIKey) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetLastUseAt ¶
func (o *AuthAPIKey) GetLastUseAt() int64
GetLastUseAt returns the LastUseAt field value if set, zero value otherwise.
func (*AuthAPIKey) GetLastUseAtOk ¶
func (o *AuthAPIKey) GetLastUseAtOk() (*int64, bool)
GetLastUseAtOk returns a tuple with the LastUseAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetName ¶
func (o *AuthAPIKey) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AuthAPIKey) GetNameOk ¶
func (o *AuthAPIKey) 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 (*AuthAPIKey) GetScope ¶
func (o *AuthAPIKey) GetScope() AuthAPIKeyScope
GetScope returns the Scope field value if set, zero value otherwise.
func (*AuthAPIKey) GetScopeOk ¶
func (o *AuthAPIKey) GetScopeOk() (*AuthAPIKeyScope, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetUpdatedAt ¶
func (o *AuthAPIKey) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AuthAPIKey) GetUpdatedAtOk ¶
func (o *AuthAPIKey) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) GetUser ¶
func (o *AuthAPIKey) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*AuthAPIKey) GetUserOk ¶
func (o *AuthAPIKey) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthAPIKey) HasAdmin ¶
func (o *AuthAPIKey) HasAdmin() bool
HasAdmin returns a boolean if a field has been set.
func (*AuthAPIKey) HasCreatedAt ¶
func (o *AuthAPIKey) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AuthAPIKey) HasDescription ¶
func (o *AuthAPIKey) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AuthAPIKey) HasExpiresAt ¶
func (o *AuthAPIKey) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*AuthAPIKey) HasId ¶
func (o *AuthAPIKey) HasId() bool
HasId returns a boolean if a field has been set.
func (*AuthAPIKey) HasKey ¶
func (o *AuthAPIKey) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*AuthAPIKey) HasLastUseAt ¶
func (o *AuthAPIKey) HasLastUseAt() bool
HasLastUseAt returns a boolean if a field has been set.
func (*AuthAPIKey) HasName ¶
func (o *AuthAPIKey) HasName() bool
HasName returns a boolean if a field has been set.
func (*AuthAPIKey) HasScope ¶
func (o *AuthAPIKey) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*AuthAPIKey) HasUpdatedAt ¶
func (o *AuthAPIKey) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*AuthAPIKey) HasUser ¶
func (o *AuthAPIKey) HasUser() bool
HasUser returns a boolean if a field has been set.
func (AuthAPIKey) MarshalJSON ¶
func (o AuthAPIKey) MarshalJSON() ([]byte, error)
func (*AuthAPIKey) SetAdmin ¶
func (o *AuthAPIKey) SetAdmin(v string)
SetAdmin gets a reference to the given string and assigns it to the Admin field.
func (*AuthAPIKey) SetCreatedAt ¶
func (o *AuthAPIKey) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*AuthAPIKey) SetDescription ¶
func (o *AuthAPIKey) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AuthAPIKey) SetExpiresAt ¶
func (o *AuthAPIKey) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*AuthAPIKey) SetId ¶
func (o *AuthAPIKey) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AuthAPIKey) SetKey ¶
func (o *AuthAPIKey) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*AuthAPIKey) SetLastUseAt ¶
func (o *AuthAPIKey) SetLastUseAt(v int64)
SetLastUseAt gets a reference to the given int64 and assigns it to the LastUseAt field.
func (*AuthAPIKey) SetName ¶
func (o *AuthAPIKey) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AuthAPIKey) SetScope ¶
func (o *AuthAPIKey) SetScope(v AuthAPIKeyScope)
SetScope gets a reference to the given AuthAPIKeyScope and assigns it to the Scope field.
func (*AuthAPIKey) SetUpdatedAt ¶
func (o *AuthAPIKey) SetUpdatedAt(v int64)
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (*AuthAPIKey) SetUser ¶
func (o *AuthAPIKey) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
type AuthAPIKeyScope ¶
type AuthAPIKeyScope int32
AuthAPIKeyScope Options: * `1` - admin scope. The API key will be used to impersonate an SFTPGo admin * `2` - user scope. The API key will be used to impersonate an SFTPGo user
const ( AUTHAPIKEYSCOPE__1 AuthAPIKeyScope = 1 AUTHAPIKEYSCOPE__2 AuthAPIKeyScope = 2 )
List of AuthAPIKeyScope
func NewAuthAPIKeyScopeFromValue ¶
func NewAuthAPIKeyScopeFromValue(v int32) (*AuthAPIKeyScope, error)
NewAuthAPIKeyScopeFromValue returns a pointer to a valid AuthAPIKeyScope for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AuthAPIKeyScope) IsValid ¶
func (v AuthAPIKeyScope) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AuthAPIKeyScope) Ptr ¶
func (v AuthAPIKeyScope) Ptr() *AuthAPIKeyScope
Ptr returns reference to AuthAPIKeyScope value
func (*AuthAPIKeyScope) UnmarshalJSON ¶
func (v *AuthAPIKeyScope) UnmarshalJSON(src []byte) error
type AzureBlobFsConfig ¶
type AzureBlobFsConfig struct { Container *string `json:"container,omitempty"` // Storage Account Name, leave blank to use SAS URL AccountName *string `json:"account_name,omitempty"` AccountKey *Secret `json:"account_key,omitempty"` SasUrl *Secret `json:"sas_url,omitempty"` // optional endpoint. Default is \"blob.core.windows.net\". If you use the emulator the endpoint must include the protocol, for example \"http://127.0.0.1:10000\" Endpoint *string `json:"endpoint,omitempty"` // the buffer size (in MB) to use for multipart uploads. If this value is set to zero, the default value (4MB) will be used. UploadPartSize *int32 `json:"upload_part_size,omitempty"` // the number of parts to upload in parallel. If this value is set to zero, the default value (2) will be used UploadConcurrency *int32 `json:"upload_concurrency,omitempty"` AccessTier *string `json:"access_tier,omitempty"` // key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with \"/\" and must end with \"/\". If empty the whole container contents will be available KeyPrefix *string `json:"key_prefix,omitempty"` UseEmulator *bool `json:"use_emulator,omitempty"` }
AzureBlobFsConfig Azure Blob Storage configuration details
func NewAzureBlobFsConfig ¶
func NewAzureBlobFsConfig() *AzureBlobFsConfig
NewAzureBlobFsConfig instantiates a new AzureBlobFsConfig 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 NewAzureBlobFsConfigWithDefaults ¶
func NewAzureBlobFsConfigWithDefaults() *AzureBlobFsConfig
NewAzureBlobFsConfigWithDefaults instantiates a new AzureBlobFsConfig 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 (*AzureBlobFsConfig) GetAccessTier ¶
func (o *AzureBlobFsConfig) GetAccessTier() string
GetAccessTier returns the AccessTier field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetAccessTierOk ¶
func (o *AzureBlobFsConfig) GetAccessTierOk() (*string, bool)
GetAccessTierOk returns a tuple with the AccessTier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetAccountKey ¶
func (o *AzureBlobFsConfig) GetAccountKey() Secret
GetAccountKey returns the AccountKey field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetAccountKeyOk ¶
func (o *AzureBlobFsConfig) GetAccountKeyOk() (*Secret, bool)
GetAccountKeyOk returns a tuple with the AccountKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetAccountName ¶
func (o *AzureBlobFsConfig) GetAccountName() string
GetAccountName returns the AccountName field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetAccountNameOk ¶
func (o *AzureBlobFsConfig) GetAccountNameOk() (*string, bool)
GetAccountNameOk returns a tuple with the AccountName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetContainer ¶
func (o *AzureBlobFsConfig) GetContainer() string
GetContainer returns the Container field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetContainerOk ¶
func (o *AzureBlobFsConfig) GetContainerOk() (*string, bool)
GetContainerOk returns a tuple with the Container field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetEndpoint ¶
func (o *AzureBlobFsConfig) GetEndpoint() string
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetEndpointOk ¶
func (o *AzureBlobFsConfig) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetKeyPrefix ¶
func (o *AzureBlobFsConfig) GetKeyPrefix() string
GetKeyPrefix returns the KeyPrefix field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetKeyPrefixOk ¶
func (o *AzureBlobFsConfig) GetKeyPrefixOk() (*string, bool)
GetKeyPrefixOk returns a tuple with the KeyPrefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetSasUrl ¶
func (o *AzureBlobFsConfig) GetSasUrl() Secret
GetSasUrl returns the SasUrl field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetSasUrlOk ¶
func (o *AzureBlobFsConfig) GetSasUrlOk() (*Secret, bool)
GetSasUrlOk returns a tuple with the SasUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetUploadConcurrency ¶
func (o *AzureBlobFsConfig) GetUploadConcurrency() int32
GetUploadConcurrency returns the UploadConcurrency field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetUploadConcurrencyOk ¶
func (o *AzureBlobFsConfig) GetUploadConcurrencyOk() (*int32, bool)
GetUploadConcurrencyOk returns a tuple with the UploadConcurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetUploadPartSize ¶
func (o *AzureBlobFsConfig) GetUploadPartSize() int32
GetUploadPartSize returns the UploadPartSize field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetUploadPartSizeOk ¶
func (o *AzureBlobFsConfig) GetUploadPartSizeOk() (*int32, bool)
GetUploadPartSizeOk returns a tuple with the UploadPartSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) GetUseEmulator ¶
func (o *AzureBlobFsConfig) GetUseEmulator() bool
GetUseEmulator returns the UseEmulator field value if set, zero value otherwise.
func (*AzureBlobFsConfig) GetUseEmulatorOk ¶
func (o *AzureBlobFsConfig) GetUseEmulatorOk() (*bool, bool)
GetUseEmulatorOk returns a tuple with the UseEmulator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AzureBlobFsConfig) HasAccessTier ¶
func (o *AzureBlobFsConfig) HasAccessTier() bool
HasAccessTier returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasAccountKey ¶
func (o *AzureBlobFsConfig) HasAccountKey() bool
HasAccountKey returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasAccountName ¶
func (o *AzureBlobFsConfig) HasAccountName() bool
HasAccountName returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasContainer ¶
func (o *AzureBlobFsConfig) HasContainer() bool
HasContainer returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasEndpoint ¶
func (o *AzureBlobFsConfig) HasEndpoint() bool
HasEndpoint returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasKeyPrefix ¶
func (o *AzureBlobFsConfig) HasKeyPrefix() bool
HasKeyPrefix returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasSasUrl ¶
func (o *AzureBlobFsConfig) HasSasUrl() bool
HasSasUrl returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasUploadConcurrency ¶
func (o *AzureBlobFsConfig) HasUploadConcurrency() bool
HasUploadConcurrency returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasUploadPartSize ¶
func (o *AzureBlobFsConfig) HasUploadPartSize() bool
HasUploadPartSize returns a boolean if a field has been set.
func (*AzureBlobFsConfig) HasUseEmulator ¶
func (o *AzureBlobFsConfig) HasUseEmulator() bool
HasUseEmulator returns a boolean if a field has been set.
func (AzureBlobFsConfig) MarshalJSON ¶
func (o AzureBlobFsConfig) MarshalJSON() ([]byte, error)
func (*AzureBlobFsConfig) SetAccessTier ¶
func (o *AzureBlobFsConfig) SetAccessTier(v string)
SetAccessTier gets a reference to the given string and assigns it to the AccessTier field.
func (*AzureBlobFsConfig) SetAccountKey ¶
func (o *AzureBlobFsConfig) SetAccountKey(v Secret)
SetAccountKey gets a reference to the given Secret and assigns it to the AccountKey field.
func (*AzureBlobFsConfig) SetAccountName ¶
func (o *AzureBlobFsConfig) SetAccountName(v string)
SetAccountName gets a reference to the given string and assigns it to the AccountName field.
func (*AzureBlobFsConfig) SetContainer ¶
func (o *AzureBlobFsConfig) SetContainer(v string)
SetContainer gets a reference to the given string and assigns it to the Container field.
func (*AzureBlobFsConfig) SetEndpoint ¶
func (o *AzureBlobFsConfig) SetEndpoint(v string)
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*AzureBlobFsConfig) SetKeyPrefix ¶
func (o *AzureBlobFsConfig) SetKeyPrefix(v string)
SetKeyPrefix gets a reference to the given string and assigns it to the KeyPrefix field.
func (*AzureBlobFsConfig) SetSasUrl ¶
func (o *AzureBlobFsConfig) SetSasUrl(v Secret)
SetSasUrl gets a reference to the given Secret and assigns it to the SasUrl field.
func (*AzureBlobFsConfig) SetUploadConcurrency ¶
func (o *AzureBlobFsConfig) SetUploadConcurrency(v int32)
SetUploadConcurrency gets a reference to the given int32 and assigns it to the UploadConcurrency field.
func (*AzureBlobFsConfig) SetUploadPartSize ¶
func (o *AzureBlobFsConfig) SetUploadPartSize(v int32)
SetUploadPartSize gets a reference to the given int32 and assigns it to the UploadPartSize field.
func (*AzureBlobFsConfig) SetUseEmulator ¶
func (o *AzureBlobFsConfig) SetUseEmulator(v bool)
SetUseEmulator gets a reference to the given bool and assigns it to the UseEmulator field.
type BackupData ¶
type BackupData struct { Users []User `json:"users,omitempty"` Folders []BaseVirtualFolder `json:"folders,omitempty"` Admins []Admin `json:"admins,omitempty"` ApiKeys []AuthAPIKey `json:"api_keys,omitempty"` Version *int32 `json:"version,omitempty"` }
BackupData struct for BackupData
func NewBackupData ¶
func NewBackupData() *BackupData
NewBackupData instantiates a new BackupData 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 NewBackupDataWithDefaults ¶
func NewBackupDataWithDefaults() *BackupData
NewBackupDataWithDefaults instantiates a new BackupData 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 (*BackupData) GetAdmins ¶
func (o *BackupData) GetAdmins() []Admin
GetAdmins returns the Admins field value if set, zero value otherwise.
func (*BackupData) GetAdminsOk ¶
func (o *BackupData) GetAdminsOk() ([]Admin, bool)
GetAdminsOk returns a tuple with the Admins field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupData) GetApiKeys ¶
func (o *BackupData) GetApiKeys() []AuthAPIKey
GetApiKeys returns the ApiKeys field value if set, zero value otherwise.
func (*BackupData) GetApiKeysOk ¶
func (o *BackupData) GetApiKeysOk() ([]AuthAPIKey, bool)
GetApiKeysOk returns a tuple with the ApiKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupData) GetFolders ¶
func (o *BackupData) GetFolders() []BaseVirtualFolder
GetFolders returns the Folders field value if set, zero value otherwise.
func (*BackupData) GetFoldersOk ¶
func (o *BackupData) GetFoldersOk() ([]BaseVirtualFolder, bool)
GetFoldersOk returns a tuple with the Folders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupData) GetShares ¶
func (o *BackupData) GetShares() []Share
GetShares returns the Shares field value if set, zero value otherwise.
func (*BackupData) GetSharesOk ¶
func (o *BackupData) GetSharesOk() ([]Share, bool)
GetSharesOk returns a tuple with the Shares field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupData) GetUsers ¶
func (o *BackupData) GetUsers() []User
GetUsers returns the Users field value if set, zero value otherwise.
func (*BackupData) GetUsersOk ¶
func (o *BackupData) GetUsersOk() ([]User, 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 (*BackupData) GetVersion ¶
func (o *BackupData) GetVersion() int32
GetVersion returns the Version field value if set, zero value otherwise.
func (*BackupData) GetVersionOk ¶
func (o *BackupData) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupData) HasAdmins ¶
func (o *BackupData) HasAdmins() bool
HasAdmins returns a boolean if a field has been set.
func (*BackupData) HasApiKeys ¶
func (o *BackupData) HasApiKeys() bool
HasApiKeys returns a boolean if a field has been set.
func (*BackupData) HasFolders ¶
func (o *BackupData) HasFolders() bool
HasFolders returns a boolean if a field has been set.
func (*BackupData) HasShares ¶
func (o *BackupData) HasShares() bool
HasShares returns a boolean if a field has been set.
func (*BackupData) HasUsers ¶
func (o *BackupData) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (*BackupData) HasVersion ¶
func (o *BackupData) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (BackupData) MarshalJSON ¶
func (o BackupData) MarshalJSON() ([]byte, error)
func (*BackupData) SetAdmins ¶
func (o *BackupData) SetAdmins(v []Admin)
SetAdmins gets a reference to the given []Admin and assigns it to the Admins field.
func (*BackupData) SetApiKeys ¶
func (o *BackupData) SetApiKeys(v []AuthAPIKey)
SetApiKeys gets a reference to the given []AuthAPIKey and assigns it to the ApiKeys field.
func (*BackupData) SetFolders ¶
func (o *BackupData) SetFolders(v []BaseVirtualFolder)
SetFolders gets a reference to the given []BaseVirtualFolder and assigns it to the Folders field.
func (*BackupData) SetShares ¶
func (o *BackupData) SetShares(v []Share)
SetShares gets a reference to the given []Share and assigns it to the Shares field.
func (*BackupData) SetUsers ¶
func (o *BackupData) SetUsers(v []User)
SetUsers gets a reference to the given []User and assigns it to the Users field.
func (*BackupData) SetVersion ¶
func (o *BackupData) SetVersion(v int32)
SetVersion gets a reference to the given int32 and assigns it to the Version field.
type BanStatus ¶
type BanStatus struct { // if null the host is not banned DateTime NullableTime `json:"date_time,omitempty"` }
BanStatus struct for BanStatus
func NewBanStatus ¶
func NewBanStatus() *BanStatus
NewBanStatus instantiates a new BanStatus 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 NewBanStatusWithDefaults ¶
func NewBanStatusWithDefaults() *BanStatus
NewBanStatusWithDefaults instantiates a new BanStatus 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 (*BanStatus) GetDateTime ¶
GetDateTime returns the DateTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BanStatus) GetDateTimeOk ¶
GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BanStatus) HasDateTime ¶
HasDateTime returns a boolean if a field has been set.
func (BanStatus) MarshalJSON ¶
func (*BanStatus) SetDateTime ¶
SetDateTime gets a reference to the given NullableTime and assigns it to the DateTime field.
func (*BanStatus) SetDateTimeNil ¶
func (o *BanStatus) SetDateTimeNil()
SetDateTimeNil sets the value for DateTime to be an explicit nil
func (*BanStatus) UnsetDateTime ¶
func (o *BanStatus) UnsetDateTime()
UnsetDateTime ensures that no value is present for DateTime, not even an explicit nil
type BandwidthLimit ¶
type BandwidthLimit struct { // Source networks in CIDR notation as defined in RFC 4632 and RFC 4291 for example `192.0.2.0/24` or `2001:db8::/32`. The limit applies if the defined networks contain the client IP Sources []string `json:"sources,omitempty"` // Maximum upload bandwidth as KB/s, 0 means unlimited UploadBandwidth *int32 `json:"upload_bandwidth,omitempty"` // Maximum download bandwidth as KB/s, 0 means unlimited DownloadBandwidth *int32 `json:"download_bandwidth,omitempty"` }
BandwidthLimit struct for BandwidthLimit
func NewBandwidthLimit ¶
func NewBandwidthLimit() *BandwidthLimit
NewBandwidthLimit instantiates a new BandwidthLimit 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 NewBandwidthLimitWithDefaults ¶
func NewBandwidthLimitWithDefaults() *BandwidthLimit
NewBandwidthLimitWithDefaults instantiates a new BandwidthLimit 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 (*BandwidthLimit) GetDownloadBandwidth ¶
func (o *BandwidthLimit) GetDownloadBandwidth() int32
GetDownloadBandwidth returns the DownloadBandwidth field value if set, zero value otherwise.
func (*BandwidthLimit) GetDownloadBandwidthOk ¶
func (o *BandwidthLimit) GetDownloadBandwidthOk() (*int32, bool)
GetDownloadBandwidthOk returns a tuple with the DownloadBandwidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BandwidthLimit) GetSources ¶
func (o *BandwidthLimit) GetSources() []string
GetSources returns the Sources field value if set, zero value otherwise.
func (*BandwidthLimit) GetSourcesOk ¶
func (o *BandwidthLimit) GetSourcesOk() ([]string, bool)
GetSourcesOk returns a tuple with the Sources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BandwidthLimit) GetUploadBandwidth ¶
func (o *BandwidthLimit) GetUploadBandwidth() int32
GetUploadBandwidth returns the UploadBandwidth field value if set, zero value otherwise.
func (*BandwidthLimit) GetUploadBandwidthOk ¶
func (o *BandwidthLimit) GetUploadBandwidthOk() (*int32, bool)
GetUploadBandwidthOk returns a tuple with the UploadBandwidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BandwidthLimit) HasDownloadBandwidth ¶
func (o *BandwidthLimit) HasDownloadBandwidth() bool
HasDownloadBandwidth returns a boolean if a field has been set.
func (*BandwidthLimit) HasSources ¶
func (o *BandwidthLimit) HasSources() bool
HasSources returns a boolean if a field has been set.
func (*BandwidthLimit) HasUploadBandwidth ¶
func (o *BandwidthLimit) HasUploadBandwidth() bool
HasUploadBandwidth returns a boolean if a field has been set.
func (BandwidthLimit) MarshalJSON ¶
func (o BandwidthLimit) MarshalJSON() ([]byte, error)
func (*BandwidthLimit) SetDownloadBandwidth ¶
func (o *BandwidthLimit) SetDownloadBandwidth(v int32)
SetDownloadBandwidth gets a reference to the given int32 and assigns it to the DownloadBandwidth field.
func (*BandwidthLimit) SetSources ¶
func (o *BandwidthLimit) SetSources(v []string)
SetSources gets a reference to the given []string and assigns it to the Sources field.
func (*BandwidthLimit) SetUploadBandwidth ¶
func (o *BandwidthLimit) SetUploadBandwidth(v int32)
SetUploadBandwidth gets a reference to the given int32 and assigns it to the UploadBandwidth field.
type BaseTOTPConfig ¶
type BaseTOTPConfig struct { Enabled *bool `json:"enabled,omitempty"` // This name must be defined within the \"totp\" section of the SFTPGo configuration file. You will be unable to save a user/admin referencing a missing config_name ConfigName *string `json:"config_name,omitempty"` Secret *Secret `json:"secret,omitempty"` }
BaseTOTPConfig struct for BaseTOTPConfig
func NewBaseTOTPConfig ¶
func NewBaseTOTPConfig() *BaseTOTPConfig
NewBaseTOTPConfig instantiates a new BaseTOTPConfig 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 NewBaseTOTPConfigWithDefaults ¶
func NewBaseTOTPConfigWithDefaults() *BaseTOTPConfig
NewBaseTOTPConfigWithDefaults instantiates a new BaseTOTPConfig 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 (*BaseTOTPConfig) GetConfigName ¶
func (o *BaseTOTPConfig) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*BaseTOTPConfig) GetConfigNameOk ¶
func (o *BaseTOTPConfig) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseTOTPConfig) GetEnabled ¶
func (o *BaseTOTPConfig) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*BaseTOTPConfig) GetEnabledOk ¶
func (o *BaseTOTPConfig) 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 (*BaseTOTPConfig) GetSecret ¶
func (o *BaseTOTPConfig) GetSecret() Secret
GetSecret returns the Secret field value if set, zero value otherwise.
func (*BaseTOTPConfig) GetSecretOk ¶
func (o *BaseTOTPConfig) GetSecretOk() (*Secret, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseTOTPConfig) HasConfigName ¶
func (o *BaseTOTPConfig) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (*BaseTOTPConfig) HasEnabled ¶
func (o *BaseTOTPConfig) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*BaseTOTPConfig) HasSecret ¶
func (o *BaseTOTPConfig) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (BaseTOTPConfig) MarshalJSON ¶
func (o BaseTOTPConfig) MarshalJSON() ([]byte, error)
func (*BaseTOTPConfig) SetConfigName ¶
func (o *BaseTOTPConfig) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
func (*BaseTOTPConfig) SetEnabled ¶
func (o *BaseTOTPConfig) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*BaseTOTPConfig) SetSecret ¶
func (o *BaseTOTPConfig) SetSecret(v Secret)
SetSecret gets a reference to the given Secret and assigns it to the Secret field.
type BaseVirtualFolder ¶
type BaseVirtualFolder struct { Id *int32 `json:"id,omitempty"` // unique name for this virtual folder Name *string `json:"name,omitempty"` // absolute filesystem path to use as virtual folder MappedPath *string `json:"mapped_path,omitempty"` // optional description Description *string `json:"description,omitempty"` UsedQuotaSize *int64 `json:"used_quota_size,omitempty"` UsedQuotaFiles *int32 `json:"used_quota_files,omitempty"` // Last quota update as unix timestamp in milliseconds LastQuotaUpdate *int64 `json:"last_quota_update,omitempty"` // list of usernames associated with this virtual folder Users []string `json:"users,omitempty"` Filesystem *FilesystemConfig `json:"filesystem,omitempty"` }
BaseVirtualFolder Defines the filesystem for the virtual folder and the used quota limits. The same folder can be shared among multiple users and each user can have different quota limits or a different virtual path.
func NewBaseVirtualFolder ¶
func NewBaseVirtualFolder() *BaseVirtualFolder
NewBaseVirtualFolder instantiates a new BaseVirtualFolder 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 NewBaseVirtualFolderWithDefaults ¶
func NewBaseVirtualFolderWithDefaults() *BaseVirtualFolder
NewBaseVirtualFolderWithDefaults instantiates a new BaseVirtualFolder 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 (*BaseVirtualFolder) GetDescription ¶
func (o *BaseVirtualFolder) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetDescriptionOk ¶
func (o *BaseVirtualFolder) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseVirtualFolder) GetFilesystem ¶
func (o *BaseVirtualFolder) GetFilesystem() FilesystemConfig
GetFilesystem returns the Filesystem field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetFilesystemOk ¶
func (o *BaseVirtualFolder) GetFilesystemOk() (*FilesystemConfig, bool)
GetFilesystemOk returns a tuple with the Filesystem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseVirtualFolder) GetId ¶
func (o *BaseVirtualFolder) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetIdOk ¶
func (o *BaseVirtualFolder) GetIdOk() (*int32, 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 (*BaseVirtualFolder) GetLastQuotaUpdate ¶
func (o *BaseVirtualFolder) GetLastQuotaUpdate() int64
GetLastQuotaUpdate returns the LastQuotaUpdate field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetLastQuotaUpdateOk ¶
func (o *BaseVirtualFolder) GetLastQuotaUpdateOk() (*int64, bool)
GetLastQuotaUpdateOk returns a tuple with the LastQuotaUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseVirtualFolder) GetMappedPath ¶
func (o *BaseVirtualFolder) GetMappedPath() string
GetMappedPath returns the MappedPath field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetMappedPathOk ¶
func (o *BaseVirtualFolder) GetMappedPathOk() (*string, bool)
GetMappedPathOk returns a tuple with the MappedPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseVirtualFolder) GetName ¶
func (o *BaseVirtualFolder) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetNameOk ¶
func (o *BaseVirtualFolder) 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 (*BaseVirtualFolder) GetUsedQuotaFiles ¶
func (o *BaseVirtualFolder) GetUsedQuotaFiles() int32
GetUsedQuotaFiles returns the UsedQuotaFiles field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetUsedQuotaFilesOk ¶
func (o *BaseVirtualFolder) GetUsedQuotaFilesOk() (*int32, bool)
GetUsedQuotaFilesOk returns a tuple with the UsedQuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseVirtualFolder) GetUsedQuotaSize ¶
func (o *BaseVirtualFolder) GetUsedQuotaSize() int64
GetUsedQuotaSize returns the UsedQuotaSize field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetUsedQuotaSizeOk ¶
func (o *BaseVirtualFolder) GetUsedQuotaSizeOk() (*int64, bool)
GetUsedQuotaSizeOk returns a tuple with the UsedQuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseVirtualFolder) GetUsers ¶
func (o *BaseVirtualFolder) GetUsers() []string
GetUsers returns the Users field value if set, zero value otherwise.
func (*BaseVirtualFolder) GetUsersOk ¶
func (o *BaseVirtualFolder) 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 (*BaseVirtualFolder) HasDescription ¶
func (o *BaseVirtualFolder) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasFilesystem ¶
func (o *BaseVirtualFolder) HasFilesystem() bool
HasFilesystem returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasId ¶
func (o *BaseVirtualFolder) HasId() bool
HasId returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasLastQuotaUpdate ¶
func (o *BaseVirtualFolder) HasLastQuotaUpdate() bool
HasLastQuotaUpdate returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasMappedPath ¶
func (o *BaseVirtualFolder) HasMappedPath() bool
HasMappedPath returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasName ¶
func (o *BaseVirtualFolder) HasName() bool
HasName returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasUsedQuotaFiles ¶
func (o *BaseVirtualFolder) HasUsedQuotaFiles() bool
HasUsedQuotaFiles returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasUsedQuotaSize ¶
func (o *BaseVirtualFolder) HasUsedQuotaSize() bool
HasUsedQuotaSize returns a boolean if a field has been set.
func (*BaseVirtualFolder) HasUsers ¶
func (o *BaseVirtualFolder) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (BaseVirtualFolder) MarshalJSON ¶
func (o BaseVirtualFolder) MarshalJSON() ([]byte, error)
func (*BaseVirtualFolder) SetDescription ¶
func (o *BaseVirtualFolder) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*BaseVirtualFolder) SetFilesystem ¶
func (o *BaseVirtualFolder) SetFilesystem(v FilesystemConfig)
SetFilesystem gets a reference to the given FilesystemConfig and assigns it to the Filesystem field.
func (*BaseVirtualFolder) SetId ¶
func (o *BaseVirtualFolder) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*BaseVirtualFolder) SetLastQuotaUpdate ¶
func (o *BaseVirtualFolder) SetLastQuotaUpdate(v int64)
SetLastQuotaUpdate gets a reference to the given int64 and assigns it to the LastQuotaUpdate field.
func (*BaseVirtualFolder) SetMappedPath ¶
func (o *BaseVirtualFolder) SetMappedPath(v string)
SetMappedPath gets a reference to the given string and assigns it to the MappedPath field.
func (*BaseVirtualFolder) SetName ¶
func (o *BaseVirtualFolder) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BaseVirtualFolder) SetUsedQuotaFiles ¶
func (o *BaseVirtualFolder) SetUsedQuotaFiles(v int32)
SetUsedQuotaFiles gets a reference to the given int32 and assigns it to the UsedQuotaFiles field.
func (*BaseVirtualFolder) SetUsedQuotaSize ¶
func (o *BaseVirtualFolder) SetUsedQuotaSize(v int64)
SetUsedQuotaSize gets a reference to the given int64 and assigns it to the UsedQuotaSize field.
func (*BaseVirtualFolder) SetUsers ¶
func (o *BaseVirtualFolder) SetUsers(v []string)
SetUsers gets a reference to the given []string and assigns it to the Users field.
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 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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConnectionStatus ¶
type ConnectionStatus struct { // connected username Username *string `json:"username,omitempty"` // unique connection identifier ConnectionId *string `json:"connection_id,omitempty"` // client version ClientVersion *string `json:"client_version,omitempty"` // Remote address for the connected client RemoteAddress *string `json:"remote_address,omitempty"` // connection time as unix timestamp in milliseconds ConnectionTime *int64 `json:"connection_time,omitempty"` // Last SSH/FTP command or WebDAV method Command *string `json:"command,omitempty"` // last client activity as unix timestamp in milliseconds LastActivity *int64 `json:"last_activity,omitempty"` Protocol *string `json:"protocol,omitempty"` ActiveTransfers []Transfer `json:"active_transfers,omitempty"` }
ConnectionStatus struct for ConnectionStatus
func NewConnectionStatus ¶
func NewConnectionStatus() *ConnectionStatus
NewConnectionStatus instantiates a new ConnectionStatus 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 NewConnectionStatusWithDefaults ¶
func NewConnectionStatusWithDefaults() *ConnectionStatus
NewConnectionStatusWithDefaults instantiates a new ConnectionStatus 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 (*ConnectionStatus) GetActiveTransfers ¶
func (o *ConnectionStatus) GetActiveTransfers() []Transfer
GetActiveTransfers returns the ActiveTransfers field value if set, zero value otherwise.
func (*ConnectionStatus) GetActiveTransfersOk ¶
func (o *ConnectionStatus) GetActiveTransfersOk() ([]Transfer, bool)
GetActiveTransfersOk returns a tuple with the ActiveTransfers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetClientVersion ¶
func (o *ConnectionStatus) GetClientVersion() string
GetClientVersion returns the ClientVersion field value if set, zero value otherwise.
func (*ConnectionStatus) GetClientVersionOk ¶
func (o *ConnectionStatus) GetClientVersionOk() (*string, bool)
GetClientVersionOk returns a tuple with the ClientVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetCommand ¶
func (o *ConnectionStatus) GetCommand() string
GetCommand returns the Command field value if set, zero value otherwise.
func (*ConnectionStatus) GetCommandOk ¶
func (o *ConnectionStatus) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetConnectionId ¶
func (o *ConnectionStatus) GetConnectionId() string
GetConnectionId returns the ConnectionId field value if set, zero value otherwise.
func (*ConnectionStatus) GetConnectionIdOk ¶
func (o *ConnectionStatus) GetConnectionIdOk() (*string, bool)
GetConnectionIdOk returns a tuple with the ConnectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetConnectionTime ¶
func (o *ConnectionStatus) GetConnectionTime() int64
GetConnectionTime returns the ConnectionTime field value if set, zero value otherwise.
func (*ConnectionStatus) GetConnectionTimeOk ¶
func (o *ConnectionStatus) GetConnectionTimeOk() (*int64, bool)
GetConnectionTimeOk returns a tuple with the ConnectionTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetLastActivity ¶
func (o *ConnectionStatus) GetLastActivity() int64
GetLastActivity returns the LastActivity field value if set, zero value otherwise.
func (*ConnectionStatus) GetLastActivityOk ¶
func (o *ConnectionStatus) GetLastActivityOk() (*int64, bool)
GetLastActivityOk returns a tuple with the LastActivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetProtocol ¶
func (o *ConnectionStatus) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*ConnectionStatus) GetProtocolOk ¶
func (o *ConnectionStatus) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetRemoteAddress ¶
func (o *ConnectionStatus) GetRemoteAddress() string
GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.
func (*ConnectionStatus) GetRemoteAddressOk ¶
func (o *ConnectionStatus) GetRemoteAddressOk() (*string, bool)
GetRemoteAddressOk returns a tuple with the RemoteAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) GetUsername ¶
func (o *ConnectionStatus) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*ConnectionStatus) GetUsernameOk ¶
func (o *ConnectionStatus) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatus) HasActiveTransfers ¶
func (o *ConnectionStatus) HasActiveTransfers() bool
HasActiveTransfers returns a boolean if a field has been set.
func (*ConnectionStatus) HasClientVersion ¶
func (o *ConnectionStatus) HasClientVersion() bool
HasClientVersion returns a boolean if a field has been set.
func (*ConnectionStatus) HasCommand ¶
func (o *ConnectionStatus) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (*ConnectionStatus) HasConnectionId ¶
func (o *ConnectionStatus) HasConnectionId() bool
HasConnectionId returns a boolean if a field has been set.
func (*ConnectionStatus) HasConnectionTime ¶
func (o *ConnectionStatus) HasConnectionTime() bool
HasConnectionTime returns a boolean if a field has been set.
func (*ConnectionStatus) HasLastActivity ¶
func (o *ConnectionStatus) HasLastActivity() bool
HasLastActivity returns a boolean if a field has been set.
func (*ConnectionStatus) HasProtocol ¶
func (o *ConnectionStatus) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*ConnectionStatus) HasRemoteAddress ¶
func (o *ConnectionStatus) HasRemoteAddress() bool
HasRemoteAddress returns a boolean if a field has been set.
func (*ConnectionStatus) HasUsername ¶
func (o *ConnectionStatus) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (ConnectionStatus) MarshalJSON ¶
func (o ConnectionStatus) MarshalJSON() ([]byte, error)
func (*ConnectionStatus) SetActiveTransfers ¶
func (o *ConnectionStatus) SetActiveTransfers(v []Transfer)
SetActiveTransfers gets a reference to the given []Transfer and assigns it to the ActiveTransfers field.
func (*ConnectionStatus) SetClientVersion ¶
func (o *ConnectionStatus) SetClientVersion(v string)
SetClientVersion gets a reference to the given string and assigns it to the ClientVersion field.
func (*ConnectionStatus) SetCommand ¶
func (o *ConnectionStatus) SetCommand(v string)
SetCommand gets a reference to the given string and assigns it to the Command field.
func (*ConnectionStatus) SetConnectionId ¶
func (o *ConnectionStatus) SetConnectionId(v string)
SetConnectionId gets a reference to the given string and assigns it to the ConnectionId field.
func (*ConnectionStatus) SetConnectionTime ¶
func (o *ConnectionStatus) SetConnectionTime(v int64)
SetConnectionTime gets a reference to the given int64 and assigns it to the ConnectionTime field.
func (*ConnectionStatus) SetLastActivity ¶
func (o *ConnectionStatus) SetLastActivity(v int64)
SetLastActivity gets a reference to the given int64 and assigns it to the LastActivity field.
func (*ConnectionStatus) SetProtocol ¶
func (o *ConnectionStatus) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*ConnectionStatus) SetRemoteAddress ¶
func (o *ConnectionStatus) SetRemoteAddress(v string)
SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.
func (*ConnectionStatus) SetUsername ¶
func (o *ConnectionStatus) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type ConnectionsApiApiCloseConnectionRequest ¶
type ConnectionsApiApiCloseConnectionRequest struct { ApiService *ConnectionsApiService // contains filtered or unexported fields }
func (ConnectionsApiApiCloseConnectionRequest) Execute ¶
func (r ConnectionsApiApiCloseConnectionRequest) Execute() (*ApiResponse, *http.Response, error)
type ConnectionsApiApiGetConnectionsRequest ¶
type ConnectionsApiApiGetConnectionsRequest struct { ApiService *ConnectionsApiService // contains filtered or unexported fields }
func (ConnectionsApiApiGetConnectionsRequest) Execute ¶
func (r ConnectionsApiApiGetConnectionsRequest) Execute() ([]ConnectionStatus, *http.Response, error)
type ConnectionsApiService ¶
type ConnectionsApiService service
ConnectionsApiService ConnectionsApi service
func (*ConnectionsApiService) CloseConnection ¶
func (a *ConnectionsApiService) CloseConnection(ctx context.Context, connectionID string) ConnectionsApiApiCloseConnectionRequest
CloseConnection Close connection
Terminates an active connection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param connectionID ID of the connection to close @return ConnectionsApiApiCloseConnectionRequest
func (*ConnectionsApiService) CloseConnectionExecute ¶
func (a *ConnectionsApiService) CloseConnectionExecute(r ConnectionsApiApiCloseConnectionRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*ConnectionsApiService) GetConnections ¶
func (a *ConnectionsApiService) GetConnections(ctx context.Context) ConnectionsApiApiGetConnectionsRequest
GetConnections Get connections details
Returns the active users and info about their current uploads/downloads
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ConnectionsApiApiGetConnectionsRequest
func (*ConnectionsApiService) GetConnectionsExecute ¶
func (a *ConnectionsApiService) GetConnectionsExecute(r ConnectionsApiApiGetConnectionsRequest) ([]ConnectionStatus, *http.Response, error)
Execute executes the request
@return []ConnectionStatus
type CryptFsConfig ¶
type CryptFsConfig struct {
Passphrase *Secret `json:"passphrase,omitempty"`
}
CryptFsConfig Crypt filesystem configuration details
func NewCryptFsConfig ¶
func NewCryptFsConfig() *CryptFsConfig
NewCryptFsConfig instantiates a new CryptFsConfig 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 NewCryptFsConfigWithDefaults ¶
func NewCryptFsConfigWithDefaults() *CryptFsConfig
NewCryptFsConfigWithDefaults instantiates a new CryptFsConfig 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 (*CryptFsConfig) GetPassphrase ¶
func (o *CryptFsConfig) GetPassphrase() Secret
GetPassphrase returns the Passphrase field value if set, zero value otherwise.
func (*CryptFsConfig) GetPassphraseOk ¶
func (o *CryptFsConfig) GetPassphraseOk() (*Secret, bool)
GetPassphraseOk returns a tuple with the Passphrase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptFsConfig) HasPassphrase ¶
func (o *CryptFsConfig) HasPassphrase() bool
HasPassphrase returns a boolean if a field has been set.
func (CryptFsConfig) MarshalJSON ¶
func (o CryptFsConfig) MarshalJSON() ([]byte, error)
func (*CryptFsConfig) SetPassphrase ¶
func (o *CryptFsConfig) SetPassphrase(v Secret)
SetPassphrase gets a reference to the given Secret and assigns it to the Passphrase field.
type DataProviderStatus ¶
type DataProviderStatus struct { IsActive *bool `json:"is_active,omitempty"` Driver *string `json:"driver,omitempty"` Error *string `json:"error,omitempty"` }
DataProviderStatus struct for DataProviderStatus
func NewDataProviderStatus ¶
func NewDataProviderStatus() *DataProviderStatus
NewDataProviderStatus instantiates a new DataProviderStatus 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 NewDataProviderStatusWithDefaults ¶
func NewDataProviderStatusWithDefaults() *DataProviderStatus
NewDataProviderStatusWithDefaults instantiates a new DataProviderStatus 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 (*DataProviderStatus) GetDriver ¶
func (o *DataProviderStatus) GetDriver() string
GetDriver returns the Driver field value if set, zero value otherwise.
func (*DataProviderStatus) GetDriverOk ¶
func (o *DataProviderStatus) GetDriverOk() (*string, bool)
GetDriverOk returns a tuple with the Driver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataProviderStatus) GetError ¶
func (o *DataProviderStatus) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*DataProviderStatus) GetErrorOk ¶
func (o *DataProviderStatus) 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 (*DataProviderStatus) GetIsActive ¶
func (o *DataProviderStatus) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*DataProviderStatus) GetIsActiveOk ¶
func (o *DataProviderStatus) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataProviderStatus) HasDriver ¶
func (o *DataProviderStatus) HasDriver() bool
HasDriver returns a boolean if a field has been set.
func (*DataProviderStatus) HasError ¶
func (o *DataProviderStatus) HasError() bool
HasError returns a boolean if a field has been set.
func (*DataProviderStatus) HasIsActive ¶
func (o *DataProviderStatus) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (DataProviderStatus) MarshalJSON ¶
func (o DataProviderStatus) MarshalJSON() ([]byte, error)
func (*DataProviderStatus) SetDriver ¶
func (o *DataProviderStatus) SetDriver(v string)
SetDriver gets a reference to the given string and assigns it to the Driver field.
func (*DataProviderStatus) SetError ¶
func (o *DataProviderStatus) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*DataProviderStatus) SetIsActive ¶
func (o *DataProviderStatus) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
type DataRetentionApiApiGetUsersRetentionChecksRequest ¶
type DataRetentionApiApiGetUsersRetentionChecksRequest struct { ApiService *DataRetentionApiService // contains filtered or unexported fields }
func (DataRetentionApiApiGetUsersRetentionChecksRequest) Execute ¶
func (r DataRetentionApiApiGetUsersRetentionChecksRequest) Execute() ([]RetentionCheck, *http.Response, error)
type DataRetentionApiApiStartUserRetentionCheckRequest ¶
type DataRetentionApiApiStartUserRetentionCheckRequest struct { ApiService *DataRetentionApiService // contains filtered or unexported fields }
func (DataRetentionApiApiStartUserRetentionCheckRequest) Execute ¶
func (r DataRetentionApiApiStartUserRetentionCheckRequest) Execute() (*ApiResponse, *http.Response, error)
func (DataRetentionApiApiStartUserRetentionCheckRequest) FolderRetention ¶
func (r DataRetentionApiApiStartUserRetentionCheckRequest) FolderRetention(folderRetention []FolderRetention) DataRetentionApiApiStartUserRetentionCheckRequest
Defines virtual paths to check and their retention time in hours
func (DataRetentionApiApiStartUserRetentionCheckRequest) Notifications ¶
func (r DataRetentionApiApiStartUserRetentionCheckRequest) Notifications(notifications []RetentionCheckNotification) DataRetentionApiApiStartUserRetentionCheckRequest
specify how to notify results
type DataRetentionApiService ¶
type DataRetentionApiService service
DataRetentionApiService DataRetentionApi service
func (*DataRetentionApiService) GetUsersRetentionChecks ¶
func (a *DataRetentionApiService) GetUsersRetentionChecks(ctx context.Context) DataRetentionApiApiGetUsersRetentionChecksRequest
GetUsersRetentionChecks Get retention checks
Returns the active retention checks
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DataRetentionApiApiGetUsersRetentionChecksRequest
func (*DataRetentionApiService) GetUsersRetentionChecksExecute ¶
func (a *DataRetentionApiService) GetUsersRetentionChecksExecute(r DataRetentionApiApiGetUsersRetentionChecksRequest) ([]RetentionCheck, *http.Response, error)
Execute executes the request
@return []RetentionCheck
func (*DataRetentionApiService) StartUserRetentionCheck ¶
func (a *DataRetentionApiService) StartUserRetentionCheck(ctx context.Context, username string) DataRetentionApiApiStartUserRetentionCheckRequest
StartUserRetentionCheck Start a retention check
Starts a new retention check for the given user. If a retention check for this user is already active a 409 status code is returned
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return DataRetentionApiApiStartUserRetentionCheckRequest
func (*DataRetentionApiService) StartUserRetentionCheckExecute ¶
func (a *DataRetentionApiService) StartUserRetentionCheckExecute(r DataRetentionApiApiStartUserRetentionCheckRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type DataTransferLimit ¶
type DataTransferLimit struct { // Source networks in CIDR notation as defined in RFC 4632 and RFC 4291 for example `192.0.2.0/24` or `2001:db8::/32`. The limit applies if the defined networks contain the client IP Sources []string `json:"sources,omitempty"` // Maximum data transfer allowed for uploads as MB. 0 means no limit UploadDataTransfer *int32 `json:"upload_data_transfer,omitempty"` // Maximum data transfer allowed for downloads as MB. 0 means no limit DownloadDataTransfer *int32 `json:"download_data_transfer,omitempty"` // Maximum total data transfer as MB. 0 means unlimited. You can set a total data transfer instead of the individual values for uploads and downloads TotalDataTransfer *int32 `json:"total_data_transfer,omitempty"` }
DataTransferLimit struct for DataTransferLimit
func NewDataTransferLimit ¶
func NewDataTransferLimit() *DataTransferLimit
NewDataTransferLimit instantiates a new DataTransferLimit 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 NewDataTransferLimitWithDefaults ¶
func NewDataTransferLimitWithDefaults() *DataTransferLimit
NewDataTransferLimitWithDefaults instantiates a new DataTransferLimit 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 (*DataTransferLimit) GetDownloadDataTransfer ¶
func (o *DataTransferLimit) GetDownloadDataTransfer() int32
GetDownloadDataTransfer returns the DownloadDataTransfer field value if set, zero value otherwise.
func (*DataTransferLimit) GetDownloadDataTransferOk ¶
func (o *DataTransferLimit) GetDownloadDataTransferOk() (*int32, bool)
GetDownloadDataTransferOk returns a tuple with the DownloadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataTransferLimit) GetSources ¶
func (o *DataTransferLimit) GetSources() []string
GetSources returns the Sources field value if set, zero value otherwise.
func (*DataTransferLimit) GetSourcesOk ¶
func (o *DataTransferLimit) GetSourcesOk() ([]string, bool)
GetSourcesOk returns a tuple with the Sources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataTransferLimit) GetTotalDataTransfer ¶
func (o *DataTransferLimit) GetTotalDataTransfer() int32
GetTotalDataTransfer returns the TotalDataTransfer field value if set, zero value otherwise.
func (*DataTransferLimit) GetTotalDataTransferOk ¶
func (o *DataTransferLimit) GetTotalDataTransferOk() (*int32, bool)
GetTotalDataTransferOk returns a tuple with the TotalDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataTransferLimit) GetUploadDataTransfer ¶
func (o *DataTransferLimit) GetUploadDataTransfer() int32
GetUploadDataTransfer returns the UploadDataTransfer field value if set, zero value otherwise.
func (*DataTransferLimit) GetUploadDataTransferOk ¶
func (o *DataTransferLimit) GetUploadDataTransferOk() (*int32, bool)
GetUploadDataTransferOk returns a tuple with the UploadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataTransferLimit) HasDownloadDataTransfer ¶
func (o *DataTransferLimit) HasDownloadDataTransfer() bool
HasDownloadDataTransfer returns a boolean if a field has been set.
func (*DataTransferLimit) HasSources ¶
func (o *DataTransferLimit) HasSources() bool
HasSources returns a boolean if a field has been set.
func (*DataTransferLimit) HasTotalDataTransfer ¶
func (o *DataTransferLimit) HasTotalDataTransfer() bool
HasTotalDataTransfer returns a boolean if a field has been set.
func (*DataTransferLimit) HasUploadDataTransfer ¶
func (o *DataTransferLimit) HasUploadDataTransfer() bool
HasUploadDataTransfer returns a boolean if a field has been set.
func (DataTransferLimit) MarshalJSON ¶
func (o DataTransferLimit) MarshalJSON() ([]byte, error)
func (*DataTransferLimit) SetDownloadDataTransfer ¶
func (o *DataTransferLimit) SetDownloadDataTransfer(v int32)
SetDownloadDataTransfer gets a reference to the given int32 and assigns it to the DownloadDataTransfer field.
func (*DataTransferLimit) SetSources ¶
func (o *DataTransferLimit) SetSources(v []string)
SetSources gets a reference to the given []string and assigns it to the Sources field.
func (*DataTransferLimit) SetTotalDataTransfer ¶
func (o *DataTransferLimit) SetTotalDataTransfer(v int32)
SetTotalDataTransfer gets a reference to the given int32 and assigns it to the TotalDataTransfer field.
func (*DataTransferLimit) SetUploadDataTransfer ¶
func (o *DataTransferLimit) SetUploadDataTransfer(v int32)
SetUploadDataTransfer gets a reference to the given int32 and assigns it to the UploadDataTransfer field.
type DefenderApiApiDeleteDefenderHostByIdRequest ¶
type DefenderApiApiDeleteDefenderHostByIdRequest struct { ApiService *DefenderApiService // contains filtered or unexported fields }
func (DefenderApiApiDeleteDefenderHostByIdRequest) Execute ¶
func (r DefenderApiApiDeleteDefenderHostByIdRequest) Execute() (*ApiResponse, *http.Response, error)
type DefenderApiApiGetBanTimeRequest ¶
type DefenderApiApiGetBanTimeRequest struct { ApiService *DefenderApiService // contains filtered or unexported fields }
func (DefenderApiApiGetBanTimeRequest) Execute ¶
func (r DefenderApiApiGetBanTimeRequest) Execute() (*BanStatus, *http.Response, error)
func (DefenderApiApiGetBanTimeRequest) Ip ¶
func (r DefenderApiApiGetBanTimeRequest) Ip(ip string) DefenderApiApiGetBanTimeRequest
IPv4/IPv6 address
type DefenderApiApiGetDefenderHostByIdRequest ¶
type DefenderApiApiGetDefenderHostByIdRequest struct { ApiService *DefenderApiService // contains filtered or unexported fields }
func (DefenderApiApiGetDefenderHostByIdRequest) Execute ¶
func (r DefenderApiApiGetDefenderHostByIdRequest) Execute() (*DefenderEntry, *http.Response, error)
type DefenderApiApiGetDefenderHostsRequest ¶
type DefenderApiApiGetDefenderHostsRequest struct { ApiService *DefenderApiService // contains filtered or unexported fields }
func (DefenderApiApiGetDefenderHostsRequest) Execute ¶
func (r DefenderApiApiGetDefenderHostsRequest) Execute() ([]DefenderEntry, *http.Response, error)
type DefenderApiApiGetScoreRequest ¶
type DefenderApiApiGetScoreRequest struct { ApiService *DefenderApiService // contains filtered or unexported fields }
func (DefenderApiApiGetScoreRequest) Execute ¶
func (r DefenderApiApiGetScoreRequest) Execute() (*ScoreStatus, *http.Response, error)
func (DefenderApiApiGetScoreRequest) Ip ¶
func (r DefenderApiApiGetScoreRequest) Ip(ip string) DefenderApiApiGetScoreRequest
IPv4/IPv6 address
type DefenderApiApiUnbanHostRequest ¶
type DefenderApiApiUnbanHostRequest struct { ApiService *DefenderApiService // contains filtered or unexported fields }
func (DefenderApiApiUnbanHostRequest) Execute ¶
func (r DefenderApiApiUnbanHostRequest) Execute() (*ApiResponse, *http.Response, error)
func (DefenderApiApiUnbanHostRequest) InlineObject3 ¶
func (r DefenderApiApiUnbanHostRequest) InlineObject3(inlineObject3 InlineObject3) DefenderApiApiUnbanHostRequest
type DefenderApiService ¶
type DefenderApiService service
DefenderApiService DefenderApi service
func (*DefenderApiService) DeleteDefenderHostById ¶
func (a *DefenderApiService) DeleteDefenderHostById(ctx context.Context, id string) DefenderApiApiDeleteDefenderHostByIdRequest
DeleteDefenderHostById Removes a host from the defender lists
Unbans the specified host or clears its violations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id host id @return DefenderApiApiDeleteDefenderHostByIdRequest
func (*DefenderApiService) DeleteDefenderHostByIdExecute ¶
func (a *DefenderApiService) DeleteDefenderHostByIdExecute(r DefenderApiApiDeleteDefenderHostByIdRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*DefenderApiService) GetBanTime ¶
func (a *DefenderApiService) GetBanTime(ctx context.Context) DefenderApiApiGetBanTimeRequest
GetBanTime Get ban time
Deprecated, please use '/defender/hosts', '/defender/hosts/{id}' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DefenderApiApiGetBanTimeRequest
Deprecated
func (*DefenderApiService) GetBanTimeExecute ¶
func (a *DefenderApiService) GetBanTimeExecute(r DefenderApiApiGetBanTimeRequest) (*BanStatus, *http.Response, error)
Execute executes the request
@return BanStatus
Deprecated
func (*DefenderApiService) GetDefenderHostById ¶
func (a *DefenderApiService) GetDefenderHostById(ctx context.Context, id string) DefenderApiApiGetDefenderHostByIdRequest
GetDefenderHostById Get host by id
Returns the host with the given id, if it exists
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id host id @return DefenderApiApiGetDefenderHostByIdRequest
func (*DefenderApiService) GetDefenderHostByIdExecute ¶
func (a *DefenderApiService) GetDefenderHostByIdExecute(r DefenderApiApiGetDefenderHostByIdRequest) (*DefenderEntry, *http.Response, error)
Execute executes the request
@return DefenderEntry
func (*DefenderApiService) GetDefenderHosts ¶
func (a *DefenderApiService) GetDefenderHosts(ctx context.Context) DefenderApiApiGetDefenderHostsRequest
GetDefenderHosts Get hosts
Returns hosts that are banned or for which some violations have been detected
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DefenderApiApiGetDefenderHostsRequest
func (*DefenderApiService) GetDefenderHostsExecute ¶
func (a *DefenderApiService) GetDefenderHostsExecute(r DefenderApiApiGetDefenderHostsRequest) ([]DefenderEntry, *http.Response, error)
Execute executes the request
@return []DefenderEntry
func (*DefenderApiService) GetScore ¶
func (a *DefenderApiService) GetScore(ctx context.Context) DefenderApiApiGetScoreRequest
GetScore Get score
Deprecated, please use '/defender/hosts', '/defender/hosts/{id}' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DefenderApiApiGetScoreRequest
Deprecated
func (*DefenderApiService) GetScoreExecute ¶
func (a *DefenderApiService) GetScoreExecute(r DefenderApiApiGetScoreRequest) (*ScoreStatus, *http.Response, error)
Execute executes the request
@return ScoreStatus
Deprecated
func (*DefenderApiService) UnbanHost ¶
func (a *DefenderApiService) UnbanHost(ctx context.Context) DefenderApiApiUnbanHostRequest
UnbanHost Unban
Deprecated, please use '/defender/hosts/{id}' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DefenderApiApiUnbanHostRequest
Deprecated
func (*DefenderApiService) UnbanHostExecute ¶
func (a *DefenderApiService) UnbanHostExecute(r DefenderApiApiUnbanHostRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
type DefenderEntry ¶
type DefenderEntry struct { Id *string `json:"id,omitempty"` Ip *string `json:"ip,omitempty"` // the score increases whenever a violation is detected, such as an attempt to log in using an incorrect password or invalid username. If the score exceeds the configured threshold, the IP is banned. Omitted for banned IPs Score *int32 `json:"score,omitempty"` // date time until the IP is banned. For already banned hosts, the ban time is increased each time a new violation is detected. Omitted if the IP is not banned BanTime *time.Time `json:"ban_time,omitempty"` }
DefenderEntry struct for DefenderEntry
func NewDefenderEntry ¶
func NewDefenderEntry() *DefenderEntry
NewDefenderEntry instantiates a new DefenderEntry 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 NewDefenderEntryWithDefaults ¶
func NewDefenderEntryWithDefaults() *DefenderEntry
NewDefenderEntryWithDefaults instantiates a new DefenderEntry 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 (*DefenderEntry) GetBanTime ¶
func (o *DefenderEntry) GetBanTime() time.Time
GetBanTime returns the BanTime field value if set, zero value otherwise.
func (*DefenderEntry) GetBanTimeOk ¶
func (o *DefenderEntry) GetBanTimeOk() (*time.Time, bool)
GetBanTimeOk returns a tuple with the BanTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DefenderEntry) GetId ¶
func (o *DefenderEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DefenderEntry) GetIdOk ¶
func (o *DefenderEntry) 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 (*DefenderEntry) GetIp ¶
func (o *DefenderEntry) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*DefenderEntry) GetIpOk ¶
func (o *DefenderEntry) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DefenderEntry) GetScore ¶
func (o *DefenderEntry) GetScore() int32
GetScore returns the Score field value if set, zero value otherwise.
func (*DefenderEntry) GetScoreOk ¶
func (o *DefenderEntry) GetScoreOk() (*int32, bool)
GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DefenderEntry) HasBanTime ¶
func (o *DefenderEntry) HasBanTime() bool
HasBanTime returns a boolean if a field has been set.
func (*DefenderEntry) HasId ¶
func (o *DefenderEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*DefenderEntry) HasIp ¶
func (o *DefenderEntry) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*DefenderEntry) HasScore ¶
func (o *DefenderEntry) HasScore() bool
HasScore returns a boolean if a field has been set.
func (DefenderEntry) MarshalJSON ¶
func (o DefenderEntry) MarshalJSON() ([]byte, error)
func (*DefenderEntry) SetBanTime ¶
func (o *DefenderEntry) SetBanTime(v time.Time)
SetBanTime gets a reference to the given time.Time and assigns it to the BanTime field.
func (*DefenderEntry) SetId ¶
func (o *DefenderEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DefenderEntry) SetIp ¶
func (o *DefenderEntry) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*DefenderEntry) SetScore ¶
func (o *DefenderEntry) SetScore(v int32)
SetScore gets a reference to the given int32 and assigns it to the Score field.
type DirEntry ¶
type DirEntry struct { // name of the file (or subdirectory) described by the entry. This name is the final element of the path (the base name), not the entire path Name *string `json:"name,omitempty"` // file size, omitted for folders and non regular files Size *int64 `json:"size,omitempty"` // File mode and permission bits. More details here: https://golang.org/pkg/io/fs/#FileMode. Let's see some examples: - for a directory mode&2147483648 != 0 - for a symlink mode&134217728 != 0 - for a regular file mode&2401763328 == 0 Mode *int32 `json:"mode,omitempty"` LastModified *time.Time `json:"last_modified,omitempty"` }
DirEntry struct for DirEntry
func NewDirEntry ¶
func NewDirEntry() *DirEntry
NewDirEntry instantiates a new DirEntry 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 NewDirEntryWithDefaults ¶
func NewDirEntryWithDefaults() *DirEntry
NewDirEntryWithDefaults instantiates a new DirEntry 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 (*DirEntry) GetLastModified ¶
GetLastModified returns the LastModified field value if set, zero value otherwise.
func (*DirEntry) GetLastModifiedOk ¶
GetLastModifiedOk returns a tuple with the LastModified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DirEntry) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DirEntry) GetNameOk ¶
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 (*DirEntry) GetSizeOk ¶
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 (*DirEntry) HasLastModified ¶
HasLastModified returns a boolean if a field has been set.
func (DirEntry) MarshalJSON ¶
func (*DirEntry) SetLastModified ¶
SetLastModified gets a reference to the given time.Time and assigns it to the LastModified field.
func (*DirEntry) SetMode ¶
SetMode gets a reference to the given int32 and assigns it to the Mode field.
type EventProtocols ¶
type EventProtocols string
EventProtocols Protocols: * `SSH` - SSH commands * `SFTP` - SFTP protocol * `FTP` - plain FTP and FTPES/FTPS * `DAV` - WebDAV * `HTTP` - WebClient/REST API * `DataRetention` - the event is generated by a data retention check
const ( EVENTPROTOCOLS_SSH EventProtocols = "SSH" EVENTPROTOCOLS_SFTP EventProtocols = "SFTP" EVENTPROTOCOLS_SCP EventProtocols = "SCP" EVENTPROTOCOLS_FTP EventProtocols = "FTP" EVENTPROTOCOLS_DAV EventProtocols = "DAV" EVENTPROTOCOLS_HTTP EventProtocols = "HTTP" EVENTPROTOCOLS_DATA_RETENTION EventProtocols = "DataRetention" )
List of EventProtocols
func NewEventProtocolsFromValue ¶
func NewEventProtocolsFromValue(v string) (*EventProtocols, error)
NewEventProtocolsFromValue returns a pointer to a valid EventProtocols for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EventProtocols) IsValid ¶
func (v EventProtocols) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EventProtocols) Ptr ¶
func (v EventProtocols) Ptr() *EventProtocols
Ptr returns reference to EventProtocols value
func (*EventProtocols) UnmarshalJSON ¶
func (v *EventProtocols) UnmarshalJSON(src []byte) error
type EventsApiApiGetFsEventsRequest ¶
type EventsApiApiGetFsEventsRequest struct { ApiService *EventsApiService // contains filtered or unexported fields }
func (EventsApiApiGetFsEventsRequest) Actions ¶
func (r EventsApiApiGetFsEventsRequest) Actions(actions []FsEventAction) EventsApiApiGetFsEventsRequest
the event action must be included among those specified. Empty or missing means omit this filter. Actions must be specified comma separated
func (EventsApiApiGetFsEventsRequest) Bucket ¶
func (r EventsApiApiGetFsEventsRequest) Bucket(bucket string) EventsApiApiGetFsEventsRequest
the bucket must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) EndTimestamp ¶
func (r EventsApiApiGetFsEventsRequest) EndTimestamp(endTimestamp int64) EventsApiApiGetFsEventsRequest
the event timestamp, unix timestamp in nanoseconds, must be less than or equal to the specified one. 0 or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) Endpoint ¶
func (r EventsApiApiGetFsEventsRequest) Endpoint(endpoint string) EventsApiApiGetFsEventsRequest
the endpoint must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) ExcludeIds ¶
func (r EventsApiApiGetFsEventsRequest) ExcludeIds(excludeIds []string) EventsApiApiGetFsEventsRequest
the event id must not be included among those specified. This is useful for cursor based pagination. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetFsEventsRequest) Execute ¶
func (r EventsApiApiGetFsEventsRequest) Execute() ([]FsEvent, *http.Response, error)
func (EventsApiApiGetFsEventsRequest) FsProvider ¶
func (r EventsApiApiGetFsEventsRequest) FsProvider(fsProvider FsProviders) EventsApiApiGetFsEventsRequest
the event filesystem provider must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) InstanceIds ¶
func (r EventsApiApiGetFsEventsRequest) InstanceIds(instanceIds []string) EventsApiApiGetFsEventsRequest
the event instance id must be included among those specified. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetFsEventsRequest) Ip ¶
func (r EventsApiApiGetFsEventsRequest) Ip(ip string) EventsApiApiGetFsEventsRequest
the event IP must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) Limit ¶
func (r EventsApiApiGetFsEventsRequest) Limit(limit int32) EventsApiApiGetFsEventsRequest
The maximum number of items to return. Max value is 500, default is 100
func (EventsApiApiGetFsEventsRequest) Order ¶
func (r EventsApiApiGetFsEventsRequest) Order(order string) EventsApiApiGetFsEventsRequest
Ordering events by timestamp. Default DESC
func (EventsApiApiGetFsEventsRequest) Protocols ¶
func (r EventsApiApiGetFsEventsRequest) Protocols(protocols []EventProtocols) EventsApiApiGetFsEventsRequest
the event protocol must be included among those specified. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetFsEventsRequest) SshCmd ¶
func (r EventsApiApiGetFsEventsRequest) SshCmd(sshCmd string) EventsApiApiGetFsEventsRequest
the event SSH command must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) StartTimestamp ¶
func (r EventsApiApiGetFsEventsRequest) StartTimestamp(startTimestamp int64) EventsApiApiGetFsEventsRequest
the event timestamp, unix timestamp in nanoseconds, must be greater than or equal to the specified one. 0 or missing means omit this filter
func (EventsApiApiGetFsEventsRequest) Statuses ¶
func (r EventsApiApiGetFsEventsRequest) Statuses(statuses []FsEventStatus) EventsApiApiGetFsEventsRequest
the event status must be included among those specified. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetFsEventsRequest) Username ¶
func (r EventsApiApiGetFsEventsRequest) Username(username string) EventsApiApiGetFsEventsRequest
the event username must be the same as the one specified. Empty or missing means omit this filter
type EventsApiApiGetProviderEventsRequest ¶
type EventsApiApiGetProviderEventsRequest struct { ApiService *EventsApiService // contains filtered or unexported fields }
func (EventsApiApiGetProviderEventsRequest) Actions ¶
func (r EventsApiApiGetProviderEventsRequest) Actions(actions []ProviderEventAction) EventsApiApiGetProviderEventsRequest
the event action must be included among those specified. Empty or missing means omit this filter. Actions must be specified comma separated
func (EventsApiApiGetProviderEventsRequest) EndTimestamp ¶
func (r EventsApiApiGetProviderEventsRequest) EndTimestamp(endTimestamp int64) EventsApiApiGetProviderEventsRequest
the event timestamp, unix timestamp in nanoseconds, must be less than or equal to the specified one. 0 or missing means omit this filter
func (EventsApiApiGetProviderEventsRequest) ExcludeIds ¶
func (r EventsApiApiGetProviderEventsRequest) ExcludeIds(excludeIds []string) EventsApiApiGetProviderEventsRequest
the event id must not be included among those specified. This is useful for cursor based pagination. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetProviderEventsRequest) Execute ¶
func (r EventsApiApiGetProviderEventsRequest) Execute() ([]ProviderEvent, *http.Response, error)
func (EventsApiApiGetProviderEventsRequest) InstanceIds ¶
func (r EventsApiApiGetProviderEventsRequest) InstanceIds(instanceIds []string) EventsApiApiGetProviderEventsRequest
the event instance id must be included among those specified. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetProviderEventsRequest) Ip ¶
the event IP must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetProviderEventsRequest) Limit ¶
func (r EventsApiApiGetProviderEventsRequest) Limit(limit int32) EventsApiApiGetProviderEventsRequest
The maximum number of items to return. Max value is 500, default is 100
func (EventsApiApiGetProviderEventsRequest) ObjectName ¶
func (r EventsApiApiGetProviderEventsRequest) ObjectName(objectName string) EventsApiApiGetProviderEventsRequest
the event object name must be the same as the one specified. Empty or missing means omit this filter
func (EventsApiApiGetProviderEventsRequest) ObjectTypes ¶
func (r EventsApiApiGetProviderEventsRequest) ObjectTypes(objectTypes []ProviderEventObjectType) EventsApiApiGetProviderEventsRequest
the event object type must be included among those specified. Empty or missing means omit this filter. Values must be specified comma separated
func (EventsApiApiGetProviderEventsRequest) Order ¶
func (r EventsApiApiGetProviderEventsRequest) Order(order string) EventsApiApiGetProviderEventsRequest
Ordering events by timestamp. Default DESC
func (EventsApiApiGetProviderEventsRequest) StartTimestamp ¶
func (r EventsApiApiGetProviderEventsRequest) StartTimestamp(startTimestamp int64) EventsApiApiGetProviderEventsRequest
the event timestamp, unix timestamp in nanoseconds, must be greater than or equal to the specified one. 0 or missing means omit this filter
func (EventsApiApiGetProviderEventsRequest) Username ¶
func (r EventsApiApiGetProviderEventsRequest) Username(username string) EventsApiApiGetProviderEventsRequest
the event username must be the same as the one specified. Empty or missing means omit this filter
type EventsApiService ¶
type EventsApiService service
EventsApiService EventsApi service
func (*EventsApiService) GetFsEvents ¶
func (a *EventsApiService) GetFsEvents(ctx context.Context) EventsApiApiGetFsEventsRequest
GetFsEvents Get filesystem events
Returns an array with one or more filesystem events applying the specified filters. This API is only available if you configure an "eventsearcher" plugin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return EventsApiApiGetFsEventsRequest
func (*EventsApiService) GetFsEventsExecute ¶
func (a *EventsApiService) GetFsEventsExecute(r EventsApiApiGetFsEventsRequest) ([]FsEvent, *http.Response, error)
Execute executes the request
@return []FsEvent
func (*EventsApiService) GetProviderEvents ¶
func (a *EventsApiService) GetProviderEvents(ctx context.Context) EventsApiApiGetProviderEventsRequest
GetProviderEvents Get provider events
Returns an array with one or more provider events applying the specified filters. This API is only available if you configure an "eventsearcher" plugin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return EventsApiApiGetProviderEventsRequest
func (*EventsApiService) GetProviderEventsExecute ¶
func (a *EventsApiService) GetProviderEventsExecute(r EventsApiApiGetProviderEventsRequest) ([]ProviderEvent, *http.Response, error)
Execute executes the request
@return []ProviderEvent
type FTPDBinding ¶
type FTPDBinding struct { // TCP address the server listen on Address *string `json:"address,omitempty"` // the port used for serving requests Port *int32 `json:"port,omitempty"` // apply the proxy configuration, if any ApplyProxyConfig *bool `json:"apply_proxy_config,omitempty"` // TLS mode: * `0` - clear or explicit TLS * `1` - explicit TLS required * `2` - implicit TLS TlsMode *int32 `json:"tls_mode,omitempty"` // External IP address to expose for passive connections ForcePassiveIp *string `json:"force_passive_ip,omitempty"` // 1 means that client certificate authentication is required in addition to FTP authentication ClientAuthType *int32 `json:"client_auth_type,omitempty"` }
FTPDBinding struct for FTPDBinding
func NewFTPDBinding ¶
func NewFTPDBinding() *FTPDBinding
NewFTPDBinding instantiates a new FTPDBinding 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 NewFTPDBindingWithDefaults ¶
func NewFTPDBindingWithDefaults() *FTPDBinding
NewFTPDBindingWithDefaults instantiates a new FTPDBinding 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 (*FTPDBinding) GetAddress ¶
func (o *FTPDBinding) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*FTPDBinding) GetAddressOk ¶
func (o *FTPDBinding) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPDBinding) GetApplyProxyConfig ¶
func (o *FTPDBinding) GetApplyProxyConfig() bool
GetApplyProxyConfig returns the ApplyProxyConfig field value if set, zero value otherwise.
func (*FTPDBinding) GetApplyProxyConfigOk ¶
func (o *FTPDBinding) GetApplyProxyConfigOk() (*bool, bool)
GetApplyProxyConfigOk returns a tuple with the ApplyProxyConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPDBinding) GetClientAuthType ¶
func (o *FTPDBinding) GetClientAuthType() int32
GetClientAuthType returns the ClientAuthType field value if set, zero value otherwise.
func (*FTPDBinding) GetClientAuthTypeOk ¶
func (o *FTPDBinding) GetClientAuthTypeOk() (*int32, bool)
GetClientAuthTypeOk returns a tuple with the ClientAuthType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPDBinding) GetForcePassiveIp ¶
func (o *FTPDBinding) GetForcePassiveIp() string
GetForcePassiveIp returns the ForcePassiveIp field value if set, zero value otherwise.
func (*FTPDBinding) GetForcePassiveIpOk ¶
func (o *FTPDBinding) GetForcePassiveIpOk() (*string, bool)
GetForcePassiveIpOk returns a tuple with the ForcePassiveIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPDBinding) GetPort ¶
func (o *FTPDBinding) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*FTPDBinding) GetPortOk ¶
func (o *FTPDBinding) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPDBinding) GetTlsMode ¶
func (o *FTPDBinding) GetTlsMode() int32
GetTlsMode returns the TlsMode field value if set, zero value otherwise.
func (*FTPDBinding) GetTlsModeOk ¶
func (o *FTPDBinding) GetTlsModeOk() (*int32, bool)
GetTlsModeOk returns a tuple with the TlsMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPDBinding) HasAddress ¶
func (o *FTPDBinding) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*FTPDBinding) HasApplyProxyConfig ¶
func (o *FTPDBinding) HasApplyProxyConfig() bool
HasApplyProxyConfig returns a boolean if a field has been set.
func (*FTPDBinding) HasClientAuthType ¶
func (o *FTPDBinding) HasClientAuthType() bool
HasClientAuthType returns a boolean if a field has been set.
func (*FTPDBinding) HasForcePassiveIp ¶
func (o *FTPDBinding) HasForcePassiveIp() bool
HasForcePassiveIp returns a boolean if a field has been set.
func (*FTPDBinding) HasPort ¶
func (o *FTPDBinding) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*FTPDBinding) HasTlsMode ¶
func (o *FTPDBinding) HasTlsMode() bool
HasTlsMode returns a boolean if a field has been set.
func (FTPDBinding) MarshalJSON ¶
func (o FTPDBinding) MarshalJSON() ([]byte, error)
func (*FTPDBinding) SetAddress ¶
func (o *FTPDBinding) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*FTPDBinding) SetApplyProxyConfig ¶
func (o *FTPDBinding) SetApplyProxyConfig(v bool)
SetApplyProxyConfig gets a reference to the given bool and assigns it to the ApplyProxyConfig field.
func (*FTPDBinding) SetClientAuthType ¶
func (o *FTPDBinding) SetClientAuthType(v int32)
SetClientAuthType gets a reference to the given int32 and assigns it to the ClientAuthType field.
func (*FTPDBinding) SetForcePassiveIp ¶
func (o *FTPDBinding) SetForcePassiveIp(v string)
SetForcePassiveIp gets a reference to the given string and assigns it to the ForcePassiveIp field.
func (*FTPDBinding) SetPort ¶
func (o *FTPDBinding) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*FTPDBinding) SetTlsMode ¶
func (o *FTPDBinding) SetTlsMode(v int32)
SetTlsMode gets a reference to the given int32 and assigns it to the TlsMode field.
type FTPPassivePortRange ¶
type FTPPassivePortRange struct { Start *int32 `json:"start,omitempty"` End *int32 `json:"end,omitempty"` }
FTPPassivePortRange struct for FTPPassivePortRange
func NewFTPPassivePortRange ¶
func NewFTPPassivePortRange() *FTPPassivePortRange
NewFTPPassivePortRange instantiates a new FTPPassivePortRange 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 NewFTPPassivePortRangeWithDefaults ¶
func NewFTPPassivePortRangeWithDefaults() *FTPPassivePortRange
NewFTPPassivePortRangeWithDefaults instantiates a new FTPPassivePortRange 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 (*FTPPassivePortRange) GetEnd ¶
func (o *FTPPassivePortRange) GetEnd() int32
GetEnd returns the End field value if set, zero value otherwise.
func (*FTPPassivePortRange) GetEndOk ¶
func (o *FTPPassivePortRange) GetEndOk() (*int32, bool)
GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPPassivePortRange) GetStart ¶
func (o *FTPPassivePortRange) GetStart() int32
GetStart returns the Start field value if set, zero value otherwise.
func (*FTPPassivePortRange) GetStartOk ¶
func (o *FTPPassivePortRange) GetStartOk() (*int32, bool)
GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPPassivePortRange) HasEnd ¶
func (o *FTPPassivePortRange) HasEnd() bool
HasEnd returns a boolean if a field has been set.
func (*FTPPassivePortRange) HasStart ¶
func (o *FTPPassivePortRange) HasStart() bool
HasStart returns a boolean if a field has been set.
func (FTPPassivePortRange) MarshalJSON ¶
func (o FTPPassivePortRange) MarshalJSON() ([]byte, error)
func (*FTPPassivePortRange) SetEnd ¶
func (o *FTPPassivePortRange) SetEnd(v int32)
SetEnd gets a reference to the given int32 and assigns it to the End field.
func (*FTPPassivePortRange) SetStart ¶
func (o *FTPPassivePortRange) SetStart(v int32)
SetStart gets a reference to the given int32 and assigns it to the Start field.
type FTPServiceStatus ¶
type FTPServiceStatus struct { IsActive *bool `json:"is_active,omitempty"` Bindings []FTPDBinding `json:"bindings,omitempty"` PassivePortRange *FTPPassivePortRange `json:"passive_port_range,omitempty"` }
FTPServiceStatus struct for FTPServiceStatus
func NewFTPServiceStatus ¶
func NewFTPServiceStatus() *FTPServiceStatus
NewFTPServiceStatus instantiates a new FTPServiceStatus 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 NewFTPServiceStatusWithDefaults ¶
func NewFTPServiceStatusWithDefaults() *FTPServiceStatus
NewFTPServiceStatusWithDefaults instantiates a new FTPServiceStatus 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 (*FTPServiceStatus) GetBindings ¶
func (o *FTPServiceStatus) GetBindings() []FTPDBinding
GetBindings returns the Bindings field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FTPServiceStatus) GetBindingsOk ¶
func (o *FTPServiceStatus) GetBindingsOk() ([]FTPDBinding, bool)
GetBindingsOk returns a tuple with the Bindings field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FTPServiceStatus) GetIsActive ¶
func (o *FTPServiceStatus) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*FTPServiceStatus) GetIsActiveOk ¶
func (o *FTPServiceStatus) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPServiceStatus) GetPassivePortRange ¶
func (o *FTPServiceStatus) GetPassivePortRange() FTPPassivePortRange
GetPassivePortRange returns the PassivePortRange field value if set, zero value otherwise.
func (*FTPServiceStatus) GetPassivePortRangeOk ¶
func (o *FTPServiceStatus) GetPassivePortRangeOk() (*FTPPassivePortRange, bool)
GetPassivePortRangeOk returns a tuple with the PassivePortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTPServiceStatus) HasBindings ¶
func (o *FTPServiceStatus) HasBindings() bool
HasBindings returns a boolean if a field has been set.
func (*FTPServiceStatus) HasIsActive ¶
func (o *FTPServiceStatus) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (*FTPServiceStatus) HasPassivePortRange ¶
func (o *FTPServiceStatus) HasPassivePortRange() bool
HasPassivePortRange returns a boolean if a field has been set.
func (FTPServiceStatus) MarshalJSON ¶
func (o FTPServiceStatus) MarshalJSON() ([]byte, error)
func (*FTPServiceStatus) SetBindings ¶
func (o *FTPServiceStatus) SetBindings(v []FTPDBinding)
SetBindings gets a reference to the given []FTPDBinding and assigns it to the Bindings field.
func (*FTPServiceStatus) SetIsActive ¶
func (o *FTPServiceStatus) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
func (*FTPServiceStatus) SetPassivePortRange ¶
func (o *FTPServiceStatus) SetPassivePortRange(v FTPPassivePortRange)
SetPassivePortRange gets a reference to the given FTPPassivePortRange and assigns it to the PassivePortRange field.
type FilesystemConfig ¶
type FilesystemConfig struct { Provider *FsProviders `json:"provider,omitempty"` S3config *S3Config `json:"s3config,omitempty"` Gcsconfig *GCSConfig `json:"gcsconfig,omitempty"` Azblobconfig *AzureBlobFsConfig `json:"azblobconfig,omitempty"` Cryptconfig *CryptFsConfig `json:"cryptconfig,omitempty"` Sftpconfig *SFTPFsConfig `json:"sftpconfig,omitempty"` }
FilesystemConfig Storage filesystem details
func NewFilesystemConfig ¶
func NewFilesystemConfig() *FilesystemConfig
NewFilesystemConfig instantiates a new FilesystemConfig 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 NewFilesystemConfigWithDefaults ¶
func NewFilesystemConfigWithDefaults() *FilesystemConfig
NewFilesystemConfigWithDefaults instantiates a new FilesystemConfig 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 (*FilesystemConfig) GetAzblobconfig ¶
func (o *FilesystemConfig) GetAzblobconfig() AzureBlobFsConfig
GetAzblobconfig returns the Azblobconfig field value if set, zero value otherwise.
func (*FilesystemConfig) GetAzblobconfigOk ¶
func (o *FilesystemConfig) GetAzblobconfigOk() (*AzureBlobFsConfig, bool)
GetAzblobconfigOk returns a tuple with the Azblobconfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FilesystemConfig) GetCryptconfig ¶
func (o *FilesystemConfig) GetCryptconfig() CryptFsConfig
GetCryptconfig returns the Cryptconfig field value if set, zero value otherwise.
func (*FilesystemConfig) GetCryptconfigOk ¶
func (o *FilesystemConfig) GetCryptconfigOk() (*CryptFsConfig, bool)
GetCryptconfigOk returns a tuple with the Cryptconfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FilesystemConfig) GetGcsconfig ¶
func (o *FilesystemConfig) GetGcsconfig() GCSConfig
GetGcsconfig returns the Gcsconfig field value if set, zero value otherwise.
func (*FilesystemConfig) GetGcsconfigOk ¶
func (o *FilesystemConfig) GetGcsconfigOk() (*GCSConfig, bool)
GetGcsconfigOk returns a tuple with the Gcsconfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FilesystemConfig) GetProvider ¶
func (o *FilesystemConfig) GetProvider() FsProviders
GetProvider returns the Provider field value if set, zero value otherwise.
func (*FilesystemConfig) GetProviderOk ¶
func (o *FilesystemConfig) GetProviderOk() (*FsProviders, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FilesystemConfig) GetS3config ¶
func (o *FilesystemConfig) GetS3config() S3Config
GetS3config returns the S3config field value if set, zero value otherwise.
func (*FilesystemConfig) GetS3configOk ¶
func (o *FilesystemConfig) GetS3configOk() (*S3Config, bool)
GetS3configOk returns a tuple with the S3config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FilesystemConfig) GetSftpconfig ¶
func (o *FilesystemConfig) GetSftpconfig() SFTPFsConfig
GetSftpconfig returns the Sftpconfig field value if set, zero value otherwise.
func (*FilesystemConfig) GetSftpconfigOk ¶
func (o *FilesystemConfig) GetSftpconfigOk() (*SFTPFsConfig, bool)
GetSftpconfigOk returns a tuple with the Sftpconfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FilesystemConfig) HasAzblobconfig ¶
func (o *FilesystemConfig) HasAzblobconfig() bool
HasAzblobconfig returns a boolean if a field has been set.
func (*FilesystemConfig) HasCryptconfig ¶
func (o *FilesystemConfig) HasCryptconfig() bool
HasCryptconfig returns a boolean if a field has been set.
func (*FilesystemConfig) HasGcsconfig ¶
func (o *FilesystemConfig) HasGcsconfig() bool
HasGcsconfig returns a boolean if a field has been set.
func (*FilesystemConfig) HasProvider ¶
func (o *FilesystemConfig) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*FilesystemConfig) HasS3config ¶
func (o *FilesystemConfig) HasS3config() bool
HasS3config returns a boolean if a field has been set.
func (*FilesystemConfig) HasSftpconfig ¶
func (o *FilesystemConfig) HasSftpconfig() bool
HasSftpconfig returns a boolean if a field has been set.
func (FilesystemConfig) MarshalJSON ¶
func (o FilesystemConfig) MarshalJSON() ([]byte, error)
func (*FilesystemConfig) SetAzblobconfig ¶
func (o *FilesystemConfig) SetAzblobconfig(v AzureBlobFsConfig)
SetAzblobconfig gets a reference to the given AzureBlobFsConfig and assigns it to the Azblobconfig field.
func (*FilesystemConfig) SetCryptconfig ¶
func (o *FilesystemConfig) SetCryptconfig(v CryptFsConfig)
SetCryptconfig gets a reference to the given CryptFsConfig and assigns it to the Cryptconfig field.
func (*FilesystemConfig) SetGcsconfig ¶
func (o *FilesystemConfig) SetGcsconfig(v GCSConfig)
SetGcsconfig gets a reference to the given GCSConfig and assigns it to the Gcsconfig field.
func (*FilesystemConfig) SetProvider ¶
func (o *FilesystemConfig) SetProvider(v FsProviders)
SetProvider gets a reference to the given FsProviders and assigns it to the Provider field.
func (*FilesystemConfig) SetS3config ¶
func (o *FilesystemConfig) SetS3config(v S3Config)
SetS3config gets a reference to the given S3Config and assigns it to the S3config field.
func (*FilesystemConfig) SetSftpconfig ¶
func (o *FilesystemConfig) SetSftpconfig(v SFTPFsConfig)
SetSftpconfig gets a reference to the given SFTPFsConfig and assigns it to the Sftpconfig field.
type FolderQuotaScan ¶
type FolderQuotaScan struct { // folder name to which the quota scan refers Name *string `json:"name,omitempty"` // scan start time as unix timestamp in milliseconds StartTime *int64 `json:"start_time,omitempty"` }
FolderQuotaScan struct for FolderQuotaScan
func NewFolderQuotaScan ¶
func NewFolderQuotaScan() *FolderQuotaScan
NewFolderQuotaScan instantiates a new FolderQuotaScan 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 NewFolderQuotaScanWithDefaults ¶
func NewFolderQuotaScanWithDefaults() *FolderQuotaScan
NewFolderQuotaScanWithDefaults instantiates a new FolderQuotaScan 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 (*FolderQuotaScan) GetName ¶
func (o *FolderQuotaScan) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FolderQuotaScan) GetNameOk ¶
func (o *FolderQuotaScan) 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 (*FolderQuotaScan) GetStartTime ¶
func (o *FolderQuotaScan) GetStartTime() int64
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*FolderQuotaScan) GetStartTimeOk ¶
func (o *FolderQuotaScan) GetStartTimeOk() (*int64, 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 (*FolderQuotaScan) HasName ¶
func (o *FolderQuotaScan) HasName() bool
HasName returns a boolean if a field has been set.
func (*FolderQuotaScan) HasStartTime ¶
func (o *FolderQuotaScan) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (FolderQuotaScan) MarshalJSON ¶
func (o FolderQuotaScan) MarshalJSON() ([]byte, error)
func (*FolderQuotaScan) SetName ¶
func (o *FolderQuotaScan) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FolderQuotaScan) SetStartTime ¶
func (o *FolderQuotaScan) SetStartTime(v int64)
SetStartTime gets a reference to the given int64 and assigns it to the StartTime field.
type FolderRetention ¶
type FolderRetention struct { // exposed virtual directory path, if no other specific retention is defined, the retention applies for sub directories too. For example if retention is defined for the paths \"/\" and \"/sub\" then the retention for \"/\" is applied for any file outside the \"/sub\" directory Path *string `json:"path,omitempty"` // retention time in hours. All the files with a modification time older than the defined value will be deleted. 0 means exclude this path Retention *int32 `json:"retention,omitempty"` // if enabled, empty directories will be deleted DeleteEmptyDirs *bool `json:"delete_empty_dirs,omitempty"` // if enabled, files will be deleted even if the user does not have the delete permission. The default is \"false\" which means that files will be skipped if the user does not have permission to delete them. File patterns filters will always be silently ignored IgnoreUserPermissions *bool `json:"ignore_user_permissions,omitempty"` }
FolderRetention struct for FolderRetention
func NewFolderRetention ¶
func NewFolderRetention() *FolderRetention
NewFolderRetention instantiates a new FolderRetention 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 NewFolderRetentionWithDefaults ¶
func NewFolderRetentionWithDefaults() *FolderRetention
NewFolderRetentionWithDefaults instantiates a new FolderRetention 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 (*FolderRetention) GetDeleteEmptyDirs ¶
func (o *FolderRetention) GetDeleteEmptyDirs() bool
GetDeleteEmptyDirs returns the DeleteEmptyDirs field value if set, zero value otherwise.
func (*FolderRetention) GetDeleteEmptyDirsOk ¶
func (o *FolderRetention) GetDeleteEmptyDirsOk() (*bool, bool)
GetDeleteEmptyDirsOk returns a tuple with the DeleteEmptyDirs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FolderRetention) GetIgnoreUserPermissions ¶
func (o *FolderRetention) GetIgnoreUserPermissions() bool
GetIgnoreUserPermissions returns the IgnoreUserPermissions field value if set, zero value otherwise.
func (*FolderRetention) GetIgnoreUserPermissionsOk ¶
func (o *FolderRetention) GetIgnoreUserPermissionsOk() (*bool, bool)
GetIgnoreUserPermissionsOk returns a tuple with the IgnoreUserPermissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FolderRetention) GetPath ¶
func (o *FolderRetention) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*FolderRetention) GetPathOk ¶
func (o *FolderRetention) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FolderRetention) GetRetention ¶
func (o *FolderRetention) GetRetention() int32
GetRetention returns the Retention field value if set, zero value otherwise.
func (*FolderRetention) GetRetentionOk ¶
func (o *FolderRetention) GetRetentionOk() (*int32, bool)
GetRetentionOk returns a tuple with the Retention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FolderRetention) HasDeleteEmptyDirs ¶
func (o *FolderRetention) HasDeleteEmptyDirs() bool
HasDeleteEmptyDirs returns a boolean if a field has been set.
func (*FolderRetention) HasIgnoreUserPermissions ¶
func (o *FolderRetention) HasIgnoreUserPermissions() bool
HasIgnoreUserPermissions returns a boolean if a field has been set.
func (*FolderRetention) HasPath ¶
func (o *FolderRetention) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*FolderRetention) HasRetention ¶
func (o *FolderRetention) HasRetention() bool
HasRetention returns a boolean if a field has been set.
func (FolderRetention) MarshalJSON ¶
func (o FolderRetention) MarshalJSON() ([]byte, error)
func (*FolderRetention) SetDeleteEmptyDirs ¶
func (o *FolderRetention) SetDeleteEmptyDirs(v bool)
SetDeleteEmptyDirs gets a reference to the given bool and assigns it to the DeleteEmptyDirs field.
func (*FolderRetention) SetIgnoreUserPermissions ¶
func (o *FolderRetention) SetIgnoreUserPermissions(v bool)
SetIgnoreUserPermissions gets a reference to the given bool and assigns it to the IgnoreUserPermissions field.
func (*FolderRetention) SetPath ¶
func (o *FolderRetention) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*FolderRetention) SetRetention ¶
func (o *FolderRetention) SetRetention(v int32)
SetRetention gets a reference to the given int32 and assigns it to the Retention field.
type FoldersApiApiAddFolderRequest ¶
type FoldersApiApiAddFolderRequest struct { ApiService *FoldersApiService // contains filtered or unexported fields }
func (FoldersApiApiAddFolderRequest) BaseVirtualFolder ¶
func (r FoldersApiApiAddFolderRequest) BaseVirtualFolder(baseVirtualFolder BaseVirtualFolder) FoldersApiApiAddFolderRequest
func (FoldersApiApiAddFolderRequest) Execute ¶
func (r FoldersApiApiAddFolderRequest) Execute() (*BaseVirtualFolder, *http.Response, error)
type FoldersApiApiDeleteFolderRequest ¶
type FoldersApiApiDeleteFolderRequest struct { ApiService *FoldersApiService // contains filtered or unexported fields }
func (FoldersApiApiDeleteFolderRequest) Execute ¶
func (r FoldersApiApiDeleteFolderRequest) Execute() (*ApiResponse, *http.Response, error)
type FoldersApiApiGetFolderByNameRequest ¶
type FoldersApiApiGetFolderByNameRequest struct { ApiService *FoldersApiService // contains filtered or unexported fields }
func (FoldersApiApiGetFolderByNameRequest) Execute ¶
func (r FoldersApiApiGetFolderByNameRequest) Execute() (*BaseVirtualFolder, *http.Response, error)
type FoldersApiApiGetFoldersRequest ¶
type FoldersApiApiGetFoldersRequest struct { ApiService *FoldersApiService // contains filtered or unexported fields }
func (FoldersApiApiGetFoldersRequest) Execute ¶
func (r FoldersApiApiGetFoldersRequest) Execute() ([]BaseVirtualFolder, *http.Response, error)
func (FoldersApiApiGetFoldersRequest) Limit ¶
func (r FoldersApiApiGetFoldersRequest) Limit(limit int32) FoldersApiApiGetFoldersRequest
The maximum number of items to return. Max value is 500, default is 100
func (FoldersApiApiGetFoldersRequest) Offset ¶
func (r FoldersApiApiGetFoldersRequest) Offset(offset int32) FoldersApiApiGetFoldersRequest
func (FoldersApiApiGetFoldersRequest) Order ¶
func (r FoldersApiApiGetFoldersRequest) Order(order string) FoldersApiApiGetFoldersRequest
Ordering folders by path. Default ASC
type FoldersApiApiUpdateFolderRequest ¶
type FoldersApiApiUpdateFolderRequest struct { ApiService *FoldersApiService // contains filtered or unexported fields }
func (FoldersApiApiUpdateFolderRequest) BaseVirtualFolder ¶
func (r FoldersApiApiUpdateFolderRequest) BaseVirtualFolder(baseVirtualFolder BaseVirtualFolder) FoldersApiApiUpdateFolderRequest
func (FoldersApiApiUpdateFolderRequest) Execute ¶
func (r FoldersApiApiUpdateFolderRequest) Execute() (*ApiResponse, *http.Response, error)
type FoldersApiService ¶
type FoldersApiService service
FoldersApiService FoldersApi service
func (*FoldersApiService) AddFolder ¶
func (a *FoldersApiService) AddFolder(ctx context.Context) FoldersApiApiAddFolderRequest
AddFolder Add folder
Adds a new folder. A quota scan is required to update the used files/size
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return FoldersApiApiAddFolderRequest
func (*FoldersApiService) AddFolderExecute ¶
func (a *FoldersApiService) AddFolderExecute(r FoldersApiApiAddFolderRequest) (*BaseVirtualFolder, *http.Response, error)
Execute executes the request
@return BaseVirtualFolder
func (*FoldersApiService) DeleteFolder ¶
func (a *FoldersApiService) DeleteFolder(ctx context.Context, name string) FoldersApiApiDeleteFolderRequest
DeleteFolder Delete folder
Deletes an existing folder
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name folder name @return FoldersApiApiDeleteFolderRequest
func (*FoldersApiService) DeleteFolderExecute ¶
func (a *FoldersApiService) DeleteFolderExecute(r FoldersApiApiDeleteFolderRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*FoldersApiService) GetFolderByName ¶
func (a *FoldersApiService) GetFolderByName(ctx context.Context, name string) FoldersApiApiGetFolderByNameRequest
GetFolderByName Find folders by name
Returns the folder with the given name if it exists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name folder name @return FoldersApiApiGetFolderByNameRequest
func (*FoldersApiService) GetFolderByNameExecute ¶
func (a *FoldersApiService) GetFolderByNameExecute(r FoldersApiApiGetFolderByNameRequest) (*BaseVirtualFolder, *http.Response, error)
Execute executes the request
@return BaseVirtualFolder
func (*FoldersApiService) GetFolders ¶
func (a *FoldersApiService) GetFolders(ctx context.Context) FoldersApiApiGetFoldersRequest
GetFolders Get folders
Returns an array with one or more folders
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return FoldersApiApiGetFoldersRequest
func (*FoldersApiService) GetFoldersExecute ¶
func (a *FoldersApiService) GetFoldersExecute(r FoldersApiApiGetFoldersRequest) ([]BaseVirtualFolder, *http.Response, error)
Execute executes the request
@return []BaseVirtualFolder
func (*FoldersApiService) UpdateFolder ¶
func (a *FoldersApiService) UpdateFolder(ctx context.Context, name string) FoldersApiApiUpdateFolderRequest
UpdateFolder Update folder
Updates an existing folder
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name folder name @return FoldersApiApiUpdateFolderRequest
func (*FoldersApiService) UpdateFolderExecute ¶
func (a *FoldersApiService) UpdateFolderExecute(r FoldersApiApiUpdateFolderRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type FsEvent ¶
type FsEvent struct { Id *string `json:"id,omitempty"` // unix timestamp in nanoseconds Timestamp *int64 `json:"timestamp,omitempty"` Action *FsEventAction `json:"action,omitempty"` Username *string `json:"username,omitempty"` FsPath *string `json:"fs_path,omitempty"` FsTargetPath *string `json:"fs_target_path,omitempty"` VirtualPath *string `json:"virtual_path,omitempty"` VirtualTargetPath *string `json:"virtual_target_path,omitempty"` SshCmd *string `json:"ssh_cmd,omitempty"` FileSize *int64 `json:"file_size,omitempty"` Status *FsEventStatus `json:"status,omitempty"` Protocol *EventProtocols `json:"protocol,omitempty"` Ip *string `json:"ip,omitempty"` SessionId *string `json:"session_id,omitempty"` FsProvider *FsProviders `json:"fs_provider,omitempty"` Bucket *string `json:"bucket,omitempty"` Endpoint *string `json:"endpoint,omitempty"` OpenFlags *string `json:"open_flags,omitempty"` InstanceId *string `json:"instance_id,omitempty"` }
FsEvent struct for FsEvent
func NewFsEvent ¶
func NewFsEvent() *FsEvent
NewFsEvent instantiates a new FsEvent 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 NewFsEventWithDefaults ¶
func NewFsEventWithDefaults() *FsEvent
NewFsEventWithDefaults instantiates a new FsEvent 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 (*FsEvent) GetAction ¶
func (o *FsEvent) GetAction() FsEventAction
GetAction returns the Action field value if set, zero value otherwise.
func (*FsEvent) GetActionOk ¶
func (o *FsEvent) GetActionOk() (*FsEventAction, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetBucketOk ¶
GetBucketOk returns a tuple with the Bucket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetEndpoint ¶
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*FsEvent) GetEndpointOk ¶
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetFileSize ¶
GetFileSize returns the FileSize field value if set, zero value otherwise.
func (*FsEvent) GetFileSizeOk ¶
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 (*FsEvent) GetFsPathOk ¶
GetFsPathOk returns a tuple with the FsPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetFsProvider ¶
func (o *FsEvent) GetFsProvider() FsProviders
GetFsProvider returns the FsProvider field value if set, zero value otherwise.
func (*FsEvent) GetFsProviderOk ¶
func (o *FsEvent) GetFsProviderOk() (*FsProviders, bool)
GetFsProviderOk returns a tuple with the FsProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetFsTargetPath ¶
GetFsTargetPath returns the FsTargetPath field value if set, zero value otherwise.
func (*FsEvent) GetFsTargetPathOk ¶
GetFsTargetPathOk returns a tuple with the FsTargetPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetIdOk ¶
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 (*FsEvent) GetInstanceId ¶
GetInstanceId returns the InstanceId field value if set, zero value otherwise.
func (*FsEvent) GetInstanceIdOk ¶
GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetOpenFlags ¶
GetOpenFlags returns the OpenFlags field value if set, zero value otherwise.
func (*FsEvent) GetOpenFlagsOk ¶
GetOpenFlagsOk returns a tuple with the OpenFlags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetProtocol ¶
func (o *FsEvent) GetProtocol() EventProtocols
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*FsEvent) GetProtocolOk ¶
func (o *FsEvent) GetProtocolOk() (*EventProtocols, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetSessionId ¶
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*FsEvent) GetSessionIdOk ¶
GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetSshCmdOk ¶
GetSshCmdOk returns a tuple with the SshCmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetStatus ¶
func (o *FsEvent) GetStatus() FsEventStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*FsEvent) GetStatusOk ¶
func (o *FsEvent) GetStatusOk() (*FsEventStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*FsEvent) GetTimestampOk ¶
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 (*FsEvent) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*FsEvent) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetVirtualPath ¶
GetVirtualPath returns the VirtualPath field value if set, zero value otherwise.
func (*FsEvent) GetVirtualPathOk ¶
GetVirtualPathOk returns a tuple with the VirtualPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) GetVirtualTargetPath ¶
GetVirtualTargetPath returns the VirtualTargetPath field value if set, zero value otherwise.
func (*FsEvent) GetVirtualTargetPathOk ¶
GetVirtualTargetPathOk returns a tuple with the VirtualTargetPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsEvent) HasEndpoint ¶
HasEndpoint returns a boolean if a field has been set.
func (*FsEvent) HasFileSize ¶
HasFileSize returns a boolean if a field has been set.
func (*FsEvent) HasFsProvider ¶
HasFsProvider returns a boolean if a field has been set.
func (*FsEvent) HasFsTargetPath ¶
HasFsTargetPath returns a boolean if a field has been set.
func (*FsEvent) HasInstanceId ¶
HasInstanceId returns a boolean if a field has been set.
func (*FsEvent) HasOpenFlags ¶
HasOpenFlags returns a boolean if a field has been set.
func (*FsEvent) HasProtocol ¶
HasProtocol returns a boolean if a field has been set.
func (*FsEvent) HasSessionId ¶
HasSessionId returns a boolean if a field has been set.
func (*FsEvent) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (*FsEvent) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (*FsEvent) HasVirtualPath ¶
HasVirtualPath returns a boolean if a field has been set.
func (*FsEvent) HasVirtualTargetPath ¶
HasVirtualTargetPath returns a boolean if a field has been set.
func (FsEvent) MarshalJSON ¶
func (*FsEvent) SetAction ¶
func (o *FsEvent) SetAction(v FsEventAction)
SetAction gets a reference to the given FsEventAction and assigns it to the Action field.
func (*FsEvent) SetBucket ¶
SetBucket gets a reference to the given string and assigns it to the Bucket field.
func (*FsEvent) SetEndpoint ¶
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*FsEvent) SetFileSize ¶
SetFileSize gets a reference to the given int64 and assigns it to the FileSize field.
func (*FsEvent) SetFsPath ¶
SetFsPath gets a reference to the given string and assigns it to the FsPath field.
func (*FsEvent) SetFsProvider ¶
func (o *FsEvent) SetFsProvider(v FsProviders)
SetFsProvider gets a reference to the given FsProviders and assigns it to the FsProvider field.
func (*FsEvent) SetFsTargetPath ¶
SetFsTargetPath gets a reference to the given string and assigns it to the FsTargetPath field.
func (*FsEvent) SetInstanceId ¶
SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.
func (*FsEvent) SetOpenFlags ¶
SetOpenFlags gets a reference to the given string and assigns it to the OpenFlags field.
func (*FsEvent) SetProtocol ¶
func (o *FsEvent) SetProtocol(v EventProtocols)
SetProtocol gets a reference to the given EventProtocols and assigns it to the Protocol field.
func (*FsEvent) SetSessionId ¶
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
func (*FsEvent) SetSshCmd ¶
SetSshCmd gets a reference to the given string and assigns it to the SshCmd field.
func (*FsEvent) SetStatus ¶
func (o *FsEvent) SetStatus(v FsEventStatus)
SetStatus gets a reference to the given FsEventStatus and assigns it to the Status field.
func (*FsEvent) SetTimestamp ¶
SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.
func (*FsEvent) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
func (*FsEvent) SetVirtualPath ¶
SetVirtualPath gets a reference to the given string and assigns it to the VirtualPath field.
func (*FsEvent) SetVirtualTargetPath ¶
SetVirtualTargetPath gets a reference to the given string and assigns it to the VirtualTargetPath field.
type FsEventAction ¶
type FsEventAction string
FsEventAction the model 'FsEventAction'
const ( FSEVENTACTION_DOWNLOAD FsEventAction = "download" FSEVENTACTION_PRE_UPLOAD FsEventAction = "pre-upload" FSEVENTACTION_UPLOAD FsEventAction = "upload" FSEVENTACTION_DELETE FsEventAction = "delete" FSEVENTACTION_RENAME FsEventAction = "rename" FSEVENTACTION_MKDIR FsEventAction = "mkdir" FSEVENTACTION_RMDIR FsEventAction = "rmdir" FSEVENTACTION_SSH_CMD FsEventAction = "ssh_cmd" )
List of FsEventAction
func NewFsEventActionFromValue ¶
func NewFsEventActionFromValue(v string) (*FsEventAction, error)
NewFsEventActionFromValue returns a pointer to a valid FsEventAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FsEventAction) IsValid ¶
func (v FsEventAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FsEventAction) Ptr ¶
func (v FsEventAction) Ptr() *FsEventAction
Ptr returns reference to FsEventAction value
func (*FsEventAction) UnmarshalJSON ¶
func (v *FsEventAction) UnmarshalJSON(src []byte) error
type FsEventStatus ¶
type FsEventStatus int32
FsEventStatus Event status: * `1` - no error * `2` - generic error * `3` - quota exceeded error
const ( FSEVENTSTATUS__1 FsEventStatus = 1 FSEVENTSTATUS__2 FsEventStatus = 2 FSEVENTSTATUS__3 FsEventStatus = 3 )
List of FsEventStatus
func NewFsEventStatusFromValue ¶
func NewFsEventStatusFromValue(v int32) (*FsEventStatus, error)
NewFsEventStatusFromValue returns a pointer to a valid FsEventStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FsEventStatus) IsValid ¶
func (v FsEventStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FsEventStatus) Ptr ¶
func (v FsEventStatus) Ptr() *FsEventStatus
Ptr returns reference to FsEventStatus value
func (*FsEventStatus) UnmarshalJSON ¶
func (v *FsEventStatus) UnmarshalJSON(src []byte) error
type FsProviders ¶
type FsProviders int32
FsProviders Filesystem providers: * `0` - Local filesystem * `1` - S3 Compatible Object Storage * `2` - Google Cloud Storage * `3` - Azure Blob Storage * `4` - Local filesystem encrypted * `5` - SFTP
const ( FSPROVIDERS__0 FsProviders = 0 FSPROVIDERS__1 FsProviders = 1 FSPROVIDERS__2 FsProviders = 2 FSPROVIDERS__3 FsProviders = 3 FSPROVIDERS__4 FsProviders = 4 FSPROVIDERS__5 FsProviders = 5 )
List of FsProviders
func NewFsProvidersFromValue ¶
func NewFsProvidersFromValue(v int32) (*FsProviders, error)
NewFsProvidersFromValue returns a pointer to a valid FsProviders for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FsProviders) IsValid ¶
func (v FsProviders) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FsProviders) Ptr ¶
func (v FsProviders) Ptr() *FsProviders
Ptr returns reference to FsProviders value
func (*FsProviders) UnmarshalJSON ¶
func (v *FsProviders) UnmarshalJSON(src []byte) error
type GCSConfig ¶
type GCSConfig struct { Bucket *string `json:"bucket,omitempty"` Credentials *Secret `json:"credentials,omitempty"` // Automatic credentials: * `0` - disabled, explicit credentials, using a JSON credentials file, must be provided. This is the default value if the field is null * `1` - enabled, we try to use the Application Default Credentials (ADC) strategy to find your application's credentials AutomaticCredentials *int32 `json:"automatic_credentials,omitempty"` StorageClass *string `json:"storage_class,omitempty"` // The ACL to apply to uploaded objects. Leave empty to use the default ACL. For more information and available ACLs, refer to the JSON API here: https://cloud.google.com/storage/docs/access-control/lists#predefined-acl Acl *string `json:"acl,omitempty"` // key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with \"/\" and must end with \"/\". If empty the whole bucket contents will be available KeyPrefix *string `json:"key_prefix,omitempty"` }
GCSConfig Google Cloud Storage configuration details. The \"credentials\" field must be populated only when adding/updating a user. It will be always omitted, since there are sensitive data, when you search/get users
func NewGCSConfig ¶
func NewGCSConfig() *GCSConfig
NewGCSConfig instantiates a new GCSConfig 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 NewGCSConfigWithDefaults ¶
func NewGCSConfigWithDefaults() *GCSConfig
NewGCSConfigWithDefaults instantiates a new GCSConfig 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 (*GCSConfig) GetAclOk ¶
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GCSConfig) GetAutomaticCredentials ¶
GetAutomaticCredentials returns the AutomaticCredentials field value if set, zero value otherwise.
func (*GCSConfig) GetAutomaticCredentialsOk ¶
GetAutomaticCredentialsOk returns a tuple with the AutomaticCredentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GCSConfig) GetBucket ¶
GetBucket returns the Bucket field value if set, zero value otherwise.
func (*GCSConfig) GetBucketOk ¶
GetBucketOk returns a tuple with the Bucket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GCSConfig) GetCredentials ¶
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*GCSConfig) GetCredentialsOk ¶
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GCSConfig) GetKeyPrefix ¶
GetKeyPrefix returns the KeyPrefix field value if set, zero value otherwise.
func (*GCSConfig) GetKeyPrefixOk ¶
GetKeyPrefixOk returns a tuple with the KeyPrefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GCSConfig) GetStorageClass ¶
GetStorageClass returns the StorageClass field value if set, zero value otherwise.
func (*GCSConfig) GetStorageClassOk ¶
GetStorageClassOk returns a tuple with the StorageClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GCSConfig) HasAutomaticCredentials ¶
HasAutomaticCredentials returns a boolean if a field has been set.
func (*GCSConfig) HasCredentials ¶
HasCredentials returns a boolean if a field has been set.
func (*GCSConfig) HasKeyPrefix ¶
HasKeyPrefix returns a boolean if a field has been set.
func (*GCSConfig) HasStorageClass ¶
HasStorageClass returns a boolean if a field has been set.
func (GCSConfig) MarshalJSON ¶
func (*GCSConfig) SetAcl ¶
SetAcl gets a reference to the given string and assigns it to the Acl field.
func (*GCSConfig) SetAutomaticCredentials ¶
SetAutomaticCredentials gets a reference to the given int32 and assigns it to the AutomaticCredentials field.
func (*GCSConfig) SetBucket ¶
SetBucket gets a reference to the given string and assigns it to the Bucket field.
func (*GCSConfig) SetCredentials ¶
SetCredentials gets a reference to the given Secret and assigns it to the Credentials field.
func (*GCSConfig) SetKeyPrefix ¶
SetKeyPrefix gets a reference to the given string and assigns it to the KeyPrefix field.
func (*GCSConfig) SetStorageClass ¶
SetStorageClass gets a reference to the given string and assigns it to the StorageClass field.
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 HealthcheckApiApiHealthzRequest ¶
type HealthcheckApiApiHealthzRequest struct { ApiService *HealthcheckApiService // contains filtered or unexported fields }
type HealthcheckApiService ¶
type HealthcheckApiService service
HealthcheckApiService HealthcheckApi service
func (*HealthcheckApiService) Healthz ¶
func (a *HealthcheckApiService) Healthz(ctx context.Context) HealthcheckApiApiHealthzRequest
Healthz health check
This endpoint can be used to check if the application is running and responding to requests
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HealthcheckApiApiHealthzRequest
func (*HealthcheckApiService) HealthzExecute ¶
func (a *HealthcheckApiService) HealthzExecute(r HealthcheckApiApiHealthzRequest) (string, *http.Response, error)
Execute executes the request
@return string
type HooksFilter ¶
type HooksFilter struct { // If true, the external auth hook, if defined, will not be executed ExternalAuthDisabled *bool `json:"external_auth_disabled,omitempty"` // If true, the pre-login hook, if defined, will not be executed PreLoginDisabled *bool `json:"pre_login_disabled,omitempty"` // If true, the check password hook, if defined, will not be executed CheckPasswordDisabled *bool `json:"check_password_disabled,omitempty"` }
HooksFilter User specific hook overrides
func NewHooksFilter ¶
func NewHooksFilter() *HooksFilter
NewHooksFilter instantiates a new HooksFilter 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 NewHooksFilterWithDefaults ¶
func NewHooksFilterWithDefaults() *HooksFilter
NewHooksFilterWithDefaults instantiates a new HooksFilter 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 (*HooksFilter) GetCheckPasswordDisabled ¶
func (o *HooksFilter) GetCheckPasswordDisabled() bool
GetCheckPasswordDisabled returns the CheckPasswordDisabled field value if set, zero value otherwise.
func (*HooksFilter) GetCheckPasswordDisabledOk ¶
func (o *HooksFilter) GetCheckPasswordDisabledOk() (*bool, bool)
GetCheckPasswordDisabledOk returns a tuple with the CheckPasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HooksFilter) GetExternalAuthDisabled ¶
func (o *HooksFilter) GetExternalAuthDisabled() bool
GetExternalAuthDisabled returns the ExternalAuthDisabled field value if set, zero value otherwise.
func (*HooksFilter) GetExternalAuthDisabledOk ¶
func (o *HooksFilter) GetExternalAuthDisabledOk() (*bool, bool)
GetExternalAuthDisabledOk returns a tuple with the ExternalAuthDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HooksFilter) GetPreLoginDisabled ¶
func (o *HooksFilter) GetPreLoginDisabled() bool
GetPreLoginDisabled returns the PreLoginDisabled field value if set, zero value otherwise.
func (*HooksFilter) GetPreLoginDisabledOk ¶
func (o *HooksFilter) GetPreLoginDisabledOk() (*bool, bool)
GetPreLoginDisabledOk returns a tuple with the PreLoginDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HooksFilter) HasCheckPasswordDisabled ¶
func (o *HooksFilter) HasCheckPasswordDisabled() bool
HasCheckPasswordDisabled returns a boolean if a field has been set.
func (*HooksFilter) HasExternalAuthDisabled ¶
func (o *HooksFilter) HasExternalAuthDisabled() bool
HasExternalAuthDisabled returns a boolean if a field has been set.
func (*HooksFilter) HasPreLoginDisabled ¶
func (o *HooksFilter) HasPreLoginDisabled() bool
HasPreLoginDisabled returns a boolean if a field has been set.
func (HooksFilter) MarshalJSON ¶
func (o HooksFilter) MarshalJSON() ([]byte, error)
func (*HooksFilter) SetCheckPasswordDisabled ¶
func (o *HooksFilter) SetCheckPasswordDisabled(v bool)
SetCheckPasswordDisabled gets a reference to the given bool and assigns it to the CheckPasswordDisabled field.
func (*HooksFilter) SetExternalAuthDisabled ¶
func (o *HooksFilter) SetExternalAuthDisabled(v bool)
SetExternalAuthDisabled gets a reference to the given bool and assigns it to the ExternalAuthDisabled field.
func (*HooksFilter) SetPreLoginDisabled ¶
func (o *HooksFilter) SetPreLoginDisabled(v bool)
SetPreLoginDisabled gets a reference to the given bool and assigns it to the PreLoginDisabled field.
type InlineObject1 ¶
type InlineObject1 struct { // name of the configuration to use to generate the secret ConfigName *string `json:"config_name,omitempty"` }
InlineObject1 struct for InlineObject1
func NewInlineObject1 ¶
func NewInlineObject1() *InlineObject1
NewInlineObject1 instantiates a new InlineObject1 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 NewInlineObject1WithDefaults ¶
func NewInlineObject1WithDefaults() *InlineObject1
NewInlineObject1WithDefaults instantiates a new InlineObject1 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 (*InlineObject1) GetConfigName ¶
func (o *InlineObject1) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*InlineObject1) GetConfigNameOk ¶
func (o *InlineObject1) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject1) HasConfigName ¶
func (o *InlineObject1) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (InlineObject1) MarshalJSON ¶
func (o InlineObject1) MarshalJSON() ([]byte, error)
func (*InlineObject1) SetConfigName ¶
func (o *InlineObject1) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
type InlineObject2 ¶
type InlineObject2 struct { // name of the configuration to use to validate the passcode ConfigName *string `json:"config_name,omitempty"` // passcode to validate Passcode *string `json:"passcode,omitempty"` // secret to use to validate the passcode Secret *string `json:"secret,omitempty"` }
InlineObject2 struct for InlineObject2
func NewInlineObject2 ¶
func NewInlineObject2() *InlineObject2
NewInlineObject2 instantiates a new InlineObject2 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 NewInlineObject2WithDefaults ¶
func NewInlineObject2WithDefaults() *InlineObject2
NewInlineObject2WithDefaults instantiates a new InlineObject2 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 (*InlineObject2) GetConfigName ¶
func (o *InlineObject2) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*InlineObject2) GetConfigNameOk ¶
func (o *InlineObject2) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject2) GetPasscode ¶
func (o *InlineObject2) GetPasscode() string
GetPasscode returns the Passcode field value if set, zero value otherwise.
func (*InlineObject2) GetPasscodeOk ¶
func (o *InlineObject2) GetPasscodeOk() (*string, bool)
GetPasscodeOk returns a tuple with the Passcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject2) GetSecret ¶
func (o *InlineObject2) GetSecret() string
GetSecret returns the Secret field value if set, zero value otherwise.
func (*InlineObject2) GetSecretOk ¶
func (o *InlineObject2) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject2) HasConfigName ¶
func (o *InlineObject2) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (*InlineObject2) HasPasscode ¶
func (o *InlineObject2) HasPasscode() bool
HasPasscode returns a boolean if a field has been set.
func (*InlineObject2) HasSecret ¶
func (o *InlineObject2) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (InlineObject2) MarshalJSON ¶
func (o InlineObject2) MarshalJSON() ([]byte, error)
func (*InlineObject2) SetConfigName ¶
func (o *InlineObject2) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
func (*InlineObject2) SetPasscode ¶
func (o *InlineObject2) SetPasscode(v string)
SetPasscode gets a reference to the given string and assigns it to the Passcode field.
func (*InlineObject2) SetSecret ¶
func (o *InlineObject2) SetSecret(v string)
SetSecret gets a reference to the given string and assigns it to the Secret field.
type InlineObject3 ¶
type InlineObject3 struct { // IPv4/IPv6 address to remove Ip *string `json:"ip,omitempty"` }
InlineObject3 struct for InlineObject3
func NewInlineObject3 ¶
func NewInlineObject3() *InlineObject3
NewInlineObject3 instantiates a new InlineObject3 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 NewInlineObject3WithDefaults ¶
func NewInlineObject3WithDefaults() *InlineObject3
NewInlineObject3WithDefaults instantiates a new InlineObject3 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 (*InlineObject3) GetIp ¶
func (o *InlineObject3) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*InlineObject3) GetIpOk ¶
func (o *InlineObject3) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject3) HasIp ¶
func (o *InlineObject3) HasIp() bool
HasIp returns a boolean if a field has been set.
func (InlineObject3) MarshalJSON ¶
func (o InlineObject3) MarshalJSON() ([]byte, error)
func (*InlineObject3) SetIp ¶
func (o *InlineObject3) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
type InlineObject4 ¶
type InlineObject4 struct { Code *string `json:"code,omitempty"` Password *string `json:"password,omitempty"` }
InlineObject4 struct for InlineObject4
func NewInlineObject4 ¶
func NewInlineObject4() *InlineObject4
NewInlineObject4 instantiates a new InlineObject4 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 NewInlineObject4WithDefaults ¶
func NewInlineObject4WithDefaults() *InlineObject4
NewInlineObject4WithDefaults instantiates a new InlineObject4 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 (*InlineObject4) GetCode ¶
func (o *InlineObject4) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*InlineObject4) GetCodeOk ¶
func (o *InlineObject4) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject4) GetPassword ¶
func (o *InlineObject4) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*InlineObject4) GetPasswordOk ¶
func (o *InlineObject4) 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 (*InlineObject4) HasCode ¶
func (o *InlineObject4) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*InlineObject4) HasPassword ¶
func (o *InlineObject4) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (InlineObject4) MarshalJSON ¶
func (o InlineObject4) MarshalJSON() ([]byte, error)
func (*InlineObject4) SetCode ¶
func (o *InlineObject4) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*InlineObject4) SetPassword ¶
func (o *InlineObject4) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
type InlineObject5 ¶
type InlineObject5 struct { Code *string `json:"code,omitempty"` Password *string `json:"password,omitempty"` }
InlineObject5 struct for InlineObject5
func NewInlineObject5 ¶
func NewInlineObject5() *InlineObject5
NewInlineObject5 instantiates a new InlineObject5 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 NewInlineObject5WithDefaults ¶
func NewInlineObject5WithDefaults() *InlineObject5
NewInlineObject5WithDefaults instantiates a new InlineObject5 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 (*InlineObject5) GetCode ¶
func (o *InlineObject5) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*InlineObject5) GetCodeOk ¶
func (o *InlineObject5) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject5) GetPassword ¶
func (o *InlineObject5) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*InlineObject5) GetPasswordOk ¶
func (o *InlineObject5) 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 (*InlineObject5) HasCode ¶
func (o *InlineObject5) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*InlineObject5) HasPassword ¶
func (o *InlineObject5) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (InlineObject5) MarshalJSON ¶
func (o InlineObject5) MarshalJSON() ([]byte, error)
func (*InlineObject5) SetCode ¶
func (o *InlineObject5) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*InlineObject5) SetPassword ¶
func (o *InlineObject5) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
type InlineObject6 ¶
type InlineObject6 struct { // name of the configuration to use to generate the secret ConfigName *string `json:"config_name,omitempty"` }
InlineObject6 struct for InlineObject6
func NewInlineObject6 ¶
func NewInlineObject6() *InlineObject6
NewInlineObject6 instantiates a new InlineObject6 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 NewInlineObject6WithDefaults ¶
func NewInlineObject6WithDefaults() *InlineObject6
NewInlineObject6WithDefaults instantiates a new InlineObject6 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 (*InlineObject6) GetConfigName ¶
func (o *InlineObject6) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*InlineObject6) GetConfigNameOk ¶
func (o *InlineObject6) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject6) HasConfigName ¶
func (o *InlineObject6) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (InlineObject6) MarshalJSON ¶
func (o InlineObject6) MarshalJSON() ([]byte, error)
func (*InlineObject6) SetConfigName ¶
func (o *InlineObject6) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
type InlineObject7 ¶
type InlineObject7 struct { // name of the configuration to use to validate the passcode ConfigName *string `json:"config_name,omitempty"` // passcode to validate Passcode *string `json:"passcode,omitempty"` // secret to use to validate the passcode Secret *string `json:"secret,omitempty"` }
InlineObject7 struct for InlineObject7
func NewInlineObject7 ¶
func NewInlineObject7() *InlineObject7
NewInlineObject7 instantiates a new InlineObject7 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 NewInlineObject7WithDefaults ¶
func NewInlineObject7WithDefaults() *InlineObject7
NewInlineObject7WithDefaults instantiates a new InlineObject7 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 (*InlineObject7) GetConfigName ¶
func (o *InlineObject7) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*InlineObject7) GetConfigNameOk ¶
func (o *InlineObject7) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject7) GetPasscode ¶
func (o *InlineObject7) GetPasscode() string
GetPasscode returns the Passcode field value if set, zero value otherwise.
func (*InlineObject7) GetPasscodeOk ¶
func (o *InlineObject7) GetPasscodeOk() (*string, bool)
GetPasscodeOk returns a tuple with the Passcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject7) GetSecret ¶
func (o *InlineObject7) GetSecret() string
GetSecret returns the Secret field value if set, zero value otherwise.
func (*InlineObject7) GetSecretOk ¶
func (o *InlineObject7) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject7) HasConfigName ¶
func (o *InlineObject7) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (*InlineObject7) HasPasscode ¶
func (o *InlineObject7) HasPasscode() bool
HasPasscode returns a boolean if a field has been set.
func (*InlineObject7) HasSecret ¶
func (o *InlineObject7) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (InlineObject7) MarshalJSON ¶
func (o InlineObject7) MarshalJSON() ([]byte, error)
func (*InlineObject7) SetConfigName ¶
func (o *InlineObject7) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
func (*InlineObject7) SetPasscode ¶
func (o *InlineObject7) SetPasscode(v string)
SetPasscode gets a reference to the given string and assigns it to the Passcode field.
func (*InlineObject7) SetSecret ¶
func (o *InlineObject7) SetSecret(v string)
SetSecret gets a reference to the given string and assigns it to the Secret field.
type InlineObject9 ¶
type InlineObject9 struct { // File modification time as unix timestamp in milliseconds ModificationTime *int32 `json:"modification_time,omitempty"` }
InlineObject9 struct for InlineObject9
func NewInlineObject9 ¶
func NewInlineObject9() *InlineObject9
NewInlineObject9 instantiates a new InlineObject9 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 NewInlineObject9WithDefaults ¶
func NewInlineObject9WithDefaults() *InlineObject9
NewInlineObject9WithDefaults instantiates a new InlineObject9 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 (*InlineObject9) GetModificationTime ¶
func (o *InlineObject9) GetModificationTime() int32
GetModificationTime returns the ModificationTime field value if set, zero value otherwise.
func (*InlineObject9) GetModificationTimeOk ¶
func (o *InlineObject9) GetModificationTimeOk() (*int32, bool)
GetModificationTimeOk returns a tuple with the ModificationTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineObject9) HasModificationTime ¶
func (o *InlineObject9) HasModificationTime() bool
HasModificationTime returns a boolean if a field has been set.
func (InlineObject9) MarshalJSON ¶
func (o InlineObject9) MarshalJSON() ([]byte, error)
func (*InlineObject9) SetModificationTime ¶
func (o *InlineObject9) SetModificationTime(v int32)
SetModificationTime gets a reference to the given int32 and assigns it to the ModificationTime field.
type InlineResponse200 ¶
type InlineResponse200 struct { ConfigName *string `json:"config_name,omitempty"` Issuer *string `json:"issuer,omitempty"` Secret *string `json:"secret,omitempty"` // QR code png encoded as BASE64 QrCode *string `json:"qr_code,omitempty"` }
InlineResponse200 struct for InlineResponse200
func NewInlineResponse200 ¶
func NewInlineResponse200() *InlineResponse200
NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults ¶
func NewInlineResponse200WithDefaults() *InlineResponse200
NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetConfigName ¶
func (o *InlineResponse200) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*InlineResponse200) GetConfigNameOk ¶
func (o *InlineResponse200) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetIssuer ¶
func (o *InlineResponse200) GetIssuer() string
GetIssuer returns the Issuer field value if set, zero value otherwise.
func (*InlineResponse200) GetIssuerOk ¶
func (o *InlineResponse200) GetIssuerOk() (*string, bool)
GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetQrCode ¶
func (o *InlineResponse200) GetQrCode() string
GetQrCode returns the QrCode field value if set, zero value otherwise.
func (*InlineResponse200) GetQrCodeOk ¶
func (o *InlineResponse200) GetQrCodeOk() (*string, bool)
GetQrCodeOk returns a tuple with the QrCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetSecret ¶
func (o *InlineResponse200) GetSecret() string
GetSecret returns the Secret field value if set, zero value otherwise.
func (*InlineResponse200) GetSecretOk ¶
func (o *InlineResponse200) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) HasConfigName ¶
func (o *InlineResponse200) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (*InlineResponse200) HasIssuer ¶
func (o *InlineResponse200) HasIssuer() bool
HasIssuer returns a boolean if a field has been set.
func (*InlineResponse200) HasQrCode ¶
func (o *InlineResponse200) HasQrCode() bool
HasQrCode returns a boolean if a field has been set.
func (*InlineResponse200) HasSecret ¶
func (o *InlineResponse200) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (InlineResponse200) MarshalJSON ¶
func (o InlineResponse200) MarshalJSON() ([]byte, error)
func (*InlineResponse200) SetConfigName ¶
func (o *InlineResponse200) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
func (*InlineResponse200) SetIssuer ¶
func (o *InlineResponse200) SetIssuer(v string)
SetIssuer gets a reference to the given string and assigns it to the Issuer field.
func (*InlineResponse200) SetQrCode ¶
func (o *InlineResponse200) SetQrCode(v string)
SetQrCode gets a reference to the given string and assigns it to the QrCode field.
func (*InlineResponse200) SetSecret ¶
func (o *InlineResponse200) SetSecret(v string)
SetSecret gets a reference to the given string and assigns it to the Secret field.
type InlineResponse201 ¶
type InlineResponse201 struct { Mesage *string `json:"mesage,omitempty"` // generated API key Key *string `json:"key,omitempty"` }
InlineResponse201 struct for InlineResponse201
func NewInlineResponse201 ¶
func NewInlineResponse201() *InlineResponse201
NewInlineResponse201 instantiates a new InlineResponse201 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 NewInlineResponse201WithDefaults ¶
func NewInlineResponse201WithDefaults() *InlineResponse201
NewInlineResponse201WithDefaults instantiates a new InlineResponse201 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 (*InlineResponse201) GetKey ¶
func (o *InlineResponse201) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*InlineResponse201) GetKeyOk ¶
func (o *InlineResponse201) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse201) GetMesage ¶
func (o *InlineResponse201) GetMesage() string
GetMesage returns the Mesage field value if set, zero value otherwise.
func (*InlineResponse201) GetMesageOk ¶
func (o *InlineResponse201) GetMesageOk() (*string, bool)
GetMesageOk returns a tuple with the Mesage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse201) HasKey ¶
func (o *InlineResponse201) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*InlineResponse201) HasMesage ¶
func (o *InlineResponse201) HasMesage() bool
HasMesage returns a boolean if a field has been set.
func (InlineResponse201) MarshalJSON ¶
func (o InlineResponse201) MarshalJSON() ([]byte, error)
func (*InlineResponse201) SetKey ¶
func (o *InlineResponse201) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*InlineResponse201) SetMesage ¶
func (o *InlineResponse201) SetMesage(v string)
SetMesage gets a reference to the given string and assigns it to the Mesage field.
type LoginMethods ¶
type LoginMethods string
LoginMethods Available login methods. To enable multi-step authentication you have to allow only multi-step login methods * `publickey` * `password` * `keyboard-interactive` * `publickey+password` - multi-step auth: public key and password * `publickey+keyboard-interactive` - multi-step auth: public key and keyboard interactive * `TLSCertificate` * `TLSCertificate+password` - multi-step auth: TLS client certificate and password
const ( LOGINMETHODS_PUBLICKEY LoginMethods = "publickey" LOGINMETHODS_PASSWORD LoginMethods = "password" LOGINMETHODS_KEYBOARD_INTERACTIVE LoginMethods = "keyboard-interactive" LOGINMETHODS_PUBLICKEYPASSWORD LoginMethods = "publickey+password" LOGINMETHODS_PUBLICKEYKEYBOARD_INTERACTIVE LoginMethods = "publickey+keyboard-interactive" LOGINMETHODS_TLS_CERTIFICATE LoginMethods = "TLSCertificate" LOGINMETHODS_TLS_CERTIFICATEPASSWORD LoginMethods = "TLSCertificate+password" )
List of LoginMethods
func NewLoginMethodsFromValue ¶
func NewLoginMethodsFromValue(v string) (*LoginMethods, error)
NewLoginMethodsFromValue returns a pointer to a valid LoginMethods for the value passed as argument, or an error if the value passed is not allowed by the enum
func (LoginMethods) IsValid ¶
func (v LoginMethods) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (LoginMethods) Ptr ¶
func (v LoginMethods) Ptr() *LoginMethods
Ptr returns reference to LoginMethods value
func (*LoginMethods) UnmarshalJSON ¶
func (v *LoginMethods) UnmarshalJSON(src []byte) error
type MFAProtocols ¶
type MFAProtocols string
MFAProtocols Protocols: * `SSH` - includes both SFTP and SSH commands * `FTP` - plain FTP and FTPES/FTPS * `HTTP` - WebClient/REST API
const ( MFAPROTOCOLS_SSH MFAProtocols = "SSH" MFAPROTOCOLS_FTP MFAProtocols = "FTP" MFAPROTOCOLS_HTTP MFAProtocols = "HTTP" )
List of MFAProtocols
func NewMFAProtocolsFromValue ¶
func NewMFAProtocolsFromValue(v string) (*MFAProtocols, error)
NewMFAProtocolsFromValue returns a pointer to a valid MFAProtocols for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MFAProtocols) IsValid ¶
func (v MFAProtocols) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MFAProtocols) Ptr ¶
func (v MFAProtocols) Ptr() *MFAProtocols
Ptr returns reference to MFAProtocols value
func (*MFAProtocols) UnmarshalJSON ¶
func (v *MFAProtocols) UnmarshalJSON(src []byte) error
type MFAStatus ¶
type MFAStatus struct { IsActive *bool `json:"is_active,omitempty"` TotpConfigs []TOTPConfig `json:"totp_configs,omitempty"` }
MFAStatus struct for MFAStatus
func NewMFAStatus ¶
func NewMFAStatus() *MFAStatus
NewMFAStatus instantiates a new MFAStatus 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 NewMFAStatusWithDefaults ¶
func NewMFAStatusWithDefaults() *MFAStatus
NewMFAStatusWithDefaults instantiates a new MFAStatus 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 (*MFAStatus) GetIsActive ¶
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*MFAStatus) GetIsActiveOk ¶
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MFAStatus) GetTotpConfigs ¶
func (o *MFAStatus) GetTotpConfigs() []TOTPConfig
GetTotpConfigs returns the TotpConfigs field value if set, zero value otherwise.
func (*MFAStatus) GetTotpConfigsOk ¶
func (o *MFAStatus) GetTotpConfigsOk() ([]TOTPConfig, bool)
GetTotpConfigsOk returns a tuple with the TotpConfigs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MFAStatus) HasIsActive ¶
HasIsActive returns a boolean if a field has been set.
func (*MFAStatus) HasTotpConfigs ¶
HasTotpConfigs returns a boolean if a field has been set.
func (MFAStatus) MarshalJSON ¶
func (*MFAStatus) SetIsActive ¶
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
func (*MFAStatus) SetTotpConfigs ¶
func (o *MFAStatus) SetTotpConfigs(v []TOTPConfig)
SetTotpConfigs gets a reference to the given []TOTPConfig and assigns it to the TotpConfigs field.
type MaintenanceApiApiDumpdataRequest ¶
type MaintenanceApiApiDumpdataRequest struct { ApiService *MaintenanceApiService // contains filtered or unexported fields }
func (MaintenanceApiApiDumpdataRequest) Execute ¶
func (r MaintenanceApiApiDumpdataRequest) Execute() (*BackupData, *http.Response, error)
func (MaintenanceApiApiDumpdataRequest) Indent ¶
func (r MaintenanceApiApiDumpdataRequest) Indent(indent int32) MaintenanceApiApiDumpdataRequest
indent: * `0` no indentation. This is the default * `1` format the output JSON
func (MaintenanceApiApiDumpdataRequest) OutputData ¶
func (r MaintenanceApiApiDumpdataRequest) OutputData(outputData int32) MaintenanceApiApiDumpdataRequest
output data: * `0` or any other value != 1, the backup will be saved to a file on the server, `output_file` is required * `1` the backup will be returned as response body
func (MaintenanceApiApiDumpdataRequest) OutputFile ¶
func (r MaintenanceApiApiDumpdataRequest) OutputFile(outputFile string) MaintenanceApiApiDumpdataRequest
Path for the file to write the JSON serialized data to. This path is relative to the configured \"backups_path\". If this file already exists it will be overwritten. To return the backup as response body set `output_data` to true instead.
type MaintenanceApiApiGetStatusRequest ¶
type MaintenanceApiApiGetStatusRequest struct { ApiService *MaintenanceApiService // contains filtered or unexported fields }
func (MaintenanceApiApiGetStatusRequest) Execute ¶
func (r MaintenanceApiApiGetStatusRequest) Execute() (*ServicesStatus, *http.Response, error)
type MaintenanceApiApiGetVersionRequest ¶
type MaintenanceApiApiGetVersionRequest struct { ApiService *MaintenanceApiService // contains filtered or unexported fields }
func (MaintenanceApiApiGetVersionRequest) Execute ¶
func (r MaintenanceApiApiGetVersionRequest) Execute() (*VersionInfo, *http.Response, error)
type MaintenanceApiApiLoaddataFromFileRequest ¶
type MaintenanceApiApiLoaddataFromFileRequest struct { ApiService *MaintenanceApiService // contains filtered or unexported fields }
func (MaintenanceApiApiLoaddataFromFileRequest) Execute ¶
func (r MaintenanceApiApiLoaddataFromFileRequest) Execute() (*ApiResponse, *http.Response, error)
func (MaintenanceApiApiLoaddataFromFileRequest) InputFile ¶
func (r MaintenanceApiApiLoaddataFromFileRequest) InputFile(inputFile string) MaintenanceApiApiLoaddataFromFileRequest
Path for the file to read the JSON serialized data from. This can be an absolute path or a path relative to the configured \"backups_path\". The max allowed file size is 10MB
func (MaintenanceApiApiLoaddataFromFileRequest) Mode ¶
func (r MaintenanceApiApiLoaddataFromFileRequest) Mode(mode int32) MaintenanceApiApiLoaddataFromFileRequest
Mode: * `0` New objects are added, existing ones are updated. This is the default * `1` New objects are added, existing ones are not modified * `2` New objects are added, existing ones are updated and connected users are disconnected and so forced to use the new configuration
func (MaintenanceApiApiLoaddataFromFileRequest) ScanQuota ¶
func (r MaintenanceApiApiLoaddataFromFileRequest) ScanQuota(scanQuota int32) MaintenanceApiApiLoaddataFromFileRequest
Quota scan: * `0` no quota scan is done, the imported users/folders will have used_quota_size and used_quota_files = 0 or the existing values if they already exists. This is the default * `1` scan quota * `2` scan quota if the user has quota restrictions required: false
type MaintenanceApiApiLoaddataFromRequestBodyRequest ¶
type MaintenanceApiApiLoaddataFromRequestBodyRequest struct { ApiService *MaintenanceApiService // contains filtered or unexported fields }
func (MaintenanceApiApiLoaddataFromRequestBodyRequest) BackupData ¶
func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) BackupData(backupData BackupData) MaintenanceApiApiLoaddataFromRequestBodyRequest
func (MaintenanceApiApiLoaddataFromRequestBodyRequest) Execute ¶
func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) Execute() (*ApiResponse, *http.Response, error)
func (MaintenanceApiApiLoaddataFromRequestBodyRequest) Mode ¶
func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) Mode(mode int32) MaintenanceApiApiLoaddataFromRequestBodyRequest
Mode: * `0` New objects are added, existing ones are updated. This is the default * `1` New objects are added, existing ones are not modified * `2` New objects are added, existing ones are updated and connected users are disconnected and so forced to use the new configuration
func (MaintenanceApiApiLoaddataFromRequestBodyRequest) ScanQuota ¶
func (r MaintenanceApiApiLoaddataFromRequestBodyRequest) ScanQuota(scanQuota int32) MaintenanceApiApiLoaddataFromRequestBodyRequest
Quota scan: * `0` no quota scan is done, the imported users/folders will have used_quota_size and used_quota_files = 0 or the existing values if they already exists. This is the default * `1` scan quota * `2` scan quota if the user has quota restrictions required: false
type MaintenanceApiService ¶
type MaintenanceApiService service
MaintenanceApiService MaintenanceApi service
func (*MaintenanceApiService) Dumpdata ¶
func (a *MaintenanceApiService) Dumpdata(ctx context.Context) MaintenanceApiApiDumpdataRequest
Dumpdata Dump data
Backups data as data provider independent JSON. The backup can be saved in a local file on the server, to avoid exposing sensitive data over the network, or returned as response body. The output of dumpdata can be used as input for loaddata
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return MaintenanceApiApiDumpdataRequest
func (*MaintenanceApiService) DumpdataExecute ¶
func (a *MaintenanceApiService) DumpdataExecute(r MaintenanceApiApiDumpdataRequest) (*BackupData, *http.Response, error)
Execute executes the request
@return BackupData
func (*MaintenanceApiService) GetStatus ¶
func (a *MaintenanceApiService) GetStatus(ctx context.Context) MaintenanceApiApiGetStatusRequest
GetStatus Get status
Retrieves the status of the active services
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return MaintenanceApiApiGetStatusRequest
func (*MaintenanceApiService) GetStatusExecute ¶
func (a *MaintenanceApiService) GetStatusExecute(r MaintenanceApiApiGetStatusRequest) (*ServicesStatus, *http.Response, error)
Execute executes the request
@return ServicesStatus
func (*MaintenanceApiService) GetVersion ¶
func (a *MaintenanceApiService) GetVersion(ctx context.Context) MaintenanceApiApiGetVersionRequest
GetVersion Get version details
Returns version details such as the version number, build date, commit hash and enabled features
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return MaintenanceApiApiGetVersionRequest
func (*MaintenanceApiService) GetVersionExecute ¶
func (a *MaintenanceApiService) GetVersionExecute(r MaintenanceApiApiGetVersionRequest) (*VersionInfo, *http.Response, error)
Execute executes the request
@return VersionInfo
func (*MaintenanceApiService) LoaddataFromFile ¶
func (a *MaintenanceApiService) LoaddataFromFile(ctx context.Context) MaintenanceApiApiLoaddataFromFileRequest
LoaddataFromFile Load data from path
Restores SFTPGo data from a JSON backup file on the server. Objects will be restored one by one and the restore is stopped if a object cannot be added or updated, so it could happen a partial restore
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return MaintenanceApiApiLoaddataFromFileRequest
func (*MaintenanceApiService) LoaddataFromFileExecute ¶
func (a *MaintenanceApiService) LoaddataFromFileExecute(r MaintenanceApiApiLoaddataFromFileRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*MaintenanceApiService) LoaddataFromRequestBody ¶
func (a *MaintenanceApiService) LoaddataFromRequestBody(ctx context.Context) MaintenanceApiApiLoaddataFromRequestBodyRequest
LoaddataFromRequestBody Load data
Restores SFTPGo data from a JSON backup. Objects will be restored one by one and the restore is stopped if a object cannot be added or updated, so it could happen a partial restore
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return MaintenanceApiApiLoaddataFromRequestBodyRequest
func (*MaintenanceApiService) LoaddataFromRequestBodyExecute ¶
func (a *MaintenanceApiService) LoaddataFromRequestBodyExecute(r MaintenanceApiApiLoaddataFromRequestBodyRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type MetadataApiApiGetUsersMetadataChecksRequest ¶
type MetadataApiApiGetUsersMetadataChecksRequest struct { ApiService *MetadataApiService // contains filtered or unexported fields }
func (MetadataApiApiGetUsersMetadataChecksRequest) Execute ¶
func (r MetadataApiApiGetUsersMetadataChecksRequest) Execute() ([]MetadataCheck, *http.Response, error)
type MetadataApiApiStartUserMetadataCheckRequest ¶
type MetadataApiApiStartUserMetadataCheckRequest struct { ApiService *MetadataApiService // contains filtered or unexported fields }
func (MetadataApiApiStartUserMetadataCheckRequest) Execute ¶
func (r MetadataApiApiStartUserMetadataCheckRequest) Execute() (*ApiResponse, *http.Response, error)
type MetadataApiService ¶
type MetadataApiService service
MetadataApiService MetadataApi service
func (*MetadataApiService) GetUsersMetadataChecks ¶
func (a *MetadataApiService) GetUsersMetadataChecks(ctx context.Context) MetadataApiApiGetUsersMetadataChecksRequest
GetUsersMetadataChecks Get metadata checks
Returns the active metadata checks
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return MetadataApiApiGetUsersMetadataChecksRequest
func (*MetadataApiService) GetUsersMetadataChecksExecute ¶
func (a *MetadataApiService) GetUsersMetadataChecksExecute(r MetadataApiApiGetUsersMetadataChecksRequest) ([]MetadataCheck, *http.Response, error)
Execute executes the request
@return []MetadataCheck
func (*MetadataApiService) StartUserMetadataCheck ¶
func (a *MetadataApiService) StartUserMetadataCheck(ctx context.Context, username string) MetadataApiApiStartUserMetadataCheckRequest
StartUserMetadataCheck Start a metadata check
Starts a new metadata check for the given user. A metadata check requires a metadata plugin and removes the metadata associated to missing items (for example objects deleted outside SFTPGo). If a metadata check for this user is already active a 409 status code is returned. Metadata are stored for cloud storage backends. This API does nothing for other backends or if no metadata plugin is configured
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return MetadataApiApiStartUserMetadataCheckRequest
func (*MetadataApiService) StartUserMetadataCheckExecute ¶
func (a *MetadataApiService) StartUserMetadataCheckExecute(r MetadataApiApiStartUserMetadataCheckRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type MetadataCheck ¶
type MetadataCheck struct { // username to which the check refers Username *string `json:"username,omitempty"` // check start time as unix timestamp in milliseconds StartTime *int64 `json:"start_time,omitempty"` }
MetadataCheck struct for MetadataCheck
func NewMetadataCheck ¶
func NewMetadataCheck() *MetadataCheck
NewMetadataCheck instantiates a new MetadataCheck 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 NewMetadataCheckWithDefaults ¶
func NewMetadataCheckWithDefaults() *MetadataCheck
NewMetadataCheckWithDefaults instantiates a new MetadataCheck 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 (*MetadataCheck) GetStartTime ¶
func (o *MetadataCheck) GetStartTime() int64
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*MetadataCheck) GetStartTimeOk ¶
func (o *MetadataCheck) GetStartTimeOk() (*int64, 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 (*MetadataCheck) GetUsername ¶
func (o *MetadataCheck) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*MetadataCheck) GetUsernameOk ¶
func (o *MetadataCheck) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataCheck) HasStartTime ¶
func (o *MetadataCheck) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (*MetadataCheck) HasUsername ¶
func (o *MetadataCheck) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (MetadataCheck) MarshalJSON ¶
func (o MetadataCheck) MarshalJSON() ([]byte, error)
func (*MetadataCheck) SetStartTime ¶
func (o *MetadataCheck) SetStartTime(v int64)
SetStartTime gets a reference to the given int64 and assigns it to the StartTime field.
func (*MetadataCheck) SetUsername ¶
func (o *MetadataCheck) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type NullableAdmin ¶
type NullableAdmin struct {
// contains filtered or unexported fields
}
func NewNullableAdmin ¶
func NewNullableAdmin(val *Admin) *NullableAdmin
func (NullableAdmin) Get ¶
func (v NullableAdmin) Get() *Admin
func (NullableAdmin) IsSet ¶
func (v NullableAdmin) IsSet() bool
func (NullableAdmin) MarshalJSON ¶
func (v NullableAdmin) MarshalJSON() ([]byte, error)
func (*NullableAdmin) Set ¶
func (v *NullableAdmin) Set(val *Admin)
func (*NullableAdmin) UnmarshalJSON ¶
func (v *NullableAdmin) UnmarshalJSON(src []byte) error
func (*NullableAdmin) Unset ¶
func (v *NullableAdmin) Unset()
type NullableAdminFilters ¶
type NullableAdminFilters struct {
// contains filtered or unexported fields
}
func NewNullableAdminFilters ¶
func NewNullableAdminFilters(val *AdminFilters) *NullableAdminFilters
func (NullableAdminFilters) Get ¶
func (v NullableAdminFilters) Get() *AdminFilters
func (NullableAdminFilters) IsSet ¶
func (v NullableAdminFilters) IsSet() bool
func (NullableAdminFilters) MarshalJSON ¶
func (v NullableAdminFilters) MarshalJSON() ([]byte, error)
func (*NullableAdminFilters) Set ¶
func (v *NullableAdminFilters) Set(val *AdminFilters)
func (*NullableAdminFilters) UnmarshalJSON ¶
func (v *NullableAdminFilters) UnmarshalJSON(src []byte) error
func (*NullableAdminFilters) Unset ¶
func (v *NullableAdminFilters) Unset()
type NullableAdminPermissions ¶
type NullableAdminPermissions struct {
// contains filtered or unexported fields
}
func NewNullableAdminPermissions ¶
func NewNullableAdminPermissions(val *AdminPermissions) *NullableAdminPermissions
func (NullableAdminPermissions) Get ¶
func (v NullableAdminPermissions) Get() *AdminPermissions
func (NullableAdminPermissions) IsSet ¶
func (v NullableAdminPermissions) IsSet() bool
func (NullableAdminPermissions) MarshalJSON ¶
func (v NullableAdminPermissions) MarshalJSON() ([]byte, error)
func (*NullableAdminPermissions) Set ¶
func (v *NullableAdminPermissions) Set(val *AdminPermissions)
func (*NullableAdminPermissions) UnmarshalJSON ¶
func (v *NullableAdminPermissions) UnmarshalJSON(src []byte) error
func (*NullableAdminPermissions) Unset ¶
func (v *NullableAdminPermissions) Unset()
type NullableAdminProfile ¶
type NullableAdminProfile struct {
// contains filtered or unexported fields
}
func NewNullableAdminProfile ¶
func NewNullableAdminProfile(val *AdminProfile) *NullableAdminProfile
func (NullableAdminProfile) Get ¶
func (v NullableAdminProfile) Get() *AdminProfile
func (NullableAdminProfile) IsSet ¶
func (v NullableAdminProfile) IsSet() bool
func (NullableAdminProfile) MarshalJSON ¶
func (v NullableAdminProfile) MarshalJSON() ([]byte, error)
func (*NullableAdminProfile) Set ¶
func (v *NullableAdminProfile) Set(val *AdminProfile)
func (*NullableAdminProfile) UnmarshalJSON ¶
func (v *NullableAdminProfile) UnmarshalJSON(src []byte) error
func (*NullableAdminProfile) Unset ¶
func (v *NullableAdminProfile) Unset()
type NullableAdminTOTPConfig ¶
type NullableAdminTOTPConfig struct {
// contains filtered or unexported fields
}
func NewNullableAdminTOTPConfig ¶
func NewNullableAdminTOTPConfig(val *AdminTOTPConfig) *NullableAdminTOTPConfig
func (NullableAdminTOTPConfig) Get ¶
func (v NullableAdminTOTPConfig) Get() *AdminTOTPConfig
func (NullableAdminTOTPConfig) IsSet ¶
func (v NullableAdminTOTPConfig) IsSet() bool
func (NullableAdminTOTPConfig) MarshalJSON ¶
func (v NullableAdminTOTPConfig) MarshalJSON() ([]byte, error)
func (*NullableAdminTOTPConfig) Set ¶
func (v *NullableAdminTOTPConfig) Set(val *AdminTOTPConfig)
func (*NullableAdminTOTPConfig) UnmarshalJSON ¶
func (v *NullableAdminTOTPConfig) UnmarshalJSON(src []byte) error
func (*NullableAdminTOTPConfig) Unset ¶
func (v *NullableAdminTOTPConfig) Unset()
type NullableApiResponse ¶
type NullableApiResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiResponse ¶
func NewNullableApiResponse(val *ApiResponse) *NullableApiResponse
func (NullableApiResponse) Get ¶
func (v NullableApiResponse) Get() *ApiResponse
func (NullableApiResponse) IsSet ¶
func (v NullableApiResponse) IsSet() bool
func (NullableApiResponse) MarshalJSON ¶
func (v NullableApiResponse) MarshalJSON() ([]byte, error)
func (*NullableApiResponse) Set ¶
func (v *NullableApiResponse) Set(val *ApiResponse)
func (*NullableApiResponse) UnmarshalJSON ¶
func (v *NullableApiResponse) UnmarshalJSON(src []byte) error
func (*NullableApiResponse) Unset ¶
func (v *NullableApiResponse) Unset()
type NullableAuthAPIKey ¶
type NullableAuthAPIKey struct {
// contains filtered or unexported fields
}
func NewNullableAuthAPIKey ¶
func NewNullableAuthAPIKey(val *AuthAPIKey) *NullableAuthAPIKey
func (NullableAuthAPIKey) Get ¶
func (v NullableAuthAPIKey) Get() *AuthAPIKey
func (NullableAuthAPIKey) IsSet ¶
func (v NullableAuthAPIKey) IsSet() bool
func (NullableAuthAPIKey) MarshalJSON ¶
func (v NullableAuthAPIKey) MarshalJSON() ([]byte, error)
func (*NullableAuthAPIKey) Set ¶
func (v *NullableAuthAPIKey) Set(val *AuthAPIKey)
func (*NullableAuthAPIKey) UnmarshalJSON ¶
func (v *NullableAuthAPIKey) UnmarshalJSON(src []byte) error
func (*NullableAuthAPIKey) Unset ¶
func (v *NullableAuthAPIKey) Unset()
type NullableAuthAPIKeyScope ¶
type NullableAuthAPIKeyScope struct {
// contains filtered or unexported fields
}
func NewNullableAuthAPIKeyScope ¶
func NewNullableAuthAPIKeyScope(val *AuthAPIKeyScope) *NullableAuthAPIKeyScope
func (NullableAuthAPIKeyScope) Get ¶
func (v NullableAuthAPIKeyScope) Get() *AuthAPIKeyScope
func (NullableAuthAPIKeyScope) IsSet ¶
func (v NullableAuthAPIKeyScope) IsSet() bool
func (NullableAuthAPIKeyScope) MarshalJSON ¶
func (v NullableAuthAPIKeyScope) MarshalJSON() ([]byte, error)
func (*NullableAuthAPIKeyScope) Set ¶
func (v *NullableAuthAPIKeyScope) Set(val *AuthAPIKeyScope)
func (*NullableAuthAPIKeyScope) UnmarshalJSON ¶
func (v *NullableAuthAPIKeyScope) UnmarshalJSON(src []byte) error
func (*NullableAuthAPIKeyScope) Unset ¶
func (v *NullableAuthAPIKeyScope) Unset()
type NullableAzureBlobFsConfig ¶
type NullableAzureBlobFsConfig struct {
// contains filtered or unexported fields
}
func NewNullableAzureBlobFsConfig ¶
func NewNullableAzureBlobFsConfig(val *AzureBlobFsConfig) *NullableAzureBlobFsConfig
func (NullableAzureBlobFsConfig) Get ¶
func (v NullableAzureBlobFsConfig) Get() *AzureBlobFsConfig
func (NullableAzureBlobFsConfig) IsSet ¶
func (v NullableAzureBlobFsConfig) IsSet() bool
func (NullableAzureBlobFsConfig) MarshalJSON ¶
func (v NullableAzureBlobFsConfig) MarshalJSON() ([]byte, error)
func (*NullableAzureBlobFsConfig) Set ¶
func (v *NullableAzureBlobFsConfig) Set(val *AzureBlobFsConfig)
func (*NullableAzureBlobFsConfig) UnmarshalJSON ¶
func (v *NullableAzureBlobFsConfig) UnmarshalJSON(src []byte) error
func (*NullableAzureBlobFsConfig) Unset ¶
func (v *NullableAzureBlobFsConfig) Unset()
type NullableBackupData ¶
type NullableBackupData struct {
// contains filtered or unexported fields
}
func NewNullableBackupData ¶
func NewNullableBackupData(val *BackupData) *NullableBackupData
func (NullableBackupData) Get ¶
func (v NullableBackupData) Get() *BackupData
func (NullableBackupData) IsSet ¶
func (v NullableBackupData) IsSet() bool
func (NullableBackupData) MarshalJSON ¶
func (v NullableBackupData) MarshalJSON() ([]byte, error)
func (*NullableBackupData) Set ¶
func (v *NullableBackupData) Set(val *BackupData)
func (*NullableBackupData) UnmarshalJSON ¶
func (v *NullableBackupData) UnmarshalJSON(src []byte) error
func (*NullableBackupData) Unset ¶
func (v *NullableBackupData) Unset()
type NullableBanStatus ¶
type NullableBanStatus struct {
// contains filtered or unexported fields
}
func NewNullableBanStatus ¶
func NewNullableBanStatus(val *BanStatus) *NullableBanStatus
func (NullableBanStatus) Get ¶
func (v NullableBanStatus) Get() *BanStatus
func (NullableBanStatus) IsSet ¶
func (v NullableBanStatus) IsSet() bool
func (NullableBanStatus) MarshalJSON ¶
func (v NullableBanStatus) MarshalJSON() ([]byte, error)
func (*NullableBanStatus) Set ¶
func (v *NullableBanStatus) Set(val *BanStatus)
func (*NullableBanStatus) UnmarshalJSON ¶
func (v *NullableBanStatus) UnmarshalJSON(src []byte) error
func (*NullableBanStatus) Unset ¶
func (v *NullableBanStatus) Unset()
type NullableBandwidthLimit ¶
type NullableBandwidthLimit struct {
// contains filtered or unexported fields
}
func NewNullableBandwidthLimit ¶
func NewNullableBandwidthLimit(val *BandwidthLimit) *NullableBandwidthLimit
func (NullableBandwidthLimit) Get ¶
func (v NullableBandwidthLimit) Get() *BandwidthLimit
func (NullableBandwidthLimit) IsSet ¶
func (v NullableBandwidthLimit) IsSet() bool
func (NullableBandwidthLimit) MarshalJSON ¶
func (v NullableBandwidthLimit) MarshalJSON() ([]byte, error)
func (*NullableBandwidthLimit) Set ¶
func (v *NullableBandwidthLimit) Set(val *BandwidthLimit)
func (*NullableBandwidthLimit) UnmarshalJSON ¶
func (v *NullableBandwidthLimit) UnmarshalJSON(src []byte) error
func (*NullableBandwidthLimit) Unset ¶
func (v *NullableBandwidthLimit) Unset()
type NullableBaseTOTPConfig ¶
type NullableBaseTOTPConfig struct {
// contains filtered or unexported fields
}
func NewNullableBaseTOTPConfig ¶
func NewNullableBaseTOTPConfig(val *BaseTOTPConfig) *NullableBaseTOTPConfig
func (NullableBaseTOTPConfig) Get ¶
func (v NullableBaseTOTPConfig) Get() *BaseTOTPConfig
func (NullableBaseTOTPConfig) IsSet ¶
func (v NullableBaseTOTPConfig) IsSet() bool
func (NullableBaseTOTPConfig) MarshalJSON ¶
func (v NullableBaseTOTPConfig) MarshalJSON() ([]byte, error)
func (*NullableBaseTOTPConfig) Set ¶
func (v *NullableBaseTOTPConfig) Set(val *BaseTOTPConfig)
func (*NullableBaseTOTPConfig) UnmarshalJSON ¶
func (v *NullableBaseTOTPConfig) UnmarshalJSON(src []byte) error
func (*NullableBaseTOTPConfig) Unset ¶
func (v *NullableBaseTOTPConfig) Unset()
type NullableBaseVirtualFolder ¶
type NullableBaseVirtualFolder struct {
// contains filtered or unexported fields
}
func NewNullableBaseVirtualFolder ¶
func NewNullableBaseVirtualFolder(val *BaseVirtualFolder) *NullableBaseVirtualFolder
func (NullableBaseVirtualFolder) Get ¶
func (v NullableBaseVirtualFolder) Get() *BaseVirtualFolder
func (NullableBaseVirtualFolder) IsSet ¶
func (v NullableBaseVirtualFolder) IsSet() bool
func (NullableBaseVirtualFolder) MarshalJSON ¶
func (v NullableBaseVirtualFolder) MarshalJSON() ([]byte, error)
func (*NullableBaseVirtualFolder) Set ¶
func (v *NullableBaseVirtualFolder) Set(val *BaseVirtualFolder)
func (*NullableBaseVirtualFolder) UnmarshalJSON ¶
func (v *NullableBaseVirtualFolder) UnmarshalJSON(src []byte) error
func (*NullableBaseVirtualFolder) Unset ¶
func (v *NullableBaseVirtualFolder) 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 NullableConnectionStatus ¶
type NullableConnectionStatus struct {
// contains filtered or unexported fields
}
func NewNullableConnectionStatus ¶
func NewNullableConnectionStatus(val *ConnectionStatus) *NullableConnectionStatus
func (NullableConnectionStatus) Get ¶
func (v NullableConnectionStatus) Get() *ConnectionStatus
func (NullableConnectionStatus) IsSet ¶
func (v NullableConnectionStatus) IsSet() bool
func (NullableConnectionStatus) MarshalJSON ¶
func (v NullableConnectionStatus) MarshalJSON() ([]byte, error)
func (*NullableConnectionStatus) Set ¶
func (v *NullableConnectionStatus) Set(val *ConnectionStatus)
func (*NullableConnectionStatus) UnmarshalJSON ¶
func (v *NullableConnectionStatus) UnmarshalJSON(src []byte) error
func (*NullableConnectionStatus) Unset ¶
func (v *NullableConnectionStatus) Unset()
type NullableCryptFsConfig ¶
type NullableCryptFsConfig struct {
// contains filtered or unexported fields
}
func NewNullableCryptFsConfig ¶
func NewNullableCryptFsConfig(val *CryptFsConfig) *NullableCryptFsConfig
func (NullableCryptFsConfig) Get ¶
func (v NullableCryptFsConfig) Get() *CryptFsConfig
func (NullableCryptFsConfig) IsSet ¶
func (v NullableCryptFsConfig) IsSet() bool
func (NullableCryptFsConfig) MarshalJSON ¶
func (v NullableCryptFsConfig) MarshalJSON() ([]byte, error)
func (*NullableCryptFsConfig) Set ¶
func (v *NullableCryptFsConfig) Set(val *CryptFsConfig)
func (*NullableCryptFsConfig) UnmarshalJSON ¶
func (v *NullableCryptFsConfig) UnmarshalJSON(src []byte) error
func (*NullableCryptFsConfig) Unset ¶
func (v *NullableCryptFsConfig) Unset()
type NullableDataProviderStatus ¶
type NullableDataProviderStatus struct {
// contains filtered or unexported fields
}
func NewNullableDataProviderStatus ¶
func NewNullableDataProviderStatus(val *DataProviderStatus) *NullableDataProviderStatus
func (NullableDataProviderStatus) Get ¶
func (v NullableDataProviderStatus) Get() *DataProviderStatus
func (NullableDataProviderStatus) IsSet ¶
func (v NullableDataProviderStatus) IsSet() bool
func (NullableDataProviderStatus) MarshalJSON ¶
func (v NullableDataProviderStatus) MarshalJSON() ([]byte, error)
func (*NullableDataProviderStatus) Set ¶
func (v *NullableDataProviderStatus) Set(val *DataProviderStatus)
func (*NullableDataProviderStatus) UnmarshalJSON ¶
func (v *NullableDataProviderStatus) UnmarshalJSON(src []byte) error
func (*NullableDataProviderStatus) Unset ¶
func (v *NullableDataProviderStatus) Unset()
type NullableDataTransferLimit ¶
type NullableDataTransferLimit struct {
// contains filtered or unexported fields
}
func NewNullableDataTransferLimit ¶
func NewNullableDataTransferLimit(val *DataTransferLimit) *NullableDataTransferLimit
func (NullableDataTransferLimit) Get ¶
func (v NullableDataTransferLimit) Get() *DataTransferLimit
func (NullableDataTransferLimit) IsSet ¶
func (v NullableDataTransferLimit) IsSet() bool
func (NullableDataTransferLimit) MarshalJSON ¶
func (v NullableDataTransferLimit) MarshalJSON() ([]byte, error)
func (*NullableDataTransferLimit) Set ¶
func (v *NullableDataTransferLimit) Set(val *DataTransferLimit)
func (*NullableDataTransferLimit) UnmarshalJSON ¶
func (v *NullableDataTransferLimit) UnmarshalJSON(src []byte) error
func (*NullableDataTransferLimit) Unset ¶
func (v *NullableDataTransferLimit) Unset()
type NullableDefenderEntry ¶
type NullableDefenderEntry struct {
// contains filtered or unexported fields
}
func NewNullableDefenderEntry ¶
func NewNullableDefenderEntry(val *DefenderEntry) *NullableDefenderEntry
func (NullableDefenderEntry) Get ¶
func (v NullableDefenderEntry) Get() *DefenderEntry
func (NullableDefenderEntry) IsSet ¶
func (v NullableDefenderEntry) IsSet() bool
func (NullableDefenderEntry) MarshalJSON ¶
func (v NullableDefenderEntry) MarshalJSON() ([]byte, error)
func (*NullableDefenderEntry) Set ¶
func (v *NullableDefenderEntry) Set(val *DefenderEntry)
func (*NullableDefenderEntry) UnmarshalJSON ¶
func (v *NullableDefenderEntry) UnmarshalJSON(src []byte) error
func (*NullableDefenderEntry) Unset ¶
func (v *NullableDefenderEntry) Unset()
type NullableDirEntry ¶
type NullableDirEntry struct {
// contains filtered or unexported fields
}
func NewNullableDirEntry ¶
func NewNullableDirEntry(val *DirEntry) *NullableDirEntry
func (NullableDirEntry) Get ¶
func (v NullableDirEntry) Get() *DirEntry
func (NullableDirEntry) IsSet ¶
func (v NullableDirEntry) IsSet() bool
func (NullableDirEntry) MarshalJSON ¶
func (v NullableDirEntry) MarshalJSON() ([]byte, error)
func (*NullableDirEntry) Set ¶
func (v *NullableDirEntry) Set(val *DirEntry)
func (*NullableDirEntry) UnmarshalJSON ¶
func (v *NullableDirEntry) UnmarshalJSON(src []byte) error
func (*NullableDirEntry) Unset ¶
func (v *NullableDirEntry) Unset()
type NullableEventProtocols ¶
type NullableEventProtocols struct {
// contains filtered or unexported fields
}
func NewNullableEventProtocols ¶
func NewNullableEventProtocols(val *EventProtocols) *NullableEventProtocols
func (NullableEventProtocols) Get ¶
func (v NullableEventProtocols) Get() *EventProtocols
func (NullableEventProtocols) IsSet ¶
func (v NullableEventProtocols) IsSet() bool
func (NullableEventProtocols) MarshalJSON ¶
func (v NullableEventProtocols) MarshalJSON() ([]byte, error)
func (*NullableEventProtocols) Set ¶
func (v *NullableEventProtocols) Set(val *EventProtocols)
func (*NullableEventProtocols) UnmarshalJSON ¶
func (v *NullableEventProtocols) UnmarshalJSON(src []byte) error
func (*NullableEventProtocols) Unset ¶
func (v *NullableEventProtocols) Unset()
type NullableFTPDBinding ¶
type NullableFTPDBinding struct {
// contains filtered or unexported fields
}
func NewNullableFTPDBinding ¶
func NewNullableFTPDBinding(val *FTPDBinding) *NullableFTPDBinding
func (NullableFTPDBinding) Get ¶
func (v NullableFTPDBinding) Get() *FTPDBinding
func (NullableFTPDBinding) IsSet ¶
func (v NullableFTPDBinding) IsSet() bool
func (NullableFTPDBinding) MarshalJSON ¶
func (v NullableFTPDBinding) MarshalJSON() ([]byte, error)
func (*NullableFTPDBinding) Set ¶
func (v *NullableFTPDBinding) Set(val *FTPDBinding)
func (*NullableFTPDBinding) UnmarshalJSON ¶
func (v *NullableFTPDBinding) UnmarshalJSON(src []byte) error
func (*NullableFTPDBinding) Unset ¶
func (v *NullableFTPDBinding) Unset()
type NullableFTPPassivePortRange ¶
type NullableFTPPassivePortRange struct {
// contains filtered or unexported fields
}
func NewNullableFTPPassivePortRange ¶
func NewNullableFTPPassivePortRange(val *FTPPassivePortRange) *NullableFTPPassivePortRange
func (NullableFTPPassivePortRange) Get ¶
func (v NullableFTPPassivePortRange) Get() *FTPPassivePortRange
func (NullableFTPPassivePortRange) IsSet ¶
func (v NullableFTPPassivePortRange) IsSet() bool
func (NullableFTPPassivePortRange) MarshalJSON ¶
func (v NullableFTPPassivePortRange) MarshalJSON() ([]byte, error)
func (*NullableFTPPassivePortRange) Set ¶
func (v *NullableFTPPassivePortRange) Set(val *FTPPassivePortRange)
func (*NullableFTPPassivePortRange) UnmarshalJSON ¶
func (v *NullableFTPPassivePortRange) UnmarshalJSON(src []byte) error
func (*NullableFTPPassivePortRange) Unset ¶
func (v *NullableFTPPassivePortRange) Unset()
type NullableFTPServiceStatus ¶
type NullableFTPServiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableFTPServiceStatus ¶
func NewNullableFTPServiceStatus(val *FTPServiceStatus) *NullableFTPServiceStatus
func (NullableFTPServiceStatus) Get ¶
func (v NullableFTPServiceStatus) Get() *FTPServiceStatus
func (NullableFTPServiceStatus) IsSet ¶
func (v NullableFTPServiceStatus) IsSet() bool
func (NullableFTPServiceStatus) MarshalJSON ¶
func (v NullableFTPServiceStatus) MarshalJSON() ([]byte, error)
func (*NullableFTPServiceStatus) Set ¶
func (v *NullableFTPServiceStatus) Set(val *FTPServiceStatus)
func (*NullableFTPServiceStatus) UnmarshalJSON ¶
func (v *NullableFTPServiceStatus) UnmarshalJSON(src []byte) error
func (*NullableFTPServiceStatus) Unset ¶
func (v *NullableFTPServiceStatus) Unset()
type NullableFilesystemConfig ¶
type NullableFilesystemConfig struct {
// contains filtered or unexported fields
}
func NewNullableFilesystemConfig ¶
func NewNullableFilesystemConfig(val *FilesystemConfig) *NullableFilesystemConfig
func (NullableFilesystemConfig) Get ¶
func (v NullableFilesystemConfig) Get() *FilesystemConfig
func (NullableFilesystemConfig) IsSet ¶
func (v NullableFilesystemConfig) IsSet() bool
func (NullableFilesystemConfig) MarshalJSON ¶
func (v NullableFilesystemConfig) MarshalJSON() ([]byte, error)
func (*NullableFilesystemConfig) Set ¶
func (v *NullableFilesystemConfig) Set(val *FilesystemConfig)
func (*NullableFilesystemConfig) UnmarshalJSON ¶
func (v *NullableFilesystemConfig) UnmarshalJSON(src []byte) error
func (*NullableFilesystemConfig) Unset ¶
func (v *NullableFilesystemConfig) 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 NullableFolderQuotaScan ¶
type NullableFolderQuotaScan struct {
// contains filtered or unexported fields
}
func NewNullableFolderQuotaScan ¶
func NewNullableFolderQuotaScan(val *FolderQuotaScan) *NullableFolderQuotaScan
func (NullableFolderQuotaScan) Get ¶
func (v NullableFolderQuotaScan) Get() *FolderQuotaScan
func (NullableFolderQuotaScan) IsSet ¶
func (v NullableFolderQuotaScan) IsSet() bool
func (NullableFolderQuotaScan) MarshalJSON ¶
func (v NullableFolderQuotaScan) MarshalJSON() ([]byte, error)
func (*NullableFolderQuotaScan) Set ¶
func (v *NullableFolderQuotaScan) Set(val *FolderQuotaScan)
func (*NullableFolderQuotaScan) UnmarshalJSON ¶
func (v *NullableFolderQuotaScan) UnmarshalJSON(src []byte) error
func (*NullableFolderQuotaScan) Unset ¶
func (v *NullableFolderQuotaScan) Unset()
type NullableFolderRetention ¶
type NullableFolderRetention struct {
// contains filtered or unexported fields
}
func NewNullableFolderRetention ¶
func NewNullableFolderRetention(val *FolderRetention) *NullableFolderRetention
func (NullableFolderRetention) Get ¶
func (v NullableFolderRetention) Get() *FolderRetention
func (NullableFolderRetention) IsSet ¶
func (v NullableFolderRetention) IsSet() bool
func (NullableFolderRetention) MarshalJSON ¶
func (v NullableFolderRetention) MarshalJSON() ([]byte, error)
func (*NullableFolderRetention) Set ¶
func (v *NullableFolderRetention) Set(val *FolderRetention)
func (*NullableFolderRetention) UnmarshalJSON ¶
func (v *NullableFolderRetention) UnmarshalJSON(src []byte) error
func (*NullableFolderRetention) Unset ¶
func (v *NullableFolderRetention) Unset()
type NullableFsEvent ¶
type NullableFsEvent struct {
// contains filtered or unexported fields
}
func NewNullableFsEvent ¶
func NewNullableFsEvent(val *FsEvent) *NullableFsEvent
func (NullableFsEvent) Get ¶
func (v NullableFsEvent) Get() *FsEvent
func (NullableFsEvent) IsSet ¶
func (v NullableFsEvent) IsSet() bool
func (NullableFsEvent) MarshalJSON ¶
func (v NullableFsEvent) MarshalJSON() ([]byte, error)
func (*NullableFsEvent) Set ¶
func (v *NullableFsEvent) Set(val *FsEvent)
func (*NullableFsEvent) UnmarshalJSON ¶
func (v *NullableFsEvent) UnmarshalJSON(src []byte) error
func (*NullableFsEvent) Unset ¶
func (v *NullableFsEvent) Unset()
type NullableFsEventAction ¶
type NullableFsEventAction struct {
// contains filtered or unexported fields
}
func NewNullableFsEventAction ¶
func NewNullableFsEventAction(val *FsEventAction) *NullableFsEventAction
func (NullableFsEventAction) Get ¶
func (v NullableFsEventAction) Get() *FsEventAction
func (NullableFsEventAction) IsSet ¶
func (v NullableFsEventAction) IsSet() bool
func (NullableFsEventAction) MarshalJSON ¶
func (v NullableFsEventAction) MarshalJSON() ([]byte, error)
func (*NullableFsEventAction) Set ¶
func (v *NullableFsEventAction) Set(val *FsEventAction)
func (*NullableFsEventAction) UnmarshalJSON ¶
func (v *NullableFsEventAction) UnmarshalJSON(src []byte) error
func (*NullableFsEventAction) Unset ¶
func (v *NullableFsEventAction) Unset()
type NullableFsEventStatus ¶
type NullableFsEventStatus struct {
// contains filtered or unexported fields
}
func NewNullableFsEventStatus ¶
func NewNullableFsEventStatus(val *FsEventStatus) *NullableFsEventStatus
func (NullableFsEventStatus) Get ¶
func (v NullableFsEventStatus) Get() *FsEventStatus
func (NullableFsEventStatus) IsSet ¶
func (v NullableFsEventStatus) IsSet() bool
func (NullableFsEventStatus) MarshalJSON ¶
func (v NullableFsEventStatus) MarshalJSON() ([]byte, error)
func (*NullableFsEventStatus) Set ¶
func (v *NullableFsEventStatus) Set(val *FsEventStatus)
func (*NullableFsEventStatus) UnmarshalJSON ¶
func (v *NullableFsEventStatus) UnmarshalJSON(src []byte) error
func (*NullableFsEventStatus) Unset ¶
func (v *NullableFsEventStatus) Unset()
type NullableFsProviders ¶
type NullableFsProviders struct {
// contains filtered or unexported fields
}
func NewNullableFsProviders ¶
func NewNullableFsProviders(val *FsProviders) *NullableFsProviders
func (NullableFsProviders) Get ¶
func (v NullableFsProviders) Get() *FsProviders
func (NullableFsProviders) IsSet ¶
func (v NullableFsProviders) IsSet() bool
func (NullableFsProviders) MarshalJSON ¶
func (v NullableFsProviders) MarshalJSON() ([]byte, error)
func (*NullableFsProviders) Set ¶
func (v *NullableFsProviders) Set(val *FsProviders)
func (*NullableFsProviders) UnmarshalJSON ¶
func (v *NullableFsProviders) UnmarshalJSON(src []byte) error
func (*NullableFsProviders) Unset ¶
func (v *NullableFsProviders) Unset()
type NullableGCSConfig ¶
type NullableGCSConfig struct {
// contains filtered or unexported fields
}
func NewNullableGCSConfig ¶
func NewNullableGCSConfig(val *GCSConfig) *NullableGCSConfig
func (NullableGCSConfig) Get ¶
func (v NullableGCSConfig) Get() *GCSConfig
func (NullableGCSConfig) IsSet ¶
func (v NullableGCSConfig) IsSet() bool
func (NullableGCSConfig) MarshalJSON ¶
func (v NullableGCSConfig) MarshalJSON() ([]byte, error)
func (*NullableGCSConfig) Set ¶
func (v *NullableGCSConfig) Set(val *GCSConfig)
func (*NullableGCSConfig) UnmarshalJSON ¶
func (v *NullableGCSConfig) UnmarshalJSON(src []byte) error
func (*NullableGCSConfig) Unset ¶
func (v *NullableGCSConfig) Unset()
type NullableHooksFilter ¶
type NullableHooksFilter struct {
// contains filtered or unexported fields
}
func NewNullableHooksFilter ¶
func NewNullableHooksFilter(val *HooksFilter) *NullableHooksFilter
func (NullableHooksFilter) Get ¶
func (v NullableHooksFilter) Get() *HooksFilter
func (NullableHooksFilter) IsSet ¶
func (v NullableHooksFilter) IsSet() bool
func (NullableHooksFilter) MarshalJSON ¶
func (v NullableHooksFilter) MarshalJSON() ([]byte, error)
func (*NullableHooksFilter) Set ¶
func (v *NullableHooksFilter) Set(val *HooksFilter)
func (*NullableHooksFilter) UnmarshalJSON ¶
func (v *NullableHooksFilter) UnmarshalJSON(src []byte) error
func (*NullableHooksFilter) Unset ¶
func (v *NullableHooksFilter) Unset()
type NullableInlineObject1 ¶
type NullableInlineObject1 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject1 ¶
func NewNullableInlineObject1(val *InlineObject1) *NullableInlineObject1
func (NullableInlineObject1) Get ¶
func (v NullableInlineObject1) Get() *InlineObject1
func (NullableInlineObject1) IsSet ¶
func (v NullableInlineObject1) IsSet() bool
func (NullableInlineObject1) MarshalJSON ¶
func (v NullableInlineObject1) MarshalJSON() ([]byte, error)
func (*NullableInlineObject1) Set ¶
func (v *NullableInlineObject1) Set(val *InlineObject1)
func (*NullableInlineObject1) UnmarshalJSON ¶
func (v *NullableInlineObject1) UnmarshalJSON(src []byte) error
func (*NullableInlineObject1) Unset ¶
func (v *NullableInlineObject1) Unset()
type NullableInlineObject2 ¶
type NullableInlineObject2 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject2 ¶
func NewNullableInlineObject2(val *InlineObject2) *NullableInlineObject2
func (NullableInlineObject2) Get ¶
func (v NullableInlineObject2) Get() *InlineObject2
func (NullableInlineObject2) IsSet ¶
func (v NullableInlineObject2) IsSet() bool
func (NullableInlineObject2) MarshalJSON ¶
func (v NullableInlineObject2) MarshalJSON() ([]byte, error)
func (*NullableInlineObject2) Set ¶
func (v *NullableInlineObject2) Set(val *InlineObject2)
func (*NullableInlineObject2) UnmarshalJSON ¶
func (v *NullableInlineObject2) UnmarshalJSON(src []byte) error
func (*NullableInlineObject2) Unset ¶
func (v *NullableInlineObject2) Unset()
type NullableInlineObject3 ¶
type NullableInlineObject3 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject3 ¶
func NewNullableInlineObject3(val *InlineObject3) *NullableInlineObject3
func (NullableInlineObject3) Get ¶
func (v NullableInlineObject3) Get() *InlineObject3
func (NullableInlineObject3) IsSet ¶
func (v NullableInlineObject3) IsSet() bool
func (NullableInlineObject3) MarshalJSON ¶
func (v NullableInlineObject3) MarshalJSON() ([]byte, error)
func (*NullableInlineObject3) Set ¶
func (v *NullableInlineObject3) Set(val *InlineObject3)
func (*NullableInlineObject3) UnmarshalJSON ¶
func (v *NullableInlineObject3) UnmarshalJSON(src []byte) error
func (*NullableInlineObject3) Unset ¶
func (v *NullableInlineObject3) Unset()
type NullableInlineObject4 ¶
type NullableInlineObject4 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject4 ¶
func NewNullableInlineObject4(val *InlineObject4) *NullableInlineObject4
func (NullableInlineObject4) Get ¶
func (v NullableInlineObject4) Get() *InlineObject4
func (NullableInlineObject4) IsSet ¶
func (v NullableInlineObject4) IsSet() bool
func (NullableInlineObject4) MarshalJSON ¶
func (v NullableInlineObject4) MarshalJSON() ([]byte, error)
func (*NullableInlineObject4) Set ¶
func (v *NullableInlineObject4) Set(val *InlineObject4)
func (*NullableInlineObject4) UnmarshalJSON ¶
func (v *NullableInlineObject4) UnmarshalJSON(src []byte) error
func (*NullableInlineObject4) Unset ¶
func (v *NullableInlineObject4) Unset()
type NullableInlineObject5 ¶
type NullableInlineObject5 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject5 ¶
func NewNullableInlineObject5(val *InlineObject5) *NullableInlineObject5
func (NullableInlineObject5) Get ¶
func (v NullableInlineObject5) Get() *InlineObject5
func (NullableInlineObject5) IsSet ¶
func (v NullableInlineObject5) IsSet() bool
func (NullableInlineObject5) MarshalJSON ¶
func (v NullableInlineObject5) MarshalJSON() ([]byte, error)
func (*NullableInlineObject5) Set ¶
func (v *NullableInlineObject5) Set(val *InlineObject5)
func (*NullableInlineObject5) UnmarshalJSON ¶
func (v *NullableInlineObject5) UnmarshalJSON(src []byte) error
func (*NullableInlineObject5) Unset ¶
func (v *NullableInlineObject5) Unset()
type NullableInlineObject6 ¶
type NullableInlineObject6 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject6 ¶
func NewNullableInlineObject6(val *InlineObject6) *NullableInlineObject6
func (NullableInlineObject6) Get ¶
func (v NullableInlineObject6) Get() *InlineObject6
func (NullableInlineObject6) IsSet ¶
func (v NullableInlineObject6) IsSet() bool
func (NullableInlineObject6) MarshalJSON ¶
func (v NullableInlineObject6) MarshalJSON() ([]byte, error)
func (*NullableInlineObject6) Set ¶
func (v *NullableInlineObject6) Set(val *InlineObject6)
func (*NullableInlineObject6) UnmarshalJSON ¶
func (v *NullableInlineObject6) UnmarshalJSON(src []byte) error
func (*NullableInlineObject6) Unset ¶
func (v *NullableInlineObject6) Unset()
type NullableInlineObject7 ¶
type NullableInlineObject7 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject7 ¶
func NewNullableInlineObject7(val *InlineObject7) *NullableInlineObject7
func (NullableInlineObject7) Get ¶
func (v NullableInlineObject7) Get() *InlineObject7
func (NullableInlineObject7) IsSet ¶
func (v NullableInlineObject7) IsSet() bool
func (NullableInlineObject7) MarshalJSON ¶
func (v NullableInlineObject7) MarshalJSON() ([]byte, error)
func (*NullableInlineObject7) Set ¶
func (v *NullableInlineObject7) Set(val *InlineObject7)
func (*NullableInlineObject7) UnmarshalJSON ¶
func (v *NullableInlineObject7) UnmarshalJSON(src []byte) error
func (*NullableInlineObject7) Unset ¶
func (v *NullableInlineObject7) Unset()
type NullableInlineObject9 ¶
type NullableInlineObject9 struct {
// contains filtered or unexported fields
}
func NewNullableInlineObject9 ¶
func NewNullableInlineObject9(val *InlineObject9) *NullableInlineObject9
func (NullableInlineObject9) Get ¶
func (v NullableInlineObject9) Get() *InlineObject9
func (NullableInlineObject9) IsSet ¶
func (v NullableInlineObject9) IsSet() bool
func (NullableInlineObject9) MarshalJSON ¶
func (v NullableInlineObject9) MarshalJSON() ([]byte, error)
func (*NullableInlineObject9) Set ¶
func (v *NullableInlineObject9) Set(val *InlineObject9)
func (*NullableInlineObject9) UnmarshalJSON ¶
func (v *NullableInlineObject9) UnmarshalJSON(src []byte) error
func (*NullableInlineObject9) Unset ¶
func (v *NullableInlineObject9) Unset()
type NullableInlineResponse200 ¶
type NullableInlineResponse200 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse200 ¶
func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200
func (NullableInlineResponse200) Get ¶
func (v NullableInlineResponse200) Get() *InlineResponse200
func (NullableInlineResponse200) IsSet ¶
func (v NullableInlineResponse200) IsSet() bool
func (NullableInlineResponse200) MarshalJSON ¶
func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse200) Set ¶
func (v *NullableInlineResponse200) Set(val *InlineResponse200)
func (*NullableInlineResponse200) UnmarshalJSON ¶
func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse200) Unset ¶
func (v *NullableInlineResponse200) Unset()
type NullableInlineResponse201 ¶
type NullableInlineResponse201 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse201 ¶
func NewNullableInlineResponse201(val *InlineResponse201) *NullableInlineResponse201
func (NullableInlineResponse201) Get ¶
func (v NullableInlineResponse201) Get() *InlineResponse201
func (NullableInlineResponse201) IsSet ¶
func (v NullableInlineResponse201) IsSet() bool
func (NullableInlineResponse201) MarshalJSON ¶
func (v NullableInlineResponse201) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse201) Set ¶
func (v *NullableInlineResponse201) Set(val *InlineResponse201)
func (*NullableInlineResponse201) UnmarshalJSON ¶
func (v *NullableInlineResponse201) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse201) Unset ¶
func (v *NullableInlineResponse201) 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 NullableLoginMethods ¶
type NullableLoginMethods struct {
// contains filtered or unexported fields
}
func NewNullableLoginMethods ¶
func NewNullableLoginMethods(val *LoginMethods) *NullableLoginMethods
func (NullableLoginMethods) Get ¶
func (v NullableLoginMethods) Get() *LoginMethods
func (NullableLoginMethods) IsSet ¶
func (v NullableLoginMethods) IsSet() bool
func (NullableLoginMethods) MarshalJSON ¶
func (v NullableLoginMethods) MarshalJSON() ([]byte, error)
func (*NullableLoginMethods) Set ¶
func (v *NullableLoginMethods) Set(val *LoginMethods)
func (*NullableLoginMethods) UnmarshalJSON ¶
func (v *NullableLoginMethods) UnmarshalJSON(src []byte) error
func (*NullableLoginMethods) Unset ¶
func (v *NullableLoginMethods) Unset()
type NullableMFAProtocols ¶
type NullableMFAProtocols struct {
// contains filtered or unexported fields
}
func NewNullableMFAProtocols ¶
func NewNullableMFAProtocols(val *MFAProtocols) *NullableMFAProtocols
func (NullableMFAProtocols) Get ¶
func (v NullableMFAProtocols) Get() *MFAProtocols
func (NullableMFAProtocols) IsSet ¶
func (v NullableMFAProtocols) IsSet() bool
func (NullableMFAProtocols) MarshalJSON ¶
func (v NullableMFAProtocols) MarshalJSON() ([]byte, error)
func (*NullableMFAProtocols) Set ¶
func (v *NullableMFAProtocols) Set(val *MFAProtocols)
func (*NullableMFAProtocols) UnmarshalJSON ¶
func (v *NullableMFAProtocols) UnmarshalJSON(src []byte) error
func (*NullableMFAProtocols) Unset ¶
func (v *NullableMFAProtocols) Unset()
type NullableMFAStatus ¶
type NullableMFAStatus struct {
// contains filtered or unexported fields
}
func NewNullableMFAStatus ¶
func NewNullableMFAStatus(val *MFAStatus) *NullableMFAStatus
func (NullableMFAStatus) Get ¶
func (v NullableMFAStatus) Get() *MFAStatus
func (NullableMFAStatus) IsSet ¶
func (v NullableMFAStatus) IsSet() bool
func (NullableMFAStatus) MarshalJSON ¶
func (v NullableMFAStatus) MarshalJSON() ([]byte, error)
func (*NullableMFAStatus) Set ¶
func (v *NullableMFAStatus) Set(val *MFAStatus)
func (*NullableMFAStatus) UnmarshalJSON ¶
func (v *NullableMFAStatus) UnmarshalJSON(src []byte) error
func (*NullableMFAStatus) Unset ¶
func (v *NullableMFAStatus) Unset()
type NullableMetadataCheck ¶
type NullableMetadataCheck struct {
// contains filtered or unexported fields
}
func NewNullableMetadataCheck ¶
func NewNullableMetadataCheck(val *MetadataCheck) *NullableMetadataCheck
func (NullableMetadataCheck) Get ¶
func (v NullableMetadataCheck) Get() *MetadataCheck
func (NullableMetadataCheck) IsSet ¶
func (v NullableMetadataCheck) IsSet() bool
func (NullableMetadataCheck) MarshalJSON ¶
func (v NullableMetadataCheck) MarshalJSON() ([]byte, error)
func (*NullableMetadataCheck) Set ¶
func (v *NullableMetadataCheck) Set(val *MetadataCheck)
func (*NullableMetadataCheck) UnmarshalJSON ¶
func (v *NullableMetadataCheck) UnmarshalJSON(src []byte) error
func (*NullableMetadataCheck) Unset ¶
func (v *NullableMetadataCheck) Unset()
type NullablePatternsFilter ¶
type NullablePatternsFilter struct {
// contains filtered or unexported fields
}
func NewNullablePatternsFilter ¶
func NewNullablePatternsFilter(val *PatternsFilter) *NullablePatternsFilter
func (NullablePatternsFilter) Get ¶
func (v NullablePatternsFilter) Get() *PatternsFilter
func (NullablePatternsFilter) IsSet ¶
func (v NullablePatternsFilter) IsSet() bool
func (NullablePatternsFilter) MarshalJSON ¶
func (v NullablePatternsFilter) MarshalJSON() ([]byte, error)
func (*NullablePatternsFilter) Set ¶
func (v *NullablePatternsFilter) Set(val *PatternsFilter)
func (*NullablePatternsFilter) UnmarshalJSON ¶
func (v *NullablePatternsFilter) UnmarshalJSON(src []byte) error
func (*NullablePatternsFilter) Unset ¶
func (v *NullablePatternsFilter) Unset()
type NullablePermission ¶
type NullablePermission struct {
// contains filtered or unexported fields
}
func NewNullablePermission ¶
func NewNullablePermission(val *Permission) *NullablePermission
func (NullablePermission) Get ¶
func (v NullablePermission) Get() *Permission
func (NullablePermission) IsSet ¶
func (v NullablePermission) IsSet() bool
func (NullablePermission) MarshalJSON ¶
func (v NullablePermission) MarshalJSON() ([]byte, error)
func (*NullablePermission) Set ¶
func (v *NullablePermission) Set(val *Permission)
func (*NullablePermission) UnmarshalJSON ¶
func (v *NullablePermission) UnmarshalJSON(src []byte) error
func (*NullablePermission) Unset ¶
func (v *NullablePermission) Unset()
type NullableProviderEvent ¶
type NullableProviderEvent struct {
// contains filtered or unexported fields
}
func NewNullableProviderEvent ¶
func NewNullableProviderEvent(val *ProviderEvent) *NullableProviderEvent
func (NullableProviderEvent) Get ¶
func (v NullableProviderEvent) Get() *ProviderEvent
func (NullableProviderEvent) IsSet ¶
func (v NullableProviderEvent) IsSet() bool
func (NullableProviderEvent) MarshalJSON ¶
func (v NullableProviderEvent) MarshalJSON() ([]byte, error)
func (*NullableProviderEvent) Set ¶
func (v *NullableProviderEvent) Set(val *ProviderEvent)
func (*NullableProviderEvent) UnmarshalJSON ¶
func (v *NullableProviderEvent) UnmarshalJSON(src []byte) error
func (*NullableProviderEvent) Unset ¶
func (v *NullableProviderEvent) Unset()
type NullableProviderEventAction ¶
type NullableProviderEventAction struct {
// contains filtered or unexported fields
}
func NewNullableProviderEventAction ¶
func NewNullableProviderEventAction(val *ProviderEventAction) *NullableProviderEventAction
func (NullableProviderEventAction) Get ¶
func (v NullableProviderEventAction) Get() *ProviderEventAction
func (NullableProviderEventAction) IsSet ¶
func (v NullableProviderEventAction) IsSet() bool
func (NullableProviderEventAction) MarshalJSON ¶
func (v NullableProviderEventAction) MarshalJSON() ([]byte, error)
func (*NullableProviderEventAction) Set ¶
func (v *NullableProviderEventAction) Set(val *ProviderEventAction)
func (*NullableProviderEventAction) UnmarshalJSON ¶
func (v *NullableProviderEventAction) UnmarshalJSON(src []byte) error
func (*NullableProviderEventAction) Unset ¶
func (v *NullableProviderEventAction) Unset()
type NullableProviderEventObjectType ¶
type NullableProviderEventObjectType struct {
// contains filtered or unexported fields
}
func NewNullableProviderEventObjectType ¶
func NewNullableProviderEventObjectType(val *ProviderEventObjectType) *NullableProviderEventObjectType
func (NullableProviderEventObjectType) Get ¶
func (v NullableProviderEventObjectType) Get() *ProviderEventObjectType
func (NullableProviderEventObjectType) IsSet ¶
func (v NullableProviderEventObjectType) IsSet() bool
func (NullableProviderEventObjectType) MarshalJSON ¶
func (v NullableProviderEventObjectType) MarshalJSON() ([]byte, error)
func (*NullableProviderEventObjectType) Set ¶
func (v *NullableProviderEventObjectType) Set(val *ProviderEventObjectType)
func (*NullableProviderEventObjectType) UnmarshalJSON ¶
func (v *NullableProviderEventObjectType) UnmarshalJSON(src []byte) error
func (*NullableProviderEventObjectType) Unset ¶
func (v *NullableProviderEventObjectType) Unset()
type NullablePwdChange ¶
type NullablePwdChange struct {
// contains filtered or unexported fields
}
func NewNullablePwdChange ¶
func NewNullablePwdChange(val *PwdChange) *NullablePwdChange
func (NullablePwdChange) Get ¶
func (v NullablePwdChange) Get() *PwdChange
func (NullablePwdChange) IsSet ¶
func (v NullablePwdChange) IsSet() bool
func (NullablePwdChange) MarshalJSON ¶
func (v NullablePwdChange) MarshalJSON() ([]byte, error)
func (*NullablePwdChange) Set ¶
func (v *NullablePwdChange) Set(val *PwdChange)
func (*NullablePwdChange) UnmarshalJSON ¶
func (v *NullablePwdChange) UnmarshalJSON(src []byte) error
func (*NullablePwdChange) Unset ¶
func (v *NullablePwdChange) Unset()
type NullableQuotaScan ¶
type NullableQuotaScan struct {
// contains filtered or unexported fields
}
func NewNullableQuotaScan ¶
func NewNullableQuotaScan(val *QuotaScan) *NullableQuotaScan
func (NullableQuotaScan) Get ¶
func (v NullableQuotaScan) Get() *QuotaScan
func (NullableQuotaScan) IsSet ¶
func (v NullableQuotaScan) IsSet() bool
func (NullableQuotaScan) MarshalJSON ¶
func (v NullableQuotaScan) MarshalJSON() ([]byte, error)
func (*NullableQuotaScan) Set ¶
func (v *NullableQuotaScan) Set(val *QuotaScan)
func (*NullableQuotaScan) UnmarshalJSON ¶
func (v *NullableQuotaScan) UnmarshalJSON(src []byte) error
func (*NullableQuotaScan) Unset ¶
func (v *NullableQuotaScan) Unset()
type NullableQuotaUsage ¶
type NullableQuotaUsage struct {
// contains filtered or unexported fields
}
func NewNullableQuotaUsage ¶
func NewNullableQuotaUsage(val *QuotaUsage) *NullableQuotaUsage
func (NullableQuotaUsage) Get ¶
func (v NullableQuotaUsage) Get() *QuotaUsage
func (NullableQuotaUsage) IsSet ¶
func (v NullableQuotaUsage) IsSet() bool
func (NullableQuotaUsage) MarshalJSON ¶
func (v NullableQuotaUsage) MarshalJSON() ([]byte, error)
func (*NullableQuotaUsage) Set ¶
func (v *NullableQuotaUsage) Set(val *QuotaUsage)
func (*NullableQuotaUsage) UnmarshalJSON ¶
func (v *NullableQuotaUsage) UnmarshalJSON(src []byte) error
func (*NullableQuotaUsage) Unset ¶
func (v *NullableQuotaUsage) Unset()
type NullableRecoveryCode ¶
type NullableRecoveryCode struct {
// contains filtered or unexported fields
}
func NewNullableRecoveryCode ¶
func NewNullableRecoveryCode(val *RecoveryCode) *NullableRecoveryCode
func (NullableRecoveryCode) Get ¶
func (v NullableRecoveryCode) Get() *RecoveryCode
func (NullableRecoveryCode) IsSet ¶
func (v NullableRecoveryCode) IsSet() bool
func (NullableRecoveryCode) MarshalJSON ¶
func (v NullableRecoveryCode) MarshalJSON() ([]byte, error)
func (*NullableRecoveryCode) Set ¶
func (v *NullableRecoveryCode) Set(val *RecoveryCode)
func (*NullableRecoveryCode) UnmarshalJSON ¶
func (v *NullableRecoveryCode) UnmarshalJSON(src []byte) error
func (*NullableRecoveryCode) Unset ¶
func (v *NullableRecoveryCode) Unset()
type NullableRetentionCheck ¶
type NullableRetentionCheck struct {
// contains filtered or unexported fields
}
func NewNullableRetentionCheck ¶
func NewNullableRetentionCheck(val *RetentionCheck) *NullableRetentionCheck
func (NullableRetentionCheck) Get ¶
func (v NullableRetentionCheck) Get() *RetentionCheck
func (NullableRetentionCheck) IsSet ¶
func (v NullableRetentionCheck) IsSet() bool
func (NullableRetentionCheck) MarshalJSON ¶
func (v NullableRetentionCheck) MarshalJSON() ([]byte, error)
func (*NullableRetentionCheck) Set ¶
func (v *NullableRetentionCheck) Set(val *RetentionCheck)
func (*NullableRetentionCheck) UnmarshalJSON ¶
func (v *NullableRetentionCheck) UnmarshalJSON(src []byte) error
func (*NullableRetentionCheck) Unset ¶
func (v *NullableRetentionCheck) Unset()
type NullableRetentionCheckNotification ¶
type NullableRetentionCheckNotification struct {
// contains filtered or unexported fields
}
func NewNullableRetentionCheckNotification ¶
func NewNullableRetentionCheckNotification(val *RetentionCheckNotification) *NullableRetentionCheckNotification
func (NullableRetentionCheckNotification) Get ¶
func (v NullableRetentionCheckNotification) Get() *RetentionCheckNotification
func (NullableRetentionCheckNotification) IsSet ¶
func (v NullableRetentionCheckNotification) IsSet() bool
func (NullableRetentionCheckNotification) MarshalJSON ¶
func (v NullableRetentionCheckNotification) MarshalJSON() ([]byte, error)
func (*NullableRetentionCheckNotification) Set ¶
func (v *NullableRetentionCheckNotification) Set(val *RetentionCheckNotification)
func (*NullableRetentionCheckNotification) UnmarshalJSON ¶
func (v *NullableRetentionCheckNotification) UnmarshalJSON(src []byte) error
func (*NullableRetentionCheckNotification) Unset ¶
func (v *NullableRetentionCheckNotification) Unset()
type NullableS3Config ¶
type NullableS3Config struct {
// contains filtered or unexported fields
}
func NewNullableS3Config ¶
func NewNullableS3Config(val *S3Config) *NullableS3Config
func (NullableS3Config) Get ¶
func (v NullableS3Config) Get() *S3Config
func (NullableS3Config) IsSet ¶
func (v NullableS3Config) IsSet() bool
func (NullableS3Config) MarshalJSON ¶
func (v NullableS3Config) MarshalJSON() ([]byte, error)
func (*NullableS3Config) Set ¶
func (v *NullableS3Config) Set(val *S3Config)
func (*NullableS3Config) UnmarshalJSON ¶
func (v *NullableS3Config) UnmarshalJSON(src []byte) error
func (*NullableS3Config) Unset ¶
func (v *NullableS3Config) Unset()
type NullableSFTPFsConfig ¶
type NullableSFTPFsConfig struct {
// contains filtered or unexported fields
}
func NewNullableSFTPFsConfig ¶
func NewNullableSFTPFsConfig(val *SFTPFsConfig) *NullableSFTPFsConfig
func (NullableSFTPFsConfig) Get ¶
func (v NullableSFTPFsConfig) Get() *SFTPFsConfig
func (NullableSFTPFsConfig) IsSet ¶
func (v NullableSFTPFsConfig) IsSet() bool
func (NullableSFTPFsConfig) MarshalJSON ¶
func (v NullableSFTPFsConfig) MarshalJSON() ([]byte, error)
func (*NullableSFTPFsConfig) Set ¶
func (v *NullableSFTPFsConfig) Set(val *SFTPFsConfig)
func (*NullableSFTPFsConfig) UnmarshalJSON ¶
func (v *NullableSFTPFsConfig) UnmarshalJSON(src []byte) error
func (*NullableSFTPFsConfig) Unset ¶
func (v *NullableSFTPFsConfig) Unset()
type NullableSSHBinding ¶
type NullableSSHBinding struct {
// contains filtered or unexported fields
}
func NewNullableSSHBinding ¶
func NewNullableSSHBinding(val *SSHBinding) *NullableSSHBinding
func (NullableSSHBinding) Get ¶
func (v NullableSSHBinding) Get() *SSHBinding
func (NullableSSHBinding) IsSet ¶
func (v NullableSSHBinding) IsSet() bool
func (NullableSSHBinding) MarshalJSON ¶
func (v NullableSSHBinding) MarshalJSON() ([]byte, error)
func (*NullableSSHBinding) Set ¶
func (v *NullableSSHBinding) Set(val *SSHBinding)
func (*NullableSSHBinding) UnmarshalJSON ¶
func (v *NullableSSHBinding) UnmarshalJSON(src []byte) error
func (*NullableSSHBinding) Unset ¶
func (v *NullableSSHBinding) Unset()
type NullableSSHHostKey ¶
type NullableSSHHostKey struct {
// contains filtered or unexported fields
}
func NewNullableSSHHostKey ¶
func NewNullableSSHHostKey(val *SSHHostKey) *NullableSSHHostKey
func (NullableSSHHostKey) Get ¶
func (v NullableSSHHostKey) Get() *SSHHostKey
func (NullableSSHHostKey) IsSet ¶
func (v NullableSSHHostKey) IsSet() bool
func (NullableSSHHostKey) MarshalJSON ¶
func (v NullableSSHHostKey) MarshalJSON() ([]byte, error)
func (*NullableSSHHostKey) Set ¶
func (v *NullableSSHHostKey) Set(val *SSHHostKey)
func (*NullableSSHHostKey) UnmarshalJSON ¶
func (v *NullableSSHHostKey) UnmarshalJSON(src []byte) error
func (*NullableSSHHostKey) Unset ¶
func (v *NullableSSHHostKey) Unset()
type NullableSSHServiceStatus ¶
type NullableSSHServiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableSSHServiceStatus ¶
func NewNullableSSHServiceStatus(val *SSHServiceStatus) *NullableSSHServiceStatus
func (NullableSSHServiceStatus) Get ¶
func (v NullableSSHServiceStatus) Get() *SSHServiceStatus
func (NullableSSHServiceStatus) IsSet ¶
func (v NullableSSHServiceStatus) IsSet() bool
func (NullableSSHServiceStatus) MarshalJSON ¶
func (v NullableSSHServiceStatus) MarshalJSON() ([]byte, error)
func (*NullableSSHServiceStatus) Set ¶
func (v *NullableSSHServiceStatus) Set(val *SSHServiceStatus)
func (*NullableSSHServiceStatus) UnmarshalJSON ¶
func (v *NullableSSHServiceStatus) UnmarshalJSON(src []byte) error
func (*NullableSSHServiceStatus) Unset ¶
func (v *NullableSSHServiceStatus) Unset()
type NullableScoreStatus ¶
type NullableScoreStatus struct {
// contains filtered or unexported fields
}
func NewNullableScoreStatus ¶
func NewNullableScoreStatus(val *ScoreStatus) *NullableScoreStatus
func (NullableScoreStatus) Get ¶
func (v NullableScoreStatus) Get() *ScoreStatus
func (NullableScoreStatus) IsSet ¶
func (v NullableScoreStatus) IsSet() bool
func (NullableScoreStatus) MarshalJSON ¶
func (v NullableScoreStatus) MarshalJSON() ([]byte, error)
func (*NullableScoreStatus) Set ¶
func (v *NullableScoreStatus) Set(val *ScoreStatus)
func (*NullableScoreStatus) UnmarshalJSON ¶
func (v *NullableScoreStatus) UnmarshalJSON(src []byte) error
func (*NullableScoreStatus) Unset ¶
func (v *NullableScoreStatus) Unset()
type NullableSecret ¶
type NullableSecret struct {
// contains filtered or unexported fields
}
func NewNullableSecret ¶
func NewNullableSecret(val *Secret) *NullableSecret
func (NullableSecret) Get ¶
func (v NullableSecret) Get() *Secret
func (NullableSecret) IsSet ¶
func (v NullableSecret) IsSet() bool
func (NullableSecret) MarshalJSON ¶
func (v NullableSecret) MarshalJSON() ([]byte, error)
func (*NullableSecret) Set ¶
func (v *NullableSecret) Set(val *Secret)
func (*NullableSecret) UnmarshalJSON ¶
func (v *NullableSecret) UnmarshalJSON(src []byte) error
func (*NullableSecret) Unset ¶
func (v *NullableSecret) Unset()
type NullableServicesStatus ¶
type NullableServicesStatus struct {
// contains filtered or unexported fields
}
func NewNullableServicesStatus ¶
func NewNullableServicesStatus(val *ServicesStatus) *NullableServicesStatus
func (NullableServicesStatus) Get ¶
func (v NullableServicesStatus) Get() *ServicesStatus
func (NullableServicesStatus) IsSet ¶
func (v NullableServicesStatus) IsSet() bool
func (NullableServicesStatus) MarshalJSON ¶
func (v NullableServicesStatus) MarshalJSON() ([]byte, error)
func (*NullableServicesStatus) Set ¶
func (v *NullableServicesStatus) Set(val *ServicesStatus)
func (*NullableServicesStatus) UnmarshalJSON ¶
func (v *NullableServicesStatus) UnmarshalJSON(src []byte) error
func (*NullableServicesStatus) Unset ¶
func (v *NullableServicesStatus) Unset()
type NullableServicesStatusDefender ¶
type NullableServicesStatusDefender struct {
// contains filtered or unexported fields
}
func NewNullableServicesStatusDefender ¶
func NewNullableServicesStatusDefender(val *ServicesStatusDefender) *NullableServicesStatusDefender
func (NullableServicesStatusDefender) Get ¶
func (v NullableServicesStatusDefender) Get() *ServicesStatusDefender
func (NullableServicesStatusDefender) IsSet ¶
func (v NullableServicesStatusDefender) IsSet() bool
func (NullableServicesStatusDefender) MarshalJSON ¶
func (v NullableServicesStatusDefender) MarshalJSON() ([]byte, error)
func (*NullableServicesStatusDefender) Set ¶
func (v *NullableServicesStatusDefender) Set(val *ServicesStatusDefender)
func (*NullableServicesStatusDefender) UnmarshalJSON ¶
func (v *NullableServicesStatusDefender) UnmarshalJSON(src []byte) error
func (*NullableServicesStatusDefender) Unset ¶
func (v *NullableServicesStatusDefender) Unset()
type NullableShare ¶
type NullableShare struct {
// contains filtered or unexported fields
}
func NewNullableShare ¶
func NewNullableShare(val *Share) *NullableShare
func (NullableShare) Get ¶
func (v NullableShare) Get() *Share
func (NullableShare) IsSet ¶
func (v NullableShare) IsSet() bool
func (NullableShare) MarshalJSON ¶
func (v NullableShare) MarshalJSON() ([]byte, error)
func (*NullableShare) Set ¶
func (v *NullableShare) Set(val *Share)
func (*NullableShare) UnmarshalJSON ¶
func (v *NullableShare) UnmarshalJSON(src []byte) error
func (*NullableShare) Unset ¶
func (v *NullableShare) Unset()
type NullableShareScope ¶
type NullableShareScope struct {
// contains filtered or unexported fields
}
func NewNullableShareScope ¶
func NewNullableShareScope(val *ShareScope) *NullableShareScope
func (NullableShareScope) Get ¶
func (v NullableShareScope) Get() *ShareScope
func (NullableShareScope) IsSet ¶
func (v NullableShareScope) IsSet() bool
func (NullableShareScope) MarshalJSON ¶
func (v NullableShareScope) MarshalJSON() ([]byte, error)
func (*NullableShareScope) Set ¶
func (v *NullableShareScope) Set(val *ShareScope)
func (*NullableShareScope) UnmarshalJSON ¶
func (v *NullableShareScope) UnmarshalJSON(src []byte) error
func (*NullableShareScope) Unset ¶
func (v *NullableShareScope) 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 NullableSupportedProtocols ¶
type NullableSupportedProtocols struct {
// contains filtered or unexported fields
}
func NewNullableSupportedProtocols ¶
func NewNullableSupportedProtocols(val *SupportedProtocols) *NullableSupportedProtocols
func (NullableSupportedProtocols) Get ¶
func (v NullableSupportedProtocols) Get() *SupportedProtocols
func (NullableSupportedProtocols) IsSet ¶
func (v NullableSupportedProtocols) IsSet() bool
func (NullableSupportedProtocols) MarshalJSON ¶
func (v NullableSupportedProtocols) MarshalJSON() ([]byte, error)
func (*NullableSupportedProtocols) Set ¶
func (v *NullableSupportedProtocols) Set(val *SupportedProtocols)
func (*NullableSupportedProtocols) UnmarshalJSON ¶
func (v *NullableSupportedProtocols) UnmarshalJSON(src []byte) error
func (*NullableSupportedProtocols) Unset ¶
func (v *NullableSupportedProtocols) Unset()
type NullableTOTPConfig ¶
type NullableTOTPConfig struct {
// contains filtered or unexported fields
}
func NewNullableTOTPConfig ¶
func NewNullableTOTPConfig(val *TOTPConfig) *NullableTOTPConfig
func (NullableTOTPConfig) Get ¶
func (v NullableTOTPConfig) Get() *TOTPConfig
func (NullableTOTPConfig) IsSet ¶
func (v NullableTOTPConfig) IsSet() bool
func (NullableTOTPConfig) MarshalJSON ¶
func (v NullableTOTPConfig) MarshalJSON() ([]byte, error)
func (*NullableTOTPConfig) Set ¶
func (v *NullableTOTPConfig) Set(val *TOTPConfig)
func (*NullableTOTPConfig) UnmarshalJSON ¶
func (v *NullableTOTPConfig) UnmarshalJSON(src []byte) error
func (*NullableTOTPConfig) Unset ¶
func (v *NullableTOTPConfig) Unset()
type NullableTOTPHMacAlgo ¶
type NullableTOTPHMacAlgo struct {
// contains filtered or unexported fields
}
func NewNullableTOTPHMacAlgo ¶
func NewNullableTOTPHMacAlgo(val *TOTPHMacAlgo) *NullableTOTPHMacAlgo
func (NullableTOTPHMacAlgo) Get ¶
func (v NullableTOTPHMacAlgo) Get() *TOTPHMacAlgo
func (NullableTOTPHMacAlgo) IsSet ¶
func (v NullableTOTPHMacAlgo) IsSet() bool
func (NullableTOTPHMacAlgo) MarshalJSON ¶
func (v NullableTOTPHMacAlgo) MarshalJSON() ([]byte, error)
func (*NullableTOTPHMacAlgo) Set ¶
func (v *NullableTOTPHMacAlgo) Set(val *TOTPHMacAlgo)
func (*NullableTOTPHMacAlgo) UnmarshalJSON ¶
func (v *NullableTOTPHMacAlgo) UnmarshalJSON(src []byte) error
func (*NullableTOTPHMacAlgo) Unset ¶
func (v *NullableTOTPHMacAlgo) 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 NullableToken ¶
type NullableToken struct {
// contains filtered or unexported fields
}
func NewNullableToken ¶
func NewNullableToken(val *Token) *NullableToken
func (NullableToken) Get ¶
func (v NullableToken) Get() *Token
func (NullableToken) IsSet ¶
func (v NullableToken) IsSet() bool
func (NullableToken) MarshalJSON ¶
func (v NullableToken) MarshalJSON() ([]byte, error)
func (*NullableToken) Set ¶
func (v *NullableToken) Set(val *Token)
func (*NullableToken) UnmarshalJSON ¶
func (v *NullableToken) UnmarshalJSON(src []byte) error
func (*NullableToken) Unset ¶
func (v *NullableToken) Unset()
type NullableTransfer ¶
type NullableTransfer struct {
// contains filtered or unexported fields
}
func NewNullableTransfer ¶
func NewNullableTransfer(val *Transfer) *NullableTransfer
func (NullableTransfer) Get ¶
func (v NullableTransfer) Get() *Transfer
func (NullableTransfer) IsSet ¶
func (v NullableTransfer) IsSet() bool
func (NullableTransfer) MarshalJSON ¶
func (v NullableTransfer) MarshalJSON() ([]byte, error)
func (*NullableTransfer) Set ¶
func (v *NullableTransfer) Set(val *Transfer)
func (*NullableTransfer) UnmarshalJSON ¶
func (v *NullableTransfer) UnmarshalJSON(src []byte) error
func (*NullableTransfer) Unset ¶
func (v *NullableTransfer) Unset()
type NullableTransferQuotaUsage ¶
type NullableTransferQuotaUsage struct {
// contains filtered or unexported fields
}
func NewNullableTransferQuotaUsage ¶
func NewNullableTransferQuotaUsage(val *TransferQuotaUsage) *NullableTransferQuotaUsage
func (NullableTransferQuotaUsage) Get ¶
func (v NullableTransferQuotaUsage) Get() *TransferQuotaUsage
func (NullableTransferQuotaUsage) IsSet ¶
func (v NullableTransferQuotaUsage) IsSet() bool
func (NullableTransferQuotaUsage) MarshalJSON ¶
func (v NullableTransferQuotaUsage) MarshalJSON() ([]byte, error)
func (*NullableTransferQuotaUsage) Set ¶
func (v *NullableTransferQuotaUsage) Set(val *TransferQuotaUsage)
func (*NullableTransferQuotaUsage) UnmarshalJSON ¶
func (v *NullableTransferQuotaUsage) UnmarshalJSON(src []byte) error
func (*NullableTransferQuotaUsage) Unset ¶
func (v *NullableTransferQuotaUsage) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserFilters ¶
type NullableUserFilters struct {
// contains filtered or unexported fields
}
func NewNullableUserFilters ¶
func NewNullableUserFilters(val *UserFilters) *NullableUserFilters
func (NullableUserFilters) Get ¶
func (v NullableUserFilters) Get() *UserFilters
func (NullableUserFilters) IsSet ¶
func (v NullableUserFilters) IsSet() bool
func (NullableUserFilters) MarshalJSON ¶
func (v NullableUserFilters) MarshalJSON() ([]byte, error)
func (*NullableUserFilters) Set ¶
func (v *NullableUserFilters) Set(val *UserFilters)
func (*NullableUserFilters) UnmarshalJSON ¶
func (v *NullableUserFilters) UnmarshalJSON(src []byte) error
func (*NullableUserFilters) Unset ¶
func (v *NullableUserFilters) Unset()
type NullableUserProfile ¶
type NullableUserProfile struct {
// contains filtered or unexported fields
}
func NewNullableUserProfile ¶
func NewNullableUserProfile(val *UserProfile) *NullableUserProfile
func (NullableUserProfile) Get ¶
func (v NullableUserProfile) Get() *UserProfile
func (NullableUserProfile) IsSet ¶
func (v NullableUserProfile) IsSet() bool
func (NullableUserProfile) MarshalJSON ¶
func (v NullableUserProfile) MarshalJSON() ([]byte, error)
func (*NullableUserProfile) Set ¶
func (v *NullableUserProfile) Set(val *UserProfile)
func (*NullableUserProfile) UnmarshalJSON ¶
func (v *NullableUserProfile) UnmarshalJSON(src []byte) error
func (*NullableUserProfile) Unset ¶
func (v *NullableUserProfile) Unset()
type NullableUserTOTPConfig ¶
type NullableUserTOTPConfig struct {
// contains filtered or unexported fields
}
func NewNullableUserTOTPConfig ¶
func NewNullableUserTOTPConfig(val *UserTOTPConfig) *NullableUserTOTPConfig
func (NullableUserTOTPConfig) Get ¶
func (v NullableUserTOTPConfig) Get() *UserTOTPConfig
func (NullableUserTOTPConfig) IsSet ¶
func (v NullableUserTOTPConfig) IsSet() bool
func (NullableUserTOTPConfig) MarshalJSON ¶
func (v NullableUserTOTPConfig) MarshalJSON() ([]byte, error)
func (*NullableUserTOTPConfig) Set ¶
func (v *NullableUserTOTPConfig) Set(val *UserTOTPConfig)
func (*NullableUserTOTPConfig) UnmarshalJSON ¶
func (v *NullableUserTOTPConfig) UnmarshalJSON(src []byte) error
func (*NullableUserTOTPConfig) Unset ¶
func (v *NullableUserTOTPConfig) Unset()
type NullableUserTOTPConfigAllOf ¶
type NullableUserTOTPConfigAllOf struct {
// contains filtered or unexported fields
}
func NewNullableUserTOTPConfigAllOf ¶
func NewNullableUserTOTPConfigAllOf(val *UserTOTPConfigAllOf) *NullableUserTOTPConfigAllOf
func (NullableUserTOTPConfigAllOf) Get ¶
func (v NullableUserTOTPConfigAllOf) Get() *UserTOTPConfigAllOf
func (NullableUserTOTPConfigAllOf) IsSet ¶
func (v NullableUserTOTPConfigAllOf) IsSet() bool
func (NullableUserTOTPConfigAllOf) MarshalJSON ¶
func (v NullableUserTOTPConfigAllOf) MarshalJSON() ([]byte, error)
func (*NullableUserTOTPConfigAllOf) Set ¶
func (v *NullableUserTOTPConfigAllOf) Set(val *UserTOTPConfigAllOf)
func (*NullableUserTOTPConfigAllOf) UnmarshalJSON ¶
func (v *NullableUserTOTPConfigAllOf) UnmarshalJSON(src []byte) error
func (*NullableUserTOTPConfigAllOf) Unset ¶
func (v *NullableUserTOTPConfigAllOf) Unset()
type NullableUserType ¶
type NullableUserType struct {
// contains filtered or unexported fields
}
func NewNullableUserType ¶
func NewNullableUserType(val *UserType) *NullableUserType
func (NullableUserType) Get ¶
func (v NullableUserType) Get() *UserType
func (NullableUserType) IsSet ¶
func (v NullableUserType) IsSet() bool
func (NullableUserType) MarshalJSON ¶
func (v NullableUserType) MarshalJSON() ([]byte, error)
func (*NullableUserType) Set ¶
func (v *NullableUserType) Set(val *UserType)
func (*NullableUserType) UnmarshalJSON ¶
func (v *NullableUserType) UnmarshalJSON(src []byte) error
func (*NullableUserType) Unset ¶
func (v *NullableUserType) Unset()
type NullableVersionInfo ¶
type NullableVersionInfo struct {
// contains filtered or unexported fields
}
func NewNullableVersionInfo ¶
func NewNullableVersionInfo(val *VersionInfo) *NullableVersionInfo
func (NullableVersionInfo) Get ¶
func (v NullableVersionInfo) Get() *VersionInfo
func (NullableVersionInfo) IsSet ¶
func (v NullableVersionInfo) IsSet() bool
func (NullableVersionInfo) MarshalJSON ¶
func (v NullableVersionInfo) MarshalJSON() ([]byte, error)
func (*NullableVersionInfo) Set ¶
func (v *NullableVersionInfo) Set(val *VersionInfo)
func (*NullableVersionInfo) UnmarshalJSON ¶
func (v *NullableVersionInfo) UnmarshalJSON(src []byte) error
func (*NullableVersionInfo) Unset ¶
func (v *NullableVersionInfo) Unset()
type NullableVirtualFolder ¶
type NullableVirtualFolder struct {
// contains filtered or unexported fields
}
func NewNullableVirtualFolder ¶
func NewNullableVirtualFolder(val *VirtualFolder) *NullableVirtualFolder
func (NullableVirtualFolder) Get ¶
func (v NullableVirtualFolder) Get() *VirtualFolder
func (NullableVirtualFolder) IsSet ¶
func (v NullableVirtualFolder) IsSet() bool
func (NullableVirtualFolder) MarshalJSON ¶
func (v NullableVirtualFolder) MarshalJSON() ([]byte, error)
func (*NullableVirtualFolder) Set ¶
func (v *NullableVirtualFolder) Set(val *VirtualFolder)
func (*NullableVirtualFolder) UnmarshalJSON ¶
func (v *NullableVirtualFolder) UnmarshalJSON(src []byte) error
func (*NullableVirtualFolder) Unset ¶
func (v *NullableVirtualFolder) Unset()
type NullableVirtualFolderAllOf ¶
type NullableVirtualFolderAllOf struct {
// contains filtered or unexported fields
}
func NewNullableVirtualFolderAllOf ¶
func NewNullableVirtualFolderAllOf(val *VirtualFolderAllOf) *NullableVirtualFolderAllOf
func (NullableVirtualFolderAllOf) Get ¶
func (v NullableVirtualFolderAllOf) Get() *VirtualFolderAllOf
func (NullableVirtualFolderAllOf) IsSet ¶
func (v NullableVirtualFolderAllOf) IsSet() bool
func (NullableVirtualFolderAllOf) MarshalJSON ¶
func (v NullableVirtualFolderAllOf) MarshalJSON() ([]byte, error)
func (*NullableVirtualFolderAllOf) Set ¶
func (v *NullableVirtualFolderAllOf) Set(val *VirtualFolderAllOf)
func (*NullableVirtualFolderAllOf) UnmarshalJSON ¶
func (v *NullableVirtualFolderAllOf) UnmarshalJSON(src []byte) error
func (*NullableVirtualFolderAllOf) Unset ¶
func (v *NullableVirtualFolderAllOf) Unset()
type NullableWebClientOptions ¶
type NullableWebClientOptions struct {
// contains filtered or unexported fields
}
func NewNullableWebClientOptions ¶
func NewNullableWebClientOptions(val *WebClientOptions) *NullableWebClientOptions
func (NullableWebClientOptions) Get ¶
func (v NullableWebClientOptions) Get() *WebClientOptions
func (NullableWebClientOptions) IsSet ¶
func (v NullableWebClientOptions) IsSet() bool
func (NullableWebClientOptions) MarshalJSON ¶
func (v NullableWebClientOptions) MarshalJSON() ([]byte, error)
func (*NullableWebClientOptions) Set ¶
func (v *NullableWebClientOptions) Set(val *WebClientOptions)
func (*NullableWebClientOptions) UnmarshalJSON ¶
func (v *NullableWebClientOptions) UnmarshalJSON(src []byte) error
func (*NullableWebClientOptions) Unset ¶
func (v *NullableWebClientOptions) Unset()
type NullableWebDAVBinding ¶
type NullableWebDAVBinding struct {
// contains filtered or unexported fields
}
func NewNullableWebDAVBinding ¶
func NewNullableWebDAVBinding(val *WebDAVBinding) *NullableWebDAVBinding
func (NullableWebDAVBinding) Get ¶
func (v NullableWebDAVBinding) Get() *WebDAVBinding
func (NullableWebDAVBinding) IsSet ¶
func (v NullableWebDAVBinding) IsSet() bool
func (NullableWebDAVBinding) MarshalJSON ¶
func (v NullableWebDAVBinding) MarshalJSON() ([]byte, error)
func (*NullableWebDAVBinding) Set ¶
func (v *NullableWebDAVBinding) Set(val *WebDAVBinding)
func (*NullableWebDAVBinding) UnmarshalJSON ¶
func (v *NullableWebDAVBinding) UnmarshalJSON(src []byte) error
func (*NullableWebDAVBinding) Unset ¶
func (v *NullableWebDAVBinding) Unset()
type NullableWebDAVServiceStatus ¶
type NullableWebDAVServiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableWebDAVServiceStatus ¶
func NewNullableWebDAVServiceStatus(val *WebDAVServiceStatus) *NullableWebDAVServiceStatus
func (NullableWebDAVServiceStatus) Get ¶
func (v NullableWebDAVServiceStatus) Get() *WebDAVServiceStatus
func (NullableWebDAVServiceStatus) IsSet ¶
func (v NullableWebDAVServiceStatus) IsSet() bool
func (NullableWebDAVServiceStatus) MarshalJSON ¶
func (v NullableWebDAVServiceStatus) MarshalJSON() ([]byte, error)
func (*NullableWebDAVServiceStatus) Set ¶
func (v *NullableWebDAVServiceStatus) Set(val *WebDAVServiceStatus)
func (*NullableWebDAVServiceStatus) UnmarshalJSON ¶
func (v *NullableWebDAVServiceStatus) UnmarshalJSON(src []byte) error
func (*NullableWebDAVServiceStatus) Unset ¶
func (v *NullableWebDAVServiceStatus) Unset()
type PatternsFilter ¶
type PatternsFilter struct { // exposed virtual path, if no other specific filter is defined, the filter applies for sub directories too. For example if filters are defined for the paths \"/\" and \"/sub\" then the filters for \"/\" are applied for any file outside the \"/sub\" directory Path *string `json:"path,omitempty"` // list of, case insensitive, allowed shell like patterns. AllowedPatterns []string `json:"allowed_patterns,omitempty"` // list of, case insensitive, denied shell like patterns. Denied patterns are evaluated before the allowed ones DeniedPatterns []string `json:"denied_patterns,omitempty"` // Deny policies * `0` - default policy. Denied files/directories matching the filters are visible in directory listing but cannot be uploaded/downloaded/overwritten/renamed * `1` - deny policy hide. This policy applies the same restrictions as the default one and denied files/directories matching the filters will also be hidden in directory listing. This mode may cause performance issues for large directories DenyPolicy *int32 `json:"deny_policy,omitempty"` }
PatternsFilter struct for PatternsFilter
func NewPatternsFilter ¶
func NewPatternsFilter() *PatternsFilter
NewPatternsFilter instantiates a new PatternsFilter 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 NewPatternsFilterWithDefaults ¶
func NewPatternsFilterWithDefaults() *PatternsFilter
NewPatternsFilterWithDefaults instantiates a new PatternsFilter 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 (*PatternsFilter) GetAllowedPatterns ¶
func (o *PatternsFilter) GetAllowedPatterns() []string
GetAllowedPatterns returns the AllowedPatterns field value if set, zero value otherwise.
func (*PatternsFilter) GetAllowedPatternsOk ¶
func (o *PatternsFilter) GetAllowedPatternsOk() ([]string, bool)
GetAllowedPatternsOk returns a tuple with the AllowedPatterns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatternsFilter) GetDeniedPatterns ¶
func (o *PatternsFilter) GetDeniedPatterns() []string
GetDeniedPatterns returns the DeniedPatterns field value if set, zero value otherwise.
func (*PatternsFilter) GetDeniedPatternsOk ¶
func (o *PatternsFilter) GetDeniedPatternsOk() ([]string, bool)
GetDeniedPatternsOk returns a tuple with the DeniedPatterns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatternsFilter) GetDenyPolicy ¶
func (o *PatternsFilter) GetDenyPolicy() int32
GetDenyPolicy returns the DenyPolicy field value if set, zero value otherwise.
func (*PatternsFilter) GetDenyPolicyOk ¶
func (o *PatternsFilter) GetDenyPolicyOk() (*int32, bool)
GetDenyPolicyOk returns a tuple with the DenyPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatternsFilter) GetPath ¶
func (o *PatternsFilter) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*PatternsFilter) GetPathOk ¶
func (o *PatternsFilter) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatternsFilter) HasAllowedPatterns ¶
func (o *PatternsFilter) HasAllowedPatterns() bool
HasAllowedPatterns returns a boolean if a field has been set.
func (*PatternsFilter) HasDeniedPatterns ¶
func (o *PatternsFilter) HasDeniedPatterns() bool
HasDeniedPatterns returns a boolean if a field has been set.
func (*PatternsFilter) HasDenyPolicy ¶
func (o *PatternsFilter) HasDenyPolicy() bool
HasDenyPolicy returns a boolean if a field has been set.
func (*PatternsFilter) HasPath ¶
func (o *PatternsFilter) HasPath() bool
HasPath returns a boolean if a field has been set.
func (PatternsFilter) MarshalJSON ¶
func (o PatternsFilter) MarshalJSON() ([]byte, error)
func (*PatternsFilter) SetAllowedPatterns ¶
func (o *PatternsFilter) SetAllowedPatterns(v []string)
SetAllowedPatterns gets a reference to the given []string and assigns it to the AllowedPatterns field.
func (*PatternsFilter) SetDeniedPatterns ¶
func (o *PatternsFilter) SetDeniedPatterns(v []string)
SetDeniedPatterns gets a reference to the given []string and assigns it to the DeniedPatterns field.
func (*PatternsFilter) SetDenyPolicy ¶
func (o *PatternsFilter) SetDenyPolicy(v int32)
SetDenyPolicy gets a reference to the given int32 and assigns it to the DenyPolicy field.
func (*PatternsFilter) SetPath ¶
func (o *PatternsFilter) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
type Permission ¶
type Permission string
Permission Permissions: * `*` - all permissions are granted * `list` - list items is allowed * `download` - download files is allowed * `upload` - upload files is allowed * `overwrite` - overwrite an existing file, while uploading, is allowed. upload permission is required to allow file overwrite * `delete` - delete files or directories is allowed * `delete_files` - delete files is allowed * `delete_dirs` - delete directories is allowed * `rename` - rename files or directories is allowed * `rename_files` - rename files is allowed * `rename_dirs` - rename directories is allowed * `create_dirs` - create directories is allowed * `create_symlinks` - create links is allowed * `chmod` changing file or directory permissions is allowed * `chown` changing file or directory owner and group is allowed * `chtimes` changing file or directory access and modification time is allowed
const ( PERMISSION_STAR Permission = "*" PERMISSION_LIST Permission = "list" PERMISSION_DOWNLOAD Permission = "download" PERMISSION_UPLOAD Permission = "upload" PERMISSION_OVERWRITE Permission = "overwrite" PERMISSION_DELETE Permission = "delete" PERMISSION_DELETE_FILES Permission = "delete_files" PERMISSION_DELETE_DIRS Permission = "delete_dirs" PERMISSION_RENAME Permission = "rename" PERMISSION_RENAME_FILES Permission = "rename_files" PERMISSION_RENAME_DIRS Permission = "rename_dirs" PERMISSION_CREATE_DIRS Permission = "create_dirs" PERMISSION_CREATE_SYMLINKS Permission = "create_symlinks" PERMISSION_CHMOD Permission = "chmod" PERMISSION_CHOWN Permission = "chown" PERMISSION_CHTIMES Permission = "chtimes" )
List of Permission
func NewPermissionFromValue ¶
func NewPermissionFromValue(v string) (*Permission, error)
NewPermissionFromValue returns a pointer to a valid Permission for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Permission) IsValid ¶
func (v Permission) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (Permission) Ptr ¶
func (v Permission) Ptr() *Permission
Ptr returns reference to Permission value
func (*Permission) UnmarshalJSON ¶
func (v *Permission) UnmarshalJSON(src []byte) error
type ProviderEvent ¶
type ProviderEvent struct { Id *string `json:"id,omitempty"` // unix timestamp in nanoseconds Timestamp *int64 `json:"timestamp,omitempty"` Action *ProviderEventAction `json:"action,omitempty"` Username *string `json:"username,omitempty"` Ip *string `json:"ip,omitempty"` ObjectType *ProviderEventObjectType `json:"object_type,omitempty"` ObjectName *string `json:"object_name,omitempty"` InstanceId *string `json:"instance_id,omitempty"` }
ProviderEvent struct for ProviderEvent
func NewProviderEvent ¶
func NewProviderEvent() *ProviderEvent
NewProviderEvent instantiates a new ProviderEvent 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 NewProviderEventWithDefaults ¶
func NewProviderEventWithDefaults() *ProviderEvent
NewProviderEventWithDefaults instantiates a new ProviderEvent 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 (*ProviderEvent) GetAction ¶
func (o *ProviderEvent) GetAction() ProviderEventAction
GetAction returns the Action field value if set, zero value otherwise.
func (*ProviderEvent) GetActionOk ¶
func (o *ProviderEvent) GetActionOk() (*ProviderEventAction, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderEvent) GetId ¶
func (o *ProviderEvent) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ProviderEvent) GetIdOk ¶
func (o *ProviderEvent) 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 (*ProviderEvent) GetInstanceId ¶
func (o *ProviderEvent) GetInstanceId() string
GetInstanceId returns the InstanceId field value if set, zero value otherwise.
func (*ProviderEvent) GetInstanceIdOk ¶
func (o *ProviderEvent) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderEvent) GetIp ¶
func (o *ProviderEvent) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*ProviderEvent) GetIpOk ¶
func (o *ProviderEvent) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderEvent) GetObjectName ¶
func (o *ProviderEvent) GetObjectName() string
GetObjectName returns the ObjectName field value if set, zero value otherwise.
func (*ProviderEvent) GetObjectNameOk ¶
func (o *ProviderEvent) GetObjectNameOk() (*string, bool)
GetObjectNameOk returns a tuple with the ObjectName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderEvent) GetObjectType ¶
func (o *ProviderEvent) GetObjectType() ProviderEventObjectType
GetObjectType returns the ObjectType field value if set, zero value otherwise.
func (*ProviderEvent) GetObjectTypeOk ¶
func (o *ProviderEvent) GetObjectTypeOk() (*ProviderEventObjectType, bool)
GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderEvent) GetTimestamp ¶
func (o *ProviderEvent) GetTimestamp() int64
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ProviderEvent) GetTimestampOk ¶
func (o *ProviderEvent) GetTimestampOk() (*int64, 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 (*ProviderEvent) GetUsername ¶
func (o *ProviderEvent) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*ProviderEvent) GetUsernameOk ¶
func (o *ProviderEvent) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderEvent) HasAction ¶
func (o *ProviderEvent) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*ProviderEvent) HasId ¶
func (o *ProviderEvent) HasId() bool
HasId returns a boolean if a field has been set.
func (*ProviderEvent) HasInstanceId ¶
func (o *ProviderEvent) HasInstanceId() bool
HasInstanceId returns a boolean if a field has been set.
func (*ProviderEvent) HasIp ¶
func (o *ProviderEvent) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*ProviderEvent) HasObjectName ¶
func (o *ProviderEvent) HasObjectName() bool
HasObjectName returns a boolean if a field has been set.
func (*ProviderEvent) HasObjectType ¶
func (o *ProviderEvent) HasObjectType() bool
HasObjectType returns a boolean if a field has been set.
func (*ProviderEvent) HasTimestamp ¶
func (o *ProviderEvent) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ProviderEvent) HasUsername ¶
func (o *ProviderEvent) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (ProviderEvent) MarshalJSON ¶
func (o ProviderEvent) MarshalJSON() ([]byte, error)
func (*ProviderEvent) SetAction ¶
func (o *ProviderEvent) SetAction(v ProviderEventAction)
SetAction gets a reference to the given ProviderEventAction and assigns it to the Action field.
func (*ProviderEvent) SetId ¶
func (o *ProviderEvent) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ProviderEvent) SetInstanceId ¶
func (o *ProviderEvent) SetInstanceId(v string)
SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.
func (*ProviderEvent) SetIp ¶
func (o *ProviderEvent) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*ProviderEvent) SetObjectName ¶
func (o *ProviderEvent) SetObjectName(v string)
SetObjectName gets a reference to the given string and assigns it to the ObjectName field.
func (*ProviderEvent) SetObjectType ¶
func (o *ProviderEvent) SetObjectType(v ProviderEventObjectType)
SetObjectType gets a reference to the given ProviderEventObjectType and assigns it to the ObjectType field.
func (*ProviderEvent) SetTimestamp ¶
func (o *ProviderEvent) SetTimestamp(v int64)
SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.
func (*ProviderEvent) SetUsername ¶
func (o *ProviderEvent) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type ProviderEventAction ¶
type ProviderEventAction string
ProviderEventAction the model 'ProviderEventAction'
const ( PROVIDEREVENTACTION_ADD ProviderEventAction = "add" PROVIDEREVENTACTION_UPDATE ProviderEventAction = "update" PROVIDEREVENTACTION_DELETE ProviderEventAction = "delete" )
List of ProviderEventAction
func NewProviderEventActionFromValue ¶
func NewProviderEventActionFromValue(v string) (*ProviderEventAction, error)
NewProviderEventActionFromValue returns a pointer to a valid ProviderEventAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ProviderEventAction) IsValid ¶
func (v ProviderEventAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ProviderEventAction) Ptr ¶
func (v ProviderEventAction) Ptr() *ProviderEventAction
Ptr returns reference to ProviderEventAction value
func (*ProviderEventAction) UnmarshalJSON ¶
func (v *ProviderEventAction) UnmarshalJSON(src []byte) error
type ProviderEventObjectType ¶
type ProviderEventObjectType string
ProviderEventObjectType the model 'ProviderEventObjectType'
const ( PROVIDEREVENTOBJECTTYPE_USER ProviderEventObjectType = "user" PROVIDEREVENTOBJECTTYPE_ADMIN ProviderEventObjectType = "admin" PROVIDEREVENTOBJECTTYPE_API_KEY ProviderEventObjectType = "api_key" PROVIDEREVENTOBJECTTYPE_SHARE ProviderEventObjectType = "share" )
List of ProviderEventObjectType
func NewProviderEventObjectTypeFromValue ¶
func NewProviderEventObjectTypeFromValue(v string) (*ProviderEventObjectType, error)
NewProviderEventObjectTypeFromValue returns a pointer to a valid ProviderEventObjectType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ProviderEventObjectType) IsValid ¶
func (v ProviderEventObjectType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ProviderEventObjectType) Ptr ¶
func (v ProviderEventObjectType) Ptr() *ProviderEventObjectType
Ptr returns reference to ProviderEventObjectType value
func (*ProviderEventObjectType) UnmarshalJSON ¶
func (v *ProviderEventObjectType) UnmarshalJSON(src []byte) error
type PublicSharesApiApiDownloadShareFileRequest ¶
type PublicSharesApiApiDownloadShareFileRequest struct { // contains filtered or unexported fields }
func (PublicSharesApiApiDownloadShareFileRequest) Inline ¶
func (r PublicSharesApiApiDownloadShareFileRequest) Inline(inline string) PublicSharesApiApiDownloadShareFileRequest
If set, the response will not have the Content-Disposition header set to `attachment`
func (PublicSharesApiApiDownloadShareFileRequest) Path ¶
func (r PublicSharesApiApiDownloadShareFileRequest) Path(path string) PublicSharesApiApiDownloadShareFileRequest
Path to the file to download. It must be URL encoded, for example the path \"my dir/àdir/file.txt\" must be sent as \"my%20dir%2F%C3%A0dir%2Ffile.txt\"
type PublicSharesApiApiGetShareDirContentsRequest ¶
type PublicSharesApiApiGetShareDirContentsRequest struct { // contains filtered or unexported fields }
func (PublicSharesApiApiGetShareDirContentsRequest) Execute ¶
func (r PublicSharesApiApiGetShareDirContentsRequest) Execute() ([]DirEntry, *http.Response, error)
func (PublicSharesApiApiGetShareDirContentsRequest) Path ¶
func (r PublicSharesApiApiGetShareDirContentsRequest) Path(path string) PublicSharesApiApiGetShareDirContentsRequest
Path to the folder to read. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\". If empty or missing the root folder is assumed
type PublicSharesApiApiGetShareRequest ¶
type PublicSharesApiApiGetShareRequest struct { // contains filtered or unexported fields }
func (PublicSharesApiApiGetShareRequest) Compress ¶
func (r PublicSharesApiApiGetShareRequest) Compress(compress bool) PublicSharesApiApiGetShareRequest
type PublicSharesApiApiUploadSingleToShareRequest ¶
type PublicSharesApiApiUploadSingleToShareRequest struct { // contains filtered or unexported fields }
func (PublicSharesApiApiUploadSingleToShareRequest) Body ¶
func (r PublicSharesApiApiUploadSingleToShareRequest) Body(body *os.File) PublicSharesApiApiUploadSingleToShareRequest
func (PublicSharesApiApiUploadSingleToShareRequest) Execute ¶
func (r PublicSharesApiApiUploadSingleToShareRequest) Execute() ([]ApiResponse, *http.Response, error)
func (PublicSharesApiApiUploadSingleToShareRequest) XSFTPGOMTIME ¶
func (r PublicSharesApiApiUploadSingleToShareRequest) XSFTPGOMTIME(xSFTPGOMTIME int32) PublicSharesApiApiUploadSingleToShareRequest
File modification time as unix timestamp in milliseconds
type PublicSharesApiApiUploadToShareRequest ¶
type PublicSharesApiApiUploadToShareRequest struct { // contains filtered or unexported fields }
func (PublicSharesApiApiUploadToShareRequest) Execute ¶
func (r PublicSharesApiApiUploadToShareRequest) Execute() ([]ApiResponse, *http.Response, error)
func (PublicSharesApiApiUploadToShareRequest) Filenames ¶
func (r PublicSharesApiApiUploadToShareRequest) Filenames(filenames []*os.File) PublicSharesApiApiUploadToShareRequest
type PublicSharesApiService ¶
type PublicSharesApiService service
PublicSharesApiService PublicSharesApi service
func (*PublicSharesApiService) DownloadShareFile ¶
func (a *PublicSharesApiService) DownloadShareFile(ctx context.Context, id string) PublicSharesApiApiDownloadShareFileRequest
DownloadShareFile Download a single file
Returns the file contents as response body. The share must have exactly one path defined and it must be a directory for this to work
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return PublicSharesApiApiDownloadShareFileRequest
func (*PublicSharesApiService) DownloadShareFileExecute ¶
func (a *PublicSharesApiService) DownloadShareFileExecute(r PublicSharesApiApiDownloadShareFileRequest) (**os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*PublicSharesApiService) GetShare ¶
func (a *PublicSharesApiService) GetShare(ctx context.Context, id string) PublicSharesApiApiGetShareRequest
GetShare Download shared files and folders as a single zip file
A zip file, containing the shared files and folders, will be generated on the fly and returned as response body. Only folders and regular files will be included in the zip. The share must be defined with the read scope and the associated user must have list and download permissions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return PublicSharesApiApiGetShareRequest
func (*PublicSharesApiService) GetShareDirContents ¶
func (a *PublicSharesApiService) GetShareDirContents(ctx context.Context, id string) PublicSharesApiApiGetShareDirContentsRequest
GetShareDirContents Read directory contents
Returns the contents of the specified directory for the specified share. The share must have exactly one path defined and it must be a directory for this to work
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return PublicSharesApiApiGetShareDirContentsRequest
func (*PublicSharesApiService) GetShareDirContentsExecute ¶
func (a *PublicSharesApiService) GetShareDirContentsExecute(r PublicSharesApiApiGetShareDirContentsRequest) ([]DirEntry, *http.Response, error)
Execute executes the request
@return []DirEntry
func (*PublicSharesApiService) GetShareExecute ¶
func (a *PublicSharesApiService) GetShareExecute(r PublicSharesApiApiGetShareRequest) (**os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*PublicSharesApiService) UploadSingleToShare ¶
func (a *PublicSharesApiService) UploadSingleToShare(ctx context.Context, id string, fileName string) PublicSharesApiApiUploadSingleToShareRequest
UploadSingleToShare Upload a single file to the shared path
The share must be defined with the write scope and the associated user must have the upload/overwrite permissions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @param fileName the name of the new file. It must be path encoded. Sub directories are not accepted @return PublicSharesApiApiUploadSingleToShareRequest
func (*PublicSharesApiService) UploadSingleToShareExecute ¶
func (a *PublicSharesApiService) UploadSingleToShareExecute(r PublicSharesApiApiUploadSingleToShareRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*PublicSharesApiService) UploadToShare ¶
func (a *PublicSharesApiService) UploadToShare(ctx context.Context, id string) PublicSharesApiApiUploadToShareRequest
UploadToShare Upload one or more files to the shared path
The share must be defined with the write scope and the associated user must have the upload permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return PublicSharesApiApiUploadToShareRequest
func (*PublicSharesApiService) UploadToShareExecute ¶
func (a *PublicSharesApiService) UploadToShareExecute(r PublicSharesApiApiUploadToShareRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
type PwdChange ¶
type PwdChange struct { CurrentPassword *string `json:"current_password,omitempty"` NewPassword *string `json:"new_password,omitempty"` }
PwdChange struct for PwdChange
func NewPwdChange ¶
func NewPwdChange() *PwdChange
NewPwdChange instantiates a new PwdChange 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 NewPwdChangeWithDefaults ¶
func NewPwdChangeWithDefaults() *PwdChange
NewPwdChangeWithDefaults instantiates a new PwdChange 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 (*PwdChange) GetCurrentPassword ¶
GetCurrentPassword returns the CurrentPassword field value if set, zero value otherwise.
func (*PwdChange) GetCurrentPasswordOk ¶
GetCurrentPasswordOk returns a tuple with the CurrentPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PwdChange) GetNewPassword ¶
GetNewPassword returns the NewPassword field value if set, zero value otherwise.
func (*PwdChange) GetNewPasswordOk ¶
GetNewPasswordOk returns a tuple with the NewPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PwdChange) HasCurrentPassword ¶
HasCurrentPassword returns a boolean if a field has been set.
func (*PwdChange) HasNewPassword ¶
HasNewPassword returns a boolean if a field has been set.
func (PwdChange) MarshalJSON ¶
func (*PwdChange) SetCurrentPassword ¶
SetCurrentPassword gets a reference to the given string and assigns it to the CurrentPassword field.
func (*PwdChange) SetNewPassword ¶
SetNewPassword gets a reference to the given string and assigns it to the NewPassword field.
type QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest ¶
type QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) BaseVirtualFolder ¶
func (r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) BaseVirtualFolder(baseVirtualFolder BaseVirtualFolder) QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
The only folder mandatory fields are mapped_path,used_quota_size and used_quota_files. Please note that if the used quota fields are missing they will default to 0, this means that if mode is \"add\" the current value will remain unchanged, if mode is \"reset\" the missing field is set to 0
func (QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) Execute ¶
func (r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
func (QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) Mode ¶
func (r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) Mode(mode string) QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
the update mode specifies if the given quota usage values should be added or replace the current ones
type QuotaApiApiFolderQuotaUpdateUsageRequest ¶
type QuotaApiApiFolderQuotaUpdateUsageRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiFolderQuotaUpdateUsageRequest) Execute ¶
func (r QuotaApiApiFolderQuotaUpdateUsageRequest) Execute() (*ApiResponse, *http.Response, error)
func (QuotaApiApiFolderQuotaUpdateUsageRequest) Mode ¶
func (r QuotaApiApiFolderQuotaUpdateUsageRequest) Mode(mode string) QuotaApiApiFolderQuotaUpdateUsageRequest
the update mode specifies if the given quota usage values should be added or replace the current ones
func (QuotaApiApiFolderQuotaUpdateUsageRequest) QuotaUsage ¶
func (r QuotaApiApiFolderQuotaUpdateUsageRequest) QuotaUsage(quotaUsage QuotaUsage) QuotaApiApiFolderQuotaUpdateUsageRequest
If used_quota_size and used_quota_files are missing they will default to 0, this means that if mode is \"add\" the current value, for the missing field, will remain unchanged, if mode is \"reset\" the missing field is set to 0
type QuotaApiApiGetFoldersQuotaScansDeprecatedRequest ¶
type QuotaApiApiGetFoldersQuotaScansDeprecatedRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiGetFoldersQuotaScansDeprecatedRequest) Execute ¶
func (r QuotaApiApiGetFoldersQuotaScansDeprecatedRequest) Execute() ([]FolderQuotaScan, *http.Response, error)
type QuotaApiApiGetFoldersQuotaScansRequest ¶
type QuotaApiApiGetFoldersQuotaScansRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiGetFoldersQuotaScansRequest) Execute ¶
func (r QuotaApiApiGetFoldersQuotaScansRequest) Execute() ([]FolderQuotaScan, *http.Response, error)
type QuotaApiApiGetUsersQuotaScansDeprecatedRequest ¶
type QuotaApiApiGetUsersQuotaScansDeprecatedRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
type QuotaApiApiGetUsersQuotaScansRequest ¶
type QuotaApiApiGetUsersQuotaScansRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
type QuotaApiApiStartFolderQuotaScanDeprecatedRequest ¶
type QuotaApiApiStartFolderQuotaScanDeprecatedRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiStartFolderQuotaScanDeprecatedRequest) BaseVirtualFolder ¶
func (r QuotaApiApiStartFolderQuotaScanDeprecatedRequest) BaseVirtualFolder(baseVirtualFolder BaseVirtualFolder) QuotaApiApiStartFolderQuotaScanDeprecatedRequest
func (QuotaApiApiStartFolderQuotaScanDeprecatedRequest) Execute ¶
func (r QuotaApiApiStartFolderQuotaScanDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
type QuotaApiApiStartFolderQuotaScanRequest ¶
type QuotaApiApiStartFolderQuotaScanRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiStartFolderQuotaScanRequest) Execute ¶
func (r QuotaApiApiStartFolderQuotaScanRequest) Execute() (*ApiResponse, *http.Response, error)
type QuotaApiApiStartUserQuotaScanDeprecatedRequest ¶
type QuotaApiApiStartUserQuotaScanDeprecatedRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiStartUserQuotaScanDeprecatedRequest) Execute ¶
func (r QuotaApiApiStartUserQuotaScanDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
type QuotaApiApiStartUserQuotaScanRequest ¶
type QuotaApiApiStartUserQuotaScanRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiStartUserQuotaScanRequest) Execute ¶
func (r QuotaApiApiStartUserQuotaScanRequest) Execute() (*ApiResponse, *http.Response, error)
type QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest ¶
type QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) Execute ¶
func (r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) Execute() (*ApiResponse, *http.Response, error)
func (QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) Mode ¶
func (r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) Mode(mode string) QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
the update mode specifies if the given quota usage values should be added or replace the current ones
func (QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) User ¶
func (r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) User(user User) QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
The only user mandatory fields are username, used_quota_size and used_quota_files. Please note that if the quota fields are missing they will default to 0, this means that if mode is \"add\" the current value will remain unchanged, if mode is \"reset\" the missing field is set to 0
type QuotaApiApiUserQuotaUpdateUsageRequest ¶
type QuotaApiApiUserQuotaUpdateUsageRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiUserQuotaUpdateUsageRequest) Execute ¶
func (r QuotaApiApiUserQuotaUpdateUsageRequest) Execute() (*ApiResponse, *http.Response, error)
func (QuotaApiApiUserQuotaUpdateUsageRequest) Mode ¶
func (r QuotaApiApiUserQuotaUpdateUsageRequest) Mode(mode string) QuotaApiApiUserQuotaUpdateUsageRequest
the update mode specifies if the given quota usage values should be added or replace the current ones
func (QuotaApiApiUserQuotaUpdateUsageRequest) QuotaUsage ¶
func (r QuotaApiApiUserQuotaUpdateUsageRequest) QuotaUsage(quotaUsage QuotaUsage) QuotaApiApiUserQuotaUpdateUsageRequest
If used_quota_size and used_quota_files are missing they will default to 0, this means that if mode is \"add\" the current value, for the missing field, will remain unchanged, if mode is \"reset\" the missing field is set to 0
type QuotaApiApiUserTransferQuotaUpdateUsageRequest ¶
type QuotaApiApiUserTransferQuotaUpdateUsageRequest struct { ApiService *QuotaApiService // contains filtered or unexported fields }
func (QuotaApiApiUserTransferQuotaUpdateUsageRequest) Execute ¶
func (r QuotaApiApiUserTransferQuotaUpdateUsageRequest) Execute() (*ApiResponse, *http.Response, error)
func (QuotaApiApiUserTransferQuotaUpdateUsageRequest) Mode ¶
func (r QuotaApiApiUserTransferQuotaUpdateUsageRequest) Mode(mode string) QuotaApiApiUserTransferQuotaUpdateUsageRequest
the update mode specifies if the given quota usage values should be added or replace the current ones
func (QuotaApiApiUserTransferQuotaUpdateUsageRequest) TransferQuotaUsage ¶
func (r QuotaApiApiUserTransferQuotaUpdateUsageRequest) TransferQuotaUsage(transferQuotaUsage TransferQuotaUsage) QuotaApiApiUserTransferQuotaUpdateUsageRequest
If used_upload_data_transfer and used_download_data_transfer are missing they will default to 0, this means that if mode is \"add\" the current value, for the missing field, will remain unchanged, if mode is \"reset\" the missing field is set to 0
type QuotaApiService ¶
type QuotaApiService service
QuotaApiService QuotaApi service
func (*QuotaApiService) FolderQuotaUpdateUsage ¶
func (a *QuotaApiService) FolderQuotaUpdateUsage(ctx context.Context, name string) QuotaApiApiFolderQuotaUpdateUsageRequest
FolderQuotaUpdateUsage Update folder quota usage limits
Sets the current used quota limits for the given folder
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name folder name @return QuotaApiApiFolderQuotaUpdateUsageRequest
func (*QuotaApiService) FolderQuotaUpdateUsageDeprecated ¶
func (a *QuotaApiService) FolderQuotaUpdateUsageDeprecated(ctx context.Context) QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
FolderQuotaUpdateUsageDeprecated Update folder quota limits
Deprecated, please use '/quotas/folders/{name}/usage' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest
Deprecated
func (*QuotaApiService) FolderQuotaUpdateUsageDeprecatedExecute ¶
func (a *QuotaApiService) FolderQuotaUpdateUsageDeprecatedExecute(r QuotaApiApiFolderQuotaUpdateUsageDeprecatedRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
func (*QuotaApiService) FolderQuotaUpdateUsageExecute ¶
func (a *QuotaApiService) FolderQuotaUpdateUsageExecute(r QuotaApiApiFolderQuotaUpdateUsageRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*QuotaApiService) GetFoldersQuotaScans ¶
func (a *QuotaApiService) GetFoldersQuotaScans(ctx context.Context) QuotaApiApiGetFoldersQuotaScansRequest
GetFoldersQuotaScans Get active folder quota scans
Returns the active folder quota scans
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiGetFoldersQuotaScansRequest
func (*QuotaApiService) GetFoldersQuotaScansDeprecated ¶
func (a *QuotaApiService) GetFoldersQuotaScansDeprecated(ctx context.Context) QuotaApiApiGetFoldersQuotaScansDeprecatedRequest
GetFoldersQuotaScansDeprecated Get folders quota scans
Deprecated, please use '/quotas/folders/scans' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiGetFoldersQuotaScansDeprecatedRequest
Deprecated
func (*QuotaApiService) GetFoldersQuotaScansDeprecatedExecute ¶
func (a *QuotaApiService) GetFoldersQuotaScansDeprecatedExecute(r QuotaApiApiGetFoldersQuotaScansDeprecatedRequest) ([]FolderQuotaScan, *http.Response, error)
Execute executes the request
@return []FolderQuotaScan
Deprecated
func (*QuotaApiService) GetFoldersQuotaScansExecute ¶
func (a *QuotaApiService) GetFoldersQuotaScansExecute(r QuotaApiApiGetFoldersQuotaScansRequest) ([]FolderQuotaScan, *http.Response, error)
Execute executes the request
@return []FolderQuotaScan
func (*QuotaApiService) GetUsersQuotaScans ¶
func (a *QuotaApiService) GetUsersQuotaScans(ctx context.Context) QuotaApiApiGetUsersQuotaScansRequest
GetUsersQuotaScans Get active user quota scans
Returns the active user quota scans
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiGetUsersQuotaScansRequest
func (*QuotaApiService) GetUsersQuotaScansDeprecated ¶
func (a *QuotaApiService) GetUsersQuotaScansDeprecated(ctx context.Context) QuotaApiApiGetUsersQuotaScansDeprecatedRequest
GetUsersQuotaScansDeprecated Get quota scans
Deprecated, please use '/quotas/users/scans' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiGetUsersQuotaScansDeprecatedRequest
Deprecated
func (*QuotaApiService) GetUsersQuotaScansDeprecatedExecute ¶
func (a *QuotaApiService) GetUsersQuotaScansDeprecatedExecute(r QuotaApiApiGetUsersQuotaScansDeprecatedRequest) ([]QuotaScan, *http.Response, error)
Execute executes the request
@return []QuotaScan
Deprecated
func (*QuotaApiService) GetUsersQuotaScansExecute ¶
func (a *QuotaApiService) GetUsersQuotaScansExecute(r QuotaApiApiGetUsersQuotaScansRequest) ([]QuotaScan, *http.Response, error)
Execute executes the request
@return []QuotaScan
func (*QuotaApiService) StartFolderQuotaScan ¶
func (a *QuotaApiService) StartFolderQuotaScan(ctx context.Context, name string) QuotaApiApiStartFolderQuotaScanRequest
StartFolderQuotaScan Start a folder quota scan
Starts a new quota scan for the given folder. A quota scan update the number of files and their total size for the specified folder
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name folder name @return QuotaApiApiStartFolderQuotaScanRequest
func (*QuotaApiService) StartFolderQuotaScanDeprecated ¶
func (a *QuotaApiService) StartFolderQuotaScanDeprecated(ctx context.Context) QuotaApiApiStartFolderQuotaScanDeprecatedRequest
StartFolderQuotaScanDeprecated Start a folder quota scan
Deprecated, please use '/quotas/folders/{name}/scan' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiStartFolderQuotaScanDeprecatedRequest
Deprecated
func (*QuotaApiService) StartFolderQuotaScanDeprecatedExecute ¶
func (a *QuotaApiService) StartFolderQuotaScanDeprecatedExecute(r QuotaApiApiStartFolderQuotaScanDeprecatedRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
func (*QuotaApiService) StartFolderQuotaScanExecute ¶
func (a *QuotaApiService) StartFolderQuotaScanExecute(r QuotaApiApiStartFolderQuotaScanRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*QuotaApiService) StartUserQuotaScan ¶
func (a *QuotaApiService) StartUserQuotaScan(ctx context.Context, username string) QuotaApiApiStartUserQuotaScanRequest
StartUserQuotaScan Start a user quota scan
Starts a new quota scan for the given user. A quota scan updates the number of files and their total size for the specified user and the virtual folders, if any, included in his quota
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return QuotaApiApiStartUserQuotaScanRequest
func (*QuotaApiService) StartUserQuotaScanDeprecated ¶
func (a *QuotaApiService) StartUserQuotaScanDeprecated(ctx context.Context) QuotaApiApiStartUserQuotaScanDeprecatedRequest
StartUserQuotaScanDeprecated Start user quota scan
Deprecated, please use '/quotas/users/{username}/scan' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiStartUserQuotaScanDeprecatedRequest
Deprecated
func (*QuotaApiService) StartUserQuotaScanDeprecatedExecute ¶
func (a *QuotaApiService) StartUserQuotaScanDeprecatedExecute(r QuotaApiApiStartUserQuotaScanDeprecatedRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
func (*QuotaApiService) StartUserQuotaScanExecute ¶
func (a *QuotaApiService) StartUserQuotaScanExecute(r QuotaApiApiStartUserQuotaScanRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*QuotaApiService) UserQuotaUpdateUsage ¶
func (a *QuotaApiService) UserQuotaUpdateUsage(ctx context.Context, username string) QuotaApiApiUserQuotaUpdateUsageRequest
UserQuotaUpdateUsage Update disk quota usage limits
Sets the current used quota limits for the given user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return QuotaApiApiUserQuotaUpdateUsageRequest
func (*QuotaApiService) UserQuotaUpdateUsageDeprecated ¶
func (a *QuotaApiService) UserQuotaUpdateUsageDeprecated(ctx context.Context) QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
UserQuotaUpdateUsageDeprecated Update quota usage limits
Deprecated, please use '/quotas/users/{username}/usage' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest
Deprecated
func (*QuotaApiService) UserQuotaUpdateUsageDeprecatedExecute ¶
func (a *QuotaApiService) UserQuotaUpdateUsageDeprecatedExecute(r QuotaApiApiUserQuotaUpdateUsageDeprecatedRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
func (*QuotaApiService) UserQuotaUpdateUsageExecute ¶
func (a *QuotaApiService) UserQuotaUpdateUsageExecute(r QuotaApiApiUserQuotaUpdateUsageRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*QuotaApiService) UserTransferQuotaUpdateUsage ¶
func (a *QuotaApiService) UserTransferQuotaUpdateUsage(ctx context.Context, username string) QuotaApiApiUserTransferQuotaUpdateUsageRequest
UserTransferQuotaUpdateUsage Update transfer quota usage limits
Sets the current used transfer quota limits for the given user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return QuotaApiApiUserTransferQuotaUpdateUsageRequest
func (*QuotaApiService) UserTransferQuotaUpdateUsageExecute ¶
func (a *QuotaApiService) UserTransferQuotaUpdateUsageExecute(r QuotaApiApiUserTransferQuotaUpdateUsageRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type QuotaScan ¶
type QuotaScan struct { // username to which the quota scan refers Username *string `json:"username,omitempty"` // scan start time as unix timestamp in milliseconds StartTime *int64 `json:"start_time,omitempty"` }
QuotaScan struct for QuotaScan
func NewQuotaScan ¶
func NewQuotaScan() *QuotaScan
NewQuotaScan instantiates a new QuotaScan 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 NewQuotaScanWithDefaults ¶
func NewQuotaScanWithDefaults() *QuotaScan
NewQuotaScanWithDefaults instantiates a new QuotaScan 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 (*QuotaScan) GetStartTime ¶
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*QuotaScan) GetStartTimeOk ¶
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 (*QuotaScan) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*QuotaScan) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuotaScan) HasStartTime ¶
HasStartTime returns a boolean if a field has been set.
func (*QuotaScan) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (QuotaScan) MarshalJSON ¶
func (*QuotaScan) SetStartTime ¶
SetStartTime gets a reference to the given int64 and assigns it to the StartTime field.
func (*QuotaScan) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
type QuotaUsage ¶
type QuotaUsage struct { UsedQuotaSize *int64 `json:"used_quota_size,omitempty"` UsedQuotaFiles *int32 `json:"used_quota_files,omitempty"` }
QuotaUsage struct for QuotaUsage
func NewQuotaUsage ¶
func NewQuotaUsage() *QuotaUsage
NewQuotaUsage instantiates a new QuotaUsage 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 NewQuotaUsageWithDefaults ¶
func NewQuotaUsageWithDefaults() *QuotaUsage
NewQuotaUsageWithDefaults instantiates a new QuotaUsage 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 (*QuotaUsage) GetUsedQuotaFiles ¶
func (o *QuotaUsage) GetUsedQuotaFiles() int32
GetUsedQuotaFiles returns the UsedQuotaFiles field value if set, zero value otherwise.
func (*QuotaUsage) GetUsedQuotaFilesOk ¶
func (o *QuotaUsage) GetUsedQuotaFilesOk() (*int32, bool)
GetUsedQuotaFilesOk returns a tuple with the UsedQuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuotaUsage) GetUsedQuotaSize ¶
func (o *QuotaUsage) GetUsedQuotaSize() int64
GetUsedQuotaSize returns the UsedQuotaSize field value if set, zero value otherwise.
func (*QuotaUsage) GetUsedQuotaSizeOk ¶
func (o *QuotaUsage) GetUsedQuotaSizeOk() (*int64, bool)
GetUsedQuotaSizeOk returns a tuple with the UsedQuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuotaUsage) HasUsedQuotaFiles ¶
func (o *QuotaUsage) HasUsedQuotaFiles() bool
HasUsedQuotaFiles returns a boolean if a field has been set.
func (*QuotaUsage) HasUsedQuotaSize ¶
func (o *QuotaUsage) HasUsedQuotaSize() bool
HasUsedQuotaSize returns a boolean if a field has been set.
func (QuotaUsage) MarshalJSON ¶
func (o QuotaUsage) MarshalJSON() ([]byte, error)
func (*QuotaUsage) SetUsedQuotaFiles ¶
func (o *QuotaUsage) SetUsedQuotaFiles(v int32)
SetUsedQuotaFiles gets a reference to the given int32 and assigns it to the UsedQuotaFiles field.
func (*QuotaUsage) SetUsedQuotaSize ¶
func (o *QuotaUsage) SetUsedQuotaSize(v int64)
SetUsedQuotaSize gets a reference to the given int64 and assigns it to the UsedQuotaSize field.
type RecoveryCode ¶
type RecoveryCode struct { Secret *Secret `json:"secret,omitempty"` Used *bool `json:"used,omitempty"` }
RecoveryCode Recovery codes to use if the user loses access to their second factor auth device. Each code can only be used once, you should use these codes to login and disable or reset 2FA for your account
func NewRecoveryCode ¶
func NewRecoveryCode() *RecoveryCode
NewRecoveryCode instantiates a new RecoveryCode 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 NewRecoveryCodeWithDefaults ¶
func NewRecoveryCodeWithDefaults() *RecoveryCode
NewRecoveryCodeWithDefaults instantiates a new RecoveryCode 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 (*RecoveryCode) GetSecret ¶
func (o *RecoveryCode) GetSecret() Secret
GetSecret returns the Secret field value if set, zero value otherwise.
func (*RecoveryCode) GetSecretOk ¶
func (o *RecoveryCode) GetSecretOk() (*Secret, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryCode) GetUsed ¶
func (o *RecoveryCode) GetUsed() bool
GetUsed returns the Used field value if set, zero value otherwise.
func (*RecoveryCode) GetUsedOk ¶
func (o *RecoveryCode) GetUsedOk() (*bool, bool)
GetUsedOk returns a tuple with the Used field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryCode) HasSecret ¶
func (o *RecoveryCode) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (*RecoveryCode) HasUsed ¶
func (o *RecoveryCode) HasUsed() bool
HasUsed returns a boolean if a field has been set.
func (RecoveryCode) MarshalJSON ¶
func (o RecoveryCode) MarshalJSON() ([]byte, error)
func (*RecoveryCode) SetSecret ¶
func (o *RecoveryCode) SetSecret(v Secret)
SetSecret gets a reference to the given Secret and assigns it to the Secret field.
func (*RecoveryCode) SetUsed ¶
func (o *RecoveryCode) SetUsed(v bool)
SetUsed gets a reference to the given bool and assigns it to the Used field.
type RetentionCheck ¶
type RetentionCheck struct { // username to which the retention check refers Username *string `json:"username,omitempty"` Folders []FolderRetention `json:"folders,omitempty"` // check start time as unix timestamp in milliseconds StartTime *int64 `json:"start_time,omitempty"` Notifications []RetentionCheckNotification `json:"notifications,omitempty"` // if the notification method is set to \"Email\", this is the e-mail address that receives the retention check report. This field is automatically set to the email address associated with the administrator starting the check Email *string `json:"email,omitempty"` }
RetentionCheck struct for RetentionCheck
func NewRetentionCheck ¶
func NewRetentionCheck() *RetentionCheck
NewRetentionCheck instantiates a new RetentionCheck 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 NewRetentionCheckWithDefaults ¶
func NewRetentionCheckWithDefaults() *RetentionCheck
NewRetentionCheckWithDefaults instantiates a new RetentionCheck 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 (*RetentionCheck) GetEmail ¶
func (o *RetentionCheck) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*RetentionCheck) GetEmailOk ¶
func (o *RetentionCheck) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetentionCheck) GetFolders ¶
func (o *RetentionCheck) GetFolders() []FolderRetention
GetFolders returns the Folders field value if set, zero value otherwise.
func (*RetentionCheck) GetFoldersOk ¶
func (o *RetentionCheck) GetFoldersOk() ([]FolderRetention, bool)
GetFoldersOk returns a tuple with the Folders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetentionCheck) GetNotifications ¶
func (o *RetentionCheck) GetNotifications() []RetentionCheckNotification
GetNotifications returns the Notifications field value if set, zero value otherwise.
func (*RetentionCheck) GetNotificationsOk ¶
func (o *RetentionCheck) GetNotificationsOk() ([]RetentionCheckNotification, bool)
GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetentionCheck) GetStartTime ¶
func (o *RetentionCheck) GetStartTime() int64
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*RetentionCheck) GetStartTimeOk ¶
func (o *RetentionCheck) GetStartTimeOk() (*int64, 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 (*RetentionCheck) GetUsername ¶
func (o *RetentionCheck) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*RetentionCheck) GetUsernameOk ¶
func (o *RetentionCheck) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetentionCheck) HasEmail ¶
func (o *RetentionCheck) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*RetentionCheck) HasFolders ¶
func (o *RetentionCheck) HasFolders() bool
HasFolders returns a boolean if a field has been set.
func (*RetentionCheck) HasNotifications ¶
func (o *RetentionCheck) HasNotifications() bool
HasNotifications returns a boolean if a field has been set.
func (*RetentionCheck) HasStartTime ¶
func (o *RetentionCheck) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (*RetentionCheck) HasUsername ¶
func (o *RetentionCheck) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (RetentionCheck) MarshalJSON ¶
func (o RetentionCheck) MarshalJSON() ([]byte, error)
func (*RetentionCheck) SetEmail ¶
func (o *RetentionCheck) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*RetentionCheck) SetFolders ¶
func (o *RetentionCheck) SetFolders(v []FolderRetention)
SetFolders gets a reference to the given []FolderRetention and assigns it to the Folders field.
func (*RetentionCheck) SetNotifications ¶
func (o *RetentionCheck) SetNotifications(v []RetentionCheckNotification)
SetNotifications gets a reference to the given []RetentionCheckNotification and assigns it to the Notifications field.
func (*RetentionCheck) SetStartTime ¶
func (o *RetentionCheck) SetStartTime(v int64)
SetStartTime gets a reference to the given int64 and assigns it to the StartTime field.
func (*RetentionCheck) SetUsername ¶
func (o *RetentionCheck) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type RetentionCheckNotification ¶
type RetentionCheckNotification string
RetentionCheckNotification Options: * `Hook` - notify result using the defined hook. A \"data_retention_hook\" must be defined in your configuration file for this to work * `Email` - notify results by email. The admin starting the retention check must have an associated email address and the SMTP server must be configured for this to work
const ( RETENTIONCHECKNOTIFICATION_HOOK RetentionCheckNotification = "Hook" RETENTIONCHECKNOTIFICATION_EMAIL RetentionCheckNotification = "Email" )
List of RetentionCheckNotification
func NewRetentionCheckNotificationFromValue ¶
func NewRetentionCheckNotificationFromValue(v string) (*RetentionCheckNotification, error)
NewRetentionCheckNotificationFromValue returns a pointer to a valid RetentionCheckNotification for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RetentionCheckNotification) IsValid ¶
func (v RetentionCheckNotification) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RetentionCheckNotification) Ptr ¶
func (v RetentionCheckNotification) Ptr() *RetentionCheckNotification
Ptr returns reference to RetentionCheckNotification value
func (*RetentionCheckNotification) UnmarshalJSON ¶
func (v *RetentionCheckNotification) UnmarshalJSON(src []byte) error
type S3Config ¶
type S3Config struct { Bucket *string `json:"bucket,omitempty"` Region *string `json:"region,omitempty"` AccessKey *string `json:"access_key,omitempty"` AccessSecret *Secret `json:"access_secret,omitempty"` // optional endpoint Endpoint *string `json:"endpoint,omitempty"` StorageClass *string `json:"storage_class,omitempty"` // The canned ACL to apply to uploaded objects. Leave empty to use the default ACL. For more information and available ACLs, see here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl Acl *string `json:"acl,omitempty"` // the buffer size (in MB) to use for multipart uploads. The minimum allowed part size is 5MB, and if this value is set to zero, the default value (5MB) for the AWS SDK will be used. The minimum allowed value is 5. UploadPartSize *int32 `json:"upload_part_size,omitempty"` // the number of parts to upload in parallel. If this value is set to zero, the default value (5) will be used UploadConcurrency *int32 `json:"upload_concurrency,omitempty"` // the maximum time allowed, in seconds, to upload a single chunk (the chunk size is defined via \"upload_part_size\"). 0 means no timeout UploadPartMaxTime *int32 `json:"upload_part_max_time,omitempty"` // the buffer size (in MB) to use for multipart downloads. The minimum allowed part size is 5MB, and if this value is set to zero, the default value (5MB) for the AWS SDK will be used. The minimum allowed value is 5. Ignored for partial downloads DownloadPartSize *int32 `json:"download_part_size,omitempty"` // the number of parts to download in parallel. If this value is set to zero, the default value (5) will be used. Ignored for partial downloads DownloadConcurrency *int32 `json:"download_concurrency,omitempty"` // the maximum time allowed, in seconds, to download a single chunk (the chunk size is defined via \"download_part_size\"). 0 means no timeout. Ignored for partial downloads. DownloadPartMaxTime *int32 `json:"download_part_max_time,omitempty"` // Set this to \"true\" to force the request to use path-style addressing, i.e., \"http://s3.amazonaws.com/BUCKET/KEY\". By default, the S3 client will use virtual hosted bucket addressing when possible (\"http://BUCKET.s3.amazonaws.com/KEY\") ForcePathStyle *bool `json:"force_path_style,omitempty"` // key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with \"/\" and must end with \"/\". If empty the whole bucket contents will be available KeyPrefix *string `json:"key_prefix,omitempty"` }
S3Config S3 Compatible Object Storage configuration details
func NewS3Config ¶
func NewS3Config() *S3Config
NewS3Config instantiates a new S3Config 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 NewS3ConfigWithDefaults ¶
func NewS3ConfigWithDefaults() *S3Config
NewS3ConfigWithDefaults instantiates a new S3Config 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 (*S3Config) GetAccessKey ¶
GetAccessKey returns the AccessKey field value if set, zero value otherwise.
func (*S3Config) GetAccessKeyOk ¶
GetAccessKeyOk returns a tuple with the AccessKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetAccessSecret ¶
GetAccessSecret returns the AccessSecret field value if set, zero value otherwise.
func (*S3Config) GetAccessSecretOk ¶
GetAccessSecretOk returns a tuple with the AccessSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetAclOk ¶
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetBucketOk ¶
GetBucketOk returns a tuple with the Bucket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetDownloadConcurrency ¶
GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise.
func (*S3Config) GetDownloadConcurrencyOk ¶
GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetDownloadPartMaxTime ¶
GetDownloadPartMaxTime returns the DownloadPartMaxTime field value if set, zero value otherwise.
func (*S3Config) GetDownloadPartMaxTimeOk ¶
GetDownloadPartMaxTimeOk returns a tuple with the DownloadPartMaxTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetDownloadPartSize ¶
GetDownloadPartSize returns the DownloadPartSize field value if set, zero value otherwise.
func (*S3Config) GetDownloadPartSizeOk ¶
GetDownloadPartSizeOk returns a tuple with the DownloadPartSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetEndpoint ¶
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*S3Config) GetEndpointOk ¶
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetForcePathStyle ¶
GetForcePathStyle returns the ForcePathStyle field value if set, zero value otherwise.
func (*S3Config) GetForcePathStyleOk ¶
GetForcePathStyleOk returns a tuple with the ForcePathStyle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetKeyPrefix ¶
GetKeyPrefix returns the KeyPrefix field value if set, zero value otherwise.
func (*S3Config) GetKeyPrefixOk ¶
GetKeyPrefixOk returns a tuple with the KeyPrefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetStorageClass ¶
GetStorageClass returns the StorageClass field value if set, zero value otherwise.
func (*S3Config) GetStorageClassOk ¶
GetStorageClassOk returns a tuple with the StorageClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetUploadConcurrency ¶
GetUploadConcurrency returns the UploadConcurrency field value if set, zero value otherwise.
func (*S3Config) GetUploadConcurrencyOk ¶
GetUploadConcurrencyOk returns a tuple with the UploadConcurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetUploadPartMaxTime ¶
GetUploadPartMaxTime returns the UploadPartMaxTime field value if set, zero value otherwise.
func (*S3Config) GetUploadPartMaxTimeOk ¶
GetUploadPartMaxTimeOk returns a tuple with the UploadPartMaxTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) GetUploadPartSize ¶
GetUploadPartSize returns the UploadPartSize field value if set, zero value otherwise.
func (*S3Config) GetUploadPartSizeOk ¶
GetUploadPartSizeOk returns a tuple with the UploadPartSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3Config) HasAccessKey ¶
HasAccessKey returns a boolean if a field has been set.
func (*S3Config) HasAccessSecret ¶
HasAccessSecret returns a boolean if a field has been set.
func (*S3Config) HasDownloadConcurrency ¶
HasDownloadConcurrency returns a boolean if a field has been set.
func (*S3Config) HasDownloadPartMaxTime ¶
HasDownloadPartMaxTime returns a boolean if a field has been set.
func (*S3Config) HasDownloadPartSize ¶
HasDownloadPartSize returns a boolean if a field has been set.
func (*S3Config) HasEndpoint ¶
HasEndpoint returns a boolean if a field has been set.
func (*S3Config) HasForcePathStyle ¶
HasForcePathStyle returns a boolean if a field has been set.
func (*S3Config) HasKeyPrefix ¶
HasKeyPrefix returns a boolean if a field has been set.
func (*S3Config) HasStorageClass ¶
HasStorageClass returns a boolean if a field has been set.
func (*S3Config) HasUploadConcurrency ¶
HasUploadConcurrency returns a boolean if a field has been set.
func (*S3Config) HasUploadPartMaxTime ¶
HasUploadPartMaxTime returns a boolean if a field has been set.
func (*S3Config) HasUploadPartSize ¶
HasUploadPartSize returns a boolean if a field has been set.
func (S3Config) MarshalJSON ¶
func (*S3Config) SetAccessKey ¶
SetAccessKey gets a reference to the given string and assigns it to the AccessKey field.
func (*S3Config) SetAccessSecret ¶
SetAccessSecret gets a reference to the given Secret and assigns it to the AccessSecret field.
func (*S3Config) SetAcl ¶
SetAcl gets a reference to the given string and assigns it to the Acl field.
func (*S3Config) SetBucket ¶
SetBucket gets a reference to the given string and assigns it to the Bucket field.
func (*S3Config) SetDownloadConcurrency ¶
SetDownloadConcurrency gets a reference to the given int32 and assigns it to the DownloadConcurrency field.
func (*S3Config) SetDownloadPartMaxTime ¶
SetDownloadPartMaxTime gets a reference to the given int32 and assigns it to the DownloadPartMaxTime field.
func (*S3Config) SetDownloadPartSize ¶
SetDownloadPartSize gets a reference to the given int32 and assigns it to the DownloadPartSize field.
func (*S3Config) SetEndpoint ¶
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*S3Config) SetForcePathStyle ¶
SetForcePathStyle gets a reference to the given bool and assigns it to the ForcePathStyle field.
func (*S3Config) SetKeyPrefix ¶
SetKeyPrefix gets a reference to the given string and assigns it to the KeyPrefix field.
func (*S3Config) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*S3Config) SetStorageClass ¶
SetStorageClass gets a reference to the given string and assigns it to the StorageClass field.
func (*S3Config) SetUploadConcurrency ¶
SetUploadConcurrency gets a reference to the given int32 and assigns it to the UploadConcurrency field.
func (*S3Config) SetUploadPartMaxTime ¶
SetUploadPartMaxTime gets a reference to the given int32 and assigns it to the UploadPartMaxTime field.
func (*S3Config) SetUploadPartSize ¶
SetUploadPartSize gets a reference to the given int32 and assigns it to the UploadPartSize field.
type SFTPFsConfig ¶
type SFTPFsConfig struct { // remote SFTP endpoint as host:port Endpoint *string `json:"endpoint,omitempty"` // you can specify a password or private key or both. In the latter case the private key will be tried first. Username *string `json:"username,omitempty"` Password *Secret `json:"password,omitempty"` PrivateKey *Secret `json:"private_key,omitempty"` // SHA256 fingerprints to use for host key verification. If you don't provide any fingerprint the remote host key will not be verified, this is a security risk Fingerprints []string `json:"fingerprints,omitempty"` // Specifying a prefix you can restrict all operations to a given path within the remote SFTP server. Prefix *string `json:"prefix,omitempty"` // Concurrent reads are safe to use and disabling them will degrade performance. Some servers automatically delete files once they are downloaded. Using concurrent reads is problematic with such servers. DisableConcurrentReads *bool `json:"disable_concurrent_reads,omitempty"` // The size of the buffer (in MB) to use for transfers. By enabling buffering, the reads and writes, from/to the remote SFTP server, are split in multiple concurrent requests and this allows data to be transferred at a faster rate, over high latency networks, by overlapping round-trip times. With buffering enabled, resuming uploads is not supported and a file cannot be opened for both reading and writing at the same time. 0 means disabled. BufferSize *int32 `json:"buffer_size,omitempty"` }
SFTPFsConfig struct for SFTPFsConfig
func NewSFTPFsConfig ¶
func NewSFTPFsConfig() *SFTPFsConfig
NewSFTPFsConfig instantiates a new SFTPFsConfig 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 NewSFTPFsConfigWithDefaults ¶
func NewSFTPFsConfigWithDefaults() *SFTPFsConfig
NewSFTPFsConfigWithDefaults instantiates a new SFTPFsConfig 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 (*SFTPFsConfig) GetBufferSize ¶
func (o *SFTPFsConfig) GetBufferSize() int32
GetBufferSize returns the BufferSize field value if set, zero value otherwise.
func (*SFTPFsConfig) GetBufferSizeOk ¶
func (o *SFTPFsConfig) GetBufferSizeOk() (*int32, bool)
GetBufferSizeOk returns a tuple with the BufferSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) GetDisableConcurrentReads ¶
func (o *SFTPFsConfig) GetDisableConcurrentReads() bool
GetDisableConcurrentReads returns the DisableConcurrentReads field value if set, zero value otherwise.
func (*SFTPFsConfig) GetDisableConcurrentReadsOk ¶
func (o *SFTPFsConfig) GetDisableConcurrentReadsOk() (*bool, bool)
GetDisableConcurrentReadsOk returns a tuple with the DisableConcurrentReads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) GetEndpoint ¶
func (o *SFTPFsConfig) GetEndpoint() string
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*SFTPFsConfig) GetEndpointOk ¶
func (o *SFTPFsConfig) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) GetFingerprints ¶
func (o *SFTPFsConfig) GetFingerprints() []string
GetFingerprints returns the Fingerprints field value if set, zero value otherwise.
func (*SFTPFsConfig) GetFingerprintsOk ¶
func (o *SFTPFsConfig) GetFingerprintsOk() ([]string, bool)
GetFingerprintsOk returns a tuple with the Fingerprints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) GetPassword ¶
func (o *SFTPFsConfig) GetPassword() Secret
GetPassword returns the Password field value if set, zero value otherwise.
func (*SFTPFsConfig) GetPasswordOk ¶
func (o *SFTPFsConfig) GetPasswordOk() (*Secret, 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 (*SFTPFsConfig) GetPrefix ¶
func (o *SFTPFsConfig) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*SFTPFsConfig) GetPrefixOk ¶
func (o *SFTPFsConfig) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) GetPrivateKey ¶
func (o *SFTPFsConfig) GetPrivateKey() Secret
GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.
func (*SFTPFsConfig) GetPrivateKeyOk ¶
func (o *SFTPFsConfig) GetPrivateKeyOk() (*Secret, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) GetUsername ¶
func (o *SFTPFsConfig) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*SFTPFsConfig) GetUsernameOk ¶
func (o *SFTPFsConfig) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SFTPFsConfig) HasBufferSize ¶
func (o *SFTPFsConfig) HasBufferSize() bool
HasBufferSize returns a boolean if a field has been set.
func (*SFTPFsConfig) HasDisableConcurrentReads ¶
func (o *SFTPFsConfig) HasDisableConcurrentReads() bool
HasDisableConcurrentReads returns a boolean if a field has been set.
func (*SFTPFsConfig) HasEndpoint ¶
func (o *SFTPFsConfig) HasEndpoint() bool
HasEndpoint returns a boolean if a field has been set.
func (*SFTPFsConfig) HasFingerprints ¶
func (o *SFTPFsConfig) HasFingerprints() bool
HasFingerprints returns a boolean if a field has been set.
func (*SFTPFsConfig) HasPassword ¶
func (o *SFTPFsConfig) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*SFTPFsConfig) HasPrefix ¶
func (o *SFTPFsConfig) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*SFTPFsConfig) HasPrivateKey ¶
func (o *SFTPFsConfig) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (*SFTPFsConfig) HasUsername ¶
func (o *SFTPFsConfig) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (SFTPFsConfig) MarshalJSON ¶
func (o SFTPFsConfig) MarshalJSON() ([]byte, error)
func (*SFTPFsConfig) SetBufferSize ¶
func (o *SFTPFsConfig) SetBufferSize(v int32)
SetBufferSize gets a reference to the given int32 and assigns it to the BufferSize field.
func (*SFTPFsConfig) SetDisableConcurrentReads ¶
func (o *SFTPFsConfig) SetDisableConcurrentReads(v bool)
SetDisableConcurrentReads gets a reference to the given bool and assigns it to the DisableConcurrentReads field.
func (*SFTPFsConfig) SetEndpoint ¶
func (o *SFTPFsConfig) SetEndpoint(v string)
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*SFTPFsConfig) SetFingerprints ¶
func (o *SFTPFsConfig) SetFingerprints(v []string)
SetFingerprints gets a reference to the given []string and assigns it to the Fingerprints field.
func (*SFTPFsConfig) SetPassword ¶
func (o *SFTPFsConfig) SetPassword(v Secret)
SetPassword gets a reference to the given Secret and assigns it to the Password field.
func (*SFTPFsConfig) SetPrefix ¶
func (o *SFTPFsConfig) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*SFTPFsConfig) SetPrivateKey ¶
func (o *SFTPFsConfig) SetPrivateKey(v Secret)
SetPrivateKey gets a reference to the given Secret and assigns it to the PrivateKey field.
func (*SFTPFsConfig) SetUsername ¶
func (o *SFTPFsConfig) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type SSHBinding ¶
type SSHBinding struct { // TCP address the server listen on Address *string `json:"address,omitempty"` // the port used for serving requests Port *int32 `json:"port,omitempty"` // apply the proxy configuration, if any ApplyProxyConfig *bool `json:"apply_proxy_config,omitempty"` }
SSHBinding struct for SSHBinding
func NewSSHBinding ¶
func NewSSHBinding() *SSHBinding
NewSSHBinding instantiates a new SSHBinding 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 NewSSHBindingWithDefaults ¶
func NewSSHBindingWithDefaults() *SSHBinding
NewSSHBindingWithDefaults instantiates a new SSHBinding 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 (*SSHBinding) GetAddress ¶
func (o *SSHBinding) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*SSHBinding) GetAddressOk ¶
func (o *SSHBinding) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHBinding) GetApplyProxyConfig ¶
func (o *SSHBinding) GetApplyProxyConfig() bool
GetApplyProxyConfig returns the ApplyProxyConfig field value if set, zero value otherwise.
func (*SSHBinding) GetApplyProxyConfigOk ¶
func (o *SSHBinding) GetApplyProxyConfigOk() (*bool, bool)
GetApplyProxyConfigOk returns a tuple with the ApplyProxyConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHBinding) GetPort ¶
func (o *SSHBinding) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*SSHBinding) GetPortOk ¶
func (o *SSHBinding) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHBinding) HasAddress ¶
func (o *SSHBinding) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*SSHBinding) HasApplyProxyConfig ¶
func (o *SSHBinding) HasApplyProxyConfig() bool
HasApplyProxyConfig returns a boolean if a field has been set.
func (*SSHBinding) HasPort ¶
func (o *SSHBinding) HasPort() bool
HasPort returns a boolean if a field has been set.
func (SSHBinding) MarshalJSON ¶
func (o SSHBinding) MarshalJSON() ([]byte, error)
func (*SSHBinding) SetAddress ¶
func (o *SSHBinding) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*SSHBinding) SetApplyProxyConfig ¶
func (o *SSHBinding) SetApplyProxyConfig(v bool)
SetApplyProxyConfig gets a reference to the given bool and assigns it to the ApplyProxyConfig field.
func (*SSHBinding) SetPort ¶
func (o *SSHBinding) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
type SSHHostKey ¶
type SSHHostKey struct { Path *string `json:"path,omitempty"` Fingerprint *string `json:"fingerprint,omitempty"` }
SSHHostKey struct for SSHHostKey
func NewSSHHostKey ¶
func NewSSHHostKey() *SSHHostKey
NewSSHHostKey instantiates a new SSHHostKey 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 NewSSHHostKeyWithDefaults ¶
func NewSSHHostKeyWithDefaults() *SSHHostKey
NewSSHHostKeyWithDefaults instantiates a new SSHHostKey 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 (*SSHHostKey) GetFingerprint ¶
func (o *SSHHostKey) GetFingerprint() string
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*SSHHostKey) GetFingerprintOk ¶
func (o *SSHHostKey) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHHostKey) GetPath ¶
func (o *SSHHostKey) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*SSHHostKey) GetPathOk ¶
func (o *SSHHostKey) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHHostKey) HasFingerprint ¶
func (o *SSHHostKey) HasFingerprint() bool
HasFingerprint returns a boolean if a field has been set.
func (*SSHHostKey) HasPath ¶
func (o *SSHHostKey) HasPath() bool
HasPath returns a boolean if a field has been set.
func (SSHHostKey) MarshalJSON ¶
func (o SSHHostKey) MarshalJSON() ([]byte, error)
func (*SSHHostKey) SetFingerprint ¶
func (o *SSHHostKey) SetFingerprint(v string)
SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.
func (*SSHHostKey) SetPath ¶
func (o *SSHHostKey) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
type SSHServiceStatus ¶
type SSHServiceStatus struct { IsActive *bool `json:"is_active,omitempty"` Bindings []SSHBinding `json:"bindings,omitempty"` HostKeys []SSHHostKey `json:"host_keys,omitempty"` SshCommands []string `json:"ssh_commands,omitempty"` }
SSHServiceStatus struct for SSHServiceStatus
func NewSSHServiceStatus ¶
func NewSSHServiceStatus() *SSHServiceStatus
NewSSHServiceStatus instantiates a new SSHServiceStatus 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 NewSSHServiceStatusWithDefaults ¶
func NewSSHServiceStatusWithDefaults() *SSHServiceStatus
NewSSHServiceStatusWithDefaults instantiates a new SSHServiceStatus 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 (*SSHServiceStatus) GetBindings ¶
func (o *SSHServiceStatus) GetBindings() []SSHBinding
GetBindings returns the Bindings field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SSHServiceStatus) GetBindingsOk ¶
func (o *SSHServiceStatus) GetBindingsOk() ([]SSHBinding, bool)
GetBindingsOk returns a tuple with the Bindings field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SSHServiceStatus) GetHostKeys ¶
func (o *SSHServiceStatus) GetHostKeys() []SSHHostKey
GetHostKeys returns the HostKeys field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SSHServiceStatus) GetHostKeysOk ¶
func (o *SSHServiceStatus) GetHostKeysOk() ([]SSHHostKey, bool)
GetHostKeysOk returns a tuple with the HostKeys field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SSHServiceStatus) GetIsActive ¶
func (o *SSHServiceStatus) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*SSHServiceStatus) GetIsActiveOk ¶
func (o *SSHServiceStatus) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHServiceStatus) GetSshCommands ¶
func (o *SSHServiceStatus) GetSshCommands() []string
GetSshCommands returns the SshCommands field value if set, zero value otherwise.
func (*SSHServiceStatus) GetSshCommandsOk ¶
func (o *SSHServiceStatus) GetSshCommandsOk() ([]string, bool)
GetSshCommandsOk returns a tuple with the SshCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHServiceStatus) HasBindings ¶
func (o *SSHServiceStatus) HasBindings() bool
HasBindings returns a boolean if a field has been set.
func (*SSHServiceStatus) HasHostKeys ¶
func (o *SSHServiceStatus) HasHostKeys() bool
HasHostKeys returns a boolean if a field has been set.
func (*SSHServiceStatus) HasIsActive ¶
func (o *SSHServiceStatus) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (*SSHServiceStatus) HasSshCommands ¶
func (o *SSHServiceStatus) HasSshCommands() bool
HasSshCommands returns a boolean if a field has been set.
func (SSHServiceStatus) MarshalJSON ¶
func (o SSHServiceStatus) MarshalJSON() ([]byte, error)
func (*SSHServiceStatus) SetBindings ¶
func (o *SSHServiceStatus) SetBindings(v []SSHBinding)
SetBindings gets a reference to the given []SSHBinding and assigns it to the Bindings field.
func (*SSHServiceStatus) SetHostKeys ¶
func (o *SSHServiceStatus) SetHostKeys(v []SSHHostKey)
SetHostKeys gets a reference to the given []SSHHostKey and assigns it to the HostKeys field.
func (*SSHServiceStatus) SetIsActive ¶
func (o *SSHServiceStatus) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
func (*SSHServiceStatus) SetSshCommands ¶
func (o *SSHServiceStatus) SetSshCommands(v []string)
SetSshCommands gets a reference to the given []string and assigns it to the SshCommands field.
type ScoreStatus ¶
type ScoreStatus struct { // if 0 the host is not listed Score *int32 `json:"score,omitempty"` }
ScoreStatus struct for ScoreStatus
func NewScoreStatus ¶
func NewScoreStatus() *ScoreStatus
NewScoreStatus instantiates a new ScoreStatus 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 NewScoreStatusWithDefaults ¶
func NewScoreStatusWithDefaults() *ScoreStatus
NewScoreStatusWithDefaults instantiates a new ScoreStatus 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 (*ScoreStatus) GetScore ¶
func (o *ScoreStatus) GetScore() int32
GetScore returns the Score field value if set, zero value otherwise.
func (*ScoreStatus) GetScoreOk ¶
func (o *ScoreStatus) GetScoreOk() (*int32, bool)
GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScoreStatus) HasScore ¶
func (o *ScoreStatus) HasScore() bool
HasScore returns a boolean if a field has been set.
func (ScoreStatus) MarshalJSON ¶
func (o ScoreStatus) MarshalJSON() ([]byte, error)
func (*ScoreStatus) SetScore ¶
func (o *ScoreStatus) SetScore(v int32)
SetScore gets a reference to the given int32 and assigns it to the Score field.
type Secret ¶
type Secret struct { // Set to \"Plain\" to add or update an existing secret, set to \"Redacted\" to preserve the existing value Status *string `json:"status,omitempty"` Payload *string `json:"payload,omitempty"` Key *string `json:"key,omitempty"` AdditionalData *string `json:"additional_data,omitempty"` // 1 means encrypted using a master key Mode *int32 `json:"mode,omitempty"` }
Secret The secret is encrypted before saving, so to set a new secret you must provide a payload and set the status to \"Plain\". The encryption key and additional data will be generated automatically. If you set the status to \"Redacted\" the existig secret will be preserved
func NewSecret ¶
func NewSecret() *Secret
NewSecret instantiates a new Secret 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 NewSecretWithDefaults ¶
func NewSecretWithDefaults() *Secret
NewSecretWithDefaults instantiates a new Secret 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 (*Secret) GetAdditionalData ¶
GetAdditionalData returns the AdditionalData field value if set, zero value otherwise.
func (*Secret) GetAdditionalDataOk ¶
GetAdditionalDataOk returns a tuple with the AdditionalData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Secret) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Secret) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Secret) GetPayload ¶
GetPayload returns the Payload field value if set, zero value otherwise.
func (*Secret) GetPayloadOk ¶
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Secret) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Secret) HasAdditionalData ¶
HasAdditionalData returns a boolean if a field has been set.
func (*Secret) HasPayload ¶
HasPayload returns a boolean if a field has been set.
func (Secret) MarshalJSON ¶
func (*Secret) SetAdditionalData ¶
SetAdditionalData gets a reference to the given string and assigns it to the AdditionalData field.
func (*Secret) SetKey ¶
SetKey gets a reference to the given string and assigns it to the Key field.
func (*Secret) SetMode ¶
SetMode gets a reference to the given int32 and assigns it to the Mode field.
func (*Secret) SetPayload ¶
SetPayload gets a reference to the given string and assigns it to the Payload field.
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
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServicesStatus ¶
type ServicesStatus struct { Ssh *SSHServiceStatus `json:"ssh,omitempty"` Ftp *FTPServiceStatus `json:"ftp,omitempty"` Webdav *WebDAVServiceStatus `json:"webdav,omitempty"` DataProvider *DataProviderStatus `json:"data_provider,omitempty"` Defender *ServicesStatusDefender `json:"defender,omitempty"` Mfa *MFAStatus `json:"mfa,omitempty"` }
ServicesStatus struct for ServicesStatus
func NewServicesStatus ¶
func NewServicesStatus() *ServicesStatus
NewServicesStatus instantiates a new ServicesStatus 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 NewServicesStatusWithDefaults ¶
func NewServicesStatusWithDefaults() *ServicesStatus
NewServicesStatusWithDefaults instantiates a new ServicesStatus 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 (*ServicesStatus) GetDataProvider ¶
func (o *ServicesStatus) GetDataProvider() DataProviderStatus
GetDataProvider returns the DataProvider field value if set, zero value otherwise.
func (*ServicesStatus) GetDataProviderOk ¶
func (o *ServicesStatus) GetDataProviderOk() (*DataProviderStatus, bool)
GetDataProviderOk returns a tuple with the DataProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatus) GetDefender ¶
func (o *ServicesStatus) GetDefender() ServicesStatusDefender
GetDefender returns the Defender field value if set, zero value otherwise.
func (*ServicesStatus) GetDefenderOk ¶
func (o *ServicesStatus) GetDefenderOk() (*ServicesStatusDefender, bool)
GetDefenderOk returns a tuple with the Defender field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatus) GetFtp ¶
func (o *ServicesStatus) GetFtp() FTPServiceStatus
GetFtp returns the Ftp field value if set, zero value otherwise.
func (*ServicesStatus) GetFtpOk ¶
func (o *ServicesStatus) GetFtpOk() (*FTPServiceStatus, bool)
GetFtpOk returns a tuple with the Ftp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatus) GetMfa ¶
func (o *ServicesStatus) GetMfa() MFAStatus
GetMfa returns the Mfa field value if set, zero value otherwise.
func (*ServicesStatus) GetMfaOk ¶
func (o *ServicesStatus) GetMfaOk() (*MFAStatus, bool)
GetMfaOk returns a tuple with the Mfa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatus) GetSsh ¶
func (o *ServicesStatus) GetSsh() SSHServiceStatus
GetSsh returns the Ssh field value if set, zero value otherwise.
func (*ServicesStatus) GetSshOk ¶
func (o *ServicesStatus) GetSshOk() (*SSHServiceStatus, bool)
GetSshOk returns a tuple with the Ssh field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatus) GetWebdav ¶
func (o *ServicesStatus) GetWebdav() WebDAVServiceStatus
GetWebdav returns the Webdav field value if set, zero value otherwise.
func (*ServicesStatus) GetWebdavOk ¶
func (o *ServicesStatus) GetWebdavOk() (*WebDAVServiceStatus, bool)
GetWebdavOk returns a tuple with the Webdav field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatus) HasDataProvider ¶
func (o *ServicesStatus) HasDataProvider() bool
HasDataProvider returns a boolean if a field has been set.
func (*ServicesStatus) HasDefender ¶
func (o *ServicesStatus) HasDefender() bool
HasDefender returns a boolean if a field has been set.
func (*ServicesStatus) HasFtp ¶
func (o *ServicesStatus) HasFtp() bool
HasFtp returns a boolean if a field has been set.
func (*ServicesStatus) HasMfa ¶
func (o *ServicesStatus) HasMfa() bool
HasMfa returns a boolean if a field has been set.
func (*ServicesStatus) HasSsh ¶
func (o *ServicesStatus) HasSsh() bool
HasSsh returns a boolean if a field has been set.
func (*ServicesStatus) HasWebdav ¶
func (o *ServicesStatus) HasWebdav() bool
HasWebdav returns a boolean if a field has been set.
func (ServicesStatus) MarshalJSON ¶
func (o ServicesStatus) MarshalJSON() ([]byte, error)
func (*ServicesStatus) SetDataProvider ¶
func (o *ServicesStatus) SetDataProvider(v DataProviderStatus)
SetDataProvider gets a reference to the given DataProviderStatus and assigns it to the DataProvider field.
func (*ServicesStatus) SetDefender ¶
func (o *ServicesStatus) SetDefender(v ServicesStatusDefender)
SetDefender gets a reference to the given ServicesStatusDefender and assigns it to the Defender field.
func (*ServicesStatus) SetFtp ¶
func (o *ServicesStatus) SetFtp(v FTPServiceStatus)
SetFtp gets a reference to the given FTPServiceStatus and assigns it to the Ftp field.
func (*ServicesStatus) SetMfa ¶
func (o *ServicesStatus) SetMfa(v MFAStatus)
SetMfa gets a reference to the given MFAStatus and assigns it to the Mfa field.
func (*ServicesStatus) SetSsh ¶
func (o *ServicesStatus) SetSsh(v SSHServiceStatus)
SetSsh gets a reference to the given SSHServiceStatus and assigns it to the Ssh field.
func (*ServicesStatus) SetWebdav ¶
func (o *ServicesStatus) SetWebdav(v WebDAVServiceStatus)
SetWebdav gets a reference to the given WebDAVServiceStatus and assigns it to the Webdav field.
type ServicesStatusDefender ¶
type ServicesStatusDefender struct {
IsActive *bool `json:"is_active,omitempty"`
}
ServicesStatusDefender struct for ServicesStatusDefender
func NewServicesStatusDefender ¶
func NewServicesStatusDefender() *ServicesStatusDefender
NewServicesStatusDefender instantiates a new ServicesStatusDefender 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 NewServicesStatusDefenderWithDefaults ¶
func NewServicesStatusDefenderWithDefaults() *ServicesStatusDefender
NewServicesStatusDefenderWithDefaults instantiates a new ServicesStatusDefender 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 (*ServicesStatusDefender) GetIsActive ¶
func (o *ServicesStatusDefender) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*ServicesStatusDefender) GetIsActiveOk ¶
func (o *ServicesStatusDefender) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServicesStatusDefender) HasIsActive ¶
func (o *ServicesStatusDefender) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (ServicesStatusDefender) MarshalJSON ¶
func (o ServicesStatusDefender) MarshalJSON() ([]byte, error)
func (*ServicesStatusDefender) SetIsActive ¶
func (o *ServicesStatusDefender) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
type Share ¶
type Share struct { // auto-generated unique share identifier // optional description // paths to files or directories, for share scope write this array must contain exactly one directory. Paths will not be validated on save so you can also create them after creating the share CreatedAt *int64 `json:"created_at,omitempty"` UpdatedAt *int64 `json:"updated_at,omitempty"` LastUseAt *int64 `json:"last_use_at,omitempty"` ExpiresAt *int64 `json:"expires_at,omitempty"` Password *string `json:"password,omitempty"` // maximum allowed access tokens. 0 means no limit AllowFrom []string `json:"allow_from,omitempty"` }
Share struct for Share
func NewShare ¶
func NewShare() *Share
NewShare instantiates a new Share 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 NewShareWithDefaults ¶
func NewShareWithDefaults() *Share
NewShareWithDefaults instantiates a new Share 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 (*Share) GetAllowFrom ¶
GetAllowFrom returns the AllowFrom field value if set, zero value otherwise.
func (*Share) GetAllowFromOk ¶
GetAllowFromOk returns a tuple with the AllowFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Share) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Share) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*Share) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetIdOk ¶
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 (*Share) GetLastUseAt ¶
GetLastUseAt returns the LastUseAt field value if set, zero value otherwise.
func (*Share) GetLastUseAtOk ¶
GetLastUseAtOk returns a tuple with the LastUseAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetMaxTokens ¶
GetMaxTokens returns the MaxTokens field value if set, zero value otherwise.
func (*Share) GetMaxTokensOk ¶
GetMaxTokensOk returns a tuple with the MaxTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetNameOk ¶
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 (*Share) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*Share) GetPasswordOk ¶
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 (*Share) GetPathsOk ¶
GetPathsOk returns a tuple with the Paths field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetScope ¶
func (o *Share) GetScope() ShareScope
GetScope returns the Scope field value if set, zero value otherwise.
func (*Share) GetScopeOk ¶
func (o *Share) GetScopeOk() (*ShareScope, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Share) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetUsedTokens ¶
GetUsedTokens returns the UsedTokens field value if set, zero value otherwise.
func (*Share) GetUsedTokensOk ¶
GetUsedTokensOk returns a tuple with the UsedTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*Share) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) HasAllowFrom ¶
HasAllowFrom returns a boolean if a field has been set.
func (*Share) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Share) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Share) HasExpiresAt ¶
HasExpiresAt returns a boolean if a field has been set.
func (*Share) HasLastUseAt ¶
HasLastUseAt returns a boolean if a field has been set.
func (*Share) HasMaxTokens ¶
HasMaxTokens returns a boolean if a field has been set.
func (*Share) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*Share) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Share) HasUsedTokens ¶
HasUsedTokens returns a boolean if a field has been set.
func (*Share) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (Share) MarshalJSON ¶
func (*Share) SetAllowFrom ¶
SetAllowFrom gets a reference to the given []string and assigns it to the AllowFrom field.
func (*Share) SetCreatedAt ¶
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*Share) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Share) SetExpiresAt ¶
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*Share) SetLastUseAt ¶
SetLastUseAt gets a reference to the given int64 and assigns it to the LastUseAt field.
func (*Share) SetMaxTokens ¶
SetMaxTokens gets a reference to the given int32 and assigns it to the MaxTokens field.
func (*Share) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Share) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*Share) SetPaths ¶
SetPaths gets a reference to the given []string and assigns it to the Paths field.
func (*Share) SetScope ¶
func (o *Share) SetScope(v ShareScope)
SetScope gets a reference to the given ShareScope and assigns it to the Scope field.
func (*Share) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (*Share) SetUsedTokens ¶
SetUsedTokens gets a reference to the given int32 and assigns it to the UsedTokens field.
func (*Share) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
type ShareScope ¶
type ShareScope int32
ShareScope Options: * `1` - read scope * `2` - write scope
const ( SHARESCOPE__1 ShareScope = 1 SHARESCOPE__2 ShareScope = 2 )
List of ShareScope
func NewShareScopeFromValue ¶
func NewShareScopeFromValue(v int32) (*ShareScope, error)
NewShareScopeFromValue returns a pointer to a valid ShareScope for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShareScope) IsValid ¶
func (v ShareScope) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShareScope) Ptr ¶
func (v ShareScope) Ptr() *ShareScope
Ptr returns reference to ShareScope value
func (*ShareScope) UnmarshalJSON ¶
func (v *ShareScope) UnmarshalJSON(src []byte) error
type SupportedProtocols ¶
type SupportedProtocols string
SupportedProtocols Protocols: * `SSH` - includes both SFTP and SSH commands * `FTP` - plain FTP and FTPES/FTPS * `DAV` - WebDAV over HTTP/HTTPS * `HTTP` - WebClient/REST API
const ( SUPPORTEDPROTOCOLS_SSH SupportedProtocols = "SSH" SUPPORTEDPROTOCOLS_FTP SupportedProtocols = "FTP" SUPPORTEDPROTOCOLS_DAV SupportedProtocols = "DAV" SUPPORTEDPROTOCOLS_HTTP SupportedProtocols = "HTTP" )
List of SupportedProtocols
func NewSupportedProtocolsFromValue ¶
func NewSupportedProtocolsFromValue(v string) (*SupportedProtocols, error)
NewSupportedProtocolsFromValue returns a pointer to a valid SupportedProtocols for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SupportedProtocols) IsValid ¶
func (v SupportedProtocols) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SupportedProtocols) Ptr ¶
func (v SupportedProtocols) Ptr() *SupportedProtocols
Ptr returns reference to SupportedProtocols value
func (*SupportedProtocols) UnmarshalJSON ¶
func (v *SupportedProtocols) UnmarshalJSON(src []byte) error
type TOTPConfig ¶
type TOTPConfig struct { Name *string `json:"name,omitempty"` Issuer *string `json:"issuer,omitempty"` Algo *TOTPHMacAlgo `json:"algo,omitempty"` }
TOTPConfig struct for TOTPConfig
func NewTOTPConfig ¶
func NewTOTPConfig() *TOTPConfig
NewTOTPConfig instantiates a new TOTPConfig 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 NewTOTPConfigWithDefaults ¶
func NewTOTPConfigWithDefaults() *TOTPConfig
NewTOTPConfigWithDefaults instantiates a new TOTPConfig 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 (*TOTPConfig) GetAlgo ¶
func (o *TOTPConfig) GetAlgo() TOTPHMacAlgo
GetAlgo returns the Algo field value if set, zero value otherwise.
func (*TOTPConfig) GetAlgoOk ¶
func (o *TOTPConfig) GetAlgoOk() (*TOTPHMacAlgo, bool)
GetAlgoOk returns a tuple with the Algo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TOTPConfig) GetIssuer ¶
func (o *TOTPConfig) GetIssuer() string
GetIssuer returns the Issuer field value if set, zero value otherwise.
func (*TOTPConfig) GetIssuerOk ¶
func (o *TOTPConfig) GetIssuerOk() (*string, bool)
GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TOTPConfig) GetName ¶
func (o *TOTPConfig) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TOTPConfig) GetNameOk ¶
func (o *TOTPConfig) 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 (*TOTPConfig) HasAlgo ¶
func (o *TOTPConfig) HasAlgo() bool
HasAlgo returns a boolean if a field has been set.
func (*TOTPConfig) HasIssuer ¶
func (o *TOTPConfig) HasIssuer() bool
HasIssuer returns a boolean if a field has been set.
func (*TOTPConfig) HasName ¶
func (o *TOTPConfig) HasName() bool
HasName returns a boolean if a field has been set.
func (TOTPConfig) MarshalJSON ¶
func (o TOTPConfig) MarshalJSON() ([]byte, error)
func (*TOTPConfig) SetAlgo ¶
func (o *TOTPConfig) SetAlgo(v TOTPHMacAlgo)
SetAlgo gets a reference to the given TOTPHMacAlgo and assigns it to the Algo field.
func (*TOTPConfig) SetIssuer ¶
func (o *TOTPConfig) SetIssuer(v string)
SetIssuer gets a reference to the given string and assigns it to the Issuer field.
func (*TOTPConfig) SetName ¶
func (o *TOTPConfig) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type TOTPHMacAlgo ¶
type TOTPHMacAlgo string
TOTPHMacAlgo Supported HMAC algorithms for Time-based one time passwords
const ( TOTPHMACALGO_SHA1 TOTPHMacAlgo = "sha1" TOTPHMACALGO_SHA256 TOTPHMacAlgo = "sha256" TOTPHMACALGO_SHA512 TOTPHMacAlgo = "sha512" )
List of TOTPHMacAlgo
func NewTOTPHMacAlgoFromValue ¶
func NewTOTPHMacAlgoFromValue(v string) (*TOTPHMacAlgo, error)
NewTOTPHMacAlgoFromValue returns a pointer to a valid TOTPHMacAlgo for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TOTPHMacAlgo) IsValid ¶
func (v TOTPHMacAlgo) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TOTPHMacAlgo) Ptr ¶
func (v TOTPHMacAlgo) Ptr() *TOTPHMacAlgo
Ptr returns reference to TOTPHMacAlgo value
func (*TOTPHMacAlgo) UnmarshalJSON ¶
func (v *TOTPHMacAlgo) UnmarshalJSON(src []byte) error
type Token ¶
type Token struct { AccessToken *string `json:"access_token,omitempty"` ExpiresAt *time.Time `json:"expires_at,omitempty"` }
Token struct for Token
func NewToken ¶
func NewToken() *Token
NewToken instantiates a new Token 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 NewTokenWithDefaults ¶
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 (*Token) GetAccessToken ¶
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*Token) GetAccessTokenOk ¶
GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Token) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*Token) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Token) HasAccessToken ¶
HasAccessToken returns a boolean if a field has been set.
func (*Token) HasExpiresAt ¶
HasExpiresAt returns a boolean if a field has been set.
func (Token) MarshalJSON ¶
func (*Token) SetAccessToken ¶
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*Token) SetExpiresAt ¶
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
type TokenApiApiClientLogoutRequest ¶
type TokenApiApiClientLogoutRequest struct { ApiService *TokenApiService // contains filtered or unexported fields }
func (TokenApiApiClientLogoutRequest) Execute ¶
func (r TokenApiApiClientLogoutRequest) Execute() (*ApiResponse, *http.Response, error)
type TokenApiApiGetTokenRequest ¶
type TokenApiApiGetTokenRequest struct { ApiService *TokenApiService // contains filtered or unexported fields }
func (TokenApiApiGetTokenRequest) Execute ¶
func (r TokenApiApiGetTokenRequest) Execute() (*Token, *http.Response, error)
func (TokenApiApiGetTokenRequest) XSFTPGOOTP ¶
func (r TokenApiApiGetTokenRequest) XSFTPGOOTP(xSFTPGOOTP string) TokenApiApiGetTokenRequest
If you have 2FA configured for the admin attempting to log in you need to set the authentication code using this header parameter
type TokenApiApiGetUserTokenRequest ¶
type TokenApiApiGetUserTokenRequest struct { ApiService *TokenApiService // contains filtered or unexported fields }
func (TokenApiApiGetUserTokenRequest) Execute ¶
func (r TokenApiApiGetUserTokenRequest) Execute() (*Token, *http.Response, error)
func (TokenApiApiGetUserTokenRequest) XSFTPGOOTP ¶
func (r TokenApiApiGetUserTokenRequest) XSFTPGOOTP(xSFTPGOOTP string) TokenApiApiGetUserTokenRequest
If you have 2FA configured, for the HTTP protocol, for the user attempting to log in you need to set the authentication code using this header parameter
type TokenApiApiLogoutRequest ¶
type TokenApiApiLogoutRequest struct { ApiService *TokenApiService // contains filtered or unexported fields }
func (TokenApiApiLogoutRequest) Execute ¶
func (r TokenApiApiLogoutRequest) Execute() (*ApiResponse, *http.Response, error)
type TokenApiService ¶
type TokenApiService service
TokenApiService TokenApi service
func (*TokenApiService) ClientLogout ¶
func (a *TokenApiService) ClientLogout(ctx context.Context) TokenApiApiClientLogoutRequest
ClientLogout Invalidate a user access token
Allows to invalidate a client token before its expiration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TokenApiApiClientLogoutRequest
func (*TokenApiService) ClientLogoutExecute ¶
func (a *TokenApiService) ClientLogoutExecute(r TokenApiApiClientLogoutRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*TokenApiService) GetToken ¶
func (a *TokenApiService) GetToken(ctx context.Context) TokenApiApiGetTokenRequest
GetToken Get a new admin access token
Returns an access token and its expiration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TokenApiApiGetTokenRequest
func (*TokenApiService) GetTokenExecute ¶
func (a *TokenApiService) GetTokenExecute(r TokenApiApiGetTokenRequest) (*Token, *http.Response, error)
Execute executes the request
@return Token
func (*TokenApiService) GetUserToken ¶
func (a *TokenApiService) GetUserToken(ctx context.Context) TokenApiApiGetUserTokenRequest
GetUserToken Get a new user access token
Returns an access token and its expiration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TokenApiApiGetUserTokenRequest
func (*TokenApiService) GetUserTokenExecute ¶
func (a *TokenApiService) GetUserTokenExecute(r TokenApiApiGetUserTokenRequest) (*Token, *http.Response, error)
Execute executes the request
@return Token
func (*TokenApiService) Logout ¶
func (a *TokenApiService) Logout(ctx context.Context) TokenApiApiLogoutRequest
Logout Invalidate an admin access token
Allows to invalidate an admin token before its expiration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TokenApiApiLogoutRequest
func (*TokenApiService) LogoutExecute ¶
func (a *TokenApiService) LogoutExecute(r TokenApiApiLogoutRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type Transfer ¶
type Transfer struct { // Operations: * `upload` * `download` OperationType *string `json:"operation_type,omitempty"` // file path for the upload/download Path *string `json:"path,omitempty"` // start time as unix timestamp in milliseconds StartTime *int64 `json:"start_time,omitempty"` // bytes transferred Size *int64 `json:"size,omitempty"` }
Transfer struct for Transfer
func NewTransfer ¶
func NewTransfer() *Transfer
NewTransfer instantiates a new Transfer 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 NewTransferWithDefaults ¶
func NewTransferWithDefaults() *Transfer
NewTransferWithDefaults instantiates a new Transfer 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 (*Transfer) GetOperationType ¶
GetOperationType returns the OperationType field value if set, zero value otherwise.
func (*Transfer) GetOperationTypeOk ¶
GetOperationTypeOk returns a tuple with the OperationType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetPathOk ¶
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetSizeOk ¶
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 (*Transfer) GetStartTime ¶
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*Transfer) GetStartTimeOk ¶
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 (*Transfer) HasOperationType ¶
HasOperationType returns a boolean if a field has been set.
func (*Transfer) HasStartTime ¶
HasStartTime returns a boolean if a field has been set.
func (Transfer) MarshalJSON ¶
func (*Transfer) SetOperationType ¶
SetOperationType gets a reference to the given string and assigns it to the OperationType field.
func (*Transfer) SetPath ¶
SetPath gets a reference to the given string and assigns it to the Path field.
func (*Transfer) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Transfer) SetStartTime ¶
SetStartTime gets a reference to the given int64 and assigns it to the StartTime field.
type TransferQuotaUsage ¶
type TransferQuotaUsage struct { // The value must be specified as bytes UsedUploadDataTransfer *int64 `json:"used_upload_data_transfer,omitempty"` // The value must be specified as bytes UsedDownloadDataTransfer *int64 `json:"used_download_data_transfer,omitempty"` }
TransferQuotaUsage struct for TransferQuotaUsage
func NewTransferQuotaUsage ¶
func NewTransferQuotaUsage() *TransferQuotaUsage
NewTransferQuotaUsage instantiates a new TransferQuotaUsage 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 NewTransferQuotaUsageWithDefaults ¶
func NewTransferQuotaUsageWithDefaults() *TransferQuotaUsage
NewTransferQuotaUsageWithDefaults instantiates a new TransferQuotaUsage 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 (*TransferQuotaUsage) GetUsedDownloadDataTransfer ¶
func (o *TransferQuotaUsage) GetUsedDownloadDataTransfer() int64
GetUsedDownloadDataTransfer returns the UsedDownloadDataTransfer field value if set, zero value otherwise.
func (*TransferQuotaUsage) GetUsedDownloadDataTransferOk ¶
func (o *TransferQuotaUsage) GetUsedDownloadDataTransferOk() (*int64, bool)
GetUsedDownloadDataTransferOk returns a tuple with the UsedDownloadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferQuotaUsage) GetUsedUploadDataTransfer ¶
func (o *TransferQuotaUsage) GetUsedUploadDataTransfer() int64
GetUsedUploadDataTransfer returns the UsedUploadDataTransfer field value if set, zero value otherwise.
func (*TransferQuotaUsage) GetUsedUploadDataTransferOk ¶
func (o *TransferQuotaUsage) GetUsedUploadDataTransferOk() (*int64, bool)
GetUsedUploadDataTransferOk returns a tuple with the UsedUploadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferQuotaUsage) HasUsedDownloadDataTransfer ¶
func (o *TransferQuotaUsage) HasUsedDownloadDataTransfer() bool
HasUsedDownloadDataTransfer returns a boolean if a field has been set.
func (*TransferQuotaUsage) HasUsedUploadDataTransfer ¶
func (o *TransferQuotaUsage) HasUsedUploadDataTransfer() bool
HasUsedUploadDataTransfer returns a boolean if a field has been set.
func (TransferQuotaUsage) MarshalJSON ¶
func (o TransferQuotaUsage) MarshalJSON() ([]byte, error)
func (*TransferQuotaUsage) SetUsedDownloadDataTransfer ¶
func (o *TransferQuotaUsage) SetUsedDownloadDataTransfer(v int64)
SetUsedDownloadDataTransfer gets a reference to the given int64 and assigns it to the UsedDownloadDataTransfer field.
func (*TransferQuotaUsage) SetUsedUploadDataTransfer ¶
func (o *TransferQuotaUsage) SetUsedUploadDataTransfer(v int64)
SetUsedUploadDataTransfer gets a reference to the given int64 and assigns it to the UsedUploadDataTransfer field.
type User ¶
type User struct { Id *int32 `json:"id,omitempty"` // status: * `0` user is disabled, login is not allowed * `1` user is enabled Status *int32 `json:"status,omitempty"` // username is unique Username *string `json:"username,omitempty"` Email *string `json:"email,omitempty"` // optional description, for example the user full name Description *string `json:"description,omitempty"` // expiration date as unix timestamp in milliseconds. An expired account cannot login. 0 means no expiration ExpirationDate *int64 `json:"expiration_date,omitempty"` // password or public key/SSH user certificate are mandatory. If the password has no known hashing algo prefix it will be stored, by default, using bcrypt, argon2id is supported too. You can send a password hashed as bcrypt ($2a$ prefix), argon2id, pbkdf2 or unix crypt and it will be stored as is. For security reasons this field is omitted when you search/get users Password *string `json:"password,omitempty"` // Public keys in OpenSSH format. A password or at least one public key/SSH user certificate are mandatory. PublicKeys []string `json:"public_keys,omitempty"` // path to the user home directory. The user cannot upload or download files outside this directory. SFTPGo tries to automatically create this folder if missing. Must be an absolute path HomeDir *string `json:"home_dir,omitempty"` // mapping between virtual SFTPGo paths and filesystem paths outside the user home directory. Supported for local filesystem only. If one or more of the specified folders are not inside the dataprovider they will be automatically created. You have to create the folder on the filesystem yourself VirtualFolders []VirtualFolder `json:"virtual_folders,omitempty"` // if you run SFTPGo as root user, the created files and directories will be assigned to this uid. 0 means no change, the owner will be the user that runs SFTPGo. Ignored on windows Uid *int32 `json:"uid,omitempty"` // if you run SFTPGo as root user, the created files and directories will be assigned to this gid. 0 means no change, the group will be the one of the user that runs SFTPGo. Ignored on windows Gid *int32 `json:"gid,omitempty"` // Limit the sessions that a user can open. 0 means unlimited MaxSessions *int32 `json:"max_sessions,omitempty"` // Quota as size in bytes. 0 menas unlimited. Please note that quota is updated if files are added/removed via SFTPGo otherwise a quota scan or a manual quota update is needed QuotaSize *int64 `json:"quota_size,omitempty"` // Quota as number of files. 0 menas unlimited. Please note that quota is updated if files are added/removed via SFTPGo otherwise a quota scan or a manual quota update is needed QuotaFiles *int32 `json:"quota_files,omitempty"` Permissions []map[string][]Permission `json:"permissions,omitempty"` UsedQuotaSize *int64 `json:"used_quota_size,omitempty"` UsedQuotaFiles *int32 `json:"used_quota_files,omitempty"` // Last quota update as unix timestamp in milliseconds LastQuotaUpdate *int64 `json:"last_quota_update,omitempty"` // Maximum upload bandwidth as KB/s, 0 means unlimited UploadBandwidth *int32 `json:"upload_bandwidth,omitempty"` // Maximum download bandwidth as KB/s, 0 means unlimited DownloadBandwidth *int32 `json:"download_bandwidth,omitempty"` // Maximum data transfer allowed for uploads as MB. 0 means no limit UploadDataTransfer *int32 `json:"upload_data_transfer,omitempty"` // Maximum data transfer allowed for downloads as MB. 0 means no limit DownloadDataTransfer *int32 `json:"download_data_transfer,omitempty"` // Maximum total data transfer as MB. 0 means unlimited. You can set a total data transfer instead of the individual values for uploads and downloads TotalDataTransfer *int32 `json:"total_data_transfer,omitempty"` // Uploaded size, as bytes, since the last reset UsedUploadDataTransfer *int32 `json:"used_upload_data_transfer,omitempty"` // Downloaded size, as bytes, since the last reset UsedDownloadDataTransfer *int32 `json:"used_download_data_transfer,omitempty"` // creation time as unix timestamp in milliseconds. It will be 0 for users created before v2.2.0 CreatedAt *int64 `json:"created_at,omitempty"` // last update time as unix timestamp in milliseconds UpdatedAt *int64 `json:"updated_at,omitempty"` // Last user login as unix timestamp in milliseconds. It is saved at most once every 10 minutes LastLogin *int64 `json:"last_login,omitempty"` Filters *UserFilters `json:"filters,omitempty"` Filesystem *FilesystemConfig `json:"filesystem,omitempty"` // Free form text field for external systems AdditionalInfo *string `json:"additional_info,omitempty"` }
User struct for User
func NewUser ¶
func NewUser() *User
NewUser instantiates a new User 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 NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetAdditionalInfo ¶
GetAdditionalInfo returns the AdditionalInfo field value if set, zero value otherwise.
func (*User) GetAdditionalInfoOk ¶
GetAdditionalInfoOk returns a tuple with the AdditionalInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*User) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*User) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetDownloadBandwidth ¶
GetDownloadBandwidth returns the DownloadBandwidth field value if set, zero value otherwise.
func (*User) GetDownloadBandwidthOk ¶
GetDownloadBandwidthOk returns a tuple with the DownloadBandwidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetDownloadDataTransfer ¶
GetDownloadDataTransfer returns the DownloadDataTransfer field value if set, zero value otherwise.
func (*User) GetDownloadDataTransferOk ¶
GetDownloadDataTransferOk returns a tuple with the DownloadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetExpirationDate ¶
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*User) GetExpirationDateOk ¶
GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetFilesystem ¶
func (o *User) GetFilesystem() FilesystemConfig
GetFilesystem returns the Filesystem field value if set, zero value otherwise.
func (*User) GetFilesystemOk ¶
func (o *User) GetFilesystemOk() (*FilesystemConfig, bool)
GetFilesystemOk returns a tuple with the Filesystem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetFilters ¶
func (o *User) GetFilters() UserFilters
GetFilters returns the Filters field value if set, zero value otherwise.
func (*User) GetFiltersOk ¶
func (o *User) GetFiltersOk() (*UserFilters, bool)
GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetGidOk ¶
GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetHomeDir ¶
GetHomeDir returns the HomeDir field value if set, zero value otherwise.
func (*User) GetHomeDirOk ¶
GetHomeDirOk returns a tuple with the HomeDir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
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 (*User) GetLastLogin ¶
GetLastLogin returns the LastLogin field value if set, zero value otherwise.
func (*User) GetLastLoginOk ¶
GetLastLoginOk returns a tuple with the LastLogin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetLastQuotaUpdate ¶
GetLastQuotaUpdate returns the LastQuotaUpdate field value if set, zero value otherwise.
func (*User) GetLastQuotaUpdateOk ¶
GetLastQuotaUpdateOk returns a tuple with the LastQuotaUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetMaxSessions ¶
GetMaxSessions returns the MaxSessions field value if set, zero value otherwise.
func (*User) GetMaxSessionsOk ¶
GetMaxSessionsOk returns a tuple with the MaxSessions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*User) GetPasswordOk ¶
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 (*User) GetPermissions ¶
func (o *User) GetPermissions() []map[string][]Permission
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*User) GetPermissionsOk ¶
func (o *User) GetPermissionsOk() ([]map[string][]Permission, 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 (*User) GetPublicKeys ¶
GetPublicKeys returns the PublicKeys field value if set, zero value otherwise.
func (*User) GetPublicKeysOk ¶
GetPublicKeysOk returns a tuple with the PublicKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetQuotaFiles ¶
GetQuotaFiles returns the QuotaFiles field value if set, zero value otherwise.
func (*User) GetQuotaFilesOk ¶
GetQuotaFilesOk returns a tuple with the QuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetQuotaSize ¶
GetQuotaSize returns the QuotaSize field value if set, zero value otherwise.
func (*User) GetQuotaSizeOk ¶
GetQuotaSizeOk returns a tuple with the QuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetTotalDataTransfer ¶
GetTotalDataTransfer returns the TotalDataTransfer field value if set, zero value otherwise.
func (*User) GetTotalDataTransferOk ¶
GetTotalDataTransferOk returns a tuple with the TotalDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUidOk ¶
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*User) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUploadBandwidth ¶
GetUploadBandwidth returns the UploadBandwidth field value if set, zero value otherwise.
func (*User) GetUploadBandwidthOk ¶
GetUploadBandwidthOk returns a tuple with the UploadBandwidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUploadDataTransfer ¶
GetUploadDataTransfer returns the UploadDataTransfer field value if set, zero value otherwise.
func (*User) GetUploadDataTransferOk ¶
GetUploadDataTransferOk returns a tuple with the UploadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUsedDownloadDataTransfer ¶
GetUsedDownloadDataTransfer returns the UsedDownloadDataTransfer field value if set, zero value otherwise.
func (*User) GetUsedDownloadDataTransferOk ¶
GetUsedDownloadDataTransferOk returns a tuple with the UsedDownloadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUsedQuotaFiles ¶
GetUsedQuotaFiles returns the UsedQuotaFiles field value if set, zero value otherwise.
func (*User) GetUsedQuotaFilesOk ¶
GetUsedQuotaFilesOk returns a tuple with the UsedQuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUsedQuotaSize ¶
GetUsedQuotaSize returns the UsedQuotaSize field value if set, zero value otherwise.
func (*User) GetUsedQuotaSizeOk ¶
GetUsedQuotaSizeOk returns a tuple with the UsedQuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUsedUploadDataTransfer ¶
GetUsedUploadDataTransfer returns the UsedUploadDataTransfer field value if set, zero value otherwise.
func (*User) GetUsedUploadDataTransferOk ¶
GetUsedUploadDataTransferOk returns a tuple with the UsedUploadDataTransfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetVirtualFolders ¶
func (o *User) GetVirtualFolders() []VirtualFolder
GetVirtualFolders returns the VirtualFolders field value if set, zero value otherwise.
func (*User) GetVirtualFoldersOk ¶
func (o *User) GetVirtualFoldersOk() ([]VirtualFolder, bool)
GetVirtualFoldersOk returns a tuple with the VirtualFolders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) HasAdditionalInfo ¶
HasAdditionalInfo returns a boolean if a field has been set.
func (*User) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*User) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*User) HasDownloadBandwidth ¶
HasDownloadBandwidth returns a boolean if a field has been set.
func (*User) HasDownloadDataTransfer ¶
HasDownloadDataTransfer returns a boolean if a field has been set.
func (*User) HasExpirationDate ¶
HasExpirationDate returns a boolean if a field has been set.
func (*User) HasFilesystem ¶
HasFilesystem returns a boolean if a field has been set.
func (*User) HasFilters ¶
HasFilters returns a boolean if a field has been set.
func (*User) HasHomeDir ¶
HasHomeDir returns a boolean if a field has been set.
func (*User) HasLastLogin ¶
HasLastLogin returns a boolean if a field has been set.
func (*User) HasLastQuotaUpdate ¶
HasLastQuotaUpdate returns a boolean if a field has been set.
func (*User) HasMaxSessions ¶
HasMaxSessions returns a boolean if a field has been set.
func (*User) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*User) HasPermissions ¶
HasPermissions returns a boolean if a field has been set.
func (*User) HasPublicKeys ¶
HasPublicKeys returns a boolean if a field has been set.
func (*User) HasQuotaFiles ¶
HasQuotaFiles returns a boolean if a field has been set.
func (*User) HasQuotaSize ¶
HasQuotaSize returns a boolean if a field has been set.
func (*User) HasTotalDataTransfer ¶
HasTotalDataTransfer returns a boolean if a field has been set.
func (*User) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*User) HasUploadBandwidth ¶
HasUploadBandwidth returns a boolean if a field has been set.
func (*User) HasUploadDataTransfer ¶
HasUploadDataTransfer returns a boolean if a field has been set.
func (*User) HasUsedDownloadDataTransfer ¶
HasUsedDownloadDataTransfer returns a boolean if a field has been set.
func (*User) HasUsedQuotaFiles ¶
HasUsedQuotaFiles returns a boolean if a field has been set.
func (*User) HasUsedQuotaSize ¶
HasUsedQuotaSize returns a boolean if a field has been set.
func (*User) HasUsedUploadDataTransfer ¶
HasUsedUploadDataTransfer returns a boolean if a field has been set.
func (*User) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (*User) HasVirtualFolders ¶
HasVirtualFolders returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetAdditionalInfo ¶
SetAdditionalInfo gets a reference to the given string and assigns it to the AdditionalInfo field.
func (*User) SetCreatedAt ¶
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*User) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*User) SetDownloadBandwidth ¶
SetDownloadBandwidth gets a reference to the given int32 and assigns it to the DownloadBandwidth field.
func (*User) SetDownloadDataTransfer ¶
SetDownloadDataTransfer gets a reference to the given int32 and assigns it to the DownloadDataTransfer field.
func (*User) SetEmail ¶
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*User) SetExpirationDate ¶
SetExpirationDate gets a reference to the given int64 and assigns it to the ExpirationDate field.
func (*User) SetFilesystem ¶
func (o *User) SetFilesystem(v FilesystemConfig)
SetFilesystem gets a reference to the given FilesystemConfig and assigns it to the Filesystem field.
func (*User) SetFilters ¶
func (o *User) SetFilters(v UserFilters)
SetFilters gets a reference to the given UserFilters and assigns it to the Filters field.
func (*User) SetHomeDir ¶
SetHomeDir gets a reference to the given string and assigns it to the HomeDir field.
func (*User) SetLastLogin ¶
SetLastLogin gets a reference to the given int64 and assigns it to the LastLogin field.
func (*User) SetLastQuotaUpdate ¶
SetLastQuotaUpdate gets a reference to the given int64 and assigns it to the LastQuotaUpdate field.
func (*User) SetMaxSessions ¶
SetMaxSessions gets a reference to the given int32 and assigns it to the MaxSessions field.
func (*User) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*User) SetPermissions ¶
func (o *User) SetPermissions(v []map[string][]Permission)
SetPermissions gets a reference to the given []map[string][]Permission and assigns it to the Permissions field.
func (*User) SetPublicKeys ¶
SetPublicKeys gets a reference to the given []string and assigns it to the PublicKeys field.
func (*User) SetQuotaFiles ¶
SetQuotaFiles gets a reference to the given int32 and assigns it to the QuotaFiles field.
func (*User) SetQuotaSize ¶
SetQuotaSize gets a reference to the given int64 and assigns it to the QuotaSize field.
func (*User) SetStatus ¶
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*User) SetTotalDataTransfer ¶
SetTotalDataTransfer gets a reference to the given int32 and assigns it to the TotalDataTransfer field.
func (*User) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (*User) SetUploadBandwidth ¶
SetUploadBandwidth gets a reference to the given int32 and assigns it to the UploadBandwidth field.
func (*User) SetUploadDataTransfer ¶
SetUploadDataTransfer gets a reference to the given int32 and assigns it to the UploadDataTransfer field.
func (*User) SetUsedDownloadDataTransfer ¶
SetUsedDownloadDataTransfer gets a reference to the given int32 and assigns it to the UsedDownloadDataTransfer field.
func (*User) SetUsedQuotaFiles ¶
SetUsedQuotaFiles gets a reference to the given int32 and assigns it to the UsedQuotaFiles field.
func (*User) SetUsedQuotaSize ¶
SetUsedQuotaSize gets a reference to the given int64 and assigns it to the UsedQuotaSize field.
func (*User) SetUsedUploadDataTransfer ¶
SetUsedUploadDataTransfer gets a reference to the given int32 and assigns it to the UsedUploadDataTransfer field.
func (*User) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
func (*User) SetVirtualFolders ¶
func (o *User) SetVirtualFolders(v []VirtualFolder)
SetVirtualFolders gets a reference to the given []VirtualFolder and assigns it to the VirtualFolders field.
type UserAPIsApiApiAddShareRequest ¶
type UserAPIsApiApiAddShareRequest struct { // contains filtered or unexported fields }
func (UserAPIsApiApiAddShareRequest) Execute ¶
func (r UserAPIsApiApiAddShareRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiAddShareRequest) Share ¶
func (r UserAPIsApiApiAddShareRequest) Share(share Share) UserAPIsApiApiAddShareRequest
type UserAPIsApiApiChangeUserPasswordRequest ¶
type UserAPIsApiApiChangeUserPasswordRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiChangeUserPasswordRequest) Execute ¶
func (r UserAPIsApiApiChangeUserPasswordRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiChangeUserPasswordRequest) PwdChange ¶
func (r UserAPIsApiApiChangeUserPasswordRequest) PwdChange(pwdChange PwdChange) UserAPIsApiApiChangeUserPasswordRequest
type UserAPIsApiApiCreateUserDirRequest ¶
type UserAPIsApiApiCreateUserDirRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiCreateUserDirRequest) Execute ¶
func (r UserAPIsApiApiCreateUserDirRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiCreateUserDirRequest) MkdirParents ¶
func (r UserAPIsApiApiCreateUserDirRequest) MkdirParents(mkdirParents bool) UserAPIsApiApiCreateUserDirRequest
Create parent directories if they do not exist?
func (UserAPIsApiApiCreateUserDirRequest) Path ¶
func (r UserAPIsApiApiCreateUserDirRequest) Path(path string) UserAPIsApiApiCreateUserDirRequest
Path to the folder to create. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\"
type UserAPIsApiApiCreateUserFileRequest ¶
type UserAPIsApiApiCreateUserFileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiCreateUserFileRequest) Body ¶
func (r UserAPIsApiApiCreateUserFileRequest) Body(body *os.File) UserAPIsApiApiCreateUserFileRequest
func (UserAPIsApiApiCreateUserFileRequest) Execute ¶
func (r UserAPIsApiApiCreateUserFileRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiCreateUserFileRequest) MkdirParents ¶
func (r UserAPIsApiApiCreateUserFileRequest) MkdirParents(mkdirParents bool) UserAPIsApiApiCreateUserFileRequest
Create parent directories if they do not exist?
func (UserAPIsApiApiCreateUserFileRequest) Path ¶
func (r UserAPIsApiApiCreateUserFileRequest) Path(path string) UserAPIsApiApiCreateUserFileRequest
Full file path. It must be path encoded, for example the path \"my dir/àdir/file.txt\" must be sent as \"my%20dir%2F%C3%A0dir%2Ffile.txt\". The parent directory must exist. If a file with the same name already exists, it will be overwritten
func (UserAPIsApiApiCreateUserFileRequest) XSFTPGOMTIME ¶
func (r UserAPIsApiApiCreateUserFileRequest) XSFTPGOMTIME(xSFTPGOMTIME int32) UserAPIsApiApiCreateUserFileRequest
File modification time as unix timestamp in milliseconds
type UserAPIsApiApiCreateUserFilesRequest ¶
type UserAPIsApiApiCreateUserFilesRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiCreateUserFilesRequest) Execute ¶
func (r UserAPIsApiApiCreateUserFilesRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiCreateUserFilesRequest) Filenames ¶
func (r UserAPIsApiApiCreateUserFilesRequest) Filenames(filenames []*os.File) UserAPIsApiApiCreateUserFilesRequest
func (UserAPIsApiApiCreateUserFilesRequest) MkdirParents ¶
func (r UserAPIsApiApiCreateUserFilesRequest) MkdirParents(mkdirParents bool) UserAPIsApiApiCreateUserFilesRequest
Create parent directories if they do not exist?
func (UserAPIsApiApiCreateUserFilesRequest) Path ¶
func (r UserAPIsApiApiCreateUserFilesRequest) Path(path string) UserAPIsApiApiCreateUserFilesRequest
Parent directory for the uploaded files. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\". If empty or missing the root path is assumed. If a file with the same name already exists, it will be overwritten
type UserAPIsApiApiDeleteUserDirRequest ¶
type UserAPIsApiApiDeleteUserDirRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiDeleteUserDirRequest) Execute ¶
func (r UserAPIsApiApiDeleteUserDirRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiDeleteUserDirRequest) Path ¶
func (r UserAPIsApiApiDeleteUserDirRequest) Path(path string) UserAPIsApiApiDeleteUserDirRequest
Path to the folder to delete. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\"
type UserAPIsApiApiDeleteUserFileRequest ¶
type UserAPIsApiApiDeleteUserFileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiDeleteUserFileRequest) Execute ¶
func (r UserAPIsApiApiDeleteUserFileRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiDeleteUserFileRequest) Path ¶
func (r UserAPIsApiApiDeleteUserFileRequest) Path(path string) UserAPIsApiApiDeleteUserFileRequest
Path to the file to delete. It must be URL encoded
type UserAPIsApiApiDeleteUserShareRequest ¶
type UserAPIsApiApiDeleteUserShareRequest struct { // contains filtered or unexported fields }
func (UserAPIsApiApiDeleteUserShareRequest) Execute ¶
func (r UserAPIsApiApiDeleteUserShareRequest) Execute() (*ApiResponse, *http.Response, error)
type UserAPIsApiApiDownloadUserFileRequest ¶
type UserAPIsApiApiDownloadUserFileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiDownloadUserFileRequest) Inline ¶
func (r UserAPIsApiApiDownloadUserFileRequest) Inline(inline string) UserAPIsApiApiDownloadUserFileRequest
If set, the response will not have the Content-Disposition header set to `attachment`
func (UserAPIsApiApiDownloadUserFileRequest) Path ¶
func (r UserAPIsApiApiDownloadUserFileRequest) Path(path string) UserAPIsApiApiDownloadUserFileRequest
Path to the file to download. It must be URL encoded, for example the path \"my dir/àdir/file.txt\" must be sent as \"my%20dir%2F%C3%A0dir%2Ffile.txt\"
type UserAPIsApiApiGenerateUserRecoveryCodesRequest ¶
type UserAPIsApiApiGenerateUserRecoveryCodesRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
type UserAPIsApiApiGenerateUserTotpSecretRequest ¶
type UserAPIsApiApiGenerateUserTotpSecretRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGenerateUserTotpSecretRequest) Execute ¶
func (r UserAPIsApiApiGenerateUserTotpSecretRequest) Execute() (*InlineResponse200, *http.Response, error)
func (UserAPIsApiApiGenerateUserTotpSecretRequest) InlineObject6 ¶
func (r UserAPIsApiApiGenerateUserTotpSecretRequest) InlineObject6(inlineObject6 InlineObject6) UserAPIsApiApiGenerateUserTotpSecretRequest
type UserAPIsApiApiGetUserDirContentsRequest ¶
type UserAPIsApiApiGetUserDirContentsRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserDirContentsRequest) Execute ¶
func (r UserAPIsApiApiGetUserDirContentsRequest) Execute() ([]DirEntry, *http.Response, error)
func (UserAPIsApiApiGetUserDirContentsRequest) Path ¶
func (r UserAPIsApiApiGetUserDirContentsRequest) Path(path string) UserAPIsApiApiGetUserDirContentsRequest
Path to the folder to read. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\". If empty or missing the root folder is assumed
type UserAPIsApiApiGetUserFileRequest ¶
type UserAPIsApiApiGetUserFileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserFileRequest) Path ¶
func (r UserAPIsApiApiGetUserFileRequest) Path(path string) UserAPIsApiApiGetUserFileRequest
Path to the file to download. It must be URL encoded, for example the path \"my dir/àdir/file.txt\" must be sent as \"my%20dir%2F%C3%A0dir%2Ffile.txt\"
type UserAPIsApiApiGetUserFolderContentsRequest ¶
type UserAPIsApiApiGetUserFolderContentsRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserFolderContentsRequest) Execute ¶
func (r UserAPIsApiApiGetUserFolderContentsRequest) Execute() ([]DirEntry, *http.Response, error)
func (UserAPIsApiApiGetUserFolderContentsRequest) Path ¶
func (r UserAPIsApiApiGetUserFolderContentsRequest) Path(path string) UserAPIsApiApiGetUserFolderContentsRequest
Path to the folder to read. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\". If empty or missing the root folder is assumed
type UserAPIsApiApiGetUserProfileRequest ¶
type UserAPIsApiApiGetUserProfileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserProfileRequest) Execute ¶
func (r UserAPIsApiApiGetUserProfileRequest) Execute() (*UserProfile, *http.Response, error)
type UserAPIsApiApiGetUserPublicKeysRequest ¶
type UserAPIsApiApiGetUserPublicKeysRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
type UserAPIsApiApiGetUserRecoveryCodesRequest ¶
type UserAPIsApiApiGetUserRecoveryCodesRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserRecoveryCodesRequest) Execute ¶
func (r UserAPIsApiApiGetUserRecoveryCodesRequest) Execute() ([]RecoveryCode, *http.Response, error)
type UserAPIsApiApiGetUserShareByIdRequest ¶
type UserAPIsApiApiGetUserShareByIdRequest struct { // contains filtered or unexported fields }
type UserAPIsApiApiGetUserSharesRequest ¶
type UserAPIsApiApiGetUserSharesRequest struct { // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserSharesRequest) Execute ¶
func (r UserAPIsApiApiGetUserSharesRequest) Execute() ([]Share, *http.Response, error)
func (UserAPIsApiApiGetUserSharesRequest) Limit ¶
func (r UserAPIsApiApiGetUserSharesRequest) Limit(limit int32) UserAPIsApiApiGetUserSharesRequest
The maximum number of items to return. Max value is 500, default is 100
func (UserAPIsApiApiGetUserSharesRequest) Offset ¶
func (r UserAPIsApiApiGetUserSharesRequest) Offset(offset int32) UserAPIsApiApiGetUserSharesRequest
func (UserAPIsApiApiGetUserSharesRequest) Order ¶
func (r UserAPIsApiApiGetUserSharesRequest) Order(order string) UserAPIsApiApiGetUserSharesRequest
Ordering shares by ID. Default ASC
type UserAPIsApiApiGetUserTotpConfigsRequest ¶
type UserAPIsApiApiGetUserTotpConfigsRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiGetUserTotpConfigsRequest) Execute ¶
func (r UserAPIsApiApiGetUserTotpConfigsRequest) Execute() ([]TOTPConfig, *http.Response, error)
type UserAPIsApiApiRenameUserDirRequest ¶
type UserAPIsApiApiRenameUserDirRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiRenameUserDirRequest) Execute ¶
func (r UserAPIsApiApiRenameUserDirRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiRenameUserDirRequest) Path ¶
func (r UserAPIsApiApiRenameUserDirRequest) Path(path string) UserAPIsApiApiRenameUserDirRequest
Path to the folder to rename. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\"
func (UserAPIsApiApiRenameUserDirRequest) Target ¶
func (r UserAPIsApiApiRenameUserDirRequest) Target(target string) UserAPIsApiApiRenameUserDirRequest
New name. It must be URL encoded, for example the path \"my dir/àdir\" must be sent as \"my%20dir%2F%C3%A0dir\"
type UserAPIsApiApiRenameUserFileRequest ¶
type UserAPIsApiApiRenameUserFileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiRenameUserFileRequest) Execute ¶
func (r UserAPIsApiApiRenameUserFileRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiRenameUserFileRequest) Path ¶
func (r UserAPIsApiApiRenameUserFileRequest) Path(path string) UserAPIsApiApiRenameUserFileRequest
Path to the file to rename. It must be URL encoded
func (UserAPIsApiApiRenameUserFileRequest) Target ¶
func (r UserAPIsApiApiRenameUserFileRequest) Target(target string) UserAPIsApiApiRenameUserFileRequest
New name. It must be URL encoded
type UserAPIsApiApiSaveUserTotpConfigRequest ¶
type UserAPIsApiApiSaveUserTotpConfigRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiSaveUserTotpConfigRequest) Execute ¶
func (r UserAPIsApiApiSaveUserTotpConfigRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiSaveUserTotpConfigRequest) UserTOTPConfig ¶
func (r UserAPIsApiApiSaveUserTotpConfigRequest) UserTOTPConfig(userTOTPConfig UserTOTPConfig) UserAPIsApiApiSaveUserTotpConfigRequest
type UserAPIsApiApiSetUserPublicKeysRequest ¶
type UserAPIsApiApiSetUserPublicKeysRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiSetUserPublicKeysRequest) Execute ¶
func (r UserAPIsApiApiSetUserPublicKeysRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiSetUserPublicKeysRequest) RequestBody ¶
func (r UserAPIsApiApiSetUserPublicKeysRequest) RequestBody(requestBody []string) UserAPIsApiApiSetUserPublicKeysRequest
type UserAPIsApiApiSetpropsUserFileRequest ¶
type UserAPIsApiApiSetpropsUserFileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiSetpropsUserFileRequest) Execute ¶
func (r UserAPIsApiApiSetpropsUserFileRequest) Execute() ([]ApiResponse, *http.Response, error)
func (UserAPIsApiApiSetpropsUserFileRequest) InlineObject9 ¶
func (r UserAPIsApiApiSetpropsUserFileRequest) InlineObject9(inlineObject9 InlineObject9) UserAPIsApiApiSetpropsUserFileRequest
func (UserAPIsApiApiSetpropsUserFileRequest) Path ¶
func (r UserAPIsApiApiSetpropsUserFileRequest) Path(path string) UserAPIsApiApiSetpropsUserFileRequest
Full file/directory path. It must be URL encoded, for example the path \"my dir/àdir/file.txt\" must be sent as \"my%20dir%2F%C3%A0dir%2Ffile.txt\"
type UserAPIsApiApiStreamzipRequest ¶
type UserAPIsApiApiStreamzipRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiStreamzipRequest) RequestBody ¶
func (r UserAPIsApiApiStreamzipRequest) RequestBody(requestBody []string) UserAPIsApiApiStreamzipRequest
type UserAPIsApiApiUpdateUserProfileRequest ¶
type UserAPIsApiApiUpdateUserProfileRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiUpdateUserProfileRequest) Execute ¶
func (r UserAPIsApiApiUpdateUserProfileRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiUpdateUserProfileRequest) UserProfile ¶
func (r UserAPIsApiApiUpdateUserProfileRequest) UserProfile(userProfile UserProfile) UserAPIsApiApiUpdateUserProfileRequest
type UserAPIsApiApiUpdateUserShareRequest ¶
type UserAPIsApiApiUpdateUserShareRequest struct { // contains filtered or unexported fields }
func (UserAPIsApiApiUpdateUserShareRequest) Execute ¶
func (r UserAPIsApiApiUpdateUserShareRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiUpdateUserShareRequest) Share ¶
func (r UserAPIsApiApiUpdateUserShareRequest) Share(share Share) UserAPIsApiApiUpdateUserShareRequest
type UserAPIsApiApiValidateUserTotpSecretRequest ¶
type UserAPIsApiApiValidateUserTotpSecretRequest struct { ApiService *UserAPIsApiService // contains filtered or unexported fields }
func (UserAPIsApiApiValidateUserTotpSecretRequest) Execute ¶
func (r UserAPIsApiApiValidateUserTotpSecretRequest) Execute() (*ApiResponse, *http.Response, error)
func (UserAPIsApiApiValidateUserTotpSecretRequest) InlineObject7 ¶
func (r UserAPIsApiApiValidateUserTotpSecretRequest) InlineObject7(inlineObject7 InlineObject7) UserAPIsApiApiValidateUserTotpSecretRequest
type UserAPIsApiService ¶
type UserAPIsApiService service
UserAPIsApiService UserAPIsApi service
func (*UserAPIsApiService) AddShare ¶
func (a *UserAPIsApiService) AddShare(ctx context.Context) UserAPIsApiApiAddShareRequest
AddShare Add a share
Adds a new share. The share id will be auto-generated
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiAddShareRequest
func (*UserAPIsApiService) AddShareExecute ¶
func (a *UserAPIsApiService) AddShareExecute(r UserAPIsApiApiAddShareRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UserAPIsApiService) ChangeUserPassword ¶
func (a *UserAPIsApiService) ChangeUserPassword(ctx context.Context) UserAPIsApiApiChangeUserPasswordRequest
ChangeUserPassword Change user password
Changes the password for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiChangeUserPasswordRequest
func (*UserAPIsApiService) ChangeUserPasswordExecute ¶
func (a *UserAPIsApiService) ChangeUserPasswordExecute(r UserAPIsApiApiChangeUserPasswordRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UserAPIsApiService) CreateUserDir ¶
func (a *UserAPIsApiService) CreateUserDir(ctx context.Context) UserAPIsApiApiCreateUserDirRequest
CreateUserDir Create a directory
Create a directory for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiCreateUserDirRequest
func (*UserAPIsApiService) CreateUserDirExecute ¶
func (a *UserAPIsApiService) CreateUserDirExecute(r UserAPIsApiApiCreateUserDirRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) CreateUserFile ¶
func (a *UserAPIsApiService) CreateUserFile(ctx context.Context) UserAPIsApiApiCreateUserFileRequest
CreateUserFile Upload a single file
Upload a single file for the logged in user to an existing directory. This API does not use multipart/form-data and so no temporary files are created server side but only a single file can be uploaded as POST body
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiCreateUserFileRequest
func (*UserAPIsApiService) CreateUserFileExecute ¶
func (a *UserAPIsApiService) CreateUserFileExecute(r UserAPIsApiApiCreateUserFileRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) CreateUserFiles ¶
func (a *UserAPIsApiService) CreateUserFiles(ctx context.Context) UserAPIsApiApiCreateUserFilesRequest
CreateUserFiles Upload files
Upload one or more files for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiCreateUserFilesRequest
func (*UserAPIsApiService) CreateUserFilesExecute ¶
func (a *UserAPIsApiService) CreateUserFilesExecute(r UserAPIsApiApiCreateUserFilesRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) DeleteUserDir ¶
func (a *UserAPIsApiService) DeleteUserDir(ctx context.Context) UserAPIsApiApiDeleteUserDirRequest
DeleteUserDir Delete a directory
Delete a directory for the logged in user. Only empty directories can be deleted
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiDeleteUserDirRequest
func (*UserAPIsApiService) DeleteUserDirExecute ¶
func (a *UserAPIsApiService) DeleteUserDirExecute(r UserAPIsApiApiDeleteUserDirRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) DeleteUserFile ¶
func (a *UserAPIsApiService) DeleteUserFile(ctx context.Context) UserAPIsApiApiDeleteUserFileRequest
DeleteUserFile Delete a file
Delete a file for the logged in user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiDeleteUserFileRequest
func (*UserAPIsApiService) DeleteUserFileExecute ¶
func (a *UserAPIsApiService) DeleteUserFileExecute(r UserAPIsApiApiDeleteUserFileRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) DeleteUserShare ¶
func (a *UserAPIsApiService) DeleteUserShare(ctx context.Context, id string) UserAPIsApiApiDeleteUserShareRequest
DeleteUserShare Delete share
Deletes an existing share belonging to the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return UserAPIsApiApiDeleteUserShareRequest
func (*UserAPIsApiService) DeleteUserShareExecute ¶
func (a *UserAPIsApiService) DeleteUserShareExecute(r UserAPIsApiApiDeleteUserShareRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UserAPIsApiService) DownloadUserFile ¶
func (a *UserAPIsApiService) DownloadUserFile(ctx context.Context) UserAPIsApiApiDownloadUserFileRequest
DownloadUserFile Download a single file
Returns the file contents as response body
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiDownloadUserFileRequest
func (*UserAPIsApiService) DownloadUserFileExecute ¶
func (a *UserAPIsApiService) DownloadUserFileExecute(r UserAPIsApiApiDownloadUserFileRequest) (**os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*UserAPIsApiService) GenerateUserRecoveryCodes ¶
func (a *UserAPIsApiService) GenerateUserRecoveryCodes(ctx context.Context) UserAPIsApiApiGenerateUserRecoveryCodesRequest
GenerateUserRecoveryCodes Generate recovery codes
Generates new recovery codes for the logged in user. Generating new recovery codes you automatically invalidate old ones
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGenerateUserRecoveryCodesRequest
func (*UserAPIsApiService) GenerateUserRecoveryCodesExecute ¶
func (a *UserAPIsApiService) GenerateUserRecoveryCodesExecute(r UserAPIsApiApiGenerateUserRecoveryCodesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*UserAPIsApiService) GenerateUserTotpSecret ¶
func (a *UserAPIsApiService) GenerateUserTotpSecret(ctx context.Context) UserAPIsApiApiGenerateUserTotpSecretRequest
GenerateUserTotpSecret Generate a new TOTP secret
Generates a new TOTP secret, including the QR code as png, using the specified configuration for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGenerateUserTotpSecretRequest
func (*UserAPIsApiService) GenerateUserTotpSecretExecute ¶
func (a *UserAPIsApiService) GenerateUserTotpSecretExecute(r UserAPIsApiApiGenerateUserTotpSecretRequest) (*InlineResponse200, *http.Response, error)
Execute executes the request
@return InlineResponse200
func (*UserAPIsApiService) GetUserDirContents ¶
func (a *UserAPIsApiService) GetUserDirContents(ctx context.Context) UserAPIsApiApiGetUserDirContentsRequest
GetUserDirContents Read directory contents
Returns the contents of the specified directory for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserDirContentsRequest
func (*UserAPIsApiService) GetUserDirContentsExecute ¶
func (a *UserAPIsApiService) GetUserDirContentsExecute(r UserAPIsApiApiGetUserDirContentsRequest) ([]DirEntry, *http.Response, error)
Execute executes the request
@return []DirEntry
func (*UserAPIsApiService) GetUserFile ¶
func (a *UserAPIsApiService) GetUserFile(ctx context.Context) UserAPIsApiApiGetUserFileRequest
GetUserFile Download a single file
Returns the file contents as response body. Please use '/user/files' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserFileRequest
Deprecated
func (*UserAPIsApiService) GetUserFileExecute ¶
func (a *UserAPIsApiService) GetUserFileExecute(r UserAPIsApiApiGetUserFileRequest) (**os.File, *http.Response, error)
Execute executes the request
@return *os.File
Deprecated
func (*UserAPIsApiService) GetUserFolderContents ¶
func (a *UserAPIsApiService) GetUserFolderContents(ctx context.Context) UserAPIsApiApiGetUserFolderContentsRequest
GetUserFolderContents Read folders contents
Returns the contents of the specified folder for the logged in user. Please use '/user/dirs' instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserFolderContentsRequest
Deprecated
func (*UserAPIsApiService) GetUserFolderContentsExecute ¶
func (a *UserAPIsApiService) GetUserFolderContentsExecute(r UserAPIsApiApiGetUserFolderContentsRequest) ([]DirEntry, *http.Response, error)
Execute executes the request
@return []DirEntry
Deprecated
func (*UserAPIsApiService) GetUserProfile ¶
func (a *UserAPIsApiService) GetUserProfile(ctx context.Context) UserAPIsApiApiGetUserProfileRequest
GetUserProfile Get user profile
Returns the profile for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserProfileRequest
func (*UserAPIsApiService) GetUserProfileExecute ¶
func (a *UserAPIsApiService) GetUserProfileExecute(r UserAPIsApiApiGetUserProfileRequest) (*UserProfile, *http.Response, error)
Execute executes the request
@return UserProfile
func (*UserAPIsApiService) GetUserPublicKeys ¶
func (a *UserAPIsApiService) GetUserPublicKeys(ctx context.Context) UserAPIsApiApiGetUserPublicKeysRequest
GetUserPublicKeys Get the user's public keys
Returns the public keys for the logged in user. Deprecated please use "/user/profile" instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserPublicKeysRequest
Deprecated
func (*UserAPIsApiService) GetUserPublicKeysExecute ¶
func (a *UserAPIsApiService) GetUserPublicKeysExecute(r UserAPIsApiApiGetUserPublicKeysRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
Deprecated
func (*UserAPIsApiService) GetUserRecoveryCodes ¶
func (a *UserAPIsApiService) GetUserRecoveryCodes(ctx context.Context) UserAPIsApiApiGetUserRecoveryCodesRequest
GetUserRecoveryCodes Get recovery codes
Returns the recovery codes for the logged in user. Recovery codes can be used if the user loses access to their second factor auth device. Recovery codes are returned unencrypted
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserRecoveryCodesRequest
func (*UserAPIsApiService) GetUserRecoveryCodesExecute ¶
func (a *UserAPIsApiService) GetUserRecoveryCodesExecute(r UserAPIsApiApiGetUserRecoveryCodesRequest) ([]RecoveryCode, *http.Response, error)
Execute executes the request
@return []RecoveryCode
func (*UserAPIsApiService) GetUserShareById ¶
func (a *UserAPIsApiService) GetUserShareById(ctx context.Context, id string) UserAPIsApiApiGetUserShareByIdRequest
GetUserShareById Get share by id
Returns a share by id for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return UserAPIsApiApiGetUserShareByIdRequest
func (*UserAPIsApiService) GetUserShareByIdExecute ¶
func (a *UserAPIsApiService) GetUserShareByIdExecute(r UserAPIsApiApiGetUserShareByIdRequest) (*Share, *http.Response, error)
Execute executes the request
@return Share
func (*UserAPIsApiService) GetUserShares ¶
func (a *UserAPIsApiService) GetUserShares(ctx context.Context) UserAPIsApiApiGetUserSharesRequest
GetUserShares List user shares
Returns the share for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserSharesRequest
func (*UserAPIsApiService) GetUserSharesExecute ¶
func (a *UserAPIsApiService) GetUserSharesExecute(r UserAPIsApiApiGetUserSharesRequest) ([]Share, *http.Response, error)
Execute executes the request
@return []Share
func (*UserAPIsApiService) GetUserTotpConfigs ¶
func (a *UserAPIsApiService) GetUserTotpConfigs(ctx context.Context) UserAPIsApiApiGetUserTotpConfigsRequest
GetUserTotpConfigs Get available TOTP configuration
Returns the available TOTP configurations for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiGetUserTotpConfigsRequest
func (*UserAPIsApiService) GetUserTotpConfigsExecute ¶
func (a *UserAPIsApiService) GetUserTotpConfigsExecute(r UserAPIsApiApiGetUserTotpConfigsRequest) ([]TOTPConfig, *http.Response, error)
Execute executes the request
@return []TOTPConfig
func (*UserAPIsApiService) RenameUserDir ¶
func (a *UserAPIsApiService) RenameUserDir(ctx context.Context) UserAPIsApiApiRenameUserDirRequest
RenameUserDir Rename a directory
Rename a directory for the logged in user. The rename is allowed for empty directory or for non empty local directories, with no virtual folders inside
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiRenameUserDirRequest
func (*UserAPIsApiService) RenameUserDirExecute ¶
func (a *UserAPIsApiService) RenameUserDirExecute(r UserAPIsApiApiRenameUserDirRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) RenameUserFile ¶
func (a *UserAPIsApiService) RenameUserFile(ctx context.Context) UserAPIsApiApiRenameUserFileRequest
RenameUserFile Rename a file
Rename a file for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiRenameUserFileRequest
func (*UserAPIsApiService) RenameUserFileExecute ¶
func (a *UserAPIsApiService) RenameUserFileExecute(r UserAPIsApiApiRenameUserFileRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) SaveUserTotpConfig ¶
func (a *UserAPIsApiService) SaveUserTotpConfig(ctx context.Context) UserAPIsApiApiSaveUserTotpConfigRequest
SaveUserTotpConfig Save a TOTP config
Saves the specified TOTP config for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiSaveUserTotpConfigRequest
func (*UserAPIsApiService) SaveUserTotpConfigExecute ¶
func (a *UserAPIsApiService) SaveUserTotpConfigExecute(r UserAPIsApiApiSaveUserTotpConfigRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UserAPIsApiService) SetUserPublicKeys ¶
func (a *UserAPIsApiService) SetUserPublicKeys(ctx context.Context) UserAPIsApiApiSetUserPublicKeysRequest
SetUserPublicKeys Set the user's public keys
Sets the public keys for the logged in user. Public keys must be in OpenSSH format. Deprecated please use "/user/profile" instead
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiSetUserPublicKeysRequest
Deprecated
func (*UserAPIsApiService) SetUserPublicKeysExecute ¶
func (a *UserAPIsApiService) SetUserPublicKeysExecute(r UserAPIsApiApiSetUserPublicKeysRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
Deprecated
func (*UserAPIsApiService) SetpropsUserFile ¶
func (a *UserAPIsApiService) SetpropsUserFile(ctx context.Context) UserAPIsApiApiSetpropsUserFileRequest
SetpropsUserFile Set metadata for a file/directory
Set supported metadata attributes for the specified file or directory
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiSetpropsUserFileRequest
func (*UserAPIsApiService) SetpropsUserFileExecute ¶
func (a *UserAPIsApiService) SetpropsUserFileExecute(r UserAPIsApiApiSetpropsUserFileRequest) ([]ApiResponse, *http.Response, error)
Execute executes the request
@return []ApiResponse
func (*UserAPIsApiService) Streamzip ¶
func (a *UserAPIsApiService) Streamzip(ctx context.Context) UserAPIsApiApiStreamzipRequest
Streamzip Download multiple files and folders as a single zip file
A zip file, containing the specified files and folders, will be generated on the fly and returned as response body. Only folders and regular files will be included in the zip
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiStreamzipRequest
func (*UserAPIsApiService) StreamzipExecute ¶
func (a *UserAPIsApiService) StreamzipExecute(r UserAPIsApiApiStreamzipRequest) (**os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*UserAPIsApiService) UpdateUserProfile ¶
func (a *UserAPIsApiService) UpdateUserProfile(ctx context.Context) UserAPIsApiApiUpdateUserProfileRequest
UpdateUserProfile Update user profile
Allows to update the profile for the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiUpdateUserProfileRequest
func (*UserAPIsApiService) UpdateUserProfileExecute ¶
func (a *UserAPIsApiService) UpdateUserProfileExecute(r UserAPIsApiApiUpdateUserProfileRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UserAPIsApiService) UpdateUserShare ¶
func (a *UserAPIsApiService) UpdateUserShare(ctx context.Context, id string) UserAPIsApiApiUpdateUserShareRequest
UpdateUserShare Update share
Updates an existing share belonging to the logged in user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id the share id @return UserAPIsApiApiUpdateUserShareRequest
func (*UserAPIsApiService) UpdateUserShareExecute ¶
func (a *UserAPIsApiService) UpdateUserShareExecute(r UserAPIsApiApiUpdateUserShareRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UserAPIsApiService) ValidateUserTotpSecret ¶
func (a *UserAPIsApiService) ValidateUserTotpSecret(ctx context.Context) UserAPIsApiApiValidateUserTotpSecretRequest
ValidateUserTotpSecret Validate a one time authentication code
Checks if the given authentication code can be validated using the specified secret and config name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIsApiApiValidateUserTotpSecretRequest
func (*UserAPIsApiService) ValidateUserTotpSecretExecute ¶
func (a *UserAPIsApiService) ValidateUserTotpSecretExecute(r UserAPIsApiApiValidateUserTotpSecretRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type UserFilters ¶
type UserFilters struct { // only clients connecting from these IP/Mask are allowed. IP/Mask must be in CIDR notation as defined in RFC 4632 and RFC 4291, for example \"192.0.2.0/24\" or \"2001:db8::/32\" AllowedIp []string `json:"allowed_ip,omitempty"` // clients connecting from these IP/Mask are not allowed. Denied rules are evaluated before allowed ones DeniedIp []string `json:"denied_ip,omitempty"` // if null or empty any available login method is allowed DeniedLoginMethods []LoginMethods `json:"denied_login_methods,omitempty"` // if null or empty any available protocol is allowed DeniedProtocols []SupportedProtocols `json:"denied_protocols,omitempty"` // filters based on shell like file patterns. These restrictions do not apply to files listing for performance reasons, so a denied file cannot be downloaded/overwritten/renamed but it will still be in the list of files. Please note that these restrictions can be easily bypassed FilePatterns []PatternsFilter `json:"file_patterns,omitempty"` // maximum allowed size, as bytes, for a single file upload. The upload will be aborted if/when the size of the file being sent exceeds this limit. 0 means unlimited. This restriction does not apply for SSH system commands such as `git` and `rsync` MaxUploadFileSize *int64 `json:"max_upload_file_size,omitempty"` // defines the TLS certificate field to use as username. For FTP clients it must match the name provided using the \"USER\" command. For WebDAV, if no username is provided, the CN will be used as username. For WebDAV clients it must match the implicit or provided username. Ignored if mutual TLS is disabled TlsUsername *string `json:"tls_username,omitempty"` Hooks *HooksFilter `json:"hooks,omitempty"` // Disable checks for existence and automatic creation of home directory and virtual folders. SFTPGo requires that the user's home directory, virtual folder root, and intermediate paths to virtual folders exist to work properly. If you already know that the required directories exist, disabling these checks will speed up login. You could, for example, disable these checks after the first login DisableFsChecks *bool `json:"disable_fs_checks,omitempty"` // WebClient/user REST API related configuration options WebClient []WebClientOptions `json:"web_client,omitempty"` // API key authentication allows to impersonate this user with an API key AllowApiKeyAuth *bool `json:"allow_api_key_auth,omitempty"` UserType *UserType `json:"user_type,omitempty"` TotpConfig *UserTOTPConfig `json:"totp_config,omitempty"` RecoveryCodes []RecoveryCode `json:"recovery_codes,omitempty"` BandwidthLimits []BandwidthLimit `json:"bandwidth_limits,omitempty"` DataTransferLimits []DataTransferLimit `json:"data_transfer_limits,omitempty"` }
UserFilters Additional user options
func NewUserFilters ¶
func NewUserFilters() *UserFilters
NewUserFilters instantiates a new UserFilters 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 NewUserFiltersWithDefaults ¶
func NewUserFiltersWithDefaults() *UserFilters
NewUserFiltersWithDefaults instantiates a new UserFilters 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 (*UserFilters) GetAllowApiKeyAuth ¶
func (o *UserFilters) GetAllowApiKeyAuth() bool
GetAllowApiKeyAuth returns the AllowApiKeyAuth field value if set, zero value otherwise.
func (*UserFilters) GetAllowApiKeyAuthOk ¶
func (o *UserFilters) GetAllowApiKeyAuthOk() (*bool, bool)
GetAllowApiKeyAuthOk returns a tuple with the AllowApiKeyAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetAllowedIp ¶
func (o *UserFilters) GetAllowedIp() []string
GetAllowedIp returns the AllowedIp field value if set, zero value otherwise.
func (*UserFilters) GetAllowedIpOk ¶
func (o *UserFilters) GetAllowedIpOk() ([]string, bool)
GetAllowedIpOk returns a tuple with the AllowedIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetBandwidthLimits ¶
func (o *UserFilters) GetBandwidthLimits() []BandwidthLimit
GetBandwidthLimits returns the BandwidthLimits field value if set, zero value otherwise.
func (*UserFilters) GetBandwidthLimitsOk ¶
func (o *UserFilters) GetBandwidthLimitsOk() ([]BandwidthLimit, bool)
GetBandwidthLimitsOk returns a tuple with the BandwidthLimits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetDataTransferLimits ¶
func (o *UserFilters) GetDataTransferLimits() []DataTransferLimit
GetDataTransferLimits returns the DataTransferLimits field value if set, zero value otherwise.
func (*UserFilters) GetDataTransferLimitsOk ¶
func (o *UserFilters) GetDataTransferLimitsOk() ([]DataTransferLimit, bool)
GetDataTransferLimitsOk returns a tuple with the DataTransferLimits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetDeniedIp ¶
func (o *UserFilters) GetDeniedIp() []string
GetDeniedIp returns the DeniedIp field value if set, zero value otherwise.
func (*UserFilters) GetDeniedIpOk ¶
func (o *UserFilters) GetDeniedIpOk() ([]string, bool)
GetDeniedIpOk returns a tuple with the DeniedIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetDeniedLoginMethods ¶
func (o *UserFilters) GetDeniedLoginMethods() []LoginMethods
GetDeniedLoginMethods returns the DeniedLoginMethods field value if set, zero value otherwise.
func (*UserFilters) GetDeniedLoginMethodsOk ¶
func (o *UserFilters) GetDeniedLoginMethodsOk() ([]LoginMethods, bool)
GetDeniedLoginMethodsOk returns a tuple with the DeniedLoginMethods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetDeniedProtocols ¶
func (o *UserFilters) GetDeniedProtocols() []SupportedProtocols
GetDeniedProtocols returns the DeniedProtocols field value if set, zero value otherwise.
func (*UserFilters) GetDeniedProtocolsOk ¶
func (o *UserFilters) GetDeniedProtocolsOk() ([]SupportedProtocols, bool)
GetDeniedProtocolsOk returns a tuple with the DeniedProtocols field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetDisableFsChecks ¶
func (o *UserFilters) GetDisableFsChecks() bool
GetDisableFsChecks returns the DisableFsChecks field value if set, zero value otherwise.
func (*UserFilters) GetDisableFsChecksOk ¶
func (o *UserFilters) GetDisableFsChecksOk() (*bool, bool)
GetDisableFsChecksOk returns a tuple with the DisableFsChecks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetFilePatterns ¶
func (o *UserFilters) GetFilePatterns() []PatternsFilter
GetFilePatterns returns the FilePatterns field value if set, zero value otherwise.
func (*UserFilters) GetFilePatternsOk ¶
func (o *UserFilters) GetFilePatternsOk() ([]PatternsFilter, bool)
GetFilePatternsOk returns a tuple with the FilePatterns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetHooks ¶
func (o *UserFilters) GetHooks() HooksFilter
GetHooks returns the Hooks field value if set, zero value otherwise.
func (*UserFilters) GetHooksOk ¶
func (o *UserFilters) GetHooksOk() (*HooksFilter, bool)
GetHooksOk returns a tuple with the Hooks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetMaxUploadFileSize ¶
func (o *UserFilters) GetMaxUploadFileSize() int64
GetMaxUploadFileSize returns the MaxUploadFileSize field value if set, zero value otherwise.
func (*UserFilters) GetMaxUploadFileSizeOk ¶
func (o *UserFilters) GetMaxUploadFileSizeOk() (*int64, bool)
GetMaxUploadFileSizeOk returns a tuple with the MaxUploadFileSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetRecoveryCodes ¶
func (o *UserFilters) GetRecoveryCodes() []RecoveryCode
GetRecoveryCodes returns the RecoveryCodes field value if set, zero value otherwise.
func (*UserFilters) GetRecoveryCodesOk ¶
func (o *UserFilters) GetRecoveryCodesOk() ([]RecoveryCode, bool)
GetRecoveryCodesOk returns a tuple with the RecoveryCodes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetTlsUsername ¶
func (o *UserFilters) GetTlsUsername() string
GetTlsUsername returns the TlsUsername field value if set, zero value otherwise.
func (*UserFilters) GetTlsUsernameOk ¶
func (o *UserFilters) GetTlsUsernameOk() (*string, bool)
GetTlsUsernameOk returns a tuple with the TlsUsername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetTotpConfig ¶
func (o *UserFilters) GetTotpConfig() UserTOTPConfig
GetTotpConfig returns the TotpConfig field value if set, zero value otherwise.
func (*UserFilters) GetTotpConfigOk ¶
func (o *UserFilters) GetTotpConfigOk() (*UserTOTPConfig, bool)
GetTotpConfigOk returns a tuple with the TotpConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetUserType ¶
func (o *UserFilters) GetUserType() UserType
GetUserType returns the UserType field value if set, zero value otherwise.
func (*UserFilters) GetUserTypeOk ¶
func (o *UserFilters) GetUserTypeOk() (*UserType, bool)
GetUserTypeOk returns a tuple with the UserType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) GetWebClient ¶
func (o *UserFilters) GetWebClient() []WebClientOptions
GetWebClient returns the WebClient field value if set, zero value otherwise.
func (*UserFilters) GetWebClientOk ¶
func (o *UserFilters) GetWebClientOk() ([]WebClientOptions, bool)
GetWebClientOk returns a tuple with the WebClient field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserFilters) HasAllowApiKeyAuth ¶
func (o *UserFilters) HasAllowApiKeyAuth() bool
HasAllowApiKeyAuth returns a boolean if a field has been set.
func (*UserFilters) HasAllowedIp ¶
func (o *UserFilters) HasAllowedIp() bool
HasAllowedIp returns a boolean if a field has been set.
func (*UserFilters) HasBandwidthLimits ¶
func (o *UserFilters) HasBandwidthLimits() bool
HasBandwidthLimits returns a boolean if a field has been set.
func (*UserFilters) HasDataTransferLimits ¶
func (o *UserFilters) HasDataTransferLimits() bool
HasDataTransferLimits returns a boolean if a field has been set.
func (*UserFilters) HasDeniedIp ¶
func (o *UserFilters) HasDeniedIp() bool
HasDeniedIp returns a boolean if a field has been set.
func (*UserFilters) HasDeniedLoginMethods ¶
func (o *UserFilters) HasDeniedLoginMethods() bool
HasDeniedLoginMethods returns a boolean if a field has been set.
func (*UserFilters) HasDeniedProtocols ¶
func (o *UserFilters) HasDeniedProtocols() bool
HasDeniedProtocols returns a boolean if a field has been set.
func (*UserFilters) HasDisableFsChecks ¶
func (o *UserFilters) HasDisableFsChecks() bool
HasDisableFsChecks returns a boolean if a field has been set.
func (*UserFilters) HasFilePatterns ¶
func (o *UserFilters) HasFilePatterns() bool
HasFilePatterns returns a boolean if a field has been set.
func (*UserFilters) HasHooks ¶
func (o *UserFilters) HasHooks() bool
HasHooks returns a boolean if a field has been set.
func (*UserFilters) HasMaxUploadFileSize ¶
func (o *UserFilters) HasMaxUploadFileSize() bool
HasMaxUploadFileSize returns a boolean if a field has been set.
func (*UserFilters) HasRecoveryCodes ¶
func (o *UserFilters) HasRecoveryCodes() bool
HasRecoveryCodes returns a boolean if a field has been set.
func (*UserFilters) HasTlsUsername ¶
func (o *UserFilters) HasTlsUsername() bool
HasTlsUsername returns a boolean if a field has been set.
func (*UserFilters) HasTotpConfig ¶
func (o *UserFilters) HasTotpConfig() bool
HasTotpConfig returns a boolean if a field has been set.
func (*UserFilters) HasUserType ¶
func (o *UserFilters) HasUserType() bool
HasUserType returns a boolean if a field has been set.
func (*UserFilters) HasWebClient ¶
func (o *UserFilters) HasWebClient() bool
HasWebClient returns a boolean if a field has been set.
func (UserFilters) MarshalJSON ¶
func (o UserFilters) MarshalJSON() ([]byte, error)
func (*UserFilters) SetAllowApiKeyAuth ¶
func (o *UserFilters) SetAllowApiKeyAuth(v bool)
SetAllowApiKeyAuth gets a reference to the given bool and assigns it to the AllowApiKeyAuth field.
func (*UserFilters) SetAllowedIp ¶
func (o *UserFilters) SetAllowedIp(v []string)
SetAllowedIp gets a reference to the given []string and assigns it to the AllowedIp field.
func (*UserFilters) SetBandwidthLimits ¶
func (o *UserFilters) SetBandwidthLimits(v []BandwidthLimit)
SetBandwidthLimits gets a reference to the given []BandwidthLimit and assigns it to the BandwidthLimits field.
func (*UserFilters) SetDataTransferLimits ¶
func (o *UserFilters) SetDataTransferLimits(v []DataTransferLimit)
SetDataTransferLimits gets a reference to the given []DataTransferLimit and assigns it to the DataTransferLimits field.
func (*UserFilters) SetDeniedIp ¶
func (o *UserFilters) SetDeniedIp(v []string)
SetDeniedIp gets a reference to the given []string and assigns it to the DeniedIp field.
func (*UserFilters) SetDeniedLoginMethods ¶
func (o *UserFilters) SetDeniedLoginMethods(v []LoginMethods)
SetDeniedLoginMethods gets a reference to the given []LoginMethods and assigns it to the DeniedLoginMethods field.
func (*UserFilters) SetDeniedProtocols ¶
func (o *UserFilters) SetDeniedProtocols(v []SupportedProtocols)
SetDeniedProtocols gets a reference to the given []SupportedProtocols and assigns it to the DeniedProtocols field.
func (*UserFilters) SetDisableFsChecks ¶
func (o *UserFilters) SetDisableFsChecks(v bool)
SetDisableFsChecks gets a reference to the given bool and assigns it to the DisableFsChecks field.
func (*UserFilters) SetFilePatterns ¶
func (o *UserFilters) SetFilePatterns(v []PatternsFilter)
SetFilePatterns gets a reference to the given []PatternsFilter and assigns it to the FilePatterns field.
func (*UserFilters) SetHooks ¶
func (o *UserFilters) SetHooks(v HooksFilter)
SetHooks gets a reference to the given HooksFilter and assigns it to the Hooks field.
func (*UserFilters) SetMaxUploadFileSize ¶
func (o *UserFilters) SetMaxUploadFileSize(v int64)
SetMaxUploadFileSize gets a reference to the given int64 and assigns it to the MaxUploadFileSize field.
func (*UserFilters) SetRecoveryCodes ¶
func (o *UserFilters) SetRecoveryCodes(v []RecoveryCode)
SetRecoveryCodes gets a reference to the given []RecoveryCode and assigns it to the RecoveryCodes field.
func (*UserFilters) SetTlsUsername ¶
func (o *UserFilters) SetTlsUsername(v string)
SetTlsUsername gets a reference to the given string and assigns it to the TlsUsername field.
func (*UserFilters) SetTotpConfig ¶
func (o *UserFilters) SetTotpConfig(v UserTOTPConfig)
SetTotpConfig gets a reference to the given UserTOTPConfig and assigns it to the TotpConfig field.
func (*UserFilters) SetUserType ¶
func (o *UserFilters) SetUserType(v UserType)
SetUserType gets a reference to the given UserType and assigns it to the UserType field.
func (*UserFilters) SetWebClient ¶
func (o *UserFilters) SetWebClient(v []WebClientOptions)
SetWebClient gets a reference to the given []WebClientOptions and assigns it to the WebClient field.
type UserProfile ¶
type UserProfile struct { Email *string `json:"email,omitempty"` Description *string `json:"description,omitempty"` // If enabled, you can impersonate this user, in REST API, using an API key. If disabled user credentials are required for impersonation AllowApiKeyAuth *bool `json:"allow_api_key_auth,omitempty"` PublicKeys []string `json:"public_keys,omitempty"` }
UserProfile struct for UserProfile
func NewUserProfile ¶
func NewUserProfile() *UserProfile
NewUserProfile instantiates a new UserProfile 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 NewUserProfileWithDefaults ¶
func NewUserProfileWithDefaults() *UserProfile
NewUserProfileWithDefaults instantiates a new UserProfile 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 (*UserProfile) GetAllowApiKeyAuth ¶
func (o *UserProfile) GetAllowApiKeyAuth() bool
GetAllowApiKeyAuth returns the AllowApiKeyAuth field value if set, zero value otherwise.
func (*UserProfile) GetAllowApiKeyAuthOk ¶
func (o *UserProfile) GetAllowApiKeyAuthOk() (*bool, bool)
GetAllowApiKeyAuthOk returns a tuple with the AllowApiKeyAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProfile) GetDescription ¶
func (o *UserProfile) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UserProfile) GetDescriptionOk ¶
func (o *UserProfile) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProfile) GetEmail ¶
func (o *UserProfile) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UserProfile) GetEmailOk ¶
func (o *UserProfile) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProfile) GetPublicKeys ¶
func (o *UserProfile) GetPublicKeys() []string
GetPublicKeys returns the PublicKeys field value if set, zero value otherwise.
func (*UserProfile) GetPublicKeysOk ¶
func (o *UserProfile) GetPublicKeysOk() ([]string, bool)
GetPublicKeysOk returns a tuple with the PublicKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProfile) HasAllowApiKeyAuth ¶
func (o *UserProfile) HasAllowApiKeyAuth() bool
HasAllowApiKeyAuth returns a boolean if a field has been set.
func (*UserProfile) HasDescription ¶
func (o *UserProfile) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UserProfile) HasEmail ¶
func (o *UserProfile) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UserProfile) HasPublicKeys ¶
func (o *UserProfile) HasPublicKeys() bool
HasPublicKeys returns a boolean if a field has been set.
func (UserProfile) MarshalJSON ¶
func (o UserProfile) MarshalJSON() ([]byte, error)
func (*UserProfile) SetAllowApiKeyAuth ¶
func (o *UserProfile) SetAllowApiKeyAuth(v bool)
SetAllowApiKeyAuth gets a reference to the given bool and assigns it to the AllowApiKeyAuth field.
func (*UserProfile) SetDescription ¶
func (o *UserProfile) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UserProfile) SetEmail ¶
func (o *UserProfile) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UserProfile) SetPublicKeys ¶
func (o *UserProfile) SetPublicKeys(v []string)
SetPublicKeys gets a reference to the given []string and assigns it to the PublicKeys field.
type UserTOTPConfig ¶
type UserTOTPConfig struct { Enabled *bool `json:"enabled,omitempty"` // This name must be defined within the \"totp\" section of the SFTPGo configuration file. You will be unable to save a user/admin referencing a missing config_name ConfigName *string `json:"config_name,omitempty"` Secret *Secret `json:"secret,omitempty"` // TOTP will be required for the specified protocols. SSH protocol (SFTP/SCP/SSH commands) will ask for the TOTP passcode if the client uses keyboard interactive authentication. FTP has no standard way to support two factor authentication, if you enable the FTP support, you have to add the TOTP passcode after the password. For example if your password is \"password\" and your one time passcode is \"123456\" you have to use \"password123456\" as password. WebDAV is not supported since each single request must be authenticated and a passcode cannot be reused. Protocols []MFAProtocols `json:"protocols,omitempty"` }
UserTOTPConfig struct for UserTOTPConfig
func NewUserTOTPConfig ¶
func NewUserTOTPConfig() *UserTOTPConfig
NewUserTOTPConfig instantiates a new UserTOTPConfig 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 NewUserTOTPConfigWithDefaults ¶
func NewUserTOTPConfigWithDefaults() *UserTOTPConfig
NewUserTOTPConfigWithDefaults instantiates a new UserTOTPConfig 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 (*UserTOTPConfig) GetConfigName ¶
func (o *UserTOTPConfig) GetConfigName() string
GetConfigName returns the ConfigName field value if set, zero value otherwise.
func (*UserTOTPConfig) GetConfigNameOk ¶
func (o *UserTOTPConfig) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserTOTPConfig) GetEnabled ¶
func (o *UserTOTPConfig) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UserTOTPConfig) GetEnabledOk ¶
func (o *UserTOTPConfig) 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 (*UserTOTPConfig) GetProtocols ¶
func (o *UserTOTPConfig) GetProtocols() []MFAProtocols
GetProtocols returns the Protocols field value if set, zero value otherwise.
func (*UserTOTPConfig) GetProtocolsOk ¶
func (o *UserTOTPConfig) GetProtocolsOk() ([]MFAProtocols, bool)
GetProtocolsOk returns a tuple with the Protocols field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserTOTPConfig) GetSecret ¶
func (o *UserTOTPConfig) GetSecret() Secret
GetSecret returns the Secret field value if set, zero value otherwise.
func (*UserTOTPConfig) GetSecretOk ¶
func (o *UserTOTPConfig) GetSecretOk() (*Secret, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserTOTPConfig) HasConfigName ¶
func (o *UserTOTPConfig) HasConfigName() bool
HasConfigName returns a boolean if a field has been set.
func (*UserTOTPConfig) HasEnabled ¶
func (o *UserTOTPConfig) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UserTOTPConfig) HasProtocols ¶
func (o *UserTOTPConfig) HasProtocols() bool
HasProtocols returns a boolean if a field has been set.
func (*UserTOTPConfig) HasSecret ¶
func (o *UserTOTPConfig) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (UserTOTPConfig) MarshalJSON ¶
func (o UserTOTPConfig) MarshalJSON() ([]byte, error)
func (*UserTOTPConfig) SetConfigName ¶
func (o *UserTOTPConfig) SetConfigName(v string)
SetConfigName gets a reference to the given string and assigns it to the ConfigName field.
func (*UserTOTPConfig) SetEnabled ¶
func (o *UserTOTPConfig) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UserTOTPConfig) SetProtocols ¶
func (o *UserTOTPConfig) SetProtocols(v []MFAProtocols)
SetProtocols gets a reference to the given []MFAProtocols and assigns it to the Protocols field.
func (*UserTOTPConfig) SetSecret ¶
func (o *UserTOTPConfig) SetSecret(v Secret)
SetSecret gets a reference to the given Secret and assigns it to the Secret field.
type UserTOTPConfigAllOf ¶
type UserTOTPConfigAllOf struct { // TOTP will be required for the specified protocols. SSH protocol (SFTP/SCP/SSH commands) will ask for the TOTP passcode if the client uses keyboard interactive authentication. FTP has no standard way to support two factor authentication, if you enable the FTP support, you have to add the TOTP passcode after the password. For example if your password is \"password\" and your one time passcode is \"123456\" you have to use \"password123456\" as password. WebDAV is not supported since each single request must be authenticated and a passcode cannot be reused. Protocols []MFAProtocols `json:"protocols,omitempty"` }
UserTOTPConfigAllOf struct for UserTOTPConfigAllOf
func NewUserTOTPConfigAllOf ¶
func NewUserTOTPConfigAllOf() *UserTOTPConfigAllOf
NewUserTOTPConfigAllOf instantiates a new UserTOTPConfigAllOf 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 NewUserTOTPConfigAllOfWithDefaults ¶
func NewUserTOTPConfigAllOfWithDefaults() *UserTOTPConfigAllOf
NewUserTOTPConfigAllOfWithDefaults instantiates a new UserTOTPConfigAllOf 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 (*UserTOTPConfigAllOf) GetProtocols ¶
func (o *UserTOTPConfigAllOf) GetProtocols() []MFAProtocols
GetProtocols returns the Protocols field value if set, zero value otherwise.
func (*UserTOTPConfigAllOf) GetProtocolsOk ¶
func (o *UserTOTPConfigAllOf) GetProtocolsOk() ([]MFAProtocols, bool)
GetProtocolsOk returns a tuple with the Protocols field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserTOTPConfigAllOf) HasProtocols ¶
func (o *UserTOTPConfigAllOf) HasProtocols() bool
HasProtocols returns a boolean if a field has been set.
func (UserTOTPConfigAllOf) MarshalJSON ¶
func (o UserTOTPConfigAllOf) MarshalJSON() ([]byte, error)
func (*UserTOTPConfigAllOf) SetProtocols ¶
func (o *UserTOTPConfigAllOf) SetProtocols(v []MFAProtocols)
SetProtocols gets a reference to the given []MFAProtocols and assigns it to the Protocols field.
type UserType ¶
type UserType string
UserType This is an hint for authentication plugins. It is ignored when using SFTPGo internal authentication
const ( USERTYPE_EMPTY UserType = "" USERTYPE_LDAP_USER UserType = "LDAPUser" USERTYPE_OS_USER UserType = "OSUser" )
List of UserType
func NewUserTypeFromValue ¶
NewUserTypeFromValue returns a pointer to a valid UserType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*UserType) UnmarshalJSON ¶
type UsersApiApiAddUserRequest ¶
type UsersApiApiAddUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiAddUserRequest) Execute ¶
func (r UsersApiApiAddUserRequest) Execute() (*User, *http.Response, error)
func (UsersApiApiAddUserRequest) User ¶
func (r UsersApiApiAddUserRequest) User(user User) UsersApiApiAddUserRequest
type UsersApiApiDeleteUserRequest ¶
type UsersApiApiDeleteUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiDeleteUserRequest) Execute ¶
func (r UsersApiApiDeleteUserRequest) Execute() (*ApiResponse, *http.Response, error)
type UsersApiApiDisableUser2faRequest ¶
type UsersApiApiDisableUser2faRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiDisableUser2faRequest) Execute ¶
func (r UsersApiApiDisableUser2faRequest) Execute() (*ApiResponse, *http.Response, error)
type UsersApiApiGetUserByUsernameRequest ¶
type UsersApiApiGetUserByUsernameRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type UsersApiApiGetUsersRequest ¶
type UsersApiApiGetUsersRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiGetUsersRequest) Execute ¶
func (r UsersApiApiGetUsersRequest) Execute() ([]User, *http.Response, error)
func (UsersApiApiGetUsersRequest) Limit ¶
func (r UsersApiApiGetUsersRequest) Limit(limit int32) UsersApiApiGetUsersRequest
The maximum number of items to return. Max value is 500, default is 100
func (UsersApiApiGetUsersRequest) Offset ¶
func (r UsersApiApiGetUsersRequest) Offset(offset int32) UsersApiApiGetUsersRequest
func (UsersApiApiGetUsersRequest) Order ¶
func (r UsersApiApiGetUsersRequest) Order(order string) UsersApiApiGetUsersRequest
Ordering users by username. Default ASC
type UsersApiApiUpdateUserRequest ¶
type UsersApiApiUpdateUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiUpdateUserRequest) Disconnect ¶
func (r UsersApiApiUpdateUserRequest) Disconnect(disconnect int32) UsersApiApiUpdateUserRequest
Disconnect: * `0` The user will not be disconnected and it will continue to use the old configuration until connected. This is the default * `1` The user will be disconnected after a successful update. It must login again and so it will be forced to use the new configuration
func (UsersApiApiUpdateUserRequest) Execute ¶
func (r UsersApiApiUpdateUserRequest) Execute() (*ApiResponse, *http.Response, error)
func (UsersApiApiUpdateUserRequest) User ¶
func (r UsersApiApiUpdateUserRequest) User(user User) UsersApiApiUpdateUserRequest
type UsersApiApiUserForgotPasswordRequest ¶
type UsersApiApiUserForgotPasswordRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiUserForgotPasswordRequest) Execute ¶
func (r UsersApiApiUserForgotPasswordRequest) Execute() (*ApiResponse, *http.Response, error)
type UsersApiApiUserResetPasswordRequest ¶
type UsersApiApiUserResetPasswordRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (UsersApiApiUserResetPasswordRequest) Execute ¶
func (r UsersApiApiUserResetPasswordRequest) Execute() (*ApiResponse, *http.Response, error)
func (UsersApiApiUserResetPasswordRequest) InlineObject5 ¶
func (r UsersApiApiUserResetPasswordRequest) InlineObject5(inlineObject5 InlineObject5) UsersApiApiUserResetPasswordRequest
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) AddUser ¶
func (a *UsersApiService) AddUser(ctx context.Context) UsersApiApiAddUserRequest
AddUser Add user
Adds a new user.Recovery codes and TOTP configuration cannot be set using this API: each user must use the specific APIs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UsersApiApiAddUserRequest
func (*UsersApiService) AddUserExecute ¶
func (a *UsersApiService) AddUserExecute(r UsersApiApiAddUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UsersApiService) DeleteUser ¶
func (a *UsersApiService) DeleteUser(ctx context.Context, username string) UsersApiApiDeleteUserRequest
DeleteUser Delete user
Deletes an existing user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return UsersApiApiDeleteUserRequest
func (*UsersApiService) DeleteUserExecute ¶
func (a *UsersApiService) DeleteUserExecute(r UsersApiApiDeleteUserRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UsersApiService) DisableUser2fa ¶
func (a *UsersApiService) DisableUser2fa(ctx context.Context, username string) UsersApiApiDisableUser2faRequest
DisableUser2fa Disable second factor authentication
Disables second factor authentication for the given user. This API must be used if the user loses access to their second factor auth device and has no recovery codes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return UsersApiApiDisableUser2faRequest
func (*UsersApiService) DisableUser2faExecute ¶
func (a *UsersApiService) DisableUser2faExecute(r UsersApiApiDisableUser2faRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UsersApiService) GetUserByUsername ¶
func (a *UsersApiService) GetUserByUsername(ctx context.Context, username string) UsersApiApiGetUserByUsernameRequest
GetUserByUsername Find users by username
Returns the user with the given username if it exists. For security reasons the hashed password is omitted in the response
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return UsersApiApiGetUserByUsernameRequest
func (*UsersApiService) GetUserByUsernameExecute ¶
func (a *UsersApiService) GetUserByUsernameExecute(r UsersApiApiGetUserByUsernameRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UsersApiService) GetUsers ¶
func (a *UsersApiService) GetUsers(ctx context.Context) UsersApiApiGetUsersRequest
GetUsers Get users
Returns an array with one or more users. For security reasons hashed passwords are omitted in the response
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UsersApiApiGetUsersRequest
func (*UsersApiService) GetUsersExecute ¶
func (a *UsersApiService) GetUsersExecute(r UsersApiApiGetUsersRequest) ([]User, *http.Response, error)
Execute executes the request
@return []User
func (*UsersApiService) UpdateUser ¶
func (a *UsersApiService) UpdateUser(ctx context.Context, username string) UsersApiApiUpdateUserRequest
UpdateUser Update user
Updates an existing user and optionally disconnects it, if connected, to apply the new settings. Recovery codes and TOTP configuration cannot be set/updated using this API: each user must use the specific APIs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return UsersApiApiUpdateUserRequest
func (*UsersApiService) UpdateUserExecute ¶
func (a *UsersApiService) UpdateUserExecute(r UsersApiApiUpdateUserRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UsersApiService) UserForgotPassword ¶
func (a *UsersApiService) UserForgotPassword(ctx context.Context, username string) UsersApiApiUserForgotPasswordRequest
UserForgotPassword Send a password reset code by email
You must configure an SMTP server, the account must have a valid email address and must not have the "reset-password-disabled" restriction, in which case SFTPGo will send a code via email to reset the password. If the specified user does not exist, the request will be silently ignored (a success response will be returned) to avoid disclosing existing users
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return UsersApiApiUserForgotPasswordRequest
func (*UsersApiService) UserForgotPasswordExecute ¶
func (a *UsersApiService) UserForgotPasswordExecute(r UsersApiApiUserForgotPasswordRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
func (*UsersApiService) UserResetPassword ¶
func (a *UsersApiService) UserResetPassword(ctx context.Context, username string) UsersApiApiUserResetPasswordRequest
UserResetPassword Reset the password
Set a new password using the code received via email
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username the username @return UsersApiApiUserResetPasswordRequest
func (*UsersApiService) UserResetPasswordExecute ¶
func (a *UsersApiService) UserResetPasswordExecute(r UsersApiApiUserResetPasswordRequest) (*ApiResponse, *http.Response, error)
Execute executes the request
@return ApiResponse
type VersionInfo ¶
type VersionInfo struct { Version *string `json:"version,omitempty"` BuildDate *string `json:"build_date,omitempty"` CommitHash *string `json:"commit_hash,omitempty"` // Features for the current build. Available features are \"portable\", \"bolt\", \"mysql\", \"sqlite\", \"pgsql\", \"s3\", \"gcs\", \"metrics\". If a feature is available it has a \"+\" prefix, otherwise a \"-\" prefix Features []string `json:"features,omitempty"` }
VersionInfo struct for VersionInfo
func NewVersionInfo ¶
func NewVersionInfo() *VersionInfo
NewVersionInfo instantiates a new VersionInfo 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 NewVersionInfoWithDefaults ¶
func NewVersionInfoWithDefaults() *VersionInfo
NewVersionInfoWithDefaults instantiates a new VersionInfo 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 (*VersionInfo) GetBuildDate ¶
func (o *VersionInfo) GetBuildDate() string
GetBuildDate returns the BuildDate field value if set, zero value otherwise.
func (*VersionInfo) GetBuildDateOk ¶
func (o *VersionInfo) GetBuildDateOk() (*string, bool)
GetBuildDateOk returns a tuple with the BuildDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionInfo) GetCommitHash ¶
func (o *VersionInfo) GetCommitHash() string
GetCommitHash returns the CommitHash field value if set, zero value otherwise.
func (*VersionInfo) GetCommitHashOk ¶
func (o *VersionInfo) GetCommitHashOk() (*string, bool)
GetCommitHashOk returns a tuple with the CommitHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionInfo) GetFeatures ¶
func (o *VersionInfo) GetFeatures() []string
GetFeatures returns the Features field value if set, zero value otherwise.
func (*VersionInfo) GetFeaturesOk ¶
func (o *VersionInfo) GetFeaturesOk() ([]string, bool)
GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionInfo) GetVersion ¶
func (o *VersionInfo) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*VersionInfo) GetVersionOk ¶
func (o *VersionInfo) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionInfo) HasBuildDate ¶
func (o *VersionInfo) HasBuildDate() bool
HasBuildDate returns a boolean if a field has been set.
func (*VersionInfo) HasCommitHash ¶
func (o *VersionInfo) HasCommitHash() bool
HasCommitHash returns a boolean if a field has been set.
func (*VersionInfo) HasFeatures ¶
func (o *VersionInfo) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (*VersionInfo) HasVersion ¶
func (o *VersionInfo) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (VersionInfo) MarshalJSON ¶
func (o VersionInfo) MarshalJSON() ([]byte, error)
func (*VersionInfo) SetBuildDate ¶
func (o *VersionInfo) SetBuildDate(v string)
SetBuildDate gets a reference to the given string and assigns it to the BuildDate field.
func (*VersionInfo) SetCommitHash ¶
func (o *VersionInfo) SetCommitHash(v string)
SetCommitHash gets a reference to the given string and assigns it to the CommitHash field.
func (*VersionInfo) SetFeatures ¶
func (o *VersionInfo) SetFeatures(v []string)
SetFeatures gets a reference to the given []string and assigns it to the Features field.
func (*VersionInfo) SetVersion ¶
func (o *VersionInfo) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type VirtualFolder ¶
type VirtualFolder struct { Id *int32 `json:"id,omitempty"` // unique name for this virtual folder Name *string `json:"name,omitempty"` // absolute filesystem path to use as virtual folder MappedPath *string `json:"mapped_path,omitempty"` // optional description Description *string `json:"description,omitempty"` UsedQuotaSize *int64 `json:"used_quota_size,omitempty"` UsedQuotaFiles *int32 `json:"used_quota_files,omitempty"` // Last quota update as unix timestamp in milliseconds LastQuotaUpdate *int64 `json:"last_quota_update,omitempty"` // list of usernames associated with this virtual folder Users []string `json:"users,omitempty"` Filesystem *FilesystemConfig `json:"filesystem,omitempty"` VirtualPath string `json:"virtual_path"` // Quota as size in bytes. 0 menas unlimited, -1 means included in user quota. Please note that quota is updated if files are added/removed via SFTPGo otherwise a quota scan or a manual quota update is needed QuotaSize *int64 `json:"quota_size,omitempty"` // Quota as number of files. 0 menas unlimited, , -1 means included in user quota. Please note that quota is updated if files are added/removed via SFTPGo otherwise a quota scan or a manual quota update is needed QuotaFiles *int32 `json:"quota_files,omitempty"` }
VirtualFolder A virtual folder is a mapping between a SFTPGo virtual path and a filesystem path outside the user home directory. The specified paths must be absolute and the virtual path cannot be \"/\", it must be a sub directory. The parent directory for the specified virtual path must exist. SFTPGo will try to automatically create any missing parent directory for the configured virtual folders at user login.
func NewVirtualFolder ¶
func NewVirtualFolder(virtualPath string) *VirtualFolder
NewVirtualFolder instantiates a new VirtualFolder 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 NewVirtualFolderWithDefaults ¶
func NewVirtualFolderWithDefaults() *VirtualFolder
NewVirtualFolderWithDefaults instantiates a new VirtualFolder 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 (*VirtualFolder) GetDescription ¶
func (o *VirtualFolder) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VirtualFolder) GetDescriptionOk ¶
func (o *VirtualFolder) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetFilesystem ¶
func (o *VirtualFolder) GetFilesystem() FilesystemConfig
GetFilesystem returns the Filesystem field value if set, zero value otherwise.
func (*VirtualFolder) GetFilesystemOk ¶
func (o *VirtualFolder) GetFilesystemOk() (*FilesystemConfig, bool)
GetFilesystemOk returns a tuple with the Filesystem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetId ¶
func (o *VirtualFolder) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*VirtualFolder) GetIdOk ¶
func (o *VirtualFolder) GetIdOk() (*int32, 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 (*VirtualFolder) GetLastQuotaUpdate ¶
func (o *VirtualFolder) GetLastQuotaUpdate() int64
GetLastQuotaUpdate returns the LastQuotaUpdate field value if set, zero value otherwise.
func (*VirtualFolder) GetLastQuotaUpdateOk ¶
func (o *VirtualFolder) GetLastQuotaUpdateOk() (*int64, bool)
GetLastQuotaUpdateOk returns a tuple with the LastQuotaUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetMappedPath ¶
func (o *VirtualFolder) GetMappedPath() string
GetMappedPath returns the MappedPath field value if set, zero value otherwise.
func (*VirtualFolder) GetMappedPathOk ¶
func (o *VirtualFolder) GetMappedPathOk() (*string, bool)
GetMappedPathOk returns a tuple with the MappedPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetName ¶
func (o *VirtualFolder) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VirtualFolder) GetNameOk ¶
func (o *VirtualFolder) 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 (*VirtualFolder) GetQuotaFiles ¶
func (o *VirtualFolder) GetQuotaFiles() int32
GetQuotaFiles returns the QuotaFiles field value if set, zero value otherwise.
func (*VirtualFolder) GetQuotaFilesOk ¶
func (o *VirtualFolder) GetQuotaFilesOk() (*int32, bool)
GetQuotaFilesOk returns a tuple with the QuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetQuotaSize ¶
func (o *VirtualFolder) GetQuotaSize() int64
GetQuotaSize returns the QuotaSize field value if set, zero value otherwise.
func (*VirtualFolder) GetQuotaSizeOk ¶
func (o *VirtualFolder) GetQuotaSizeOk() (*int64, bool)
GetQuotaSizeOk returns a tuple with the QuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetUsedQuotaFiles ¶
func (o *VirtualFolder) GetUsedQuotaFiles() int32
GetUsedQuotaFiles returns the UsedQuotaFiles field value if set, zero value otherwise.
func (*VirtualFolder) GetUsedQuotaFilesOk ¶
func (o *VirtualFolder) GetUsedQuotaFilesOk() (*int32, bool)
GetUsedQuotaFilesOk returns a tuple with the UsedQuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetUsedQuotaSize ¶
func (o *VirtualFolder) GetUsedQuotaSize() int64
GetUsedQuotaSize returns the UsedQuotaSize field value if set, zero value otherwise.
func (*VirtualFolder) GetUsedQuotaSizeOk ¶
func (o *VirtualFolder) GetUsedQuotaSizeOk() (*int64, bool)
GetUsedQuotaSizeOk returns a tuple with the UsedQuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolder) GetUsers ¶
func (o *VirtualFolder) GetUsers() []string
GetUsers returns the Users field value if set, zero value otherwise.
func (*VirtualFolder) GetUsersOk ¶
func (o *VirtualFolder) 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 (*VirtualFolder) GetVirtualPath ¶
func (o *VirtualFolder) GetVirtualPath() string
GetVirtualPath returns the VirtualPath field value
func (*VirtualFolder) GetVirtualPathOk ¶
func (o *VirtualFolder) GetVirtualPathOk() (*string, bool)
GetVirtualPathOk returns a tuple with the VirtualPath field value and a boolean to check if the value has been set.
func (*VirtualFolder) HasDescription ¶
func (o *VirtualFolder) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VirtualFolder) HasFilesystem ¶
func (o *VirtualFolder) HasFilesystem() bool
HasFilesystem returns a boolean if a field has been set.
func (*VirtualFolder) HasId ¶
func (o *VirtualFolder) HasId() bool
HasId returns a boolean if a field has been set.
func (*VirtualFolder) HasLastQuotaUpdate ¶
func (o *VirtualFolder) HasLastQuotaUpdate() bool
HasLastQuotaUpdate returns a boolean if a field has been set.
func (*VirtualFolder) HasMappedPath ¶
func (o *VirtualFolder) HasMappedPath() bool
HasMappedPath returns a boolean if a field has been set.
func (*VirtualFolder) HasName ¶
func (o *VirtualFolder) HasName() bool
HasName returns a boolean if a field has been set.
func (*VirtualFolder) HasQuotaFiles ¶
func (o *VirtualFolder) HasQuotaFiles() bool
HasQuotaFiles returns a boolean if a field has been set.
func (*VirtualFolder) HasQuotaSize ¶
func (o *VirtualFolder) HasQuotaSize() bool
HasQuotaSize returns a boolean if a field has been set.
func (*VirtualFolder) HasUsedQuotaFiles ¶
func (o *VirtualFolder) HasUsedQuotaFiles() bool
HasUsedQuotaFiles returns a boolean if a field has been set.
func (*VirtualFolder) HasUsedQuotaSize ¶
func (o *VirtualFolder) HasUsedQuotaSize() bool
HasUsedQuotaSize returns a boolean if a field has been set.
func (*VirtualFolder) HasUsers ¶
func (o *VirtualFolder) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (VirtualFolder) MarshalJSON ¶
func (o VirtualFolder) MarshalJSON() ([]byte, error)
func (*VirtualFolder) SetDescription ¶
func (o *VirtualFolder) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VirtualFolder) SetFilesystem ¶
func (o *VirtualFolder) SetFilesystem(v FilesystemConfig)
SetFilesystem gets a reference to the given FilesystemConfig and assigns it to the Filesystem field.
func (*VirtualFolder) SetId ¶
func (o *VirtualFolder) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*VirtualFolder) SetLastQuotaUpdate ¶
func (o *VirtualFolder) SetLastQuotaUpdate(v int64)
SetLastQuotaUpdate gets a reference to the given int64 and assigns it to the LastQuotaUpdate field.
func (*VirtualFolder) SetMappedPath ¶
func (o *VirtualFolder) SetMappedPath(v string)
SetMappedPath gets a reference to the given string and assigns it to the MappedPath field.
func (*VirtualFolder) SetName ¶
func (o *VirtualFolder) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VirtualFolder) SetQuotaFiles ¶
func (o *VirtualFolder) SetQuotaFiles(v int32)
SetQuotaFiles gets a reference to the given int32 and assigns it to the QuotaFiles field.
func (*VirtualFolder) SetQuotaSize ¶
func (o *VirtualFolder) SetQuotaSize(v int64)
SetQuotaSize gets a reference to the given int64 and assigns it to the QuotaSize field.
func (*VirtualFolder) SetUsedQuotaFiles ¶
func (o *VirtualFolder) SetUsedQuotaFiles(v int32)
SetUsedQuotaFiles gets a reference to the given int32 and assigns it to the UsedQuotaFiles field.
func (*VirtualFolder) SetUsedQuotaSize ¶
func (o *VirtualFolder) SetUsedQuotaSize(v int64)
SetUsedQuotaSize gets a reference to the given int64 and assigns it to the UsedQuotaSize field.
func (*VirtualFolder) SetUsers ¶
func (o *VirtualFolder) SetUsers(v []string)
SetUsers gets a reference to the given []string and assigns it to the Users field.
func (*VirtualFolder) SetVirtualPath ¶
func (o *VirtualFolder) SetVirtualPath(v string)
SetVirtualPath sets field value
type VirtualFolderAllOf ¶
type VirtualFolderAllOf struct { VirtualPath string `json:"virtual_path"` // Quota as size in bytes. 0 menas unlimited, -1 means included in user quota. Please note that quota is updated if files are added/removed via SFTPGo otherwise a quota scan or a manual quota update is needed QuotaSize *int64 `json:"quota_size,omitempty"` // Quota as number of files. 0 menas unlimited, , -1 means included in user quota. Please note that quota is updated if files are added/removed via SFTPGo otherwise a quota scan or a manual quota update is needed QuotaFiles *int32 `json:"quota_files,omitempty"` }
VirtualFolderAllOf struct for VirtualFolderAllOf
func NewVirtualFolderAllOf ¶
func NewVirtualFolderAllOf(virtualPath string) *VirtualFolderAllOf
NewVirtualFolderAllOf instantiates a new VirtualFolderAllOf 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 NewVirtualFolderAllOfWithDefaults ¶
func NewVirtualFolderAllOfWithDefaults() *VirtualFolderAllOf
NewVirtualFolderAllOfWithDefaults instantiates a new VirtualFolderAllOf 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 (*VirtualFolderAllOf) GetQuotaFiles ¶
func (o *VirtualFolderAllOf) GetQuotaFiles() int32
GetQuotaFiles returns the QuotaFiles field value if set, zero value otherwise.
func (*VirtualFolderAllOf) GetQuotaFilesOk ¶
func (o *VirtualFolderAllOf) GetQuotaFilesOk() (*int32, bool)
GetQuotaFilesOk returns a tuple with the QuotaFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolderAllOf) GetQuotaSize ¶
func (o *VirtualFolderAllOf) GetQuotaSize() int64
GetQuotaSize returns the QuotaSize field value if set, zero value otherwise.
func (*VirtualFolderAllOf) GetQuotaSizeOk ¶
func (o *VirtualFolderAllOf) GetQuotaSizeOk() (*int64, bool)
GetQuotaSizeOk returns a tuple with the QuotaSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VirtualFolderAllOf) GetVirtualPath ¶
func (o *VirtualFolderAllOf) GetVirtualPath() string
GetVirtualPath returns the VirtualPath field value
func (*VirtualFolderAllOf) GetVirtualPathOk ¶
func (o *VirtualFolderAllOf) GetVirtualPathOk() (*string, bool)
GetVirtualPathOk returns a tuple with the VirtualPath field value and a boolean to check if the value has been set.
func (*VirtualFolderAllOf) HasQuotaFiles ¶
func (o *VirtualFolderAllOf) HasQuotaFiles() bool
HasQuotaFiles returns a boolean if a field has been set.
func (*VirtualFolderAllOf) HasQuotaSize ¶
func (o *VirtualFolderAllOf) HasQuotaSize() bool
HasQuotaSize returns a boolean if a field has been set.
func (VirtualFolderAllOf) MarshalJSON ¶
func (o VirtualFolderAllOf) MarshalJSON() ([]byte, error)
func (*VirtualFolderAllOf) SetQuotaFiles ¶
func (o *VirtualFolderAllOf) SetQuotaFiles(v int32)
SetQuotaFiles gets a reference to the given int32 and assigns it to the QuotaFiles field.
func (*VirtualFolderAllOf) SetQuotaSize ¶
func (o *VirtualFolderAllOf) SetQuotaSize(v int64)
SetQuotaSize gets a reference to the given int64 and assigns it to the QuotaSize field.
func (*VirtualFolderAllOf) SetVirtualPath ¶
func (o *VirtualFolderAllOf) SetVirtualPath(v string)
SetVirtualPath sets field value
type WebClientOptions ¶
type WebClientOptions string
WebClientOptions Options: * `publickey-change-disabled` - changing SSH public keys is not allowed * `write-disabled` - upload, rename, delete are not allowed even if the user has permissions for these actions * `mfa-disabled` - enabling multi-factor authentication is not allowed. This option cannot be set if the user has MFA already enabled * `password-change-disabled` - changing password is not allowed * `api-key-auth-change-disabled` - enabling/disabling API key authentication is not allowed * `info-change-disabled` - changing info such as email and description is not allowed * `shares-disabled` - sharing files and directories with external users is disabled * `password-reset-disabled` - resetting the password is disabled
const ( WEBCLIENTOPTIONS_PUBLICKEY_CHANGE_DISABLED WebClientOptions = "publickey-change-disabled" WEBCLIENTOPTIONS_WRITE_DISABLED WebClientOptions = "write-disabled" WEBCLIENTOPTIONS_MFA_DISABLED WebClientOptions = "mfa-disabled" WEBCLIENTOPTIONS_PASSWORD_CHANGE_DISABLED WebClientOptions = "password-change-disabled" WEBCLIENTOPTIONS_API_KEY_AUTH_CHANGE_DISABLED WebClientOptions = "api-key-auth-change-disabled" WEBCLIENTOPTIONS_INFO_CHANGE_DISABLED WebClientOptions = "info-change-disabled" WEBCLIENTOPTIONS_SHARES_DISABLED WebClientOptions = "shares-disabled" WEBCLIENTOPTIONS_PASSWORD_RESET_DISABLED WebClientOptions = "password-reset-disabled" )
List of WebClientOptions
func NewWebClientOptionsFromValue ¶
func NewWebClientOptionsFromValue(v string) (*WebClientOptions, error)
NewWebClientOptionsFromValue returns a pointer to a valid WebClientOptions for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WebClientOptions) IsValid ¶
func (v WebClientOptions) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WebClientOptions) Ptr ¶
func (v WebClientOptions) Ptr() *WebClientOptions
Ptr returns reference to WebClientOptions value
func (*WebClientOptions) UnmarshalJSON ¶
func (v *WebClientOptions) UnmarshalJSON(src []byte) error
type WebDAVBinding ¶
type WebDAVBinding struct { // TCP address the server listen on Address *string `json:"address,omitempty"` // the port used for serving requests Port *int32 `json:"port,omitempty"` EnableHttps *bool `json:"enable_https,omitempty"` // 1 means that client certificate authentication is required in addition to HTTP basic authentication ClientAuthType *int32 `json:"client_auth_type,omitempty"` }
WebDAVBinding struct for WebDAVBinding
func NewWebDAVBinding ¶
func NewWebDAVBinding() *WebDAVBinding
NewWebDAVBinding instantiates a new WebDAVBinding 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 NewWebDAVBindingWithDefaults ¶
func NewWebDAVBindingWithDefaults() *WebDAVBinding
NewWebDAVBindingWithDefaults instantiates a new WebDAVBinding 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 (*WebDAVBinding) GetAddress ¶
func (o *WebDAVBinding) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*WebDAVBinding) GetAddressOk ¶
func (o *WebDAVBinding) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebDAVBinding) GetClientAuthType ¶
func (o *WebDAVBinding) GetClientAuthType() int32
GetClientAuthType returns the ClientAuthType field value if set, zero value otherwise.
func (*WebDAVBinding) GetClientAuthTypeOk ¶
func (o *WebDAVBinding) GetClientAuthTypeOk() (*int32, bool)
GetClientAuthTypeOk returns a tuple with the ClientAuthType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebDAVBinding) GetEnableHttps ¶
func (o *WebDAVBinding) GetEnableHttps() bool
GetEnableHttps returns the EnableHttps field value if set, zero value otherwise.
func (*WebDAVBinding) GetEnableHttpsOk ¶
func (o *WebDAVBinding) GetEnableHttpsOk() (*bool, bool)
GetEnableHttpsOk returns a tuple with the EnableHttps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebDAVBinding) GetPort ¶
func (o *WebDAVBinding) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*WebDAVBinding) GetPortOk ¶
func (o *WebDAVBinding) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebDAVBinding) HasAddress ¶
func (o *WebDAVBinding) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*WebDAVBinding) HasClientAuthType ¶
func (o *WebDAVBinding) HasClientAuthType() bool
HasClientAuthType returns a boolean if a field has been set.
func (*WebDAVBinding) HasEnableHttps ¶
func (o *WebDAVBinding) HasEnableHttps() bool
HasEnableHttps returns a boolean if a field has been set.
func (*WebDAVBinding) HasPort ¶
func (o *WebDAVBinding) HasPort() bool
HasPort returns a boolean if a field has been set.
func (WebDAVBinding) MarshalJSON ¶
func (o WebDAVBinding) MarshalJSON() ([]byte, error)
func (*WebDAVBinding) SetAddress ¶
func (o *WebDAVBinding) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*WebDAVBinding) SetClientAuthType ¶
func (o *WebDAVBinding) SetClientAuthType(v int32)
SetClientAuthType gets a reference to the given int32 and assigns it to the ClientAuthType field.
func (*WebDAVBinding) SetEnableHttps ¶
func (o *WebDAVBinding) SetEnableHttps(v bool)
SetEnableHttps gets a reference to the given bool and assigns it to the EnableHttps field.
func (*WebDAVBinding) SetPort ¶
func (o *WebDAVBinding) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
type WebDAVServiceStatus ¶
type WebDAVServiceStatus struct { IsActive *bool `json:"is_active,omitempty"` Bindings []WebDAVBinding `json:"bindings,omitempty"` }
WebDAVServiceStatus struct for WebDAVServiceStatus
func NewWebDAVServiceStatus ¶
func NewWebDAVServiceStatus() *WebDAVServiceStatus
NewWebDAVServiceStatus instantiates a new WebDAVServiceStatus 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 NewWebDAVServiceStatusWithDefaults ¶
func NewWebDAVServiceStatusWithDefaults() *WebDAVServiceStatus
NewWebDAVServiceStatusWithDefaults instantiates a new WebDAVServiceStatus 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 (*WebDAVServiceStatus) GetBindings ¶
func (o *WebDAVServiceStatus) GetBindings() []WebDAVBinding
GetBindings returns the Bindings field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WebDAVServiceStatus) GetBindingsOk ¶
func (o *WebDAVServiceStatus) GetBindingsOk() ([]WebDAVBinding, bool)
GetBindingsOk returns a tuple with the Bindings field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WebDAVServiceStatus) GetIsActive ¶
func (o *WebDAVServiceStatus) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*WebDAVServiceStatus) GetIsActiveOk ¶
func (o *WebDAVServiceStatus) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebDAVServiceStatus) HasBindings ¶
func (o *WebDAVServiceStatus) HasBindings() bool
HasBindings returns a boolean if a field has been set.
func (*WebDAVServiceStatus) HasIsActive ¶
func (o *WebDAVServiceStatus) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (WebDAVServiceStatus) MarshalJSON ¶
func (o WebDAVServiceStatus) MarshalJSON() ([]byte, error)
func (*WebDAVServiceStatus) SetBindings ¶
func (o *WebDAVServiceStatus) SetBindings(v []WebDAVBinding)
SetBindings gets a reference to the given []WebDAVBinding and assigns it to the Bindings field.
func (*WebDAVServiceStatus) SetIsActive ¶
func (o *WebDAVServiceStatus) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
Source Files
¶
- api_admins.go
- api_api_keys.go
- api_connections.go
- api_data_retention.go
- api_defender.go
- api_events.go
- api_folders.go
- api_healthcheck.go
- api_maintenance.go
- api_metadata.go
- api_public_shares.go
- api_quota.go
- api_token.go
- api_user_apis.go
- api_users.go
- client.go
- configuration.go
- model_admin.go
- model_admin_filters.go
- model_admin_permissions.go
- model_admin_profile.go
- model_admin_totp_config.go
- model_api_response.go
- model_auth_api_key.go
- model_auth_api_key_scope.go
- model_azure_blob_fs_config.go
- model_backup_data.go
- model_ban_status.go
- model_bandwidth_limit.go
- model_base_totp_config.go
- model_base_virtual_folder.go
- model_connection_status.go
- model_crypt_fs_config.go
- model_data_provider_status.go
- model_data_transfer_limit.go
- model_defender_entry.go
- model_dir_entry.go
- model_event_protocols.go
- model_filesystem_config.go
- model_folder_quota_scan.go
- model_folder_retention.go
- model_fs_event.go
- model_fs_event_action.go
- model_fs_event_status.go
- model_fs_providers.go
- model_ftp_passive_port_range.go
- model_ftp_service_status.go
- model_ftpd_binding.go
- model_gcs_config.go
- model_hooks_filter.go
- model_inline_object_1.go
- model_inline_object_2.go
- model_inline_object_3.go
- model_inline_object_4.go
- model_inline_object_5.go
- model_inline_object_6.go
- model_inline_object_7.go
- model_inline_object_9.go
- model_inline_response_200.go
- model_inline_response_201.go
- model_login_methods.go
- model_metadata_check.go
- model_mfa_protocols.go
- model_mfa_status.go
- model_patterns_filter.go
- model_permission.go
- model_provider_event.go
- model_provider_event_action.go
- model_provider_event_object_type.go
- model_pwd_change.go
- model_quota_scan.go
- model_quota_usage.go
- model_recovery_code.go
- model_retention_check.go
- model_retention_check_notification.go
- model_s3_config.go
- model_score_status.go
- model_secret.go
- model_services_status.go
- model_services_status_defender.go
- model_sftpfs_config.go
- model_share.go
- model_share_scope.go
- model_ssh_binding.go
- model_ssh_host_key.go
- model_ssh_service_status.go
- model_supported_protocols.go
- model_token.go
- model_totp_config.go
- model_totph_mac_algo.go
- model_transfer.go
- model_transfer_quota_usage.go
- model_user.go
- model_user_filters.go
- model_user_profile.go
- model_user_totp_config.go
- model_user_totp_config_all_of.go
- model_user_type.go
- model_version_info.go
- model_virtual_folder.go
- model_virtual_folder_all_of.go
- model_web_client_options.go
- model_web_dav_binding.go
- model_web_dav_service_status.go
- response.go
- utils.go