Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLabel(params *GetLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLabelOK, error)
- func (a *Client) RemoveLabel(params *RemoveLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveLabelOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLabel(params *UpdateLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateLabelOK, error)
- type ClientOption
- type ClientService
- type GetLabelBadRequest
- func (o *GetLabelBadRequest) Error() string
- func (o *GetLabelBadRequest) IsClientError() bool
- func (o *GetLabelBadRequest) IsCode(code int) bool
- func (o *GetLabelBadRequest) IsRedirect() bool
- func (o *GetLabelBadRequest) IsServerError() bool
- func (o *GetLabelBadRequest) IsSuccess() bool
- func (o *GetLabelBadRequest) String() string
- type GetLabelConflict
- func (o *GetLabelConflict) Error() string
- func (o *GetLabelConflict) IsClientError() bool
- func (o *GetLabelConflict) IsCode(code int) bool
- func (o *GetLabelConflict) IsRedirect() bool
- func (o *GetLabelConflict) IsServerError() bool
- func (o *GetLabelConflict) IsSuccess() bool
- func (o *GetLabelConflict) String() string
- type GetLabelForbidden
- func (o *GetLabelForbidden) Error() string
- func (o *GetLabelForbidden) IsClientError() bool
- func (o *GetLabelForbidden) IsCode(code int) bool
- func (o *GetLabelForbidden) IsRedirect() bool
- func (o *GetLabelForbidden) IsServerError() bool
- func (o *GetLabelForbidden) IsSuccess() bool
- func (o *GetLabelForbidden) String() string
- type GetLabelNotFound
- func (o *GetLabelNotFound) Error() string
- func (o *GetLabelNotFound) IsClientError() bool
- func (o *GetLabelNotFound) IsCode(code int) bool
- func (o *GetLabelNotFound) IsRedirect() bool
- func (o *GetLabelNotFound) IsServerError() bool
- func (o *GetLabelNotFound) IsSuccess() bool
- func (o *GetLabelNotFound) String() string
- type GetLabelOK
- func (o *GetLabelOK) Error() string
- func (o *GetLabelOK) GetPayload() *models.LabelEntity
- func (o *GetLabelOK) IsClientError() bool
- func (o *GetLabelOK) IsCode(code int) bool
- func (o *GetLabelOK) IsRedirect() bool
- func (o *GetLabelOK) IsServerError() bool
- func (o *GetLabelOK) IsSuccess() bool
- func (o *GetLabelOK) String() string
- type GetLabelParams
- func (o *GetLabelParams) SetContext(ctx context.Context)
- func (o *GetLabelParams) SetDefaults()
- func (o *GetLabelParams) SetHTTPClient(client *http.Client)
- func (o *GetLabelParams) SetID(id string)
- func (o *GetLabelParams) SetTimeout(timeout time.Duration)
- func (o *GetLabelParams) WithContext(ctx context.Context) *GetLabelParams
- func (o *GetLabelParams) WithDefaults() *GetLabelParams
- func (o *GetLabelParams) WithHTTPClient(client *http.Client) *GetLabelParams
- func (o *GetLabelParams) WithID(id string) *GetLabelParams
- func (o *GetLabelParams) WithTimeout(timeout time.Duration) *GetLabelParams
- func (o *GetLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLabelReader
- type GetLabelUnauthorized
- func (o *GetLabelUnauthorized) Error() string
- func (o *GetLabelUnauthorized) IsClientError() bool
- func (o *GetLabelUnauthorized) IsCode(code int) bool
- func (o *GetLabelUnauthorized) IsRedirect() bool
- func (o *GetLabelUnauthorized) IsServerError() bool
- func (o *GetLabelUnauthorized) IsSuccess() bool
- func (o *GetLabelUnauthorized) String() string
- type RemoveLabelBadRequest
- func (o *RemoveLabelBadRequest) Error() string
- func (o *RemoveLabelBadRequest) IsClientError() bool
- func (o *RemoveLabelBadRequest) IsCode(code int) bool
- func (o *RemoveLabelBadRequest) IsRedirect() bool
- func (o *RemoveLabelBadRequest) IsServerError() bool
- func (o *RemoveLabelBadRequest) IsSuccess() bool
- func (o *RemoveLabelBadRequest) String() string
- type RemoveLabelConflict
- func (o *RemoveLabelConflict) Error() string
- func (o *RemoveLabelConflict) IsClientError() bool
- func (o *RemoveLabelConflict) IsCode(code int) bool
- func (o *RemoveLabelConflict) IsRedirect() bool
- func (o *RemoveLabelConflict) IsServerError() bool
- func (o *RemoveLabelConflict) IsSuccess() bool
- func (o *RemoveLabelConflict) String() string
- type RemoveLabelForbidden
- func (o *RemoveLabelForbidden) Error() string
- func (o *RemoveLabelForbidden) IsClientError() bool
- func (o *RemoveLabelForbidden) IsCode(code int) bool
- func (o *RemoveLabelForbidden) IsRedirect() bool
- func (o *RemoveLabelForbidden) IsServerError() bool
- func (o *RemoveLabelForbidden) IsSuccess() bool
- func (o *RemoveLabelForbidden) String() string
- type RemoveLabelNotFound
- func (o *RemoveLabelNotFound) Error() string
- func (o *RemoveLabelNotFound) IsClientError() bool
- func (o *RemoveLabelNotFound) IsCode(code int) bool
- func (o *RemoveLabelNotFound) IsRedirect() bool
- func (o *RemoveLabelNotFound) IsServerError() bool
- func (o *RemoveLabelNotFound) IsSuccess() bool
- func (o *RemoveLabelNotFound) String() string
- type RemoveLabelOK
- func (o *RemoveLabelOK) Error() string
- func (o *RemoveLabelOK) GetPayload() *models.LabelEntity
- func (o *RemoveLabelOK) IsClientError() bool
- func (o *RemoveLabelOK) IsCode(code int) bool
- func (o *RemoveLabelOK) IsRedirect() bool
- func (o *RemoveLabelOK) IsServerError() bool
- func (o *RemoveLabelOK) IsSuccess() bool
- func (o *RemoveLabelOK) String() string
- type RemoveLabelParams
- func (o *RemoveLabelParams) SetClientID(clientID *string)
- func (o *RemoveLabelParams) SetContext(ctx context.Context)
- func (o *RemoveLabelParams) SetDefaults()
- func (o *RemoveLabelParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
- func (o *RemoveLabelParams) SetHTTPClient(client *http.Client)
- func (o *RemoveLabelParams) SetID(id string)
- func (o *RemoveLabelParams) SetTimeout(timeout time.Duration)
- func (o *RemoveLabelParams) SetVersion(version *string)
- func (o *RemoveLabelParams) WithClientID(clientID *string) *RemoveLabelParams
- func (o *RemoveLabelParams) WithContext(ctx context.Context) *RemoveLabelParams
- func (o *RemoveLabelParams) WithDefaults() *RemoveLabelParams
- func (o *RemoveLabelParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveLabelParams
- func (o *RemoveLabelParams) WithHTTPClient(client *http.Client) *RemoveLabelParams
- func (o *RemoveLabelParams) WithID(id string) *RemoveLabelParams
- func (o *RemoveLabelParams) WithTimeout(timeout time.Duration) *RemoveLabelParams
- func (o *RemoveLabelParams) WithVersion(version *string) *RemoveLabelParams
- func (o *RemoveLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveLabelReader
- type RemoveLabelUnauthorized
- func (o *RemoveLabelUnauthorized) Error() string
- func (o *RemoveLabelUnauthorized) IsClientError() bool
- func (o *RemoveLabelUnauthorized) IsCode(code int) bool
- func (o *RemoveLabelUnauthorized) IsRedirect() bool
- func (o *RemoveLabelUnauthorized) IsServerError() bool
- func (o *RemoveLabelUnauthorized) IsSuccess() bool
- func (o *RemoveLabelUnauthorized) String() string
- type UpdateLabelBadRequest
- func (o *UpdateLabelBadRequest) Error() string
- func (o *UpdateLabelBadRequest) IsClientError() bool
- func (o *UpdateLabelBadRequest) IsCode(code int) bool
- func (o *UpdateLabelBadRequest) IsRedirect() bool
- func (o *UpdateLabelBadRequest) IsServerError() bool
- func (o *UpdateLabelBadRequest) IsSuccess() bool
- func (o *UpdateLabelBadRequest) String() string
- type UpdateLabelConflict
- func (o *UpdateLabelConflict) Error() string
- func (o *UpdateLabelConflict) IsClientError() bool
- func (o *UpdateLabelConflict) IsCode(code int) bool
- func (o *UpdateLabelConflict) IsRedirect() bool
- func (o *UpdateLabelConflict) IsServerError() bool
- func (o *UpdateLabelConflict) IsSuccess() bool
- func (o *UpdateLabelConflict) String() string
- type UpdateLabelForbidden
- func (o *UpdateLabelForbidden) Error() string
- func (o *UpdateLabelForbidden) IsClientError() bool
- func (o *UpdateLabelForbidden) IsCode(code int) bool
- func (o *UpdateLabelForbidden) IsRedirect() bool
- func (o *UpdateLabelForbidden) IsServerError() bool
- func (o *UpdateLabelForbidden) IsSuccess() bool
- func (o *UpdateLabelForbidden) String() string
- type UpdateLabelNotFound
- func (o *UpdateLabelNotFound) Error() string
- func (o *UpdateLabelNotFound) IsClientError() bool
- func (o *UpdateLabelNotFound) IsCode(code int) bool
- func (o *UpdateLabelNotFound) IsRedirect() bool
- func (o *UpdateLabelNotFound) IsServerError() bool
- func (o *UpdateLabelNotFound) IsSuccess() bool
- func (o *UpdateLabelNotFound) String() string
- type UpdateLabelOK
- func (o *UpdateLabelOK) Error() string
- func (o *UpdateLabelOK) GetPayload() *models.LabelEntity
- func (o *UpdateLabelOK) IsClientError() bool
- func (o *UpdateLabelOK) IsCode(code int) bool
- func (o *UpdateLabelOK) IsRedirect() bool
- func (o *UpdateLabelOK) IsServerError() bool
- func (o *UpdateLabelOK) IsSuccess() bool
- func (o *UpdateLabelOK) String() string
- type UpdateLabelParams
- func (o *UpdateLabelParams) SetBody(body *models.LabelEntity)
- func (o *UpdateLabelParams) SetContext(ctx context.Context)
- func (o *UpdateLabelParams) SetDefaults()
- func (o *UpdateLabelParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLabelParams) SetID(id string)
- func (o *UpdateLabelParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLabelParams) WithBody(body *models.LabelEntity) *UpdateLabelParams
- func (o *UpdateLabelParams) WithContext(ctx context.Context) *UpdateLabelParams
- func (o *UpdateLabelParams) WithDefaults() *UpdateLabelParams
- func (o *UpdateLabelParams) WithHTTPClient(client *http.Client) *UpdateLabelParams
- func (o *UpdateLabelParams) WithID(id string) *UpdateLabelParams
- func (o *UpdateLabelParams) WithTimeout(timeout time.Duration) *UpdateLabelParams
- func (o *UpdateLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLabelReader
- type UpdateLabelUnauthorized
- func (o *UpdateLabelUnauthorized) Error() string
- func (o *UpdateLabelUnauthorized) IsClientError() bool
- func (o *UpdateLabelUnauthorized) IsCode(code int) bool
- func (o *UpdateLabelUnauthorized) IsRedirect() bool
- func (o *UpdateLabelUnauthorized) IsServerError() bool
- func (o *UpdateLabelUnauthorized) IsSuccess() bool
- func (o *UpdateLabelUnauthorized) 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 labels API
func (*Client) GetLabel ¶
func (a *Client) GetLabel(params *GetLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelOK, error)
GetLabel gets a label
func (*Client) RemoveLabel ¶
func (a *Client) RemoveLabel(params *RemoveLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveLabelOK, error)
RemoveLabel deletes a label
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLabel ¶
func (a *Client) UpdateLabel(params *UpdateLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLabelOK, error)
UpdateLabel updates a label
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetLabel(params *GetLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelOK, error) RemoveLabel(params *RemoveLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveLabelOK, error) UpdateLabel(params *UpdateLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLabelOK, 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 labels API client.
type GetLabelBadRequest ¶
type GetLabelBadRequest struct { }
GetLabelBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetLabelBadRequest ¶
func NewGetLabelBadRequest() *GetLabelBadRequest
NewGetLabelBadRequest creates a GetLabelBadRequest with default headers values
func (*GetLabelBadRequest) Error ¶
func (o *GetLabelBadRequest) Error() string
func (*GetLabelBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetLabelBadRequest) IsClientError() bool
IsClientError returns true when this get label bad request response has a 4xx status code
func (*GetLabelBadRequest) IsCode ¶ added in v1.19.1
func (o *GetLabelBadRequest) IsCode(code int) bool
IsCode returns true when this get label bad request response a status code equal to that given
func (*GetLabelBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this get label bad request response has a 3xx status code
func (*GetLabelBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetLabelBadRequest) IsServerError() bool
IsServerError returns true when this get label bad request response has a 5xx status code
func (*GetLabelBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this get label bad request response has a 2xx status code
func (*GetLabelBadRequest) String ¶ added in v1.19.1
func (o *GetLabelBadRequest) String() string
type GetLabelConflict ¶
type GetLabelConflict struct { }
GetLabelConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetLabelConflict ¶
func NewGetLabelConflict() *GetLabelConflict
NewGetLabelConflict creates a GetLabelConflict with default headers values
func (*GetLabelConflict) Error ¶
func (o *GetLabelConflict) Error() string
func (*GetLabelConflict) IsClientError ¶ added in v1.19.1
func (o *GetLabelConflict) IsClientError() bool
IsClientError returns true when this get label conflict response has a 4xx status code
func (*GetLabelConflict) IsCode ¶ added in v1.19.1
func (o *GetLabelConflict) IsCode(code int) bool
IsCode returns true when this get label conflict response a status code equal to that given
func (*GetLabelConflict) IsRedirect ¶ added in v1.19.1
func (o *GetLabelConflict) IsRedirect() bool
IsRedirect returns true when this get label conflict response has a 3xx status code
func (*GetLabelConflict) IsServerError ¶ added in v1.19.1
func (o *GetLabelConflict) IsServerError() bool
IsServerError returns true when this get label conflict response has a 5xx status code
func (*GetLabelConflict) IsSuccess ¶ added in v1.19.1
func (o *GetLabelConflict) IsSuccess() bool
IsSuccess returns true when this get label conflict response has a 2xx status code
func (*GetLabelConflict) String ¶ added in v1.19.1
func (o *GetLabelConflict) String() string
type GetLabelForbidden ¶
type GetLabelForbidden struct { }
GetLabelForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetLabelForbidden ¶
func NewGetLabelForbidden() *GetLabelForbidden
NewGetLabelForbidden creates a GetLabelForbidden with default headers values
func (*GetLabelForbidden) Error ¶
func (o *GetLabelForbidden) Error() string
func (*GetLabelForbidden) IsClientError ¶ added in v1.19.1
func (o *GetLabelForbidden) IsClientError() bool
IsClientError returns true when this get label forbidden response has a 4xx status code
func (*GetLabelForbidden) IsCode ¶ added in v1.19.1
func (o *GetLabelForbidden) IsCode(code int) bool
IsCode returns true when this get label forbidden response a status code equal to that given
func (*GetLabelForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetLabelForbidden) IsRedirect() bool
IsRedirect returns true when this get label forbidden response has a 3xx status code
func (*GetLabelForbidden) IsServerError ¶ added in v1.19.1
func (o *GetLabelForbidden) IsServerError() bool
IsServerError returns true when this get label forbidden response has a 5xx status code
func (*GetLabelForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetLabelForbidden) IsSuccess() bool
IsSuccess returns true when this get label forbidden response has a 2xx status code
func (*GetLabelForbidden) String ¶ added in v1.19.1
func (o *GetLabelForbidden) String() string
type GetLabelNotFound ¶
type GetLabelNotFound struct { }
GetLabelNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetLabelNotFound ¶
func NewGetLabelNotFound() *GetLabelNotFound
NewGetLabelNotFound creates a GetLabelNotFound with default headers values
func (*GetLabelNotFound) Error ¶
func (o *GetLabelNotFound) Error() string
func (*GetLabelNotFound) IsClientError ¶ added in v1.19.1
func (o *GetLabelNotFound) IsClientError() bool
IsClientError returns true when this get label not found response has a 4xx status code
func (*GetLabelNotFound) IsCode ¶ added in v1.19.1
func (o *GetLabelNotFound) IsCode(code int) bool
IsCode returns true when this get label not found response a status code equal to that given
func (*GetLabelNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetLabelNotFound) IsRedirect() bool
IsRedirect returns true when this get label not found response has a 3xx status code
func (*GetLabelNotFound) IsServerError ¶ added in v1.19.1
func (o *GetLabelNotFound) IsServerError() bool
IsServerError returns true when this get label not found response has a 5xx status code
func (*GetLabelNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetLabelNotFound) IsSuccess() bool
IsSuccess returns true when this get label not found response has a 2xx status code
func (*GetLabelNotFound) String ¶ added in v1.19.1
func (o *GetLabelNotFound) String() string
type GetLabelOK ¶
type GetLabelOK struct {
Payload *models.LabelEntity
}
GetLabelOK describes a response with status code 200, with default header values.
successful operation
func NewGetLabelOK ¶
func NewGetLabelOK() *GetLabelOK
NewGetLabelOK creates a GetLabelOK with default headers values
func (*GetLabelOK) Error ¶
func (o *GetLabelOK) Error() string
func (*GetLabelOK) GetPayload ¶
func (o *GetLabelOK) GetPayload() *models.LabelEntity
func (*GetLabelOK) IsClientError ¶ added in v1.19.1
func (o *GetLabelOK) IsClientError() bool
IsClientError returns true when this get label o k response has a 4xx status code
func (*GetLabelOK) IsCode ¶ added in v1.19.1
func (o *GetLabelOK) IsCode(code int) bool
IsCode returns true when this get label o k response a status code equal to that given
func (*GetLabelOK) IsRedirect ¶ added in v1.19.1
func (o *GetLabelOK) IsRedirect() bool
IsRedirect returns true when this get label o k response has a 3xx status code
func (*GetLabelOK) IsServerError ¶ added in v1.19.1
func (o *GetLabelOK) IsServerError() bool
IsServerError returns true when this get label o k response has a 5xx status code
func (*GetLabelOK) IsSuccess ¶ added in v1.19.1
func (o *GetLabelOK) IsSuccess() bool
IsSuccess returns true when this get label o k response has a 2xx status code
func (*GetLabelOK) String ¶ added in v1.19.1
func (o *GetLabelOK) String() string
type GetLabelParams ¶
type GetLabelParams struct { /* ID. The label id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLabelParams contains all the parameters to send to the API endpoint
for the get label operation. Typically these are written to a http.Request.
func NewGetLabelParams ¶
func NewGetLabelParams() *GetLabelParams
NewGetLabelParams creates a new GetLabelParams 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 NewGetLabelParamsWithContext ¶
func NewGetLabelParamsWithContext(ctx context.Context) *GetLabelParams
NewGetLabelParamsWithContext creates a new GetLabelParams object with the ability to set a context for a request.
func NewGetLabelParamsWithHTTPClient ¶
func NewGetLabelParamsWithHTTPClient(client *http.Client) *GetLabelParams
NewGetLabelParamsWithHTTPClient creates a new GetLabelParams object with the ability to set a custom HTTPClient for a request.
func NewGetLabelParamsWithTimeout ¶
func NewGetLabelParamsWithTimeout(timeout time.Duration) *GetLabelParams
NewGetLabelParamsWithTimeout creates a new GetLabelParams object with the ability to set a timeout on a request.
func (*GetLabelParams) SetContext ¶
func (o *GetLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the get label params
func (*GetLabelParams) SetDefaults ¶
func (o *GetLabelParams) SetDefaults()
SetDefaults hydrates default values in the get label params (not the query body).
All values with no default are reset to their zero value.
func (*GetLabelParams) SetHTTPClient ¶
func (o *GetLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get label params
func (*GetLabelParams) SetID ¶
func (o *GetLabelParams) SetID(id string)
SetID adds the id to the get label params
func (*GetLabelParams) SetTimeout ¶
func (o *GetLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get label params
func (*GetLabelParams) WithContext ¶
func (o *GetLabelParams) WithContext(ctx context.Context) *GetLabelParams
WithContext adds the context to the get label params
func (*GetLabelParams) WithDefaults ¶
func (o *GetLabelParams) WithDefaults() *GetLabelParams
WithDefaults hydrates default values in the get label params (not the query body).
All values with no default are reset to their zero value.
func (*GetLabelParams) WithHTTPClient ¶
func (o *GetLabelParams) WithHTTPClient(client *http.Client) *GetLabelParams
WithHTTPClient adds the HTTPClient to the get label params
func (*GetLabelParams) WithID ¶
func (o *GetLabelParams) WithID(id string) *GetLabelParams
WithID adds the id to the get label params
func (*GetLabelParams) WithTimeout ¶
func (o *GetLabelParams) WithTimeout(timeout time.Duration) *GetLabelParams
WithTimeout adds the timeout to the get label params
func (*GetLabelParams) WriteToRequest ¶
func (o *GetLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLabelReader ¶
type GetLabelReader struct {
// contains filtered or unexported fields
}
GetLabelReader is a Reader for the GetLabel structure.
func (*GetLabelReader) ReadResponse ¶
func (o *GetLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLabelUnauthorized ¶
type GetLabelUnauthorized struct { }
GetLabelUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetLabelUnauthorized ¶
func NewGetLabelUnauthorized() *GetLabelUnauthorized
NewGetLabelUnauthorized creates a GetLabelUnauthorized with default headers values
func (*GetLabelUnauthorized) Error ¶
func (o *GetLabelUnauthorized) Error() string
func (*GetLabelUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetLabelUnauthorized) IsClientError() bool
IsClientError returns true when this get label unauthorized response has a 4xx status code
func (*GetLabelUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this get label unauthorized response a status code equal to that given
func (*GetLabelUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this get label unauthorized response has a 3xx status code
func (*GetLabelUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetLabelUnauthorized) IsServerError() bool
IsServerError returns true when this get label unauthorized response has a 5xx status code
func (*GetLabelUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this get label unauthorized response has a 2xx status code
func (*GetLabelUnauthorized) String ¶ added in v1.19.1
func (o *GetLabelUnauthorized) String() string
type RemoveLabelBadRequest ¶
type RemoveLabelBadRequest struct { }
RemoveLabelBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewRemoveLabelBadRequest ¶
func NewRemoveLabelBadRequest() *RemoveLabelBadRequest
NewRemoveLabelBadRequest creates a RemoveLabelBadRequest with default headers values
func (*RemoveLabelBadRequest) Error ¶
func (o *RemoveLabelBadRequest) Error() string
func (*RemoveLabelBadRequest) IsClientError ¶ added in v1.19.1
func (o *RemoveLabelBadRequest) IsClientError() bool
IsClientError returns true when this remove label bad request response has a 4xx status code
func (*RemoveLabelBadRequest) IsCode ¶ added in v1.19.1
func (o *RemoveLabelBadRequest) IsCode(code int) bool
IsCode returns true when this remove label bad request response a status code equal to that given
func (*RemoveLabelBadRequest) IsRedirect ¶ added in v1.19.1
func (o *RemoveLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this remove label bad request response has a 3xx status code
func (*RemoveLabelBadRequest) IsServerError ¶ added in v1.19.1
func (o *RemoveLabelBadRequest) IsServerError() bool
IsServerError returns true when this remove label bad request response has a 5xx status code
func (*RemoveLabelBadRequest) IsSuccess ¶ added in v1.19.1
func (o *RemoveLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this remove label bad request response has a 2xx status code
func (*RemoveLabelBadRequest) String ¶ added in v1.19.1
func (o *RemoveLabelBadRequest) String() string
type RemoveLabelConflict ¶
type RemoveLabelConflict struct { }
RemoveLabelConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewRemoveLabelConflict ¶
func NewRemoveLabelConflict() *RemoveLabelConflict
NewRemoveLabelConflict creates a RemoveLabelConflict with default headers values
func (*RemoveLabelConflict) Error ¶
func (o *RemoveLabelConflict) Error() string
func (*RemoveLabelConflict) IsClientError ¶ added in v1.19.1
func (o *RemoveLabelConflict) IsClientError() bool
IsClientError returns true when this remove label conflict response has a 4xx status code
func (*RemoveLabelConflict) IsCode ¶ added in v1.19.1
func (o *RemoveLabelConflict) IsCode(code int) bool
IsCode returns true when this remove label conflict response a status code equal to that given
func (*RemoveLabelConflict) IsRedirect ¶ added in v1.19.1
func (o *RemoveLabelConflict) IsRedirect() bool
IsRedirect returns true when this remove label conflict response has a 3xx status code
func (*RemoveLabelConflict) IsServerError ¶ added in v1.19.1
func (o *RemoveLabelConflict) IsServerError() bool
IsServerError returns true when this remove label conflict response has a 5xx status code
func (*RemoveLabelConflict) IsSuccess ¶ added in v1.19.1
func (o *RemoveLabelConflict) IsSuccess() bool
IsSuccess returns true when this remove label conflict response has a 2xx status code
func (*RemoveLabelConflict) String ¶ added in v1.19.1
func (o *RemoveLabelConflict) String() string
type RemoveLabelForbidden ¶
type RemoveLabelForbidden struct { }
RemoveLabelForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewRemoveLabelForbidden ¶
func NewRemoveLabelForbidden() *RemoveLabelForbidden
NewRemoveLabelForbidden creates a RemoveLabelForbidden with default headers values
func (*RemoveLabelForbidden) Error ¶
func (o *RemoveLabelForbidden) Error() string
func (*RemoveLabelForbidden) IsClientError ¶ added in v1.19.1
func (o *RemoveLabelForbidden) IsClientError() bool
IsClientError returns true when this remove label forbidden response has a 4xx status code
func (*RemoveLabelForbidden) IsCode ¶ added in v1.19.1
func (o *RemoveLabelForbidden) IsCode(code int) bool
IsCode returns true when this remove label forbidden response a status code equal to that given
func (*RemoveLabelForbidden) IsRedirect ¶ added in v1.19.1
func (o *RemoveLabelForbidden) IsRedirect() bool
IsRedirect returns true when this remove label forbidden response has a 3xx status code
func (*RemoveLabelForbidden) IsServerError ¶ added in v1.19.1
func (o *RemoveLabelForbidden) IsServerError() bool
IsServerError returns true when this remove label forbidden response has a 5xx status code
func (*RemoveLabelForbidden) IsSuccess ¶ added in v1.19.1
func (o *RemoveLabelForbidden) IsSuccess() bool
IsSuccess returns true when this remove label forbidden response has a 2xx status code
func (*RemoveLabelForbidden) String ¶ added in v1.19.1
func (o *RemoveLabelForbidden) String() string
type RemoveLabelNotFound ¶
type RemoveLabelNotFound struct { }
RemoveLabelNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewRemoveLabelNotFound ¶
func NewRemoveLabelNotFound() *RemoveLabelNotFound
NewRemoveLabelNotFound creates a RemoveLabelNotFound with default headers values
func (*RemoveLabelNotFound) Error ¶
func (o *RemoveLabelNotFound) Error() string
func (*RemoveLabelNotFound) IsClientError ¶ added in v1.19.1
func (o *RemoveLabelNotFound) IsClientError() bool
IsClientError returns true when this remove label not found response has a 4xx status code
func (*RemoveLabelNotFound) IsCode ¶ added in v1.19.1
func (o *RemoveLabelNotFound) IsCode(code int) bool
IsCode returns true when this remove label not found response a status code equal to that given
func (*RemoveLabelNotFound) IsRedirect ¶ added in v1.19.1
func (o *RemoveLabelNotFound) IsRedirect() bool
IsRedirect returns true when this remove label not found response has a 3xx status code
func (*RemoveLabelNotFound) IsServerError ¶ added in v1.19.1
func (o *RemoveLabelNotFound) IsServerError() bool
IsServerError returns true when this remove label not found response has a 5xx status code
func (*RemoveLabelNotFound) IsSuccess ¶ added in v1.19.1
func (o *RemoveLabelNotFound) IsSuccess() bool
IsSuccess returns true when this remove label not found response has a 2xx status code
func (*RemoveLabelNotFound) String ¶ added in v1.19.1
func (o *RemoveLabelNotFound) String() string
type RemoveLabelOK ¶
type RemoveLabelOK struct {
Payload *models.LabelEntity
}
RemoveLabelOK describes a response with status code 200, with default header values.
successful operation
func NewRemoveLabelOK ¶
func NewRemoveLabelOK() *RemoveLabelOK
NewRemoveLabelOK creates a RemoveLabelOK with default headers values
func (*RemoveLabelOK) Error ¶
func (o *RemoveLabelOK) Error() string
func (*RemoveLabelOK) GetPayload ¶
func (o *RemoveLabelOK) GetPayload() *models.LabelEntity
func (*RemoveLabelOK) IsClientError ¶ added in v1.19.1
func (o *RemoveLabelOK) IsClientError() bool
IsClientError returns true when this remove label o k response has a 4xx status code
func (*RemoveLabelOK) IsCode ¶ added in v1.19.1
func (o *RemoveLabelOK) IsCode(code int) bool
IsCode returns true when this remove label o k response a status code equal to that given
func (*RemoveLabelOK) IsRedirect ¶ added in v1.19.1
func (o *RemoveLabelOK) IsRedirect() bool
IsRedirect returns true when this remove label o k response has a 3xx status code
func (*RemoveLabelOK) IsServerError ¶ added in v1.19.1
func (o *RemoveLabelOK) IsServerError() bool
IsServerError returns true when this remove label o k response has a 5xx status code
func (*RemoveLabelOK) IsSuccess ¶ added in v1.19.1
func (o *RemoveLabelOK) IsSuccess() bool
IsSuccess returns true when this remove label o k response has a 2xx status code
func (*RemoveLabelOK) String ¶ added in v1.19.1
func (o *RemoveLabelOK) String() string
type RemoveLabelParams ¶
type RemoveLabelParams struct { /* ClientID. If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. */ ClientID *string /* DisconnectedNodeAcknowledged. Acknowledges that this node is disconnected to allow for mutable requests to proceed. */ DisconnectedNodeAcknowledged *bool /* ID. The label id. */ ID string /* Version. The revision is used to verify the client is working with the latest version of the flow. */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveLabelParams contains all the parameters to send to the API endpoint
for the remove label operation. Typically these are written to a http.Request.
func NewRemoveLabelParams ¶
func NewRemoveLabelParams() *RemoveLabelParams
NewRemoveLabelParams creates a new RemoveLabelParams 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 NewRemoveLabelParamsWithContext ¶
func NewRemoveLabelParamsWithContext(ctx context.Context) *RemoveLabelParams
NewRemoveLabelParamsWithContext creates a new RemoveLabelParams object with the ability to set a context for a request.
func NewRemoveLabelParamsWithHTTPClient ¶
func NewRemoveLabelParamsWithHTTPClient(client *http.Client) *RemoveLabelParams
NewRemoveLabelParamsWithHTTPClient creates a new RemoveLabelParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveLabelParamsWithTimeout ¶
func NewRemoveLabelParamsWithTimeout(timeout time.Duration) *RemoveLabelParams
NewRemoveLabelParamsWithTimeout creates a new RemoveLabelParams object with the ability to set a timeout on a request.
func (*RemoveLabelParams) SetClientID ¶
func (o *RemoveLabelParams) SetClientID(clientID *string)
SetClientID adds the clientId to the remove label params
func (*RemoveLabelParams) SetContext ¶
func (o *RemoveLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the remove label params
func (*RemoveLabelParams) SetDefaults ¶
func (o *RemoveLabelParams) SetDefaults()
SetDefaults hydrates default values in the remove label params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveLabelParams) SetDisconnectedNodeAcknowledged ¶
func (o *RemoveLabelParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove label params
func (*RemoveLabelParams) SetHTTPClient ¶
func (o *RemoveLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove label params
func (*RemoveLabelParams) SetID ¶
func (o *RemoveLabelParams) SetID(id string)
SetID adds the id to the remove label params
func (*RemoveLabelParams) SetTimeout ¶
func (o *RemoveLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove label params
func (*RemoveLabelParams) SetVersion ¶
func (o *RemoveLabelParams) SetVersion(version *string)
SetVersion adds the version to the remove label params
func (*RemoveLabelParams) WithClientID ¶
func (o *RemoveLabelParams) WithClientID(clientID *string) *RemoveLabelParams
WithClientID adds the clientID to the remove label params
func (*RemoveLabelParams) WithContext ¶
func (o *RemoveLabelParams) WithContext(ctx context.Context) *RemoveLabelParams
WithContext adds the context to the remove label params
func (*RemoveLabelParams) WithDefaults ¶
func (o *RemoveLabelParams) WithDefaults() *RemoveLabelParams
WithDefaults hydrates default values in the remove label params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveLabelParams) WithDisconnectedNodeAcknowledged ¶
func (o *RemoveLabelParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveLabelParams
WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove label params
func (*RemoveLabelParams) WithHTTPClient ¶
func (o *RemoveLabelParams) WithHTTPClient(client *http.Client) *RemoveLabelParams
WithHTTPClient adds the HTTPClient to the remove label params
func (*RemoveLabelParams) WithID ¶
func (o *RemoveLabelParams) WithID(id string) *RemoveLabelParams
WithID adds the id to the remove label params
func (*RemoveLabelParams) WithTimeout ¶
func (o *RemoveLabelParams) WithTimeout(timeout time.Duration) *RemoveLabelParams
WithTimeout adds the timeout to the remove label params
func (*RemoveLabelParams) WithVersion ¶
func (o *RemoveLabelParams) WithVersion(version *string) *RemoveLabelParams
WithVersion adds the version to the remove label params
func (*RemoveLabelParams) WriteToRequest ¶
func (o *RemoveLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveLabelReader ¶
type RemoveLabelReader struct {
// contains filtered or unexported fields
}
RemoveLabelReader is a Reader for the RemoveLabel structure.
func (*RemoveLabelReader) ReadResponse ¶
func (o *RemoveLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveLabelUnauthorized ¶
type RemoveLabelUnauthorized struct { }
RemoveLabelUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewRemoveLabelUnauthorized ¶
func NewRemoveLabelUnauthorized() *RemoveLabelUnauthorized
NewRemoveLabelUnauthorized creates a RemoveLabelUnauthorized with default headers values
func (*RemoveLabelUnauthorized) Error ¶
func (o *RemoveLabelUnauthorized) Error() string
func (*RemoveLabelUnauthorized) IsClientError ¶ added in v1.19.1
func (o *RemoveLabelUnauthorized) IsClientError() bool
IsClientError returns true when this remove label unauthorized response has a 4xx status code
func (*RemoveLabelUnauthorized) IsCode ¶ added in v1.19.1
func (o *RemoveLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this remove label unauthorized response a status code equal to that given
func (*RemoveLabelUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *RemoveLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove label unauthorized response has a 3xx status code
func (*RemoveLabelUnauthorized) IsServerError ¶ added in v1.19.1
func (o *RemoveLabelUnauthorized) IsServerError() bool
IsServerError returns true when this remove label unauthorized response has a 5xx status code
func (*RemoveLabelUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *RemoveLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove label unauthorized response has a 2xx status code
func (*RemoveLabelUnauthorized) String ¶ added in v1.19.1
func (o *RemoveLabelUnauthorized) String() string
type UpdateLabelBadRequest ¶
type UpdateLabelBadRequest struct { }
UpdateLabelBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewUpdateLabelBadRequest ¶
func NewUpdateLabelBadRequest() *UpdateLabelBadRequest
NewUpdateLabelBadRequest creates a UpdateLabelBadRequest with default headers values
func (*UpdateLabelBadRequest) Error ¶
func (o *UpdateLabelBadRequest) Error() string
func (*UpdateLabelBadRequest) IsClientError ¶ added in v1.19.1
func (o *UpdateLabelBadRequest) IsClientError() bool
IsClientError returns true when this update label bad request response has a 4xx status code
func (*UpdateLabelBadRequest) IsCode ¶ added in v1.19.1
func (o *UpdateLabelBadRequest) IsCode(code int) bool
IsCode returns true when this update label bad request response a status code equal to that given
func (*UpdateLabelBadRequest) IsRedirect ¶ added in v1.19.1
func (o *UpdateLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this update label bad request response has a 3xx status code
func (*UpdateLabelBadRequest) IsServerError ¶ added in v1.19.1
func (o *UpdateLabelBadRequest) IsServerError() bool
IsServerError returns true when this update label bad request response has a 5xx status code
func (*UpdateLabelBadRequest) IsSuccess ¶ added in v1.19.1
func (o *UpdateLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this update label bad request response has a 2xx status code
func (*UpdateLabelBadRequest) String ¶ added in v1.19.1
func (o *UpdateLabelBadRequest) String() string
type UpdateLabelConflict ¶
type UpdateLabelConflict struct { }
UpdateLabelConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewUpdateLabelConflict ¶
func NewUpdateLabelConflict() *UpdateLabelConflict
NewUpdateLabelConflict creates a UpdateLabelConflict with default headers values
func (*UpdateLabelConflict) Error ¶
func (o *UpdateLabelConflict) Error() string
func (*UpdateLabelConflict) IsClientError ¶ added in v1.19.1
func (o *UpdateLabelConflict) IsClientError() bool
IsClientError returns true when this update label conflict response has a 4xx status code
func (*UpdateLabelConflict) IsCode ¶ added in v1.19.1
func (o *UpdateLabelConflict) IsCode(code int) bool
IsCode returns true when this update label conflict response a status code equal to that given
func (*UpdateLabelConflict) IsRedirect ¶ added in v1.19.1
func (o *UpdateLabelConflict) IsRedirect() bool
IsRedirect returns true when this update label conflict response has a 3xx status code
func (*UpdateLabelConflict) IsServerError ¶ added in v1.19.1
func (o *UpdateLabelConflict) IsServerError() bool
IsServerError returns true when this update label conflict response has a 5xx status code
func (*UpdateLabelConflict) IsSuccess ¶ added in v1.19.1
func (o *UpdateLabelConflict) IsSuccess() bool
IsSuccess returns true when this update label conflict response has a 2xx status code
func (*UpdateLabelConflict) String ¶ added in v1.19.1
func (o *UpdateLabelConflict) String() string
type UpdateLabelForbidden ¶
type UpdateLabelForbidden struct { }
UpdateLabelForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewUpdateLabelForbidden ¶
func NewUpdateLabelForbidden() *UpdateLabelForbidden
NewUpdateLabelForbidden creates a UpdateLabelForbidden with default headers values
func (*UpdateLabelForbidden) Error ¶
func (o *UpdateLabelForbidden) Error() string
func (*UpdateLabelForbidden) IsClientError ¶ added in v1.19.1
func (o *UpdateLabelForbidden) IsClientError() bool
IsClientError returns true when this update label forbidden response has a 4xx status code
func (*UpdateLabelForbidden) IsCode ¶ added in v1.19.1
func (o *UpdateLabelForbidden) IsCode(code int) bool
IsCode returns true when this update label forbidden response a status code equal to that given
func (*UpdateLabelForbidden) IsRedirect ¶ added in v1.19.1
func (o *UpdateLabelForbidden) IsRedirect() bool
IsRedirect returns true when this update label forbidden response has a 3xx status code
func (*UpdateLabelForbidden) IsServerError ¶ added in v1.19.1
func (o *UpdateLabelForbidden) IsServerError() bool
IsServerError returns true when this update label forbidden response has a 5xx status code
func (*UpdateLabelForbidden) IsSuccess ¶ added in v1.19.1
func (o *UpdateLabelForbidden) IsSuccess() bool
IsSuccess returns true when this update label forbidden response has a 2xx status code
func (*UpdateLabelForbidden) String ¶ added in v1.19.1
func (o *UpdateLabelForbidden) String() string
type UpdateLabelNotFound ¶
type UpdateLabelNotFound struct { }
UpdateLabelNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewUpdateLabelNotFound ¶
func NewUpdateLabelNotFound() *UpdateLabelNotFound
NewUpdateLabelNotFound creates a UpdateLabelNotFound with default headers values
func (*UpdateLabelNotFound) Error ¶
func (o *UpdateLabelNotFound) Error() string
func (*UpdateLabelNotFound) IsClientError ¶ added in v1.19.1
func (o *UpdateLabelNotFound) IsClientError() bool
IsClientError returns true when this update label not found response has a 4xx status code
func (*UpdateLabelNotFound) IsCode ¶ added in v1.19.1
func (o *UpdateLabelNotFound) IsCode(code int) bool
IsCode returns true when this update label not found response a status code equal to that given
func (*UpdateLabelNotFound) IsRedirect ¶ added in v1.19.1
func (o *UpdateLabelNotFound) IsRedirect() bool
IsRedirect returns true when this update label not found response has a 3xx status code
func (*UpdateLabelNotFound) IsServerError ¶ added in v1.19.1
func (o *UpdateLabelNotFound) IsServerError() bool
IsServerError returns true when this update label not found response has a 5xx status code
func (*UpdateLabelNotFound) IsSuccess ¶ added in v1.19.1
func (o *UpdateLabelNotFound) IsSuccess() bool
IsSuccess returns true when this update label not found response has a 2xx status code
func (*UpdateLabelNotFound) String ¶ added in v1.19.1
func (o *UpdateLabelNotFound) String() string
type UpdateLabelOK ¶
type UpdateLabelOK struct {
Payload *models.LabelEntity
}
UpdateLabelOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateLabelOK ¶
func NewUpdateLabelOK() *UpdateLabelOK
NewUpdateLabelOK creates a UpdateLabelOK with default headers values
func (*UpdateLabelOK) Error ¶
func (o *UpdateLabelOK) Error() string
func (*UpdateLabelOK) GetPayload ¶
func (o *UpdateLabelOK) GetPayload() *models.LabelEntity
func (*UpdateLabelOK) IsClientError ¶ added in v1.19.1
func (o *UpdateLabelOK) IsClientError() bool
IsClientError returns true when this update label o k response has a 4xx status code
func (*UpdateLabelOK) IsCode ¶ added in v1.19.1
func (o *UpdateLabelOK) IsCode(code int) bool
IsCode returns true when this update label o k response a status code equal to that given
func (*UpdateLabelOK) IsRedirect ¶ added in v1.19.1
func (o *UpdateLabelOK) IsRedirect() bool
IsRedirect returns true when this update label o k response has a 3xx status code
func (*UpdateLabelOK) IsServerError ¶ added in v1.19.1
func (o *UpdateLabelOK) IsServerError() bool
IsServerError returns true when this update label o k response has a 5xx status code
func (*UpdateLabelOK) IsSuccess ¶ added in v1.19.1
func (o *UpdateLabelOK) IsSuccess() bool
IsSuccess returns true when this update label o k response has a 2xx status code
func (*UpdateLabelOK) String ¶ added in v1.19.1
func (o *UpdateLabelOK) String() string
type UpdateLabelParams ¶
type UpdateLabelParams struct { /* Body. The label configuration details. */ Body *models.LabelEntity /* ID. The label id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLabelParams contains all the parameters to send to the API endpoint
for the update label operation. Typically these are written to a http.Request.
func NewUpdateLabelParams ¶
func NewUpdateLabelParams() *UpdateLabelParams
NewUpdateLabelParams creates a new UpdateLabelParams 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 NewUpdateLabelParamsWithContext ¶
func NewUpdateLabelParamsWithContext(ctx context.Context) *UpdateLabelParams
NewUpdateLabelParamsWithContext creates a new UpdateLabelParams object with the ability to set a context for a request.
func NewUpdateLabelParamsWithHTTPClient ¶
func NewUpdateLabelParamsWithHTTPClient(client *http.Client) *UpdateLabelParams
NewUpdateLabelParamsWithHTTPClient creates a new UpdateLabelParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLabelParamsWithTimeout ¶
func NewUpdateLabelParamsWithTimeout(timeout time.Duration) *UpdateLabelParams
NewUpdateLabelParamsWithTimeout creates a new UpdateLabelParams object with the ability to set a timeout on a request.
func (*UpdateLabelParams) SetBody ¶
func (o *UpdateLabelParams) SetBody(body *models.LabelEntity)
SetBody adds the body to the update label params
func (*UpdateLabelParams) SetContext ¶
func (o *UpdateLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the update label params
func (*UpdateLabelParams) SetDefaults ¶
func (o *UpdateLabelParams) SetDefaults()
SetDefaults hydrates default values in the update label params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLabelParams) SetHTTPClient ¶
func (o *UpdateLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update label params
func (*UpdateLabelParams) SetID ¶
func (o *UpdateLabelParams) SetID(id string)
SetID adds the id to the update label params
func (*UpdateLabelParams) SetTimeout ¶
func (o *UpdateLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update label params
func (*UpdateLabelParams) WithBody ¶
func (o *UpdateLabelParams) WithBody(body *models.LabelEntity) *UpdateLabelParams
WithBody adds the body to the update label params
func (*UpdateLabelParams) WithContext ¶
func (o *UpdateLabelParams) WithContext(ctx context.Context) *UpdateLabelParams
WithContext adds the context to the update label params
func (*UpdateLabelParams) WithDefaults ¶
func (o *UpdateLabelParams) WithDefaults() *UpdateLabelParams
WithDefaults hydrates default values in the update label params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLabelParams) WithHTTPClient ¶
func (o *UpdateLabelParams) WithHTTPClient(client *http.Client) *UpdateLabelParams
WithHTTPClient adds the HTTPClient to the update label params
func (*UpdateLabelParams) WithID ¶
func (o *UpdateLabelParams) WithID(id string) *UpdateLabelParams
WithID adds the id to the update label params
func (*UpdateLabelParams) WithTimeout ¶
func (o *UpdateLabelParams) WithTimeout(timeout time.Duration) *UpdateLabelParams
WithTimeout adds the timeout to the update label params
func (*UpdateLabelParams) WriteToRequest ¶
func (o *UpdateLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLabelReader ¶
type UpdateLabelReader struct {
// contains filtered or unexported fields
}
UpdateLabelReader is a Reader for the UpdateLabel structure.
func (*UpdateLabelReader) ReadResponse ¶
func (o *UpdateLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLabelUnauthorized ¶
type UpdateLabelUnauthorized struct { }
UpdateLabelUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewUpdateLabelUnauthorized ¶
func NewUpdateLabelUnauthorized() *UpdateLabelUnauthorized
NewUpdateLabelUnauthorized creates a UpdateLabelUnauthorized with default headers values
func (*UpdateLabelUnauthorized) Error ¶
func (o *UpdateLabelUnauthorized) Error() string
func (*UpdateLabelUnauthorized) IsClientError ¶ added in v1.19.1
func (o *UpdateLabelUnauthorized) IsClientError() bool
IsClientError returns true when this update label unauthorized response has a 4xx status code
func (*UpdateLabelUnauthorized) IsCode ¶ added in v1.19.1
func (o *UpdateLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this update label unauthorized response a status code equal to that given
func (*UpdateLabelUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *UpdateLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this update label unauthorized response has a 3xx status code
func (*UpdateLabelUnauthorized) IsServerError ¶ added in v1.19.1
func (o *UpdateLabelUnauthorized) IsServerError() bool
IsServerError returns true when this update label unauthorized response has a 5xx status code
func (*UpdateLabelUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *UpdateLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this update label unauthorized response has a 2xx status code
func (*UpdateLabelUnauthorized) String ¶ added in v1.19.1
func (o *UpdateLabelUnauthorized) String() string