share_service

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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 New

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

New creates a new share service API client.

func (*Client) DeleteCell

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

DeleteCell deletes a share room

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

DeleteShareLink deletes share link

func (*Client) GetCell

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

GetCell loads a share room

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

GetShareLink loads a share link with all infos

func (*Client) ListSharedResources

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

ListSharedResources lists shared resources for current user or all users

func (*Client) PutCell

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

PutCell puts or create a share room

func (a *Client) PutShareLink(params *PutShareLinkParams) (*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) (*UpdateSharePoliciesOK, error)

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

type DeleteCellOK

type DeleteCellOK struct {
	Payload *models.RestDeleteCellResponse
}

DeleteCellOK handles this case with default header values.

DeleteCellOK delete cell o k

func NewDeleteCellOK

func NewDeleteCellOK() *DeleteCellOK

NewDeleteCellOK creates a DeleteCellOK with default headers values

func (*DeleteCellOK) Error

func (o *DeleteCellOK) Error() string

type DeleteCellParams

type DeleteCellParams struct {

	/*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 values initialized.

func NewDeleteCellParamsWithContext

func NewDeleteCellParamsWithContext(ctx context.Context) *DeleteCellParams

NewDeleteCellParamsWithContext creates a new DeleteCellParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteShareLinkOK

type DeleteShareLinkOK struct {
	Payload *models.RestDeleteShareLinkResponse
}

DeleteShareLinkOK handles this case with default header values.

DeleteShareLinkOK delete share link o k

func NewDeleteShareLinkOK

func NewDeleteShareLinkOK() *DeleteShareLinkOK

NewDeleteShareLinkOK creates a DeleteShareLinkOK with default headers values

func (*DeleteShareLinkOK) Error

func (o *DeleteShareLinkOK) Error() string

type DeleteShareLinkParams

type DeleteShareLinkParams struct {

	/*UUID*/
	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 values initialized.

func NewDeleteShareLinkParamsWithContext

func NewDeleteShareLinkParamsWithContext(ctx context.Context) *DeleteShareLinkParams

NewDeleteShareLinkParamsWithContext creates a new DeleteShareLinkParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetCellOK

type GetCellOK struct {
	Payload *models.RestCell
}

GetCellOK handles this case with default header values.

GetCellOK get cell o k

func NewGetCellOK

func NewGetCellOK() *GetCellOK

NewGetCellOK creates a GetCellOK with default headers values

func (*GetCellOK) Error

func (o *GetCellOK) Error() string

type GetCellParams

type GetCellParams struct {

	/*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 values initialized.

func NewGetCellParamsWithContext

func NewGetCellParamsWithContext(ctx context.Context) *GetCellParams

NewGetCellParamsWithContext creates a new GetCellParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetShareLinkOK

type GetShareLinkOK struct {
	Payload *models.RestShareLink
}

GetShareLinkOK handles this case with default header values.

GetShareLinkOK get share link o k

func NewGetShareLinkOK

func NewGetShareLinkOK() *GetShareLinkOK

NewGetShareLinkOK creates a GetShareLinkOK with default headers values

func (*GetShareLinkOK) Error

func (o *GetShareLinkOK) Error() string

type GetShareLinkParams

type GetShareLinkParams struct {

	/*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 values initialized.

func NewGetShareLinkParamsWithContext

func NewGetShareLinkParamsWithContext(ctx context.Context) *GetShareLinkParams

NewGetShareLinkParamsWithContext creates a new GetShareLinkParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListSharedResourcesOK

type ListSharedResourcesOK struct {
	Payload *models.RestListSharedResourcesResponse
}

ListSharedResourcesOK handles this case with default header values.

ListSharedResourcesOK list shared resources o k

func NewListSharedResourcesOK

func NewListSharedResourcesOK() *ListSharedResourcesOK

NewListSharedResourcesOK creates a ListSharedResourcesOK with default headers values

func (*ListSharedResourcesOK) Error

func (o *ListSharedResourcesOK) Error() 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 values initialized.

func NewListSharedResourcesParamsWithContext

func NewListSharedResourcesParamsWithContext(ctx context.Context) *ListSharedResourcesParams

NewListSharedResourcesParamsWithContext creates a new ListSharedResourcesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PutCellOK

type PutCellOK struct {
	Payload *models.RestCell
}

PutCellOK handles this case with default header values.

PutCellOK put cell o k

func NewPutCellOK

func NewPutCellOK() *PutCellOK

NewPutCellOK creates a PutCellOK with default headers values

func (*PutCellOK) Error

func (o *PutCellOK) Error() 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 values initialized.

func NewPutCellParamsWithContext

func NewPutCellParamsWithContext(ctx context.Context) *PutCellParams

NewPutCellParamsWithContext creates a new PutCellParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PutShareLinkOK

type PutShareLinkOK struct {
	Payload *models.RestShareLink
}

PutShareLinkOK handles this case with default header values.

PutShareLinkOK put share link o k

func NewPutShareLinkOK

func NewPutShareLinkOK() *PutShareLinkOK

NewPutShareLinkOK creates a PutShareLinkOK with default headers values

func (*PutShareLinkOK) Error

func (o *PutShareLinkOK) Error() 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 values initialized.

func NewPutShareLinkParamsWithContext

func NewPutShareLinkParamsWithContext(ctx context.Context) *PutShareLinkParams

NewPutShareLinkParamsWithContext creates a new PutShareLinkParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateSharePoliciesOK

type UpdateSharePoliciesOK struct {
	Payload *models.RestUpdateSharePoliciesResponse
}

UpdateSharePoliciesOK handles this case with default header values.

UpdateSharePoliciesOK update share policies o k

func NewUpdateSharePoliciesOK

func NewUpdateSharePoliciesOK() *UpdateSharePoliciesOK

NewUpdateSharePoliciesOK creates a UpdateSharePoliciesOK with default headers values

func (*UpdateSharePoliciesOK) Error

func (o *UpdateSharePoliciesOK) Error() 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 values initialized.

func NewUpdateSharePoliciesParamsWithContext

func NewUpdateSharePoliciesParamsWithContext(ctx context.Context) *UpdateSharePoliciesParams

NewUpdateSharePoliciesParamsWithContext creates a new UpdateSharePoliciesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.

Jump to

Keyboard shortcuts

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