terminator

package
v0.24.11 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

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

func (*Client) CreateTerminator

func (a *Client) CreateTerminator(params *CreateTerminatorParams, opts ...ClientOption) (*CreateTerminatorCreated, error)

CreateTerminator creates a terminator resource

Create a terminator resource. Requires admin access.

func (*Client) DeleteTerminator

func (a *Client) DeleteTerminator(params *DeleteTerminatorParams, opts ...ClientOption) (*DeleteTerminatorOK, error)

DeleteTerminator deletes a terminator

Delete a terminator by id. Requires admin access.

func (*Client) DetailTerminator

func (a *Client) DetailTerminator(params *DetailTerminatorParams, opts ...ClientOption) (*DetailTerminatorOK, error)

DetailTerminator retrieves a single terminator

Retrieves a single terminator by id. Requires admin access.

func (*Client) ListTerminators

func (a *Client) ListTerminators(params *ListTerminatorsParams, opts ...ClientOption) (*ListTerminatorsOK, error)

ListTerminators lists terminators

Retrieves a list of terminator resources; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) PatchTerminator

func (a *Client) PatchTerminator(params *PatchTerminatorParams, opts ...ClientOption) (*PatchTerminatorOK, error)

PatchTerminator updates the supplied fields on a terminator

Update the supplied fields on a terminator. Requires admin access.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateTerminator

func (a *Client) UpdateTerminator(params *UpdateTerminatorParams, opts ...ClientOption) (*UpdateTerminatorOK, error)

UpdateTerminator updates all fields on a terminator

Update all fields on a terminator by id. Requires admin access.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateTerminator(params *CreateTerminatorParams, opts ...ClientOption) (*CreateTerminatorCreated, error)

	DeleteTerminator(params *DeleteTerminatorParams, opts ...ClientOption) (*DeleteTerminatorOK, error)

	DetailTerminator(params *DetailTerminatorParams, opts ...ClientOption) (*DetailTerminatorOK, error)

	ListTerminators(params *ListTerminatorsParams, opts ...ClientOption) (*ListTerminatorsOK, error)

	PatchTerminator(params *PatchTerminatorParams, opts ...ClientOption) (*PatchTerminatorOK, error)

	UpdateTerminator(params *UpdateTerminatorParams, opts ...ClientOption) (*UpdateTerminatorOK, 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 terminator API client.

type CreateTerminatorBadRequest

type CreateTerminatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

CreateTerminatorBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateTerminatorBadRequest

func NewCreateTerminatorBadRequest() *CreateTerminatorBadRequest

NewCreateTerminatorBadRequest creates a CreateTerminatorBadRequest with default headers values

func (*CreateTerminatorBadRequest) Code

func (o *CreateTerminatorBadRequest) Code() int

Code gets the status code for the create terminator bad request response

func (*CreateTerminatorBadRequest) Error

func (*CreateTerminatorBadRequest) GetPayload

func (*CreateTerminatorBadRequest) IsClientError

func (o *CreateTerminatorBadRequest) IsClientError() bool

IsClientError returns true when this create terminator bad request response has a 4xx status code

func (*CreateTerminatorBadRequest) IsCode

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

IsCode returns true when this create terminator bad request response a status code equal to that given

func (*CreateTerminatorBadRequest) IsRedirect

func (o *CreateTerminatorBadRequest) IsRedirect() bool

IsRedirect returns true when this create terminator bad request response has a 3xx status code

func (*CreateTerminatorBadRequest) IsServerError

func (o *CreateTerminatorBadRequest) IsServerError() bool

IsServerError returns true when this create terminator bad request response has a 5xx status code

func (*CreateTerminatorBadRequest) IsSuccess

func (o *CreateTerminatorBadRequest) IsSuccess() bool

IsSuccess returns true when this create terminator bad request response has a 2xx status code

func (*CreateTerminatorBadRequest) String

func (o *CreateTerminatorBadRequest) String() string

type CreateTerminatorCreated

type CreateTerminatorCreated struct {
	Payload *rest_model.CreateEnvelope
}

CreateTerminatorCreated describes a response with status code 201, with default header values.

The create request was successful and the resource has been added at the following location

func NewCreateTerminatorCreated

func NewCreateTerminatorCreated() *CreateTerminatorCreated

NewCreateTerminatorCreated creates a CreateTerminatorCreated with default headers values

func (*CreateTerminatorCreated) Code

func (o *CreateTerminatorCreated) Code() int

Code gets the status code for the create terminator created response

func (*CreateTerminatorCreated) Error

func (o *CreateTerminatorCreated) Error() string

func (*CreateTerminatorCreated) GetPayload

func (*CreateTerminatorCreated) IsClientError

func (o *CreateTerminatorCreated) IsClientError() bool

IsClientError returns true when this create terminator created response has a 4xx status code

func (*CreateTerminatorCreated) IsCode

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

IsCode returns true when this create terminator created response a status code equal to that given

func (*CreateTerminatorCreated) IsRedirect

func (o *CreateTerminatorCreated) IsRedirect() bool

IsRedirect returns true when this create terminator created response has a 3xx status code

func (*CreateTerminatorCreated) IsServerError

func (o *CreateTerminatorCreated) IsServerError() bool

IsServerError returns true when this create terminator created response has a 5xx status code

func (*CreateTerminatorCreated) IsSuccess

func (o *CreateTerminatorCreated) IsSuccess() bool

IsSuccess returns true when this create terminator created response has a 2xx status code

func (*CreateTerminatorCreated) String

func (o *CreateTerminatorCreated) String() string

type CreateTerminatorParams

type CreateTerminatorParams struct {

	/* Terminator.

	   A terminator to create
	*/
	Terminator *rest_model.TerminatorCreate

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

CreateTerminatorParams contains all the parameters to send to the API endpoint

for the create terminator operation.

Typically these are written to a http.Request.

func NewCreateTerminatorParams

func NewCreateTerminatorParams() *CreateTerminatorParams

NewCreateTerminatorParams creates a new CreateTerminatorParams 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 NewCreateTerminatorParamsWithContext

func NewCreateTerminatorParamsWithContext(ctx context.Context) *CreateTerminatorParams

NewCreateTerminatorParamsWithContext creates a new CreateTerminatorParams object with the ability to set a context for a request.

func NewCreateTerminatorParamsWithHTTPClient

func NewCreateTerminatorParamsWithHTTPClient(client *http.Client) *CreateTerminatorParams

NewCreateTerminatorParamsWithHTTPClient creates a new CreateTerminatorParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTerminatorParamsWithTimeout

func NewCreateTerminatorParamsWithTimeout(timeout time.Duration) *CreateTerminatorParams

NewCreateTerminatorParamsWithTimeout creates a new CreateTerminatorParams object with the ability to set a timeout on a request.

func (*CreateTerminatorParams) SetContext

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

SetContext adds the context to the create terminator params

func (*CreateTerminatorParams) SetDefaults

func (o *CreateTerminatorParams) SetDefaults()

SetDefaults hydrates default values in the create terminator params (not the query body).

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

func (*CreateTerminatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create terminator params

func (*CreateTerminatorParams) SetTerminator

func (o *CreateTerminatorParams) SetTerminator(terminator *rest_model.TerminatorCreate)

SetTerminator adds the terminator to the create terminator params

func (*CreateTerminatorParams) SetTimeout

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

SetTimeout adds the timeout to the create terminator params

func (*CreateTerminatorParams) WithContext

WithContext adds the context to the create terminator params

func (*CreateTerminatorParams) WithDefaults

WithDefaults hydrates default values in the create terminator params (not the query body).

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

func (*CreateTerminatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create terminator params

func (*CreateTerminatorParams) WithTerminator

WithTerminator adds the terminator to the create terminator params

func (*CreateTerminatorParams) WithTimeout

WithTimeout adds the timeout to the create terminator params

func (*CreateTerminatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTerminatorReader

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

CreateTerminatorReader is a Reader for the CreateTerminator structure.

func (*CreateTerminatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTerminatorUnauthorized

type CreateTerminatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The currently supplied session does not have the correct access rights to request this resource

func NewCreateTerminatorUnauthorized

func NewCreateTerminatorUnauthorized() *CreateTerminatorUnauthorized

NewCreateTerminatorUnauthorized creates a CreateTerminatorUnauthorized with default headers values

func (*CreateTerminatorUnauthorized) Code

Code gets the status code for the create terminator unauthorized response

func (*CreateTerminatorUnauthorized) Error

func (*CreateTerminatorUnauthorized) GetPayload

func (*CreateTerminatorUnauthorized) IsClientError

func (o *CreateTerminatorUnauthorized) IsClientError() bool

IsClientError returns true when this create terminator unauthorized response has a 4xx status code

func (*CreateTerminatorUnauthorized) IsCode

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

IsCode returns true when this create terminator unauthorized response a status code equal to that given

func (*CreateTerminatorUnauthorized) IsRedirect

func (o *CreateTerminatorUnauthorized) IsRedirect() bool

IsRedirect returns true when this create terminator unauthorized response has a 3xx status code

func (*CreateTerminatorUnauthorized) IsServerError

func (o *CreateTerminatorUnauthorized) IsServerError() bool

IsServerError returns true when this create terminator unauthorized response has a 5xx status code

func (*CreateTerminatorUnauthorized) IsSuccess

func (o *CreateTerminatorUnauthorized) IsSuccess() bool

IsSuccess returns true when this create terminator unauthorized response has a 2xx status code

func (*CreateTerminatorUnauthorized) String

type DeleteTerminatorBadRequest

type DeleteTerminatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteTerminatorBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteTerminatorBadRequest

func NewDeleteTerminatorBadRequest() *DeleteTerminatorBadRequest

NewDeleteTerminatorBadRequest creates a DeleteTerminatorBadRequest with default headers values

func (*DeleteTerminatorBadRequest) Code

func (o *DeleteTerminatorBadRequest) Code() int

Code gets the status code for the delete terminator bad request response

func (*DeleteTerminatorBadRequest) Error

func (*DeleteTerminatorBadRequest) GetPayload

func (*DeleteTerminatorBadRequest) IsClientError

func (o *DeleteTerminatorBadRequest) IsClientError() bool

IsClientError returns true when this delete terminator bad request response has a 4xx status code

func (*DeleteTerminatorBadRequest) IsCode

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

IsCode returns true when this delete terminator bad request response a status code equal to that given

func (*DeleteTerminatorBadRequest) IsRedirect

func (o *DeleteTerminatorBadRequest) IsRedirect() bool

IsRedirect returns true when this delete terminator bad request response has a 3xx status code

func (*DeleteTerminatorBadRequest) IsServerError

func (o *DeleteTerminatorBadRequest) IsServerError() bool

IsServerError returns true when this delete terminator bad request response has a 5xx status code

func (*DeleteTerminatorBadRequest) IsSuccess

func (o *DeleteTerminatorBadRequest) IsSuccess() bool

IsSuccess returns true when this delete terminator bad request response has a 2xx status code

func (*DeleteTerminatorBadRequest) String

func (o *DeleteTerminatorBadRequest) String() string

type DeleteTerminatorConflict

type DeleteTerminatorConflict struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteTerminatorConflict describes a response with status code 409, with default header values.

The resource requested to be removed/altered cannot be as it is referenced by another object.

func NewDeleteTerminatorConflict

func NewDeleteTerminatorConflict() *DeleteTerminatorConflict

NewDeleteTerminatorConflict creates a DeleteTerminatorConflict with default headers values

func (*DeleteTerminatorConflict) Code

func (o *DeleteTerminatorConflict) Code() int

Code gets the status code for the delete terminator conflict response

func (*DeleteTerminatorConflict) Error

func (o *DeleteTerminatorConflict) Error() string

func (*DeleteTerminatorConflict) GetPayload

func (*DeleteTerminatorConflict) IsClientError

func (o *DeleteTerminatorConflict) IsClientError() bool

IsClientError returns true when this delete terminator conflict response has a 4xx status code

func (*DeleteTerminatorConflict) IsCode

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

IsCode returns true when this delete terminator conflict response a status code equal to that given

func (*DeleteTerminatorConflict) IsRedirect

func (o *DeleteTerminatorConflict) IsRedirect() bool

IsRedirect returns true when this delete terminator conflict response has a 3xx status code

func (*DeleteTerminatorConflict) IsServerError

func (o *DeleteTerminatorConflict) IsServerError() bool

IsServerError returns true when this delete terminator conflict response has a 5xx status code

func (*DeleteTerminatorConflict) IsSuccess

func (o *DeleteTerminatorConflict) IsSuccess() bool

IsSuccess returns true when this delete terminator conflict response has a 2xx status code

func (*DeleteTerminatorConflict) String

func (o *DeleteTerminatorConflict) String() string

type DeleteTerminatorOK

type DeleteTerminatorOK struct {
	Payload *rest_model.Empty
}

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

The delete request was successful and the resource has been removed

func NewDeleteTerminatorOK

func NewDeleteTerminatorOK() *DeleteTerminatorOK

NewDeleteTerminatorOK creates a DeleteTerminatorOK with default headers values

func (*DeleteTerminatorOK) Code

func (o *DeleteTerminatorOK) Code() int

Code gets the status code for the delete terminator o k response

func (*DeleteTerminatorOK) Error

func (o *DeleteTerminatorOK) Error() string

func (*DeleteTerminatorOK) GetPayload

func (o *DeleteTerminatorOK) GetPayload() *rest_model.Empty

func (*DeleteTerminatorOK) IsClientError

func (o *DeleteTerminatorOK) IsClientError() bool

IsClientError returns true when this delete terminator o k response has a 4xx status code

func (*DeleteTerminatorOK) IsCode

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

IsCode returns true when this delete terminator o k response a status code equal to that given

func (*DeleteTerminatorOK) IsRedirect

func (o *DeleteTerminatorOK) IsRedirect() bool

IsRedirect returns true when this delete terminator o k response has a 3xx status code

func (*DeleteTerminatorOK) IsServerError

func (o *DeleteTerminatorOK) IsServerError() bool

IsServerError returns true when this delete terminator o k response has a 5xx status code

func (*DeleteTerminatorOK) IsSuccess

func (o *DeleteTerminatorOK) IsSuccess() bool

IsSuccess returns true when this delete terminator o k response has a 2xx status code

func (*DeleteTerminatorOK) String

func (o *DeleteTerminatorOK) String() string

type DeleteTerminatorParams

type DeleteTerminatorParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteTerminatorParams contains all the parameters to send to the API endpoint

for the delete terminator operation.

Typically these are written to a http.Request.

func NewDeleteTerminatorParams

func NewDeleteTerminatorParams() *DeleteTerminatorParams

NewDeleteTerminatorParams creates a new DeleteTerminatorParams 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 NewDeleteTerminatorParamsWithContext

func NewDeleteTerminatorParamsWithContext(ctx context.Context) *DeleteTerminatorParams

NewDeleteTerminatorParamsWithContext creates a new DeleteTerminatorParams object with the ability to set a context for a request.

func NewDeleteTerminatorParamsWithHTTPClient

func NewDeleteTerminatorParamsWithHTTPClient(client *http.Client) *DeleteTerminatorParams

NewDeleteTerminatorParamsWithHTTPClient creates a new DeleteTerminatorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTerminatorParamsWithTimeout

func NewDeleteTerminatorParamsWithTimeout(timeout time.Duration) *DeleteTerminatorParams

NewDeleteTerminatorParamsWithTimeout creates a new DeleteTerminatorParams object with the ability to set a timeout on a request.

func (*DeleteTerminatorParams) SetContext

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

SetContext adds the context to the delete terminator params

func (*DeleteTerminatorParams) SetDefaults

func (o *DeleteTerminatorParams) SetDefaults()

SetDefaults hydrates default values in the delete terminator params (not the query body).

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

func (*DeleteTerminatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete terminator params

func (*DeleteTerminatorParams) SetID

func (o *DeleteTerminatorParams) SetID(id string)

SetID adds the id to the delete terminator params

func (*DeleteTerminatorParams) SetTimeout

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

SetTimeout adds the timeout to the delete terminator params

func (*DeleteTerminatorParams) WithContext

WithContext adds the context to the delete terminator params

func (*DeleteTerminatorParams) WithDefaults

WithDefaults hydrates default values in the delete terminator params (not the query body).

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

func (*DeleteTerminatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete terminator params

func (*DeleteTerminatorParams) WithID

WithID adds the id to the delete terminator params

func (*DeleteTerminatorParams) WithTimeout

WithTimeout adds the timeout to the delete terminator params

func (*DeleteTerminatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTerminatorReader

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

DeleteTerminatorReader is a Reader for the DeleteTerminator structure.

func (*DeleteTerminatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTerminatorUnauthorized

type DeleteTerminatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteTerminatorUnauthorized

func NewDeleteTerminatorUnauthorized() *DeleteTerminatorUnauthorized

NewDeleteTerminatorUnauthorized creates a DeleteTerminatorUnauthorized with default headers values

func (*DeleteTerminatorUnauthorized) Code

Code gets the status code for the delete terminator unauthorized response

func (*DeleteTerminatorUnauthorized) Error

func (*DeleteTerminatorUnauthorized) GetPayload

func (*DeleteTerminatorUnauthorized) IsClientError

func (o *DeleteTerminatorUnauthorized) IsClientError() bool

IsClientError returns true when this delete terminator unauthorized response has a 4xx status code

func (*DeleteTerminatorUnauthorized) IsCode

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

IsCode returns true when this delete terminator unauthorized response a status code equal to that given

func (*DeleteTerminatorUnauthorized) IsRedirect

func (o *DeleteTerminatorUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete terminator unauthorized response has a 3xx status code

func (*DeleteTerminatorUnauthorized) IsServerError

func (o *DeleteTerminatorUnauthorized) IsServerError() bool

IsServerError returns true when this delete terminator unauthorized response has a 5xx status code

func (*DeleteTerminatorUnauthorized) IsSuccess

func (o *DeleteTerminatorUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete terminator unauthorized response has a 2xx status code

func (*DeleteTerminatorUnauthorized) String

type DetailTerminatorNotFound

type DetailTerminatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewDetailTerminatorNotFound

func NewDetailTerminatorNotFound() *DetailTerminatorNotFound

NewDetailTerminatorNotFound creates a DetailTerminatorNotFound with default headers values

func (*DetailTerminatorNotFound) Code

func (o *DetailTerminatorNotFound) Code() int

Code gets the status code for the detail terminator not found response

func (*DetailTerminatorNotFound) Error

func (o *DetailTerminatorNotFound) Error() string

func (*DetailTerminatorNotFound) GetPayload

func (*DetailTerminatorNotFound) IsClientError

func (o *DetailTerminatorNotFound) IsClientError() bool

IsClientError returns true when this detail terminator not found response has a 4xx status code

func (*DetailTerminatorNotFound) IsCode

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

IsCode returns true when this detail terminator not found response a status code equal to that given

func (*DetailTerminatorNotFound) IsRedirect

func (o *DetailTerminatorNotFound) IsRedirect() bool

IsRedirect returns true when this detail terminator not found response has a 3xx status code

func (*DetailTerminatorNotFound) IsServerError

func (o *DetailTerminatorNotFound) IsServerError() bool

IsServerError returns true when this detail terminator not found response has a 5xx status code

func (*DetailTerminatorNotFound) IsSuccess

func (o *DetailTerminatorNotFound) IsSuccess() bool

IsSuccess returns true when this detail terminator not found response has a 2xx status code

func (*DetailTerminatorNotFound) String

func (o *DetailTerminatorNotFound) String() string

type DetailTerminatorOK

type DetailTerminatorOK struct {
	Payload *rest_model.DetailTerminatorEnvelope
}

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

A single terminator

func NewDetailTerminatorOK

func NewDetailTerminatorOK() *DetailTerminatorOK

NewDetailTerminatorOK creates a DetailTerminatorOK with default headers values

func (*DetailTerminatorOK) Code

func (o *DetailTerminatorOK) Code() int

Code gets the status code for the detail terminator o k response

func (*DetailTerminatorOK) Error

func (o *DetailTerminatorOK) Error() string

func (*DetailTerminatorOK) GetPayload

func (*DetailTerminatorOK) IsClientError

func (o *DetailTerminatorOK) IsClientError() bool

IsClientError returns true when this detail terminator o k response has a 4xx status code

func (*DetailTerminatorOK) IsCode

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

IsCode returns true when this detail terminator o k response a status code equal to that given

func (*DetailTerminatorOK) IsRedirect

func (o *DetailTerminatorOK) IsRedirect() bool

IsRedirect returns true when this detail terminator o k response has a 3xx status code

func (*DetailTerminatorOK) IsServerError

func (o *DetailTerminatorOK) IsServerError() bool

IsServerError returns true when this detail terminator o k response has a 5xx status code

func (*DetailTerminatorOK) IsSuccess

func (o *DetailTerminatorOK) IsSuccess() bool

IsSuccess returns true when this detail terminator o k response has a 2xx status code

func (*DetailTerminatorOK) String

func (o *DetailTerminatorOK) String() string

type DetailTerminatorParams

type DetailTerminatorParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailTerminatorParams contains all the parameters to send to the API endpoint

for the detail terminator operation.

Typically these are written to a http.Request.

func NewDetailTerminatorParams

func NewDetailTerminatorParams() *DetailTerminatorParams

NewDetailTerminatorParams creates a new DetailTerminatorParams 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 NewDetailTerminatorParamsWithContext

func NewDetailTerminatorParamsWithContext(ctx context.Context) *DetailTerminatorParams

NewDetailTerminatorParamsWithContext creates a new DetailTerminatorParams object with the ability to set a context for a request.

func NewDetailTerminatorParamsWithHTTPClient

func NewDetailTerminatorParamsWithHTTPClient(client *http.Client) *DetailTerminatorParams

NewDetailTerminatorParamsWithHTTPClient creates a new DetailTerminatorParams object with the ability to set a custom HTTPClient for a request.

func NewDetailTerminatorParamsWithTimeout

func NewDetailTerminatorParamsWithTimeout(timeout time.Duration) *DetailTerminatorParams

NewDetailTerminatorParamsWithTimeout creates a new DetailTerminatorParams object with the ability to set a timeout on a request.

func (*DetailTerminatorParams) SetContext

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

SetContext adds the context to the detail terminator params

func (*DetailTerminatorParams) SetDefaults

func (o *DetailTerminatorParams) SetDefaults()

SetDefaults hydrates default values in the detail terminator params (not the query body).

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

func (*DetailTerminatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail terminator params

func (*DetailTerminatorParams) SetID

func (o *DetailTerminatorParams) SetID(id string)

SetID adds the id to the detail terminator params

func (*DetailTerminatorParams) SetTimeout

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

SetTimeout adds the timeout to the detail terminator params

func (*DetailTerminatorParams) WithContext

WithContext adds the context to the detail terminator params

func (*DetailTerminatorParams) WithDefaults

WithDefaults hydrates default values in the detail terminator params (not the query body).

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

func (*DetailTerminatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail terminator params

func (*DetailTerminatorParams) WithID

WithID adds the id to the detail terminator params

func (*DetailTerminatorParams) WithTimeout

WithTimeout adds the timeout to the detail terminator params

func (*DetailTerminatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailTerminatorReader

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

DetailTerminatorReader is a Reader for the DetailTerminator structure.

func (*DetailTerminatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailTerminatorUnauthorized

type DetailTerminatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The currently supplied session does not have the correct access rights to request this resource

func NewDetailTerminatorUnauthorized

func NewDetailTerminatorUnauthorized() *DetailTerminatorUnauthorized

NewDetailTerminatorUnauthorized creates a DetailTerminatorUnauthorized with default headers values

func (*DetailTerminatorUnauthorized) Code

Code gets the status code for the detail terminator unauthorized response

func (*DetailTerminatorUnauthorized) Error

func (*DetailTerminatorUnauthorized) GetPayload

func (*DetailTerminatorUnauthorized) IsClientError

func (o *DetailTerminatorUnauthorized) IsClientError() bool

IsClientError returns true when this detail terminator unauthorized response has a 4xx status code

func (*DetailTerminatorUnauthorized) IsCode

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

IsCode returns true when this detail terminator unauthorized response a status code equal to that given

func (*DetailTerminatorUnauthorized) IsRedirect

func (o *DetailTerminatorUnauthorized) IsRedirect() bool

IsRedirect returns true when this detail terminator unauthorized response has a 3xx status code

func (*DetailTerminatorUnauthorized) IsServerError

func (o *DetailTerminatorUnauthorized) IsServerError() bool

IsServerError returns true when this detail terminator unauthorized response has a 5xx status code

func (*DetailTerminatorUnauthorized) IsSuccess

func (o *DetailTerminatorUnauthorized) IsSuccess() bool

IsSuccess returns true when this detail terminator unauthorized response has a 2xx status code

func (*DetailTerminatorUnauthorized) String

type ListTerminatorsBadRequest

type ListTerminatorsBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

ListTerminatorsBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListTerminatorsBadRequest

func NewListTerminatorsBadRequest() *ListTerminatorsBadRequest

NewListTerminatorsBadRequest creates a ListTerminatorsBadRequest with default headers values

func (*ListTerminatorsBadRequest) Code

func (o *ListTerminatorsBadRequest) Code() int

Code gets the status code for the list terminators bad request response

func (*ListTerminatorsBadRequest) Error

func (o *ListTerminatorsBadRequest) Error() string

func (*ListTerminatorsBadRequest) GetPayload

func (*ListTerminatorsBadRequest) IsClientError

func (o *ListTerminatorsBadRequest) IsClientError() bool

IsClientError returns true when this list terminators bad request response has a 4xx status code

func (*ListTerminatorsBadRequest) IsCode

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

IsCode returns true when this list terminators bad request response a status code equal to that given

func (*ListTerminatorsBadRequest) IsRedirect

func (o *ListTerminatorsBadRequest) IsRedirect() bool

IsRedirect returns true when this list terminators bad request response has a 3xx status code

func (*ListTerminatorsBadRequest) IsServerError

func (o *ListTerminatorsBadRequest) IsServerError() bool

IsServerError returns true when this list terminators bad request response has a 5xx status code

func (*ListTerminatorsBadRequest) IsSuccess

func (o *ListTerminatorsBadRequest) IsSuccess() bool

IsSuccess returns true when this list terminators bad request response has a 2xx status code

func (*ListTerminatorsBadRequest) String

func (o *ListTerminatorsBadRequest) String() string

type ListTerminatorsOK

type ListTerminatorsOK struct {
	Payload *rest_model.ListTerminatorsEnvelope
}

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

A list of terminators

func NewListTerminatorsOK

func NewListTerminatorsOK() *ListTerminatorsOK

NewListTerminatorsOK creates a ListTerminatorsOK with default headers values

func (*ListTerminatorsOK) Code

func (o *ListTerminatorsOK) Code() int

Code gets the status code for the list terminators o k response

func (*ListTerminatorsOK) Error

func (o *ListTerminatorsOK) Error() string

func (*ListTerminatorsOK) GetPayload

func (*ListTerminatorsOK) IsClientError

func (o *ListTerminatorsOK) IsClientError() bool

IsClientError returns true when this list terminators o k response has a 4xx status code

func (*ListTerminatorsOK) IsCode

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

IsCode returns true when this list terminators o k response a status code equal to that given

func (*ListTerminatorsOK) IsRedirect

func (o *ListTerminatorsOK) IsRedirect() bool

IsRedirect returns true when this list terminators o k response has a 3xx status code

func (*ListTerminatorsOK) IsServerError

func (o *ListTerminatorsOK) IsServerError() bool

IsServerError returns true when this list terminators o k response has a 5xx status code

func (*ListTerminatorsOK) IsSuccess

func (o *ListTerminatorsOK) IsSuccess() bool

IsSuccess returns true when this list terminators o k response has a 2xx status code

func (*ListTerminatorsOK) String

func (o *ListTerminatorsOK) String() string

type ListTerminatorsParams

type ListTerminatorsParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListTerminatorsParams contains all the parameters to send to the API endpoint

for the list terminators operation.

Typically these are written to a http.Request.

func NewListTerminatorsParams

func NewListTerminatorsParams() *ListTerminatorsParams

NewListTerminatorsParams creates a new ListTerminatorsParams 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 NewListTerminatorsParamsWithContext

func NewListTerminatorsParamsWithContext(ctx context.Context) *ListTerminatorsParams

NewListTerminatorsParamsWithContext creates a new ListTerminatorsParams object with the ability to set a context for a request.

func NewListTerminatorsParamsWithHTTPClient

func NewListTerminatorsParamsWithHTTPClient(client *http.Client) *ListTerminatorsParams

NewListTerminatorsParamsWithHTTPClient creates a new ListTerminatorsParams object with the ability to set a custom HTTPClient for a request.

func NewListTerminatorsParamsWithTimeout

func NewListTerminatorsParamsWithTimeout(timeout time.Duration) *ListTerminatorsParams

NewListTerminatorsParamsWithTimeout creates a new ListTerminatorsParams object with the ability to set a timeout on a request.

func (*ListTerminatorsParams) SetContext

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

SetContext adds the context to the list terminators params

func (*ListTerminatorsParams) SetDefaults

func (o *ListTerminatorsParams) SetDefaults()

SetDefaults hydrates default values in the list terminators params (not the query body).

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

func (*ListTerminatorsParams) SetFilter

func (o *ListTerminatorsParams) SetFilter(filter *string)

SetFilter adds the filter to the list terminators params

func (*ListTerminatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list terminators params

func (*ListTerminatorsParams) SetLimit

func (o *ListTerminatorsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list terminators params

func (*ListTerminatorsParams) SetOffset

func (o *ListTerminatorsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list terminators params

func (*ListTerminatorsParams) SetTimeout

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

SetTimeout adds the timeout to the list terminators params

func (*ListTerminatorsParams) WithContext

WithContext adds the context to the list terminators params

func (*ListTerminatorsParams) WithDefaults

func (o *ListTerminatorsParams) WithDefaults() *ListTerminatorsParams

WithDefaults hydrates default values in the list terminators params (not the query body).

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

func (*ListTerminatorsParams) WithFilter

func (o *ListTerminatorsParams) WithFilter(filter *string) *ListTerminatorsParams

WithFilter adds the filter to the list terminators params

func (*ListTerminatorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list terminators params

func (*ListTerminatorsParams) WithLimit

func (o *ListTerminatorsParams) WithLimit(limit *int64) *ListTerminatorsParams

WithLimit adds the limit to the list terminators params

func (*ListTerminatorsParams) WithOffset

func (o *ListTerminatorsParams) WithOffset(offset *int64) *ListTerminatorsParams

WithOffset adds the offset to the list terminators params

func (*ListTerminatorsParams) WithTimeout

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

WithTimeout adds the timeout to the list terminators params

func (*ListTerminatorsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTerminatorsReader

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

ListTerminatorsReader is a Reader for the ListTerminators structure.

func (*ListTerminatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTerminatorsUnauthorized

type ListTerminatorsUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The currently supplied session does not have the correct access rights to request this resource

func NewListTerminatorsUnauthorized

func NewListTerminatorsUnauthorized() *ListTerminatorsUnauthorized

NewListTerminatorsUnauthorized creates a ListTerminatorsUnauthorized with default headers values

func (*ListTerminatorsUnauthorized) Code

func (o *ListTerminatorsUnauthorized) Code() int

Code gets the status code for the list terminators unauthorized response

func (*ListTerminatorsUnauthorized) Error

func (*ListTerminatorsUnauthorized) GetPayload

func (*ListTerminatorsUnauthorized) IsClientError

func (o *ListTerminatorsUnauthorized) IsClientError() bool

IsClientError returns true when this list terminators unauthorized response has a 4xx status code

func (*ListTerminatorsUnauthorized) IsCode

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

IsCode returns true when this list terminators unauthorized response a status code equal to that given

func (*ListTerminatorsUnauthorized) IsRedirect

func (o *ListTerminatorsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list terminators unauthorized response has a 3xx status code

func (*ListTerminatorsUnauthorized) IsServerError

func (o *ListTerminatorsUnauthorized) IsServerError() bool

IsServerError returns true when this list terminators unauthorized response has a 5xx status code

func (*ListTerminatorsUnauthorized) IsSuccess

func (o *ListTerminatorsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list terminators unauthorized response has a 2xx status code

func (*ListTerminatorsUnauthorized) String

func (o *ListTerminatorsUnauthorized) String() string

type PatchTerminatorBadRequest

type PatchTerminatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchTerminatorBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewPatchTerminatorBadRequest

func NewPatchTerminatorBadRequest() *PatchTerminatorBadRequest

NewPatchTerminatorBadRequest creates a PatchTerminatorBadRequest with default headers values

func (*PatchTerminatorBadRequest) Code

func (o *PatchTerminatorBadRequest) Code() int

Code gets the status code for the patch terminator bad request response

func (*PatchTerminatorBadRequest) Error

func (o *PatchTerminatorBadRequest) Error() string

func (*PatchTerminatorBadRequest) GetPayload

func (*PatchTerminatorBadRequest) IsClientError

func (o *PatchTerminatorBadRequest) IsClientError() bool

IsClientError returns true when this patch terminator bad request response has a 4xx status code

func (*PatchTerminatorBadRequest) IsCode

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

IsCode returns true when this patch terminator bad request response a status code equal to that given

func (*PatchTerminatorBadRequest) IsRedirect

func (o *PatchTerminatorBadRequest) IsRedirect() bool

IsRedirect returns true when this patch terminator bad request response has a 3xx status code

func (*PatchTerminatorBadRequest) IsServerError

func (o *PatchTerminatorBadRequest) IsServerError() bool

IsServerError returns true when this patch terminator bad request response has a 5xx status code

func (*PatchTerminatorBadRequest) IsSuccess

func (o *PatchTerminatorBadRequest) IsSuccess() bool

IsSuccess returns true when this patch terminator bad request response has a 2xx status code

func (*PatchTerminatorBadRequest) String

func (o *PatchTerminatorBadRequest) String() string

type PatchTerminatorNotFound

type PatchTerminatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewPatchTerminatorNotFound

func NewPatchTerminatorNotFound() *PatchTerminatorNotFound

NewPatchTerminatorNotFound creates a PatchTerminatorNotFound with default headers values

func (*PatchTerminatorNotFound) Code

func (o *PatchTerminatorNotFound) Code() int

Code gets the status code for the patch terminator not found response

func (*PatchTerminatorNotFound) Error

func (o *PatchTerminatorNotFound) Error() string

func (*PatchTerminatorNotFound) GetPayload

func (*PatchTerminatorNotFound) IsClientError

func (o *PatchTerminatorNotFound) IsClientError() bool

IsClientError returns true when this patch terminator not found response has a 4xx status code

func (*PatchTerminatorNotFound) IsCode

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

IsCode returns true when this patch terminator not found response a status code equal to that given

func (*PatchTerminatorNotFound) IsRedirect

func (o *PatchTerminatorNotFound) IsRedirect() bool

IsRedirect returns true when this patch terminator not found response has a 3xx status code

func (*PatchTerminatorNotFound) IsServerError

func (o *PatchTerminatorNotFound) IsServerError() bool

IsServerError returns true when this patch terminator not found response has a 5xx status code

func (*PatchTerminatorNotFound) IsSuccess

func (o *PatchTerminatorNotFound) IsSuccess() bool

IsSuccess returns true when this patch terminator not found response has a 2xx status code

func (*PatchTerminatorNotFound) String

func (o *PatchTerminatorNotFound) String() string

type PatchTerminatorOK

type PatchTerminatorOK struct {
	Payload *rest_model.Empty
}

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

The patch request was successful and the resource has been altered

func NewPatchTerminatorOK

func NewPatchTerminatorOK() *PatchTerminatorOK

NewPatchTerminatorOK creates a PatchTerminatorOK with default headers values

func (*PatchTerminatorOK) Code

func (o *PatchTerminatorOK) Code() int

Code gets the status code for the patch terminator o k response

func (*PatchTerminatorOK) Error

func (o *PatchTerminatorOK) Error() string

func (*PatchTerminatorOK) GetPayload

func (o *PatchTerminatorOK) GetPayload() *rest_model.Empty

func (*PatchTerminatorOK) IsClientError

func (o *PatchTerminatorOK) IsClientError() bool

IsClientError returns true when this patch terminator o k response has a 4xx status code

func (*PatchTerminatorOK) IsCode

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

IsCode returns true when this patch terminator o k response a status code equal to that given

func (*PatchTerminatorOK) IsRedirect

func (o *PatchTerminatorOK) IsRedirect() bool

IsRedirect returns true when this patch terminator o k response has a 3xx status code

func (*PatchTerminatorOK) IsServerError

func (o *PatchTerminatorOK) IsServerError() bool

IsServerError returns true when this patch terminator o k response has a 5xx status code

func (*PatchTerminatorOK) IsSuccess

func (o *PatchTerminatorOK) IsSuccess() bool

IsSuccess returns true when this patch terminator o k response has a 2xx status code

func (*PatchTerminatorOK) String

func (o *PatchTerminatorOK) String() string

type PatchTerminatorParams

type PatchTerminatorParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Terminator.

	   A terminator patch object
	*/
	Terminator *rest_model.TerminatorPatch

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

PatchTerminatorParams contains all the parameters to send to the API endpoint

for the patch terminator operation.

Typically these are written to a http.Request.

func NewPatchTerminatorParams

func NewPatchTerminatorParams() *PatchTerminatorParams

NewPatchTerminatorParams creates a new PatchTerminatorParams 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 NewPatchTerminatorParamsWithContext

func NewPatchTerminatorParamsWithContext(ctx context.Context) *PatchTerminatorParams

NewPatchTerminatorParamsWithContext creates a new PatchTerminatorParams object with the ability to set a context for a request.

func NewPatchTerminatorParamsWithHTTPClient

func NewPatchTerminatorParamsWithHTTPClient(client *http.Client) *PatchTerminatorParams

NewPatchTerminatorParamsWithHTTPClient creates a new PatchTerminatorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchTerminatorParamsWithTimeout

func NewPatchTerminatorParamsWithTimeout(timeout time.Duration) *PatchTerminatorParams

NewPatchTerminatorParamsWithTimeout creates a new PatchTerminatorParams object with the ability to set a timeout on a request.

func (*PatchTerminatorParams) SetContext

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

SetContext adds the context to the patch terminator params

func (*PatchTerminatorParams) SetDefaults

func (o *PatchTerminatorParams) SetDefaults()

SetDefaults hydrates default values in the patch terminator params (not the query body).

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

func (*PatchTerminatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch terminator params

func (*PatchTerminatorParams) SetID

func (o *PatchTerminatorParams) SetID(id string)

SetID adds the id to the patch terminator params

func (*PatchTerminatorParams) SetTerminator

func (o *PatchTerminatorParams) SetTerminator(terminator *rest_model.TerminatorPatch)

SetTerminator adds the terminator to the patch terminator params

func (*PatchTerminatorParams) SetTimeout

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

SetTimeout adds the timeout to the patch terminator params

func (*PatchTerminatorParams) WithContext

WithContext adds the context to the patch terminator params

func (*PatchTerminatorParams) WithDefaults

func (o *PatchTerminatorParams) WithDefaults() *PatchTerminatorParams

WithDefaults hydrates default values in the patch terminator params (not the query body).

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

func (*PatchTerminatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch terminator params

func (*PatchTerminatorParams) WithID

WithID adds the id to the patch terminator params

func (*PatchTerminatorParams) WithTerminator

WithTerminator adds the terminator to the patch terminator params

func (*PatchTerminatorParams) WithTimeout

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

WithTimeout adds the timeout to the patch terminator params

func (*PatchTerminatorParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchTerminatorReader

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

PatchTerminatorReader is a Reader for the PatchTerminator structure.

func (*PatchTerminatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchTerminatorUnauthorized

type PatchTerminatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The currently supplied session does not have the correct access rights to request this resource

func NewPatchTerminatorUnauthorized

func NewPatchTerminatorUnauthorized() *PatchTerminatorUnauthorized

NewPatchTerminatorUnauthorized creates a PatchTerminatorUnauthorized with default headers values

func (*PatchTerminatorUnauthorized) Code

func (o *PatchTerminatorUnauthorized) Code() int

Code gets the status code for the patch terminator unauthorized response

func (*PatchTerminatorUnauthorized) Error

func (*PatchTerminatorUnauthorized) GetPayload

func (*PatchTerminatorUnauthorized) IsClientError

func (o *PatchTerminatorUnauthorized) IsClientError() bool

IsClientError returns true when this patch terminator unauthorized response has a 4xx status code

func (*PatchTerminatorUnauthorized) IsCode

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

IsCode returns true when this patch terminator unauthorized response a status code equal to that given

func (*PatchTerminatorUnauthorized) IsRedirect

func (o *PatchTerminatorUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch terminator unauthorized response has a 3xx status code

func (*PatchTerminatorUnauthorized) IsServerError

func (o *PatchTerminatorUnauthorized) IsServerError() bool

IsServerError returns true when this patch terminator unauthorized response has a 5xx status code

func (*PatchTerminatorUnauthorized) IsSuccess

func (o *PatchTerminatorUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch terminator unauthorized response has a 2xx status code

func (*PatchTerminatorUnauthorized) String

func (o *PatchTerminatorUnauthorized) String() string

type UpdateTerminatorBadRequest

type UpdateTerminatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateTerminatorBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewUpdateTerminatorBadRequest

func NewUpdateTerminatorBadRequest() *UpdateTerminatorBadRequest

NewUpdateTerminatorBadRequest creates a UpdateTerminatorBadRequest with default headers values

func (*UpdateTerminatorBadRequest) Code

func (o *UpdateTerminatorBadRequest) Code() int

Code gets the status code for the update terminator bad request response

func (*UpdateTerminatorBadRequest) Error

func (*UpdateTerminatorBadRequest) GetPayload

func (*UpdateTerminatorBadRequest) IsClientError

func (o *UpdateTerminatorBadRequest) IsClientError() bool

IsClientError returns true when this update terminator bad request response has a 4xx status code

func (*UpdateTerminatorBadRequest) IsCode

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

IsCode returns true when this update terminator bad request response a status code equal to that given

func (*UpdateTerminatorBadRequest) IsRedirect

func (o *UpdateTerminatorBadRequest) IsRedirect() bool

IsRedirect returns true when this update terminator bad request response has a 3xx status code

func (*UpdateTerminatorBadRequest) IsServerError

func (o *UpdateTerminatorBadRequest) IsServerError() bool

IsServerError returns true when this update terminator bad request response has a 5xx status code

func (*UpdateTerminatorBadRequest) IsSuccess

func (o *UpdateTerminatorBadRequest) IsSuccess() bool

IsSuccess returns true when this update terminator bad request response has a 2xx status code

func (*UpdateTerminatorBadRequest) String

func (o *UpdateTerminatorBadRequest) String() string

type UpdateTerminatorNotFound

type UpdateTerminatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewUpdateTerminatorNotFound

func NewUpdateTerminatorNotFound() *UpdateTerminatorNotFound

NewUpdateTerminatorNotFound creates a UpdateTerminatorNotFound with default headers values

func (*UpdateTerminatorNotFound) Code

func (o *UpdateTerminatorNotFound) Code() int

Code gets the status code for the update terminator not found response

func (*UpdateTerminatorNotFound) Error

func (o *UpdateTerminatorNotFound) Error() string

func (*UpdateTerminatorNotFound) GetPayload

func (*UpdateTerminatorNotFound) IsClientError

func (o *UpdateTerminatorNotFound) IsClientError() bool

IsClientError returns true when this update terminator not found response has a 4xx status code

func (*UpdateTerminatorNotFound) IsCode

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

IsCode returns true when this update terminator not found response a status code equal to that given

func (*UpdateTerminatorNotFound) IsRedirect

func (o *UpdateTerminatorNotFound) IsRedirect() bool

IsRedirect returns true when this update terminator not found response has a 3xx status code

func (*UpdateTerminatorNotFound) IsServerError

func (o *UpdateTerminatorNotFound) IsServerError() bool

IsServerError returns true when this update terminator not found response has a 5xx status code

func (*UpdateTerminatorNotFound) IsSuccess

func (o *UpdateTerminatorNotFound) IsSuccess() bool

IsSuccess returns true when this update terminator not found response has a 2xx status code

func (*UpdateTerminatorNotFound) String

func (o *UpdateTerminatorNotFound) String() string

type UpdateTerminatorOK

type UpdateTerminatorOK struct {
	Payload *rest_model.Empty
}

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

The update request was successful and the resource has been altered

func NewUpdateTerminatorOK

func NewUpdateTerminatorOK() *UpdateTerminatorOK

NewUpdateTerminatorOK creates a UpdateTerminatorOK with default headers values

func (*UpdateTerminatorOK) Code

func (o *UpdateTerminatorOK) Code() int

Code gets the status code for the update terminator o k response

func (*UpdateTerminatorOK) Error

func (o *UpdateTerminatorOK) Error() string

func (*UpdateTerminatorOK) GetPayload

func (o *UpdateTerminatorOK) GetPayload() *rest_model.Empty

func (*UpdateTerminatorOK) IsClientError

func (o *UpdateTerminatorOK) IsClientError() bool

IsClientError returns true when this update terminator o k response has a 4xx status code

func (*UpdateTerminatorOK) IsCode

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

IsCode returns true when this update terminator o k response a status code equal to that given

func (*UpdateTerminatorOK) IsRedirect

func (o *UpdateTerminatorOK) IsRedirect() bool

IsRedirect returns true when this update terminator o k response has a 3xx status code

func (*UpdateTerminatorOK) IsServerError

func (o *UpdateTerminatorOK) IsServerError() bool

IsServerError returns true when this update terminator o k response has a 5xx status code

func (*UpdateTerminatorOK) IsSuccess

func (o *UpdateTerminatorOK) IsSuccess() bool

IsSuccess returns true when this update terminator o k response has a 2xx status code

func (*UpdateTerminatorOK) String

func (o *UpdateTerminatorOK) String() string

type UpdateTerminatorParams

type UpdateTerminatorParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Terminator.

	   A terminator update object
	*/
	Terminator *rest_model.TerminatorUpdate

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

UpdateTerminatorParams contains all the parameters to send to the API endpoint

for the update terminator operation.

Typically these are written to a http.Request.

func NewUpdateTerminatorParams

func NewUpdateTerminatorParams() *UpdateTerminatorParams

NewUpdateTerminatorParams creates a new UpdateTerminatorParams 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 NewUpdateTerminatorParamsWithContext

func NewUpdateTerminatorParamsWithContext(ctx context.Context) *UpdateTerminatorParams

NewUpdateTerminatorParamsWithContext creates a new UpdateTerminatorParams object with the ability to set a context for a request.

func NewUpdateTerminatorParamsWithHTTPClient

func NewUpdateTerminatorParamsWithHTTPClient(client *http.Client) *UpdateTerminatorParams

NewUpdateTerminatorParamsWithHTTPClient creates a new UpdateTerminatorParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTerminatorParamsWithTimeout

func NewUpdateTerminatorParamsWithTimeout(timeout time.Duration) *UpdateTerminatorParams

NewUpdateTerminatorParamsWithTimeout creates a new UpdateTerminatorParams object with the ability to set a timeout on a request.

func (*UpdateTerminatorParams) SetContext

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

SetContext adds the context to the update terminator params

func (*UpdateTerminatorParams) SetDefaults

func (o *UpdateTerminatorParams) SetDefaults()

SetDefaults hydrates default values in the update terminator params (not the query body).

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

func (*UpdateTerminatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update terminator params

func (*UpdateTerminatorParams) SetID

func (o *UpdateTerminatorParams) SetID(id string)

SetID adds the id to the update terminator params

func (*UpdateTerminatorParams) SetTerminator

func (o *UpdateTerminatorParams) SetTerminator(terminator *rest_model.TerminatorUpdate)

SetTerminator adds the terminator to the update terminator params

func (*UpdateTerminatorParams) SetTimeout

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

SetTimeout adds the timeout to the update terminator params

func (*UpdateTerminatorParams) WithContext

WithContext adds the context to the update terminator params

func (*UpdateTerminatorParams) WithDefaults

WithDefaults hydrates default values in the update terminator params (not the query body).

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

func (*UpdateTerminatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update terminator params

func (*UpdateTerminatorParams) WithID

WithID adds the id to the update terminator params

func (*UpdateTerminatorParams) WithTerminator

WithTerminator adds the terminator to the update terminator params

func (*UpdateTerminatorParams) WithTimeout

WithTimeout adds the timeout to the update terminator params

func (*UpdateTerminatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateTerminatorReader

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

UpdateTerminatorReader is a Reader for the UpdateTerminator structure.

func (*UpdateTerminatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateTerminatorUnauthorized

type UpdateTerminatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The currently supplied session does not have the correct access rights to request this resource

func NewUpdateTerminatorUnauthorized

func NewUpdateTerminatorUnauthorized() *UpdateTerminatorUnauthorized

NewUpdateTerminatorUnauthorized creates a UpdateTerminatorUnauthorized with default headers values

func (*UpdateTerminatorUnauthorized) Code

Code gets the status code for the update terminator unauthorized response

func (*UpdateTerminatorUnauthorized) Error

func (*UpdateTerminatorUnauthorized) GetPayload

func (*UpdateTerminatorUnauthorized) IsClientError

func (o *UpdateTerminatorUnauthorized) IsClientError() bool

IsClientError returns true when this update terminator unauthorized response has a 4xx status code

func (*UpdateTerminatorUnauthorized) IsCode

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

IsCode returns true when this update terminator unauthorized response a status code equal to that given

func (*UpdateTerminatorUnauthorized) IsRedirect

func (o *UpdateTerminatorUnauthorized) IsRedirect() bool

IsRedirect returns true when this update terminator unauthorized response has a 3xx status code

func (*UpdateTerminatorUnauthorized) IsServerError

func (o *UpdateTerminatorUnauthorized) IsServerError() bool

IsServerError returns true when this update terminator unauthorized response has a 5xx status code

func (*UpdateTerminatorUnauthorized) IsSuccess

func (o *UpdateTerminatorUnauthorized) IsSuccess() bool

IsSuccess returns true when this update terminator unauthorized response has a 2xx status code

func (*UpdateTerminatorUnauthorized) String

Jump to

Keyboard shortcuts

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