Documentation
¶
Index ¶
- type AccessBody
- type AccessCreated
- func (o *AccessCreated) Code() int
- func (o *AccessCreated) Error() string
- func (o *AccessCreated) GetPayload() *AccessCreatedBody
- 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 AccessCreatedBody
- type AccessInternalServerError
- func (o *AccessInternalServerError) Code() int
- 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) Code() int
- 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 AccessBody)
- 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 AccessBody) *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) Code() int
- 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) UpdateAccess(params *UpdateAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAccessOK, error)
- func (a *Client) UpdateShare(params *UpdateShareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateShareOK, error)
- type ClientOption
- type ClientService
- type ShareConflict
- func (o *ShareConflict) Code() int
- func (o *ShareConflict) Error() string
- func (o *ShareConflict) IsClientError() bool
- func (o *ShareConflict) IsCode(code int) bool
- func (o *ShareConflict) IsRedirect() bool
- func (o *ShareConflict) IsServerError() bool
- func (o *ShareConflict) IsSuccess() bool
- func (o *ShareConflict) String() string
- type ShareCreated
- func (o *ShareCreated) Code() int
- 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) Code() int
- 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
- func (o *ShareNotFound) Code() int
- func (o *ShareNotFound) Error() string
- func (o *ShareNotFound) IsClientError() bool
- func (o *ShareNotFound) IsCode(code int) bool
- func (o *ShareNotFound) IsRedirect() bool
- func (o *ShareNotFound) IsServerError() bool
- func (o *ShareNotFound) IsSuccess() bool
- func (o *ShareNotFound) String() string
- 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) Code() int
- 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 ShareUnprocessableEntity
- func (o *ShareUnprocessableEntity) Code() int
- func (o *ShareUnprocessableEntity) Error() string
- func (o *ShareUnprocessableEntity) IsClientError() bool
- func (o *ShareUnprocessableEntity) IsCode(code int) bool
- func (o *ShareUnprocessableEntity) IsRedirect() bool
- func (o *ShareUnprocessableEntity) IsServerError() bool
- func (o *ShareUnprocessableEntity) IsSuccess() bool
- func (o *ShareUnprocessableEntity) String() string
- type UnaccessBody
- type UnaccessInternalServerError
- func (o *UnaccessInternalServerError) Code() int
- 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) Code() int
- 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
- func (o *UnaccessOK) Code() int
- func (o *UnaccessOK) Error() string
- func (o *UnaccessOK) IsClientError() bool
- func (o *UnaccessOK) IsCode(code int) bool
- func (o *UnaccessOK) IsRedirect() bool
- func (o *UnaccessOK) IsServerError() bool
- func (o *UnaccessOK) IsSuccess() bool
- func (o *UnaccessOK) String() string
- type UnaccessParams
- func (o *UnaccessParams) SetBody(body UnaccessBody)
- 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 UnaccessBody) *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) Code() int
- 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 UnshareBody
- type UnshareInternalServerError
- func (o *UnshareInternalServerError) Code() int
- 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) Code() int
- 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
- func (o *UnshareOK) Code() int
- func (o *UnshareOK) Error() string
- func (o *UnshareOK) IsClientError() bool
- func (o *UnshareOK) IsCode(code int) bool
- func (o *UnshareOK) IsRedirect() bool
- func (o *UnshareOK) IsServerError() bool
- func (o *UnshareOK) IsSuccess() bool
- func (o *UnshareOK) String() string
- type UnshareParams
- func (o *UnshareParams) SetBody(body UnshareBody)
- 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 UnshareBody) *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) Code() int
- 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 UpdateAccessBody
- type UpdateAccessInternalServerError
- func (o *UpdateAccessInternalServerError) Code() int
- func (o *UpdateAccessInternalServerError) Error() string
- func (o *UpdateAccessInternalServerError) IsClientError() bool
- func (o *UpdateAccessInternalServerError) IsCode(code int) bool
- func (o *UpdateAccessInternalServerError) IsRedirect() bool
- func (o *UpdateAccessInternalServerError) IsServerError() bool
- func (o *UpdateAccessInternalServerError) IsSuccess() bool
- func (o *UpdateAccessInternalServerError) String() string
- type UpdateAccessNotFound
- func (o *UpdateAccessNotFound) Code() int
- func (o *UpdateAccessNotFound) Error() string
- func (o *UpdateAccessNotFound) IsClientError() bool
- func (o *UpdateAccessNotFound) IsCode(code int) bool
- func (o *UpdateAccessNotFound) IsRedirect() bool
- func (o *UpdateAccessNotFound) IsServerError() bool
- func (o *UpdateAccessNotFound) IsSuccess() bool
- func (o *UpdateAccessNotFound) String() string
- type UpdateAccessOK
- func (o *UpdateAccessOK) Code() int
- func (o *UpdateAccessOK) Error() string
- func (o *UpdateAccessOK) IsClientError() bool
- func (o *UpdateAccessOK) IsCode(code int) bool
- func (o *UpdateAccessOK) IsRedirect() bool
- func (o *UpdateAccessOK) IsServerError() bool
- func (o *UpdateAccessOK) IsSuccess() bool
- func (o *UpdateAccessOK) String() string
- type UpdateAccessParams
- func (o *UpdateAccessParams) SetBody(body UpdateAccessBody)
- func (o *UpdateAccessParams) SetContext(ctx context.Context)
- func (o *UpdateAccessParams) SetDefaults()
- func (o *UpdateAccessParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAccessParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAccessParams) WithBody(body UpdateAccessBody) *UpdateAccessParams
- func (o *UpdateAccessParams) WithContext(ctx context.Context) *UpdateAccessParams
- func (o *UpdateAccessParams) WithDefaults() *UpdateAccessParams
- func (o *UpdateAccessParams) WithHTTPClient(client *http.Client) *UpdateAccessParams
- func (o *UpdateAccessParams) WithTimeout(timeout time.Duration) *UpdateAccessParams
- func (o *UpdateAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAccessReader
- type UpdateAccessUnauthorized
- func (o *UpdateAccessUnauthorized) Code() int
- func (o *UpdateAccessUnauthorized) Error() string
- func (o *UpdateAccessUnauthorized) IsClientError() bool
- func (o *UpdateAccessUnauthorized) IsCode(code int) bool
- func (o *UpdateAccessUnauthorized) IsRedirect() bool
- func (o *UpdateAccessUnauthorized) IsServerError() bool
- func (o *UpdateAccessUnauthorized) IsSuccess() bool
- func (o *UpdateAccessUnauthorized) String() string
- type UpdateShareBadRequest
- func (o *UpdateShareBadRequest) Code() int
- func (o *UpdateShareBadRequest) Error() string
- func (o *UpdateShareBadRequest) IsClientError() bool
- func (o *UpdateShareBadRequest) IsCode(code int) bool
- func (o *UpdateShareBadRequest) IsRedirect() bool
- func (o *UpdateShareBadRequest) IsServerError() bool
- func (o *UpdateShareBadRequest) IsSuccess() bool
- func (o *UpdateShareBadRequest) String() string
- type UpdateShareBody
- type UpdateShareInternalServerError
- func (o *UpdateShareInternalServerError) Code() int
- 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) Code() int
- 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
- func (o *UpdateShareOK) Code() int
- func (o *UpdateShareOK) Error() string
- func (o *UpdateShareOK) IsClientError() bool
- func (o *UpdateShareOK) IsCode(code int) bool
- func (o *UpdateShareOK) IsRedirect() bool
- func (o *UpdateShareOK) IsServerError() bool
- func (o *UpdateShareOK) IsSuccess() bool
- func (o *UpdateShareOK) String() string
- type UpdateShareParams
- func (o *UpdateShareParams) SetBody(body UpdateShareBody)
- 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 UpdateShareBody) *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) Code() int
- 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 AccessBody ¶ added in v1.0.0
type AccessBody struct { // bind address BindAddress string `json:"bindAddress,omitempty"` // description Description string `json:"description,omitempty"` // env z Id EnvZID string `json:"envZId,omitempty"` ShareToken string `json:"shareToken,omitempty"` }
AccessBody access body swagger:model AccessBody
func (*AccessBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this access body based on context it is used
func (*AccessBody) MarshalBinary ¶ added in v1.0.0
func (o *AccessBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessBody) UnmarshalBinary ¶ added in v1.0.0
func (o *AccessBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccessCreated ¶
type AccessCreated struct {
Payload *AccessCreatedBody
}
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) Code ¶ added in v0.4.19
func (o *AccessCreated) Code() int
Code gets the status code for the access created response
func (*AccessCreated) Error ¶
func (o *AccessCreated) Error() string
func (*AccessCreated) GetPayload ¶
func (o *AccessCreated) GetPayload() *AccessCreatedBody
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 AccessCreatedBody ¶ added in v1.0.0
type AccessCreatedBody struct { // backend mode BackendMode string `json:"backendMode,omitempty"` // frontend token FrontendToken string `json:"frontendToken,omitempty"` }
AccessCreatedBody access created body swagger:model AccessCreatedBody
func (*AccessCreatedBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this access created body based on context it is used
func (*AccessCreatedBody) MarshalBinary ¶ added in v1.0.0
func (o *AccessCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessCreatedBody) UnmarshalBinary ¶ added in v1.0.0
func (o *AccessCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) Code ¶ added in v0.4.19
func (o *AccessInternalServerError) Code() int
Code gets the status code for the access internal server error response
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) Code ¶ added in v0.4.19
func (o *AccessNotFound) Code() int
Code gets the status code for the access not found response
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 AccessBody 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 AccessBody)
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 AccessBody) *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) Code ¶ added in v0.4.19
func (o *AccessUnauthorized) Code() int
Code gets the status code for the access unauthorized response
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) UpdateAccess ¶ added in v1.0.0
func (a *Client) UpdateAccess(params *UpdateAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccessOK, error)
UpdateAccess update access 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) UpdateAccess(params *UpdateAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccessOK, 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 ShareConflict ¶ added in v0.4.25
type ShareConflict struct { }
ShareConflict describes a response with status code 409, with default header values.
conflict
func NewShareConflict ¶ added in v0.4.25
func NewShareConflict() *ShareConflict
NewShareConflict creates a ShareConflict with default headers values
func (*ShareConflict) Code ¶ added in v0.4.25
func (o *ShareConflict) Code() int
Code gets the status code for the share conflict response
func (*ShareConflict) Error ¶ added in v0.4.25
func (o *ShareConflict) Error() string
func (*ShareConflict) IsClientError ¶ added in v0.4.25
func (o *ShareConflict) IsClientError() bool
IsClientError returns true when this share conflict response has a 4xx status code
func (*ShareConflict) IsCode ¶ added in v0.4.25
func (o *ShareConflict) IsCode(code int) bool
IsCode returns true when this share conflict response a status code equal to that given
func (*ShareConflict) IsRedirect ¶ added in v0.4.25
func (o *ShareConflict) IsRedirect() bool
IsRedirect returns true when this share conflict response has a 3xx status code
func (*ShareConflict) IsServerError ¶ added in v0.4.25
func (o *ShareConflict) IsServerError() bool
IsServerError returns true when this share conflict response has a 5xx status code
func (*ShareConflict) IsSuccess ¶ added in v0.4.25
func (o *ShareConflict) IsSuccess() bool
IsSuccess returns true when this share conflict response has a 2xx status code
func (*ShareConflict) String ¶ added in v0.4.25
func (o *ShareConflict) String() string
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) Code ¶ added in v0.4.19
func (o *ShareCreated) Code() int
Code gets the status code for the share created response
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) Code ¶ added in v0.4.19
func (o *ShareInternalServerError) Code() int
Code gets the status code for the share internal server error response
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) Code ¶ added in v0.4.19
func (o *ShareNotFound) Code() int
Code gets the status code for the share not found response
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) Code ¶ added in v0.4.19
func (o *ShareUnauthorized) Code() int
Code gets the status code for the share unauthorized response
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 ShareUnprocessableEntity ¶ added in v0.4.7
type ShareUnprocessableEntity struct { }
ShareUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable
func NewShareUnprocessableEntity ¶ added in v0.4.7
func NewShareUnprocessableEntity() *ShareUnprocessableEntity
NewShareUnprocessableEntity creates a ShareUnprocessableEntity with default headers values
func (*ShareUnprocessableEntity) Code ¶ added in v0.4.19
func (o *ShareUnprocessableEntity) Code() int
Code gets the status code for the share unprocessable entity response
func (*ShareUnprocessableEntity) Error ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) Error() string
func (*ShareUnprocessableEntity) IsClientError ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) IsClientError() bool
IsClientError returns true when this share unprocessable entity response has a 4xx status code
func (*ShareUnprocessableEntity) IsCode ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this share unprocessable entity response a status code equal to that given
func (*ShareUnprocessableEntity) IsRedirect ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this share unprocessable entity response has a 3xx status code
func (*ShareUnprocessableEntity) IsServerError ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) IsServerError() bool
IsServerError returns true when this share unprocessable entity response has a 5xx status code
func (*ShareUnprocessableEntity) IsSuccess ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this share unprocessable entity response has a 2xx status code
func (*ShareUnprocessableEntity) String ¶ added in v0.4.7
func (o *ShareUnprocessableEntity) String() string
type UnaccessBody ¶ added in v1.0.0
type UnaccessBody struct { // env z Id EnvZID string `json:"envZId,omitempty"` // frontend token FrontendToken string `json:"frontendToken,omitempty"` ShareToken string `json:"shareToken,omitempty"` }
UnaccessBody unaccess body swagger:model UnaccessBody
func (*UnaccessBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this unaccess body based on context it is used
func (*UnaccessBody) MarshalBinary ¶ added in v1.0.0
func (o *UnaccessBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnaccessBody) UnmarshalBinary ¶ added in v1.0.0
func (o *UnaccessBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) Code ¶ added in v0.4.19
func (o *UnaccessInternalServerError) Code() int
Code gets the status code for the unaccess internal server error response
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) Code ¶ added in v0.4.19
func (o *UnaccessNotFound) Code() int
Code gets the status code for the unaccess not found response
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) Code ¶ added in v0.4.19
func (o *UnaccessOK) Code() int
Code gets the status code for the unaccess o k response
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 UnaccessBody 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 UnaccessBody)
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 UnaccessBody) *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) Code ¶ added in v0.4.19
func (o *UnaccessUnauthorized) Code() int
Code gets the status code for the unaccess unauthorized response
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 UnshareBody ¶ added in v1.0.0
type UnshareBody struct { string `json:"envZId,omitempty"` Reserved bool `json:"reserved,omitempty"` ShareToken string `json:"shareToken,omitempty"` }EnvZID
UnshareBody unshare body swagger:model UnshareBody
func (*UnshareBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this unshare body based on context it is used
func (*UnshareBody) MarshalBinary ¶ added in v1.0.0
func (o *UnshareBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnshareBody) UnmarshalBinary ¶ added in v1.0.0
func (o *UnshareBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) Code ¶ added in v0.4.19
func (o *UnshareInternalServerError) Code() int
Code gets the status code for the unshare internal server error response
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) Code ¶ added in v0.4.19
func (o *UnshareNotFound) Code() int
Code gets the status code for the unshare not found response
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 { UnshareBody // 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 UnshareBody)
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 UnshareBody) *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) Code ¶ added in v0.4.19
func (o *UnshareUnauthorized) Code() int
Code gets the status code for the unshare unauthorized response
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 UpdateAccessBody ¶ added in v1.0.0
type UpdateAccessBody struct { // bind address BindAddress string `json:"bindAddress,omitempty"` // description Description string `json:"description,omitempty"` // frontend token FrontendToken string `json:"frontendToken,omitempty"` }
UpdateAccessBody update access body swagger:model UpdateAccessBody
func (*UpdateAccessBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this update access body based on context it is used
func (*UpdateAccessBody) MarshalBinary ¶ added in v1.0.0
func (o *UpdateAccessBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAccessBody) UnmarshalBinary ¶ added in v1.0.0
func (o *UpdateAccessBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAccessInternalServerError ¶ added in v1.0.0
type UpdateAccessInternalServerError struct { }
UpdateAccessInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUpdateAccessInternalServerError ¶ added in v1.0.0
func NewUpdateAccessInternalServerError() *UpdateAccessInternalServerError
NewUpdateAccessInternalServerError creates a UpdateAccessInternalServerError with default headers values
func (*UpdateAccessInternalServerError) Code ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) Code() int
Code gets the status code for the update access internal server error response
func (*UpdateAccessInternalServerError) Error ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) Error() string
func (*UpdateAccessInternalServerError) IsClientError ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) IsClientError() bool
IsClientError returns true when this update access internal server error response has a 4xx status code
func (*UpdateAccessInternalServerError) IsCode ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) IsCode(code int) bool
IsCode returns true when this update access internal server error response a status code equal to that given
func (*UpdateAccessInternalServerError) IsRedirect ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) IsRedirect() bool
IsRedirect returns true when this update access internal server error response has a 3xx status code
func (*UpdateAccessInternalServerError) IsServerError ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) IsServerError() bool
IsServerError returns true when this update access internal server error response has a 5xx status code
func (*UpdateAccessInternalServerError) IsSuccess ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) IsSuccess() bool
IsSuccess returns true when this update access internal server error response has a 2xx status code
func (*UpdateAccessInternalServerError) String ¶ added in v1.0.0
func (o *UpdateAccessInternalServerError) String() string
type UpdateAccessNotFound ¶ added in v1.0.0
type UpdateAccessNotFound struct { }
UpdateAccessNotFound describes a response with status code 404, with default header values.
not found
func NewUpdateAccessNotFound ¶ added in v1.0.0
func NewUpdateAccessNotFound() *UpdateAccessNotFound
NewUpdateAccessNotFound creates a UpdateAccessNotFound with default headers values
func (*UpdateAccessNotFound) Code ¶ added in v1.0.0
func (o *UpdateAccessNotFound) Code() int
Code gets the status code for the update access not found response
func (*UpdateAccessNotFound) Error ¶ added in v1.0.0
func (o *UpdateAccessNotFound) Error() string
func (*UpdateAccessNotFound) IsClientError ¶ added in v1.0.0
func (o *UpdateAccessNotFound) IsClientError() bool
IsClientError returns true when this update access not found response has a 4xx status code
func (*UpdateAccessNotFound) IsCode ¶ added in v1.0.0
func (o *UpdateAccessNotFound) IsCode(code int) bool
IsCode returns true when this update access not found response a status code equal to that given
func (*UpdateAccessNotFound) IsRedirect ¶ added in v1.0.0
func (o *UpdateAccessNotFound) IsRedirect() bool
IsRedirect returns true when this update access not found response has a 3xx status code
func (*UpdateAccessNotFound) IsServerError ¶ added in v1.0.0
func (o *UpdateAccessNotFound) IsServerError() bool
IsServerError returns true when this update access not found response has a 5xx status code
func (*UpdateAccessNotFound) IsSuccess ¶ added in v1.0.0
func (o *UpdateAccessNotFound) IsSuccess() bool
IsSuccess returns true when this update access not found response has a 2xx status code
func (*UpdateAccessNotFound) String ¶ added in v1.0.0
func (o *UpdateAccessNotFound) String() string
type UpdateAccessOK ¶ added in v1.0.0
type UpdateAccessOK struct { }
UpdateAccessOK describes a response with status code 200, with default header values.
access updated
func NewUpdateAccessOK ¶ added in v1.0.0
func NewUpdateAccessOK() *UpdateAccessOK
NewUpdateAccessOK creates a UpdateAccessOK with default headers values
func (*UpdateAccessOK) Code ¶ added in v1.0.0
func (o *UpdateAccessOK) Code() int
Code gets the status code for the update access o k response
func (*UpdateAccessOK) Error ¶ added in v1.0.0
func (o *UpdateAccessOK) Error() string
func (*UpdateAccessOK) IsClientError ¶ added in v1.0.0
func (o *UpdateAccessOK) IsClientError() bool
IsClientError returns true when this update access o k response has a 4xx status code
func (*UpdateAccessOK) IsCode ¶ added in v1.0.0
func (o *UpdateAccessOK) IsCode(code int) bool
IsCode returns true when this update access o k response a status code equal to that given
func (*UpdateAccessOK) IsRedirect ¶ added in v1.0.0
func (o *UpdateAccessOK) IsRedirect() bool
IsRedirect returns true when this update access o k response has a 3xx status code
func (*UpdateAccessOK) IsServerError ¶ added in v1.0.0
func (o *UpdateAccessOK) IsServerError() bool
IsServerError returns true when this update access o k response has a 5xx status code
func (*UpdateAccessOK) IsSuccess ¶ added in v1.0.0
func (o *UpdateAccessOK) IsSuccess() bool
IsSuccess returns true when this update access o k response has a 2xx status code
func (*UpdateAccessOK) String ¶ added in v1.0.0
func (o *UpdateAccessOK) String() string
type UpdateAccessParams ¶ added in v1.0.0
type UpdateAccessParams struct { // Body. Body UpdateAccessBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAccessParams contains all the parameters to send to the API endpoint
for the update access operation. Typically these are written to a http.Request.
func NewUpdateAccessParams ¶ added in v1.0.0
func NewUpdateAccessParams() *UpdateAccessParams
NewUpdateAccessParams creates a new UpdateAccessParams 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 NewUpdateAccessParamsWithContext ¶ added in v1.0.0
func NewUpdateAccessParamsWithContext(ctx context.Context) *UpdateAccessParams
NewUpdateAccessParamsWithContext creates a new UpdateAccessParams object with the ability to set a context for a request.
func NewUpdateAccessParamsWithHTTPClient ¶ added in v1.0.0
func NewUpdateAccessParamsWithHTTPClient(client *http.Client) *UpdateAccessParams
NewUpdateAccessParamsWithHTTPClient creates a new UpdateAccessParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAccessParamsWithTimeout ¶ added in v1.0.0
func NewUpdateAccessParamsWithTimeout(timeout time.Duration) *UpdateAccessParams
NewUpdateAccessParamsWithTimeout creates a new UpdateAccessParams object with the ability to set a timeout on a request.
func (*UpdateAccessParams) SetBody ¶ added in v1.0.0
func (o *UpdateAccessParams) SetBody(body UpdateAccessBody)
SetBody adds the body to the update access params
func (*UpdateAccessParams) SetContext ¶ added in v1.0.0
func (o *UpdateAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the update access params
func (*UpdateAccessParams) SetDefaults ¶ added in v1.0.0
func (o *UpdateAccessParams) SetDefaults()
SetDefaults hydrates default values in the update access params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccessParams) SetHTTPClient ¶ added in v1.0.0
func (o *UpdateAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update access params
func (*UpdateAccessParams) SetTimeout ¶ added in v1.0.0
func (o *UpdateAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update access params
func (*UpdateAccessParams) WithBody ¶ added in v1.0.0
func (o *UpdateAccessParams) WithBody(body UpdateAccessBody) *UpdateAccessParams
WithBody adds the body to the update access params
func (*UpdateAccessParams) WithContext ¶ added in v1.0.0
func (o *UpdateAccessParams) WithContext(ctx context.Context) *UpdateAccessParams
WithContext adds the context to the update access params
func (*UpdateAccessParams) WithDefaults ¶ added in v1.0.0
func (o *UpdateAccessParams) WithDefaults() *UpdateAccessParams
WithDefaults hydrates default values in the update access params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccessParams) WithHTTPClient ¶ added in v1.0.0
func (o *UpdateAccessParams) WithHTTPClient(client *http.Client) *UpdateAccessParams
WithHTTPClient adds the HTTPClient to the update access params
func (*UpdateAccessParams) WithTimeout ¶ added in v1.0.0
func (o *UpdateAccessParams) WithTimeout(timeout time.Duration) *UpdateAccessParams
WithTimeout adds the timeout to the update access params
func (*UpdateAccessParams) WriteToRequest ¶ added in v1.0.0
func (o *UpdateAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAccessReader ¶ added in v1.0.0
type UpdateAccessReader struct {
// contains filtered or unexported fields
}
UpdateAccessReader is a Reader for the UpdateAccess structure.
func (*UpdateAccessReader) ReadResponse ¶ added in v1.0.0
func (o *UpdateAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAccessUnauthorized ¶ added in v1.0.0
type UpdateAccessUnauthorized struct { }
UpdateAccessUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateAccessUnauthorized ¶ added in v1.0.0
func NewUpdateAccessUnauthorized() *UpdateAccessUnauthorized
NewUpdateAccessUnauthorized creates a UpdateAccessUnauthorized with default headers values
func (*UpdateAccessUnauthorized) Code ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) Code() int
Code gets the status code for the update access unauthorized response
func (*UpdateAccessUnauthorized) Error ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) Error() string
func (*UpdateAccessUnauthorized) IsClientError ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) IsClientError() bool
IsClientError returns true when this update access unauthorized response has a 4xx status code
func (*UpdateAccessUnauthorized) IsCode ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) IsCode(code int) bool
IsCode returns true when this update access unauthorized response a status code equal to that given
func (*UpdateAccessUnauthorized) IsRedirect ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) IsRedirect() bool
IsRedirect returns true when this update access unauthorized response has a 3xx status code
func (*UpdateAccessUnauthorized) IsServerError ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) IsServerError() bool
IsServerError returns true when this update access unauthorized response has a 5xx status code
func (*UpdateAccessUnauthorized) IsSuccess ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) IsSuccess() bool
IsSuccess returns true when this update access unauthorized response has a 2xx status code
func (*UpdateAccessUnauthorized) String ¶ added in v1.0.0
func (o *UpdateAccessUnauthorized) String() string
type UpdateShareBadRequest ¶ added in v0.4.26
type UpdateShareBadRequest struct { }
UpdateShareBadRequest describes a response with status code 400, with default header values.
bad request
func NewUpdateShareBadRequest ¶ added in v0.4.26
func NewUpdateShareBadRequest() *UpdateShareBadRequest
NewUpdateShareBadRequest creates a UpdateShareBadRequest with default headers values
func (*UpdateShareBadRequest) Code ¶ added in v0.4.26
func (o *UpdateShareBadRequest) Code() int
Code gets the status code for the update share bad request response
func (*UpdateShareBadRequest) Error ¶ added in v0.4.26
func (o *UpdateShareBadRequest) Error() string
func (*UpdateShareBadRequest) IsClientError ¶ added in v0.4.26
func (o *UpdateShareBadRequest) IsClientError() bool
IsClientError returns true when this update share bad request response has a 4xx status code
func (*UpdateShareBadRequest) IsCode ¶ added in v0.4.26
func (o *UpdateShareBadRequest) IsCode(code int) bool
IsCode returns true when this update share bad request response a status code equal to that given
func (*UpdateShareBadRequest) IsRedirect ¶ added in v0.4.26
func (o *UpdateShareBadRequest) IsRedirect() bool
IsRedirect returns true when this update share bad request response has a 3xx status code
func (*UpdateShareBadRequest) IsServerError ¶ added in v0.4.26
func (o *UpdateShareBadRequest) IsServerError() bool
IsServerError returns true when this update share bad request response has a 5xx status code
func (*UpdateShareBadRequest) IsSuccess ¶ added in v0.4.26
func (o *UpdateShareBadRequest) IsSuccess() bool
IsSuccess returns true when this update share bad request response has a 2xx status code
func (*UpdateShareBadRequest) String ¶ added in v0.4.26
func (o *UpdateShareBadRequest) String() string
type UpdateShareBody ¶ added in v1.0.0
type UpdateShareBody struct { string `json:"addAccessGrants"` BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"` RemoveAccessGrants []string `json:"removeAccessGrants"` ShareToken string `json:"shareToken,omitempty"` }AddAccessGrants []
UpdateShareBody update share body swagger:model UpdateShareBody
func (*UpdateShareBody) ContextValidate ¶ added in v1.0.0
ContextValidate validates this update share body based on context it is used
func (*UpdateShareBody) MarshalBinary ¶ added in v1.0.0
func (o *UpdateShareBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateShareBody) UnmarshalBinary ¶ added in v1.0.0
func (o *UpdateShareBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) Code ¶ added in v0.4.19
func (o *UpdateShareInternalServerError) Code() int
Code gets the status code for the update share internal server error response
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) Code ¶ added in v0.4.19
func (o *UpdateShareNotFound) Code() int
Code gets the status code for the update share not found response
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) Code ¶ added in v0.4.19
func (o *UpdateShareOK) Code() int
Code gets the status code for the update share o k response
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 { UpdateShareBody // 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 UpdateShareBody)
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 UpdateShareBody) *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) Code ¶ added in v0.4.19
func (o *UpdateShareUnauthorized) Code() int
Code gets the status code for the update share unauthorized response
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