Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteCell(params *DeleteCellParams) (*DeleteCellOK, error)
- func (a *Client) DeleteShareLink(params *DeleteShareLinkParams) (*DeleteShareLinkOK, error)
- func (a *Client) GetCell(params *GetCellParams) (*GetCellOK, error)
- func (a *Client) GetShareLink(params *GetShareLinkParams) (*GetShareLinkOK, error)
- func (a *Client) ListSharedResources(params *ListSharedResourcesParams) (*ListSharedResourcesOK, error)
- func (a *Client) PutCell(params *PutCellParams) (*PutCellOK, error)
- func (a *Client) PutShareLink(params *PutShareLinkParams) (*PutShareLinkOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSharePolicies(params *UpdateSharePoliciesParams) (*UpdateSharePoliciesOK, error)
- type DeleteCellOK
- type DeleteCellParams
- func (o *DeleteCellParams) SetContext(ctx context.Context)
- func (o *DeleteCellParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCellParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCellParams) SetUUID(uuid string)
- func (o *DeleteCellParams) WithContext(ctx context.Context) *DeleteCellParams
- func (o *DeleteCellParams) WithHTTPClient(client *http.Client) *DeleteCellParams
- func (o *DeleteCellParams) WithTimeout(timeout time.Duration) *DeleteCellParams
- func (o *DeleteCellParams) WithUUID(uuid string) *DeleteCellParams
- func (o *DeleteCellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCellReader
- type DeleteShareLinkOK
- type DeleteShareLinkParams
- func NewDeleteShareLinkParams() *DeleteShareLinkParams
- func NewDeleteShareLinkParamsWithContext(ctx context.Context) *DeleteShareLinkParams
- func NewDeleteShareLinkParamsWithHTTPClient(client *http.Client) *DeleteShareLinkParams
- func NewDeleteShareLinkParamsWithTimeout(timeout time.Duration) *DeleteShareLinkParams
- func (o *DeleteShareLinkParams) SetContext(ctx context.Context)
- func (o *DeleteShareLinkParams) SetHTTPClient(client *http.Client)
- func (o *DeleteShareLinkParams) SetTimeout(timeout time.Duration)
- func (o *DeleteShareLinkParams) SetUUID(uuid string)
- func (o *DeleteShareLinkParams) WithContext(ctx context.Context) *DeleteShareLinkParams
- func (o *DeleteShareLinkParams) WithHTTPClient(client *http.Client) *DeleteShareLinkParams
- func (o *DeleteShareLinkParams) WithTimeout(timeout time.Duration) *DeleteShareLinkParams
- func (o *DeleteShareLinkParams) WithUUID(uuid string) *DeleteShareLinkParams
- func (o *DeleteShareLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteShareLinkReader
- type GetCellOK
- type GetCellParams
- func (o *GetCellParams) SetContext(ctx context.Context)
- func (o *GetCellParams) SetHTTPClient(client *http.Client)
- func (o *GetCellParams) SetTimeout(timeout time.Duration)
- func (o *GetCellParams) SetUUID(uuid string)
- func (o *GetCellParams) WithContext(ctx context.Context) *GetCellParams
- func (o *GetCellParams) WithHTTPClient(client *http.Client) *GetCellParams
- func (o *GetCellParams) WithTimeout(timeout time.Duration) *GetCellParams
- func (o *GetCellParams) WithUUID(uuid string) *GetCellParams
- func (o *GetCellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCellReader
- type GetShareLinkOK
- type GetShareLinkParams
- func (o *GetShareLinkParams) SetContext(ctx context.Context)
- func (o *GetShareLinkParams) SetHTTPClient(client *http.Client)
- func (o *GetShareLinkParams) SetTimeout(timeout time.Duration)
- func (o *GetShareLinkParams) SetUUID(uuid string)
- func (o *GetShareLinkParams) WithContext(ctx context.Context) *GetShareLinkParams
- func (o *GetShareLinkParams) WithHTTPClient(client *http.Client) *GetShareLinkParams
- func (o *GetShareLinkParams) WithTimeout(timeout time.Duration) *GetShareLinkParams
- func (o *GetShareLinkParams) WithUUID(uuid string) *GetShareLinkParams
- func (o *GetShareLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShareLinkReader
- type ListSharedResourcesOK
- type ListSharedResourcesParams
- func NewListSharedResourcesParams() *ListSharedResourcesParams
- func NewListSharedResourcesParamsWithContext(ctx context.Context) *ListSharedResourcesParams
- func NewListSharedResourcesParamsWithHTTPClient(client *http.Client) *ListSharedResourcesParams
- func NewListSharedResourcesParamsWithTimeout(timeout time.Duration) *ListSharedResourcesParams
- func (o *ListSharedResourcesParams) SetBody(body *models.RestListSharedResourcesRequest)
- func (o *ListSharedResourcesParams) SetContext(ctx context.Context)
- func (o *ListSharedResourcesParams) SetHTTPClient(client *http.Client)
- func (o *ListSharedResourcesParams) SetTimeout(timeout time.Duration)
- func (o *ListSharedResourcesParams) WithBody(body *models.RestListSharedResourcesRequest) *ListSharedResourcesParams
- func (o *ListSharedResourcesParams) WithContext(ctx context.Context) *ListSharedResourcesParams
- func (o *ListSharedResourcesParams) WithHTTPClient(client *http.Client) *ListSharedResourcesParams
- func (o *ListSharedResourcesParams) WithTimeout(timeout time.Duration) *ListSharedResourcesParams
- func (o *ListSharedResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSharedResourcesReader
- type PutCellOK
- type PutCellParams
- func (o *PutCellParams) SetBody(body *models.RestPutCellRequest)
- func (o *PutCellParams) SetContext(ctx context.Context)
- func (o *PutCellParams) SetHTTPClient(client *http.Client)
- func (o *PutCellParams) SetTimeout(timeout time.Duration)
- func (o *PutCellParams) WithBody(body *models.RestPutCellRequest) *PutCellParams
- func (o *PutCellParams) WithContext(ctx context.Context) *PutCellParams
- func (o *PutCellParams) WithHTTPClient(client *http.Client) *PutCellParams
- func (o *PutCellParams) WithTimeout(timeout time.Duration) *PutCellParams
- func (o *PutCellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutCellReader
- type PutShareLinkOK
- type PutShareLinkParams
- func (o *PutShareLinkParams) SetBody(body *models.RestPutShareLinkRequest)
- func (o *PutShareLinkParams) SetContext(ctx context.Context)
- func (o *PutShareLinkParams) SetHTTPClient(client *http.Client)
- func (o *PutShareLinkParams) SetTimeout(timeout time.Duration)
- func (o *PutShareLinkParams) WithBody(body *models.RestPutShareLinkRequest) *PutShareLinkParams
- func (o *PutShareLinkParams) WithContext(ctx context.Context) *PutShareLinkParams
- func (o *PutShareLinkParams) WithHTTPClient(client *http.Client) *PutShareLinkParams
- func (o *PutShareLinkParams) WithTimeout(timeout time.Duration) *PutShareLinkParams
- func (o *PutShareLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutShareLinkReader
- type UpdateSharePoliciesOK
- type UpdateSharePoliciesParams
- func NewUpdateSharePoliciesParams() *UpdateSharePoliciesParams
- func NewUpdateSharePoliciesParamsWithContext(ctx context.Context) *UpdateSharePoliciesParams
- func NewUpdateSharePoliciesParamsWithHTTPClient(client *http.Client) *UpdateSharePoliciesParams
- func NewUpdateSharePoliciesParamsWithTimeout(timeout time.Duration) *UpdateSharePoliciesParams
- func (o *UpdateSharePoliciesParams) SetBody(body *models.RestUpdateSharePoliciesRequest)
- func (o *UpdateSharePoliciesParams) SetContext(ctx context.Context)
- func (o *UpdateSharePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSharePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSharePoliciesParams) WithBody(body *models.RestUpdateSharePoliciesRequest) *UpdateSharePoliciesParams
- func (o *UpdateSharePoliciesParams) WithContext(ctx context.Context) *UpdateSharePoliciesParams
- func (o *UpdateSharePoliciesParams) WithHTTPClient(client *http.Client) *UpdateSharePoliciesParams
- func (o *UpdateSharePoliciesParams) WithTimeout(timeout time.Duration) *UpdateSharePoliciesParams
- func (o *UpdateSharePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSharePoliciesReader
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 (*Client) DeleteShareLink ¶
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 (*Client) GetShareLink ¶
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 (*Client) PutShareLink ¶
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 {
}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 { string // contains filtered or unexported fields }UUID
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 ¶
func (o *DeleteShareLinkParams) WithContext(ctx context.Context) *DeleteShareLinkParams
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 ¶
func (o *DeleteShareLinkParams) WithUUID(uuid string) *DeleteShareLinkParams
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 ¶
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
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 {
}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 { string // contains filtered or unexported fields }UUID
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 ¶
func (o *GetShareLinkParams) WithContext(ctx context.Context) *GetShareLinkParams
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 {
}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 { models.RestListSharedResourcesRequest // contains filtered or unexported fields }Body *
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 ¶
func (o *ListSharedResourcesParams) SetBody(body *models.RestListSharedResourcesRequest)
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 ¶
func (o *ListSharedResourcesParams) WithBody(body *models.RestListSharedResourcesRequest) *ListSharedResourcesParams
WithBody adds the body to the list shared resources params
func (*ListSharedResourcesParams) WithContext ¶
func (o *ListSharedResourcesParams) WithContext(ctx context.Context) *ListSharedResourcesParams
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 ¶
func (o *ListSharedResourcesParams) WithTimeout(timeout time.Duration) *ListSharedResourcesParams
WithTimeout adds the timeout to the list shared resources params
func (*ListSharedResourcesParams) WriteToRequest ¶
func (o *ListSharedResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
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 ¶
func (o *PutCellParams) WithBody(body *models.RestPutCellRequest) *PutCellParams
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 {
}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 { models.RestPutShareLinkRequest // contains filtered or unexported fields }Body *
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 ¶
func (o *PutShareLinkParams) SetBody(body *models.RestPutShareLinkRequest)
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 ¶
func (o *PutShareLinkParams) WithBody(body *models.RestPutShareLinkRequest) *PutShareLinkParams
WithBody adds the body to the put share link params
func (*PutShareLinkParams) WithContext ¶
func (o *PutShareLinkParams) WithContext(ctx context.Context) *PutShareLinkParams
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 {
}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 { models.RestUpdateSharePoliciesRequest // contains filtered or unexported fields }Body *
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 ¶
func (o *UpdateSharePoliciesParams) SetBody(body *models.RestUpdateSharePoliciesRequest)
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 ¶
func (o *UpdateSharePoliciesParams) WithBody(body *models.RestUpdateSharePoliciesRequest) *UpdateSharePoliciesParams
WithBody adds the body to the update share policies params
func (*UpdateSharePoliciesParams) WithContext ¶
func (o *UpdateSharePoliciesParams) WithContext(ctx context.Context) *UpdateSharePoliciesParams
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 ¶
func (o *UpdateSharePoliciesParams) WithTimeout(timeout time.Duration) *UpdateSharePoliciesParams
WithTimeout adds the timeout to the update share policies params
func (*UpdateSharePoliciesParams) WriteToRequest ¶
func (o *UpdateSharePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- delete_cell_parameters.go
- delete_cell_responses.go
- delete_share_link_parameters.go
- delete_share_link_responses.go
- get_cell_parameters.go
- get_cell_responses.go
- get_share_link_parameters.go
- get_share_link_responses.go
- list_shared_resources_parameters.go
- list_shared_resources_responses.go
- put_cell_parameters.go
- put_cell_responses.go
- put_share_link_parameters.go
- put_share_link_responses.go
- share_service_client.go
- update_share_policies_parameters.go
- update_share_policies_responses.go