templates

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 templates API

func (*Client) ExportTemplate

func (a *Client) ExportTemplate(params *ExportTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportTemplateOK, error)

ExportTemplate exports a template

func (*Client) RemoveTemplate

func (a *Client) RemoveTemplate(params *RemoveTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTemplateOK, error)

RemoveTemplate deletes a template

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 {
	ExportTemplate(params *ExportTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportTemplateOK, error)

	RemoveTemplate(params *RemoveTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTemplateOK, 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 templates API client.

type ExportTemplateBadRequest

type ExportTemplateBadRequest struct {
}

ExportTemplateBadRequest 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 NewExportTemplateBadRequest

func NewExportTemplateBadRequest() *ExportTemplateBadRequest

NewExportTemplateBadRequest creates a ExportTemplateBadRequest with default headers values

func (*ExportTemplateBadRequest) Error

func (o *ExportTemplateBadRequest) Error() string

func (*ExportTemplateBadRequest) IsClientError added in v1.19.1

func (o *ExportTemplateBadRequest) IsClientError() bool

IsClientError returns true when this export template bad request response has a 4xx status code

func (*ExportTemplateBadRequest) IsCode added in v1.19.1

func (o *ExportTemplateBadRequest) IsCode(code int) bool

IsCode returns true when this export template bad request response a status code equal to that given

func (*ExportTemplateBadRequest) IsRedirect added in v1.19.1

func (o *ExportTemplateBadRequest) IsRedirect() bool

IsRedirect returns true when this export template bad request response has a 3xx status code

func (*ExportTemplateBadRequest) IsServerError added in v1.19.1

func (o *ExportTemplateBadRequest) IsServerError() bool

IsServerError returns true when this export template bad request response has a 5xx status code

func (*ExportTemplateBadRequest) IsSuccess added in v1.19.1

func (o *ExportTemplateBadRequest) IsSuccess() bool

IsSuccess returns true when this export template bad request response has a 2xx status code

func (*ExportTemplateBadRequest) String added in v1.19.1

func (o *ExportTemplateBadRequest) String() string

type ExportTemplateConflict

type ExportTemplateConflict struct {
}

ExportTemplateConflict 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 NewExportTemplateConflict

func NewExportTemplateConflict() *ExportTemplateConflict

NewExportTemplateConflict creates a ExportTemplateConflict with default headers values

func (*ExportTemplateConflict) Error

func (o *ExportTemplateConflict) Error() string

func (*ExportTemplateConflict) IsClientError added in v1.19.1

func (o *ExportTemplateConflict) IsClientError() bool

IsClientError returns true when this export template conflict response has a 4xx status code

func (*ExportTemplateConflict) IsCode added in v1.19.1

func (o *ExportTemplateConflict) IsCode(code int) bool

IsCode returns true when this export template conflict response a status code equal to that given

func (*ExportTemplateConflict) IsRedirect added in v1.19.1

func (o *ExportTemplateConflict) IsRedirect() bool

IsRedirect returns true when this export template conflict response has a 3xx status code

func (*ExportTemplateConflict) IsServerError added in v1.19.1

func (o *ExportTemplateConflict) IsServerError() bool

IsServerError returns true when this export template conflict response has a 5xx status code

func (*ExportTemplateConflict) IsSuccess added in v1.19.1

func (o *ExportTemplateConflict) IsSuccess() bool

IsSuccess returns true when this export template conflict response has a 2xx status code

func (*ExportTemplateConflict) String added in v1.19.1

func (o *ExportTemplateConflict) String() string

type ExportTemplateForbidden

type ExportTemplateForbidden struct {
}

ExportTemplateForbidden describes a response with status code 403, with default header values.

Client is not authorized to make this request.

func NewExportTemplateForbidden

func NewExportTemplateForbidden() *ExportTemplateForbidden

NewExportTemplateForbidden creates a ExportTemplateForbidden with default headers values

func (*ExportTemplateForbidden) Error

func (o *ExportTemplateForbidden) Error() string

func (*ExportTemplateForbidden) IsClientError added in v1.19.1

func (o *ExportTemplateForbidden) IsClientError() bool

IsClientError returns true when this export template forbidden response has a 4xx status code

func (*ExportTemplateForbidden) IsCode added in v1.19.1

func (o *ExportTemplateForbidden) IsCode(code int) bool

IsCode returns true when this export template forbidden response a status code equal to that given

func (*ExportTemplateForbidden) IsRedirect added in v1.19.1

func (o *ExportTemplateForbidden) IsRedirect() bool

IsRedirect returns true when this export template forbidden response has a 3xx status code

func (*ExportTemplateForbidden) IsServerError added in v1.19.1

func (o *ExportTemplateForbidden) IsServerError() bool

IsServerError returns true when this export template forbidden response has a 5xx status code

func (*ExportTemplateForbidden) IsSuccess added in v1.19.1

func (o *ExportTemplateForbidden) IsSuccess() bool

IsSuccess returns true when this export template forbidden response has a 2xx status code

func (*ExportTemplateForbidden) String added in v1.19.1

func (o *ExportTemplateForbidden) String() string

type ExportTemplateNotFound

type ExportTemplateNotFound struct {
}

ExportTemplateNotFound describes a response with status code 404, with default header values.

The specified resource could not be found.

func NewExportTemplateNotFound

func NewExportTemplateNotFound() *ExportTemplateNotFound

NewExportTemplateNotFound creates a ExportTemplateNotFound with default headers values

func (*ExportTemplateNotFound) Error

func (o *ExportTemplateNotFound) Error() string

func (*ExportTemplateNotFound) IsClientError added in v1.19.1

func (o *ExportTemplateNotFound) IsClientError() bool

IsClientError returns true when this export template not found response has a 4xx status code

func (*ExportTemplateNotFound) IsCode added in v1.19.1

func (o *ExportTemplateNotFound) IsCode(code int) bool

IsCode returns true when this export template not found response a status code equal to that given

func (*ExportTemplateNotFound) IsRedirect added in v1.19.1

func (o *ExportTemplateNotFound) IsRedirect() bool

IsRedirect returns true when this export template not found response has a 3xx status code

func (*ExportTemplateNotFound) IsServerError added in v1.19.1

func (o *ExportTemplateNotFound) IsServerError() bool

IsServerError returns true when this export template not found response has a 5xx status code

func (*ExportTemplateNotFound) IsSuccess added in v1.19.1

func (o *ExportTemplateNotFound) IsSuccess() bool

IsSuccess returns true when this export template not found response has a 2xx status code

func (*ExportTemplateNotFound) String added in v1.19.1

func (o *ExportTemplateNotFound) String() string

type ExportTemplateOK

type ExportTemplateOK struct {
	Payload string
}

ExportTemplateOK describes a response with status code 200, with default header values.

successful operation

func NewExportTemplateOK

func NewExportTemplateOK() *ExportTemplateOK

NewExportTemplateOK creates a ExportTemplateOK with default headers values

func (*ExportTemplateOK) Error

func (o *ExportTemplateOK) Error() string

func (*ExportTemplateOK) GetPayload

func (o *ExportTemplateOK) GetPayload() string

func (*ExportTemplateOK) IsClientError added in v1.19.1

func (o *ExportTemplateOK) IsClientError() bool

IsClientError returns true when this export template o k response has a 4xx status code

func (*ExportTemplateOK) IsCode added in v1.19.1

func (o *ExportTemplateOK) IsCode(code int) bool

IsCode returns true when this export template o k response a status code equal to that given

func (*ExportTemplateOK) IsRedirect added in v1.19.1

func (o *ExportTemplateOK) IsRedirect() bool

IsRedirect returns true when this export template o k response has a 3xx status code

func (*ExportTemplateOK) IsServerError added in v1.19.1

func (o *ExportTemplateOK) IsServerError() bool

IsServerError returns true when this export template o k response has a 5xx status code

func (*ExportTemplateOK) IsSuccess added in v1.19.1

func (o *ExportTemplateOK) IsSuccess() bool

IsSuccess returns true when this export template o k response has a 2xx status code

func (*ExportTemplateOK) String added in v1.19.1

func (o *ExportTemplateOK) String() string

type ExportTemplateParams

type ExportTemplateParams struct {

	/* ID.

	   The template id.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExportTemplateParams contains all the parameters to send to the API endpoint

for the export template operation.

Typically these are written to a http.Request.

func NewExportTemplateParams

func NewExportTemplateParams() *ExportTemplateParams

NewExportTemplateParams creates a new ExportTemplateParams 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 NewExportTemplateParamsWithContext

func NewExportTemplateParamsWithContext(ctx context.Context) *ExportTemplateParams

NewExportTemplateParamsWithContext creates a new ExportTemplateParams object with the ability to set a context for a request.

func NewExportTemplateParamsWithHTTPClient

func NewExportTemplateParamsWithHTTPClient(client *http.Client) *ExportTemplateParams

NewExportTemplateParamsWithHTTPClient creates a new ExportTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewExportTemplateParamsWithTimeout

func NewExportTemplateParamsWithTimeout(timeout time.Duration) *ExportTemplateParams

NewExportTemplateParamsWithTimeout creates a new ExportTemplateParams object with the ability to set a timeout on a request.

func (*ExportTemplateParams) SetContext

func (o *ExportTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the export template params

func (*ExportTemplateParams) SetDefaults

func (o *ExportTemplateParams) SetDefaults()

SetDefaults hydrates default values in the export template params (not the query body).

All values with no default are reset to their zero value.

func (*ExportTemplateParams) SetHTTPClient

func (o *ExportTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the export template params

func (*ExportTemplateParams) SetID

func (o *ExportTemplateParams) SetID(id string)

SetID adds the id to the export template params

func (*ExportTemplateParams) SetTimeout

func (o *ExportTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the export template params

func (*ExportTemplateParams) WithContext

WithContext adds the context to the export template params

func (*ExportTemplateParams) WithDefaults

func (o *ExportTemplateParams) WithDefaults() *ExportTemplateParams

WithDefaults hydrates default values in the export template params (not the query body).

All values with no default are reset to their zero value.

func (*ExportTemplateParams) WithHTTPClient

func (o *ExportTemplateParams) WithHTTPClient(client *http.Client) *ExportTemplateParams

WithHTTPClient adds the HTTPClient to the export template params

func (*ExportTemplateParams) WithID

WithID adds the id to the export template params

func (*ExportTemplateParams) WithTimeout

func (o *ExportTemplateParams) WithTimeout(timeout time.Duration) *ExportTemplateParams

WithTimeout adds the timeout to the export template params

func (*ExportTemplateParams) WriteToRequest

func (o *ExportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExportTemplateReader

type ExportTemplateReader struct {
	// contains filtered or unexported fields
}

ExportTemplateReader is a Reader for the ExportTemplate structure.

func (*ExportTemplateReader) ReadResponse

func (o *ExportTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExportTemplateUnauthorized

type ExportTemplateUnauthorized struct {
}

ExportTemplateUnauthorized describes a response with status code 401, with default header values.

Client could not be authenticated.

func NewExportTemplateUnauthorized

func NewExportTemplateUnauthorized() *ExportTemplateUnauthorized

NewExportTemplateUnauthorized creates a ExportTemplateUnauthorized with default headers values

func (*ExportTemplateUnauthorized) Error

func (*ExportTemplateUnauthorized) IsClientError added in v1.19.1

func (o *ExportTemplateUnauthorized) IsClientError() bool

IsClientError returns true when this export template unauthorized response has a 4xx status code

func (*ExportTemplateUnauthorized) IsCode added in v1.19.1

func (o *ExportTemplateUnauthorized) IsCode(code int) bool

IsCode returns true when this export template unauthorized response a status code equal to that given

func (*ExportTemplateUnauthorized) IsRedirect added in v1.19.1

func (o *ExportTemplateUnauthorized) IsRedirect() bool

IsRedirect returns true when this export template unauthorized response has a 3xx status code

func (*ExportTemplateUnauthorized) IsServerError added in v1.19.1

func (o *ExportTemplateUnauthorized) IsServerError() bool

IsServerError returns true when this export template unauthorized response has a 5xx status code

func (*ExportTemplateUnauthorized) IsSuccess added in v1.19.1

func (o *ExportTemplateUnauthorized) IsSuccess() bool

IsSuccess returns true when this export template unauthorized response has a 2xx status code

func (*ExportTemplateUnauthorized) String added in v1.19.1

func (o *ExportTemplateUnauthorized) String() string

type RemoveTemplateBadRequest

type RemoveTemplateBadRequest struct {
}

RemoveTemplateBadRequest 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 NewRemoveTemplateBadRequest

func NewRemoveTemplateBadRequest() *RemoveTemplateBadRequest

NewRemoveTemplateBadRequest creates a RemoveTemplateBadRequest with default headers values

func (*RemoveTemplateBadRequest) Error

func (o *RemoveTemplateBadRequest) Error() string

func (*RemoveTemplateBadRequest) IsClientError added in v1.19.1

func (o *RemoveTemplateBadRequest) IsClientError() bool

IsClientError returns true when this remove template bad request response has a 4xx status code

func (*RemoveTemplateBadRequest) IsCode added in v1.19.1

func (o *RemoveTemplateBadRequest) IsCode(code int) bool

IsCode returns true when this remove template bad request response a status code equal to that given

func (*RemoveTemplateBadRequest) IsRedirect added in v1.19.1

func (o *RemoveTemplateBadRequest) IsRedirect() bool

IsRedirect returns true when this remove template bad request response has a 3xx status code

func (*RemoveTemplateBadRequest) IsServerError added in v1.19.1

func (o *RemoveTemplateBadRequest) IsServerError() bool

IsServerError returns true when this remove template bad request response has a 5xx status code

func (*RemoveTemplateBadRequest) IsSuccess added in v1.19.1

func (o *RemoveTemplateBadRequest) IsSuccess() bool

IsSuccess returns true when this remove template bad request response has a 2xx status code

func (*RemoveTemplateBadRequest) String added in v1.19.1

func (o *RemoveTemplateBadRequest) String() string

type RemoveTemplateConflict

type RemoveTemplateConflict struct {
}

RemoveTemplateConflict 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 NewRemoveTemplateConflict

func NewRemoveTemplateConflict() *RemoveTemplateConflict

NewRemoveTemplateConflict creates a RemoveTemplateConflict with default headers values

func (*RemoveTemplateConflict) Error

func (o *RemoveTemplateConflict) Error() string

func (*RemoveTemplateConflict) IsClientError added in v1.19.1

func (o *RemoveTemplateConflict) IsClientError() bool

IsClientError returns true when this remove template conflict response has a 4xx status code

func (*RemoveTemplateConflict) IsCode added in v1.19.1

func (o *RemoveTemplateConflict) IsCode(code int) bool

IsCode returns true when this remove template conflict response a status code equal to that given

func (*RemoveTemplateConflict) IsRedirect added in v1.19.1

func (o *RemoveTemplateConflict) IsRedirect() bool

IsRedirect returns true when this remove template conflict response has a 3xx status code

func (*RemoveTemplateConflict) IsServerError added in v1.19.1

func (o *RemoveTemplateConflict) IsServerError() bool

IsServerError returns true when this remove template conflict response has a 5xx status code

func (*RemoveTemplateConflict) IsSuccess added in v1.19.1

func (o *RemoveTemplateConflict) IsSuccess() bool

IsSuccess returns true when this remove template conflict response has a 2xx status code

func (*RemoveTemplateConflict) String added in v1.19.1

func (o *RemoveTemplateConflict) String() string

type RemoveTemplateForbidden

type RemoveTemplateForbidden struct {
}

RemoveTemplateForbidden describes a response with status code 403, with default header values.

Client is not authorized to make this request.

func NewRemoveTemplateForbidden

func NewRemoveTemplateForbidden() *RemoveTemplateForbidden

NewRemoveTemplateForbidden creates a RemoveTemplateForbidden with default headers values

func (*RemoveTemplateForbidden) Error

func (o *RemoveTemplateForbidden) Error() string

func (*RemoveTemplateForbidden) IsClientError added in v1.19.1

func (o *RemoveTemplateForbidden) IsClientError() bool

IsClientError returns true when this remove template forbidden response has a 4xx status code

func (*RemoveTemplateForbidden) IsCode added in v1.19.1

func (o *RemoveTemplateForbidden) IsCode(code int) bool

IsCode returns true when this remove template forbidden response a status code equal to that given

func (*RemoveTemplateForbidden) IsRedirect added in v1.19.1

func (o *RemoveTemplateForbidden) IsRedirect() bool

IsRedirect returns true when this remove template forbidden response has a 3xx status code

func (*RemoveTemplateForbidden) IsServerError added in v1.19.1

func (o *RemoveTemplateForbidden) IsServerError() bool

IsServerError returns true when this remove template forbidden response has a 5xx status code

func (*RemoveTemplateForbidden) IsSuccess added in v1.19.1

func (o *RemoveTemplateForbidden) IsSuccess() bool

IsSuccess returns true when this remove template forbidden response has a 2xx status code

func (*RemoveTemplateForbidden) String added in v1.19.1

func (o *RemoveTemplateForbidden) String() string

type RemoveTemplateNotFound

type RemoveTemplateNotFound struct {
}

RemoveTemplateNotFound describes a response with status code 404, with default header values.

The specified resource could not be found.

func NewRemoveTemplateNotFound

func NewRemoveTemplateNotFound() *RemoveTemplateNotFound

NewRemoveTemplateNotFound creates a RemoveTemplateNotFound with default headers values

func (*RemoveTemplateNotFound) Error

func (o *RemoveTemplateNotFound) Error() string

func (*RemoveTemplateNotFound) IsClientError added in v1.19.1

func (o *RemoveTemplateNotFound) IsClientError() bool

IsClientError returns true when this remove template not found response has a 4xx status code

func (*RemoveTemplateNotFound) IsCode added in v1.19.1

func (o *RemoveTemplateNotFound) IsCode(code int) bool

IsCode returns true when this remove template not found response a status code equal to that given

func (*RemoveTemplateNotFound) IsRedirect added in v1.19.1

func (o *RemoveTemplateNotFound) IsRedirect() bool

IsRedirect returns true when this remove template not found response has a 3xx status code

func (*RemoveTemplateNotFound) IsServerError added in v1.19.1

func (o *RemoveTemplateNotFound) IsServerError() bool

IsServerError returns true when this remove template not found response has a 5xx status code

func (*RemoveTemplateNotFound) IsSuccess added in v1.19.1

func (o *RemoveTemplateNotFound) IsSuccess() bool

IsSuccess returns true when this remove template not found response has a 2xx status code

func (*RemoveTemplateNotFound) String added in v1.19.1

func (o *RemoveTemplateNotFound) String() string

type RemoveTemplateOK

type RemoveTemplateOK struct {
	Payload *models.TemplateEntity
}

RemoveTemplateOK describes a response with status code 200, with default header values.

successful operation

func NewRemoveTemplateOK

func NewRemoveTemplateOK() *RemoveTemplateOK

NewRemoveTemplateOK creates a RemoveTemplateOK with default headers values

func (*RemoveTemplateOK) Error

func (o *RemoveTemplateOK) Error() string

func (*RemoveTemplateOK) GetPayload

func (o *RemoveTemplateOK) GetPayload() *models.TemplateEntity

func (*RemoveTemplateOK) IsClientError added in v1.19.1

func (o *RemoveTemplateOK) IsClientError() bool

IsClientError returns true when this remove template o k response has a 4xx status code

func (*RemoveTemplateOK) IsCode added in v1.19.1

func (o *RemoveTemplateOK) IsCode(code int) bool

IsCode returns true when this remove template o k response a status code equal to that given

func (*RemoveTemplateOK) IsRedirect added in v1.19.1

func (o *RemoveTemplateOK) IsRedirect() bool

IsRedirect returns true when this remove template o k response has a 3xx status code

func (*RemoveTemplateOK) IsServerError added in v1.19.1

func (o *RemoveTemplateOK) IsServerError() bool

IsServerError returns true when this remove template o k response has a 5xx status code

func (*RemoveTemplateOK) IsSuccess added in v1.19.1

func (o *RemoveTemplateOK) IsSuccess() bool

IsSuccess returns true when this remove template o k response has a 2xx status code

func (*RemoveTemplateOK) String added in v1.19.1

func (o *RemoveTemplateOK) String() string

type RemoveTemplateParams

type RemoveTemplateParams struct {

	/* DisconnectedNodeAcknowledged.

	   Acknowledges that this node is disconnected to allow for mutable requests to proceed.
	*/
	DisconnectedNodeAcknowledged *bool

	/* ID.

	   The template id.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveTemplateParams contains all the parameters to send to the API endpoint

for the remove template operation.

Typically these are written to a http.Request.

func NewRemoveTemplateParams

func NewRemoveTemplateParams() *RemoveTemplateParams

NewRemoveTemplateParams creates a new RemoveTemplateParams 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 NewRemoveTemplateParamsWithContext

func NewRemoveTemplateParamsWithContext(ctx context.Context) *RemoveTemplateParams

NewRemoveTemplateParamsWithContext creates a new RemoveTemplateParams object with the ability to set a context for a request.

func NewRemoveTemplateParamsWithHTTPClient

func NewRemoveTemplateParamsWithHTTPClient(client *http.Client) *RemoveTemplateParams

NewRemoveTemplateParamsWithHTTPClient creates a new RemoveTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveTemplateParamsWithTimeout

func NewRemoveTemplateParamsWithTimeout(timeout time.Duration) *RemoveTemplateParams

NewRemoveTemplateParamsWithTimeout creates a new RemoveTemplateParams object with the ability to set a timeout on a request.

func (*RemoveTemplateParams) SetContext

func (o *RemoveTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the remove template params

func (*RemoveTemplateParams) SetDefaults

func (o *RemoveTemplateParams) SetDefaults()

SetDefaults hydrates default values in the remove template params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveTemplateParams) SetDisconnectedNodeAcknowledged

func (o *RemoveTemplateParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)

SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove template params

func (*RemoveTemplateParams) SetHTTPClient

func (o *RemoveTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove template params

func (*RemoveTemplateParams) SetID

func (o *RemoveTemplateParams) SetID(id string)

SetID adds the id to the remove template params

func (*RemoveTemplateParams) SetTimeout

func (o *RemoveTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove template params

func (*RemoveTemplateParams) WithContext

WithContext adds the context to the remove template params

func (*RemoveTemplateParams) WithDefaults

func (o *RemoveTemplateParams) WithDefaults() *RemoveTemplateParams

WithDefaults hydrates default values in the remove template params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveTemplateParams) WithDisconnectedNodeAcknowledged

func (o *RemoveTemplateParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveTemplateParams

WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove template params

func (*RemoveTemplateParams) WithHTTPClient

func (o *RemoveTemplateParams) WithHTTPClient(client *http.Client) *RemoveTemplateParams

WithHTTPClient adds the HTTPClient to the remove template params

func (*RemoveTemplateParams) WithID

WithID adds the id to the remove template params

func (*RemoveTemplateParams) WithTimeout

func (o *RemoveTemplateParams) WithTimeout(timeout time.Duration) *RemoveTemplateParams

WithTimeout adds the timeout to the remove template params

func (*RemoveTemplateParams) WriteToRequest

func (o *RemoveTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveTemplateReader

type RemoveTemplateReader struct {
	// contains filtered or unexported fields
}

RemoveTemplateReader is a Reader for the RemoveTemplate structure.

func (*RemoveTemplateReader) ReadResponse

func (o *RemoveTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveTemplateUnauthorized

type RemoveTemplateUnauthorized struct {
}

RemoveTemplateUnauthorized describes a response with status code 401, with default header values.

Client could not be authenticated.

func NewRemoveTemplateUnauthorized

func NewRemoveTemplateUnauthorized() *RemoveTemplateUnauthorized

NewRemoveTemplateUnauthorized creates a RemoveTemplateUnauthorized with default headers values

func (*RemoveTemplateUnauthorized) Error

func (*RemoveTemplateUnauthorized) IsClientError added in v1.19.1

func (o *RemoveTemplateUnauthorized) IsClientError() bool

IsClientError returns true when this remove template unauthorized response has a 4xx status code

func (*RemoveTemplateUnauthorized) IsCode added in v1.19.1

func (o *RemoveTemplateUnauthorized) IsCode(code int) bool

IsCode returns true when this remove template unauthorized response a status code equal to that given

func (*RemoveTemplateUnauthorized) IsRedirect added in v1.19.1

func (o *RemoveTemplateUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove template unauthorized response has a 3xx status code

func (*RemoveTemplateUnauthorized) IsServerError added in v1.19.1

func (o *RemoveTemplateUnauthorized) IsServerError() bool

IsServerError returns true when this remove template unauthorized response has a 5xx status code

func (*RemoveTemplateUnauthorized) IsSuccess added in v1.19.1

func (o *RemoveTemplateUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove template unauthorized response has a 2xx status code

func (*RemoveTemplateUnauthorized) String added in v1.19.1

func (o *RemoveTemplateUnauthorized) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL