Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteMeta(params *DeleteMetaParams, opts ...ClientOption) (*DeleteMetaOK, error)
- func (a *Client) GetBulkMeta(params *GetBulkMetaParams, opts ...ClientOption) (*GetBulkMetaOK, error)
- func (a *Client) GetMeta(params *GetMetaParams, opts ...ClientOption) (*GetMetaOK, error)
- func (a *Client) SetMeta(params *SetMetaParams, opts ...ClientOption) (*SetMetaOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteMetaBody
- type DeleteMetaForbidden
- func (o *DeleteMetaForbidden) Code() int
- func (o *DeleteMetaForbidden) Error() string
- func (o *DeleteMetaForbidden) GetPayload() *models.RestError
- func (o *DeleteMetaForbidden) IsClientError() bool
- func (o *DeleteMetaForbidden) IsCode(code int) bool
- func (o *DeleteMetaForbidden) IsRedirect() bool
- func (o *DeleteMetaForbidden) IsServerError() bool
- func (o *DeleteMetaForbidden) IsSuccess() bool
- func (o *DeleteMetaForbidden) String() string
- type DeleteMetaInternalServerError
- func (o *DeleteMetaInternalServerError) Code() int
- func (o *DeleteMetaInternalServerError) Error() string
- func (o *DeleteMetaInternalServerError) GetPayload() *models.RestError
- func (o *DeleteMetaInternalServerError) IsClientError() bool
- func (o *DeleteMetaInternalServerError) IsCode(code int) bool
- func (o *DeleteMetaInternalServerError) IsRedirect() bool
- func (o *DeleteMetaInternalServerError) IsServerError() bool
- func (o *DeleteMetaInternalServerError) IsSuccess() bool
- func (o *DeleteMetaInternalServerError) String() string
- type DeleteMetaNotFound
- func (o *DeleteMetaNotFound) Code() int
- func (o *DeleteMetaNotFound) Error() string
- func (o *DeleteMetaNotFound) GetPayload() *models.RestError
- func (o *DeleteMetaNotFound) IsClientError() bool
- func (o *DeleteMetaNotFound) IsCode(code int) bool
- func (o *DeleteMetaNotFound) IsRedirect() bool
- func (o *DeleteMetaNotFound) IsServerError() bool
- func (o *DeleteMetaNotFound) IsSuccess() bool
- func (o *DeleteMetaNotFound) String() string
- type DeleteMetaOK
- func (o *DeleteMetaOK) Code() int
- func (o *DeleteMetaOK) Error() string
- func (o *DeleteMetaOK) GetPayload() *models.TreeNode
- func (o *DeleteMetaOK) IsClientError() bool
- func (o *DeleteMetaOK) IsCode(code int) bool
- func (o *DeleteMetaOK) IsRedirect() bool
- func (o *DeleteMetaOK) IsServerError() bool
- func (o *DeleteMetaOK) IsSuccess() bool
- func (o *DeleteMetaOK) String() string
- type DeleteMetaParams
- func (o *DeleteMetaParams) SetBody(body DeleteMetaBody)
- func (o *DeleteMetaParams) SetContext(ctx context.Context)
- func (o *DeleteMetaParams) SetDefaults()
- func (o *DeleteMetaParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMetaParams) SetNodePath(nodePath string)
- func (o *DeleteMetaParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMetaParams) WithBody(body DeleteMetaBody) *DeleteMetaParams
- func (o *DeleteMetaParams) WithContext(ctx context.Context) *DeleteMetaParams
- func (o *DeleteMetaParams) WithDefaults() *DeleteMetaParams
- func (o *DeleteMetaParams) WithHTTPClient(client *http.Client) *DeleteMetaParams
- func (o *DeleteMetaParams) WithNodePath(nodePath string) *DeleteMetaParams
- func (o *DeleteMetaParams) WithTimeout(timeout time.Duration) *DeleteMetaParams
- func (o *DeleteMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMetaReader
- type DeleteMetaUnauthorized
- func (o *DeleteMetaUnauthorized) Code() int
- func (o *DeleteMetaUnauthorized) Error() string
- func (o *DeleteMetaUnauthorized) IsClientError() bool
- func (o *DeleteMetaUnauthorized) IsCode(code int) bool
- func (o *DeleteMetaUnauthorized) IsRedirect() bool
- func (o *DeleteMetaUnauthorized) IsServerError() bool
- func (o *DeleteMetaUnauthorized) IsSuccess() bool
- func (o *DeleteMetaUnauthorized) String() string
- type GetBulkMetaForbidden
- func (o *GetBulkMetaForbidden) Code() int
- func (o *GetBulkMetaForbidden) Error() string
- func (o *GetBulkMetaForbidden) GetPayload() *models.RestError
- func (o *GetBulkMetaForbidden) IsClientError() bool
- func (o *GetBulkMetaForbidden) IsCode(code int) bool
- func (o *GetBulkMetaForbidden) IsRedirect() bool
- func (o *GetBulkMetaForbidden) IsServerError() bool
- func (o *GetBulkMetaForbidden) IsSuccess() bool
- func (o *GetBulkMetaForbidden) String() string
- type GetBulkMetaInternalServerError
- func (o *GetBulkMetaInternalServerError) Code() int
- func (o *GetBulkMetaInternalServerError) Error() string
- func (o *GetBulkMetaInternalServerError) GetPayload() *models.RestError
- func (o *GetBulkMetaInternalServerError) IsClientError() bool
- func (o *GetBulkMetaInternalServerError) IsCode(code int) bool
- func (o *GetBulkMetaInternalServerError) IsRedirect() bool
- func (o *GetBulkMetaInternalServerError) IsServerError() bool
- func (o *GetBulkMetaInternalServerError) IsSuccess() bool
- func (o *GetBulkMetaInternalServerError) String() string
- type GetBulkMetaNotFound
- func (o *GetBulkMetaNotFound) Code() int
- func (o *GetBulkMetaNotFound) Error() string
- func (o *GetBulkMetaNotFound) GetPayload() *models.RestError
- func (o *GetBulkMetaNotFound) IsClientError() bool
- func (o *GetBulkMetaNotFound) IsCode(code int) bool
- func (o *GetBulkMetaNotFound) IsRedirect() bool
- func (o *GetBulkMetaNotFound) IsServerError() bool
- func (o *GetBulkMetaNotFound) IsSuccess() bool
- func (o *GetBulkMetaNotFound) String() string
- type GetBulkMetaOK
- func (o *GetBulkMetaOK) Code() int
- func (o *GetBulkMetaOK) Error() string
- func (o *GetBulkMetaOK) GetPayload() *models.RestBulkMetaResponse
- func (o *GetBulkMetaOK) IsClientError() bool
- func (o *GetBulkMetaOK) IsCode(code int) bool
- func (o *GetBulkMetaOK) IsRedirect() bool
- func (o *GetBulkMetaOK) IsServerError() bool
- func (o *GetBulkMetaOK) IsSuccess() bool
- func (o *GetBulkMetaOK) String() string
- type GetBulkMetaParams
- func (o *GetBulkMetaParams) SetBody(body *models.RestGetBulkMetaRequest)
- func (o *GetBulkMetaParams) SetContext(ctx context.Context)
- func (o *GetBulkMetaParams) SetDefaults()
- func (o *GetBulkMetaParams) SetHTTPClient(client *http.Client)
- func (o *GetBulkMetaParams) SetTimeout(timeout time.Duration)
- func (o *GetBulkMetaParams) WithBody(body *models.RestGetBulkMetaRequest) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithContext(ctx context.Context) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithDefaults() *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithHTTPClient(client *http.Client) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithTimeout(timeout time.Duration) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBulkMetaReader
- type GetBulkMetaUnauthorized
- func (o *GetBulkMetaUnauthorized) Code() int
- func (o *GetBulkMetaUnauthorized) Error() string
- func (o *GetBulkMetaUnauthorized) IsClientError() bool
- func (o *GetBulkMetaUnauthorized) IsCode(code int) bool
- func (o *GetBulkMetaUnauthorized) IsRedirect() bool
- func (o *GetBulkMetaUnauthorized) IsServerError() bool
- func (o *GetBulkMetaUnauthorized) IsSuccess() bool
- func (o *GetBulkMetaUnauthorized) String() string
- type GetMetaBody
- type GetMetaForbidden
- func (o *GetMetaForbidden) Code() int
- func (o *GetMetaForbidden) Error() string
- func (o *GetMetaForbidden) GetPayload() *models.RestError
- func (o *GetMetaForbidden) IsClientError() bool
- func (o *GetMetaForbidden) IsCode(code int) bool
- func (o *GetMetaForbidden) IsRedirect() bool
- func (o *GetMetaForbidden) IsServerError() bool
- func (o *GetMetaForbidden) IsSuccess() bool
- func (o *GetMetaForbidden) String() string
- type GetMetaInternalServerError
- func (o *GetMetaInternalServerError) Code() int
- func (o *GetMetaInternalServerError) Error() string
- func (o *GetMetaInternalServerError) GetPayload() *models.RestError
- func (o *GetMetaInternalServerError) IsClientError() bool
- func (o *GetMetaInternalServerError) IsCode(code int) bool
- func (o *GetMetaInternalServerError) IsRedirect() bool
- func (o *GetMetaInternalServerError) IsServerError() bool
- func (o *GetMetaInternalServerError) IsSuccess() bool
- func (o *GetMetaInternalServerError) String() string
- type GetMetaNotFound
- func (o *GetMetaNotFound) Code() int
- func (o *GetMetaNotFound) Error() string
- func (o *GetMetaNotFound) GetPayload() *models.RestError
- func (o *GetMetaNotFound) IsClientError() bool
- func (o *GetMetaNotFound) IsCode(code int) bool
- func (o *GetMetaNotFound) IsRedirect() bool
- func (o *GetMetaNotFound) IsServerError() bool
- func (o *GetMetaNotFound) IsSuccess() bool
- func (o *GetMetaNotFound) String() string
- type GetMetaOK
- func (o *GetMetaOK) Code() int
- func (o *GetMetaOK) Error() string
- func (o *GetMetaOK) GetPayload() *models.TreeNode
- func (o *GetMetaOK) IsClientError() bool
- func (o *GetMetaOK) IsCode(code int) bool
- func (o *GetMetaOK) IsRedirect() bool
- func (o *GetMetaOK) IsServerError() bool
- func (o *GetMetaOK) IsSuccess() bool
- func (o *GetMetaOK) String() string
- type GetMetaParams
- func (o *GetMetaParams) SetBody(body GetMetaBody)
- func (o *GetMetaParams) SetContext(ctx context.Context)
- func (o *GetMetaParams) SetDefaults()
- func (o *GetMetaParams) SetHTTPClient(client *http.Client)
- func (o *GetMetaParams) SetNodePath(nodePath string)
- func (o *GetMetaParams) SetTimeout(timeout time.Duration)
- func (o *GetMetaParams) WithBody(body GetMetaBody) *GetMetaParams
- func (o *GetMetaParams) WithContext(ctx context.Context) *GetMetaParams
- func (o *GetMetaParams) WithDefaults() *GetMetaParams
- func (o *GetMetaParams) WithHTTPClient(client *http.Client) *GetMetaParams
- func (o *GetMetaParams) WithNodePath(nodePath string) *GetMetaParams
- func (o *GetMetaParams) WithTimeout(timeout time.Duration) *GetMetaParams
- func (o *GetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetaReader
- type GetMetaUnauthorized
- func (o *GetMetaUnauthorized) Code() int
- func (o *GetMetaUnauthorized) Error() string
- func (o *GetMetaUnauthorized) IsClientError() bool
- func (o *GetMetaUnauthorized) IsCode(code int) bool
- func (o *GetMetaUnauthorized) IsRedirect() bool
- func (o *GetMetaUnauthorized) IsServerError() bool
- func (o *GetMetaUnauthorized) IsSuccess() bool
- func (o *GetMetaUnauthorized) String() string
- type SetMetaBody
- type SetMetaForbidden
- func (o *SetMetaForbidden) Code() int
- func (o *SetMetaForbidden) Error() string
- func (o *SetMetaForbidden) GetPayload() *models.RestError
- func (o *SetMetaForbidden) IsClientError() bool
- func (o *SetMetaForbidden) IsCode(code int) bool
- func (o *SetMetaForbidden) IsRedirect() bool
- func (o *SetMetaForbidden) IsServerError() bool
- func (o *SetMetaForbidden) IsSuccess() bool
- func (o *SetMetaForbidden) String() string
- type SetMetaInternalServerError
- func (o *SetMetaInternalServerError) Code() int
- func (o *SetMetaInternalServerError) Error() string
- func (o *SetMetaInternalServerError) GetPayload() *models.RestError
- func (o *SetMetaInternalServerError) IsClientError() bool
- func (o *SetMetaInternalServerError) IsCode(code int) bool
- func (o *SetMetaInternalServerError) IsRedirect() bool
- func (o *SetMetaInternalServerError) IsServerError() bool
- func (o *SetMetaInternalServerError) IsSuccess() bool
- func (o *SetMetaInternalServerError) String() string
- type SetMetaNotFound
- func (o *SetMetaNotFound) Code() int
- func (o *SetMetaNotFound) Error() string
- func (o *SetMetaNotFound) GetPayload() *models.RestError
- func (o *SetMetaNotFound) IsClientError() bool
- func (o *SetMetaNotFound) IsCode(code int) bool
- func (o *SetMetaNotFound) IsRedirect() bool
- func (o *SetMetaNotFound) IsServerError() bool
- func (o *SetMetaNotFound) IsSuccess() bool
- func (o *SetMetaNotFound) String() string
- type SetMetaOK
- func (o *SetMetaOK) Code() int
- func (o *SetMetaOK) Error() string
- func (o *SetMetaOK) GetPayload() *models.TreeNode
- func (o *SetMetaOK) IsClientError() bool
- func (o *SetMetaOK) IsCode(code int) bool
- func (o *SetMetaOK) IsRedirect() bool
- func (o *SetMetaOK) IsServerError() bool
- func (o *SetMetaOK) IsSuccess() bool
- func (o *SetMetaOK) String() string
- type SetMetaParams
- func (o *SetMetaParams) SetBody(body SetMetaBody)
- func (o *SetMetaParams) SetContext(ctx context.Context)
- func (o *SetMetaParams) SetDefaults()
- func (o *SetMetaParams) SetHTTPClient(client *http.Client)
- func (o *SetMetaParams) SetNodePath(nodePath string)
- func (o *SetMetaParams) SetTimeout(timeout time.Duration)
- func (o *SetMetaParams) WithBody(body SetMetaBody) *SetMetaParams
- func (o *SetMetaParams) WithContext(ctx context.Context) *SetMetaParams
- func (o *SetMetaParams) WithDefaults() *SetMetaParams
- func (o *SetMetaParams) WithHTTPClient(client *http.Client) *SetMetaParams
- func (o *SetMetaParams) WithNodePath(nodePath string) *SetMetaParams
- func (o *SetMetaParams) WithTimeout(timeout time.Duration) *SetMetaParams
- func (o *SetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMetaReader
- type SetMetaUnauthorized
- func (o *SetMetaUnauthorized) Code() int
- func (o *SetMetaUnauthorized) Error() string
- func (o *SetMetaUnauthorized) IsClientError() bool
- func (o *SetMetaUnauthorized) IsCode(code int) bool
- func (o *SetMetaUnauthorized) IsRedirect() bool
- func (o *SetMetaUnauthorized) IsServerError() bool
- func (o *SetMetaUnauthorized) IsSuccess() bool
- func (o *SetMetaUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for meta service API
func (*Client) DeleteMeta ¶
func (a *Client) DeleteMeta(params *DeleteMetaParams, opts ...ClientOption) (*DeleteMetaOK, error)
DeleteMeta deletes metadata of a given node
func (*Client) GetBulkMeta ¶
func (a *Client) GetBulkMeta(params *GetBulkMetaParams, opts ...ClientOption) (*GetBulkMetaOK, error)
GetBulkMeta lists meta for a list of nodes or a full directory using path syntax
func (*Client) GetMeta ¶
func (a *Client) GetMeta(params *GetMetaParams, opts ...ClientOption) (*GetMetaOK, error)
GetMeta loads metadata for a given node
func (*Client) SetMeta ¶
func (a *Client) SetMeta(params *SetMetaParams, opts ...ClientOption) (*SetMetaOK, error)
SetMeta updates metadata for a given node
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteMeta(params *DeleteMetaParams, opts ...ClientOption) (*DeleteMetaOK, error) GetBulkMeta(params *GetBulkMetaParams, opts ...ClientOption) (*GetBulkMetaOK, error) GetMeta(params *GetMetaParams, opts ...ClientOption) (*GetMetaOK, error) SetMeta(params *SetMetaParams, opts ...ClientOption) (*SetMetaOK, 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 meta service API client.
type DeleteMetaBody ¶
type DeleteMetaBody struct { // List of namespaces to load Namespace []string `json:"Namespace"` }
DeleteMetaBody RestMetaNamespaceRequest swagger:model DeleteMetaBody
func (*DeleteMetaBody) ContextValidate ¶
ContextValidate validates this delete meta body based on context it is used
func (*DeleteMetaBody) MarshalBinary ¶
func (o *DeleteMetaBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteMetaBody) UnmarshalBinary ¶
func (o *DeleteMetaBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteMetaForbidden ¶
DeleteMetaForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewDeleteMetaForbidden ¶
func NewDeleteMetaForbidden() *DeleteMetaForbidden
NewDeleteMetaForbidden creates a DeleteMetaForbidden with default headers values
func (*DeleteMetaForbidden) Code ¶ added in v4.0.1
func (o *DeleteMetaForbidden) Code() int
Code gets the status code for the delete meta forbidden response
func (*DeleteMetaForbidden) Error ¶
func (o *DeleteMetaForbidden) Error() string
func (*DeleteMetaForbidden) GetPayload ¶
func (o *DeleteMetaForbidden) GetPayload() *models.RestError
func (*DeleteMetaForbidden) IsClientError ¶
func (o *DeleteMetaForbidden) IsClientError() bool
IsClientError returns true when this delete meta forbidden response has a 4xx status code
func (*DeleteMetaForbidden) IsCode ¶
func (o *DeleteMetaForbidden) IsCode(code int) bool
IsCode returns true when this delete meta forbidden response a status code equal to that given
func (*DeleteMetaForbidden) IsRedirect ¶
func (o *DeleteMetaForbidden) IsRedirect() bool
IsRedirect returns true when this delete meta forbidden response has a 3xx status code
func (*DeleteMetaForbidden) IsServerError ¶
func (o *DeleteMetaForbidden) IsServerError() bool
IsServerError returns true when this delete meta forbidden response has a 5xx status code
func (*DeleteMetaForbidden) IsSuccess ¶
func (o *DeleteMetaForbidden) IsSuccess() bool
IsSuccess returns true when this delete meta forbidden response has a 2xx status code
func (*DeleteMetaForbidden) String ¶
func (o *DeleteMetaForbidden) String() string
type DeleteMetaInternalServerError ¶
DeleteMetaInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewDeleteMetaInternalServerError ¶
func NewDeleteMetaInternalServerError() *DeleteMetaInternalServerError
NewDeleteMetaInternalServerError creates a DeleteMetaInternalServerError with default headers values
func (*DeleteMetaInternalServerError) Code ¶ added in v4.0.1
func (o *DeleteMetaInternalServerError) Code() int
Code gets the status code for the delete meta internal server error response
func (*DeleteMetaInternalServerError) Error ¶
func (o *DeleteMetaInternalServerError) Error() string
func (*DeleteMetaInternalServerError) GetPayload ¶
func (o *DeleteMetaInternalServerError) GetPayload() *models.RestError
func (*DeleteMetaInternalServerError) IsClientError ¶
func (o *DeleteMetaInternalServerError) IsClientError() bool
IsClientError returns true when this delete meta internal server error response has a 4xx status code
func (*DeleteMetaInternalServerError) IsCode ¶
func (o *DeleteMetaInternalServerError) IsCode(code int) bool
IsCode returns true when this delete meta internal server error response a status code equal to that given
func (*DeleteMetaInternalServerError) IsRedirect ¶
func (o *DeleteMetaInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete meta internal server error response has a 3xx status code
func (*DeleteMetaInternalServerError) IsServerError ¶
func (o *DeleteMetaInternalServerError) IsServerError() bool
IsServerError returns true when this delete meta internal server error response has a 5xx status code
func (*DeleteMetaInternalServerError) IsSuccess ¶
func (o *DeleteMetaInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete meta internal server error response has a 2xx status code
func (*DeleteMetaInternalServerError) String ¶
func (o *DeleteMetaInternalServerError) String() string
type DeleteMetaNotFound ¶
DeleteMetaNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewDeleteMetaNotFound ¶
func NewDeleteMetaNotFound() *DeleteMetaNotFound
NewDeleteMetaNotFound creates a DeleteMetaNotFound with default headers values
func (*DeleteMetaNotFound) Code ¶ added in v4.0.1
func (o *DeleteMetaNotFound) Code() int
Code gets the status code for the delete meta not found response
func (*DeleteMetaNotFound) Error ¶
func (o *DeleteMetaNotFound) Error() string
func (*DeleteMetaNotFound) GetPayload ¶
func (o *DeleteMetaNotFound) GetPayload() *models.RestError
func (*DeleteMetaNotFound) IsClientError ¶
func (o *DeleteMetaNotFound) IsClientError() bool
IsClientError returns true when this delete meta not found response has a 4xx status code
func (*DeleteMetaNotFound) IsCode ¶
func (o *DeleteMetaNotFound) IsCode(code int) bool
IsCode returns true when this delete meta not found response a status code equal to that given
func (*DeleteMetaNotFound) IsRedirect ¶
func (o *DeleteMetaNotFound) IsRedirect() bool
IsRedirect returns true when this delete meta not found response has a 3xx status code
func (*DeleteMetaNotFound) IsServerError ¶
func (o *DeleteMetaNotFound) IsServerError() bool
IsServerError returns true when this delete meta not found response has a 5xx status code
func (*DeleteMetaNotFound) IsSuccess ¶
func (o *DeleteMetaNotFound) IsSuccess() bool
IsSuccess returns true when this delete meta not found response has a 2xx status code
func (*DeleteMetaNotFound) String ¶
func (o *DeleteMetaNotFound) String() string
type DeleteMetaOK ¶
DeleteMetaOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteMetaOK ¶
func NewDeleteMetaOK() *DeleteMetaOK
NewDeleteMetaOK creates a DeleteMetaOK with default headers values
func (*DeleteMetaOK) Code ¶ added in v4.0.1
func (o *DeleteMetaOK) Code() int
Code gets the status code for the delete meta o k response
func (*DeleteMetaOK) Error ¶
func (o *DeleteMetaOK) Error() string
func (*DeleteMetaOK) GetPayload ¶
func (o *DeleteMetaOK) GetPayload() *models.TreeNode
func (*DeleteMetaOK) IsClientError ¶
func (o *DeleteMetaOK) IsClientError() bool
IsClientError returns true when this delete meta o k response has a 4xx status code
func (*DeleteMetaOK) IsCode ¶
func (o *DeleteMetaOK) IsCode(code int) bool
IsCode returns true when this delete meta o k response a status code equal to that given
func (*DeleteMetaOK) IsRedirect ¶
func (o *DeleteMetaOK) IsRedirect() bool
IsRedirect returns true when this delete meta o k response has a 3xx status code
func (*DeleteMetaOK) IsServerError ¶
func (o *DeleteMetaOK) IsServerError() bool
IsServerError returns true when this delete meta o k response has a 5xx status code
func (*DeleteMetaOK) IsSuccess ¶
func (o *DeleteMetaOK) IsSuccess() bool
IsSuccess returns true when this delete meta o k response has a 2xx status code
func (*DeleteMetaOK) String ¶
func (o *DeleteMetaOK) String() string
type DeleteMetaParams ¶
type DeleteMetaParams struct { /* NodePath. Path to the requested node */ NodePath string // Body. Body DeleteMetaBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMetaParams contains all the parameters to send to the API endpoint
for the delete meta operation. Typically these are written to a http.Request.
func NewDeleteMetaParams ¶
func NewDeleteMetaParams() *DeleteMetaParams
NewDeleteMetaParams creates a new DeleteMetaParams 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 NewDeleteMetaParamsWithContext ¶
func NewDeleteMetaParamsWithContext(ctx context.Context) *DeleteMetaParams
NewDeleteMetaParamsWithContext creates a new DeleteMetaParams object with the ability to set a context for a request.
func NewDeleteMetaParamsWithHTTPClient ¶
func NewDeleteMetaParamsWithHTTPClient(client *http.Client) *DeleteMetaParams
NewDeleteMetaParamsWithHTTPClient creates a new DeleteMetaParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMetaParamsWithTimeout ¶
func NewDeleteMetaParamsWithTimeout(timeout time.Duration) *DeleteMetaParams
NewDeleteMetaParamsWithTimeout creates a new DeleteMetaParams object with the ability to set a timeout on a request.
func (*DeleteMetaParams) SetBody ¶
func (o *DeleteMetaParams) SetBody(body DeleteMetaBody)
SetBody adds the body to the delete meta params
func (*DeleteMetaParams) SetContext ¶
func (o *DeleteMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the delete meta params
func (*DeleteMetaParams) SetDefaults ¶
func (o *DeleteMetaParams) SetDefaults()
SetDefaults hydrates default values in the delete meta params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMetaParams) SetHTTPClient ¶
func (o *DeleteMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete meta params
func (*DeleteMetaParams) SetNodePath ¶
func (o *DeleteMetaParams) SetNodePath(nodePath string)
SetNodePath adds the nodePath to the delete meta params
func (*DeleteMetaParams) SetTimeout ¶
func (o *DeleteMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete meta params
func (*DeleteMetaParams) WithBody ¶
func (o *DeleteMetaParams) WithBody(body DeleteMetaBody) *DeleteMetaParams
WithBody adds the body to the delete meta params
func (*DeleteMetaParams) WithContext ¶
func (o *DeleteMetaParams) WithContext(ctx context.Context) *DeleteMetaParams
WithContext adds the context to the delete meta params
func (*DeleteMetaParams) WithDefaults ¶
func (o *DeleteMetaParams) WithDefaults() *DeleteMetaParams
WithDefaults hydrates default values in the delete meta params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMetaParams) WithHTTPClient ¶
func (o *DeleteMetaParams) WithHTTPClient(client *http.Client) *DeleteMetaParams
WithHTTPClient adds the HTTPClient to the delete meta params
func (*DeleteMetaParams) WithNodePath ¶
func (o *DeleteMetaParams) WithNodePath(nodePath string) *DeleteMetaParams
WithNodePath adds the nodePath to the delete meta params
func (*DeleteMetaParams) WithTimeout ¶
func (o *DeleteMetaParams) WithTimeout(timeout time.Duration) *DeleteMetaParams
WithTimeout adds the timeout to the delete meta params
func (*DeleteMetaParams) WriteToRequest ¶
func (o *DeleteMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMetaReader ¶
type DeleteMetaReader struct {
// contains filtered or unexported fields
}
DeleteMetaReader is a Reader for the DeleteMeta structure.
func (*DeleteMetaReader) ReadResponse ¶
func (o *DeleteMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMetaUnauthorized ¶
type DeleteMetaUnauthorized struct { }
DeleteMetaUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewDeleteMetaUnauthorized ¶
func NewDeleteMetaUnauthorized() *DeleteMetaUnauthorized
NewDeleteMetaUnauthorized creates a DeleteMetaUnauthorized with default headers values
func (*DeleteMetaUnauthorized) Code ¶ added in v4.0.1
func (o *DeleteMetaUnauthorized) Code() int
Code gets the status code for the delete meta unauthorized response
func (*DeleteMetaUnauthorized) Error ¶
func (o *DeleteMetaUnauthorized) Error() string
func (*DeleteMetaUnauthorized) IsClientError ¶
func (o *DeleteMetaUnauthorized) IsClientError() bool
IsClientError returns true when this delete meta unauthorized response has a 4xx status code
func (*DeleteMetaUnauthorized) IsCode ¶
func (o *DeleteMetaUnauthorized) IsCode(code int) bool
IsCode returns true when this delete meta unauthorized response a status code equal to that given
func (*DeleteMetaUnauthorized) IsRedirect ¶
func (o *DeleteMetaUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete meta unauthorized response has a 3xx status code
func (*DeleteMetaUnauthorized) IsServerError ¶
func (o *DeleteMetaUnauthorized) IsServerError() bool
IsServerError returns true when this delete meta unauthorized response has a 5xx status code
func (*DeleteMetaUnauthorized) IsSuccess ¶
func (o *DeleteMetaUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete meta unauthorized response has a 2xx status code
func (*DeleteMetaUnauthorized) String ¶
func (o *DeleteMetaUnauthorized) String() string
type GetBulkMetaForbidden ¶
GetBulkMetaForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewGetBulkMetaForbidden ¶
func NewGetBulkMetaForbidden() *GetBulkMetaForbidden
NewGetBulkMetaForbidden creates a GetBulkMetaForbidden with default headers values
func (*GetBulkMetaForbidden) Code ¶ added in v4.0.1
func (o *GetBulkMetaForbidden) Code() int
Code gets the status code for the get bulk meta forbidden response
func (*GetBulkMetaForbidden) Error ¶
func (o *GetBulkMetaForbidden) Error() string
func (*GetBulkMetaForbidden) GetPayload ¶
func (o *GetBulkMetaForbidden) GetPayload() *models.RestError
func (*GetBulkMetaForbidden) IsClientError ¶
func (o *GetBulkMetaForbidden) IsClientError() bool
IsClientError returns true when this get bulk meta forbidden response has a 4xx status code
func (*GetBulkMetaForbidden) IsCode ¶
func (o *GetBulkMetaForbidden) IsCode(code int) bool
IsCode returns true when this get bulk meta forbidden response a status code equal to that given
func (*GetBulkMetaForbidden) IsRedirect ¶
func (o *GetBulkMetaForbidden) IsRedirect() bool
IsRedirect returns true when this get bulk meta forbidden response has a 3xx status code
func (*GetBulkMetaForbidden) IsServerError ¶
func (o *GetBulkMetaForbidden) IsServerError() bool
IsServerError returns true when this get bulk meta forbidden response has a 5xx status code
func (*GetBulkMetaForbidden) IsSuccess ¶
func (o *GetBulkMetaForbidden) IsSuccess() bool
IsSuccess returns true when this get bulk meta forbidden response has a 2xx status code
func (*GetBulkMetaForbidden) String ¶
func (o *GetBulkMetaForbidden) String() string
type GetBulkMetaInternalServerError ¶
GetBulkMetaInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewGetBulkMetaInternalServerError ¶
func NewGetBulkMetaInternalServerError() *GetBulkMetaInternalServerError
NewGetBulkMetaInternalServerError creates a GetBulkMetaInternalServerError with default headers values
func (*GetBulkMetaInternalServerError) Code ¶ added in v4.0.1
func (o *GetBulkMetaInternalServerError) Code() int
Code gets the status code for the get bulk meta internal server error response
func (*GetBulkMetaInternalServerError) Error ¶
func (o *GetBulkMetaInternalServerError) Error() string
func (*GetBulkMetaInternalServerError) GetPayload ¶
func (o *GetBulkMetaInternalServerError) GetPayload() *models.RestError
func (*GetBulkMetaInternalServerError) IsClientError ¶
func (o *GetBulkMetaInternalServerError) IsClientError() bool
IsClientError returns true when this get bulk meta internal server error response has a 4xx status code
func (*GetBulkMetaInternalServerError) IsCode ¶
func (o *GetBulkMetaInternalServerError) IsCode(code int) bool
IsCode returns true when this get bulk meta internal server error response a status code equal to that given
func (*GetBulkMetaInternalServerError) IsRedirect ¶
func (o *GetBulkMetaInternalServerError) IsRedirect() bool
IsRedirect returns true when this get bulk meta internal server error response has a 3xx status code
func (*GetBulkMetaInternalServerError) IsServerError ¶
func (o *GetBulkMetaInternalServerError) IsServerError() bool
IsServerError returns true when this get bulk meta internal server error response has a 5xx status code
func (*GetBulkMetaInternalServerError) IsSuccess ¶
func (o *GetBulkMetaInternalServerError) IsSuccess() bool
IsSuccess returns true when this get bulk meta internal server error response has a 2xx status code
func (*GetBulkMetaInternalServerError) String ¶
func (o *GetBulkMetaInternalServerError) String() string
type GetBulkMetaNotFound ¶
GetBulkMetaNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewGetBulkMetaNotFound ¶
func NewGetBulkMetaNotFound() *GetBulkMetaNotFound
NewGetBulkMetaNotFound creates a GetBulkMetaNotFound with default headers values
func (*GetBulkMetaNotFound) Code ¶ added in v4.0.1
func (o *GetBulkMetaNotFound) Code() int
Code gets the status code for the get bulk meta not found response
func (*GetBulkMetaNotFound) Error ¶
func (o *GetBulkMetaNotFound) Error() string
func (*GetBulkMetaNotFound) GetPayload ¶
func (o *GetBulkMetaNotFound) GetPayload() *models.RestError
func (*GetBulkMetaNotFound) IsClientError ¶
func (o *GetBulkMetaNotFound) IsClientError() bool
IsClientError returns true when this get bulk meta not found response has a 4xx status code
func (*GetBulkMetaNotFound) IsCode ¶
func (o *GetBulkMetaNotFound) IsCode(code int) bool
IsCode returns true when this get bulk meta not found response a status code equal to that given
func (*GetBulkMetaNotFound) IsRedirect ¶
func (o *GetBulkMetaNotFound) IsRedirect() bool
IsRedirect returns true when this get bulk meta not found response has a 3xx status code
func (*GetBulkMetaNotFound) IsServerError ¶
func (o *GetBulkMetaNotFound) IsServerError() bool
IsServerError returns true when this get bulk meta not found response has a 5xx status code
func (*GetBulkMetaNotFound) IsSuccess ¶
func (o *GetBulkMetaNotFound) IsSuccess() bool
IsSuccess returns true when this get bulk meta not found response has a 2xx status code
func (*GetBulkMetaNotFound) String ¶
func (o *GetBulkMetaNotFound) String() string
type GetBulkMetaOK ¶
type GetBulkMetaOK struct {
Payload *models.RestBulkMetaResponse
}
GetBulkMetaOK describes a response with status code 200, with default header values.
A successful response.
func NewGetBulkMetaOK ¶
func NewGetBulkMetaOK() *GetBulkMetaOK
NewGetBulkMetaOK creates a GetBulkMetaOK with default headers values
func (*GetBulkMetaOK) Code ¶ added in v4.0.1
func (o *GetBulkMetaOK) Code() int
Code gets the status code for the get bulk meta o k response
func (*GetBulkMetaOK) Error ¶
func (o *GetBulkMetaOK) Error() string
func (*GetBulkMetaOK) GetPayload ¶
func (o *GetBulkMetaOK) GetPayload() *models.RestBulkMetaResponse
func (*GetBulkMetaOK) IsClientError ¶
func (o *GetBulkMetaOK) IsClientError() bool
IsClientError returns true when this get bulk meta o k response has a 4xx status code
func (*GetBulkMetaOK) IsCode ¶
func (o *GetBulkMetaOK) IsCode(code int) bool
IsCode returns true when this get bulk meta o k response a status code equal to that given
func (*GetBulkMetaOK) IsRedirect ¶
func (o *GetBulkMetaOK) IsRedirect() bool
IsRedirect returns true when this get bulk meta o k response has a 3xx status code
func (*GetBulkMetaOK) IsServerError ¶
func (o *GetBulkMetaOK) IsServerError() bool
IsServerError returns true when this get bulk meta o k response has a 5xx status code
func (*GetBulkMetaOK) IsSuccess ¶
func (o *GetBulkMetaOK) IsSuccess() bool
IsSuccess returns true when this get bulk meta o k response has a 2xx status code
func (*GetBulkMetaOK) String ¶
func (o *GetBulkMetaOK) String() string
type GetBulkMetaParams ¶
type GetBulkMetaParams struct { // Body. Body *models.RestGetBulkMetaRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBulkMetaParams contains all the parameters to send to the API endpoint
for the get bulk meta operation. Typically these are written to a http.Request.
func NewGetBulkMetaParams ¶
func NewGetBulkMetaParams() *GetBulkMetaParams
NewGetBulkMetaParams creates a new GetBulkMetaParams 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 NewGetBulkMetaParamsWithContext ¶
func NewGetBulkMetaParamsWithContext(ctx context.Context) *GetBulkMetaParams
NewGetBulkMetaParamsWithContext creates a new GetBulkMetaParams object with the ability to set a context for a request.
func NewGetBulkMetaParamsWithHTTPClient ¶
func NewGetBulkMetaParamsWithHTTPClient(client *http.Client) *GetBulkMetaParams
NewGetBulkMetaParamsWithHTTPClient creates a new GetBulkMetaParams object with the ability to set a custom HTTPClient for a request.
func NewGetBulkMetaParamsWithTimeout ¶
func NewGetBulkMetaParamsWithTimeout(timeout time.Duration) *GetBulkMetaParams
NewGetBulkMetaParamsWithTimeout creates a new GetBulkMetaParams object with the ability to set a timeout on a request.
func (*GetBulkMetaParams) SetBody ¶
func (o *GetBulkMetaParams) SetBody(body *models.RestGetBulkMetaRequest)
SetBody adds the body to the get bulk meta params
func (*GetBulkMetaParams) SetContext ¶
func (o *GetBulkMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the get bulk meta params
func (*GetBulkMetaParams) SetDefaults ¶
func (o *GetBulkMetaParams) SetDefaults()
SetDefaults hydrates default values in the get bulk meta params (not the query body).
All values with no default are reset to their zero value.
func (*GetBulkMetaParams) SetHTTPClient ¶
func (o *GetBulkMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bulk meta params
func (*GetBulkMetaParams) SetTimeout ¶
func (o *GetBulkMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bulk meta params
func (*GetBulkMetaParams) WithBody ¶
func (o *GetBulkMetaParams) WithBody(body *models.RestGetBulkMetaRequest) *GetBulkMetaParams
WithBody adds the body to the get bulk meta params
func (*GetBulkMetaParams) WithContext ¶
func (o *GetBulkMetaParams) WithContext(ctx context.Context) *GetBulkMetaParams
WithContext adds the context to the get bulk meta params
func (*GetBulkMetaParams) WithDefaults ¶
func (o *GetBulkMetaParams) WithDefaults() *GetBulkMetaParams
WithDefaults hydrates default values in the get bulk meta params (not the query body).
All values with no default are reset to their zero value.
func (*GetBulkMetaParams) WithHTTPClient ¶
func (o *GetBulkMetaParams) WithHTTPClient(client *http.Client) *GetBulkMetaParams
WithHTTPClient adds the HTTPClient to the get bulk meta params
func (*GetBulkMetaParams) WithTimeout ¶
func (o *GetBulkMetaParams) WithTimeout(timeout time.Duration) *GetBulkMetaParams
WithTimeout adds the timeout to the get bulk meta params
func (*GetBulkMetaParams) WriteToRequest ¶
func (o *GetBulkMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBulkMetaReader ¶
type GetBulkMetaReader struct {
// contains filtered or unexported fields
}
GetBulkMetaReader is a Reader for the GetBulkMeta structure.
func (*GetBulkMetaReader) ReadResponse ¶
func (o *GetBulkMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBulkMetaUnauthorized ¶
type GetBulkMetaUnauthorized struct { }
GetBulkMetaUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewGetBulkMetaUnauthorized ¶
func NewGetBulkMetaUnauthorized() *GetBulkMetaUnauthorized
NewGetBulkMetaUnauthorized creates a GetBulkMetaUnauthorized with default headers values
func (*GetBulkMetaUnauthorized) Code ¶ added in v4.0.1
func (o *GetBulkMetaUnauthorized) Code() int
Code gets the status code for the get bulk meta unauthorized response
func (*GetBulkMetaUnauthorized) Error ¶
func (o *GetBulkMetaUnauthorized) Error() string
func (*GetBulkMetaUnauthorized) IsClientError ¶
func (o *GetBulkMetaUnauthorized) IsClientError() bool
IsClientError returns true when this get bulk meta unauthorized response has a 4xx status code
func (*GetBulkMetaUnauthorized) IsCode ¶
func (o *GetBulkMetaUnauthorized) IsCode(code int) bool
IsCode returns true when this get bulk meta unauthorized response a status code equal to that given
func (*GetBulkMetaUnauthorized) IsRedirect ¶
func (o *GetBulkMetaUnauthorized) IsRedirect() bool
IsRedirect returns true when this get bulk meta unauthorized response has a 3xx status code
func (*GetBulkMetaUnauthorized) IsServerError ¶
func (o *GetBulkMetaUnauthorized) IsServerError() bool
IsServerError returns true when this get bulk meta unauthorized response has a 5xx status code
func (*GetBulkMetaUnauthorized) IsSuccess ¶
func (o *GetBulkMetaUnauthorized) IsSuccess() bool
IsSuccess returns true when this get bulk meta unauthorized response has a 2xx status code
func (*GetBulkMetaUnauthorized) String ¶
func (o *GetBulkMetaUnauthorized) String() string
type GetMetaBody ¶
type GetMetaBody struct { // List of namespaces to load Namespace []string `json:"Namespace"` }
GetMetaBody RestMetaNamespaceRequest swagger:model GetMetaBody
func (*GetMetaBody) ContextValidate ¶
ContextValidate validates this get meta body based on context it is used
func (*GetMetaBody) MarshalBinary ¶
func (o *GetMetaBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMetaBody) UnmarshalBinary ¶
func (o *GetMetaBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMetaForbidden ¶
GetMetaForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewGetMetaForbidden ¶
func NewGetMetaForbidden() *GetMetaForbidden
NewGetMetaForbidden creates a GetMetaForbidden with default headers values
func (*GetMetaForbidden) Code ¶ added in v4.0.1
func (o *GetMetaForbidden) Code() int
Code gets the status code for the get meta forbidden response
func (*GetMetaForbidden) Error ¶
func (o *GetMetaForbidden) Error() string
func (*GetMetaForbidden) GetPayload ¶
func (o *GetMetaForbidden) GetPayload() *models.RestError
func (*GetMetaForbidden) IsClientError ¶
func (o *GetMetaForbidden) IsClientError() bool
IsClientError returns true when this get meta forbidden response has a 4xx status code
func (*GetMetaForbidden) IsCode ¶
func (o *GetMetaForbidden) IsCode(code int) bool
IsCode returns true when this get meta forbidden response a status code equal to that given
func (*GetMetaForbidden) IsRedirect ¶
func (o *GetMetaForbidden) IsRedirect() bool
IsRedirect returns true when this get meta forbidden response has a 3xx status code
func (*GetMetaForbidden) IsServerError ¶
func (o *GetMetaForbidden) IsServerError() bool
IsServerError returns true when this get meta forbidden response has a 5xx status code
func (*GetMetaForbidden) IsSuccess ¶
func (o *GetMetaForbidden) IsSuccess() bool
IsSuccess returns true when this get meta forbidden response has a 2xx status code
func (*GetMetaForbidden) String ¶
func (o *GetMetaForbidden) String() string
type GetMetaInternalServerError ¶
GetMetaInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewGetMetaInternalServerError ¶
func NewGetMetaInternalServerError() *GetMetaInternalServerError
NewGetMetaInternalServerError creates a GetMetaInternalServerError with default headers values
func (*GetMetaInternalServerError) Code ¶ added in v4.0.1
func (o *GetMetaInternalServerError) Code() int
Code gets the status code for the get meta internal server error response
func (*GetMetaInternalServerError) Error ¶
func (o *GetMetaInternalServerError) Error() string
func (*GetMetaInternalServerError) GetPayload ¶
func (o *GetMetaInternalServerError) GetPayload() *models.RestError
func (*GetMetaInternalServerError) IsClientError ¶
func (o *GetMetaInternalServerError) IsClientError() bool
IsClientError returns true when this get meta internal server error response has a 4xx status code
func (*GetMetaInternalServerError) IsCode ¶
func (o *GetMetaInternalServerError) IsCode(code int) bool
IsCode returns true when this get meta internal server error response a status code equal to that given
func (*GetMetaInternalServerError) IsRedirect ¶
func (o *GetMetaInternalServerError) IsRedirect() bool
IsRedirect returns true when this get meta internal server error response has a 3xx status code
func (*GetMetaInternalServerError) IsServerError ¶
func (o *GetMetaInternalServerError) IsServerError() bool
IsServerError returns true when this get meta internal server error response has a 5xx status code
func (*GetMetaInternalServerError) IsSuccess ¶
func (o *GetMetaInternalServerError) IsSuccess() bool
IsSuccess returns true when this get meta internal server error response has a 2xx status code
func (*GetMetaInternalServerError) String ¶
func (o *GetMetaInternalServerError) String() string
type GetMetaNotFound ¶
GetMetaNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewGetMetaNotFound ¶
func NewGetMetaNotFound() *GetMetaNotFound
NewGetMetaNotFound creates a GetMetaNotFound with default headers values
func (*GetMetaNotFound) Code ¶ added in v4.0.1
func (o *GetMetaNotFound) Code() int
Code gets the status code for the get meta not found response
func (*GetMetaNotFound) Error ¶
func (o *GetMetaNotFound) Error() string
func (*GetMetaNotFound) GetPayload ¶
func (o *GetMetaNotFound) GetPayload() *models.RestError
func (*GetMetaNotFound) IsClientError ¶
func (o *GetMetaNotFound) IsClientError() bool
IsClientError returns true when this get meta not found response has a 4xx status code
func (*GetMetaNotFound) IsCode ¶
func (o *GetMetaNotFound) IsCode(code int) bool
IsCode returns true when this get meta not found response a status code equal to that given
func (*GetMetaNotFound) IsRedirect ¶
func (o *GetMetaNotFound) IsRedirect() bool
IsRedirect returns true when this get meta not found response has a 3xx status code
func (*GetMetaNotFound) IsServerError ¶
func (o *GetMetaNotFound) IsServerError() bool
IsServerError returns true when this get meta not found response has a 5xx status code
func (*GetMetaNotFound) IsSuccess ¶
func (o *GetMetaNotFound) IsSuccess() bool
IsSuccess returns true when this get meta not found response has a 2xx status code
func (*GetMetaNotFound) String ¶
func (o *GetMetaNotFound) String() string
type GetMetaOK ¶
GetMetaOK describes a response with status code 200, with default header values.
A successful response.
func NewGetMetaOK ¶
func NewGetMetaOK() *GetMetaOK
NewGetMetaOK creates a GetMetaOK with default headers values
func (*GetMetaOK) GetPayload ¶
func (*GetMetaOK) IsClientError ¶
IsClientError returns true when this get meta o k response has a 4xx status code
func (*GetMetaOK) IsCode ¶
IsCode returns true when this get meta o k response a status code equal to that given
func (*GetMetaOK) IsRedirect ¶
IsRedirect returns true when this get meta o k response has a 3xx status code
func (*GetMetaOK) IsServerError ¶
IsServerError returns true when this get meta o k response has a 5xx status code
type GetMetaParams ¶
type GetMetaParams struct { /* NodePath. Path to the requested node */ NodePath string // Body. Body GetMetaBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetaParams contains all the parameters to send to the API endpoint
for the get meta operation. Typically these are written to a http.Request.
func NewGetMetaParams ¶
func NewGetMetaParams() *GetMetaParams
NewGetMetaParams creates a new GetMetaParams 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 NewGetMetaParamsWithContext ¶
func NewGetMetaParamsWithContext(ctx context.Context) *GetMetaParams
NewGetMetaParamsWithContext creates a new GetMetaParams object with the ability to set a context for a request.
func NewGetMetaParamsWithHTTPClient ¶
func NewGetMetaParamsWithHTTPClient(client *http.Client) *GetMetaParams
NewGetMetaParamsWithHTTPClient creates a new GetMetaParams object with the ability to set a custom HTTPClient for a request.
func NewGetMetaParamsWithTimeout ¶
func NewGetMetaParamsWithTimeout(timeout time.Duration) *GetMetaParams
NewGetMetaParamsWithTimeout creates a new GetMetaParams object with the ability to set a timeout on a request.
func (*GetMetaParams) SetBody ¶
func (o *GetMetaParams) SetBody(body GetMetaBody)
SetBody adds the body to the get meta params
func (*GetMetaParams) SetContext ¶
func (o *GetMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the get meta params
func (*GetMetaParams) SetDefaults ¶
func (o *GetMetaParams) SetDefaults()
SetDefaults hydrates default values in the get meta params (not the query body).
All values with no default are reset to their zero value.
func (*GetMetaParams) SetHTTPClient ¶
func (o *GetMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get meta params
func (*GetMetaParams) SetNodePath ¶
func (o *GetMetaParams) SetNodePath(nodePath string)
SetNodePath adds the nodePath to the get meta params
func (*GetMetaParams) SetTimeout ¶
func (o *GetMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get meta params
func (*GetMetaParams) WithBody ¶
func (o *GetMetaParams) WithBody(body GetMetaBody) *GetMetaParams
WithBody adds the body to the get meta params
func (*GetMetaParams) WithContext ¶
func (o *GetMetaParams) WithContext(ctx context.Context) *GetMetaParams
WithContext adds the context to the get meta params
func (*GetMetaParams) WithDefaults ¶
func (o *GetMetaParams) WithDefaults() *GetMetaParams
WithDefaults hydrates default values in the get meta params (not the query body).
All values with no default are reset to their zero value.
func (*GetMetaParams) WithHTTPClient ¶
func (o *GetMetaParams) WithHTTPClient(client *http.Client) *GetMetaParams
WithHTTPClient adds the HTTPClient to the get meta params
func (*GetMetaParams) WithNodePath ¶
func (o *GetMetaParams) WithNodePath(nodePath string) *GetMetaParams
WithNodePath adds the nodePath to the get meta params
func (*GetMetaParams) WithTimeout ¶
func (o *GetMetaParams) WithTimeout(timeout time.Duration) *GetMetaParams
WithTimeout adds the timeout to the get meta params
func (*GetMetaParams) WriteToRequest ¶
func (o *GetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetaReader ¶
type GetMetaReader struct {
// contains filtered or unexported fields
}
GetMetaReader is a Reader for the GetMeta structure.
func (*GetMetaReader) ReadResponse ¶
func (o *GetMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMetaUnauthorized ¶
type GetMetaUnauthorized struct { }
GetMetaUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewGetMetaUnauthorized ¶
func NewGetMetaUnauthorized() *GetMetaUnauthorized
NewGetMetaUnauthorized creates a GetMetaUnauthorized with default headers values
func (*GetMetaUnauthorized) Code ¶ added in v4.0.1
func (o *GetMetaUnauthorized) Code() int
Code gets the status code for the get meta unauthorized response
func (*GetMetaUnauthorized) Error ¶
func (o *GetMetaUnauthorized) Error() string
func (*GetMetaUnauthorized) IsClientError ¶
func (o *GetMetaUnauthorized) IsClientError() bool
IsClientError returns true when this get meta unauthorized response has a 4xx status code
func (*GetMetaUnauthorized) IsCode ¶
func (o *GetMetaUnauthorized) IsCode(code int) bool
IsCode returns true when this get meta unauthorized response a status code equal to that given
func (*GetMetaUnauthorized) IsRedirect ¶
func (o *GetMetaUnauthorized) IsRedirect() bool
IsRedirect returns true when this get meta unauthorized response has a 3xx status code
func (*GetMetaUnauthorized) IsServerError ¶
func (o *GetMetaUnauthorized) IsServerError() bool
IsServerError returns true when this get meta unauthorized response has a 5xx status code
func (*GetMetaUnauthorized) IsSuccess ¶
func (o *GetMetaUnauthorized) IsSuccess() bool
IsSuccess returns true when this get meta unauthorized response has a 2xx status code
func (*GetMetaUnauthorized) String ¶
func (o *GetMetaUnauthorized) String() string
type SetMetaBody ¶
type SetMetaBody struct { // metadatas Metadatas []*models.RestMetadata `json:"Metadatas"` }
SetMetaBody RestMetaCollection swagger:model SetMetaBody
func (*SetMetaBody) ContextValidate ¶
ContextValidate validate this set meta body based on the context it is used
func (*SetMetaBody) MarshalBinary ¶
func (o *SetMetaBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetMetaBody) UnmarshalBinary ¶
func (o *SetMetaBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetMetaForbidden ¶
SetMetaForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewSetMetaForbidden ¶
func NewSetMetaForbidden() *SetMetaForbidden
NewSetMetaForbidden creates a SetMetaForbidden with default headers values
func (*SetMetaForbidden) Code ¶ added in v4.0.1
func (o *SetMetaForbidden) Code() int
Code gets the status code for the set meta forbidden response
func (*SetMetaForbidden) Error ¶
func (o *SetMetaForbidden) Error() string
func (*SetMetaForbidden) GetPayload ¶
func (o *SetMetaForbidden) GetPayload() *models.RestError
func (*SetMetaForbidden) IsClientError ¶
func (o *SetMetaForbidden) IsClientError() bool
IsClientError returns true when this set meta forbidden response has a 4xx status code
func (*SetMetaForbidden) IsCode ¶
func (o *SetMetaForbidden) IsCode(code int) bool
IsCode returns true when this set meta forbidden response a status code equal to that given
func (*SetMetaForbidden) IsRedirect ¶
func (o *SetMetaForbidden) IsRedirect() bool
IsRedirect returns true when this set meta forbidden response has a 3xx status code
func (*SetMetaForbidden) IsServerError ¶
func (o *SetMetaForbidden) IsServerError() bool
IsServerError returns true when this set meta forbidden response has a 5xx status code
func (*SetMetaForbidden) IsSuccess ¶
func (o *SetMetaForbidden) IsSuccess() bool
IsSuccess returns true when this set meta forbidden response has a 2xx status code
func (*SetMetaForbidden) String ¶
func (o *SetMetaForbidden) String() string
type SetMetaInternalServerError ¶
SetMetaInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewSetMetaInternalServerError ¶
func NewSetMetaInternalServerError() *SetMetaInternalServerError
NewSetMetaInternalServerError creates a SetMetaInternalServerError with default headers values
func (*SetMetaInternalServerError) Code ¶ added in v4.0.1
func (o *SetMetaInternalServerError) Code() int
Code gets the status code for the set meta internal server error response
func (*SetMetaInternalServerError) Error ¶
func (o *SetMetaInternalServerError) Error() string
func (*SetMetaInternalServerError) GetPayload ¶
func (o *SetMetaInternalServerError) GetPayload() *models.RestError
func (*SetMetaInternalServerError) IsClientError ¶
func (o *SetMetaInternalServerError) IsClientError() bool
IsClientError returns true when this set meta internal server error response has a 4xx status code
func (*SetMetaInternalServerError) IsCode ¶
func (o *SetMetaInternalServerError) IsCode(code int) bool
IsCode returns true when this set meta internal server error response a status code equal to that given
func (*SetMetaInternalServerError) IsRedirect ¶
func (o *SetMetaInternalServerError) IsRedirect() bool
IsRedirect returns true when this set meta internal server error response has a 3xx status code
func (*SetMetaInternalServerError) IsServerError ¶
func (o *SetMetaInternalServerError) IsServerError() bool
IsServerError returns true when this set meta internal server error response has a 5xx status code
func (*SetMetaInternalServerError) IsSuccess ¶
func (o *SetMetaInternalServerError) IsSuccess() bool
IsSuccess returns true when this set meta internal server error response has a 2xx status code
func (*SetMetaInternalServerError) String ¶
func (o *SetMetaInternalServerError) String() string
type SetMetaNotFound ¶
SetMetaNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewSetMetaNotFound ¶
func NewSetMetaNotFound() *SetMetaNotFound
NewSetMetaNotFound creates a SetMetaNotFound with default headers values
func (*SetMetaNotFound) Code ¶ added in v4.0.1
func (o *SetMetaNotFound) Code() int
Code gets the status code for the set meta not found response
func (*SetMetaNotFound) Error ¶
func (o *SetMetaNotFound) Error() string
func (*SetMetaNotFound) GetPayload ¶
func (o *SetMetaNotFound) GetPayload() *models.RestError
func (*SetMetaNotFound) IsClientError ¶
func (o *SetMetaNotFound) IsClientError() bool
IsClientError returns true when this set meta not found response has a 4xx status code
func (*SetMetaNotFound) IsCode ¶
func (o *SetMetaNotFound) IsCode(code int) bool
IsCode returns true when this set meta not found response a status code equal to that given
func (*SetMetaNotFound) IsRedirect ¶
func (o *SetMetaNotFound) IsRedirect() bool
IsRedirect returns true when this set meta not found response has a 3xx status code
func (*SetMetaNotFound) IsServerError ¶
func (o *SetMetaNotFound) IsServerError() bool
IsServerError returns true when this set meta not found response has a 5xx status code
func (*SetMetaNotFound) IsSuccess ¶
func (o *SetMetaNotFound) IsSuccess() bool
IsSuccess returns true when this set meta not found response has a 2xx status code
func (*SetMetaNotFound) String ¶
func (o *SetMetaNotFound) String() string
type SetMetaOK ¶
SetMetaOK describes a response with status code 200, with default header values.
A successful response.
func NewSetMetaOK ¶
func NewSetMetaOK() *SetMetaOK
NewSetMetaOK creates a SetMetaOK with default headers values
func (*SetMetaOK) GetPayload ¶
func (*SetMetaOK) IsClientError ¶
IsClientError returns true when this set meta o k response has a 4xx status code
func (*SetMetaOK) IsCode ¶
IsCode returns true when this set meta o k response a status code equal to that given
func (*SetMetaOK) IsRedirect ¶
IsRedirect returns true when this set meta o k response has a 3xx status code
func (*SetMetaOK) IsServerError ¶
IsServerError returns true when this set meta o k response has a 5xx status code
type SetMetaParams ¶
type SetMetaParams struct { // NodePath. NodePath string // Body. Body SetMetaBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetMetaParams contains all the parameters to send to the API endpoint
for the set meta operation. Typically these are written to a http.Request.
func NewSetMetaParams ¶
func NewSetMetaParams() *SetMetaParams
NewSetMetaParams creates a new SetMetaParams 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 NewSetMetaParamsWithContext ¶
func NewSetMetaParamsWithContext(ctx context.Context) *SetMetaParams
NewSetMetaParamsWithContext creates a new SetMetaParams object with the ability to set a context for a request.
func NewSetMetaParamsWithHTTPClient ¶
func NewSetMetaParamsWithHTTPClient(client *http.Client) *SetMetaParams
NewSetMetaParamsWithHTTPClient creates a new SetMetaParams object with the ability to set a custom HTTPClient for a request.
func NewSetMetaParamsWithTimeout ¶
func NewSetMetaParamsWithTimeout(timeout time.Duration) *SetMetaParams
NewSetMetaParamsWithTimeout creates a new SetMetaParams object with the ability to set a timeout on a request.
func (*SetMetaParams) SetBody ¶
func (o *SetMetaParams) SetBody(body SetMetaBody)
SetBody adds the body to the set meta params
func (*SetMetaParams) SetContext ¶
func (o *SetMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the set meta params
func (*SetMetaParams) SetDefaults ¶
func (o *SetMetaParams) SetDefaults()
SetDefaults hydrates default values in the set meta params (not the query body).
All values with no default are reset to their zero value.
func (*SetMetaParams) SetHTTPClient ¶
func (o *SetMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set meta params
func (*SetMetaParams) SetNodePath ¶
func (o *SetMetaParams) SetNodePath(nodePath string)
SetNodePath adds the nodePath to the set meta params
func (*SetMetaParams) SetTimeout ¶
func (o *SetMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set meta params
func (*SetMetaParams) WithBody ¶
func (o *SetMetaParams) WithBody(body SetMetaBody) *SetMetaParams
WithBody adds the body to the set meta params
func (*SetMetaParams) WithContext ¶
func (o *SetMetaParams) WithContext(ctx context.Context) *SetMetaParams
WithContext adds the context to the set meta params
func (*SetMetaParams) WithDefaults ¶
func (o *SetMetaParams) WithDefaults() *SetMetaParams
WithDefaults hydrates default values in the set meta params (not the query body).
All values with no default are reset to their zero value.
func (*SetMetaParams) WithHTTPClient ¶
func (o *SetMetaParams) WithHTTPClient(client *http.Client) *SetMetaParams
WithHTTPClient adds the HTTPClient to the set meta params
func (*SetMetaParams) WithNodePath ¶
func (o *SetMetaParams) WithNodePath(nodePath string) *SetMetaParams
WithNodePath adds the nodePath to the set meta params
func (*SetMetaParams) WithTimeout ¶
func (o *SetMetaParams) WithTimeout(timeout time.Duration) *SetMetaParams
WithTimeout adds the timeout to the set meta params
func (*SetMetaParams) WriteToRequest ¶
func (o *SetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetMetaReader ¶
type SetMetaReader struct {
// contains filtered or unexported fields
}
SetMetaReader is a Reader for the SetMeta structure.
func (*SetMetaReader) ReadResponse ¶
func (o *SetMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetMetaUnauthorized ¶
type SetMetaUnauthorized struct { }
SetMetaUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewSetMetaUnauthorized ¶
func NewSetMetaUnauthorized() *SetMetaUnauthorized
NewSetMetaUnauthorized creates a SetMetaUnauthorized with default headers values
func (*SetMetaUnauthorized) Code ¶ added in v4.0.1
func (o *SetMetaUnauthorized) Code() int
Code gets the status code for the set meta unauthorized response
func (*SetMetaUnauthorized) Error ¶
func (o *SetMetaUnauthorized) Error() string
func (*SetMetaUnauthorized) IsClientError ¶
func (o *SetMetaUnauthorized) IsClientError() bool
IsClientError returns true when this set meta unauthorized response has a 4xx status code
func (*SetMetaUnauthorized) IsCode ¶
func (o *SetMetaUnauthorized) IsCode(code int) bool
IsCode returns true when this set meta unauthorized response a status code equal to that given
func (*SetMetaUnauthorized) IsRedirect ¶
func (o *SetMetaUnauthorized) IsRedirect() bool
IsRedirect returns true when this set meta unauthorized response has a 3xx status code
func (*SetMetaUnauthorized) IsServerError ¶
func (o *SetMetaUnauthorized) IsServerError() bool
IsServerError returns true when this set meta unauthorized response has a 5xx status code
func (*SetMetaUnauthorized) IsSuccess ¶
func (o *SetMetaUnauthorized) IsSuccess() bool
IsSuccess returns true when this set meta unauthorized response has a 2xx status code
func (*SetMetaUnauthorized) String ¶
func (o *SetMetaUnauthorized) String() string