nodeum

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 21 Imported by: 0

README

Go API client for nodeum

Nodeum API # Filter parameters When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - = value is equal. Default operator, may be omitted - != value is different - > greater than - >= greater than or equal - < lower than - >= lower than or equal - >< included in list, items should be separated by | - !>< not included in list, items should be separated by | - ~ pattern matching, may include % (any characters) and _ (one character) - !~ pattern not matching, may include % (any characters) and _ (one character)

Overview

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

  • API version: 2.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

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

import "./nodeum"

Documentation for API Endpoints

All URIs are relative to https://localhost/api/v2

Class Method HTTP request Description
CloudBucketsApi IndexCloudBuckets Get /cloud_buckets Lists all cloud buckets.
CloudBucketsApi IndexCloudBucketsByCloudConnector Get /cloud_connectors/{cloud_connector_id}/cloud_buckets Lists all cloud buckets.
CloudBucketsApi IndexCloudBucketsByCloudPool Get /cloud_pools/{cloud_pool_id}/cloud_buckets Lists all cloud buckets.
CloudBucketsApi MountStatusCloudBucket Get /cloud_buckets/{cloud_bucket_id}/mount Get mount status of Cloud bucket.
CloudBucketsApi MountStatusCloudBucketByCloudConnector Get /cloud_connectors/{cloud_connector_id}/cloud_buckets/{cloud_bucket_id}/mount Get mount status of Cloud bucket.
CloudBucketsApi MountStatusCloudBucketByCloudPool Get /cloud_pools/{cloud_pool_id}/cloud_buckets/{cloud_bucket_id}/mount Get mount status of Cloud bucket.
CloudBucketsApi ShowCloudBucket Get /cloud_buckets/{cloud_bucket_id} Displays a specific cloud bucket.
CloudBucketsApi ShowCloudBucketByCloudConnector Get /cloud_connectors/{cloud_connector_id}/cloud_buckets/{cloud_bucket_id} Displays a specific cloud bucket.
CloudBucketsApi ShowCloudBucketByCloudPool Get /cloud_pools/{cloud_pool_id}/cloud_buckets/{cloud_bucket_id} Displays a specific cloud bucket.
CloudBucketsApi SyncCloudBuckets Put /cloud_connectors/{cloud_connector_id}/cloud_buckets/-/sync Synchronize internal cloud buckets with their remote equivalent.
CloudBucketsApi SyncResultCloudBuckets Get /cloud_connectors/{cloud_connector_id}/cloud_buckets/-/sync Check result of cloud connector sync job.
CloudConnectorsApi CreateCloudConnector Post /cloud_connectors Creates a new cloud connector.
CloudConnectorsApi DestroyCloudConnector Delete /cloud_connectors/{cloud_connector_id} Destroys a specific cloud connector.
CloudConnectorsApi IndexCloudConnectors Get /cloud_connectors Lists all cloud connectors.
CloudConnectorsApi ShowCloudConnector Get /cloud_connectors/{cloud_connector_id} Displays a specific cloud connector.
CloudConnectorsApi TestCloudConnector Put /cloud_connectors/-/test Test an unsaved cloud connector.
CloudConnectorsApi TestResultCloudConnector Get /cloud_connectors/-/test Check result of cloud connector test job.
CloudConnectorsApi UpdateCloudConnector Put /cloud_connectors/{cloud_connector_id} Updates a specific cloud connector.
CloudPoolsApi CreateCloudPool Post /cloud_pools Creates a new cloud pool.
CloudPoolsApi DestroyCloudPool Delete /cloud_pools/{cloud_pool_id} Destroys a specific cloud pool.
CloudPoolsApi IndexCloudPools Get /cloud_pools Lists all cloud pools.
CloudPoolsApi MountStatusCloudPool Get /cloud_pools/{cloud_pool_id}/mount Get mount status of Cloud pool.
CloudPoolsApi ShowCloudPool Get /cloud_pools/{cloud_pool_id} Displays a specific cloud pool.
CloudPoolsApi UpdateCloudPool Put /cloud_pools/{cloud_pool_id} Updates a specific cloud pool.
ContainersApi CreateContainer Post /containers Creates a new container.
ContainersApi CreateContainerPrivilege Post /containers/{container_id}/container_privileges Creates a new privilege on the container.
ContainersApi DestroyContainer Delete /containers/{container_id} Destroys a specific container.
ContainersApi DestroyContainerPrivilege Delete /containers/{container_id}/container_privileges/{container_privilege_id} Destroys a specific privilege.
ContainersApi IndexContainerPrivileges Get /containers/{container_id}/container_privileges Lists all privilege on the container.
ContainersApi IndexContainers Get /containers Lists all containers.
ContainersApi ShowContainer Get /containers/{container_id} Displays a specific container.
ContainersApi ShowContainerPrivilege Get /containers/{container_id}/container_privileges/{container_privilege_id} Displays a specific privilege.
ContainersApi UpdateContainer Put /containers/{container_id} Updates a specific container.
ContainersApi UpdateContainerPrivilege Put /containers/{container_id}/container_privileges/{container_privilege_id} Updates a specific privilege.
FilesApi FilesChildren Get /files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByCloudPool Get /cloud_pools/{cloud_pool_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByContainer Get /containers/{container_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByNasPool Get /nas_pools/{nas_pool_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByTapePool Get /tape_pools/{tape_pool_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByTask Get /tasks/{task_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByTaskExecution Get /task_executions/{task_execution_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi FilesChildrenByTaskExecutionByTask Get /tasks/{task_id}/task_executions/{task_execution_id}/files/{file_parent_id}/children Lists files under a specific folder.
FilesApi IndexFiles Get /files Lists files on root.
FilesApi IndexFilesByCloudPool Get /cloud_pools/{cloud_pool_id}/files Lists files on root.
FilesApi IndexFilesByContainer Get /containers/{container_id}/files Lists files on root.
FilesApi IndexFilesByNasPool Get /nas_pools/{nas_pool_id}/files Lists files on root.
FilesApi IndexFilesByTapePool Get /tape_pools/{tape_pool_id}/files Lists files on root.
FilesApi IndexFilesByTask Get /tasks/{task_id}/files Lists files on root.
FilesApi IndexFilesByTaskExecution Get /task_executions/{task_execution_id}/files Lists files on root.
FilesApi IndexFilesByTaskExecutionByTask Get /tasks/{task_id}/task_executions/{task_execution_id}/files Lists files on root.
FilesApi ShowFile Get /files/{file_id} Displays a specific file.
FilesApi ShowFileByCloudPool Get /cloud_pools/{cloud_pool_id}/files/{file_id} Displays a specific file.
FilesApi ShowFileByContainer Get /containers/{container_id}/files/{file_id} Displays a specific file.
FilesApi ShowFileByNasPool Get /nas_pools/{nas_pool_id}/files/{file_id} Displays a specific file.
FilesApi ShowFileByTapePool Get /tape_pools/{tape_pool_id}/files/{file_id} Displays a specific file.
FilesApi ShowFileByTask Get /tasks/{task_id}/files/{file_id} Displays a specific file.
FilesApi ShowFileByTaskExecution Get /task_executions/{task_execution_id}/files/{file_id} Displays a specific file.
FilesApi ShowFileByTaskExecutionByTask Get /tasks/{task_id}/task_executions/{task_execution_id}/files/{file_id} Displays a specific file.
MountPointsApi CreateMountPoint Post /mount_points Creates a new mount point.
MountPointsApi DestroyMountPoint Delete /mount_points/{mount_point_id} Destroys a specific mount point.
MountPointsApi IndexMountPoints Get /mount_points Lists all mount points.
MountPointsApi MountMountPoint Put /mount_points/{mount_point_id}/mount Mount Mount Point.
MountPointsApi MountStatusMountPoint Get /mount_points/{mount_point_id}/mount Get mount status of Mount Point.
MountPointsApi ShowMountPoint Get /mount_points/{mount_point_id} Displays a specific mount point`.
MountPointsApi UnmountMountPoint Delete /mount_points/{mount_point_id}/mount Unmount Mount Point.
MountPointsApi UpdateMountPoint Put /mount_points/{mount_point_id} Updates a specific mount point`.
MountsApi IndexMounts Get /mounts List all mounted storages
NasApi CreateNas Post /nas Creates a new NAS.
NasApi DestroyNas Delete /nas/{nas_id} Destroys a specific NAS.
NasApi IndexNas Get /nas Lists all NAS.
NasApi ShowNas Get /nas/{nas_id} Displays a specific NAS.
NasApi UpdateNas Put /nas/{nas_id} Updates a specific NAS.
NasPoolsApi CreateNasPool Post /nas_pools Creates a new NAS pool.
NasPoolsApi DestroyNasPool Delete /nas_pools/{nas_pool_id} Destroys a specific NAS pool.
NasPoolsApi IndexNasPools Get /nas_pools Lists all NAS pools.
NasPoolsApi MountStatusNasPool Get /nas_pools/{nas_pool_id}/mount Get mount status of NAS pool.
NasPoolsApi ShowNasPool Get /nas_pools/{nas_pool_id} Displays a specific NAS pool.
NasPoolsApi UpdateNasPool Put /nas_pools/{nas_pool_id} Updates a specific NAS pool.
NasSharesApi CreateNasShareByNas Post /nas/{nas_id}/nas_shares Creates a new NAS share.
NasSharesApi DestroyNasShare Delete /nas_shares/{nas_share_id} Destroys a specific NAS share.
NasSharesApi DestroyNasShareByNas Delete /nas/{nas_id}/nas_shares/{nas_share_id} Destroys a specific NAS share.
NasSharesApi DestroyNasShareByNasPool Delete /nas_pools/{nas_pool_id}/nas_shares/{nas_share_id} Destroys a specific NAS share.
NasSharesApi IndexNasShares Get /nas_shares Lists all NAS shares.
NasSharesApi IndexNasSharesByNas Get /nas/{nas_id}/nas_shares Lists all NAS shares.
NasSharesApi IndexNasSharesByNasPool Get /nas_pools/{nas_pool_id}/nas_shares Lists all NAS shares.
NasSharesApi MountStatusNasShare Get /nas_shares/{nas_share_id}/mount Get mount status of NAS Share.
NasSharesApi MountStatusNasShareByNas Get /nas/{nas_id}/nas_shares/{nas_share_id}/mount Get mount status of NAS Share.
NasSharesApi MountStatusNasShareByNasPool Get /nas_pools/{nas_pool_id}/nas_shares/{nas_share_id}/mount Get mount status of NAS Share.
NasSharesApi ShowNasShareByNas Get /nas/{nas_id}/nas_shares/{nas_share_id} Displays a specific NAS share.
NasSharesApi ShowNasShares Get /nas_shares/{nas_share_id} Displays a specific NAS share.
NasSharesApi ShowNasSharesByNasPool Get /nas_pools/{nas_pool_id}/nas_shares/{nas_share_id} Displays a specific NAS share.
NasSharesApi TestNasShare Put /nas/{nas_id}/nas_shares/-/test Test an unsaved NAS Share.
NasSharesApi TestResultNasShare Get /nas/{nas_id}/nas_shares/-/test Check result of a NAS Share test job.
NasSharesApi UpdateNasShare Put /nas_shares/{nas_share_id} Updates a specific NAS share.
NasSharesApi UpdateNasShareByNas Put /nas/{nas_id}/nas_shares/{nas_share_id} Updates a specific NAS share.
NasSharesApi UpdateNasShareByNasPool Put /nas_pools/{nas_pool_id}/nas_shares/{nas_share_id} Updates a specific NAS share.
TapeDrivesApi CreateTapeDriveByTapeLibrary Post /tape_libraries/{tape_library_id}/tape_drives Creates a new tape drive.
TapeDrivesApi DestroyTapeDrive Delete /tape_drives/{tape_drive_id} Destroys a specific tape drive.
TapeDrivesApi DestroyTapeDriveByTapeLibrary Delete /tape_libraries/{tape_library_id}/tape_drives/{tape_drive_id} Destroys a specific tape drive.
TapeDrivesApi IndexTapeDriveDevices Get /tape_libraries/{tape_library_id}/tape_drives/-/devices Lists tape drives devices.
TapeDrivesApi IndexTapeDrives Get /tape_drives Lists all tape drives.
TapeDrivesApi IndexTapeDrivesByTapeLibrary Get /tape_libraries/{tape_library_id}/tape_drives Lists all tape drives.
TapeDrivesApi ShowTapeDrive Get /tape_drives/{tape_drive_id} Displays a specific tape drive.
TapeDrivesApi ShowTapeDriveByTapeLibrary Get /tape_libraries/{tape_library_id}/tape_drives/{tape_drive_id} Displays a specific tape drive.
TapeDrivesApi UpdateTapeDrive Put /tape_drives/{tape_drive_id} Updates a specific tape drive.
TapeDrivesApi UpdateTapeDriveByTapeLibrary Put /tape_libraries/{tape_library_id}/tape_drives/{tape_drive_id} Updates a specific tape drive.
TapeLibrariesApi CreateTapeLibrary Post /tape_libraries Creates a new tape library.
TapeLibrariesApi DestroyTapeLibrary Delete /tape_libraries/{tape_library_id} Destroys a specific tape library.
TapeLibrariesApi IndexTapeLibraries Get /tape_libraries Lists all tape libraries.
TapeLibrariesApi IndexTapeLibraryDevices Get /tape_libraries/-/devices Lists tape libraries devices.
TapeLibrariesApi ShowTapeLibrary Get /tape_libraries/{tape_library_id} Displays a specific tape library.
TapeLibrariesApi UpdateTapeLibrary Put /tape_libraries/{tape_library_id} Updates a specific tape library.
TapePoolsApi CreateTapePool Post /tape_pools Creates a new tape pool.
TapePoolsApi DestroyTapePool Delete /tape_pools/{tape_pool_id} Destroys a specific tape pool.
TapePoolsApi IndexTapePools Get /tape_pools Lists all tape pools.
TapePoolsApi ShowTapePool Get /tape_pools/{tape_pool_id} Displays a specific tape pool.
TapePoolsApi UpdateTapePool Put /tape_pools/{tape_pool_id} Updates a specific tape pool.
TapesApi IndexTapes Get /tapes Lists all tapes.
TapesApi IndexTapesByTapeLibrary Get /tape_libraries/{tape_library_id}/tapes Lists all tapes.
TapesApi IndexTapesByTapePool Get /tape_pools/{tape_pool_id}/tapes Lists all tapes.
TapesApi MountStatusTape Get /tapes/{tape_id}/mount Get mount status of Tape.
TapesApi MountStatusTapeByTapeLibrary Get /tape_libraries/{tape_library_id}/tapes/{tape_id}/mount Get mount status of Tape.
TapesApi MountStatusTapeByTapePool Get /tape_pools/{tape_pool_id}/tapes/{tape_id}/mount Get mount status of Tape.
TapesApi ShowTape Get /tapes/{tape_id} Displays a specific tape.
TapesApi ShowTapeByTapeLibrary Get /tape_libraries/{tape_library_id}/tapes/{tape_id} Displays a specific tape.
TapesApi ShowTapeByTapePool Get /tape_pools/{tape_pool_id}/tapes/{tape_id} Displays a specific tape.
TaskDestinationsApi CreateTaskDestination Post /tasks/{task_id}/task_destinations Creates a new task destination.
TaskDestinationsApi DestroyTaskDestination Delete /tasks/{task_id}/task_destinations/{task_destination_id} Destroys a specific task destination.
TaskDestinationsApi IndexTaskDestinations Get /tasks/{task_id}/task_destinations Lists all task destinations.
TaskDestinationsApi ShowTaskDestination Get /tasks/{task_id}/task_destinations/{task_destination_id} Displays a specific task destination.
TaskDestinationsApi UpdateTaskDestination Put /tasks/{task_id}/task_destinations/{task_destination_id} Updates a specific task destination.
TaskExecutionsApi IndexTaskExecutions Get /task_executions Lists all task executions.
TaskExecutionsApi IndexTaskExecutionsByTask Get /tasks/{task_id}/task_executions Lists all task executions.
TaskExecutionsApi ShowTaskExecution Get /task_executions/{task_execution_id} Displays a specific task execution.
TaskExecutionsApi ShowTaskExecutionByTask Get /tasks/{task_id}/task_executions/{task_execution_id} Displays a specific task execution.
TaskMetadataApi CreateTaskMetadatum Post /tasks/{task_id}/task_metadata Creates a new task metadatum.
TaskMetadataApi DestroyTaskMetadatum Delete /tasks/{task_id}/task_metadata/{task_metadatum_id} Destroys a specific task metadatum.
TaskMetadataApi IndexTaskMetadata Get /tasks/{task_id}/task_metadata Lists all task metadata.
TaskMetadataApi ShowTaskMetadat Get /tasks/{task_id}/task_metadata/{task_metadatum_id} Displays a specific task metadatum.
TaskMetadataApi UpdateTaskMetadatum Put /tasks/{task_id}/task_metadata/{task_metadatum_id} Updates a specific task metadatum.
TaskOptionsApi CreateTaskOption Post /tasks/{task_id}/task_options Creates a new task option.
TaskOptionsApi DestroyTaskOption Delete /tasks/{task_id}/task_options/{task_option_id} Destroys a specific task option.
TaskOptionsApi IndexTaskOptions Get /tasks/{task_id}/task_options Lists all task options.
TaskOptionsApi ShowTaskOption Get /tasks/{task_id}/task_options/{task_option_id} Displays a specific task option.
TaskOptionsApi UpdateTaskOption Put /tasks/{task_id}/task_options/{task_option_id} Updates a specific task option.
TaskSourcesApi CreateTaskSource Post /tasks/{task_id}/task_sources Creates a new task source.
TaskSourcesApi DestroyTaskSource Delete /tasks/{task_id}/task_sources/{task_source_id} Destroys a specific task source.
TaskSourcesApi IndexTaskSources Get /tasks/{task_id}/task_sources Lists all task sources.
TaskSourcesApi ShowTaskSource Get /tasks/{task_id}/task_sources/{task_source_id} Displays a specific task source.
TaskSourcesApi UpdateTaskSource Put /tasks/{task_id}/task_sources/{task_source_id} Updates a specific task source.
TasksApi CreateTask Post /tasks Creates a new task.
TasksApi DestroyTask Delete /tasks/{task_id} Destroys a specific task.
TasksApi IndexTasks Get /tasks Lists all tasks.
TasksApi ShowTask Get /tasks/{task_id} Displays a specific task.
TasksApi UpdateTask Put /tasks/{task_id} Updates a specific task.
UsersApi CreateApiKey Post /users/me/api_keys Creates a new API Key for current user.
UsersApi DestroyApiKey Delete /users/me/api_keys/{api_key_id} Destroys a specific API Key.
UsersApi IndexApiKeys Get /users/me/api_keys Lists all API keys of current user.
UsersApi ShowApiKey Get /users/me/api_keys/{api_key_id} Displays a specific API Key with its scopes.
UsersApi UpdateApiKey Put /users/me/api_keys/{api_key_id} Updates a specific API Key.

Documentation For Models

Documentation For Authorization

BasicAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
	UserName: "username",
	Password: "password",
})
r, err := client.Service.Operation(auth, args)

BearerAuth

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a 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")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

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

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

Types

type APIClient

type APIClient struct {
	CloudBucketsApi *CloudBucketsApiService

	CloudConnectorsApi *CloudConnectorsApiService

	CloudPoolsApi *CloudPoolsApiService

	ContainersApi *ContainersApiService

	FilesApi *FilesApiService

	MountPointsApi *MountPointsApiService

	MountsApi *MountsApiService

	NasApi *NasApiService

	NasPoolsApi *NasPoolsApiService

	NasSharesApi *NasSharesApiService

	TapeDrivesApi *TapeDrivesApiService

	TapeLibrariesApi *TapeLibrariesApiService

	TapePoolsApi *TapePoolsApiService

	TapesApi *TapesApiService

	TaskDestinationsApi *TaskDestinationsApiService

	TaskExecutionsApi *TaskExecutionsApiService

	TaskMetadataApi *TaskMetadataApiService

	TaskOptionsApi *TaskOptionsApiService

	TaskSourcesApi *TaskSourcesApiService

	TasksApi *TasksApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Nodeum API API v2.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger 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:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type ActiveJobStatus

type ActiveJobStatus struct {
	JobId    string `json:"job_id,omitempty"`
	Status   string `json:"status,omitempty"`
	Progress int32  `json:"progress,omitempty"`
	Total    int32  `json:"total,omitempty"`
}

type ApiKey

type ApiKey struct {
	Id   int32  `json:"id,omitempty"`
	Key  string `json:"key,omitempty"`
	Name string `json:"name,omitempty"`
}

type ApiKeyCollection

type ApiKeyCollection struct {
	ApiKeys []ApiKey `json:"api_keys,omitempty"`
	Count   int32    `json:"count,omitempty"`
}

type ApiKeyFull

type ApiKeyFull struct {
	Id           int32         `json:"id,omitempty"`
	Key          string        `json:"key,omitempty"`
	Name         string        `json:"name,omitempty"`
	ApiKeyScopes []ApiKeyScope `json:"api_key_scopes,omitempty"`
}

type ApiKeyScope

type ApiKeyScope struct {
	Controller string `json:"controller,omitempty"`
	Action     string `json:"action,omitempty"`
}

type AttributeError

type AttributeError struct {
	Error_ string `json:"error"`
}

type BasicAuth

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

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

type Blank

type Blank struct {
	Error_ string `json:"error"`
}

Attribute can't be blank

type CloudBucket

type CloudBucket struct {
	Id               int32  `json:"id,omitempty"`
	CloudConnectorId int32  `json:"cloud_connector_id,omitempty"`
	CloudPoolId      int32  `json:"cloud_pool_id,omitempty"`
	Name             string `json:"name,omitempty"`
	FilesCount       int32  `json:"files_count,omitempty"`
	FilesSize        int32  `json:"files_size,omitempty"`
	Location         string `json:"location,omitempty"`
	Price            string `json:"price,omitempty"`
}

type CloudBucketCollection

type CloudBucketCollection struct {
	Count        int32         `json:"count,omitempty"`
	CloudBuckets []CloudBucket `json:"cloud_buckets,omitempty"`
}

type CloudBucketSimpleCollection

type CloudBucketSimpleCollection struct {
	CloudBuckets []CloudBucket `json:"cloud_buckets,omitempty"`
}

type CloudBucketsApiService

type CloudBucketsApiService service

func (*CloudBucketsApiService) IndexCloudBuckets

func (a *CloudBucketsApiService) IndexCloudBuckets(ctx context.Context, localVarOptionals *IndexCloudBucketsOpts) (CloudBucketCollection, *http.Response, error)

func (*CloudBucketsApiService) IndexCloudBucketsByCloudConnector

func (a *CloudBucketsApiService) IndexCloudBucketsByCloudConnector(ctx context.Context, cloudConnectorId string, localVarOptionals *IndexCloudBucketsByCloudConnectorOpts) (CloudBucketCollection, *http.Response, error)

func (*CloudBucketsApiService) IndexCloudBucketsByCloudPool

func (a *CloudBucketsApiService) IndexCloudBucketsByCloudPool(ctx context.Context, cloudPoolId string, localVarOptionals *IndexCloudBucketsByCloudPoolOpts) (CloudBucketCollection, *http.Response, error)

func (*CloudBucketsApiService) MountStatusCloudBucket

func (a *CloudBucketsApiService) MountStatusCloudBucket(ctx context.Context, cloudBucketId string) (MountStatus, *http.Response, error)

CloudBucketsApiService Get mount status of Cloud bucket. **API Key Scope**: cloud_buckets / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudBucketId Numeric ID or name of cloud bucket.

@return MountStatus

func (*CloudBucketsApiService) MountStatusCloudBucketByCloudConnector

func (a *CloudBucketsApiService) MountStatusCloudBucketByCloudConnector(ctx context.Context, cloudConnectorId string, cloudBucketId string) (MountStatus, *http.Response, error)

CloudBucketsApiService Get mount status of Cloud bucket. **API Key Scope**: cloud_buckets / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudConnectorId Numeric ID or name of cloud connector.
  • @param cloudBucketId Numeric ID or name of cloud bucket.

@return MountStatus

func (*CloudBucketsApiService) MountStatusCloudBucketByCloudPool

func (a *CloudBucketsApiService) MountStatusCloudBucketByCloudPool(ctx context.Context, cloudPoolId string, cloudBucketId string) (MountStatus, *http.Response, error)

CloudBucketsApiService Get mount status of Cloud bucket. **API Key Scope**: cloud_buckets / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.
  • @param cloudBucketId Numeric ID or name of cloud bucket.

@return MountStatus

func (*CloudBucketsApiService) ShowCloudBucket

func (a *CloudBucketsApiService) ShowCloudBucket(ctx context.Context, cloudBucketId string) (CloudBucket, *http.Response, error)

CloudBucketsApiService Displays a specific cloud bucket. **API Key Scope**: cloud_buckets / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudBucketId Numeric ID or name of cloud bucket.

@return CloudBucket

func (*CloudBucketsApiService) ShowCloudBucketByCloudConnector

func (a *CloudBucketsApiService) ShowCloudBucketByCloudConnector(ctx context.Context, cloudConnectorId string, cloudBucketId string) (CloudBucket, *http.Response, error)

CloudBucketsApiService Displays a specific cloud bucket. **API Key Scope**: cloud_buckets / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudConnectorId Numeric ID or name of cloud connector.
  • @param cloudBucketId Numeric ID or name of cloud bucket.

@return CloudBucket

func (*CloudBucketsApiService) ShowCloudBucketByCloudPool

func (a *CloudBucketsApiService) ShowCloudBucketByCloudPool(ctx context.Context, cloudPoolId string, cloudBucketId string) (CloudBucket, *http.Response, error)

CloudBucketsApiService Displays a specific cloud bucket. **API Key Scope**: cloud_buckets / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.
  • @param cloudBucketId Numeric ID or name of cloud bucket.

@return CloudBucket

func (*CloudBucketsApiService) SyncCloudBuckets

func (a *CloudBucketsApiService) SyncCloudBuckets(ctx context.Context, cloudConnectorId string) (ActiveJobStatus, *http.Response, error)

CloudBucketsApiService Synchronize internal cloud buckets with their remote equivalent. **API Key Scope**: cloud_buckets / sync

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudConnectorId Numeric ID or name of cloud connector.

@return ActiveJobStatus

func (*CloudBucketsApiService) SyncResultCloudBuckets

func (a *CloudBucketsApiService) SyncResultCloudBuckets(ctx context.Context, cloudConnectorId string, localVarOptionals *SyncResultCloudBucketsOpts) (CloudBucketSimpleCollection, *http.Response, error)

type CloudConnector

type CloudConnector struct {
	Id        int32  `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Url       string `json:"url,omitempty"`
	UrlProxy  string `json:"url_proxy,omitempty"`
	Provider  string `json:"provider,omitempty"`
	Region    string `json:"region,omitempty"`
	AccessKey string `json:"access_key,omitempty"`
	SecretKey string `json:"secret_key,omitempty"`
}

type CloudConnectorCollection

type CloudConnectorCollection struct {
	Count           int32            `json:"count,omitempty"`
	CloudConnectors []CloudConnector `json:"cloud_connectors,omitempty"`
}

type CloudConnectorsApiService

type CloudConnectorsApiService service

func (*CloudConnectorsApiService) CreateCloudConnector

func (a *CloudConnectorsApiService) CreateCloudConnector(ctx context.Context, cloudConnectorBody CloudConnector) (CloudConnector, *http.Response, error)

CloudConnectorsApiService Creates a new cloud connector. **API Key Scope**: cloud_connectors / create

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

@return CloudConnector

func (*CloudConnectorsApiService) DestroyCloudConnector

func (a *CloudConnectorsApiService) DestroyCloudConnector(ctx context.Context, cloudConnectorId string) (*http.Response, error)

CloudConnectorsApiService Destroys a specific cloud connector. **API Key Scope**: cloud_connectors / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudConnectorId Numeric ID or name of cloud connector.

func (*CloudConnectorsApiService) IndexCloudConnectors

func (a *CloudConnectorsApiService) IndexCloudConnectors(ctx context.Context, localVarOptionals *IndexCloudConnectorsOpts) (CloudConnectorCollection, *http.Response, error)

func (*CloudConnectorsApiService) ShowCloudConnector

func (a *CloudConnectorsApiService) ShowCloudConnector(ctx context.Context, cloudConnectorId string) (CloudConnector, *http.Response, error)

CloudConnectorsApiService Displays a specific cloud connector. **API Key Scope**: cloud_connectors / show Optional API Key Explicit Scope: cloud_connectors / get_secret_key

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudConnectorId Numeric ID or name of cloud connector.

@return CloudConnector

func (*CloudConnectorsApiService) TestCloudConnector

func (a *CloudConnectorsApiService) TestCloudConnector(ctx context.Context, cloudConnectorBody CloudConnector) (ActiveJobStatus, *http.Response, error)

CloudConnectorsApiService Test an unsaved cloud connector. **API Key Scope**: cloud_connectors / test

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

@return ActiveJobStatus

func (*CloudConnectorsApiService) TestResultCloudConnector

func (a *CloudConnectorsApiService) TestResultCloudConnector(ctx context.Context, localVarOptionals *TestResultCloudConnectorOpts) (CloudBucketSimpleCollection, *http.Response, error)

func (*CloudConnectorsApiService) UpdateCloudConnector

func (a *CloudConnectorsApiService) UpdateCloudConnector(ctx context.Context, cloudConnectorId string, cloudConnectorBody CloudConnector) (CloudConnector, *http.Response, error)

CloudConnectorsApiService Updates a specific cloud connector. **API Key Scope**: cloud_connectors / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudConnectorId Numeric ID or name of cloud connector.
  • @param cloudConnectorBody

@return CloudConnector

type CloudPool

type CloudPool struct {
	Id      int32  `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Comment string `json:"comment,omitempty"`
	Type_   string `json:"type,omitempty"`
}

type CloudPoolCollection

type CloudPoolCollection struct {
	Count      int32       `json:"count,omitempty"`
	CloudPools []CloudPool `json:"cloud_pools,omitempty"`
}

type CloudPoolUp

type CloudPoolUp struct {
	Id             int32   `json:"id,omitempty"`
	Name           string  `json:"name,omitempty"`
	Comment        string  `json:"comment,omitempty"`
	Type_          string  `json:"type,omitempty"`
	CloudBucketIds []int32 `json:"cloud_bucket_ids,omitempty"`
}

type CloudPoolsApiService

type CloudPoolsApiService service

func (*CloudPoolsApiService) CreateCloudPool

func (a *CloudPoolsApiService) CreateCloudPool(ctx context.Context, cloudPoolBody CloudPoolUp) (CloudPool, *http.Response, error)

CloudPoolsApiService Creates a new cloud pool. **API Key Scope**: cloud_pools / create

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

@return CloudPool

func (*CloudPoolsApiService) DestroyCloudPool

func (a *CloudPoolsApiService) DestroyCloudPool(ctx context.Context, cloudPoolId string) (*http.Response, error)

CloudPoolsApiService Destroys a specific cloud pool. **API Key Scope**: cloud_pools / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.

func (*CloudPoolsApiService) IndexCloudPools

func (a *CloudPoolsApiService) IndexCloudPools(ctx context.Context, localVarOptionals *IndexCloudPoolsOpts) (CloudPoolCollection, *http.Response, error)

func (*CloudPoolsApiService) MountStatusCloudPool

func (a *CloudPoolsApiService) MountStatusCloudPool(ctx context.Context, cloudPoolId string) (MountStatus, *http.Response, error)

CloudPoolsApiService Get mount status of Cloud pool. **API Key Scope**: cloud_pools / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.

@return MountStatus

func (*CloudPoolsApiService) ShowCloudPool

func (a *CloudPoolsApiService) ShowCloudPool(ctx context.Context, cloudPoolId string) (CloudPool, *http.Response, error)

CloudPoolsApiService Displays a specific cloud pool. **API Key Scope**: cloud_pools / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.

@return CloudPool

func (*CloudPoolsApiService) UpdateCloudPool

func (a *CloudPoolsApiService) UpdateCloudPool(ctx context.Context, cloudPoolId string, cloudPoolBody CloudPoolUp) (CloudPool, *http.Response, error)

CloudPoolsApiService Updates a specific cloud pool. **API Key Scope**: cloud_pools / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.
  • @param cloudPoolBody

@return CloudPool

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

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

type Container

type Container struct {
	Id              int32  `json:"id,omitempty"`
	Name            string `json:"name,omitempty"`
	Comment         string `json:"comment,omitempty"`
	QuotaTotalSize  int32  `json:"quota_total_size,omitempty"`
	QuotaOnCache    int32  `json:"quota_on_cache,omitempty"`
	StatTotalFiles  int32  `json:"stat_total_files,omitempty"`
	StatTotalSize   int32  `json:"stat_total_size,omitempty"`
	StatSizeOnCache int32  `json:"stat_size_on_cache,omitempty"`
	GuestRight      string `json:"guest_right,omitempty"`
	LastUpdate      string `json:"last_update,omitempty"`
}

type ContainerCollection

type ContainerCollection struct {
	Count      int32       `json:"count,omitempty"`
	Containers []Container `json:"containers,omitempty"`
}

type ContainerPrivilege

type ContainerPrivilege struct {
	Id        int32  `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Privilege string `json:"privilege,omitempty"`
	Type_     string `json:"type,omitempty"`
}

type ContainerPrivilegeCollection

type ContainerPrivilegeCollection struct {
	Count               int32                `json:"count,omitempty"`
	ContainerPrivileges []ContainerPrivilege `json:"container_privileges,omitempty"`
}

type ContainersApiService

type ContainersApiService service

func (*ContainersApiService) CreateContainer

func (a *ContainersApiService) CreateContainer(ctx context.Context, containerBody Container) (Container, *http.Response, error)

ContainersApiService Creates a new container. It **does not** yet create the file structure and configure the samba connection. Use API v1 instead. **API Key Scope**: containers / create

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

@return Container

func (*ContainersApiService) CreateContainerPrivilege

func (a *ContainersApiService) CreateContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeBody ContainerPrivilege) (ContainerPrivilege, *http.Response, error)

ContainersApiService Creates a new privilege on the container. **API Key Scope**: container_privileges / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.
  • @param containerPrivilegeBody

@return ContainerPrivilege

func (*ContainersApiService) DestroyContainer

func (a *ContainersApiService) DestroyContainer(ctx context.Context, containerId string) (*http.Response, error)

ContainersApiService Destroys a specific container. **API Key Scope**: containers / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.

func (*ContainersApiService) DestroyContainerPrivilege

func (a *ContainersApiService) DestroyContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32) (*http.Response, error)

ContainersApiService Destroys a specific privilege. **API Key Scope**: container_privileges / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.
  • @param containerPrivilegeId Numeric ID of container privilege.

func (*ContainersApiService) IndexContainerPrivileges

func (a *ContainersApiService) IndexContainerPrivileges(ctx context.Context, containerId string, localVarOptionals *IndexContainerPrivilegesOpts) (ContainerPrivilegeCollection, *http.Response, error)

func (*ContainersApiService) IndexContainers

func (a *ContainersApiService) IndexContainers(ctx context.Context, localVarOptionals *IndexContainersOpts) (ContainerCollection, *http.Response, error)

func (*ContainersApiService) ShowContainer

func (a *ContainersApiService) ShowContainer(ctx context.Context, containerId string) (Container, *http.Response, error)

ContainersApiService Displays a specific container. **API Key Scope**: containers / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.

@return Container

func (*ContainersApiService) ShowContainerPrivilege

func (a *ContainersApiService) ShowContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32) (ContainerPrivilege, *http.Response, error)

ContainersApiService Displays a specific privilege. **API Key Scope**: container_privileges / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.
  • @param containerPrivilegeId Numeric ID of container privilege.

@return ContainerPrivilege

func (*ContainersApiService) UpdateContainer

func (a *ContainersApiService) UpdateContainer(ctx context.Context, containerId string, containerBody Container) (Container, *http.Response, error)

ContainersApiService Updates a specific container. It **does not** yet create the file structure and configure the samba connection. Use API v1 instead. **API Key Scope**: containers / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.
  • @param containerBody

@return Container

func (*ContainersApiService) UpdateContainerPrivilege

func (a *ContainersApiService) UpdateContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32, containerPrivilegeBody ContainerPrivilege) (ContainerPrivilege, *http.Response, error)

ContainersApiService Updates a specific privilege. **API Key Scope**: container_privileges / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.
  • @param containerPrivilegeId Numeric ID of container privilege.
  • @param containerPrivilegeBody

@return ContainerPrivilege

type FilesApiService

type FilesApiService service

func (*FilesApiService) FilesChildren

func (a *FilesApiService) FilesChildren(ctx context.Context, fileParentId int32, localVarOptionals *FilesChildrenOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByCloudPool

func (a *FilesApiService) FilesChildrenByCloudPool(ctx context.Context, cloudPoolId string, fileParentId int32, localVarOptionals *FilesChildrenByCloudPoolOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByContainer

func (a *FilesApiService) FilesChildrenByContainer(ctx context.Context, containerId string, fileParentId int32, localVarOptionals *FilesChildrenByContainerOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByNasPool

func (a *FilesApiService) FilesChildrenByNasPool(ctx context.Context, nasPoolId string, fileParentId int32, localVarOptionals *FilesChildrenByNasPoolOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByTapePool

func (a *FilesApiService) FilesChildrenByTapePool(ctx context.Context, tapePoolId string, fileParentId int32, localVarOptionals *FilesChildrenByTapePoolOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByTask

func (a *FilesApiService) FilesChildrenByTask(ctx context.Context, taskId string, fileParentId int32, localVarOptionals *FilesChildrenByTaskOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByTaskExecution

func (a *FilesApiService) FilesChildrenByTaskExecution(ctx context.Context, taskExecutionId int64, fileParentId int32, localVarOptionals *FilesChildrenByTaskExecutionOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) FilesChildrenByTaskExecutionByTask

func (a *FilesApiService) FilesChildrenByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, fileParentId int32, localVarOptionals *FilesChildrenByTaskExecutionByTaskOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFiles

func (a *FilesApiService) IndexFiles(ctx context.Context, localVarOptionals *IndexFilesOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByCloudPool

func (a *FilesApiService) IndexFilesByCloudPool(ctx context.Context, cloudPoolId string, localVarOptionals *IndexFilesByCloudPoolOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByContainer

func (a *FilesApiService) IndexFilesByContainer(ctx context.Context, containerId string, localVarOptionals *IndexFilesByContainerOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByNasPool

func (a *FilesApiService) IndexFilesByNasPool(ctx context.Context, nasPoolId string, localVarOptionals *IndexFilesByNasPoolOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByTapePool

func (a *FilesApiService) IndexFilesByTapePool(ctx context.Context, tapePoolId string, localVarOptionals *IndexFilesByTapePoolOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByTask

func (a *FilesApiService) IndexFilesByTask(ctx context.Context, taskId string, localVarOptionals *IndexFilesByTaskOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByTaskExecution

func (a *FilesApiService) IndexFilesByTaskExecution(ctx context.Context, taskExecutionId int64, localVarOptionals *IndexFilesByTaskExecutionOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) IndexFilesByTaskExecutionByTask

func (a *FilesApiService) IndexFilesByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, localVarOptionals *IndexFilesByTaskExecutionByTaskOpts) (NodeumFileCollection, *http.Response, error)

func (*FilesApiService) ShowFile

func (a *FilesApiService) ShowFile(ctx context.Context, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByCloudPool

func (a *FilesApiService) ShowFileByCloudPool(ctx context.Context, cloudPoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param cloudPoolId Numeric ID or name of cloud pool.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByContainer

func (a *FilesApiService) ShowFileByContainer(ctx context.Context, containerId string, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param containerId Numeric ID or name of container.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByNasPool

func (a *FilesApiService) ShowFileByNasPool(ctx context.Context, nasPoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByTapePool

func (a *FilesApiService) ShowFileByTapePool(ctx context.Context, tapePoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapePoolId Numeric ID, or name of tape pool.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByTask

func (a *FilesApiService) ShowFileByTask(ctx context.Context, taskId string, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByTaskExecution

func (a *FilesApiService) ShowFileByTaskExecution(ctx context.Context, taskExecutionId int64, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskExecutionId Numeric ID of task execution.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

func (*FilesApiService) ShowFileByTaskExecutionByTask

func (a *FilesApiService) ShowFileByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, fileId int32) (NodeumFileWithPath, *http.Response, error)

FilesApiService Displays a specific file. **API Key Scope**: files / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskExecutionId Numeric ID of task execution.
  • @param fileId Numeric ID of file.

@return NodeumFileWithPath

type FilesChildrenByCloudPoolOpts

type FilesChildrenByCloudPoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenByContainerOpts

type FilesChildrenByContainerOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenByNasPoolOpts

type FilesChildrenByNasPoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenByTapePoolOpts

type FilesChildrenByTapePoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenByTaskExecutionByTaskOpts

type FilesChildrenByTaskExecutionByTaskOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenByTaskExecutionOpts

type FilesChildrenByTaskExecutionOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenByTaskOpts

type FilesChildrenByTaskOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type FilesChildrenOpts

type FilesChildrenOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type Frozen

type Frozen struct {
	Error_ string `json:"error"`
}

Attribute can't be updated

type GenericSwaggerError

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

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

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

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

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type GreaterThan

type GreaterThan struct {
	Error_ string `json:"error"`
	// Value received
	Value int32 `json:"value,omitempty"`
	// Expected maximum value
	Count int32 `json:"count,omitempty"`
}

Attribute must be greater than %{count}

type GreaterThanOrEqualTo

type GreaterThanOrEqualTo struct {
	Error_ string `json:"error"`
	// Value received
	Value int32 `json:"value,omitempty"`
	// Expected maximum value
	Count int32 `json:"count,omitempty"`
}

Attribute must be greater than or equal to %{count}

type ImportFile

type ImportFile struct {
	Id               int32  `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	Parent           int32  `json:"parent,omitempty"`
	Type_            string `json:"type,omitempty"`
	Permission       int32  `json:"permission,omitempty"`
	Size             int32  `json:"size,omitempty"`
	ChangeDate       string `json:"change_date,omitempty"`
	ModificationDate string `json:"modification_date,omitempty"`
	AccessDate       string `json:"access_date,omitempty"`
	Uid              int32  `json:"uid,omitempty"`
	Gid              int32  `json:"gid,omitempty"`
}

type IndexApiKeysOpts

type IndexApiKeysOpts struct {
	Limit  optional.Int32
	Offset optional.Int32
}

type IndexCloudBucketsByCloudConnectorOpts

type IndexCloudBucketsByCloudConnectorOpts struct {
	Limit       optional.Int32
	Offset      optional.Int32
	SortBy      optional.Interface
	Id          optional.String
	CloudPoolId optional.String
	Name        optional.String
	Location    optional.String
	Price       optional.String
}

type IndexCloudBucketsByCloudPoolOpts

type IndexCloudBucketsByCloudPoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	SortBy           optional.Interface
	Id               optional.String
	CloudConnectorId optional.String
	Name             optional.String
	Location         optional.String
	Price            optional.String
}

type IndexCloudBucketsOpts

type IndexCloudBucketsOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	SortBy           optional.Interface
	Id               optional.String
	CloudConnectorId optional.String
	CloudPoolId      optional.String
	Name             optional.String
	Location         optional.String
	Price            optional.String
}

type IndexCloudConnectorsOpts

type IndexCloudConnectorsOpts struct {
	Limit     optional.Int32
	Offset    optional.Int32
	SortBy    optional.Interface
	Id        optional.String
	Name      optional.String
	Url       optional.String
	UrlProxy  optional.String
	Provider  optional.String
	Region    optional.String
	AccessKey optional.String
}

type IndexCloudPoolsOpts

type IndexCloudPoolsOpts struct {
	Limit   optional.Int32
	Offset  optional.Int32
	SortBy  optional.Interface
	Id      optional.String
	Name    optional.String
	Comment optional.String
	Type_   optional.String
}

type IndexContainerPrivilegesOpts

type IndexContainerPrivilegesOpts struct {
	Limit     optional.Int32
	Offset    optional.Int32
	SortBy    optional.Interface
	Id        optional.String
	Name      optional.String
	Privilege optional.String
	Type_     optional.String
}

type IndexContainersOpts

type IndexContainersOpts struct {
	Limit           optional.Int32
	Offset          optional.Int32
	SortBy          optional.Interface
	Id              optional.String
	Name            optional.String
	Comment         optional.String
	QuotaTotalSize  optional.String
	QuotaOnCache    optional.String
	StatTotalFiles  optional.String
	StatTotalSize   optional.String
	StatSizeOnCache optional.String
	GuestRight      optional.String
	LastUpdate      optional.String
}

type IndexFilesByCloudPoolOpts

type IndexFilesByCloudPoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesByContainerOpts

type IndexFilesByContainerOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesByNasPoolOpts

type IndexFilesByNasPoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesByTapePoolOpts

type IndexFilesByTapePoolOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesByTaskExecutionByTaskOpts

type IndexFilesByTaskExecutionByTaskOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesByTaskExecutionOpts

type IndexFilesByTaskExecutionOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesByTaskOpts

type IndexFilesByTaskOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexFilesOpts

type IndexFilesOpts struct {
	Limit            optional.Int32
	Offset           optional.Int32
	FileId           optional.String
	Name             optional.String
	Type_            optional.String
	Permission       optional.String
	Size             optional.String
	ChangeDate       optional.String
	ModificationDate optional.String
	AccessDate       optional.String
	Gid              optional.String
	Uid              optional.String
}

type IndexMountPointsOpts

type IndexMountPointsOpts struct {
	Limit        optional.Int32
	Offset       optional.Int32
	SortBy       optional.Interface
	Id           optional.String
	Name         optional.String
	Target       optional.String
	Type_        optional.String
	Options      optional.String
	Username     optional.String
	Comment      optional.String
	ScanInterval optional.String
	Price        optional.String
}

type IndexNasOpts

type IndexNasOpts struct {
	Limit   optional.Int32
	Offset  optional.Int32
	SortBy  optional.Interface
	Id      optional.String
	Name    optional.String
	Comment optional.String
	Host    optional.String
	Type_   optional.String
	Price   optional.String
}

type IndexNasPoolsOpts

type IndexNasPoolsOpts struct {
	Limit   optional.Int32
	Offset  optional.Int32
	SortBy  optional.Interface
	Id      optional.String
	Name    optional.String
	Comment optional.String
	Type_   optional.String
}

type IndexNasSharesByNasOpts

type IndexNasSharesByNasOpts struct {
	Limit     optional.Int32
	Offset    optional.Int32
	SortBy    optional.Interface
	Id        optional.String
	Path      optional.String
	Options   optional.String
	Username  optional.String
	NasPoolId optional.String
}

type IndexNasSharesByNasPoolOpts

type IndexNasSharesByNasPoolOpts struct {
	Limit    optional.Int32
	Offset   optional.Int32
	SortBy   optional.Interface
	Id       optional.String
	Path     optional.String
	Options  optional.String
	Username optional.String
	NasId    optional.String
}

type IndexNasSharesOpts

type IndexNasSharesOpts struct {
	Limit     optional.Int32
	Offset    optional.Int32
	SortBy    optional.Interface
	Id        optional.String
	Path      optional.String
	Options   optional.String
	Username  optional.String
	NasId     optional.String
	NasPoolId optional.String
}

type IndexTapeDriveDevicesOpts

type IndexTapeDriveDevicesOpts struct {
	JobId optional.String
}

type IndexTapeDrivesByTapeLibraryOpts

type IndexTapeDrivesByTapeLibraryOpts struct {
	Limit                optional.Int32
	Offset               optional.Int32
	SortBy               optional.Interface
	Id                   optional.String
	Name                 optional.String
	Serial               optional.String
	Comment              optional.String
	ScsiAddress          optional.String
	Vendor               optional.String
	Product              optional.String
	Firmware             optional.String
	Device               optional.String
	Sgdevice             optional.String
	Libso                optional.String
	Acs                  optional.String
	Lsm                  optional.String
	Panel                optional.String
	Transport            optional.String
	Status               optional.String
	Full                 optional.String
	MountCount           optional.String
	UseTo                optional.String
	UseBy                optional.String
	UseFileProcessedSize optional.String
	UseFileSizeToProcess optional.String
	UseFileNameProcessed optional.String
	Bandwidth            optional.String
}

type IndexTapeDrivesOpts

type IndexTapeDrivesOpts struct {
	Limit                optional.Int32
	Offset               optional.Int32
	SortBy               optional.Interface
	Id                   optional.String
	TapeLibraryId        optional.String
	Name                 optional.String
	Serial               optional.String
	Comment              optional.String
	ScsiAddress          optional.String
	Vendor               optional.String
	Product              optional.String
	Firmware             optional.String
	Device               optional.String
	Sgdevice             optional.String
	Libso                optional.String
	Acs                  optional.String
	Lsm                  optional.String
	Panel                optional.String
	Transport            optional.String
	Status               optional.String
	Full                 optional.String
	MountCount           optional.String
	UseTo                optional.String
	UseBy                optional.String
	UseFileProcessedSize optional.String
	UseFileSizeToProcess optional.String
	UseFileNameProcessed optional.String
	Bandwidth            optional.String
}

type IndexTapeLibrariesOpts

type IndexTapeLibrariesOpts struct {
	Limit               optional.Int32
	Offset              optional.Int32
	SortBy              optional.Interface
	Id                  optional.String
	Name                optional.String
	Serial              optional.String
	Comment             optional.String
	Protocol            optional.String
	Vendor              optional.String
	Product             optional.String
	Firmware            optional.String
	Device              optional.String
	Libso               optional.String
	Acs                 optional.String
	Status              optional.String
	StorageSlots        optional.String
	StorageSlotsAddress optional.String
	IoSlots             optional.String
	IoSlotsAddress      optional.String
	Price               optional.String
}

type IndexTapeLibraryDevicesOpts

type IndexTapeLibraryDevicesOpts struct {
	JobId optional.String
}

type IndexTapePoolsOpts

type IndexTapePoolsOpts struct {
	Limit   optional.Int32
	Offset  optional.Int32
	SortBy  optional.Interface
	Id      optional.String
	Name    optional.String
	Comment optional.String
	Type_   optional.String
}

type IndexTapesByTapeLibraryOpts

type IndexTapesByTapeLibraryOpts struct {
	Limit           optional.Int32
	Offset          optional.Int32
	SortBy          optional.Interface
	Id              optional.String
	TapePoolId      optional.String
	Barcode         optional.String
	Location        optional.String
	Type_           optional.String
	Locked          optional.String
	Scratch         optional.String
	Cleaning        optional.String
	WriteProtect    optional.String
	Mounted         optional.String
	Ejected         optional.String
	Known           optional.String
	MountCount      optional.String
	DateIn          optional.String
	DateMove        optional.String
	Free            optional.String
	Max             optional.String
	LastSizeUpdate  optional.String
	LastMaintenance optional.String
	LastRepack      optional.String
	RepackStatus    optional.String
	Hash            optional.String
	ForceImportType optional.String
	NeedToCheck     optional.String
}

type IndexTapesByTapePoolOpts

type IndexTapesByTapePoolOpts struct {
	Limit           optional.Int32
	Offset          optional.Int32
	SortBy          optional.Interface
	Id              optional.String
	TapeLibraryId   optional.String
	Barcode         optional.String
	Location        optional.String
	Type_           optional.String
	Locked          optional.String
	Scratch         optional.String
	Cleaning        optional.String
	WriteProtect    optional.String
	Mounted         optional.String
	Ejected         optional.String
	Known           optional.String
	MountCount      optional.String
	DateIn          optional.String
	DateMove        optional.String
	Free            optional.String
	Max             optional.String
	LastSizeUpdate  optional.String
	LastMaintenance optional.String
	LastRepack      optional.String
	RepackStatus    optional.String
	Hash            optional.String
	ForceImportType optional.String
	NeedToCheck     optional.String
}

type IndexTapesOpts

type IndexTapesOpts struct {
	Limit           optional.Int32
	Offset          optional.Int32
	SortBy          optional.Interface
	Id              optional.String
	TapeLibraryId   optional.String
	TapePoolId      optional.String
	Barcode         optional.String
	Location        optional.String
	Type_           optional.String
	Locked          optional.String
	Scratch         optional.String
	Cleaning        optional.String
	WriteProtect    optional.String
	Mounted         optional.String
	Ejected         optional.String
	Known           optional.String
	MountCount      optional.String
	DateIn          optional.String
	DateMove        optional.String
	Free            optional.String
	Max             optional.String
	LastSizeUpdate  optional.String
	LastMaintenance optional.String
	LastRepack      optional.String
	RepackStatus    optional.String
	Hash            optional.String
	ForceImportType optional.String
	NeedToCheck     optional.String
}

type IndexTaskExecutionsOpts

type IndexTaskExecutionsOpts struct {
	Limit          optional.Int32
	Offset         optional.Int32
	SortBy         optional.Interface
	Id             optional.String
	TaskId         optional.String
	Name           optional.String
	Type_          optional.String
	Status         optional.String
	LogTime        optional.String
	JobStarted     optional.String
	JobFinished    optional.String
	ToProcessSize  optional.String
	ProcessedSize  optional.String
	ToProcessFiles optional.String
	ProcessedFiles optional.String
	FinalizedFiles optional.String
	EstimationTime optional.String
	Bandwidth      optional.String
}

type IndexTaskMetadataOpts

type IndexTaskMetadataOpts struct {
	Limit  optional.Int32
	Offset optional.Int32
	SortBy optional.Interface
	Id     optional.String
	Key    optional.String
	Value  optional.String
}

type IndexTaskOptionsOpts

type IndexTaskOptionsOpts struct {
	Limit  optional.Int32
	Offset optional.Int32
	SortBy optional.Interface
	Id     optional.String
	Type_  optional.String
	Value  optional.String
}

type IndexTaskSourcesOpts

type IndexTaskSourcesOpts struct {
	Limit        optional.Int32
	Offset       optional.Int32
	SortBy       optional.Interface
	Id           optional.String
	FileId       optional.String
	ImportFileId optional.String
	TapeId       optional.String
	TapePoolId   optional.String
	CloudPoolId  optional.String
	NasPoolId    optional.String
}

type IndexTasksOpts

type IndexTasksOpts struct {
	Limit                optional.Int32
	Offset               optional.Int32
	SortBy               optional.Interface
	Id                   optional.String
	Name                 optional.String
	Comment              optional.String
	Type_                optional.String
	Priority             optional.String
	ConflictResolution   optional.String
	Action               optional.String
	Activate             optional.String
	CreationDate         optional.String
	CreationUsername     optional.String
	ModificationDate     optional.String
	ModificationUsername optional.String
	JobStarted           optional.String
	JobFinished          optional.String
	Status               optional.String
	ProcessedSize        optional.String
	ToProcessSize        optional.String
}

type Invalid

type Invalid struct {
	Error_ string `json:"error"`
	// Value received
	Value string `json:"value,omitempty"`
}

Attribute is invalid

type LessThan

type LessThan struct {
	Error_ string `json:"error"`
	// Value received
	Value int32 `json:"value,omitempty"`
	// Expected minimum value
	Count int32 `json:"count,omitempty"`
}

Attribute must be less than %{count}

type LessThanOrEqualTo

type LessThanOrEqualTo struct {
	Error_ string `json:"error"`
	// Value received
	Value int32 `json:"value,omitempty"`
	// Expected minimum value
	Count int32 `json:"count,omitempty"`
}

Attribute must be less than or equal to %{count}

type ModelError

type ModelError struct {
	// Parsable objects describing the errors. The key is the invalid attribute name.
	Details map[string][]AttributeError `json:"details,omitempty"`
	// English description of the errors.
	Messages []string `json:"messages,omitempty"`
}

type MountCollection

type MountCollection struct {
	Mounts []MountInfo `json:"mounts,omitempty"`
}

type MountInfo

type MountInfo struct {
	Id                 int32  `json:"id,omitempty"`
	MajorMinor         string `json:"major_minor,omitempty"`
	Target             string `json:"target,omitempty"`
	Source             string `json:"source,omitempty"`
	Options            string `json:"options,omitempty"`
	Type_              string `json:"type,omitempty"`
	NasId              int32  `json:"nas_id,omitempty"`
	NasName            string `json:"nas_name,omitempty"`
	NasShareId         int32  `json:"nas_share_id,omitempty"`
	NasPoolId          int32  `json:"nas_pool_id,omitempty"`
	NasPoolName        string `json:"nas_pool_name,omitempty"`
	CloudConnectorId   int32  `json:"cloud_connector_id,omitempty"`
	CloudConnectorName string `json:"cloud_connector_name,omitempty"`
	CloudBucketId      int32  `json:"cloud_bucket_id,omitempty"`
	CloudBucketName    string `json:"cloud_bucket_name,omitempty"`
	CloudPoolId        int32  `json:"cloud_pool_id,omitempty"`
	CloudPoolName      string `json:"cloud_pool_name,omitempty"`
	MountPointId       int32  `json:"mount_point_id,omitempty"`
	MountPointName     string `json:"mount_point_name,omitempty"`
	TapeId             int32  `json:"tape_id,omitempty"`
	TapeBarcode        string `json:"tape_barcode,omitempty"`
	TapeLibraryId      int32  `json:"tape_library_id,omitempty"`
	TapeLibraryName    string `json:"tape_library_name,omitempty"`
	TapeLibrarySerial  string `json:"tape_library_serial,omitempty"`
}

type MountNotification

type MountNotification struct {
	Action string     `json:"action,omitempty"`
	Info   *MountInfo `json:"info,omitempty"`
}

type MountPoint

type MountPoint struct {
	Id           int32  `json:"id,omitempty"`
	Name         string `json:"name,omitempty"`
	Comment      string `json:"comment,omitempty"`
	Target       string `json:"target,omitempty"`
	Type_        string `json:"type,omitempty"`
	Options      string `json:"options,omitempty"`
	Username     string `json:"username,omitempty"`
	Password     string `json:"password,omitempty"`
	ScanInterval string `json:"scan_interval,omitempty"`
	Price        string `json:"price,omitempty"`
}

type MountPointCollection

type MountPointCollection struct {
	Count       int32        `json:"count,omitempty"`
	MountPoints []MountPoint `json:"mount_points,omitempty"`
}

type MountPointsApiService

type MountPointsApiService service

func (*MountPointsApiService) CreateMountPoint

func (a *MountPointsApiService) CreateMountPoint(ctx context.Context, mountPointBody MountPoint) (MountPoint, *http.Response, error)

MountPointsApiService Creates a new mount point. It **does not** create and mount the file structure. Use API v1 instead. **API Key Scope**: mount_points / create

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

@return MountPoint

func (*MountPointsApiService) DestroyMountPoint

func (a *MountPointsApiService) DestroyMountPoint(ctx context.Context, mountPointId string) (*http.Response, error)

MountPointsApiService Destroys a specific mount point. **API Key Scope**: mount_points / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mountPointId Numeric ID or name of mount point.

func (*MountPointsApiService) IndexMountPoints

func (a *MountPointsApiService) IndexMountPoints(ctx context.Context, localVarOptionals *IndexMountPointsOpts) (MountPointCollection, *http.Response, error)

func (*MountPointsApiService) MountMountPoint

func (a *MountPointsApiService) MountMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)

MountPointsApiService Mount Mount Point. **API Key Scope**: mount_points / mount

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mountPointId Numeric ID or name of mount point.

@return MountStatus

func (*MountPointsApiService) MountStatusMountPoint

func (a *MountPointsApiService) MountStatusMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)

MountPointsApiService Get mount status of Mount Point. **API Key Scope**: mount_points / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mountPointId Numeric ID or name of mount point.

@return MountStatus

func (*MountPointsApiService) ShowMountPoint

func (a *MountPointsApiService) ShowMountPoint(ctx context.Context, mountPointId string) (MountPoint, *http.Response, error)

MountPointsApiService Displays a specific mount point&#x60;. **API Key Scope**: mount_points / show Optional API Key Explicit Scope: mount_points / get_password

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mountPointId Numeric ID or name of mount point.

@return MountPoint

func (*MountPointsApiService) UnmountMountPoint

func (a *MountPointsApiService) UnmountMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)

MountPointsApiService Unmount Mount Point. **API Key Scope**: mount_points / unmount

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mountPointId Numeric ID or name of mount point.

@return MountStatus

func (*MountPointsApiService) UpdateMountPoint

func (a *MountPointsApiService) UpdateMountPoint(ctx context.Context, mountPointId string, mountPointBody MountPoint) (MountPoint, *http.Response, error)

MountPointsApiService Updates a specific mount point&#x60;. It **does not** create and mount the file structure. Use API v1 instead. **API Key Scope**: mount_points / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mountPointId Numeric ID or name of mount point.
  • @param mountPointBody

@return MountPoint

type MountStatus

type MountStatus struct {
	Mounted bool       `json:"mounted,omitempty"`
	Message string     `json:"message,omitempty"`
	Status  *MountInfo `json:"status,omitempty"`
}

type MountsApiService

type MountsApiService service

func (*MountsApiService) IndexMounts

MountsApiService List all mounted storages **API Key Scope**: mounts / index

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

@return MountCollection

type Nas

type Nas struct {
	Id      int32  `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Host    string `json:"host,omitempty"`
	Type_   string `json:"type,omitempty"`
	Comment string `json:"comment,omitempty"`
	Price   string `json:"price,omitempty"`
}

type NasApiService

type NasApiService service

func (*NasApiService) CreateNas

func (a *NasApiService) CreateNas(ctx context.Context, nasBody Nas) (Nas, *http.Response, error)

NasApiService Creates a new NAS. **API Key Scope**: nas / create

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

@return Nas

func (*NasApiService) DestroyNas

func (a *NasApiService) DestroyNas(ctx context.Context, nasId string) (*http.Response, error)

NasApiService Destroys a specific NAS. **API Key Scope**: nas / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.

func (*NasApiService) IndexNas

func (a *NasApiService) IndexNas(ctx context.Context, localVarOptionals *IndexNasOpts) (NasCollection, *http.Response, error)

func (*NasApiService) ShowNas

func (a *NasApiService) ShowNas(ctx context.Context, nasId string) (Nas, *http.Response, error)

NasApiService Displays a specific NAS. **API Key Scope**: nas / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.

@return Nas

func (*NasApiService) UpdateNas

func (a *NasApiService) UpdateNas(ctx context.Context, nasId string, nasBody Nas) (Nas, *http.Response, error)

NasApiService Updates a specific NAS. **API Key Scope**: nas / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasBody

@return Nas

type NasCollection

type NasCollection struct {
	Count int32 `json:"count,omitempty"`
	Nas   []Nas `json:"nas,omitempty"`
}

type NasPool

type NasPool struct {
	Id      int32  `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Comment string `json:"comment,omitempty"`
	Type_   string `json:"type,omitempty"`
}

type NasPoolCollection

type NasPoolCollection struct {
	Count    int32     `json:"count,omitempty"`
	NasPools []NasPool `json:"nas_pools,omitempty"`
}

type NasPoolUp

type NasPoolUp struct {
	Id          int32   `json:"id,omitempty"`
	Name        string  `json:"name,omitempty"`
	Comment     string  `json:"comment,omitempty"`
	Type_       string  `json:"type,omitempty"`
	NasShareIds []int32 `json:"nas_share_ids,omitempty"`
}

type NasPoolsApiService

type NasPoolsApiService service

func (*NasPoolsApiService) CreateNasPool

func (a *NasPoolsApiService) CreateNasPool(ctx context.Context, nasPoolBody NasPoolUp) (NasPool, *http.Response, error)

NasPoolsApiService Creates a new NAS pool. **API Key Scope**: nas_pools / create

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

@return NasPool

func (*NasPoolsApiService) DestroyNasPool

func (a *NasPoolsApiService) DestroyNasPool(ctx context.Context, nasPoolId string) (*http.Response, error)

NasPoolsApiService Destroys a specific NAS pool. **API Key Scope**: nas_pools / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.

func (*NasPoolsApiService) IndexNasPools

func (a *NasPoolsApiService) IndexNasPools(ctx context.Context, localVarOptionals *IndexNasPoolsOpts) (NasPoolCollection, *http.Response, error)

func (*NasPoolsApiService) MountStatusNasPool

func (a *NasPoolsApiService) MountStatusNasPool(ctx context.Context, nasPoolId string) (MountStatus, *http.Response, error)

NasPoolsApiService Get mount status of NAS pool. **API Key Scope**: nas_pools / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.

@return MountStatus

func (*NasPoolsApiService) ShowNasPool

func (a *NasPoolsApiService) ShowNasPool(ctx context.Context, nasPoolId string) (NasPool, *http.Response, error)

NasPoolsApiService Displays a specific NAS pool. **API Key Scope**: nas_pools / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.

@return NasPool

func (*NasPoolsApiService) UpdateNasPool

func (a *NasPoolsApiService) UpdateNasPool(ctx context.Context, nasPoolId string, nasPoolBody NasPoolUp) (NasPool, *http.Response, error)

NasPoolsApiService Updates a specific NAS pool. **API Key Scope**: nas_pools / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.
  • @param nasPoolBody

@return NasPool

type NasShare

type NasShare struct {
	Id        int32  `json:"id,omitempty"`
	NasId     int32  `json:"nas_id,omitempty"`
	NasPoolId int32  `json:"nas_pool_id,omitempty"`
	Path      string `json:"path,omitempty"`
	Options   string `json:"options,omitempty"`
	Username  string `json:"username,omitempty"`
	Password  string `json:"password,omitempty"`
}

type NasShareCollection

type NasShareCollection struct {
	Count     int32      `json:"count,omitempty"`
	NasShares []NasShare `json:"nas_shares,omitempty"`
}

type NasSharesApiService

type NasSharesApiService service

func (*NasSharesApiService) CreateNasShareByNas

func (a *NasSharesApiService) CreateNasShareByNas(ctx context.Context, nasId string, nasShareBody NasShare) (NasShare, *http.Response, error)

NasSharesApiService Creates a new NAS share. **API Key Scope**: nas_shares / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasShareBody

@return NasShare

func (*NasSharesApiService) DestroyNasShare

func (a *NasSharesApiService) DestroyNasShare(ctx context.Context, nasShareId int32) (*http.Response, error)

NasSharesApiService Destroys a specific NAS share. **API Key Scope**: nas_shares / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasShareId Numeric ID of NAS share.

func (*NasSharesApiService) DestroyNasShareByNas

func (a *NasSharesApiService) DestroyNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (*http.Response, error)

NasSharesApiService Destroys a specific NAS share. **API Key Scope**: nas_shares / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasShareId Numeric ID of NAS share.

func (*NasSharesApiService) DestroyNasShareByNasPool

func (a *NasSharesApiService) DestroyNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (*http.Response, error)

NasSharesApiService Destroys a specific NAS share. **API Key Scope**: nas_shares / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.
  • @param nasShareId Numeric ID of NAS share.

func (*NasSharesApiService) IndexNasShares

func (a *NasSharesApiService) IndexNasShares(ctx context.Context, localVarOptionals *IndexNasSharesOpts) (NasShareCollection, *http.Response, error)

func (*NasSharesApiService) IndexNasSharesByNas

func (a *NasSharesApiService) IndexNasSharesByNas(ctx context.Context, nasId string, localVarOptionals *IndexNasSharesByNasOpts) (NasShareCollection, *http.Response, error)

func (*NasSharesApiService) IndexNasSharesByNasPool

func (a *NasSharesApiService) IndexNasSharesByNasPool(ctx context.Context, nasPoolId string, localVarOptionals *IndexNasSharesByNasPoolOpts) (NasShareCollection, *http.Response, error)

func (*NasSharesApiService) MountStatusNasShare

func (a *NasSharesApiService) MountStatusNasShare(ctx context.Context, nasShareId int32) (MountStatus, *http.Response, error)

NasSharesApiService Get mount status of NAS Share. **API Key Scope**: nas_shares / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasShareId Numeric ID of NAS share.

@return MountStatus

func (*NasSharesApiService) MountStatusNasShareByNas

func (a *NasSharesApiService) MountStatusNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (MountStatus, *http.Response, error)

NasSharesApiService Get mount status of NAS Share. **API Key Scope**: nas_shares / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasShareId Numeric ID of NAS share.

@return MountStatus

func (*NasSharesApiService) MountStatusNasShareByNasPool

func (a *NasSharesApiService) MountStatusNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (MountStatus, *http.Response, error)

NasSharesApiService Get mount status of NAS Share. **API Key Scope**: nas_shares / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.
  • @param nasShareId Numeric ID of NAS share.

@return MountStatus

func (*NasSharesApiService) ShowNasShareByNas

func (a *NasSharesApiService) ShowNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (NasShare, *http.Response, error)

NasSharesApiService Displays a specific NAS share. **API Key Scope**: nas_shares / show Optional API Key Explicit Scope: nas_shares / get_password

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasShareId Numeric ID of NAS share.

@return NasShare

func (*NasSharesApiService) ShowNasShares

func (a *NasSharesApiService) ShowNasShares(ctx context.Context, nasShareId int32) (NasShare, *http.Response, error)

NasSharesApiService Displays a specific NAS share. **API Key Scope**: nas_shares / show Optional API Key Explicit Scope: nas_shares / get_password

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasShareId Numeric ID of NAS share.

@return NasShare

func (*NasSharesApiService) ShowNasSharesByNasPool

func (a *NasSharesApiService) ShowNasSharesByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (NasShare, *http.Response, error)

NasSharesApiService Displays a specific NAS share. **API Key Scope**: nas_shares / show Optional API Key Explicit Scope: nas_shares / get_password

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.
  • @param nasShareId Numeric ID of NAS share.

@return NasShare

func (*NasSharesApiService) TestNasShare

func (a *NasSharesApiService) TestNasShare(ctx context.Context, nasId string, nasShareBody NasShare) (ActiveJobStatus, *http.Response, error)

NasSharesApiService Test an unsaved NAS Share. **API Key Scope**: nas_shares / test

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasShareBody

@return ActiveJobStatus

func (*NasSharesApiService) TestResultNasShare

func (a *NasSharesApiService) TestResultNasShare(ctx context.Context, nasId string, localVarOptionals *TestResultNasShareOpts) (ActiveJobStatus, *http.Response, error)

func (*NasSharesApiService) UpdateNasShare

func (a *NasSharesApiService) UpdateNasShare(ctx context.Context, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)

NasSharesApiService Updates a specific NAS share. **API Key Scope**: nas_shares / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasShareId Numeric ID of NAS share.
  • @param nasShareBody

@return NasShare

func (*NasSharesApiService) UpdateNasShareByNas

func (a *NasSharesApiService) UpdateNasShareByNas(ctx context.Context, nasId string, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)

NasSharesApiService Updates a specific NAS share. **API Key Scope**: nas_shares / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasId Numeric ID or name of NAS.
  • @param nasShareId Numeric ID of NAS share.
  • @param nasShareBody

@return NasShare

func (*NasSharesApiService) UpdateNasShareByNasPool

func (a *NasSharesApiService) UpdateNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)

NasSharesApiService Updates a specific NAS share. **API Key Scope**: nas_shares / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nasPoolId Numeric ID or name of NAS pool.
  • @param nasShareId Numeric ID of NAS share.
  • @param nasShareBody

@return NasShare

type NodeumFile

type NodeumFile struct {
	Id               int32  `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	Parent           int32  `json:"parent,omitempty"`
	Type_            string `json:"type,omitempty"`
	Permission       int32  `json:"permission,omitempty"`
	Size             int32  `json:"size,omitempty"`
	ChangeDate       string `json:"change_date,omitempty"`
	ModificationDate string `json:"modification_date,omitempty"`
	AccessDate       string `json:"access_date,omitempty"`
	Uid              int32  `json:"uid,omitempty"`
	Gid              int32  `json:"gid,omitempty"`
}

type NodeumFileCollection

type NodeumFileCollection struct {
	Count int32        `json:"count,omitempty"`
	Files []NodeumFile `json:"files,omitempty"`
}

type NodeumFileWithPath

type NodeumFileWithPath struct {
	Id               int32  `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	Parent           int32  `json:"parent,omitempty"`
	Type_            string `json:"type,omitempty"`
	Permission       int32  `json:"permission,omitempty"`
	Size             int32  `json:"size,omitempty"`
	ChangeDate       string `json:"change_date,omitempty"`
	ModificationDate string `json:"modification_date,omitempty"`
	AccessDate       string `json:"access_date,omitempty"`
	Uid              int32  `json:"uid,omitempty"`
	Gid              int32  `json:"gid,omitempty"`
	FilePath         string `json:"file_path,omitempty"`
}

type OccurrenceLessThan

type OccurrenceLessThan struct {
	Error_ string `json:"error"`
	// Expected maximum number of occurrences
	Count int32 `json:"count,omitempty"`
	// Current number of occurrences
	Value int32 `json:"value,omitempty"`
}

Must have less than %{count} occurrences (currently have %{value})

type OccurrenceLessThanOrEqualTo

type OccurrenceLessThanOrEqualTo struct {
	Error_ string `json:"error"`
	// Expected maximum number of occurrences
	Count int32 `json:"count,omitempty"`
	// Current number of occurrences
	Value int32 `json:"value,omitempty"`
}

Must have at most or less than %{count} occurrences (currently have %{value})

type QuotaOnCache

type QuotaOnCache struct {
	Error_ string `json:"error"`
}

Quota on cache can't be above 100% (total)

type SyncResultCloudBucketsOpts

type SyncResultCloudBucketsOpts struct {
	JobId optional.String
}

type Taken

type Taken struct {
	Error_ string `json:"error"`
	// Value received
	Value string `json:"value,omitempty"`
}

Attribute has already been taken

type Tape

type Tape struct {
	Id              int32  `json:"id,omitempty"`
	TapeLibraryId   int32  `json:"tape_library_id,omitempty"`
	TapePoolId      int32  `json:"tape_pool_id,omitempty"`
	Barcode         string `json:"barcode,omitempty"`
	Location        string `json:"location,omitempty"`
	Type_           string `json:"type,omitempty"`
	Locked          bool   `json:"locked,omitempty"`
	Scratch         bool   `json:"scratch,omitempty"`
	Cleaning        bool   `json:"cleaning,omitempty"`
	WriteProtect    bool   `json:"write_protect,omitempty"`
	Mounted         bool   `json:"mounted,omitempty"`
	Ejected         bool   `json:"ejected,omitempty"`
	Known           bool   `json:"known,omitempty"`
	MountCount      int32  `json:"mount_count,omitempty"`
	DateIn          string `json:"date_in,omitempty"`
	DateMove        string `json:"date_move,omitempty"`
	Free            int32  `json:"free,omitempty"`
	Max             int32  `json:"max,omitempty"`
	LastSizeUpdate  string `json:"last_size_update,omitempty"`
	LastMaintenance string `json:"last_maintenance,omitempty"`
	LastRepack      string `json:"last_repack,omitempty"`
	RepackStatus    bool   `json:"repack_status,omitempty"`
	Hash            string `json:"hash,omitempty"`
	ForceImportType bool   `json:"force_import_type,omitempty"`
	NeedToCheck     bool   `json:"need_to_check,omitempty"`
}

type TapeCollection

type TapeCollection struct {
	Count int32  `json:"count,omitempty"`
	Tapes []Tape `json:"tapes,omitempty"`
}

type TapeDrive

type TapeDrive struct {
	Serial      string `json:"serial,omitempty"`
	ScsiAddress int32  `json:"scsi_address,omitempty"`
	Vendor      string `json:"vendor,omitempty"`
	Product     string `json:"product,omitempty"`
	Firmware    string `json:"firmware,omitempty"`
	// When saved, device may be prefixed by *n* (eg. `/dev/nst5`)
	Device               string `json:"device,omitempty"`
	Sgdevice             string `json:"sgdevice,omitempty"`
	Id                   int32  `json:"id,omitempty"`
	TapeLibraryId        int32  `json:"tape_library_id,omitempty"`
	Name                 string `json:"name,omitempty"`
	Comment              string `json:"comment,omitempty"`
	Libso                string `json:"libso,omitempty"`
	Acs                  int32  `json:"acs,omitempty"`
	Lsm                  int32  `json:"lsm,omitempty"`
	Panel                int32  `json:"panel,omitempty"`
	Transport            int32  `json:"transport,omitempty"`
	Status               string `json:"status,omitempty"`
	Full                 int32  `json:"full,omitempty"`
	MountCount           int32  `json:"mount_count,omitempty"`
	UseTo                string `json:"use_to,omitempty"`
	UseBy                string `json:"use_by,omitempty"`
	UseFileProcessedSize int32  `json:"use_file_processed_size,omitempty"`
	UseFileSizeToProcess int32  `json:"use_file_size_to_process,omitempty"`
	UseFileNameProcessed string `json:"use_file_name_processed,omitempty"`
	Bandwidth            int32  `json:"bandwidth,omitempty"`
}

type TapeDriveCollection

type TapeDriveCollection struct {
	Count      int32       `json:"count,omitempty"`
	TapeDrives []TapeDrive `json:"tape_drives,omitempty"`
}

type TapeDriveDevice

type TapeDriveDevice struct {
	Serial      string `json:"serial,omitempty"`
	ScsiAddress int32  `json:"scsi_address,omitempty"`
	Vendor      string `json:"vendor,omitempty"`
	Product     string `json:"product,omitempty"`
	Firmware    string `json:"firmware,omitempty"`
	// When saved, device may be prefixed by *n* (eg. `/dev/nst5`)
	Device   string `json:"device,omitempty"`
	Sgdevice string `json:"sgdevice,omitempty"`
}

type TapeDriveDeviceCollection

type TapeDriveDeviceCollection struct {
	TapeDrives []TapeDriveDevice `json:"tape_drives,omitempty"`
}

type TapeDrivesApiService

type TapeDrivesApiService service

func (*TapeDrivesApiService) CreateTapeDriveByTapeLibrary

func (a *TapeDrivesApiService) CreateTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)

TapeDrivesApiService Creates a new tape drive. **API Key Scope**: tape_drives / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeDriveBody

@return TapeDrive

func (*TapeDrivesApiService) DestroyTapeDrive

func (a *TapeDrivesApiService) DestroyTapeDrive(ctx context.Context, tapeDriveId string) (*http.Response, error)

TapeDrivesApiService Destroys a specific tape drive. **API Key Scope**: tape_drives / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeDriveId Numeric ID, serial, or name of tape drive.

func (*TapeDrivesApiService) DestroyTapeDriveByTapeLibrary

func (a *TapeDrivesApiService) DestroyTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string) (*http.Response, error)

TapeDrivesApiService Destroys a specific tape drive. **API Key Scope**: tape_drives / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeDriveId Numeric ID, serial, or name of tape drive.

func (*TapeDrivesApiService) IndexTapeDriveDevices

func (a *TapeDrivesApiService) IndexTapeDriveDevices(ctx context.Context, tapeLibraryId string, localVarOptionals *IndexTapeDriveDevicesOpts) (TapeDriveDeviceCollection, *http.Response, error)

func (*TapeDrivesApiService) IndexTapeDrives

func (a *TapeDrivesApiService) IndexTapeDrives(ctx context.Context, localVarOptionals *IndexTapeDrivesOpts) (TapeDriveCollection, *http.Response, error)

func (*TapeDrivesApiService) IndexTapeDrivesByTapeLibrary

func (a *TapeDrivesApiService) IndexTapeDrivesByTapeLibrary(ctx context.Context, tapeLibraryId string, localVarOptionals *IndexTapeDrivesByTapeLibraryOpts) (TapeDriveCollection, *http.Response, error)

func (*TapeDrivesApiService) ShowTapeDrive

func (a *TapeDrivesApiService) ShowTapeDrive(ctx context.Context, tapeDriveId string) (TapeDrive, *http.Response, error)

TapeDrivesApiService Displays a specific tape drive. **API Key Scope**: tape_drives / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeDriveId Numeric ID, serial, or name of tape drive.

@return TapeDrive

func (*TapeDrivesApiService) ShowTapeDriveByTapeLibrary

func (a *TapeDrivesApiService) ShowTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string) (TapeDrive, *http.Response, error)

TapeDrivesApiService Displays a specific tape drive. **API Key Scope**: tape_drives / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeDriveId Numeric ID, serial, or name of tape drive.

@return TapeDrive

func (*TapeDrivesApiService) UpdateTapeDrive

func (a *TapeDrivesApiService) UpdateTapeDrive(ctx context.Context, tapeDriveId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)

TapeDrivesApiService Updates a specific tape drive. **API Key Scope**: tape_drives / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeDriveId Numeric ID, serial, or name of tape drive.
  • @param tapeDriveBody

@return TapeDrive

func (*TapeDrivesApiService) UpdateTapeDriveByTapeLibrary

func (a *TapeDrivesApiService) UpdateTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)

TapeDrivesApiService Updates a specific tape drive. **API Key Scope**: tape_drives / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeDriveId Numeric ID, serial, or name of tape drive.
  • @param tapeDriveBody

@return TapeDrive

type TapeLibrariesApiService

type TapeLibrariesApiService service

func (*TapeLibrariesApiService) CreateTapeLibrary

func (a *TapeLibrariesApiService) CreateTapeLibrary(ctx context.Context, tapeLibraryBody TapeLibrary) (TapeLibrary, *http.Response, error)

TapeLibrariesApiService Creates a new tape library. **API Key Scope**: tape_libraries / create

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

@return TapeLibrary

func (*TapeLibrariesApiService) DestroyTapeLibrary

func (a *TapeLibrariesApiService) DestroyTapeLibrary(ctx context.Context, tapeLibraryId string) (*http.Response, error)

TapeLibrariesApiService Destroys a specific tape library. **API Key Scope**: tape_libraries / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.

func (*TapeLibrariesApiService) IndexTapeLibraries

func (a *TapeLibrariesApiService) IndexTapeLibraries(ctx context.Context, localVarOptionals *IndexTapeLibrariesOpts) (TapeLibraryCollection, *http.Response, error)

func (*TapeLibrariesApiService) IndexTapeLibraryDevices

func (a *TapeLibrariesApiService) IndexTapeLibraryDevices(ctx context.Context, localVarOptionals *IndexTapeLibraryDevicesOpts) (TapeLibraryDeviceCollection, *http.Response, error)

func (*TapeLibrariesApiService) ShowTapeLibrary

func (a *TapeLibrariesApiService) ShowTapeLibrary(ctx context.Context, tapeLibraryId string) (TapeLibrary, *http.Response, error)

TapeLibrariesApiService Displays a specific tape library. **API Key Scope**: tape_libraries / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.

@return TapeLibrary

func (*TapeLibrariesApiService) UpdateTapeLibrary

func (a *TapeLibrariesApiService) UpdateTapeLibrary(ctx context.Context, tapeLibraryId string, tapeLibraryBody TapeLibrary) (TapeLibrary, *http.Response, error)

TapeLibrariesApiService Updates a specific tape library. **API Key Scope**: tape_libraries / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeLibraryBody

@return TapeLibrary

type TapeLibrary

type TapeLibrary struct {
	Serial              string `json:"serial,omitempty"`
	Protocol            string `json:"protocol,omitempty"`
	Vendor              string `json:"vendor,omitempty"`
	Product             string `json:"product,omitempty"`
	Firmware            string `json:"firmware,omitempty"`
	Device              string `json:"device,omitempty"`
	Acs                 int32  `json:"acs,omitempty"`
	StorageSlots        int32  `json:"storage_slots,omitempty"`
	StorageSlotsAddress int32  `json:"storage_slots_address,omitempty"`
	IoSlots             int32  `json:"io_slots,omitempty"`
	IoSlotsAddress      int32  `json:"io_slots_address,omitempty"`
	Id                  int32  `json:"id,omitempty"`
	Name                string `json:"name,omitempty"`
	Comment             string `json:"comment,omitempty"`
	Libso               string `json:"libso,omitempty"`
	Status              string `json:"status,omitempty"`
	Price               string `json:"price,omitempty"`
}

type TapeLibraryCollection

type TapeLibraryCollection struct {
	Count         int32         `json:"count,omitempty"`
	TapeLibraries []TapeLibrary `json:"tape_libraries,omitempty"`
}

type TapeLibraryDevice

type TapeLibraryDevice struct {
	Serial              string `json:"serial,omitempty"`
	Protocol            string `json:"protocol,omitempty"`
	Vendor              string `json:"vendor,omitempty"`
	Product             string `json:"product,omitempty"`
	Firmware            string `json:"firmware,omitempty"`
	Device              string `json:"device,omitempty"`
	Acs                 int32  `json:"acs,omitempty"`
	StorageSlots        int32  `json:"storage_slots,omitempty"`
	StorageSlotsAddress int32  `json:"storage_slots_address,omitempty"`
	IoSlots             int32  `json:"io_slots,omitempty"`
	IoSlotsAddress      int32  `json:"io_slots_address,omitempty"`
}

type TapeLibraryDeviceCollection

type TapeLibraryDeviceCollection struct {
	TapeLibraries []TapeLibraryDevice `json:"tape_libraries,omitempty"`
}

type TapePool

type TapePool struct {
	Id      int32  `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Comment string `json:"comment,omitempty"`
	Type_   string `json:"type,omitempty"`
}

type TapePoolCollection

type TapePoolCollection struct {
	Count     int32      `json:"count,omitempty"`
	TapePools []TapePool `json:"tape_pools,omitempty"`
}

type TapePoolUp

type TapePoolUp struct {
	Id      int32   `json:"id,omitempty"`
	Name    string  `json:"name,omitempty"`
	Comment string  `json:"comment,omitempty"`
	Type_   string  `json:"type,omitempty"`
	TapeIds []int32 `json:"tape_ids,omitempty"`
}

type TapePoolsApiService

type TapePoolsApiService service

func (*TapePoolsApiService) CreateTapePool

func (a *TapePoolsApiService) CreateTapePool(ctx context.Context, tapePoolBody TapePoolUp) (TapePool, *http.Response, error)

TapePoolsApiService Creates a new tape pool. **API Key Scope**: tape_pools / create

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

@return TapePool

func (*TapePoolsApiService) DestroyTapePool

func (a *TapePoolsApiService) DestroyTapePool(ctx context.Context, tapePoolId string) (*http.Response, error)

TapePoolsApiService Destroys a specific tape pool. **API Key Scope**: tape_pools / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapePoolId Numeric ID, or name of tape pool.

func (*TapePoolsApiService) IndexTapePools

func (a *TapePoolsApiService) IndexTapePools(ctx context.Context, localVarOptionals *IndexTapePoolsOpts) (TapePoolCollection, *http.Response, error)

func (*TapePoolsApiService) ShowTapePool

func (a *TapePoolsApiService) ShowTapePool(ctx context.Context, tapePoolId string) (TapePool, *http.Response, error)

TapePoolsApiService Displays a specific tape pool. **API Key Scope**: tape_pools / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapePoolId Numeric ID, or name of tape pool.

@return TapePool

func (*TapePoolsApiService) UpdateTapePool

func (a *TapePoolsApiService) UpdateTapePool(ctx context.Context, tapePoolId string, tapePoolBody TapePoolUp) (TapePool, *http.Response, error)

TapePoolsApiService Updates a specific tape pool. **API Key Scope**: tape_pools / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapePoolId Numeric ID, or name of tape pool.
  • @param tapePoolBody

@return TapePool

type TapesApiService

type TapesApiService service

func (*TapesApiService) IndexTapes

func (a *TapesApiService) IndexTapes(ctx context.Context, localVarOptionals *IndexTapesOpts) (TapeCollection, *http.Response, error)

func (*TapesApiService) IndexTapesByTapeLibrary

func (a *TapesApiService) IndexTapesByTapeLibrary(ctx context.Context, tapeLibraryId string, localVarOptionals *IndexTapesByTapeLibraryOpts) (TapeCollection, *http.Response, error)

func (*TapesApiService) IndexTapesByTapePool

func (a *TapesApiService) IndexTapesByTapePool(ctx context.Context, tapePoolId string, localVarOptionals *IndexTapesByTapePoolOpts) (TapeCollection, *http.Response, error)

func (*TapesApiService) MountStatusTape

func (a *TapesApiService) MountStatusTape(ctx context.Context, tapeId string) (MountStatus, *http.Response, error)

TapesApiService Get mount status of Tape. **API Key Scope**: tapes / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeId Numeric ID, or barcode of tape.

@return MountStatus

func (*TapesApiService) MountStatusTapeByTapeLibrary

func (a *TapesApiService) MountStatusTapeByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeId string) (MountStatus, *http.Response, error)

TapesApiService Get mount status of Tape. **API Key Scope**: tapes / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeId Numeric ID, or barcode of tape.

@return MountStatus

func (*TapesApiService) MountStatusTapeByTapePool

func (a *TapesApiService) MountStatusTapeByTapePool(ctx context.Context, tapePoolId string, tapeId string) (MountStatus, *http.Response, error)

TapesApiService Get mount status of Tape. **API Key Scope**: tapes / mount_status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapePoolId Numeric ID, or name of tape pool.
  • @param tapeId Numeric ID, or barcode of tape.

@return MountStatus

func (*TapesApiService) ShowTape

func (a *TapesApiService) ShowTape(ctx context.Context, tapeId string) (Tape, *http.Response, error)

TapesApiService Displays a specific tape. **API Key Scope**: tapes / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeId Numeric ID, or barcode of tape.

@return Tape

func (*TapesApiService) ShowTapeByTapeLibrary

func (a *TapesApiService) ShowTapeByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeId string) (Tape, *http.Response, error)

TapesApiService Displays a specific tape. **API Key Scope**: tapes / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapeLibraryId Numeric ID, serial, or name of tape library.
  • @param tapeId Numeric ID, or barcode of tape.

@return Tape

func (*TapesApiService) ShowTapeByTapePool

func (a *TapesApiService) ShowTapeByTapePool(ctx context.Context, tapePoolId string, tapeId string) (Tape, *http.Response, error)

TapesApiService Displays a specific tape. **API Key Scope**: tapes / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tapePoolId Numeric ID, or name of tape pool.
  • @param tapeId Numeric ID, or barcode of tape.

@return Tape

type Task

type Task struct {
	Id                   int32  `json:"id,omitempty"`
	Name                 string `json:"name,omitempty"`
	Comment              string `json:"comment,omitempty"`
	Type_                string `json:"type,omitempty"`
	WorkflowType         string `json:"workflow_type,omitempty"`
	WorkflowAction       string `json:"workflow_action,omitempty"`
	Priority             int32  `json:"priority,omitempty"`
	ConflictResolution   string `json:"conflict_resolution,omitempty"`
	Action               string `json:"action,omitempty"`
	Activate             bool   `json:"activate,omitempty"`
	CreationDate         string `json:"creation_date,omitempty"`
	ModificationDate     string `json:"modification_date,omitempty"`
	CreationUsername     string `json:"creation_username,omitempty"`
	ModificationUsername string `json:"modification_username,omitempty"`
	Status               string `json:"status,omitempty"`
	JobStarted           string `json:"job_started,omitempty"`
	JobFinished          string `json:"job_finished,omitempty"`
	ProcessedSize        int32  `json:"processed_size,omitempty"`
	ToProcessSize        int32  `json:"to_process_size,omitempty"`
}

type TaskCollection

type TaskCollection struct {
	Count int32  `json:"count,omitempty"`
	Tasks []Task `json:"tasks,omitempty"`
}

type TaskDestinationCollection

type TaskDestinationCollection struct {
	Count            int32                 `json:"count,omitempty"`
	TaskDestinations []TaskDestinationDown `json:"task_destinations,omitempty"`
}

type TaskDestinationDown

type TaskDestinationDown struct {
	Id          int32       `json:"id,omitempty"`
	Folder      *NodeumFile `json:"folder,omitempty"`
	TapeId      int32       `json:"tape_id,omitempty"`
	TapePoolId  int32       `json:"tape_pool_id,omitempty"`
	CloudPoolId int32       `json:"cloud_pool_id,omitempty"`
	NasPoolId   int32       `json:"nas_pool_id,omitempty"`
}

type TaskDestinationUp

type TaskDestinationUp struct {
	FolderId      int32  `json:"folder_id,omitempty"`
	FolderPath    string `json:"folder_path,omitempty"`
	TapeId        int32  `json:"tape_id,omitempty"`
	TapeBarcode   string `json:"tape_barcode,omitempty"`
	TapePoolId    int32  `json:"tape_pool_id,omitempty"`
	TapePoolName  string `json:"tape_pool_name,omitempty"`
	CloudPoolId   int32  `json:"cloud_pool_id,omitempty"`
	CloudPoolName string `json:"cloud_pool_name,omitempty"`
	NasPoolId     int32  `json:"nas_pool_id,omitempty"`
	NasPoolName   string `json:"nas_pool_name,omitempty"`
}

type TaskDestinationsApiService

type TaskDestinationsApiService service

func (*TaskDestinationsApiService) CreateTaskDestination

func (a *TaskDestinationsApiService) CreateTaskDestination(ctx context.Context, taskId string, taskDestinationBody TaskDestinationUp) (TaskDestinationDown, *http.Response, error)

TaskDestinationsApiService Creates a new task destination. **API Key Scope**: task_destinations / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskDestinationBody

@return TaskDestinationDown

func (*TaskDestinationsApiService) DestroyTaskDestination

func (a *TaskDestinationsApiService) DestroyTaskDestination(ctx context.Context, taskId string, taskDestinationId int32) (*http.Response, error)

TaskDestinationsApiService Destroys a specific task destination. **API Key Scope**: task_destinations / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskDestinationId Numeric ID of task destination.

func (*TaskDestinationsApiService) IndexTaskDestinations

func (a *TaskDestinationsApiService) IndexTaskDestinations(ctx context.Context, taskId string) (TaskDestinationCollection, *http.Response, error)

TaskDestinationsApiService Lists all task destinations. Filter and pagination parameters are not available for this API. **API Key Scope**: task_destinations / index

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.

@return TaskDestinationCollection

func (*TaskDestinationsApiService) ShowTaskDestination

func (a *TaskDestinationsApiService) ShowTaskDestination(ctx context.Context, taskId string, taskDestinationId int32) (TaskDestinationDown, *http.Response, error)

TaskDestinationsApiService Displays a specific task destination. **API Key Scope**: task_destinations / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskDestinationId Numeric ID of task destination.

@return TaskDestinationDown

func (*TaskDestinationsApiService) UpdateTaskDestination

func (a *TaskDestinationsApiService) UpdateTaskDestination(ctx context.Context, taskId string, taskDestinationId int32, taskDestinationBody TaskDestinationUp) (TaskDestinationDown, *http.Response, error)

TaskDestinationsApiService Updates a specific task destination. **API Key Scope**: task_destinations / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskDestinationId Numeric ID of task destination.
  • @param taskDestinationBody

@return TaskDestinationDown

type TaskExecution

type TaskExecution struct {
	Id             string `json:"id,omitempty"`
	TaskId         int32  `json:"task_id,omitempty"`
	Name           string `json:"name,omitempty"`
	Type_          string `json:"type,omitempty"`
	Status         string `json:"status,omitempty"`
	LogTime        string `json:"log_time,omitempty"`
	JobStarted     string `json:"job_started,omitempty"`
	JobFinished    string `json:"job_finished,omitempty"`
	ToProcessSize  int32  `json:"to_process_size,omitempty"`
	ProcessedSize  int32  `json:"processed_size,omitempty"`
	ToProcessFiles int32  `json:"to_process_files,omitempty"`
	ProcessedFiles int32  `json:"processed_files,omitempty"`
	FinalizedFiles int32  `json:"finalized_files,omitempty"`
	EstimationTime int32  `json:"estimation_time,omitempty"`
	Bandwidth      int32  `json:"bandwidth,omitempty"`
}

type TaskExecutionCollection

type TaskExecutionCollection struct {
	Count          int32           `json:"count,omitempty"`
	TaskExecutions []TaskExecution `json:"task_executions,omitempty"`
}

type TaskExecutionsApiService

type TaskExecutionsApiService service

func (*TaskExecutionsApiService) IndexTaskExecutions

func (a *TaskExecutionsApiService) IndexTaskExecutions(ctx context.Context, localVarOptionals *IndexTaskExecutionsOpts) (TaskExecutionCollection, *http.Response, error)

func (*TaskExecutionsApiService) IndexTaskExecutionsByTask

func (a *TaskExecutionsApiService) IndexTaskExecutionsByTask(ctx context.Context, taskId string) (TaskExecutionCollection, *http.Response, error)

TaskExecutionsApiService Lists all task executions. **API Key Scope**: task_executions / index

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.

@return TaskExecutionCollection

func (*TaskExecutionsApiService) ShowTaskExecution

func (a *TaskExecutionsApiService) ShowTaskExecution(ctx context.Context, taskExecutionId int64) (TaskExecution, *http.Response, error)

TaskExecutionsApiService Displays a specific task execution. **API Key Scope**: task_executions / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskExecutionId Numeric ID of task execution.

@return TaskExecution

func (*TaskExecutionsApiService) ShowTaskExecutionByTask

func (a *TaskExecutionsApiService) ShowTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64) (TaskExecution, *http.Response, error)

TaskExecutionsApiService Displays a specific task execution. **API Key Scope**: task_executions / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskExecutionId Numeric ID of task execution.

@return TaskExecution

type TaskMetadataApiService

type TaskMetadataApiService service

func (*TaskMetadataApiService) CreateTaskMetadatum

func (a *TaskMetadataApiService) CreateTaskMetadatum(ctx context.Context, taskId string, taskMetadatumBody TaskMetadatum) (TaskMetadatum, *http.Response, error)

TaskMetadataApiService Creates a new task metadatum. **API Key Scope**: task_metadata / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskMetadatumBody

@return TaskMetadatum

func (*TaskMetadataApiService) DestroyTaskMetadatum

func (a *TaskMetadataApiService) DestroyTaskMetadatum(ctx context.Context, taskId string, taskMetadatumId int32) (*http.Response, error)

TaskMetadataApiService Destroys a specific task metadatum. **API Key Scope**: task_metadata / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskMetadatumId Numeric ID of task metadatum.

func (*TaskMetadataApiService) IndexTaskMetadata

func (a *TaskMetadataApiService) IndexTaskMetadata(ctx context.Context, taskId string, localVarOptionals *IndexTaskMetadataOpts) (TaskMetadatumCollection, *http.Response, error)

func (*TaskMetadataApiService) ShowTaskMetadat

func (a *TaskMetadataApiService) ShowTaskMetadat(ctx context.Context, taskId string, taskMetadatumId int32) (TaskMetadatum, *http.Response, error)

TaskMetadataApiService Displays a specific task metadatum. **API Key Scope**: task_metadata / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskMetadatumId Numeric ID of task metadatum.

@return TaskMetadatum

func (*TaskMetadataApiService) UpdateTaskMetadatum

func (a *TaskMetadataApiService) UpdateTaskMetadatum(ctx context.Context, taskId string, taskMetadatumId int32, taskMetadatumBody TaskMetadatum) (TaskMetadatum, *http.Response, error)

TaskMetadataApiService Updates a specific task metadatum. **API Key Scope**: task_metadata / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskMetadatumId Numeric ID of task metadatum.
  • @param taskMetadatumBody

@return TaskMetadatum

type TaskMetadatum

type TaskMetadatum struct {
	Id    int32  `json:"id,omitempty"`
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

type TaskMetadatumCollection

type TaskMetadatumCollection struct {
	Count        int32           `json:"count,omitempty"`
	TaskMetadata []TaskMetadatum `json:"task_metadata,omitempty"`
}

type TaskOption

type TaskOption struct {
	Id    int32  `json:"id,omitempty"`
	Type_ string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type TaskOptionCollection

type TaskOptionCollection struct {
	Count       int32        `json:"count,omitempty"`
	TaskOptions []TaskOption `json:"task_options,omitempty"`
}

type TaskOptionsApiService

type TaskOptionsApiService service

func (*TaskOptionsApiService) CreateTaskOption

func (a *TaskOptionsApiService) CreateTaskOption(ctx context.Context, taskId string, taskOptionBody TaskOption) (TaskOption, *http.Response, error)

TaskOptionsApiService Creates a new task option. **API Key Scope**: task_options / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskOptionBody

@return TaskOption

func (*TaskOptionsApiService) DestroyTaskOption

func (a *TaskOptionsApiService) DestroyTaskOption(ctx context.Context, taskId string, taskOptionId int32) (*http.Response, error)

TaskOptionsApiService Destroys a specific task option. **API Key Scope**: task_options / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskOptionId Numeric ID of task option.

func (*TaskOptionsApiService) IndexTaskOptions

func (a *TaskOptionsApiService) IndexTaskOptions(ctx context.Context, taskId string, localVarOptionals *IndexTaskOptionsOpts) (TaskOptionCollection, *http.Response, error)

func (*TaskOptionsApiService) ShowTaskOption

func (a *TaskOptionsApiService) ShowTaskOption(ctx context.Context, taskId string, taskOptionId int32) (TaskOption, *http.Response, error)

TaskOptionsApiService Displays a specific task option. **API Key Scope**: task_options / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskOptionId Numeric ID of task option.

@return TaskOption

func (*TaskOptionsApiService) UpdateTaskOption

func (a *TaskOptionsApiService) UpdateTaskOption(ctx context.Context, taskId string, taskOptionId int32, taskOptionBody TaskOption) (TaskOption, *http.Response, error)

TaskOptionsApiService Updates a specific task option. **API Key Scope**: task_options / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskOptionId Numeric ID of task option.
  • @param taskOptionBody

@return TaskOption

type TaskSourceCollection

type TaskSourceCollection struct {
	Count       int32            `json:"count,omitempty"`
	TaskSources []TaskSourceDown `json:"task_sources,omitempty"`
}

type TaskSourceDown

type TaskSourceDown struct {
	Id          int32       `json:"id,omitempty"`
	File        *NodeumFile `json:"file,omitempty"`
	ImportFile  *ImportFile `json:"import_file,omitempty"`
	TapeId      int32       `json:"tape_id,omitempty"`
	TapePoolId  int32       `json:"tape_pool_id,omitempty"`
	CloudPoolId int32       `json:"cloud_pool_id,omitempty"`
	NasPoolId   int32       `json:"nas_pool_id,omitempty"`
}

type TaskSourceUp

type TaskSourceUp struct {
	FileId         int32  `json:"file_id,omitempty"`
	FilePath       string `json:"file_path,omitempty"`
	ImportFileId   int32  `json:"import_file_id,omitempty"`
	ImportFilePath string `json:"import_file_path,omitempty"`
	TapeId         int32  `json:"tape_id,omitempty"`
	TapeBarcode    string `json:"tape_barcode,omitempty"`
	TapePoolId     int32  `json:"tape_pool_id,omitempty"`
	TapePoolName   string `json:"tape_pool_name,omitempty"`
	CloudPoolId    int32  `json:"cloud_pool_id,omitempty"`
	CloudPoolName  string `json:"cloud_pool_name,omitempty"`
	NasPoolId      int32  `json:"nas_pool_id,omitempty"`
	NasPoolName    string `json:"nas_pool_name,omitempty"`
}

type TaskSourcesApiService

type TaskSourcesApiService service

func (*TaskSourcesApiService) CreateTaskSource

func (a *TaskSourcesApiService) CreateTaskSource(ctx context.Context, taskId string, taskSourceBody TaskSourceUp) (TaskSourceDown, *http.Response, error)

TaskSourcesApiService Creates a new task source. **API Key Scope**: task_sources / create

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskSourceBody

@return TaskSourceDown

func (*TaskSourcesApiService) DestroyTaskSource

func (a *TaskSourcesApiService) DestroyTaskSource(ctx context.Context, taskId string, taskSourceId int32) (*http.Response, error)

TaskSourcesApiService Destroys a specific task source. **API Key Scope**: task_sources / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskSourceId Numeric ID of task source.

func (*TaskSourcesApiService) IndexTaskSources

func (a *TaskSourcesApiService) IndexTaskSources(ctx context.Context, taskId string, localVarOptionals *IndexTaskSourcesOpts) (TaskSourceCollection, *http.Response, error)

func (*TaskSourcesApiService) ShowTaskSource

func (a *TaskSourcesApiService) ShowTaskSource(ctx context.Context, taskId string, taskSourceId int32) (TaskSourceDown, *http.Response, error)

TaskSourcesApiService Displays a specific task source. **API Key Scope**: task_sources / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskSourceId Numeric ID of task source.

@return TaskSourceDown

func (*TaskSourcesApiService) UpdateTaskSource

func (a *TaskSourcesApiService) UpdateTaskSource(ctx context.Context, taskId string, taskSourceId int32, taskSourceBody TaskSourceUp) (TaskSourceDown, *http.Response, error)

TaskSourcesApiService Updates a specific task source. **API Key Scope**: task_sources / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskSourceId Numeric ID of task source.
  • @param taskSourceBody

@return TaskSourceDown

type TasksApiService

type TasksApiService service

func (*TasksApiService) CreateTask

func (a *TasksApiService) CreateTask(ctx context.Context, taskBody Task) (Task, *http.Response, error)

TasksApiService Creates a new task. **API Key Scope**: tasks / create

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

@return Task

func (*TasksApiService) DestroyTask

func (a *TasksApiService) DestroyTask(ctx context.Context, taskId string) (*http.Response, error)

TasksApiService Destroys a specific task. **API Key Scope**: tasks / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.

func (*TasksApiService) IndexTasks

func (a *TasksApiService) IndexTasks(ctx context.Context, localVarOptionals *IndexTasksOpts) (TaskCollection, *http.Response, error)

func (*TasksApiService) ShowTask

func (a *TasksApiService) ShowTask(ctx context.Context, taskId string) (Task, *http.Response, error)

TasksApiService Displays a specific task. **API Key Scope**: tasks / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.

@return Task

func (*TasksApiService) UpdateTask

func (a *TasksApiService) UpdateTask(ctx context.Context, taskId string, taskBody Task) (Task, *http.Response, error)

TasksApiService Updates a specific task. **API Key Scope**: tasks / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID.
  • @param taskBody

@return Task

type TestResultCloudConnectorOpts

type TestResultCloudConnectorOpts struct {
	JobId optional.String
}

type TestResultNasShareOpts

type TestResultNasShareOpts struct {
	JobId optional.String
}

type TooLong

type TooLong struct {
	Error_ string `json:"error"`
	// Expected maximum length
	Count int32 `json:"count,omitempty"`
}

Attribute is too long (maximum is %{count} characters)

type TooShort

type TooShort struct {
	Error_ string `json:"error"`
	// Expected minimum length
	Count int32 `json:"count,omitempty"`
}

Attribute is too short (minimum is %{count} characters)

type UsersApiService

type UsersApiService service

func (*UsersApiService) CreateApiKey

func (a *UsersApiService) CreateApiKey(ctx context.Context, apiKeyBody ApiKeyFull) (ApiKeyFull, *http.Response, error)

UsersApiService Creates a new API Key for current user. **API Key Scope**: api_keys / create

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

@return ApiKeyFull

func (*UsersApiService) DestroyApiKey

func (a *UsersApiService) DestroyApiKey(ctx context.Context, apiKeyId int32) (*http.Response, error)

UsersApiService Destroys a specific API Key. **API Key Scope**: api_keys / destroy

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apiKeyId Numeric ID of API Key.

func (*UsersApiService) IndexApiKeys

func (a *UsersApiService) IndexApiKeys(ctx context.Context, localVarOptionals *IndexApiKeysOpts) (ApiKeyCollection, *http.Response, error)

func (*UsersApiService) ShowApiKey

func (a *UsersApiService) ShowApiKey(ctx context.Context, apiKeyId int32) (ApiKeyFull, *http.Response, error)

UsersApiService Displays a specific API Key with its scopes. **API Key Scope**: api_keys / show

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apiKeyId Numeric ID of API Key.

@return ApiKeyFull

func (*UsersApiService) UpdateApiKey

func (a *UsersApiService) UpdateApiKey(ctx context.Context, apiKeyId int32, apiKeyBody ApiKeyFull) (ApiKeyFull, *http.Response, error)

UsersApiService Updates a specific API Key. **API Key Scope**: api_keys / update

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apiKeyId Numeric ID of API Key.
  • @param apiKeyBody

@return ApiKeyFull

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL