Documentation ¶
Index ¶
- type AccessCreated
- func (o *AccessCreated) Error() string
- func (o *AccessCreated) GetPayload() *rest_model_zrok.AccessResponse
- func (o *AccessCreated) IsClientError() bool
- func (o *AccessCreated) IsCode(code int) bool
- func (o *AccessCreated) IsRedirect() bool
- func (o *AccessCreated) IsServerError() bool
- func (o *AccessCreated) IsSuccess() bool
- func (o *AccessCreated) String() string
- type AccessInternalServerError
- func (o *AccessInternalServerError) Error() string
- func (o *AccessInternalServerError) IsClientError() bool
- func (o *AccessInternalServerError) IsCode(code int) bool
- func (o *AccessInternalServerError) IsRedirect() bool
- func (o *AccessInternalServerError) IsServerError() bool
- func (o *AccessInternalServerError) IsSuccess() bool
- func (o *AccessInternalServerError) String() string
- type AccessNotFound
- func (o *AccessNotFound) Error() string
- func (o *AccessNotFound) IsClientError() bool
- func (o *AccessNotFound) IsCode(code int) bool
- func (o *AccessNotFound) IsRedirect() bool
- func (o *AccessNotFound) IsServerError() bool
- func (o *AccessNotFound) IsSuccess() bool
- func (o *AccessNotFound) String() string
- type AccessParams
- func (o *AccessParams) SetBody(body *rest_model_zrok.AccessRequest)
- func (o *AccessParams) SetContext(ctx context.Context)
- func (o *AccessParams) SetDefaults()
- func (o *AccessParams) SetHTTPClient(client *http.Client)
- func (o *AccessParams) SetTimeout(timeout time.Duration)
- func (o *AccessParams) WithBody(body *rest_model_zrok.AccessRequest) *AccessParams
- func (o *AccessParams) WithContext(ctx context.Context) *AccessParams
- func (o *AccessParams) WithDefaults() *AccessParams
- func (o *AccessParams) WithHTTPClient(client *http.Client) *AccessParams
- func (o *AccessParams) WithTimeout(timeout time.Duration) *AccessParams
- func (o *AccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccessReader
- type AccessUnauthorized
- func (o *AccessUnauthorized) Error() string
- func (o *AccessUnauthorized) IsClientError() bool
- func (o *AccessUnauthorized) IsCode(code int) bool
- func (o *AccessUnauthorized) IsRedirect() bool
- func (o *AccessUnauthorized) IsServerError() bool
- func (o *AccessUnauthorized) IsSuccess() bool
- func (o *AccessUnauthorized) String() string
- type Client
- func (a *Client) Access(params *AccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccessCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Share(params *ShareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShareCreated, error)
- func (a *Client) Unaccess(params *UnaccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnaccessOK, error)
- func (a *Client) Unshare(params *UnshareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnshareOK, error)
- func (a *Client) UpdateShare(params *UpdateShareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateShareOK, error)
- type ClientOption
- type ClientService
- type ShareCreated
- func (o *ShareCreated) Error() string
- func (o *ShareCreated) GetPayload() *rest_model_zrok.ShareResponse
- func (o *ShareCreated) IsClientError() bool
- func (o *ShareCreated) IsCode(code int) bool
- func (o *ShareCreated) IsRedirect() bool
- func (o *ShareCreated) IsServerError() bool
- func (o *ShareCreated) IsSuccess() bool
- func (o *ShareCreated) String() string
- type ShareInternalServerError
- func (o *ShareInternalServerError) Error() string
- func (o *ShareInternalServerError) GetPayload() rest_model_zrok.ErrorMessage
- func (o *ShareInternalServerError) IsClientError() bool
- func (o *ShareInternalServerError) IsCode(code int) bool
- func (o *ShareInternalServerError) IsRedirect() bool
- func (o *ShareInternalServerError) IsServerError() bool
- func (o *ShareInternalServerError) IsSuccess() bool
- func (o *ShareInternalServerError) String() string
- type ShareNotFound
- type ShareParams
- func (o *ShareParams) SetBody(body *rest_model_zrok.ShareRequest)
- func (o *ShareParams) SetContext(ctx context.Context)
- func (o *ShareParams) SetDefaults()
- func (o *ShareParams) SetHTTPClient(client *http.Client)
- func (o *ShareParams) SetTimeout(timeout time.Duration)
- func (o *ShareParams) WithBody(body *rest_model_zrok.ShareRequest) *ShareParams
- func (o *ShareParams) WithContext(ctx context.Context) *ShareParams
- func (o *ShareParams) WithDefaults() *ShareParams
- func (o *ShareParams) WithHTTPClient(client *http.Client) *ShareParams
- func (o *ShareParams) WithTimeout(timeout time.Duration) *ShareParams
- func (o *ShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShareReader
- type ShareUnauthorized
- func (o *ShareUnauthorized) Error() string
- func (o *ShareUnauthorized) IsClientError() bool
- func (o *ShareUnauthorized) IsCode(code int) bool
- func (o *ShareUnauthorized) IsRedirect() bool
- func (o *ShareUnauthorized) IsServerError() bool
- func (o *ShareUnauthorized) IsSuccess() bool
- func (o *ShareUnauthorized) String() string
- type UnaccessInternalServerError
- func (o *UnaccessInternalServerError) Error() string
- func (o *UnaccessInternalServerError) IsClientError() bool
- func (o *UnaccessInternalServerError) IsCode(code int) bool
- func (o *UnaccessInternalServerError) IsRedirect() bool
- func (o *UnaccessInternalServerError) IsServerError() bool
- func (o *UnaccessInternalServerError) IsSuccess() bool
- func (o *UnaccessInternalServerError) String() string
- type UnaccessNotFound
- func (o *UnaccessNotFound) Error() string
- func (o *UnaccessNotFound) IsClientError() bool
- func (o *UnaccessNotFound) IsCode(code int) bool
- func (o *UnaccessNotFound) IsRedirect() bool
- func (o *UnaccessNotFound) IsServerError() bool
- func (o *UnaccessNotFound) IsSuccess() bool
- func (o *UnaccessNotFound) String() string
- type UnaccessOK
- type UnaccessParams
- func (o *UnaccessParams) SetBody(body *rest_model_zrok.UnaccessRequest)
- func (o *UnaccessParams) SetContext(ctx context.Context)
- func (o *UnaccessParams) SetDefaults()
- func (o *UnaccessParams) SetHTTPClient(client *http.Client)
- func (o *UnaccessParams) SetTimeout(timeout time.Duration)
- func (o *UnaccessParams) WithBody(body *rest_model_zrok.UnaccessRequest) *UnaccessParams
- func (o *UnaccessParams) WithContext(ctx context.Context) *UnaccessParams
- func (o *UnaccessParams) WithDefaults() *UnaccessParams
- func (o *UnaccessParams) WithHTTPClient(client *http.Client) *UnaccessParams
- func (o *UnaccessParams) WithTimeout(timeout time.Duration) *UnaccessParams
- func (o *UnaccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnaccessReader
- type UnaccessUnauthorized
- func (o *UnaccessUnauthorized) Error() string
- func (o *UnaccessUnauthorized) IsClientError() bool
- func (o *UnaccessUnauthorized) IsCode(code int) bool
- func (o *UnaccessUnauthorized) IsRedirect() bool
- func (o *UnaccessUnauthorized) IsServerError() bool
- func (o *UnaccessUnauthorized) IsSuccess() bool
- func (o *UnaccessUnauthorized) String() string
- type UnshareInternalServerError
- func (o *UnshareInternalServerError) Error() string
- func (o *UnshareInternalServerError) GetPayload() rest_model_zrok.ErrorMessage
- func (o *UnshareInternalServerError) IsClientError() bool
- func (o *UnshareInternalServerError) IsCode(code int) bool
- func (o *UnshareInternalServerError) IsRedirect() bool
- func (o *UnshareInternalServerError) IsServerError() bool
- func (o *UnshareInternalServerError) IsSuccess() bool
- func (o *UnshareInternalServerError) String() string
- type UnshareNotFound
- func (o *UnshareNotFound) Error() string
- func (o *UnshareNotFound) IsClientError() bool
- func (o *UnshareNotFound) IsCode(code int) bool
- func (o *UnshareNotFound) IsRedirect() bool
- func (o *UnshareNotFound) IsServerError() bool
- func (o *UnshareNotFound) IsSuccess() bool
- func (o *UnshareNotFound) String() string
- type UnshareOK
- type UnshareParams
- func (o *UnshareParams) SetBody(body *rest_model_zrok.UnshareRequest)
- func (o *UnshareParams) SetContext(ctx context.Context)
- func (o *UnshareParams) SetDefaults()
- func (o *UnshareParams) SetHTTPClient(client *http.Client)
- func (o *UnshareParams) SetTimeout(timeout time.Duration)
- func (o *UnshareParams) WithBody(body *rest_model_zrok.UnshareRequest) *UnshareParams
- func (o *UnshareParams) WithContext(ctx context.Context) *UnshareParams
- func (o *UnshareParams) WithDefaults() *UnshareParams
- func (o *UnshareParams) WithHTTPClient(client *http.Client) *UnshareParams
- func (o *UnshareParams) WithTimeout(timeout time.Duration) *UnshareParams
- func (o *UnshareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnshareReader
- type UnshareUnauthorized
- func (o *UnshareUnauthorized) Error() string
- func (o *UnshareUnauthorized) IsClientError() bool
- func (o *UnshareUnauthorized) IsCode(code int) bool
- func (o *UnshareUnauthorized) IsRedirect() bool
- func (o *UnshareUnauthorized) IsServerError() bool
- func (o *UnshareUnauthorized) IsSuccess() bool
- func (o *UnshareUnauthorized) String() string
- type UpdateShareInternalServerError
- func (o *UpdateShareInternalServerError) Error() string
- func (o *UpdateShareInternalServerError) IsClientError() bool
- func (o *UpdateShareInternalServerError) IsCode(code int) bool
- func (o *UpdateShareInternalServerError) IsRedirect() bool
- func (o *UpdateShareInternalServerError) IsServerError() bool
- func (o *UpdateShareInternalServerError) IsSuccess() bool
- func (o *UpdateShareInternalServerError) String() string
- type UpdateShareNotFound
- func (o *UpdateShareNotFound) Error() string
- func (o *UpdateShareNotFound) IsClientError() bool
- func (o *UpdateShareNotFound) IsCode(code int) bool
- func (o *UpdateShareNotFound) IsRedirect() bool
- func (o *UpdateShareNotFound) IsServerError() bool
- func (o *UpdateShareNotFound) IsSuccess() bool
- func (o *UpdateShareNotFound) String() string
- type UpdateShareOK
- type UpdateShareParams
- func (o *UpdateShareParams) SetBody(body *rest_model_zrok.UpdateShareRequest)
- func (o *UpdateShareParams) SetContext(ctx context.Context)
- func (o *UpdateShareParams) SetDefaults()
- func (o *UpdateShareParams) SetHTTPClient(client *http.Client)
- func (o *UpdateShareParams) SetTimeout(timeout time.Duration)
- func (o *UpdateShareParams) WithBody(body *rest_model_zrok.UpdateShareRequest) *UpdateShareParams
- func (o *UpdateShareParams) WithContext(ctx context.Context) *UpdateShareParams
- func (o *UpdateShareParams) WithDefaults() *UpdateShareParams
- func (o *UpdateShareParams) WithHTTPClient(client *http.Client) *UpdateShareParams
- func (o *UpdateShareParams) WithTimeout(timeout time.Duration) *UpdateShareParams
- func (o *UpdateShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateShareReader
- type UpdateShareUnauthorized
- func (o *UpdateShareUnauthorized) Error() string
- func (o *UpdateShareUnauthorized) IsClientError() bool
- func (o *UpdateShareUnauthorized) IsCode(code int) bool
- func (o *UpdateShareUnauthorized) IsRedirect() bool
- func (o *UpdateShareUnauthorized) IsServerError() bool
- func (o *UpdateShareUnauthorized) IsSuccess() bool
- func (o *UpdateShareUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessCreated ¶
type AccessCreated struct {
Payload *rest_model_zrok.AccessResponse
}
AccessCreated describes a response with status code 201, with default header values.
access created
func NewAccessCreated ¶
func NewAccessCreated() *AccessCreated
NewAccessCreated creates a AccessCreated with default headers values
func (*AccessCreated) Error ¶
func (o *AccessCreated) Error() string
func (*AccessCreated) GetPayload ¶
func (o *AccessCreated) GetPayload() *rest_model_zrok.AccessResponse
func (*AccessCreated) IsClientError ¶
func (o *AccessCreated) IsClientError() bool
IsClientError returns true when this access created response has a 4xx status code
func (*AccessCreated) IsCode ¶
func (o *AccessCreated) IsCode(code int) bool
IsCode returns true when this access created response a status code equal to that given
func (*AccessCreated) IsRedirect ¶
func (o *AccessCreated) IsRedirect() bool
IsRedirect returns true when this access created response has a 3xx status code
func (*AccessCreated) IsServerError ¶
func (o *AccessCreated) IsServerError() bool
IsServerError returns true when this access created response has a 5xx status code
func (*AccessCreated) IsSuccess ¶
func (o *AccessCreated) IsSuccess() bool
IsSuccess returns true when this access created response has a 2xx status code
func (*AccessCreated) String ¶
func (o *AccessCreated) String() string
type AccessInternalServerError ¶
type AccessInternalServerError struct { }
AccessInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccessInternalServerError ¶
func NewAccessInternalServerError() *AccessInternalServerError
NewAccessInternalServerError creates a AccessInternalServerError with default headers values
func (*AccessInternalServerError) Error ¶
func (o *AccessInternalServerError) Error() string
func (*AccessInternalServerError) IsClientError ¶
func (o *AccessInternalServerError) IsClientError() bool
IsClientError returns true when this access internal server error response has a 4xx status code
func (*AccessInternalServerError) IsCode ¶
func (o *AccessInternalServerError) IsCode(code int) bool
IsCode returns true when this access internal server error response a status code equal to that given
func (*AccessInternalServerError) IsRedirect ¶
func (o *AccessInternalServerError) IsRedirect() bool
IsRedirect returns true when this access internal server error response has a 3xx status code
func (*AccessInternalServerError) IsServerError ¶
func (o *AccessInternalServerError) IsServerError() bool
IsServerError returns true when this access internal server error response has a 5xx status code
func (*AccessInternalServerError) IsSuccess ¶
func (o *AccessInternalServerError) IsSuccess() bool
IsSuccess returns true when this access internal server error response has a 2xx status code
func (*AccessInternalServerError) String ¶
func (o *AccessInternalServerError) String() string
type AccessNotFound ¶
type AccessNotFound struct { }
AccessNotFound describes a response with status code 404, with default header values.
not found
func NewAccessNotFound ¶
func NewAccessNotFound() *AccessNotFound
NewAccessNotFound creates a AccessNotFound with default headers values
func (*AccessNotFound) Error ¶
func (o *AccessNotFound) Error() string
func (*AccessNotFound) IsClientError ¶
func (o *AccessNotFound) IsClientError() bool
IsClientError returns true when this access not found response has a 4xx status code
func (*AccessNotFound) IsCode ¶
func (o *AccessNotFound) IsCode(code int) bool
IsCode returns true when this access not found response a status code equal to that given
func (*AccessNotFound) IsRedirect ¶
func (o *AccessNotFound) IsRedirect() bool
IsRedirect returns true when this access not found response has a 3xx status code
func (*AccessNotFound) IsServerError ¶
func (o *AccessNotFound) IsServerError() bool
IsServerError returns true when this access not found response has a 5xx status code
func (*AccessNotFound) IsSuccess ¶
func (o *AccessNotFound) IsSuccess() bool
IsSuccess returns true when this access not found response has a 2xx status code
func (*AccessNotFound) String ¶
func (o *AccessNotFound) String() string
type AccessParams ¶
type AccessParams struct { // Body. Body *rest_model_zrok.AccessRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccessParams contains all the parameters to send to the API endpoint
for the access operation. Typically these are written to a http.Request.
func NewAccessParams ¶
func NewAccessParams() *AccessParams
NewAccessParams creates a new AccessParams 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 NewAccessParamsWithContext ¶
func NewAccessParamsWithContext(ctx context.Context) *AccessParams
NewAccessParamsWithContext creates a new AccessParams object with the ability to set a context for a request.
func NewAccessParamsWithHTTPClient ¶
func NewAccessParamsWithHTTPClient(client *http.Client) *AccessParams
NewAccessParamsWithHTTPClient creates a new AccessParams object with the ability to set a custom HTTPClient for a request.
func NewAccessParamsWithTimeout ¶
func NewAccessParamsWithTimeout(timeout time.Duration) *AccessParams
NewAccessParamsWithTimeout creates a new AccessParams object with the ability to set a timeout on a request.
func (*AccessParams) SetBody ¶
func (o *AccessParams) SetBody(body *rest_model_zrok.AccessRequest)
SetBody adds the body to the access params
func (*AccessParams) SetContext ¶
func (o *AccessParams) SetContext(ctx context.Context)
SetContext adds the context to the access params
func (*AccessParams) SetDefaults ¶
func (o *AccessParams) SetDefaults()
SetDefaults hydrates default values in the access params (not the query body).
All values with no default are reset to their zero value.
func (*AccessParams) SetHTTPClient ¶
func (o *AccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the access params
func (*AccessParams) SetTimeout ¶
func (o *AccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the access params
func (*AccessParams) WithBody ¶
func (o *AccessParams) WithBody(body *rest_model_zrok.AccessRequest) *AccessParams
WithBody adds the body to the access params
func (*AccessParams) WithContext ¶
func (o *AccessParams) WithContext(ctx context.Context) *AccessParams
WithContext adds the context to the access params
func (*AccessParams) WithDefaults ¶
func (o *AccessParams) WithDefaults() *AccessParams
WithDefaults hydrates default values in the access params (not the query body).
All values with no default are reset to their zero value.
func (*AccessParams) WithHTTPClient ¶
func (o *AccessParams) WithHTTPClient(client *http.Client) *AccessParams
WithHTTPClient adds the HTTPClient to the access params
func (*AccessParams) WithTimeout ¶
func (o *AccessParams) WithTimeout(timeout time.Duration) *AccessParams
WithTimeout adds the timeout to the access params
func (*AccessParams) WriteToRequest ¶
func (o *AccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccessReader ¶
type AccessReader struct {
// contains filtered or unexported fields
}
AccessReader is a Reader for the Access structure.
func (*AccessReader) ReadResponse ¶
func (o *AccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccessUnauthorized ¶
type AccessUnauthorized struct { }
AccessUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccessUnauthorized ¶
func NewAccessUnauthorized() *AccessUnauthorized
NewAccessUnauthorized creates a AccessUnauthorized with default headers values
func (*AccessUnauthorized) Error ¶
func (o *AccessUnauthorized) Error() string
func (*AccessUnauthorized) IsClientError ¶
func (o *AccessUnauthorized) IsClientError() bool
IsClientError returns true when this access unauthorized response has a 4xx status code
func (*AccessUnauthorized) IsCode ¶
func (o *AccessUnauthorized) IsCode(code int) bool
IsCode returns true when this access unauthorized response a status code equal to that given
func (*AccessUnauthorized) IsRedirect ¶
func (o *AccessUnauthorized) IsRedirect() bool
IsRedirect returns true when this access unauthorized response has a 3xx status code
func (*AccessUnauthorized) IsServerError ¶
func (o *AccessUnauthorized) IsServerError() bool
IsServerError returns true when this access unauthorized response has a 5xx status code
func (*AccessUnauthorized) IsSuccess ¶
func (o *AccessUnauthorized) IsSuccess() bool
IsSuccess returns true when this access unauthorized response has a 2xx status code
func (*AccessUnauthorized) String ¶
func (o *AccessUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for share API
func (*Client) Access ¶
func (a *Client) Access(params *AccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccessCreated, error)
Access access API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Share ¶
func (a *Client) Share(params *ShareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShareCreated, error)
Share share API
func (*Client) Unaccess ¶
func (a *Client) Unaccess(params *UnaccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnaccessOK, error)
Unaccess unaccess API
func (*Client) Unshare ¶
func (a *Client) Unshare(params *UnshareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnshareOK, error)
Unshare unshare API
func (*Client) UpdateShare ¶
func (a *Client) UpdateShare(params *UpdateShareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateShareOK, error)
UpdateShare update share API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Access(params *AccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccessCreated, error) Unaccess(params *UnaccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnaccessOK, 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 API client.
type ShareCreated ¶
type ShareCreated struct {
}ShareCreated describes a response with status code 201, with default header values.
share created
func NewShareCreated ¶
func NewShareCreated() *ShareCreated
NewShareCreated creates a ShareCreated with default headers values
func (*ShareCreated) Error ¶
func (o *ShareCreated) Error() string
func (*ShareCreated) GetPayload ¶
func (o *ShareCreated) GetPayload() *rest_model_zrok.ShareResponse
func (*ShareCreated) IsClientError ¶
func (o *ShareCreated) IsClientError() bool
IsClientError returns true when this share created response has a 4xx status code
func (*ShareCreated) IsCode ¶
func (o *ShareCreated) IsCode(code int) bool
IsCode returns true when this share created response a status code equal to that given
func (*ShareCreated) IsRedirect ¶
func (o *ShareCreated) IsRedirect() bool
IsRedirect returns true when this share created response has a 3xx status code
func (*ShareCreated) IsServerError ¶
func (o *ShareCreated) IsServerError() bool
IsServerError returns true when this share created response has a 5xx status code
func (*ShareCreated) IsSuccess ¶
func (o *ShareCreated) IsSuccess() bool
IsSuccess returns true when this share created response has a 2xx status code
func (*ShareCreated) String ¶
func (o *ShareCreated) String() string
type ShareInternalServerError ¶
type ShareInternalServerError struct {
}ShareInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewShareInternalServerError ¶
func NewShareInternalServerError() *ShareInternalServerError
NewShareInternalServerError creates a ShareInternalServerError with default headers values
func (*ShareInternalServerError) Error ¶
func (o *ShareInternalServerError) Error() string
func (*ShareInternalServerError) GetPayload ¶
func (o *ShareInternalServerError) GetPayload() rest_model_zrok.ErrorMessage
func (*ShareInternalServerError) IsClientError ¶
func (o *ShareInternalServerError) IsClientError() bool
IsClientError returns true when this share internal server error response has a 4xx status code
func (*ShareInternalServerError) IsCode ¶
func (o *ShareInternalServerError) IsCode(code int) bool
IsCode returns true when this share internal server error response a status code equal to that given
func (*ShareInternalServerError) IsRedirect ¶
func (o *ShareInternalServerError) IsRedirect() bool
IsRedirect returns true when this share internal server error response has a 3xx status code
func (*ShareInternalServerError) IsServerError ¶
func (o *ShareInternalServerError) IsServerError() bool
IsServerError returns true when this share internal server error response has a 5xx status code
func (*ShareInternalServerError) IsSuccess ¶
func (o *ShareInternalServerError) IsSuccess() bool
IsSuccess returns true when this share internal server error response has a 2xx status code
func (*ShareInternalServerError) String ¶
func (o *ShareInternalServerError) String() string
type ShareNotFound ¶
type ShareNotFound struct { }
ShareNotFound describes a response with status code 404, with default header values.
not found
func NewShareNotFound ¶
func NewShareNotFound() *ShareNotFound
NewShareNotFound creates a ShareNotFound with default headers values
func (*ShareNotFound) Error ¶
func (o *ShareNotFound) Error() string
func (*ShareNotFound) IsClientError ¶
func (o *ShareNotFound) IsClientError() bool
IsClientError returns true when this share not found response has a 4xx status code
func (*ShareNotFound) IsCode ¶
func (o *ShareNotFound) IsCode(code int) bool
IsCode returns true when this share not found response a status code equal to that given
func (*ShareNotFound) IsRedirect ¶
func (o *ShareNotFound) IsRedirect() bool
IsRedirect returns true when this share not found response has a 3xx status code
func (*ShareNotFound) IsServerError ¶
func (o *ShareNotFound) IsServerError() bool
IsServerError returns true when this share not found response has a 5xx status code
func (*ShareNotFound) IsSuccess ¶
func (o *ShareNotFound) IsSuccess() bool
IsSuccess returns true when this share not found response has a 2xx status code
func (*ShareNotFound) String ¶
func (o *ShareNotFound) String() string
type ShareParams ¶
type ShareParams struct { rest_model_zrok.ShareRequest // contains filtered or unexported fields }Body *
ShareParams contains all the parameters to send to the API endpoint
for the share operation. Typically these are written to a http.Request.
func NewShareParams ¶
func NewShareParams() *ShareParams
NewShareParams creates a new ShareParams 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 NewShareParamsWithContext ¶
func NewShareParamsWithContext(ctx context.Context) *ShareParams
NewShareParamsWithContext creates a new ShareParams object with the ability to set a context for a request.
func NewShareParamsWithHTTPClient ¶
func NewShareParamsWithHTTPClient(client *http.Client) *ShareParams
NewShareParamsWithHTTPClient creates a new ShareParams object with the ability to set a custom HTTPClient for a request.
func NewShareParamsWithTimeout ¶
func NewShareParamsWithTimeout(timeout time.Duration) *ShareParams
NewShareParamsWithTimeout creates a new ShareParams object with the ability to set a timeout on a request.
func (*ShareParams) SetBody ¶
func (o *ShareParams) SetBody(body *rest_model_zrok.ShareRequest)
SetBody adds the body to the share params
func (*ShareParams) SetContext ¶
func (o *ShareParams) SetContext(ctx context.Context)
SetContext adds the context to the share params
func (*ShareParams) SetDefaults ¶
func (o *ShareParams) SetDefaults()
SetDefaults hydrates default values in the share params (not the query body).
All values with no default are reset to their zero value.
func (*ShareParams) SetHTTPClient ¶
func (o *ShareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the share params
func (*ShareParams) SetTimeout ¶
func (o *ShareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the share params
func (*ShareParams) WithBody ¶
func (o *ShareParams) WithBody(body *rest_model_zrok.ShareRequest) *ShareParams
WithBody adds the body to the share params
func (*ShareParams) WithContext ¶
func (o *ShareParams) WithContext(ctx context.Context) *ShareParams
WithContext adds the context to the share params
func (*ShareParams) WithDefaults ¶
func (o *ShareParams) WithDefaults() *ShareParams
WithDefaults hydrates default values in the share params (not the query body).
All values with no default are reset to their zero value.
func (*ShareParams) WithHTTPClient ¶
func (o *ShareParams) WithHTTPClient(client *http.Client) *ShareParams
WithHTTPClient adds the HTTPClient to the share params
func (*ShareParams) WithTimeout ¶
func (o *ShareParams) WithTimeout(timeout time.Duration) *ShareParams
WithTimeout adds the timeout to the share params
func (*ShareParams) WriteToRequest ¶
func (o *ShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShareReader ¶
type ShareReader struct {
// contains filtered or unexported fields
}
ShareReader is a Reader for the Share structure.
func (*ShareReader) ReadResponse ¶
func (o *ShareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShareUnauthorized ¶
type ShareUnauthorized struct { }
ShareUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewShareUnauthorized ¶
func NewShareUnauthorized() *ShareUnauthorized
NewShareUnauthorized creates a ShareUnauthorized with default headers values
func (*ShareUnauthorized) Error ¶
func (o *ShareUnauthorized) Error() string
func (*ShareUnauthorized) IsClientError ¶
func (o *ShareUnauthorized) IsClientError() bool
IsClientError returns true when this share unauthorized response has a 4xx status code
func (*ShareUnauthorized) IsCode ¶
func (o *ShareUnauthorized) IsCode(code int) bool
IsCode returns true when this share unauthorized response a status code equal to that given
func (*ShareUnauthorized) IsRedirect ¶
func (o *ShareUnauthorized) IsRedirect() bool
IsRedirect returns true when this share unauthorized response has a 3xx status code
func (*ShareUnauthorized) IsServerError ¶
func (o *ShareUnauthorized) IsServerError() bool
IsServerError returns true when this share unauthorized response has a 5xx status code
func (*ShareUnauthorized) IsSuccess ¶
func (o *ShareUnauthorized) IsSuccess() bool
IsSuccess returns true when this share unauthorized response has a 2xx status code
func (*ShareUnauthorized) String ¶
func (o *ShareUnauthorized) String() string
type UnaccessInternalServerError ¶
type UnaccessInternalServerError struct { }
UnaccessInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUnaccessInternalServerError ¶
func NewUnaccessInternalServerError() *UnaccessInternalServerError
NewUnaccessInternalServerError creates a UnaccessInternalServerError with default headers values
func (*UnaccessInternalServerError) Error ¶
func (o *UnaccessInternalServerError) Error() string
func (*UnaccessInternalServerError) IsClientError ¶
func (o *UnaccessInternalServerError) IsClientError() bool
IsClientError returns true when this unaccess internal server error response has a 4xx status code
func (*UnaccessInternalServerError) IsCode ¶
func (o *UnaccessInternalServerError) IsCode(code int) bool
IsCode returns true when this unaccess internal server error response a status code equal to that given
func (*UnaccessInternalServerError) IsRedirect ¶
func (o *UnaccessInternalServerError) IsRedirect() bool
IsRedirect returns true when this unaccess internal server error response has a 3xx status code
func (*UnaccessInternalServerError) IsServerError ¶
func (o *UnaccessInternalServerError) IsServerError() bool
IsServerError returns true when this unaccess internal server error response has a 5xx status code
func (*UnaccessInternalServerError) IsSuccess ¶
func (o *UnaccessInternalServerError) IsSuccess() bool
IsSuccess returns true when this unaccess internal server error response has a 2xx status code
func (*UnaccessInternalServerError) String ¶
func (o *UnaccessInternalServerError) String() string
type UnaccessNotFound ¶
type UnaccessNotFound struct { }
UnaccessNotFound describes a response with status code 404, with default header values.
not found
func NewUnaccessNotFound ¶
func NewUnaccessNotFound() *UnaccessNotFound
NewUnaccessNotFound creates a UnaccessNotFound with default headers values
func (*UnaccessNotFound) Error ¶
func (o *UnaccessNotFound) Error() string
func (*UnaccessNotFound) IsClientError ¶
func (o *UnaccessNotFound) IsClientError() bool
IsClientError returns true when this unaccess not found response has a 4xx status code
func (*UnaccessNotFound) IsCode ¶
func (o *UnaccessNotFound) IsCode(code int) bool
IsCode returns true when this unaccess not found response a status code equal to that given
func (*UnaccessNotFound) IsRedirect ¶
func (o *UnaccessNotFound) IsRedirect() bool
IsRedirect returns true when this unaccess not found response has a 3xx status code
func (*UnaccessNotFound) IsServerError ¶
func (o *UnaccessNotFound) IsServerError() bool
IsServerError returns true when this unaccess not found response has a 5xx status code
func (*UnaccessNotFound) IsSuccess ¶
func (o *UnaccessNotFound) IsSuccess() bool
IsSuccess returns true when this unaccess not found response has a 2xx status code
func (*UnaccessNotFound) String ¶
func (o *UnaccessNotFound) String() string
type UnaccessOK ¶
type UnaccessOK struct { }
UnaccessOK describes a response with status code 200, with default header values.
access removed
func NewUnaccessOK ¶
func NewUnaccessOK() *UnaccessOK
NewUnaccessOK creates a UnaccessOK with default headers values
func (*UnaccessOK) Error ¶
func (o *UnaccessOK) Error() string
func (*UnaccessOK) IsClientError ¶
func (o *UnaccessOK) IsClientError() bool
IsClientError returns true when this unaccess o k response has a 4xx status code
func (*UnaccessOK) IsCode ¶
func (o *UnaccessOK) IsCode(code int) bool
IsCode returns true when this unaccess o k response a status code equal to that given
func (*UnaccessOK) IsRedirect ¶
func (o *UnaccessOK) IsRedirect() bool
IsRedirect returns true when this unaccess o k response has a 3xx status code
func (*UnaccessOK) IsServerError ¶
func (o *UnaccessOK) IsServerError() bool
IsServerError returns true when this unaccess o k response has a 5xx status code
func (*UnaccessOK) IsSuccess ¶
func (o *UnaccessOK) IsSuccess() bool
IsSuccess returns true when this unaccess o k response has a 2xx status code
func (*UnaccessOK) String ¶
func (o *UnaccessOK) String() string
type UnaccessParams ¶
type UnaccessParams struct { // Body. Body *rest_model_zrok.UnaccessRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnaccessParams contains all the parameters to send to the API endpoint
for the unaccess operation. Typically these are written to a http.Request.
func NewUnaccessParams ¶
func NewUnaccessParams() *UnaccessParams
NewUnaccessParams creates a new UnaccessParams 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 NewUnaccessParamsWithContext ¶
func NewUnaccessParamsWithContext(ctx context.Context) *UnaccessParams
NewUnaccessParamsWithContext creates a new UnaccessParams object with the ability to set a context for a request.
func NewUnaccessParamsWithHTTPClient ¶
func NewUnaccessParamsWithHTTPClient(client *http.Client) *UnaccessParams
NewUnaccessParamsWithHTTPClient creates a new UnaccessParams object with the ability to set a custom HTTPClient for a request.
func NewUnaccessParamsWithTimeout ¶
func NewUnaccessParamsWithTimeout(timeout time.Duration) *UnaccessParams
NewUnaccessParamsWithTimeout creates a new UnaccessParams object with the ability to set a timeout on a request.
func (*UnaccessParams) SetBody ¶
func (o *UnaccessParams) SetBody(body *rest_model_zrok.UnaccessRequest)
SetBody adds the body to the unaccess params
func (*UnaccessParams) SetContext ¶
func (o *UnaccessParams) SetContext(ctx context.Context)
SetContext adds the context to the unaccess params
func (*UnaccessParams) SetDefaults ¶
func (o *UnaccessParams) SetDefaults()
SetDefaults hydrates default values in the unaccess params (not the query body).
All values with no default are reset to their zero value.
func (*UnaccessParams) SetHTTPClient ¶
func (o *UnaccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unaccess params
func (*UnaccessParams) SetTimeout ¶
func (o *UnaccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unaccess params
func (*UnaccessParams) WithBody ¶
func (o *UnaccessParams) WithBody(body *rest_model_zrok.UnaccessRequest) *UnaccessParams
WithBody adds the body to the unaccess params
func (*UnaccessParams) WithContext ¶
func (o *UnaccessParams) WithContext(ctx context.Context) *UnaccessParams
WithContext adds the context to the unaccess params
func (*UnaccessParams) WithDefaults ¶
func (o *UnaccessParams) WithDefaults() *UnaccessParams
WithDefaults hydrates default values in the unaccess params (not the query body).
All values with no default are reset to their zero value.
func (*UnaccessParams) WithHTTPClient ¶
func (o *UnaccessParams) WithHTTPClient(client *http.Client) *UnaccessParams
WithHTTPClient adds the HTTPClient to the unaccess params
func (*UnaccessParams) WithTimeout ¶
func (o *UnaccessParams) WithTimeout(timeout time.Duration) *UnaccessParams
WithTimeout adds the timeout to the unaccess params
func (*UnaccessParams) WriteToRequest ¶
func (o *UnaccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnaccessReader ¶
type UnaccessReader struct {
// contains filtered or unexported fields
}
UnaccessReader is a Reader for the Unaccess structure.
func (*UnaccessReader) ReadResponse ¶
func (o *UnaccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnaccessUnauthorized ¶
type UnaccessUnauthorized struct { }
UnaccessUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUnaccessUnauthorized ¶
func NewUnaccessUnauthorized() *UnaccessUnauthorized
NewUnaccessUnauthorized creates a UnaccessUnauthorized with default headers values
func (*UnaccessUnauthorized) Error ¶
func (o *UnaccessUnauthorized) Error() string
func (*UnaccessUnauthorized) IsClientError ¶
func (o *UnaccessUnauthorized) IsClientError() bool
IsClientError returns true when this unaccess unauthorized response has a 4xx status code
func (*UnaccessUnauthorized) IsCode ¶
func (o *UnaccessUnauthorized) IsCode(code int) bool
IsCode returns true when this unaccess unauthorized response a status code equal to that given
func (*UnaccessUnauthorized) IsRedirect ¶
func (o *UnaccessUnauthorized) IsRedirect() bool
IsRedirect returns true when this unaccess unauthorized response has a 3xx status code
func (*UnaccessUnauthorized) IsServerError ¶
func (o *UnaccessUnauthorized) IsServerError() bool
IsServerError returns true when this unaccess unauthorized response has a 5xx status code
func (*UnaccessUnauthorized) IsSuccess ¶
func (o *UnaccessUnauthorized) IsSuccess() bool
IsSuccess returns true when this unaccess unauthorized response has a 2xx status code
func (*UnaccessUnauthorized) String ¶
func (o *UnaccessUnauthorized) String() string
type UnshareInternalServerError ¶
type UnshareInternalServerError struct {
}UnshareInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUnshareInternalServerError ¶
func NewUnshareInternalServerError() *UnshareInternalServerError
NewUnshareInternalServerError creates a UnshareInternalServerError with default headers values
func (*UnshareInternalServerError) Error ¶
func (o *UnshareInternalServerError) Error() string
func (*UnshareInternalServerError) GetPayload ¶
func (o *UnshareInternalServerError) GetPayload() rest_model_zrok.ErrorMessage
func (*UnshareInternalServerError) IsClientError ¶
func (o *UnshareInternalServerError) IsClientError() bool
IsClientError returns true when this unshare internal server error response has a 4xx status code
func (*UnshareInternalServerError) IsCode ¶
func (o *UnshareInternalServerError) IsCode(code int) bool
IsCode returns true when this unshare internal server error response a status code equal to that given
func (*UnshareInternalServerError) IsRedirect ¶
func (o *UnshareInternalServerError) IsRedirect() bool
IsRedirect returns true when this unshare internal server error response has a 3xx status code
func (*UnshareInternalServerError) IsServerError ¶
func (o *UnshareInternalServerError) IsServerError() bool
IsServerError returns true when this unshare internal server error response has a 5xx status code
func (*UnshareInternalServerError) IsSuccess ¶
func (o *UnshareInternalServerError) IsSuccess() bool
IsSuccess returns true when this unshare internal server error response has a 2xx status code
func (*UnshareInternalServerError) String ¶
func (o *UnshareInternalServerError) String() string
type UnshareNotFound ¶
type UnshareNotFound struct { }
UnshareNotFound describes a response with status code 404, with default header values.
not found
func NewUnshareNotFound ¶
func NewUnshareNotFound() *UnshareNotFound
NewUnshareNotFound creates a UnshareNotFound with default headers values
func (*UnshareNotFound) Error ¶
func (o *UnshareNotFound) Error() string
func (*UnshareNotFound) IsClientError ¶
func (o *UnshareNotFound) IsClientError() bool
IsClientError returns true when this unshare not found response has a 4xx status code
func (*UnshareNotFound) IsCode ¶
func (o *UnshareNotFound) IsCode(code int) bool
IsCode returns true when this unshare not found response a status code equal to that given
func (*UnshareNotFound) IsRedirect ¶
func (o *UnshareNotFound) IsRedirect() bool
IsRedirect returns true when this unshare not found response has a 3xx status code
func (*UnshareNotFound) IsServerError ¶
func (o *UnshareNotFound) IsServerError() bool
IsServerError returns true when this unshare not found response has a 5xx status code
func (*UnshareNotFound) IsSuccess ¶
func (o *UnshareNotFound) IsSuccess() bool
IsSuccess returns true when this unshare not found response has a 2xx status code
func (*UnshareNotFound) String ¶
func (o *UnshareNotFound) String() string
type UnshareOK ¶
type UnshareOK struct { }
UnshareOK describes a response with status code 200, with default header values.
share removed
func NewUnshareOK ¶
func NewUnshareOK() *UnshareOK
NewUnshareOK creates a UnshareOK with default headers values
func (*UnshareOK) IsClientError ¶
IsClientError returns true when this unshare o k response has a 4xx status code
func (*UnshareOK) IsCode ¶
IsCode returns true when this unshare o k response a status code equal to that given
func (*UnshareOK) IsRedirect ¶
IsRedirect returns true when this unshare o k response has a 3xx status code
func (*UnshareOK) IsServerError ¶
IsServerError returns true when this unshare o k response has a 5xx status code
type UnshareParams ¶
type UnshareParams struct { rest_model_zrok.UnshareRequest // contains filtered or unexported fields }Body *
UnshareParams contains all the parameters to send to the API endpoint
for the unshare operation. Typically these are written to a http.Request.
func NewUnshareParams ¶
func NewUnshareParams() *UnshareParams
NewUnshareParams creates a new UnshareParams 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 NewUnshareParamsWithContext ¶
func NewUnshareParamsWithContext(ctx context.Context) *UnshareParams
NewUnshareParamsWithContext creates a new UnshareParams object with the ability to set a context for a request.
func NewUnshareParamsWithHTTPClient ¶
func NewUnshareParamsWithHTTPClient(client *http.Client) *UnshareParams
NewUnshareParamsWithHTTPClient creates a new UnshareParams object with the ability to set a custom HTTPClient for a request.
func NewUnshareParamsWithTimeout ¶
func NewUnshareParamsWithTimeout(timeout time.Duration) *UnshareParams
NewUnshareParamsWithTimeout creates a new UnshareParams object with the ability to set a timeout on a request.
func (*UnshareParams) SetBody ¶
func (o *UnshareParams) SetBody(body *rest_model_zrok.UnshareRequest)
SetBody adds the body to the unshare params
func (*UnshareParams) SetContext ¶
func (o *UnshareParams) SetContext(ctx context.Context)
SetContext adds the context to the unshare params
func (*UnshareParams) SetDefaults ¶
func (o *UnshareParams) SetDefaults()
SetDefaults hydrates default values in the unshare params (not the query body).
All values with no default are reset to their zero value.
func (*UnshareParams) SetHTTPClient ¶
func (o *UnshareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unshare params
func (*UnshareParams) SetTimeout ¶
func (o *UnshareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unshare params
func (*UnshareParams) WithBody ¶
func (o *UnshareParams) WithBody(body *rest_model_zrok.UnshareRequest) *UnshareParams
WithBody adds the body to the unshare params
func (*UnshareParams) WithContext ¶
func (o *UnshareParams) WithContext(ctx context.Context) *UnshareParams
WithContext adds the context to the unshare params
func (*UnshareParams) WithDefaults ¶
func (o *UnshareParams) WithDefaults() *UnshareParams
WithDefaults hydrates default values in the unshare params (not the query body).
All values with no default are reset to their zero value.
func (*UnshareParams) WithHTTPClient ¶
func (o *UnshareParams) WithHTTPClient(client *http.Client) *UnshareParams
WithHTTPClient adds the HTTPClient to the unshare params
func (*UnshareParams) WithTimeout ¶
func (o *UnshareParams) WithTimeout(timeout time.Duration) *UnshareParams
WithTimeout adds the timeout to the unshare params
func (*UnshareParams) WriteToRequest ¶
func (o *UnshareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnshareReader ¶
type UnshareReader struct {
// contains filtered or unexported fields
}
UnshareReader is a Reader for the Unshare structure.
func (*UnshareReader) ReadResponse ¶
func (o *UnshareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnshareUnauthorized ¶
type UnshareUnauthorized struct { }
UnshareUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUnshareUnauthorized ¶
func NewUnshareUnauthorized() *UnshareUnauthorized
NewUnshareUnauthorized creates a UnshareUnauthorized with default headers values
func (*UnshareUnauthorized) Error ¶
func (o *UnshareUnauthorized) Error() string
func (*UnshareUnauthorized) IsClientError ¶
func (o *UnshareUnauthorized) IsClientError() bool
IsClientError returns true when this unshare unauthorized response has a 4xx status code
func (*UnshareUnauthorized) IsCode ¶
func (o *UnshareUnauthorized) IsCode(code int) bool
IsCode returns true when this unshare unauthorized response a status code equal to that given
func (*UnshareUnauthorized) IsRedirect ¶
func (o *UnshareUnauthorized) IsRedirect() bool
IsRedirect returns true when this unshare unauthorized response has a 3xx status code
func (*UnshareUnauthorized) IsServerError ¶
func (o *UnshareUnauthorized) IsServerError() bool
IsServerError returns true when this unshare unauthorized response has a 5xx status code
func (*UnshareUnauthorized) IsSuccess ¶
func (o *UnshareUnauthorized) IsSuccess() bool
IsSuccess returns true when this unshare unauthorized response has a 2xx status code
func (*UnshareUnauthorized) String ¶
func (o *UnshareUnauthorized) String() string
type UpdateShareInternalServerError ¶
type UpdateShareInternalServerError struct { }
UpdateShareInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUpdateShareInternalServerError ¶
func NewUpdateShareInternalServerError() *UpdateShareInternalServerError
NewUpdateShareInternalServerError creates a UpdateShareInternalServerError with default headers values
func (*UpdateShareInternalServerError) Error ¶
func (o *UpdateShareInternalServerError) Error() string
func (*UpdateShareInternalServerError) IsClientError ¶
func (o *UpdateShareInternalServerError) IsClientError() bool
IsClientError returns true when this update share internal server error response has a 4xx status code
func (*UpdateShareInternalServerError) IsCode ¶
func (o *UpdateShareInternalServerError) IsCode(code int) bool
IsCode returns true when this update share internal server error response a status code equal to that given
func (*UpdateShareInternalServerError) IsRedirect ¶
func (o *UpdateShareInternalServerError) IsRedirect() bool
IsRedirect returns true when this update share internal server error response has a 3xx status code
func (*UpdateShareInternalServerError) IsServerError ¶
func (o *UpdateShareInternalServerError) IsServerError() bool
IsServerError returns true when this update share internal server error response has a 5xx status code
func (*UpdateShareInternalServerError) IsSuccess ¶
func (o *UpdateShareInternalServerError) IsSuccess() bool
IsSuccess returns true when this update share internal server error response has a 2xx status code
func (*UpdateShareInternalServerError) String ¶
func (o *UpdateShareInternalServerError) String() string
type UpdateShareNotFound ¶
type UpdateShareNotFound struct { }
UpdateShareNotFound describes a response with status code 404, with default header values.
not found
func NewUpdateShareNotFound ¶
func NewUpdateShareNotFound() *UpdateShareNotFound
NewUpdateShareNotFound creates a UpdateShareNotFound with default headers values
func (*UpdateShareNotFound) Error ¶
func (o *UpdateShareNotFound) Error() string
func (*UpdateShareNotFound) IsClientError ¶
func (o *UpdateShareNotFound) IsClientError() bool
IsClientError returns true when this update share not found response has a 4xx status code
func (*UpdateShareNotFound) IsCode ¶
func (o *UpdateShareNotFound) IsCode(code int) bool
IsCode returns true when this update share not found response a status code equal to that given
func (*UpdateShareNotFound) IsRedirect ¶
func (o *UpdateShareNotFound) IsRedirect() bool
IsRedirect returns true when this update share not found response has a 3xx status code
func (*UpdateShareNotFound) IsServerError ¶
func (o *UpdateShareNotFound) IsServerError() bool
IsServerError returns true when this update share not found response has a 5xx status code
func (*UpdateShareNotFound) IsSuccess ¶
func (o *UpdateShareNotFound) IsSuccess() bool
IsSuccess returns true when this update share not found response has a 2xx status code
func (*UpdateShareNotFound) String ¶
func (o *UpdateShareNotFound) String() string
type UpdateShareOK ¶
type UpdateShareOK struct { }
UpdateShareOK describes a response with status code 200, with default header values.
share updated
func NewUpdateShareOK ¶
func NewUpdateShareOK() *UpdateShareOK
NewUpdateShareOK creates a UpdateShareOK with default headers values
func (*UpdateShareOK) Error ¶
func (o *UpdateShareOK) Error() string
func (*UpdateShareOK) IsClientError ¶
func (o *UpdateShareOK) IsClientError() bool
IsClientError returns true when this update share o k response has a 4xx status code
func (*UpdateShareOK) IsCode ¶
func (o *UpdateShareOK) IsCode(code int) bool
IsCode returns true when this update share o k response a status code equal to that given
func (*UpdateShareOK) IsRedirect ¶
func (o *UpdateShareOK) IsRedirect() bool
IsRedirect returns true when this update share o k response has a 3xx status code
func (*UpdateShareOK) IsServerError ¶
func (o *UpdateShareOK) IsServerError() bool
IsServerError returns true when this update share o k response has a 5xx status code
func (*UpdateShareOK) IsSuccess ¶
func (o *UpdateShareOK) IsSuccess() bool
IsSuccess returns true when this update share o k response has a 2xx status code
func (*UpdateShareOK) String ¶
func (o *UpdateShareOK) String() string
type UpdateShareParams ¶
type UpdateShareParams struct { rest_model_zrok.UpdateShareRequest // contains filtered or unexported fields }Body *
UpdateShareParams contains all the parameters to send to the API endpoint
for the update share operation. Typically these are written to a http.Request.
func NewUpdateShareParams ¶
func NewUpdateShareParams() *UpdateShareParams
NewUpdateShareParams creates a new UpdateShareParams 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 NewUpdateShareParamsWithContext ¶
func NewUpdateShareParamsWithContext(ctx context.Context) *UpdateShareParams
NewUpdateShareParamsWithContext creates a new UpdateShareParams object with the ability to set a context for a request.
func NewUpdateShareParamsWithHTTPClient ¶
func NewUpdateShareParamsWithHTTPClient(client *http.Client) *UpdateShareParams
NewUpdateShareParamsWithHTTPClient creates a new UpdateShareParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateShareParamsWithTimeout ¶
func NewUpdateShareParamsWithTimeout(timeout time.Duration) *UpdateShareParams
NewUpdateShareParamsWithTimeout creates a new UpdateShareParams object with the ability to set a timeout on a request.
func (*UpdateShareParams) SetBody ¶
func (o *UpdateShareParams) SetBody(body *rest_model_zrok.UpdateShareRequest)
SetBody adds the body to the update share params
func (*UpdateShareParams) SetContext ¶
func (o *UpdateShareParams) SetContext(ctx context.Context)
SetContext adds the context to the update share params
func (*UpdateShareParams) SetDefaults ¶
func (o *UpdateShareParams) SetDefaults()
SetDefaults hydrates default values in the update share params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateShareParams) SetHTTPClient ¶
func (o *UpdateShareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update share params
func (*UpdateShareParams) SetTimeout ¶
func (o *UpdateShareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update share params
func (*UpdateShareParams) WithBody ¶
func (o *UpdateShareParams) WithBody(body *rest_model_zrok.UpdateShareRequest) *UpdateShareParams
WithBody adds the body to the update share params
func (*UpdateShareParams) WithContext ¶
func (o *UpdateShareParams) WithContext(ctx context.Context) *UpdateShareParams
WithContext adds the context to the update share params
func (*UpdateShareParams) WithDefaults ¶
func (o *UpdateShareParams) WithDefaults() *UpdateShareParams
WithDefaults hydrates default values in the update share params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateShareParams) WithHTTPClient ¶
func (o *UpdateShareParams) WithHTTPClient(client *http.Client) *UpdateShareParams
WithHTTPClient adds the HTTPClient to the update share params
func (*UpdateShareParams) WithTimeout ¶
func (o *UpdateShareParams) WithTimeout(timeout time.Duration) *UpdateShareParams
WithTimeout adds the timeout to the update share params
func (*UpdateShareParams) WriteToRequest ¶
func (o *UpdateShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateShareReader ¶
type UpdateShareReader struct {
// contains filtered or unexported fields
}
UpdateShareReader is a Reader for the UpdateShare structure.
func (*UpdateShareReader) ReadResponse ¶
func (o *UpdateShareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateShareUnauthorized ¶
type UpdateShareUnauthorized struct { }
UpdateShareUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateShareUnauthorized ¶
func NewUpdateShareUnauthorized() *UpdateShareUnauthorized
NewUpdateShareUnauthorized creates a UpdateShareUnauthorized with default headers values
func (*UpdateShareUnauthorized) Error ¶
func (o *UpdateShareUnauthorized) Error() string
func (*UpdateShareUnauthorized) IsClientError ¶
func (o *UpdateShareUnauthorized) IsClientError() bool
IsClientError returns true when this update share unauthorized response has a 4xx status code
func (*UpdateShareUnauthorized) IsCode ¶
func (o *UpdateShareUnauthorized) IsCode(code int) bool
IsCode returns true when this update share unauthorized response a status code equal to that given
func (*UpdateShareUnauthorized) IsRedirect ¶
func (o *UpdateShareUnauthorized) IsRedirect() bool
IsRedirect returns true when this update share unauthorized response has a 3xx status code
func (*UpdateShareUnauthorized) IsServerError ¶
func (o *UpdateShareUnauthorized) IsServerError() bool
IsServerError returns true when this update share unauthorized response has a 5xx status code
func (*UpdateShareUnauthorized) IsSuccess ¶
func (o *UpdateShareUnauthorized) IsSuccess() bool
IsSuccess returns true when this update share unauthorized response has a 2xx status code
func (*UpdateShareUnauthorized) String ¶
func (o *UpdateShareUnauthorized) String() string