file_token_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for file token controller API

func (*Client) CreateFileToken

func (a *Client) CreateFileToken(params *CreateFileTokenParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFileTokenCreated, error)

CreateFileToken creates single use file transfer token

func (*Client) MultiDeleteFileToken

func (a *Client) MultiDeleteFileToken(params *MultiDeleteFileTokenParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteFileTokenOK, error)

MultiDeleteFileToken calls this operation after every file upload activity

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreateFileToken(params *CreateFileTokenParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFileTokenCreated, error)

	MultiDeleteFileToken(params *MultiDeleteFileTokenParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteFileTokenOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new file token controller API client.

type CreateFileTokenBadRequest

type CreateFileTokenBadRequest struct {
	Payload *models.APIResult
}

CreateFileTokenBadRequest handles this case with default header values.

Bad Request

func NewCreateFileTokenBadRequest

func NewCreateFileTokenBadRequest() *CreateFileTokenBadRequest

NewCreateFileTokenBadRequest creates a CreateFileTokenBadRequest with default headers values

func (*CreateFileTokenBadRequest) Error

func (o *CreateFileTokenBadRequest) Error() string

func (*CreateFileTokenBadRequest) GetPayload

func (o *CreateFileTokenBadRequest) GetPayload() *models.APIResult

type CreateFileTokenConflict

type CreateFileTokenConflict struct {
	Payload *models.APIResult
}

CreateFileTokenConflict handles this case with default header values.

Conflict

func NewCreateFileTokenConflict

func NewCreateFileTokenConflict() *CreateFileTokenConflict

NewCreateFileTokenConflict creates a CreateFileTokenConflict with default headers values

func (*CreateFileTokenConflict) Error

func (o *CreateFileTokenConflict) Error() string

func (*CreateFileTokenConflict) GetPayload

func (o *CreateFileTokenConflict) GetPayload() *models.APIResult

type CreateFileTokenCreated

type CreateFileTokenCreated struct {
	Payload *models.APIResultFileToken
}

CreateFileTokenCreated handles this case with default header values.

Created

func NewCreateFileTokenCreated

func NewCreateFileTokenCreated() *CreateFileTokenCreated

NewCreateFileTokenCreated creates a CreateFileTokenCreated with default headers values

func (*CreateFileTokenCreated) Error

func (o *CreateFileTokenCreated) Error() string

func (*CreateFileTokenCreated) GetPayload

type CreateFileTokenForbidden

type CreateFileTokenForbidden struct {
	Payload *models.APIResult
}

CreateFileTokenForbidden handles this case with default header values.

Forbidden

func NewCreateFileTokenForbidden

func NewCreateFileTokenForbidden() *CreateFileTokenForbidden

NewCreateFileTokenForbidden creates a CreateFileTokenForbidden with default headers values

func (*CreateFileTokenForbidden) Error

func (o *CreateFileTokenForbidden) Error() string

func (*CreateFileTokenForbidden) GetPayload

func (o *CreateFileTokenForbidden) GetPayload() *models.APIResult

type CreateFileTokenInternalServerError

type CreateFileTokenInternalServerError struct {
	Payload *models.APIResult
}

CreateFileTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateFileTokenInternalServerError

func NewCreateFileTokenInternalServerError() *CreateFileTokenInternalServerError

NewCreateFileTokenInternalServerError creates a CreateFileTokenInternalServerError with default headers values

func (*CreateFileTokenInternalServerError) Error

func (*CreateFileTokenInternalServerError) GetPayload

type CreateFileTokenNotFound

type CreateFileTokenNotFound struct {
	Payload *models.APIResult
}

CreateFileTokenNotFound handles this case with default header values.

Not Found

func NewCreateFileTokenNotFound

func NewCreateFileTokenNotFound() *CreateFileTokenNotFound

NewCreateFileTokenNotFound creates a CreateFileTokenNotFound with default headers values

func (*CreateFileTokenNotFound) Error

func (o *CreateFileTokenNotFound) Error() string

func (*CreateFileTokenNotFound) GetPayload

func (o *CreateFileTokenNotFound) GetPayload() *models.APIResult

type CreateFileTokenParams

type CreateFileTokenParams struct {

	/*Resource
	  resource

	*/
	Resource *models.FileToken

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateFileTokenParams contains all the parameters to send to the API endpoint for the create file token operation typically these are written to a http.Request

func NewCreateFileTokenParams

func NewCreateFileTokenParams() *CreateFileTokenParams

NewCreateFileTokenParams creates a new CreateFileTokenParams object with the default values initialized.

func NewCreateFileTokenParamsWithContext

func NewCreateFileTokenParamsWithContext(ctx context.Context) *CreateFileTokenParams

NewCreateFileTokenParamsWithContext creates a new CreateFileTokenParams object with the default values initialized, and the ability to set a context for a request

func NewCreateFileTokenParamsWithHTTPClient

func NewCreateFileTokenParamsWithHTTPClient(client *http.Client) *CreateFileTokenParams

NewCreateFileTokenParamsWithHTTPClient creates a new CreateFileTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateFileTokenParamsWithTimeout

func NewCreateFileTokenParamsWithTimeout(timeout time.Duration) *CreateFileTokenParams

NewCreateFileTokenParamsWithTimeout creates a new CreateFileTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateFileTokenParams) SetContext

func (o *CreateFileTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the create file token params

func (*CreateFileTokenParams) SetHTTPClient

func (o *CreateFileTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create file token params

func (*CreateFileTokenParams) SetResource

func (o *CreateFileTokenParams) SetResource(resource *models.FileToken)

SetResource adds the resource to the create file token params

func (*CreateFileTokenParams) SetTimeout

func (o *CreateFileTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create file token params

func (*CreateFileTokenParams) WithContext

WithContext adds the context to the create file token params

func (*CreateFileTokenParams) WithHTTPClient

func (o *CreateFileTokenParams) WithHTTPClient(client *http.Client) *CreateFileTokenParams

WithHTTPClient adds the HTTPClient to the create file token params

func (*CreateFileTokenParams) WithResource

func (o *CreateFileTokenParams) WithResource(resource *models.FileToken) *CreateFileTokenParams

WithResource adds the resource to the create file token params

func (*CreateFileTokenParams) WithTimeout

func (o *CreateFileTokenParams) WithTimeout(timeout time.Duration) *CreateFileTokenParams

WithTimeout adds the timeout to the create file token params

func (*CreateFileTokenParams) WriteToRequest

func (o *CreateFileTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateFileTokenReader

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

CreateFileTokenReader is a Reader for the CreateFileToken structure.

func (*CreateFileTokenReader) ReadResponse

func (o *CreateFileTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateFileTokenUnauthorized

type CreateFileTokenUnauthorized struct {
	Payload *models.APIResult
}

CreateFileTokenUnauthorized handles this case with default header values.

Unauthorized

func NewCreateFileTokenUnauthorized

func NewCreateFileTokenUnauthorized() *CreateFileTokenUnauthorized

NewCreateFileTokenUnauthorized creates a CreateFileTokenUnauthorized with default headers values

func (*CreateFileTokenUnauthorized) Error

func (*CreateFileTokenUnauthorized) GetPayload

func (o *CreateFileTokenUnauthorized) GetPayload() *models.APIResult

type MultiDeleteFileTokenBadRequest

type MultiDeleteFileTokenBadRequest struct {
	Payload *models.APIResult
}

MultiDeleteFileTokenBadRequest handles this case with default header values.

Bad Request

func NewMultiDeleteFileTokenBadRequest

func NewMultiDeleteFileTokenBadRequest() *MultiDeleteFileTokenBadRequest

NewMultiDeleteFileTokenBadRequest creates a MultiDeleteFileTokenBadRequest with default headers values

func (*MultiDeleteFileTokenBadRequest) Error

func (*MultiDeleteFileTokenBadRequest) GetPayload

type MultiDeleteFileTokenConflict

type MultiDeleteFileTokenConflict struct {
	Payload *models.APIResult
}

MultiDeleteFileTokenConflict handles this case with default header values.

Conflict

func NewMultiDeleteFileTokenConflict

func NewMultiDeleteFileTokenConflict() *MultiDeleteFileTokenConflict

NewMultiDeleteFileTokenConflict creates a MultiDeleteFileTokenConflict with default headers values

func (*MultiDeleteFileTokenConflict) Error

func (*MultiDeleteFileTokenConflict) GetPayload

type MultiDeleteFileTokenForbidden

type MultiDeleteFileTokenForbidden struct {
	Payload *models.APIResult
}

MultiDeleteFileTokenForbidden handles this case with default header values.

Forbidden

func NewMultiDeleteFileTokenForbidden

func NewMultiDeleteFileTokenForbidden() *MultiDeleteFileTokenForbidden

NewMultiDeleteFileTokenForbidden creates a MultiDeleteFileTokenForbidden with default headers values

func (*MultiDeleteFileTokenForbidden) Error

func (*MultiDeleteFileTokenForbidden) GetPayload

type MultiDeleteFileTokenInternalServerError

type MultiDeleteFileTokenInternalServerError struct {
	Payload *models.APIResult
}

MultiDeleteFileTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewMultiDeleteFileTokenInternalServerError

func NewMultiDeleteFileTokenInternalServerError() *MultiDeleteFileTokenInternalServerError

NewMultiDeleteFileTokenInternalServerError creates a MultiDeleteFileTokenInternalServerError with default headers values

func (*MultiDeleteFileTokenInternalServerError) Error

func (*MultiDeleteFileTokenInternalServerError) GetPayload

type MultiDeleteFileTokenNotFound

type MultiDeleteFileTokenNotFound struct {
	Payload *models.APIResult
}

MultiDeleteFileTokenNotFound handles this case with default header values.

Not Found

func NewMultiDeleteFileTokenNotFound

func NewMultiDeleteFileTokenNotFound() *MultiDeleteFileTokenNotFound

NewMultiDeleteFileTokenNotFound creates a MultiDeleteFileTokenNotFound with default headers values

func (*MultiDeleteFileTokenNotFound) Error

func (*MultiDeleteFileTokenNotFound) GetPayload

type MultiDeleteFileTokenOK

type MultiDeleteFileTokenOK struct {
	Payload *models.APIResultVoid
}

MultiDeleteFileTokenOK handles this case with default header values.

OK

func NewMultiDeleteFileTokenOK

func NewMultiDeleteFileTokenOK() *MultiDeleteFileTokenOK

NewMultiDeleteFileTokenOK creates a MultiDeleteFileTokenOK with default headers values

func (*MultiDeleteFileTokenOK) Error

func (o *MultiDeleteFileTokenOK) Error() string

func (*MultiDeleteFileTokenOK) GetPayload

func (o *MultiDeleteFileTokenOK) GetPayload() *models.APIResultVoid

type MultiDeleteFileTokenParams

type MultiDeleteFileTokenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MultiDeleteFileTokenParams contains all the parameters to send to the API endpoint for the multi delete file token operation typically these are written to a http.Request

func NewMultiDeleteFileTokenParams

func NewMultiDeleteFileTokenParams() *MultiDeleteFileTokenParams

NewMultiDeleteFileTokenParams creates a new MultiDeleteFileTokenParams object with the default values initialized.

func NewMultiDeleteFileTokenParamsWithContext

func NewMultiDeleteFileTokenParamsWithContext(ctx context.Context) *MultiDeleteFileTokenParams

NewMultiDeleteFileTokenParamsWithContext creates a new MultiDeleteFileTokenParams object with the default values initialized, and the ability to set a context for a request

func NewMultiDeleteFileTokenParamsWithHTTPClient

func NewMultiDeleteFileTokenParamsWithHTTPClient(client *http.Client) *MultiDeleteFileTokenParams

NewMultiDeleteFileTokenParamsWithHTTPClient creates a new MultiDeleteFileTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMultiDeleteFileTokenParamsWithTimeout

func NewMultiDeleteFileTokenParamsWithTimeout(timeout time.Duration) *MultiDeleteFileTokenParams

NewMultiDeleteFileTokenParamsWithTimeout creates a new MultiDeleteFileTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*MultiDeleteFileTokenParams) SetContext

func (o *MultiDeleteFileTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the multi delete file token params

func (*MultiDeleteFileTokenParams) SetHTTPClient

func (o *MultiDeleteFileTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the multi delete file token params

func (*MultiDeleteFileTokenParams) SetTimeout

func (o *MultiDeleteFileTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the multi delete file token params

func (*MultiDeleteFileTokenParams) WithContext

WithContext adds the context to the multi delete file token params

func (*MultiDeleteFileTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the multi delete file token params

func (*MultiDeleteFileTokenParams) WithTimeout

WithTimeout adds the timeout to the multi delete file token params

func (*MultiDeleteFileTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MultiDeleteFileTokenReader

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

MultiDeleteFileTokenReader is a Reader for the MultiDeleteFileToken structure.

func (*MultiDeleteFileTokenReader) ReadResponse

func (o *MultiDeleteFileTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MultiDeleteFileTokenUnauthorized

type MultiDeleteFileTokenUnauthorized struct {
	Payload *models.APIResult
}

MultiDeleteFileTokenUnauthorized handles this case with default header values.

Unauthorized

func NewMultiDeleteFileTokenUnauthorized

func NewMultiDeleteFileTokenUnauthorized() *MultiDeleteFileTokenUnauthorized

NewMultiDeleteFileTokenUnauthorized creates a MultiDeleteFileTokenUnauthorized with default headers values

func (*MultiDeleteFileTokenUnauthorized) Error

func (*MultiDeleteFileTokenUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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