share_service

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

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 share service API

func (*Client) DeleteCell

func (a *Client) DeleteCell(params *DeleteCellParams, opts ...ClientOption) (*DeleteCellOK, error)

DeleteCell deletes a share room

func (a *Client) DeleteShareLink(params *DeleteShareLinkParams, opts ...ClientOption) (*DeleteShareLinkOK, error)

DeleteShareLink deletes share link

func (*Client) GetCell

func (a *Client) GetCell(params *GetCellParams, opts ...ClientOption) (*GetCellOK, error)

GetCell loads a share room

func (a *Client) GetShareLink(params *GetShareLinkParams, opts ...ClientOption) (*GetShareLinkOK, error)

GetShareLink loads a share link with all infos

func (*Client) ListSharedResources

func (a *Client) ListSharedResources(params *ListSharedResourcesParams, opts ...ClientOption) (*ListSharedResourcesOK, error)

ListSharedResources lists shared resources for current user or all users

func (*Client) PutCell

func (a *Client) PutCell(params *PutCellParams, opts ...ClientOption) (*PutCellOK, error)

PutCell puts or create a share room

func (a *Client) PutShareLink(params *PutShareLinkParams, opts ...ClientOption) (*PutShareLinkOK, error)

PutShareLink puts or create a share room

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSharePolicies

func (a *Client) UpdateSharePolicies(params *UpdateSharePoliciesParams, opts ...ClientOption) (*UpdateSharePoliciesOK, error)

UpdateSharePolicies updates policies associated to the underlying workspace for a cell or a share link

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteCell(params *DeleteCellParams, opts ...ClientOption) (*DeleteCellOK, error)

	DeleteShareLink(params *DeleteShareLinkParams, opts ...ClientOption) (*DeleteShareLinkOK, error)

	GetCell(params *GetCellParams, opts ...ClientOption) (*GetCellOK, error)

	GetShareLink(params *GetShareLinkParams, opts ...ClientOption) (*GetShareLinkOK, error)

	ListSharedResources(params *ListSharedResourcesParams, opts ...ClientOption) (*ListSharedResourcesOK, error)

	PutCell(params *PutCellParams, opts ...ClientOption) (*PutCellOK, error)

	PutShareLink(params *PutShareLinkParams, opts ...ClientOption) (*PutShareLinkOK, error)

	UpdateSharePolicies(params *UpdateSharePoliciesParams, opts ...ClientOption) (*UpdateSharePoliciesOK, 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 share service API client.

type DeleteCellForbidden

type DeleteCellForbidden struct {
	Payload *models.RestError
}

DeleteCellForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewDeleteCellForbidden

func NewDeleteCellForbidden() *DeleteCellForbidden

NewDeleteCellForbidden creates a DeleteCellForbidden with default headers values

func (*DeleteCellForbidden) Code added in v4.0.1

func (o *DeleteCellForbidden) Code() int

Code gets the status code for the delete cell forbidden response

func (*DeleteCellForbidden) Error

func (o *DeleteCellForbidden) Error() string

func (*DeleteCellForbidden) GetPayload

func (o *DeleteCellForbidden) GetPayload() *models.RestError

func (*DeleteCellForbidden) IsClientError

func (o *DeleteCellForbidden) IsClientError() bool

IsClientError returns true when this delete cell forbidden response has a 4xx status code

func (*DeleteCellForbidden) IsCode

func (o *DeleteCellForbidden) IsCode(code int) bool

IsCode returns true when this delete cell forbidden response a status code equal to that given

func (*DeleteCellForbidden) IsRedirect

func (o *DeleteCellForbidden) IsRedirect() bool

IsRedirect returns true when this delete cell forbidden response has a 3xx status code

func (*DeleteCellForbidden) IsServerError

func (o *DeleteCellForbidden) IsServerError() bool

IsServerError returns true when this delete cell forbidden response has a 5xx status code

func (*DeleteCellForbidden) IsSuccess

func (o *DeleteCellForbidden) IsSuccess() bool

IsSuccess returns true when this delete cell forbidden response has a 2xx status code

func (*DeleteCellForbidden) String

func (o *DeleteCellForbidden) String() string

type DeleteCellInternalServerError

type DeleteCellInternalServerError struct {
	Payload *models.RestError
}

DeleteCellInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewDeleteCellInternalServerError

func NewDeleteCellInternalServerError() *DeleteCellInternalServerError

NewDeleteCellInternalServerError creates a DeleteCellInternalServerError with default headers values

func (*DeleteCellInternalServerError) Code added in v4.0.1

Code gets the status code for the delete cell internal server error response

func (*DeleteCellInternalServerError) Error

func (*DeleteCellInternalServerError) GetPayload

func (*DeleteCellInternalServerError) IsClientError

func (o *DeleteCellInternalServerError) IsClientError() bool

IsClientError returns true when this delete cell internal server error response has a 4xx status code

func (*DeleteCellInternalServerError) IsCode

func (o *DeleteCellInternalServerError) IsCode(code int) bool

IsCode returns true when this delete cell internal server error response a status code equal to that given

func (*DeleteCellInternalServerError) IsRedirect

func (o *DeleteCellInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete cell internal server error response has a 3xx status code

func (*DeleteCellInternalServerError) IsServerError

func (o *DeleteCellInternalServerError) IsServerError() bool

IsServerError returns true when this delete cell internal server error response has a 5xx status code

func (*DeleteCellInternalServerError) IsSuccess

func (o *DeleteCellInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete cell internal server error response has a 2xx status code

func (*DeleteCellInternalServerError) String

type DeleteCellNotFound

type DeleteCellNotFound struct {
	Payload *models.RestError
}

DeleteCellNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewDeleteCellNotFound

func NewDeleteCellNotFound() *DeleteCellNotFound

NewDeleteCellNotFound creates a DeleteCellNotFound with default headers values

func (*DeleteCellNotFound) Code added in v4.0.1

func (o *DeleteCellNotFound) Code() int

Code gets the status code for the delete cell not found response

func (*DeleteCellNotFound) Error

func (o *DeleteCellNotFound) Error() string

func (*DeleteCellNotFound) GetPayload

func (o *DeleteCellNotFound) GetPayload() *models.RestError

func (*DeleteCellNotFound) IsClientError

func (o *DeleteCellNotFound) IsClientError() bool

IsClientError returns true when this delete cell not found response has a 4xx status code

func (*DeleteCellNotFound) IsCode

func (o *DeleteCellNotFound) IsCode(code int) bool

IsCode returns true when this delete cell not found response a status code equal to that given

func (*DeleteCellNotFound) IsRedirect

func (o *DeleteCellNotFound) IsRedirect() bool

IsRedirect returns true when this delete cell not found response has a 3xx status code

func (*DeleteCellNotFound) IsServerError

func (o *DeleteCellNotFound) IsServerError() bool

IsServerError returns true when this delete cell not found response has a 5xx status code

func (*DeleteCellNotFound) IsSuccess

func (o *DeleteCellNotFound) IsSuccess() bool

IsSuccess returns true when this delete cell not found response has a 2xx status code

func (*DeleteCellNotFound) String

func (o *DeleteCellNotFound) String() string

type DeleteCellOK

type DeleteCellOK struct {
	Payload *models.RestDeleteCellResponse
}

DeleteCellOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteCellOK

func NewDeleteCellOK() *DeleteCellOK

NewDeleteCellOK creates a DeleteCellOK with default headers values

func (*DeleteCellOK) Code added in v4.0.1

func (o *DeleteCellOK) Code() int

Code gets the status code for the delete cell o k response

func (*DeleteCellOK) Error

func (o *DeleteCellOK) Error() string

func (*DeleteCellOK) GetPayload

func (o *DeleteCellOK) GetPayload() *models.RestDeleteCellResponse

func (*DeleteCellOK) IsClientError

func (o *DeleteCellOK) IsClientError() bool

IsClientError returns true when this delete cell o k response has a 4xx status code

func (*DeleteCellOK) IsCode

func (o *DeleteCellOK) IsCode(code int) bool

IsCode returns true when this delete cell o k response a status code equal to that given

func (*DeleteCellOK) IsRedirect

func (o *DeleteCellOK) IsRedirect() bool

IsRedirect returns true when this delete cell o k response has a 3xx status code

func (*DeleteCellOK) IsServerError

func (o *DeleteCellOK) IsServerError() bool

IsServerError returns true when this delete cell o k response has a 5xx status code

func (*DeleteCellOK) IsSuccess

func (o *DeleteCellOK) IsSuccess() bool

IsSuccess returns true when this delete cell o k response has a 2xx status code

func (*DeleteCellOK) String

func (o *DeleteCellOK) String() string

type DeleteCellParams

type DeleteCellParams struct {

	/* UUID.

	   Cell Uuid
	*/
	UUID string

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

DeleteCellParams contains all the parameters to send to the API endpoint

for the delete cell operation.

Typically these are written to a http.Request.

func NewDeleteCellParams

func NewDeleteCellParams() *DeleteCellParams

NewDeleteCellParams creates a new DeleteCellParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteCellParamsWithContext

func NewDeleteCellParamsWithContext(ctx context.Context) *DeleteCellParams

NewDeleteCellParamsWithContext creates a new DeleteCellParams object with the ability to set a context for a request.

func NewDeleteCellParamsWithHTTPClient

func NewDeleteCellParamsWithHTTPClient(client *http.Client) *DeleteCellParams

NewDeleteCellParamsWithHTTPClient creates a new DeleteCellParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCellParamsWithTimeout

func NewDeleteCellParamsWithTimeout(timeout time.Duration) *DeleteCellParams

NewDeleteCellParamsWithTimeout creates a new DeleteCellParams object with the ability to set a timeout on a request.

func (*DeleteCellParams) SetContext

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

SetContext adds the context to the delete cell params

func (*DeleteCellParams) SetDefaults

func (o *DeleteCellParams) SetDefaults()

SetDefaults hydrates default values in the delete cell params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCellParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cell params

func (*DeleteCellParams) SetTimeout

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

SetTimeout adds the timeout to the delete cell params

func (*DeleteCellParams) SetUUID

func (o *DeleteCellParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete cell params

func (*DeleteCellParams) WithContext

func (o *DeleteCellParams) WithContext(ctx context.Context) *DeleteCellParams

WithContext adds the context to the delete cell params

func (*DeleteCellParams) WithDefaults

func (o *DeleteCellParams) WithDefaults() *DeleteCellParams

WithDefaults hydrates default values in the delete cell params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCellParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete cell params

func (*DeleteCellParams) WithTimeout

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

WithTimeout adds the timeout to the delete cell params

func (*DeleteCellParams) WithUUID

func (o *DeleteCellParams) WithUUID(uuid string) *DeleteCellParams

WithUUID adds the uuid to the delete cell params

func (*DeleteCellParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteCellReader

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

DeleteCellReader is a Reader for the DeleteCell structure.

func (*DeleteCellReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCellUnauthorized

type DeleteCellUnauthorized struct {
}

DeleteCellUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewDeleteCellUnauthorized

func NewDeleteCellUnauthorized() *DeleteCellUnauthorized

NewDeleteCellUnauthorized creates a DeleteCellUnauthorized with default headers values

func (*DeleteCellUnauthorized) Code added in v4.0.1

func (o *DeleteCellUnauthorized) Code() int

Code gets the status code for the delete cell unauthorized response

func (*DeleteCellUnauthorized) Error

func (o *DeleteCellUnauthorized) Error() string

func (*DeleteCellUnauthorized) IsClientError

func (o *DeleteCellUnauthorized) IsClientError() bool

IsClientError returns true when this delete cell unauthorized response has a 4xx status code

func (*DeleteCellUnauthorized) IsCode

func (o *DeleteCellUnauthorized) IsCode(code int) bool

IsCode returns true when this delete cell unauthorized response a status code equal to that given

func (*DeleteCellUnauthorized) IsRedirect

func (o *DeleteCellUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete cell unauthorized response has a 3xx status code

func (*DeleteCellUnauthorized) IsServerError

func (o *DeleteCellUnauthorized) IsServerError() bool

IsServerError returns true when this delete cell unauthorized response has a 5xx status code

func (*DeleteCellUnauthorized) IsSuccess

func (o *DeleteCellUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete cell unauthorized response has a 2xx status code

func (*DeleteCellUnauthorized) String

func (o *DeleteCellUnauthorized) String() string

type DeleteShareLinkForbidden

type DeleteShareLinkForbidden struct {
	Payload *models.RestError
}

DeleteShareLinkForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewDeleteShareLinkForbidden

func NewDeleteShareLinkForbidden() *DeleteShareLinkForbidden

NewDeleteShareLinkForbidden creates a DeleteShareLinkForbidden with default headers values

func (*DeleteShareLinkForbidden) Code added in v4.0.1

func (o *DeleteShareLinkForbidden) Code() int

Code gets the status code for the delete share link forbidden response

func (*DeleteShareLinkForbidden) Error

func (o *DeleteShareLinkForbidden) Error() string

func (*DeleteShareLinkForbidden) GetPayload

func (o *DeleteShareLinkForbidden) GetPayload() *models.RestError

func (*DeleteShareLinkForbidden) IsClientError

func (o *DeleteShareLinkForbidden) IsClientError() bool

IsClientError returns true when this delete share link forbidden response has a 4xx status code

func (*DeleteShareLinkForbidden) IsCode

func (o *DeleteShareLinkForbidden) IsCode(code int) bool

IsCode returns true when this delete share link forbidden response a status code equal to that given

func (*DeleteShareLinkForbidden) IsRedirect

func (o *DeleteShareLinkForbidden) IsRedirect() bool

IsRedirect returns true when this delete share link forbidden response has a 3xx status code

func (*DeleteShareLinkForbidden) IsServerError

func (o *DeleteShareLinkForbidden) IsServerError() bool

IsServerError returns true when this delete share link forbidden response has a 5xx status code

func (*DeleteShareLinkForbidden) IsSuccess

func (o *DeleteShareLinkForbidden) IsSuccess() bool

IsSuccess returns true when this delete share link forbidden response has a 2xx status code

func (*DeleteShareLinkForbidden) String

func (o *DeleteShareLinkForbidden) String() string

type DeleteShareLinkInternalServerError

type DeleteShareLinkInternalServerError struct {
	Payload *models.RestError
}

DeleteShareLinkInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewDeleteShareLinkInternalServerError

func NewDeleteShareLinkInternalServerError() *DeleteShareLinkInternalServerError

NewDeleteShareLinkInternalServerError creates a DeleteShareLinkInternalServerError with default headers values

func (*DeleteShareLinkInternalServerError) Code added in v4.0.1

Code gets the status code for the delete share link internal server error response

func (*DeleteShareLinkInternalServerError) Error

func (*DeleteShareLinkInternalServerError) GetPayload

func (*DeleteShareLinkInternalServerError) IsClientError

func (o *DeleteShareLinkInternalServerError) IsClientError() bool

IsClientError returns true when this delete share link internal server error response has a 4xx status code

func (*DeleteShareLinkInternalServerError) IsCode

IsCode returns true when this delete share link internal server error response a status code equal to that given

func (*DeleteShareLinkInternalServerError) IsRedirect

func (o *DeleteShareLinkInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete share link internal server error response has a 3xx status code

func (*DeleteShareLinkInternalServerError) IsServerError

func (o *DeleteShareLinkInternalServerError) IsServerError() bool

IsServerError returns true when this delete share link internal server error response has a 5xx status code

func (*DeleteShareLinkInternalServerError) IsSuccess

IsSuccess returns true when this delete share link internal server error response has a 2xx status code

func (*DeleteShareLinkInternalServerError) String

type DeleteShareLinkNotFound

type DeleteShareLinkNotFound struct {
	Payload *models.RestError
}

DeleteShareLinkNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewDeleteShareLinkNotFound

func NewDeleteShareLinkNotFound() *DeleteShareLinkNotFound

NewDeleteShareLinkNotFound creates a DeleteShareLinkNotFound with default headers values

func (*DeleteShareLinkNotFound) Code added in v4.0.1

func (o *DeleteShareLinkNotFound) Code() int

Code gets the status code for the delete share link not found response

func (*DeleteShareLinkNotFound) Error

func (o *DeleteShareLinkNotFound) Error() string

func (*DeleteShareLinkNotFound) GetPayload

func (o *DeleteShareLinkNotFound) GetPayload() *models.RestError

func (*DeleteShareLinkNotFound) IsClientError

func (o *DeleteShareLinkNotFound) IsClientError() bool

IsClientError returns true when this delete share link not found response has a 4xx status code

func (*DeleteShareLinkNotFound) IsCode

func (o *DeleteShareLinkNotFound) IsCode(code int) bool

IsCode returns true when this delete share link not found response a status code equal to that given

func (*DeleteShareLinkNotFound) IsRedirect

func (o *DeleteShareLinkNotFound) IsRedirect() bool

IsRedirect returns true when this delete share link not found response has a 3xx status code

func (*DeleteShareLinkNotFound) IsServerError

func (o *DeleteShareLinkNotFound) IsServerError() bool

IsServerError returns true when this delete share link not found response has a 5xx status code

func (*DeleteShareLinkNotFound) IsSuccess

func (o *DeleteShareLinkNotFound) IsSuccess() bool

IsSuccess returns true when this delete share link not found response has a 2xx status code

func (*DeleteShareLinkNotFound) String

func (o *DeleteShareLinkNotFound) String() string

type DeleteShareLinkOK

type DeleteShareLinkOK struct {
	Payload *models.RestDeleteShareLinkResponse
}

DeleteShareLinkOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteShareLinkOK

func NewDeleteShareLinkOK() *DeleteShareLinkOK

NewDeleteShareLinkOK creates a DeleteShareLinkOK with default headers values

func (*DeleteShareLinkOK) Code added in v4.0.1

func (o *DeleteShareLinkOK) Code() int

Code gets the status code for the delete share link o k response

func (*DeleteShareLinkOK) Error

func (o *DeleteShareLinkOK) Error() string

func (*DeleteShareLinkOK) GetPayload

func (*DeleteShareLinkOK) IsClientError

func (o *DeleteShareLinkOK) IsClientError() bool

IsClientError returns true when this delete share link o k response has a 4xx status code

func (*DeleteShareLinkOK) IsCode

func (o *DeleteShareLinkOK) IsCode(code int) bool

IsCode returns true when this delete share link o k response a status code equal to that given

func (*DeleteShareLinkOK) IsRedirect

func (o *DeleteShareLinkOK) IsRedirect() bool

IsRedirect returns true when this delete share link o k response has a 3xx status code

func (*DeleteShareLinkOK) IsServerError

func (o *DeleteShareLinkOK) IsServerError() bool

IsServerError returns true when this delete share link o k response has a 5xx status code

func (*DeleteShareLinkOK) IsSuccess

func (o *DeleteShareLinkOK) IsSuccess() bool

IsSuccess returns true when this delete share link o k response has a 2xx status code

func (*DeleteShareLinkOK) String

func (o *DeleteShareLinkOK) String() string

type DeleteShareLinkParams

type DeleteShareLinkParams struct {

	/* UUID.

	   Id of Link to delete
	*/
	UUID string

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

DeleteShareLinkParams contains all the parameters to send to the API endpoint

for the delete share link operation.

Typically these are written to a http.Request.

func NewDeleteShareLinkParams

func NewDeleteShareLinkParams() *DeleteShareLinkParams

NewDeleteShareLinkParams creates a new DeleteShareLinkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteShareLinkParamsWithContext

func NewDeleteShareLinkParamsWithContext(ctx context.Context) *DeleteShareLinkParams

NewDeleteShareLinkParamsWithContext creates a new DeleteShareLinkParams object with the ability to set a context for a request.

func NewDeleteShareLinkParamsWithHTTPClient

func NewDeleteShareLinkParamsWithHTTPClient(client *http.Client) *DeleteShareLinkParams

NewDeleteShareLinkParamsWithHTTPClient creates a new DeleteShareLinkParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteShareLinkParamsWithTimeout

func NewDeleteShareLinkParamsWithTimeout(timeout time.Duration) *DeleteShareLinkParams

NewDeleteShareLinkParamsWithTimeout creates a new DeleteShareLinkParams object with the ability to set a timeout on a request.

func (*DeleteShareLinkParams) SetContext

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

SetContext adds the context to the delete share link params

func (*DeleteShareLinkParams) SetDefaults

func (o *DeleteShareLinkParams) SetDefaults()

SetDefaults hydrates default values in the delete share link params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteShareLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete share link params

func (*DeleteShareLinkParams) SetTimeout

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

SetTimeout adds the timeout to the delete share link params

func (*DeleteShareLinkParams) SetUUID

func (o *DeleteShareLinkParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete share link params

func (*DeleteShareLinkParams) WithContext

WithContext adds the context to the delete share link params

func (*DeleteShareLinkParams) WithDefaults

func (o *DeleteShareLinkParams) WithDefaults() *DeleteShareLinkParams

WithDefaults hydrates default values in the delete share link params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteShareLinkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete share link params

func (*DeleteShareLinkParams) WithTimeout

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

WithTimeout adds the timeout to the delete share link params

func (*DeleteShareLinkParams) WithUUID

WithUUID adds the uuid to the delete share link params

func (*DeleteShareLinkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteShareLinkReader

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

DeleteShareLinkReader is a Reader for the DeleteShareLink structure.

func (*DeleteShareLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteShareLinkUnauthorized

type DeleteShareLinkUnauthorized struct {
}

DeleteShareLinkUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewDeleteShareLinkUnauthorized

func NewDeleteShareLinkUnauthorized() *DeleteShareLinkUnauthorized

NewDeleteShareLinkUnauthorized creates a DeleteShareLinkUnauthorized with default headers values

func (*DeleteShareLinkUnauthorized) Code added in v4.0.1

func (o *DeleteShareLinkUnauthorized) Code() int

Code gets the status code for the delete share link unauthorized response

func (*DeleteShareLinkUnauthorized) Error

func (*DeleteShareLinkUnauthorized) IsClientError

func (o *DeleteShareLinkUnauthorized) IsClientError() bool

IsClientError returns true when this delete share link unauthorized response has a 4xx status code

func (*DeleteShareLinkUnauthorized) IsCode

func (o *DeleteShareLinkUnauthorized) IsCode(code int) bool

IsCode returns true when this delete share link unauthorized response a status code equal to that given

func (*DeleteShareLinkUnauthorized) IsRedirect

func (o *DeleteShareLinkUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete share link unauthorized response has a 3xx status code

func (*DeleteShareLinkUnauthorized) IsServerError

func (o *DeleteShareLinkUnauthorized) IsServerError() bool

IsServerError returns true when this delete share link unauthorized response has a 5xx status code

func (*DeleteShareLinkUnauthorized) IsSuccess

func (o *DeleteShareLinkUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete share link unauthorized response has a 2xx status code

func (*DeleteShareLinkUnauthorized) String

func (o *DeleteShareLinkUnauthorized) String() string

type GetCellForbidden

type GetCellForbidden struct {
	Payload *models.RestError
}

GetCellForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewGetCellForbidden

func NewGetCellForbidden() *GetCellForbidden

NewGetCellForbidden creates a GetCellForbidden with default headers values

func (*GetCellForbidden) Code added in v4.0.1

func (o *GetCellForbidden) Code() int

Code gets the status code for the get cell forbidden response

func (*GetCellForbidden) Error

func (o *GetCellForbidden) Error() string

func (*GetCellForbidden) GetPayload

func (o *GetCellForbidden) GetPayload() *models.RestError

func (*GetCellForbidden) IsClientError

func (o *GetCellForbidden) IsClientError() bool

IsClientError returns true when this get cell forbidden response has a 4xx status code

func (*GetCellForbidden) IsCode

func (o *GetCellForbidden) IsCode(code int) bool

IsCode returns true when this get cell forbidden response a status code equal to that given

func (*GetCellForbidden) IsRedirect

func (o *GetCellForbidden) IsRedirect() bool

IsRedirect returns true when this get cell forbidden response has a 3xx status code

func (*GetCellForbidden) IsServerError

func (o *GetCellForbidden) IsServerError() bool

IsServerError returns true when this get cell forbidden response has a 5xx status code

func (*GetCellForbidden) IsSuccess

func (o *GetCellForbidden) IsSuccess() bool

IsSuccess returns true when this get cell forbidden response has a 2xx status code

func (*GetCellForbidden) String

func (o *GetCellForbidden) String() string

type GetCellInternalServerError

type GetCellInternalServerError struct {
	Payload *models.RestError
}

GetCellInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewGetCellInternalServerError

func NewGetCellInternalServerError() *GetCellInternalServerError

NewGetCellInternalServerError creates a GetCellInternalServerError with default headers values

func (*GetCellInternalServerError) Code added in v4.0.1

func (o *GetCellInternalServerError) Code() int

Code gets the status code for the get cell internal server error response

func (*GetCellInternalServerError) Error

func (*GetCellInternalServerError) GetPayload

func (o *GetCellInternalServerError) GetPayload() *models.RestError

func (*GetCellInternalServerError) IsClientError

func (o *GetCellInternalServerError) IsClientError() bool

IsClientError returns true when this get cell internal server error response has a 4xx status code

func (*GetCellInternalServerError) IsCode

func (o *GetCellInternalServerError) IsCode(code int) bool

IsCode returns true when this get cell internal server error response a status code equal to that given

func (*GetCellInternalServerError) IsRedirect

func (o *GetCellInternalServerError) IsRedirect() bool

IsRedirect returns true when this get cell internal server error response has a 3xx status code

func (*GetCellInternalServerError) IsServerError

func (o *GetCellInternalServerError) IsServerError() bool

IsServerError returns true when this get cell internal server error response has a 5xx status code

func (*GetCellInternalServerError) IsSuccess

func (o *GetCellInternalServerError) IsSuccess() bool

IsSuccess returns true when this get cell internal server error response has a 2xx status code

func (*GetCellInternalServerError) String

func (o *GetCellInternalServerError) String() string

type GetCellNotFound

type GetCellNotFound struct {
	Payload *models.RestError
}

GetCellNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewGetCellNotFound

func NewGetCellNotFound() *GetCellNotFound

NewGetCellNotFound creates a GetCellNotFound with default headers values

func (*GetCellNotFound) Code added in v4.0.1

func (o *GetCellNotFound) Code() int

Code gets the status code for the get cell not found response

func (*GetCellNotFound) Error

func (o *GetCellNotFound) Error() string

func (*GetCellNotFound) GetPayload

func (o *GetCellNotFound) GetPayload() *models.RestError

func (*GetCellNotFound) IsClientError

func (o *GetCellNotFound) IsClientError() bool

IsClientError returns true when this get cell not found response has a 4xx status code

func (*GetCellNotFound) IsCode

func (o *GetCellNotFound) IsCode(code int) bool

IsCode returns true when this get cell not found response a status code equal to that given

func (*GetCellNotFound) IsRedirect

func (o *GetCellNotFound) IsRedirect() bool

IsRedirect returns true when this get cell not found response has a 3xx status code

func (*GetCellNotFound) IsServerError

func (o *GetCellNotFound) IsServerError() bool

IsServerError returns true when this get cell not found response has a 5xx status code

func (*GetCellNotFound) IsSuccess

func (o *GetCellNotFound) IsSuccess() bool

IsSuccess returns true when this get cell not found response has a 2xx status code

func (*GetCellNotFound) String

func (o *GetCellNotFound) String() string

type GetCellOK

type GetCellOK struct {
	Payload *models.RestCell
}

GetCellOK describes a response with status code 200, with default header values.

A successful response.

func NewGetCellOK

func NewGetCellOK() *GetCellOK

NewGetCellOK creates a GetCellOK with default headers values

func (*GetCellOK) Code added in v4.0.1

func (o *GetCellOK) Code() int

Code gets the status code for the get cell o k response

func (*GetCellOK) Error

func (o *GetCellOK) Error() string

func (*GetCellOK) GetPayload

func (o *GetCellOK) GetPayload() *models.RestCell

func (*GetCellOK) IsClientError

func (o *GetCellOK) IsClientError() bool

IsClientError returns true when this get cell o k response has a 4xx status code

func (*GetCellOK) IsCode

func (o *GetCellOK) IsCode(code int) bool

IsCode returns true when this get cell o k response a status code equal to that given

func (*GetCellOK) IsRedirect

func (o *GetCellOK) IsRedirect() bool

IsRedirect returns true when this get cell o k response has a 3xx status code

func (*GetCellOK) IsServerError

func (o *GetCellOK) IsServerError() bool

IsServerError returns true when this get cell o k response has a 5xx status code

func (*GetCellOK) IsSuccess

func (o *GetCellOK) IsSuccess() bool

IsSuccess returns true when this get cell o k response has a 2xx status code

func (*GetCellOK) String

func (o *GetCellOK) String() string

type GetCellParams

type GetCellParams struct {

	/* UUID.

	   Cell Uuid
	*/
	UUID string

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

GetCellParams contains all the parameters to send to the API endpoint

for the get cell operation.

Typically these are written to a http.Request.

func NewGetCellParams

func NewGetCellParams() *GetCellParams

NewGetCellParams creates a new GetCellParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCellParamsWithContext

func NewGetCellParamsWithContext(ctx context.Context) *GetCellParams

NewGetCellParamsWithContext creates a new GetCellParams object with the ability to set a context for a request.

func NewGetCellParamsWithHTTPClient

func NewGetCellParamsWithHTTPClient(client *http.Client) *GetCellParams

NewGetCellParamsWithHTTPClient creates a new GetCellParams object with the ability to set a custom HTTPClient for a request.

func NewGetCellParamsWithTimeout

func NewGetCellParamsWithTimeout(timeout time.Duration) *GetCellParams

NewGetCellParamsWithTimeout creates a new GetCellParams object with the ability to set a timeout on a request.

func (*GetCellParams) SetContext

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

SetContext adds the context to the get cell params

func (*GetCellParams) SetDefaults

func (o *GetCellParams) SetDefaults()

SetDefaults hydrates default values in the get cell params (not the query body).

All values with no default are reset to their zero value.

func (*GetCellParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cell params

func (*GetCellParams) SetTimeout

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

SetTimeout adds the timeout to the get cell params

func (*GetCellParams) SetUUID

func (o *GetCellParams) SetUUID(uuid string)

SetUUID adds the uuid to the get cell params

func (*GetCellParams) WithContext

func (o *GetCellParams) WithContext(ctx context.Context) *GetCellParams

WithContext adds the context to the get cell params

func (*GetCellParams) WithDefaults

func (o *GetCellParams) WithDefaults() *GetCellParams

WithDefaults hydrates default values in the get cell params (not the query body).

All values with no default are reset to their zero value.

func (*GetCellParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cell params

func (*GetCellParams) WithTimeout

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

WithTimeout adds the timeout to the get cell params

func (*GetCellParams) WithUUID

func (o *GetCellParams) WithUUID(uuid string) *GetCellParams

WithUUID adds the uuid to the get cell params

func (*GetCellParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCellReader

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

GetCellReader is a Reader for the GetCell structure.

func (*GetCellReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCellUnauthorized

type GetCellUnauthorized struct {
}

GetCellUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewGetCellUnauthorized

func NewGetCellUnauthorized() *GetCellUnauthorized

NewGetCellUnauthorized creates a GetCellUnauthorized with default headers values

func (*GetCellUnauthorized) Code added in v4.0.1

func (o *GetCellUnauthorized) Code() int

Code gets the status code for the get cell unauthorized response

func (*GetCellUnauthorized) Error

func (o *GetCellUnauthorized) Error() string

func (*GetCellUnauthorized) IsClientError

func (o *GetCellUnauthorized) IsClientError() bool

IsClientError returns true when this get cell unauthorized response has a 4xx status code

func (*GetCellUnauthorized) IsCode

func (o *GetCellUnauthorized) IsCode(code int) bool

IsCode returns true when this get cell unauthorized response a status code equal to that given

func (*GetCellUnauthorized) IsRedirect

func (o *GetCellUnauthorized) IsRedirect() bool

IsRedirect returns true when this get cell unauthorized response has a 3xx status code

func (*GetCellUnauthorized) IsServerError

func (o *GetCellUnauthorized) IsServerError() bool

IsServerError returns true when this get cell unauthorized response has a 5xx status code

func (*GetCellUnauthorized) IsSuccess

func (o *GetCellUnauthorized) IsSuccess() bool

IsSuccess returns true when this get cell unauthorized response has a 2xx status code

func (*GetCellUnauthorized) String

func (o *GetCellUnauthorized) String() string

type GetShareLinkForbidden

type GetShareLinkForbidden struct {
	Payload *models.RestError
}

GetShareLinkForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewGetShareLinkForbidden

func NewGetShareLinkForbidden() *GetShareLinkForbidden

NewGetShareLinkForbidden creates a GetShareLinkForbidden with default headers values

func (*GetShareLinkForbidden) Code added in v4.0.1

func (o *GetShareLinkForbidden) Code() int

Code gets the status code for the get share link forbidden response

func (*GetShareLinkForbidden) Error

func (o *GetShareLinkForbidden) Error() string

func (*GetShareLinkForbidden) GetPayload

func (o *GetShareLinkForbidden) GetPayload() *models.RestError

func (*GetShareLinkForbidden) IsClientError

func (o *GetShareLinkForbidden) IsClientError() bool

IsClientError returns true when this get share link forbidden response has a 4xx status code

func (*GetShareLinkForbidden) IsCode

func (o *GetShareLinkForbidden) IsCode(code int) bool

IsCode returns true when this get share link forbidden response a status code equal to that given

func (*GetShareLinkForbidden) IsRedirect

func (o *GetShareLinkForbidden) IsRedirect() bool

IsRedirect returns true when this get share link forbidden response has a 3xx status code

func (*GetShareLinkForbidden) IsServerError

func (o *GetShareLinkForbidden) IsServerError() bool

IsServerError returns true when this get share link forbidden response has a 5xx status code

func (*GetShareLinkForbidden) IsSuccess

func (o *GetShareLinkForbidden) IsSuccess() bool

IsSuccess returns true when this get share link forbidden response has a 2xx status code

func (*GetShareLinkForbidden) String

func (o *GetShareLinkForbidden) String() string

type GetShareLinkInternalServerError

type GetShareLinkInternalServerError struct {
	Payload *models.RestError
}

GetShareLinkInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewGetShareLinkInternalServerError

func NewGetShareLinkInternalServerError() *GetShareLinkInternalServerError

NewGetShareLinkInternalServerError creates a GetShareLinkInternalServerError with default headers values

func (*GetShareLinkInternalServerError) Code added in v4.0.1

Code gets the status code for the get share link internal server error response

func (*GetShareLinkInternalServerError) Error

func (*GetShareLinkInternalServerError) GetPayload

func (*GetShareLinkInternalServerError) IsClientError

func (o *GetShareLinkInternalServerError) IsClientError() bool

IsClientError returns true when this get share link internal server error response has a 4xx status code

func (*GetShareLinkInternalServerError) IsCode

func (o *GetShareLinkInternalServerError) IsCode(code int) bool

IsCode returns true when this get share link internal server error response a status code equal to that given

func (*GetShareLinkInternalServerError) IsRedirect

func (o *GetShareLinkInternalServerError) IsRedirect() bool

IsRedirect returns true when this get share link internal server error response has a 3xx status code

func (*GetShareLinkInternalServerError) IsServerError

func (o *GetShareLinkInternalServerError) IsServerError() bool

IsServerError returns true when this get share link internal server error response has a 5xx status code

func (*GetShareLinkInternalServerError) IsSuccess

func (o *GetShareLinkInternalServerError) IsSuccess() bool

IsSuccess returns true when this get share link internal server error response has a 2xx status code

func (*GetShareLinkInternalServerError) String

type GetShareLinkNotFound

type GetShareLinkNotFound struct {
	Payload *models.RestError
}

GetShareLinkNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewGetShareLinkNotFound

func NewGetShareLinkNotFound() *GetShareLinkNotFound

NewGetShareLinkNotFound creates a GetShareLinkNotFound with default headers values

func (*GetShareLinkNotFound) Code added in v4.0.1

func (o *GetShareLinkNotFound) Code() int

Code gets the status code for the get share link not found response

func (*GetShareLinkNotFound) Error

func (o *GetShareLinkNotFound) Error() string

func (*GetShareLinkNotFound) GetPayload

func (o *GetShareLinkNotFound) GetPayload() *models.RestError

func (*GetShareLinkNotFound) IsClientError

func (o *GetShareLinkNotFound) IsClientError() bool

IsClientError returns true when this get share link not found response has a 4xx status code

func (*GetShareLinkNotFound) IsCode

func (o *GetShareLinkNotFound) IsCode(code int) bool

IsCode returns true when this get share link not found response a status code equal to that given

func (*GetShareLinkNotFound) IsRedirect

func (o *GetShareLinkNotFound) IsRedirect() bool

IsRedirect returns true when this get share link not found response has a 3xx status code

func (*GetShareLinkNotFound) IsServerError

func (o *GetShareLinkNotFound) IsServerError() bool

IsServerError returns true when this get share link not found response has a 5xx status code

func (*GetShareLinkNotFound) IsSuccess

func (o *GetShareLinkNotFound) IsSuccess() bool

IsSuccess returns true when this get share link not found response has a 2xx status code

func (*GetShareLinkNotFound) String

func (o *GetShareLinkNotFound) String() string

type GetShareLinkOK

type GetShareLinkOK struct {
	Payload *models.RestShareLink
}

GetShareLinkOK describes a response with status code 200, with default header values.

A successful response.

func NewGetShareLinkOK

func NewGetShareLinkOK() *GetShareLinkOK

NewGetShareLinkOK creates a GetShareLinkOK with default headers values

func (*GetShareLinkOK) Code added in v4.0.1

func (o *GetShareLinkOK) Code() int

Code gets the status code for the get share link o k response

func (*GetShareLinkOK) Error

func (o *GetShareLinkOK) Error() string

func (*GetShareLinkOK) GetPayload

func (o *GetShareLinkOK) GetPayload() *models.RestShareLink

func (*GetShareLinkOK) IsClientError

func (o *GetShareLinkOK) IsClientError() bool

IsClientError returns true when this get share link o k response has a 4xx status code

func (*GetShareLinkOK) IsCode

func (o *GetShareLinkOK) IsCode(code int) bool

IsCode returns true when this get share link o k response a status code equal to that given

func (*GetShareLinkOK) IsRedirect

func (o *GetShareLinkOK) IsRedirect() bool

IsRedirect returns true when this get share link o k response has a 3xx status code

func (*GetShareLinkOK) IsServerError

func (o *GetShareLinkOK) IsServerError() bool

IsServerError returns true when this get share link o k response has a 5xx status code

func (*GetShareLinkOK) IsSuccess

func (o *GetShareLinkOK) IsSuccess() bool

IsSuccess returns true when this get share link o k response has a 2xx status code

func (*GetShareLinkOK) String

func (o *GetShareLinkOK) String() string

type GetShareLinkParams

type GetShareLinkParams struct {

	/* UUID.

	   Link Uuid
	*/
	UUID string

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

GetShareLinkParams contains all the parameters to send to the API endpoint

for the get share link operation.

Typically these are written to a http.Request.

func NewGetShareLinkParams

func NewGetShareLinkParams() *GetShareLinkParams

NewGetShareLinkParams creates a new GetShareLinkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetShareLinkParamsWithContext

func NewGetShareLinkParamsWithContext(ctx context.Context) *GetShareLinkParams

NewGetShareLinkParamsWithContext creates a new GetShareLinkParams object with the ability to set a context for a request.

func NewGetShareLinkParamsWithHTTPClient

func NewGetShareLinkParamsWithHTTPClient(client *http.Client) *GetShareLinkParams

NewGetShareLinkParamsWithHTTPClient creates a new GetShareLinkParams object with the ability to set a custom HTTPClient for a request.

func NewGetShareLinkParamsWithTimeout

func NewGetShareLinkParamsWithTimeout(timeout time.Duration) *GetShareLinkParams

NewGetShareLinkParamsWithTimeout creates a new GetShareLinkParams object with the ability to set a timeout on a request.

func (*GetShareLinkParams) SetContext

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

SetContext adds the context to the get share link params

func (*GetShareLinkParams) SetDefaults

func (o *GetShareLinkParams) SetDefaults()

SetDefaults hydrates default values in the get share link params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get share link params

func (*GetShareLinkParams) SetTimeout

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

SetTimeout adds the timeout to the get share link params

func (*GetShareLinkParams) SetUUID

func (o *GetShareLinkParams) SetUUID(uuid string)

SetUUID adds the uuid to the get share link params

func (*GetShareLinkParams) WithContext

WithContext adds the context to the get share link params

func (*GetShareLinkParams) WithDefaults

func (o *GetShareLinkParams) WithDefaults() *GetShareLinkParams

WithDefaults hydrates default values in the get share link params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareLinkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get share link params

func (*GetShareLinkParams) WithTimeout

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

WithTimeout adds the timeout to the get share link params

func (*GetShareLinkParams) WithUUID

func (o *GetShareLinkParams) WithUUID(uuid string) *GetShareLinkParams

WithUUID adds the uuid to the get share link params

func (*GetShareLinkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetShareLinkReader

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

GetShareLinkReader is a Reader for the GetShareLink structure.

func (*GetShareLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetShareLinkUnauthorized

type GetShareLinkUnauthorized struct {
}

GetShareLinkUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewGetShareLinkUnauthorized

func NewGetShareLinkUnauthorized() *GetShareLinkUnauthorized

NewGetShareLinkUnauthorized creates a GetShareLinkUnauthorized with default headers values

func (*GetShareLinkUnauthorized) Code added in v4.0.1

func (o *GetShareLinkUnauthorized) Code() int

Code gets the status code for the get share link unauthorized response

func (*GetShareLinkUnauthorized) Error

func (o *GetShareLinkUnauthorized) Error() string

func (*GetShareLinkUnauthorized) IsClientError

func (o *GetShareLinkUnauthorized) IsClientError() bool

IsClientError returns true when this get share link unauthorized response has a 4xx status code

func (*GetShareLinkUnauthorized) IsCode

func (o *GetShareLinkUnauthorized) IsCode(code int) bool

IsCode returns true when this get share link unauthorized response a status code equal to that given

func (*GetShareLinkUnauthorized) IsRedirect

func (o *GetShareLinkUnauthorized) IsRedirect() bool

IsRedirect returns true when this get share link unauthorized response has a 3xx status code

func (*GetShareLinkUnauthorized) IsServerError

func (o *GetShareLinkUnauthorized) IsServerError() bool

IsServerError returns true when this get share link unauthorized response has a 5xx status code

func (*GetShareLinkUnauthorized) IsSuccess

func (o *GetShareLinkUnauthorized) IsSuccess() bool

IsSuccess returns true when this get share link unauthorized response has a 2xx status code

func (*GetShareLinkUnauthorized) String

func (o *GetShareLinkUnauthorized) String() string

type ListSharedResourcesForbidden

type ListSharedResourcesForbidden struct {
	Payload *models.RestError
}

ListSharedResourcesForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewListSharedResourcesForbidden

func NewListSharedResourcesForbidden() *ListSharedResourcesForbidden

NewListSharedResourcesForbidden creates a ListSharedResourcesForbidden with default headers values

func (*ListSharedResourcesForbidden) Code added in v4.0.1

Code gets the status code for the list shared resources forbidden response

func (*ListSharedResourcesForbidden) Error

func (*ListSharedResourcesForbidden) GetPayload

func (*ListSharedResourcesForbidden) IsClientError

func (o *ListSharedResourcesForbidden) IsClientError() bool

IsClientError returns true when this list shared resources forbidden response has a 4xx status code

func (*ListSharedResourcesForbidden) IsCode

func (o *ListSharedResourcesForbidden) IsCode(code int) bool

IsCode returns true when this list shared resources forbidden response a status code equal to that given

func (*ListSharedResourcesForbidden) IsRedirect

func (o *ListSharedResourcesForbidden) IsRedirect() bool

IsRedirect returns true when this list shared resources forbidden response has a 3xx status code

func (*ListSharedResourcesForbidden) IsServerError

func (o *ListSharedResourcesForbidden) IsServerError() bool

IsServerError returns true when this list shared resources forbidden response has a 5xx status code

func (*ListSharedResourcesForbidden) IsSuccess

func (o *ListSharedResourcesForbidden) IsSuccess() bool

IsSuccess returns true when this list shared resources forbidden response has a 2xx status code

func (*ListSharedResourcesForbidden) String

type ListSharedResourcesInternalServerError

type ListSharedResourcesInternalServerError struct {
	Payload *models.RestError
}

ListSharedResourcesInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewListSharedResourcesInternalServerError

func NewListSharedResourcesInternalServerError() *ListSharedResourcesInternalServerError

NewListSharedResourcesInternalServerError creates a ListSharedResourcesInternalServerError with default headers values

func (*ListSharedResourcesInternalServerError) Code added in v4.0.1

Code gets the status code for the list shared resources internal server error response

func (*ListSharedResourcesInternalServerError) Error

func (*ListSharedResourcesInternalServerError) GetPayload

func (*ListSharedResourcesInternalServerError) IsClientError

func (o *ListSharedResourcesInternalServerError) IsClientError() bool

IsClientError returns true when this list shared resources internal server error response has a 4xx status code

func (*ListSharedResourcesInternalServerError) IsCode

IsCode returns true when this list shared resources internal server error response a status code equal to that given

func (*ListSharedResourcesInternalServerError) IsRedirect

IsRedirect returns true when this list shared resources internal server error response has a 3xx status code

func (*ListSharedResourcesInternalServerError) IsServerError

func (o *ListSharedResourcesInternalServerError) IsServerError() bool

IsServerError returns true when this list shared resources internal server error response has a 5xx status code

func (*ListSharedResourcesInternalServerError) IsSuccess

IsSuccess returns true when this list shared resources internal server error response has a 2xx status code

func (*ListSharedResourcesInternalServerError) String

type ListSharedResourcesNotFound

type ListSharedResourcesNotFound struct {
	Payload *models.RestError
}

ListSharedResourcesNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewListSharedResourcesNotFound

func NewListSharedResourcesNotFound() *ListSharedResourcesNotFound

NewListSharedResourcesNotFound creates a ListSharedResourcesNotFound with default headers values

func (*ListSharedResourcesNotFound) Code added in v4.0.1

func (o *ListSharedResourcesNotFound) Code() int

Code gets the status code for the list shared resources not found response

func (*ListSharedResourcesNotFound) Error

func (*ListSharedResourcesNotFound) GetPayload

func (o *ListSharedResourcesNotFound) GetPayload() *models.RestError

func (*ListSharedResourcesNotFound) IsClientError

func (o *ListSharedResourcesNotFound) IsClientError() bool

IsClientError returns true when this list shared resources not found response has a 4xx status code

func (*ListSharedResourcesNotFound) IsCode

func (o *ListSharedResourcesNotFound) IsCode(code int) bool

IsCode returns true when this list shared resources not found response a status code equal to that given

func (*ListSharedResourcesNotFound) IsRedirect

func (o *ListSharedResourcesNotFound) IsRedirect() bool

IsRedirect returns true when this list shared resources not found response has a 3xx status code

func (*ListSharedResourcesNotFound) IsServerError

func (o *ListSharedResourcesNotFound) IsServerError() bool

IsServerError returns true when this list shared resources not found response has a 5xx status code

func (*ListSharedResourcesNotFound) IsSuccess

func (o *ListSharedResourcesNotFound) IsSuccess() bool

IsSuccess returns true when this list shared resources not found response has a 2xx status code

func (*ListSharedResourcesNotFound) String

func (o *ListSharedResourcesNotFound) String() string

type ListSharedResourcesOK

type ListSharedResourcesOK struct {
	Payload *models.RestListSharedResourcesResponse
}

ListSharedResourcesOK describes a response with status code 200, with default header values.

A successful response.

func NewListSharedResourcesOK

func NewListSharedResourcesOK() *ListSharedResourcesOK

NewListSharedResourcesOK creates a ListSharedResourcesOK with default headers values

func (*ListSharedResourcesOK) Code added in v4.0.1

func (o *ListSharedResourcesOK) Code() int

Code gets the status code for the list shared resources o k response

func (*ListSharedResourcesOK) Error

func (o *ListSharedResourcesOK) Error() string

func (*ListSharedResourcesOK) GetPayload

func (*ListSharedResourcesOK) IsClientError

func (o *ListSharedResourcesOK) IsClientError() bool

IsClientError returns true when this list shared resources o k response has a 4xx status code

func (*ListSharedResourcesOK) IsCode

func (o *ListSharedResourcesOK) IsCode(code int) bool

IsCode returns true when this list shared resources o k response a status code equal to that given

func (*ListSharedResourcesOK) IsRedirect

func (o *ListSharedResourcesOK) IsRedirect() bool

IsRedirect returns true when this list shared resources o k response has a 3xx status code

func (*ListSharedResourcesOK) IsServerError

func (o *ListSharedResourcesOK) IsServerError() bool

IsServerError returns true when this list shared resources o k response has a 5xx status code

func (*ListSharedResourcesOK) IsSuccess

func (o *ListSharedResourcesOK) IsSuccess() bool

IsSuccess returns true when this list shared resources o k response has a 2xx status code

func (*ListSharedResourcesOK) String

func (o *ListSharedResourcesOK) String() string

type ListSharedResourcesParams

type ListSharedResourcesParams struct {

	// Body.
	Body *models.RestListSharedResourcesRequest

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

ListSharedResourcesParams contains all the parameters to send to the API endpoint

for the list shared resources operation.

Typically these are written to a http.Request.

func NewListSharedResourcesParams

func NewListSharedResourcesParams() *ListSharedResourcesParams

NewListSharedResourcesParams creates a new ListSharedResourcesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListSharedResourcesParamsWithContext

func NewListSharedResourcesParamsWithContext(ctx context.Context) *ListSharedResourcesParams

NewListSharedResourcesParamsWithContext creates a new ListSharedResourcesParams object with the ability to set a context for a request.

func NewListSharedResourcesParamsWithHTTPClient

func NewListSharedResourcesParamsWithHTTPClient(client *http.Client) *ListSharedResourcesParams

NewListSharedResourcesParamsWithHTTPClient creates a new ListSharedResourcesParams object with the ability to set a custom HTTPClient for a request.

func NewListSharedResourcesParamsWithTimeout

func NewListSharedResourcesParamsWithTimeout(timeout time.Duration) *ListSharedResourcesParams

NewListSharedResourcesParamsWithTimeout creates a new ListSharedResourcesParams object with the ability to set a timeout on a request.

func (*ListSharedResourcesParams) SetBody

SetBody adds the body to the list shared resources params

func (*ListSharedResourcesParams) SetContext

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

SetContext adds the context to the list shared resources params

func (*ListSharedResourcesParams) SetDefaults

func (o *ListSharedResourcesParams) SetDefaults()

SetDefaults hydrates default values in the list shared resources params (not the query body).

All values with no default are reset to their zero value.

func (*ListSharedResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list shared resources params

func (*ListSharedResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the list shared resources params

func (*ListSharedResourcesParams) WithBody

WithBody adds the body to the list shared resources params

func (*ListSharedResourcesParams) WithContext

WithContext adds the context to the list shared resources params

func (*ListSharedResourcesParams) WithDefaults

WithDefaults hydrates default values in the list shared resources params (not the query body).

All values with no default are reset to their zero value.

func (*ListSharedResourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list shared resources params

func (*ListSharedResourcesParams) WithTimeout

WithTimeout adds the timeout to the list shared resources params

func (*ListSharedResourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSharedResourcesReader

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

ListSharedResourcesReader is a Reader for the ListSharedResources structure.

func (*ListSharedResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSharedResourcesUnauthorized

type ListSharedResourcesUnauthorized struct {
}

ListSharedResourcesUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewListSharedResourcesUnauthorized

func NewListSharedResourcesUnauthorized() *ListSharedResourcesUnauthorized

NewListSharedResourcesUnauthorized creates a ListSharedResourcesUnauthorized with default headers values

func (*ListSharedResourcesUnauthorized) Code added in v4.0.1

Code gets the status code for the list shared resources unauthorized response

func (*ListSharedResourcesUnauthorized) Error

func (*ListSharedResourcesUnauthorized) IsClientError

func (o *ListSharedResourcesUnauthorized) IsClientError() bool

IsClientError returns true when this list shared resources unauthorized response has a 4xx status code

func (*ListSharedResourcesUnauthorized) IsCode

func (o *ListSharedResourcesUnauthorized) IsCode(code int) bool

IsCode returns true when this list shared resources unauthorized response a status code equal to that given

func (*ListSharedResourcesUnauthorized) IsRedirect

func (o *ListSharedResourcesUnauthorized) IsRedirect() bool

IsRedirect returns true when this list shared resources unauthorized response has a 3xx status code

func (*ListSharedResourcesUnauthorized) IsServerError

func (o *ListSharedResourcesUnauthorized) IsServerError() bool

IsServerError returns true when this list shared resources unauthorized response has a 5xx status code

func (*ListSharedResourcesUnauthorized) IsSuccess

func (o *ListSharedResourcesUnauthorized) IsSuccess() bool

IsSuccess returns true when this list shared resources unauthorized response has a 2xx status code

func (*ListSharedResourcesUnauthorized) String

type PutCellForbidden

type PutCellForbidden struct {
	Payload *models.RestError
}

PutCellForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewPutCellForbidden

func NewPutCellForbidden() *PutCellForbidden

NewPutCellForbidden creates a PutCellForbidden with default headers values

func (*PutCellForbidden) Code added in v4.0.1

func (o *PutCellForbidden) Code() int

Code gets the status code for the put cell forbidden response

func (*PutCellForbidden) Error

func (o *PutCellForbidden) Error() string

func (*PutCellForbidden) GetPayload

func (o *PutCellForbidden) GetPayload() *models.RestError

func (*PutCellForbidden) IsClientError

func (o *PutCellForbidden) IsClientError() bool

IsClientError returns true when this put cell forbidden response has a 4xx status code

func (*PutCellForbidden) IsCode

func (o *PutCellForbidden) IsCode(code int) bool

IsCode returns true when this put cell forbidden response a status code equal to that given

func (*PutCellForbidden) IsRedirect

func (o *PutCellForbidden) IsRedirect() bool

IsRedirect returns true when this put cell forbidden response has a 3xx status code

func (*PutCellForbidden) IsServerError

func (o *PutCellForbidden) IsServerError() bool

IsServerError returns true when this put cell forbidden response has a 5xx status code

func (*PutCellForbidden) IsSuccess

func (o *PutCellForbidden) IsSuccess() bool

IsSuccess returns true when this put cell forbidden response has a 2xx status code

func (*PutCellForbidden) String

func (o *PutCellForbidden) String() string

type PutCellInternalServerError

type PutCellInternalServerError struct {
	Payload *models.RestError
}

PutCellInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewPutCellInternalServerError

func NewPutCellInternalServerError() *PutCellInternalServerError

NewPutCellInternalServerError creates a PutCellInternalServerError with default headers values

func (*PutCellInternalServerError) Code added in v4.0.1

func (o *PutCellInternalServerError) Code() int

Code gets the status code for the put cell internal server error response

func (*PutCellInternalServerError) Error

func (*PutCellInternalServerError) GetPayload

func (o *PutCellInternalServerError) GetPayload() *models.RestError

func (*PutCellInternalServerError) IsClientError

func (o *PutCellInternalServerError) IsClientError() bool

IsClientError returns true when this put cell internal server error response has a 4xx status code

func (*PutCellInternalServerError) IsCode

func (o *PutCellInternalServerError) IsCode(code int) bool

IsCode returns true when this put cell internal server error response a status code equal to that given

func (*PutCellInternalServerError) IsRedirect

func (o *PutCellInternalServerError) IsRedirect() bool

IsRedirect returns true when this put cell internal server error response has a 3xx status code

func (*PutCellInternalServerError) IsServerError

func (o *PutCellInternalServerError) IsServerError() bool

IsServerError returns true when this put cell internal server error response has a 5xx status code

func (*PutCellInternalServerError) IsSuccess

func (o *PutCellInternalServerError) IsSuccess() bool

IsSuccess returns true when this put cell internal server error response has a 2xx status code

func (*PutCellInternalServerError) String

func (o *PutCellInternalServerError) String() string

type PutCellNotFound

type PutCellNotFound struct {
	Payload *models.RestError
}

PutCellNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewPutCellNotFound

func NewPutCellNotFound() *PutCellNotFound

NewPutCellNotFound creates a PutCellNotFound with default headers values

func (*PutCellNotFound) Code added in v4.0.1

func (o *PutCellNotFound) Code() int

Code gets the status code for the put cell not found response

func (*PutCellNotFound) Error

func (o *PutCellNotFound) Error() string

func (*PutCellNotFound) GetPayload

func (o *PutCellNotFound) GetPayload() *models.RestError

func (*PutCellNotFound) IsClientError

func (o *PutCellNotFound) IsClientError() bool

IsClientError returns true when this put cell not found response has a 4xx status code

func (*PutCellNotFound) IsCode

func (o *PutCellNotFound) IsCode(code int) bool

IsCode returns true when this put cell not found response a status code equal to that given

func (*PutCellNotFound) IsRedirect

func (o *PutCellNotFound) IsRedirect() bool

IsRedirect returns true when this put cell not found response has a 3xx status code

func (*PutCellNotFound) IsServerError

func (o *PutCellNotFound) IsServerError() bool

IsServerError returns true when this put cell not found response has a 5xx status code

func (*PutCellNotFound) IsSuccess

func (o *PutCellNotFound) IsSuccess() bool

IsSuccess returns true when this put cell not found response has a 2xx status code

func (*PutCellNotFound) String

func (o *PutCellNotFound) String() string

type PutCellOK

type PutCellOK struct {
	Payload *models.RestCell
}

PutCellOK describes a response with status code 200, with default header values.

A successful response.

func NewPutCellOK

func NewPutCellOK() *PutCellOK

NewPutCellOK creates a PutCellOK with default headers values

func (*PutCellOK) Code added in v4.0.1

func (o *PutCellOK) Code() int

Code gets the status code for the put cell o k response

func (*PutCellOK) Error

func (o *PutCellOK) Error() string

func (*PutCellOK) GetPayload

func (o *PutCellOK) GetPayload() *models.RestCell

func (*PutCellOK) IsClientError

func (o *PutCellOK) IsClientError() bool

IsClientError returns true when this put cell o k response has a 4xx status code

func (*PutCellOK) IsCode

func (o *PutCellOK) IsCode(code int) bool

IsCode returns true when this put cell o k response a status code equal to that given

func (*PutCellOK) IsRedirect

func (o *PutCellOK) IsRedirect() bool

IsRedirect returns true when this put cell o k response has a 3xx status code

func (*PutCellOK) IsServerError

func (o *PutCellOK) IsServerError() bool

IsServerError returns true when this put cell o k response has a 5xx status code

func (*PutCellOK) IsSuccess

func (o *PutCellOK) IsSuccess() bool

IsSuccess returns true when this put cell o k response has a 2xx status code

func (*PutCellOK) String

func (o *PutCellOK) String() string

type PutCellParams

type PutCellParams struct {

	// Body.
	Body *models.RestPutCellRequest

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

PutCellParams contains all the parameters to send to the API endpoint

for the put cell operation.

Typically these are written to a http.Request.

func NewPutCellParams

func NewPutCellParams() *PutCellParams

NewPutCellParams creates a new PutCellParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutCellParamsWithContext

func NewPutCellParamsWithContext(ctx context.Context) *PutCellParams

NewPutCellParamsWithContext creates a new PutCellParams object with the ability to set a context for a request.

func NewPutCellParamsWithHTTPClient

func NewPutCellParamsWithHTTPClient(client *http.Client) *PutCellParams

NewPutCellParamsWithHTTPClient creates a new PutCellParams object with the ability to set a custom HTTPClient for a request.

func NewPutCellParamsWithTimeout

func NewPutCellParamsWithTimeout(timeout time.Duration) *PutCellParams

NewPutCellParamsWithTimeout creates a new PutCellParams object with the ability to set a timeout on a request.

func (*PutCellParams) SetBody

func (o *PutCellParams) SetBody(body *models.RestPutCellRequest)

SetBody adds the body to the put cell params

func (*PutCellParams) SetContext

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

SetContext adds the context to the put cell params

func (*PutCellParams) SetDefaults

func (o *PutCellParams) SetDefaults()

SetDefaults hydrates default values in the put cell params (not the query body).

All values with no default are reset to their zero value.

func (*PutCellParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put cell params

func (*PutCellParams) SetTimeout

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

SetTimeout adds the timeout to the put cell params

func (*PutCellParams) WithBody

WithBody adds the body to the put cell params

func (*PutCellParams) WithContext

func (o *PutCellParams) WithContext(ctx context.Context) *PutCellParams

WithContext adds the context to the put cell params

func (*PutCellParams) WithDefaults

func (o *PutCellParams) WithDefaults() *PutCellParams

WithDefaults hydrates default values in the put cell params (not the query body).

All values with no default are reset to their zero value.

func (*PutCellParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put cell params

func (*PutCellParams) WithTimeout

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

WithTimeout adds the timeout to the put cell params

func (*PutCellParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutCellReader

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

PutCellReader is a Reader for the PutCell structure.

func (*PutCellReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCellUnauthorized

type PutCellUnauthorized struct {
}

PutCellUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewPutCellUnauthorized

func NewPutCellUnauthorized() *PutCellUnauthorized

NewPutCellUnauthorized creates a PutCellUnauthorized with default headers values

func (*PutCellUnauthorized) Code added in v4.0.1

func (o *PutCellUnauthorized) Code() int

Code gets the status code for the put cell unauthorized response

func (*PutCellUnauthorized) Error

func (o *PutCellUnauthorized) Error() string

func (*PutCellUnauthorized) IsClientError

func (o *PutCellUnauthorized) IsClientError() bool

IsClientError returns true when this put cell unauthorized response has a 4xx status code

func (*PutCellUnauthorized) IsCode

func (o *PutCellUnauthorized) IsCode(code int) bool

IsCode returns true when this put cell unauthorized response a status code equal to that given

func (*PutCellUnauthorized) IsRedirect

func (o *PutCellUnauthorized) IsRedirect() bool

IsRedirect returns true when this put cell unauthorized response has a 3xx status code

func (*PutCellUnauthorized) IsServerError

func (o *PutCellUnauthorized) IsServerError() bool

IsServerError returns true when this put cell unauthorized response has a 5xx status code

func (*PutCellUnauthorized) IsSuccess

func (o *PutCellUnauthorized) IsSuccess() bool

IsSuccess returns true when this put cell unauthorized response has a 2xx status code

func (*PutCellUnauthorized) String

func (o *PutCellUnauthorized) String() string

type PutShareLinkForbidden

type PutShareLinkForbidden struct {
	Payload *models.RestError
}

PutShareLinkForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewPutShareLinkForbidden

func NewPutShareLinkForbidden() *PutShareLinkForbidden

NewPutShareLinkForbidden creates a PutShareLinkForbidden with default headers values

func (*PutShareLinkForbidden) Code added in v4.0.1

func (o *PutShareLinkForbidden) Code() int

Code gets the status code for the put share link forbidden response

func (*PutShareLinkForbidden) Error

func (o *PutShareLinkForbidden) Error() string

func (*PutShareLinkForbidden) GetPayload

func (o *PutShareLinkForbidden) GetPayload() *models.RestError

func (*PutShareLinkForbidden) IsClientError

func (o *PutShareLinkForbidden) IsClientError() bool

IsClientError returns true when this put share link forbidden response has a 4xx status code

func (*PutShareLinkForbidden) IsCode

func (o *PutShareLinkForbidden) IsCode(code int) bool

IsCode returns true when this put share link forbidden response a status code equal to that given

func (*PutShareLinkForbidden) IsRedirect

func (o *PutShareLinkForbidden) IsRedirect() bool

IsRedirect returns true when this put share link forbidden response has a 3xx status code

func (*PutShareLinkForbidden) IsServerError

func (o *PutShareLinkForbidden) IsServerError() bool

IsServerError returns true when this put share link forbidden response has a 5xx status code

func (*PutShareLinkForbidden) IsSuccess

func (o *PutShareLinkForbidden) IsSuccess() bool

IsSuccess returns true when this put share link forbidden response has a 2xx status code

func (*PutShareLinkForbidden) String

func (o *PutShareLinkForbidden) String() string

type PutShareLinkInternalServerError

type PutShareLinkInternalServerError struct {
	Payload *models.RestError
}

PutShareLinkInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewPutShareLinkInternalServerError

func NewPutShareLinkInternalServerError() *PutShareLinkInternalServerError

NewPutShareLinkInternalServerError creates a PutShareLinkInternalServerError with default headers values

func (*PutShareLinkInternalServerError) Code added in v4.0.1

Code gets the status code for the put share link internal server error response

func (*PutShareLinkInternalServerError) Error

func (*PutShareLinkInternalServerError) GetPayload

func (*PutShareLinkInternalServerError) IsClientError

func (o *PutShareLinkInternalServerError) IsClientError() bool

IsClientError returns true when this put share link internal server error response has a 4xx status code

func (*PutShareLinkInternalServerError) IsCode

func (o *PutShareLinkInternalServerError) IsCode(code int) bool

IsCode returns true when this put share link internal server error response a status code equal to that given

func (*PutShareLinkInternalServerError) IsRedirect

func (o *PutShareLinkInternalServerError) IsRedirect() bool

IsRedirect returns true when this put share link internal server error response has a 3xx status code

func (*PutShareLinkInternalServerError) IsServerError

func (o *PutShareLinkInternalServerError) IsServerError() bool

IsServerError returns true when this put share link internal server error response has a 5xx status code

func (*PutShareLinkInternalServerError) IsSuccess

func (o *PutShareLinkInternalServerError) IsSuccess() bool

IsSuccess returns true when this put share link internal server error response has a 2xx status code

func (*PutShareLinkInternalServerError) String

type PutShareLinkNotFound

type PutShareLinkNotFound struct {
	Payload *models.RestError
}

PutShareLinkNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewPutShareLinkNotFound

func NewPutShareLinkNotFound() *PutShareLinkNotFound

NewPutShareLinkNotFound creates a PutShareLinkNotFound with default headers values

func (*PutShareLinkNotFound) Code added in v4.0.1

func (o *PutShareLinkNotFound) Code() int

Code gets the status code for the put share link not found response

func (*PutShareLinkNotFound) Error

func (o *PutShareLinkNotFound) Error() string

func (*PutShareLinkNotFound) GetPayload

func (o *PutShareLinkNotFound) GetPayload() *models.RestError

func (*PutShareLinkNotFound) IsClientError

func (o *PutShareLinkNotFound) IsClientError() bool

IsClientError returns true when this put share link not found response has a 4xx status code

func (*PutShareLinkNotFound) IsCode

func (o *PutShareLinkNotFound) IsCode(code int) bool

IsCode returns true when this put share link not found response a status code equal to that given

func (*PutShareLinkNotFound) IsRedirect

func (o *PutShareLinkNotFound) IsRedirect() bool

IsRedirect returns true when this put share link not found response has a 3xx status code

func (*PutShareLinkNotFound) IsServerError

func (o *PutShareLinkNotFound) IsServerError() bool

IsServerError returns true when this put share link not found response has a 5xx status code

func (*PutShareLinkNotFound) IsSuccess

func (o *PutShareLinkNotFound) IsSuccess() bool

IsSuccess returns true when this put share link not found response has a 2xx status code

func (*PutShareLinkNotFound) String

func (o *PutShareLinkNotFound) String() string

type PutShareLinkOK

type PutShareLinkOK struct {
	Payload *models.RestShareLink
}

PutShareLinkOK describes a response with status code 200, with default header values.

A successful response.

func NewPutShareLinkOK

func NewPutShareLinkOK() *PutShareLinkOK

NewPutShareLinkOK creates a PutShareLinkOK with default headers values

func (*PutShareLinkOK) Code added in v4.0.1

func (o *PutShareLinkOK) Code() int

Code gets the status code for the put share link o k response

func (*PutShareLinkOK) Error

func (o *PutShareLinkOK) Error() string

func (*PutShareLinkOK) GetPayload

func (o *PutShareLinkOK) GetPayload() *models.RestShareLink

func (*PutShareLinkOK) IsClientError

func (o *PutShareLinkOK) IsClientError() bool

IsClientError returns true when this put share link o k response has a 4xx status code

func (*PutShareLinkOK) IsCode

func (o *PutShareLinkOK) IsCode(code int) bool

IsCode returns true when this put share link o k response a status code equal to that given

func (*PutShareLinkOK) IsRedirect

func (o *PutShareLinkOK) IsRedirect() bool

IsRedirect returns true when this put share link o k response has a 3xx status code

func (*PutShareLinkOK) IsServerError

func (o *PutShareLinkOK) IsServerError() bool

IsServerError returns true when this put share link o k response has a 5xx status code

func (*PutShareLinkOK) IsSuccess

func (o *PutShareLinkOK) IsSuccess() bool

IsSuccess returns true when this put share link o k response has a 2xx status code

func (*PutShareLinkOK) String

func (o *PutShareLinkOK) String() string

type PutShareLinkParams

type PutShareLinkParams struct {

	// Body.
	Body *models.RestPutShareLinkRequest

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

PutShareLinkParams contains all the parameters to send to the API endpoint

for the put share link operation.

Typically these are written to a http.Request.

func NewPutShareLinkParams

func NewPutShareLinkParams() *PutShareLinkParams

NewPutShareLinkParams creates a new PutShareLinkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutShareLinkParamsWithContext

func NewPutShareLinkParamsWithContext(ctx context.Context) *PutShareLinkParams

NewPutShareLinkParamsWithContext creates a new PutShareLinkParams object with the ability to set a context for a request.

func NewPutShareLinkParamsWithHTTPClient

func NewPutShareLinkParamsWithHTTPClient(client *http.Client) *PutShareLinkParams

NewPutShareLinkParamsWithHTTPClient creates a new PutShareLinkParams object with the ability to set a custom HTTPClient for a request.

func NewPutShareLinkParamsWithTimeout

func NewPutShareLinkParamsWithTimeout(timeout time.Duration) *PutShareLinkParams

NewPutShareLinkParamsWithTimeout creates a new PutShareLinkParams object with the ability to set a timeout on a request.

func (*PutShareLinkParams) SetBody

SetBody adds the body to the put share link params

func (*PutShareLinkParams) SetContext

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

SetContext adds the context to the put share link params

func (*PutShareLinkParams) SetDefaults

func (o *PutShareLinkParams) SetDefaults()

SetDefaults hydrates default values in the put share link params (not the query body).

All values with no default are reset to their zero value.

func (*PutShareLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put share link params

func (*PutShareLinkParams) SetTimeout

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

SetTimeout adds the timeout to the put share link params

func (*PutShareLinkParams) WithBody

WithBody adds the body to the put share link params

func (*PutShareLinkParams) WithContext

WithContext adds the context to the put share link params

func (*PutShareLinkParams) WithDefaults

func (o *PutShareLinkParams) WithDefaults() *PutShareLinkParams

WithDefaults hydrates default values in the put share link params (not the query body).

All values with no default are reset to their zero value.

func (*PutShareLinkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put share link params

func (*PutShareLinkParams) WithTimeout

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

WithTimeout adds the timeout to the put share link params

func (*PutShareLinkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutShareLinkReader

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

PutShareLinkReader is a Reader for the PutShareLink structure.

func (*PutShareLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutShareLinkUnauthorized

type PutShareLinkUnauthorized struct {
}

PutShareLinkUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewPutShareLinkUnauthorized

func NewPutShareLinkUnauthorized() *PutShareLinkUnauthorized

NewPutShareLinkUnauthorized creates a PutShareLinkUnauthorized with default headers values

func (*PutShareLinkUnauthorized) Code added in v4.0.1

func (o *PutShareLinkUnauthorized) Code() int

Code gets the status code for the put share link unauthorized response

func (*PutShareLinkUnauthorized) Error

func (o *PutShareLinkUnauthorized) Error() string

func (*PutShareLinkUnauthorized) IsClientError

func (o *PutShareLinkUnauthorized) IsClientError() bool

IsClientError returns true when this put share link unauthorized response has a 4xx status code

func (*PutShareLinkUnauthorized) IsCode

func (o *PutShareLinkUnauthorized) IsCode(code int) bool

IsCode returns true when this put share link unauthorized response a status code equal to that given

func (*PutShareLinkUnauthorized) IsRedirect

func (o *PutShareLinkUnauthorized) IsRedirect() bool

IsRedirect returns true when this put share link unauthorized response has a 3xx status code

func (*PutShareLinkUnauthorized) IsServerError

func (o *PutShareLinkUnauthorized) IsServerError() bool

IsServerError returns true when this put share link unauthorized response has a 5xx status code

func (*PutShareLinkUnauthorized) IsSuccess

func (o *PutShareLinkUnauthorized) IsSuccess() bool

IsSuccess returns true when this put share link unauthorized response has a 2xx status code

func (*PutShareLinkUnauthorized) String

func (o *PutShareLinkUnauthorized) String() string

type UpdateSharePoliciesForbidden

type UpdateSharePoliciesForbidden struct {
	Payload *models.RestError
}

UpdateSharePoliciesForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewUpdateSharePoliciesForbidden

func NewUpdateSharePoliciesForbidden() *UpdateSharePoliciesForbidden

NewUpdateSharePoliciesForbidden creates a UpdateSharePoliciesForbidden with default headers values

func (*UpdateSharePoliciesForbidden) Code added in v4.0.1

Code gets the status code for the update share policies forbidden response

func (*UpdateSharePoliciesForbidden) Error

func (*UpdateSharePoliciesForbidden) GetPayload

func (*UpdateSharePoliciesForbidden) IsClientError

func (o *UpdateSharePoliciesForbidden) IsClientError() bool

IsClientError returns true when this update share policies forbidden response has a 4xx status code

func (*UpdateSharePoliciesForbidden) IsCode

func (o *UpdateSharePoliciesForbidden) IsCode(code int) bool

IsCode returns true when this update share policies forbidden response a status code equal to that given

func (*UpdateSharePoliciesForbidden) IsRedirect

func (o *UpdateSharePoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this update share policies forbidden response has a 3xx status code

func (*UpdateSharePoliciesForbidden) IsServerError

func (o *UpdateSharePoliciesForbidden) IsServerError() bool

IsServerError returns true when this update share policies forbidden response has a 5xx status code

func (*UpdateSharePoliciesForbidden) IsSuccess

func (o *UpdateSharePoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this update share policies forbidden response has a 2xx status code

func (*UpdateSharePoliciesForbidden) String

type UpdateSharePoliciesInternalServerError

type UpdateSharePoliciesInternalServerError struct {
	Payload *models.RestError
}

UpdateSharePoliciesInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewUpdateSharePoliciesInternalServerError

func NewUpdateSharePoliciesInternalServerError() *UpdateSharePoliciesInternalServerError

NewUpdateSharePoliciesInternalServerError creates a UpdateSharePoliciesInternalServerError with default headers values

func (*UpdateSharePoliciesInternalServerError) Code added in v4.0.1

Code gets the status code for the update share policies internal server error response

func (*UpdateSharePoliciesInternalServerError) Error

func (*UpdateSharePoliciesInternalServerError) GetPayload

func (*UpdateSharePoliciesInternalServerError) IsClientError

func (o *UpdateSharePoliciesInternalServerError) IsClientError() bool

IsClientError returns true when this update share policies internal server error response has a 4xx status code

func (*UpdateSharePoliciesInternalServerError) IsCode

IsCode returns true when this update share policies internal server error response a status code equal to that given

func (*UpdateSharePoliciesInternalServerError) IsRedirect

IsRedirect returns true when this update share policies internal server error response has a 3xx status code

func (*UpdateSharePoliciesInternalServerError) IsServerError

func (o *UpdateSharePoliciesInternalServerError) IsServerError() bool

IsServerError returns true when this update share policies internal server error response has a 5xx status code

func (*UpdateSharePoliciesInternalServerError) IsSuccess

IsSuccess returns true when this update share policies internal server error response has a 2xx status code

func (*UpdateSharePoliciesInternalServerError) String

type UpdateSharePoliciesNotFound

type UpdateSharePoliciesNotFound struct {
	Payload *models.RestError
}

UpdateSharePoliciesNotFound describes a response with status code 404, with default header values.

Resource does not exist in the system

func NewUpdateSharePoliciesNotFound

func NewUpdateSharePoliciesNotFound() *UpdateSharePoliciesNotFound

NewUpdateSharePoliciesNotFound creates a UpdateSharePoliciesNotFound with default headers values

func (*UpdateSharePoliciesNotFound) Code added in v4.0.1

func (o *UpdateSharePoliciesNotFound) Code() int

Code gets the status code for the update share policies not found response

func (*UpdateSharePoliciesNotFound) Error

func (*UpdateSharePoliciesNotFound) GetPayload

func (o *UpdateSharePoliciesNotFound) GetPayload() *models.RestError

func (*UpdateSharePoliciesNotFound) IsClientError

func (o *UpdateSharePoliciesNotFound) IsClientError() bool

IsClientError returns true when this update share policies not found response has a 4xx status code

func (*UpdateSharePoliciesNotFound) IsCode

func (o *UpdateSharePoliciesNotFound) IsCode(code int) bool

IsCode returns true when this update share policies not found response a status code equal to that given

func (*UpdateSharePoliciesNotFound) IsRedirect

func (o *UpdateSharePoliciesNotFound) IsRedirect() bool

IsRedirect returns true when this update share policies not found response has a 3xx status code

func (*UpdateSharePoliciesNotFound) IsServerError

func (o *UpdateSharePoliciesNotFound) IsServerError() bool

IsServerError returns true when this update share policies not found response has a 5xx status code

func (*UpdateSharePoliciesNotFound) IsSuccess

func (o *UpdateSharePoliciesNotFound) IsSuccess() bool

IsSuccess returns true when this update share policies not found response has a 2xx status code

func (*UpdateSharePoliciesNotFound) String

func (o *UpdateSharePoliciesNotFound) String() string

type UpdateSharePoliciesOK

type UpdateSharePoliciesOK struct {
	Payload *models.RestUpdateSharePoliciesResponse
}

UpdateSharePoliciesOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateSharePoliciesOK

func NewUpdateSharePoliciesOK() *UpdateSharePoliciesOK

NewUpdateSharePoliciesOK creates a UpdateSharePoliciesOK with default headers values

func (*UpdateSharePoliciesOK) Code added in v4.0.1

func (o *UpdateSharePoliciesOK) Code() int

Code gets the status code for the update share policies o k response

func (*UpdateSharePoliciesOK) Error

func (o *UpdateSharePoliciesOK) Error() string

func (*UpdateSharePoliciesOK) GetPayload

func (*UpdateSharePoliciesOK) IsClientError

func (o *UpdateSharePoliciesOK) IsClientError() bool

IsClientError returns true when this update share policies o k response has a 4xx status code

func (*UpdateSharePoliciesOK) IsCode

func (o *UpdateSharePoliciesOK) IsCode(code int) bool

IsCode returns true when this update share policies o k response a status code equal to that given

func (*UpdateSharePoliciesOK) IsRedirect

func (o *UpdateSharePoliciesOK) IsRedirect() bool

IsRedirect returns true when this update share policies o k response has a 3xx status code

func (*UpdateSharePoliciesOK) IsServerError

func (o *UpdateSharePoliciesOK) IsServerError() bool

IsServerError returns true when this update share policies o k response has a 5xx status code

func (*UpdateSharePoliciesOK) IsSuccess

func (o *UpdateSharePoliciesOK) IsSuccess() bool

IsSuccess returns true when this update share policies o k response has a 2xx status code

func (*UpdateSharePoliciesOK) String

func (o *UpdateSharePoliciesOK) String() string

type UpdateSharePoliciesParams

type UpdateSharePoliciesParams struct {

	// Body.
	Body *models.RestUpdateSharePoliciesRequest

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

UpdateSharePoliciesParams contains all the parameters to send to the API endpoint

for the update share policies operation.

Typically these are written to a http.Request.

func NewUpdateSharePoliciesParams

func NewUpdateSharePoliciesParams() *UpdateSharePoliciesParams

NewUpdateSharePoliciesParams creates a new UpdateSharePoliciesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateSharePoliciesParamsWithContext

func NewUpdateSharePoliciesParamsWithContext(ctx context.Context) *UpdateSharePoliciesParams

NewUpdateSharePoliciesParamsWithContext creates a new UpdateSharePoliciesParams object with the ability to set a context for a request.

func NewUpdateSharePoliciesParamsWithHTTPClient

func NewUpdateSharePoliciesParamsWithHTTPClient(client *http.Client) *UpdateSharePoliciesParams

NewUpdateSharePoliciesParamsWithHTTPClient creates a new UpdateSharePoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSharePoliciesParamsWithTimeout

func NewUpdateSharePoliciesParamsWithTimeout(timeout time.Duration) *UpdateSharePoliciesParams

NewUpdateSharePoliciesParamsWithTimeout creates a new UpdateSharePoliciesParams object with the ability to set a timeout on a request.

func (*UpdateSharePoliciesParams) SetBody

SetBody adds the body to the update share policies params

func (*UpdateSharePoliciesParams) SetContext

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

SetContext adds the context to the update share policies params

func (*UpdateSharePoliciesParams) SetDefaults

func (o *UpdateSharePoliciesParams) SetDefaults()

SetDefaults hydrates default values in the update share policies params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateSharePoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update share policies params

func (*UpdateSharePoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the update share policies params

func (*UpdateSharePoliciesParams) WithBody

WithBody adds the body to the update share policies params

func (*UpdateSharePoliciesParams) WithContext

WithContext adds the context to the update share policies params

func (*UpdateSharePoliciesParams) WithDefaults

WithDefaults hydrates default values in the update share policies params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateSharePoliciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update share policies params

func (*UpdateSharePoliciesParams) WithTimeout

WithTimeout adds the timeout to the update share policies params

func (*UpdateSharePoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSharePoliciesReader

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

UpdateSharePoliciesReader is a Reader for the UpdateSharePolicies structure.

func (*UpdateSharePoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSharePoliciesUnauthorized

type UpdateSharePoliciesUnauthorized struct {
}

UpdateSharePoliciesUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewUpdateSharePoliciesUnauthorized

func NewUpdateSharePoliciesUnauthorized() *UpdateSharePoliciesUnauthorized

NewUpdateSharePoliciesUnauthorized creates a UpdateSharePoliciesUnauthorized with default headers values

func (*UpdateSharePoliciesUnauthorized) Code added in v4.0.1

Code gets the status code for the update share policies unauthorized response

func (*UpdateSharePoliciesUnauthorized) Error

func (*UpdateSharePoliciesUnauthorized) IsClientError

func (o *UpdateSharePoliciesUnauthorized) IsClientError() bool

IsClientError returns true when this update share policies unauthorized response has a 4xx status code

func (*UpdateSharePoliciesUnauthorized) IsCode

func (o *UpdateSharePoliciesUnauthorized) IsCode(code int) bool

IsCode returns true when this update share policies unauthorized response a status code equal to that given

func (*UpdateSharePoliciesUnauthorized) IsRedirect

func (o *UpdateSharePoliciesUnauthorized) IsRedirect() bool

IsRedirect returns true when this update share policies unauthorized response has a 3xx status code

func (*UpdateSharePoliciesUnauthorized) IsServerError

func (o *UpdateSharePoliciesUnauthorized) IsServerError() bool

IsServerError returns true when this update share policies unauthorized response has a 5xx status code

func (*UpdateSharePoliciesUnauthorized) IsSuccess

func (o *UpdateSharePoliciesUnauthorized) IsSuccess() bool

IsSuccess returns true when this update share policies unauthorized response has a 2xx status code

func (*UpdateSharePoliciesUnauthorized) String

Jump to

Keyboard shortcuts

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