Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTerminator(params *CreateTerminatorParams, opts ...ClientOption) (*CreateTerminatorCreated, error)
- func (a *Client) DeleteTerminator(params *DeleteTerminatorParams, opts ...ClientOption) (*DeleteTerminatorOK, error)
- func (a *Client) DetailTerminator(params *DetailTerminatorParams, opts ...ClientOption) (*DetailTerminatorOK, error)
- func (a *Client) ListTerminators(params *ListTerminatorsParams, opts ...ClientOption) (*ListTerminatorsOK, error)
- func (a *Client) PatchTerminator(params *PatchTerminatorParams, opts ...ClientOption) (*PatchTerminatorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTerminator(params *UpdateTerminatorParams, opts ...ClientOption) (*UpdateTerminatorOK, error)
- type ClientOption
- type ClientService
- type CreateTerminatorBadRequest
- func (o *CreateTerminatorBadRequest) Code() int
- func (o *CreateTerminatorBadRequest) Error() string
- func (o *CreateTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateTerminatorBadRequest) IsClientError() bool
- func (o *CreateTerminatorBadRequest) IsCode(code int) bool
- func (o *CreateTerminatorBadRequest) IsRedirect() bool
- func (o *CreateTerminatorBadRequest) IsServerError() bool
- func (o *CreateTerminatorBadRequest) IsSuccess() bool
- func (o *CreateTerminatorBadRequest) String() string
- type CreateTerminatorCreated
- func (o *CreateTerminatorCreated) Code() int
- func (o *CreateTerminatorCreated) Error() string
- func (o *CreateTerminatorCreated) GetPayload() *rest_model.CreateEnvelope
- func (o *CreateTerminatorCreated) IsClientError() bool
- func (o *CreateTerminatorCreated) IsCode(code int) bool
- func (o *CreateTerminatorCreated) IsRedirect() bool
- func (o *CreateTerminatorCreated) IsServerError() bool
- func (o *CreateTerminatorCreated) IsSuccess() bool
- func (o *CreateTerminatorCreated) String() string
- type CreateTerminatorParams
- func NewCreateTerminatorParams() *CreateTerminatorParams
- func NewCreateTerminatorParamsWithContext(ctx context.Context) *CreateTerminatorParams
- func NewCreateTerminatorParamsWithHTTPClient(client *http.Client) *CreateTerminatorParams
- func NewCreateTerminatorParamsWithTimeout(timeout time.Duration) *CreateTerminatorParams
- func (o *CreateTerminatorParams) SetContext(ctx context.Context)
- func (o *CreateTerminatorParams) SetDefaults()
- func (o *CreateTerminatorParams) SetHTTPClient(client *http.Client)
- func (o *CreateTerminatorParams) SetTerminator(terminator *rest_model.TerminatorCreate)
- func (o *CreateTerminatorParams) SetTimeout(timeout time.Duration)
- func (o *CreateTerminatorParams) WithContext(ctx context.Context) *CreateTerminatorParams
- func (o *CreateTerminatorParams) WithDefaults() *CreateTerminatorParams
- func (o *CreateTerminatorParams) WithHTTPClient(client *http.Client) *CreateTerminatorParams
- func (o *CreateTerminatorParams) WithTerminator(terminator *rest_model.TerminatorCreate) *CreateTerminatorParams
- func (o *CreateTerminatorParams) WithTimeout(timeout time.Duration) *CreateTerminatorParams
- func (o *CreateTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTerminatorReader
- type CreateTerminatorUnauthorized
- func (o *CreateTerminatorUnauthorized) Code() int
- func (o *CreateTerminatorUnauthorized) Error() string
- func (o *CreateTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateTerminatorUnauthorized) IsClientError() bool
- func (o *CreateTerminatorUnauthorized) IsCode(code int) bool
- func (o *CreateTerminatorUnauthorized) IsRedirect() bool
- func (o *CreateTerminatorUnauthorized) IsServerError() bool
- func (o *CreateTerminatorUnauthorized) IsSuccess() bool
- func (o *CreateTerminatorUnauthorized) String() string
- type DeleteTerminatorBadRequest
- func (o *DeleteTerminatorBadRequest) Code() int
- func (o *DeleteTerminatorBadRequest) Error() string
- func (o *DeleteTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteTerminatorBadRequest) IsClientError() bool
- func (o *DeleteTerminatorBadRequest) IsCode(code int) bool
- func (o *DeleteTerminatorBadRequest) IsRedirect() bool
- func (o *DeleteTerminatorBadRequest) IsServerError() bool
- func (o *DeleteTerminatorBadRequest) IsSuccess() bool
- func (o *DeleteTerminatorBadRequest) String() string
- type DeleteTerminatorConflict
- func (o *DeleteTerminatorConflict) Code() int
- func (o *DeleteTerminatorConflict) Error() string
- func (o *DeleteTerminatorConflict) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteTerminatorConflict) IsClientError() bool
- func (o *DeleteTerminatorConflict) IsCode(code int) bool
- func (o *DeleteTerminatorConflict) IsRedirect() bool
- func (o *DeleteTerminatorConflict) IsServerError() bool
- func (o *DeleteTerminatorConflict) IsSuccess() bool
- func (o *DeleteTerminatorConflict) String() string
- type DeleteTerminatorOK
- func (o *DeleteTerminatorOK) Code() int
- func (o *DeleteTerminatorOK) Error() string
- func (o *DeleteTerminatorOK) GetPayload() *rest_model.Empty
- func (o *DeleteTerminatorOK) IsClientError() bool
- func (o *DeleteTerminatorOK) IsCode(code int) bool
- func (o *DeleteTerminatorOK) IsRedirect() bool
- func (o *DeleteTerminatorOK) IsServerError() bool
- func (o *DeleteTerminatorOK) IsSuccess() bool
- func (o *DeleteTerminatorOK) String() string
- type DeleteTerminatorParams
- func NewDeleteTerminatorParams() *DeleteTerminatorParams
- func NewDeleteTerminatorParamsWithContext(ctx context.Context) *DeleteTerminatorParams
- func NewDeleteTerminatorParamsWithHTTPClient(client *http.Client) *DeleteTerminatorParams
- func NewDeleteTerminatorParamsWithTimeout(timeout time.Duration) *DeleteTerminatorParams
- func (o *DeleteTerminatorParams) SetContext(ctx context.Context)
- func (o *DeleteTerminatorParams) SetDefaults()
- func (o *DeleteTerminatorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTerminatorParams) SetID(id string)
- func (o *DeleteTerminatorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTerminatorParams) WithContext(ctx context.Context) *DeleteTerminatorParams
- func (o *DeleteTerminatorParams) WithDefaults() *DeleteTerminatorParams
- func (o *DeleteTerminatorParams) WithHTTPClient(client *http.Client) *DeleteTerminatorParams
- func (o *DeleteTerminatorParams) WithID(id string) *DeleteTerminatorParams
- func (o *DeleteTerminatorParams) WithTimeout(timeout time.Duration) *DeleteTerminatorParams
- func (o *DeleteTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTerminatorReader
- type DeleteTerminatorUnauthorized
- func (o *DeleteTerminatorUnauthorized) Code() int
- func (o *DeleteTerminatorUnauthorized) Error() string
- func (o *DeleteTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteTerminatorUnauthorized) IsClientError() bool
- func (o *DeleteTerminatorUnauthorized) IsCode(code int) bool
- func (o *DeleteTerminatorUnauthorized) IsRedirect() bool
- func (o *DeleteTerminatorUnauthorized) IsServerError() bool
- func (o *DeleteTerminatorUnauthorized) IsSuccess() bool
- func (o *DeleteTerminatorUnauthorized) String() string
- type DetailTerminatorNotFound
- func (o *DetailTerminatorNotFound) Code() int
- func (o *DetailTerminatorNotFound) Error() string
- func (o *DetailTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailTerminatorNotFound) IsClientError() bool
- func (o *DetailTerminatorNotFound) IsCode(code int) bool
- func (o *DetailTerminatorNotFound) IsRedirect() bool
- func (o *DetailTerminatorNotFound) IsServerError() bool
- func (o *DetailTerminatorNotFound) IsSuccess() bool
- func (o *DetailTerminatorNotFound) String() string
- type DetailTerminatorOK
- func (o *DetailTerminatorOK) Code() int
- func (o *DetailTerminatorOK) Error() string
- func (o *DetailTerminatorOK) GetPayload() *rest_model.DetailTerminatorEnvelope
- func (o *DetailTerminatorOK) IsClientError() bool
- func (o *DetailTerminatorOK) IsCode(code int) bool
- func (o *DetailTerminatorOK) IsRedirect() bool
- func (o *DetailTerminatorOK) IsServerError() bool
- func (o *DetailTerminatorOK) IsSuccess() bool
- func (o *DetailTerminatorOK) String() string
- type DetailTerminatorParams
- func NewDetailTerminatorParams() *DetailTerminatorParams
- func NewDetailTerminatorParamsWithContext(ctx context.Context) *DetailTerminatorParams
- func NewDetailTerminatorParamsWithHTTPClient(client *http.Client) *DetailTerminatorParams
- func NewDetailTerminatorParamsWithTimeout(timeout time.Duration) *DetailTerminatorParams
- func (o *DetailTerminatorParams) SetContext(ctx context.Context)
- func (o *DetailTerminatorParams) SetDefaults()
- func (o *DetailTerminatorParams) SetHTTPClient(client *http.Client)
- func (o *DetailTerminatorParams) SetID(id string)
- func (o *DetailTerminatorParams) SetTimeout(timeout time.Duration)
- func (o *DetailTerminatorParams) WithContext(ctx context.Context) *DetailTerminatorParams
- func (o *DetailTerminatorParams) WithDefaults() *DetailTerminatorParams
- func (o *DetailTerminatorParams) WithHTTPClient(client *http.Client) *DetailTerminatorParams
- func (o *DetailTerminatorParams) WithID(id string) *DetailTerminatorParams
- func (o *DetailTerminatorParams) WithTimeout(timeout time.Duration) *DetailTerminatorParams
- func (o *DetailTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailTerminatorReader
- type DetailTerminatorUnauthorized
- func (o *DetailTerminatorUnauthorized) Code() int
- func (o *DetailTerminatorUnauthorized) Error() string
- func (o *DetailTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailTerminatorUnauthorized) IsClientError() bool
- func (o *DetailTerminatorUnauthorized) IsCode(code int) bool
- func (o *DetailTerminatorUnauthorized) IsRedirect() bool
- func (o *DetailTerminatorUnauthorized) IsServerError() bool
- func (o *DetailTerminatorUnauthorized) IsSuccess() bool
- func (o *DetailTerminatorUnauthorized) String() string
- type ListTerminatorsBadRequest
- func (o *ListTerminatorsBadRequest) Code() int
- func (o *ListTerminatorsBadRequest) Error() string
- func (o *ListTerminatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListTerminatorsBadRequest) IsClientError() bool
- func (o *ListTerminatorsBadRequest) IsCode(code int) bool
- func (o *ListTerminatorsBadRequest) IsRedirect() bool
- func (o *ListTerminatorsBadRequest) IsServerError() bool
- func (o *ListTerminatorsBadRequest) IsSuccess() bool
- func (o *ListTerminatorsBadRequest) String() string
- type ListTerminatorsOK
- func (o *ListTerminatorsOK) Code() int
- func (o *ListTerminatorsOK) Error() string
- func (o *ListTerminatorsOK) GetPayload() *rest_model.ListTerminatorsEnvelope
- func (o *ListTerminatorsOK) IsClientError() bool
- func (o *ListTerminatorsOK) IsCode(code int) bool
- func (o *ListTerminatorsOK) IsRedirect() bool
- func (o *ListTerminatorsOK) IsServerError() bool
- func (o *ListTerminatorsOK) IsSuccess() bool
- func (o *ListTerminatorsOK) String() string
- type ListTerminatorsParams
- func NewListTerminatorsParams() *ListTerminatorsParams
- func NewListTerminatorsParamsWithContext(ctx context.Context) *ListTerminatorsParams
- func NewListTerminatorsParamsWithHTTPClient(client *http.Client) *ListTerminatorsParams
- func NewListTerminatorsParamsWithTimeout(timeout time.Duration) *ListTerminatorsParams
- func (o *ListTerminatorsParams) SetContext(ctx context.Context)
- func (o *ListTerminatorsParams) SetDefaults()
- func (o *ListTerminatorsParams) SetFilter(filter *string)
- func (o *ListTerminatorsParams) SetHTTPClient(client *http.Client)
- func (o *ListTerminatorsParams) SetLimit(limit *int64)
- func (o *ListTerminatorsParams) SetOffset(offset *int64)
- func (o *ListTerminatorsParams) SetTimeout(timeout time.Duration)
- func (o *ListTerminatorsParams) WithContext(ctx context.Context) *ListTerminatorsParams
- func (o *ListTerminatorsParams) WithDefaults() *ListTerminatorsParams
- func (o *ListTerminatorsParams) WithFilter(filter *string) *ListTerminatorsParams
- func (o *ListTerminatorsParams) WithHTTPClient(client *http.Client) *ListTerminatorsParams
- func (o *ListTerminatorsParams) WithLimit(limit *int64) *ListTerminatorsParams
- func (o *ListTerminatorsParams) WithOffset(offset *int64) *ListTerminatorsParams
- func (o *ListTerminatorsParams) WithTimeout(timeout time.Duration) *ListTerminatorsParams
- func (o *ListTerminatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTerminatorsReader
- type ListTerminatorsUnauthorized
- func (o *ListTerminatorsUnauthorized) Code() int
- func (o *ListTerminatorsUnauthorized) Error() string
- func (o *ListTerminatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListTerminatorsUnauthorized) IsClientError() bool
- func (o *ListTerminatorsUnauthorized) IsCode(code int) bool
- func (o *ListTerminatorsUnauthorized) IsRedirect() bool
- func (o *ListTerminatorsUnauthorized) IsServerError() bool
- func (o *ListTerminatorsUnauthorized) IsSuccess() bool
- func (o *ListTerminatorsUnauthorized) String() string
- type PatchTerminatorBadRequest
- func (o *PatchTerminatorBadRequest) Code() int
- func (o *PatchTerminatorBadRequest) Error() string
- func (o *PatchTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchTerminatorBadRequest) IsClientError() bool
- func (o *PatchTerminatorBadRequest) IsCode(code int) bool
- func (o *PatchTerminatorBadRequest) IsRedirect() bool
- func (o *PatchTerminatorBadRequest) IsServerError() bool
- func (o *PatchTerminatorBadRequest) IsSuccess() bool
- func (o *PatchTerminatorBadRequest) String() string
- type PatchTerminatorNotFound
- func (o *PatchTerminatorNotFound) Code() int
- func (o *PatchTerminatorNotFound) Error() string
- func (o *PatchTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchTerminatorNotFound) IsClientError() bool
- func (o *PatchTerminatorNotFound) IsCode(code int) bool
- func (o *PatchTerminatorNotFound) IsRedirect() bool
- func (o *PatchTerminatorNotFound) IsServerError() bool
- func (o *PatchTerminatorNotFound) IsSuccess() bool
- func (o *PatchTerminatorNotFound) String() string
- type PatchTerminatorOK
- func (o *PatchTerminatorOK) Code() int
- func (o *PatchTerminatorOK) Error() string
- func (o *PatchTerminatorOK) GetPayload() *rest_model.Empty
- func (o *PatchTerminatorOK) IsClientError() bool
- func (o *PatchTerminatorOK) IsCode(code int) bool
- func (o *PatchTerminatorOK) IsRedirect() bool
- func (o *PatchTerminatorOK) IsServerError() bool
- func (o *PatchTerminatorOK) IsSuccess() bool
- func (o *PatchTerminatorOK) String() string
- type PatchTerminatorParams
- func NewPatchTerminatorParams() *PatchTerminatorParams
- func NewPatchTerminatorParamsWithContext(ctx context.Context) *PatchTerminatorParams
- func NewPatchTerminatorParamsWithHTTPClient(client *http.Client) *PatchTerminatorParams
- func NewPatchTerminatorParamsWithTimeout(timeout time.Duration) *PatchTerminatorParams
- func (o *PatchTerminatorParams) SetContext(ctx context.Context)
- func (o *PatchTerminatorParams) SetDefaults()
- func (o *PatchTerminatorParams) SetHTTPClient(client *http.Client)
- func (o *PatchTerminatorParams) SetID(id string)
- func (o *PatchTerminatorParams) SetTerminator(terminator *rest_model.TerminatorPatch)
- func (o *PatchTerminatorParams) SetTimeout(timeout time.Duration)
- func (o *PatchTerminatorParams) WithContext(ctx context.Context) *PatchTerminatorParams
- func (o *PatchTerminatorParams) WithDefaults() *PatchTerminatorParams
- func (o *PatchTerminatorParams) WithHTTPClient(client *http.Client) *PatchTerminatorParams
- func (o *PatchTerminatorParams) WithID(id string) *PatchTerminatorParams
- func (o *PatchTerminatorParams) WithTerminator(terminator *rest_model.TerminatorPatch) *PatchTerminatorParams
- func (o *PatchTerminatorParams) WithTimeout(timeout time.Duration) *PatchTerminatorParams
- func (o *PatchTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchTerminatorReader
- type PatchTerminatorUnauthorized
- func (o *PatchTerminatorUnauthorized) Code() int
- func (o *PatchTerminatorUnauthorized) Error() string
- func (o *PatchTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchTerminatorUnauthorized) IsClientError() bool
- func (o *PatchTerminatorUnauthorized) IsCode(code int) bool
- func (o *PatchTerminatorUnauthorized) IsRedirect() bool
- func (o *PatchTerminatorUnauthorized) IsServerError() bool
- func (o *PatchTerminatorUnauthorized) IsSuccess() bool
- func (o *PatchTerminatorUnauthorized) String() string
- type UpdateTerminatorBadRequest
- func (o *UpdateTerminatorBadRequest) Code() int
- func (o *UpdateTerminatorBadRequest) Error() string
- func (o *UpdateTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateTerminatorBadRequest) IsClientError() bool
- func (o *UpdateTerminatorBadRequest) IsCode(code int) bool
- func (o *UpdateTerminatorBadRequest) IsRedirect() bool
- func (o *UpdateTerminatorBadRequest) IsServerError() bool
- func (o *UpdateTerminatorBadRequest) IsSuccess() bool
- func (o *UpdateTerminatorBadRequest) String() string
- type UpdateTerminatorNotFound
- func (o *UpdateTerminatorNotFound) Code() int
- func (o *UpdateTerminatorNotFound) Error() string
- func (o *UpdateTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateTerminatorNotFound) IsClientError() bool
- func (o *UpdateTerminatorNotFound) IsCode(code int) bool
- func (o *UpdateTerminatorNotFound) IsRedirect() bool
- func (o *UpdateTerminatorNotFound) IsServerError() bool
- func (o *UpdateTerminatorNotFound) IsSuccess() bool
- func (o *UpdateTerminatorNotFound) String() string
- type UpdateTerminatorOK
- func (o *UpdateTerminatorOK) Code() int
- func (o *UpdateTerminatorOK) Error() string
- func (o *UpdateTerminatorOK) GetPayload() *rest_model.Empty
- func (o *UpdateTerminatorOK) IsClientError() bool
- func (o *UpdateTerminatorOK) IsCode(code int) bool
- func (o *UpdateTerminatorOK) IsRedirect() bool
- func (o *UpdateTerminatorOK) IsServerError() bool
- func (o *UpdateTerminatorOK) IsSuccess() bool
- func (o *UpdateTerminatorOK) String() string
- type UpdateTerminatorParams
- func NewUpdateTerminatorParams() *UpdateTerminatorParams
- func NewUpdateTerminatorParamsWithContext(ctx context.Context) *UpdateTerminatorParams
- func NewUpdateTerminatorParamsWithHTTPClient(client *http.Client) *UpdateTerminatorParams
- func NewUpdateTerminatorParamsWithTimeout(timeout time.Duration) *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) SetContext(ctx context.Context)
- func (o *UpdateTerminatorParams) SetDefaults()
- func (o *UpdateTerminatorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTerminatorParams) SetID(id string)
- func (o *UpdateTerminatorParams) SetTerminator(terminator *rest_model.TerminatorUpdate)
- func (o *UpdateTerminatorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTerminatorParams) WithContext(ctx context.Context) *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) WithDefaults() *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) WithHTTPClient(client *http.Client) *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) WithID(id string) *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) WithTerminator(terminator *rest_model.TerminatorUpdate) *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) WithTimeout(timeout time.Duration) *UpdateTerminatorParams
- func (o *UpdateTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTerminatorReader
- type UpdateTerminatorUnauthorized
- func (o *UpdateTerminatorUnauthorized) Code() int
- func (o *UpdateTerminatorUnauthorized) Error() string
- func (o *UpdateTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateTerminatorUnauthorized) IsClientError() bool
- func (o *UpdateTerminatorUnauthorized) IsCode(code int) bool
- func (o *UpdateTerminatorUnauthorized) IsRedirect() bool
- func (o *UpdateTerminatorUnauthorized) IsServerError() bool
- func (o *UpdateTerminatorUnauthorized) IsSuccess() bool
- func (o *UpdateTerminatorUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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 ¶ added in v0.22.74
func (o *CreateTerminatorBadRequest) Code() int
Code gets the status code for the create terminator bad request response
func (*CreateTerminatorBadRequest) Error ¶
func (o *CreateTerminatorBadRequest) Error() string
func (*CreateTerminatorBadRequest) GetPayload ¶
func (o *CreateTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateTerminatorBadRequest) IsClientError ¶ added in v0.21.38
func (o *CreateTerminatorBadRequest) IsClientError() bool
IsClientError returns true when this create terminator bad request response has a 4xx status code
func (*CreateTerminatorBadRequest) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *CreateTerminatorBadRequest) IsRedirect() bool
IsRedirect returns true when this create terminator bad request response has a 3xx status code
func (*CreateTerminatorBadRequest) IsServerError ¶ added in v0.21.38
func (o *CreateTerminatorBadRequest) IsServerError() bool
IsServerError returns true when this create terminator bad request response has a 5xx status code
func (*CreateTerminatorBadRequest) IsSuccess ¶ added in v0.21.38
func (o *CreateTerminatorBadRequest) IsSuccess() bool
IsSuccess returns true when this create terminator bad request response has a 2xx status code
func (*CreateTerminatorBadRequest) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *CreateTerminatorCreated) GetPayload() *rest_model.CreateEnvelope
func (*CreateTerminatorCreated) IsClientError ¶ added in v0.21.38
func (o *CreateTerminatorCreated) IsClientError() bool
IsClientError returns true when this create terminator created response has a 4xx status code
func (*CreateTerminatorCreated) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *CreateTerminatorCreated) IsRedirect() bool
IsRedirect returns true when this create terminator created response has a 3xx status code
func (*CreateTerminatorCreated) IsServerError ¶ added in v0.21.38
func (o *CreateTerminatorCreated) IsServerError() bool
IsServerError returns true when this create terminator created response has a 5xx status code
func (*CreateTerminatorCreated) IsSuccess ¶ added in v0.21.38
func (o *CreateTerminatorCreated) IsSuccess() bool
IsSuccess returns true when this create terminator created response has a 2xx status code
func (*CreateTerminatorCreated) String ¶ added in v0.21.38
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 ¶
func (o *CreateTerminatorParams) WithContext(ctx context.Context) *CreateTerminatorParams
WithContext adds the context to the create terminator params
func (*CreateTerminatorParams) WithDefaults ¶
func (o *CreateTerminatorParams) WithDefaults() *CreateTerminatorParams
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 ¶
func (o *CreateTerminatorParams) WithTerminator(terminator *rest_model.TerminatorCreate) *CreateTerminatorParams
WithTerminator adds the terminator to the create terminator params
func (*CreateTerminatorParams) WithTimeout ¶
func (o *CreateTerminatorParams) WithTimeout(timeout time.Duration) *CreateTerminatorParams
WithTimeout adds the timeout to the create terminator params
func (*CreateTerminatorParams) WriteToRequest ¶
func (o *CreateTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v0.22.74
func (o *CreateTerminatorUnauthorized) Code() int
Code gets the status code for the create terminator unauthorized response
func (*CreateTerminatorUnauthorized) Error ¶
func (o *CreateTerminatorUnauthorized) Error() string
func (*CreateTerminatorUnauthorized) GetPayload ¶
func (o *CreateTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateTerminatorUnauthorized) IsClientError ¶ added in v0.21.38
func (o *CreateTerminatorUnauthorized) IsClientError() bool
IsClientError returns true when this create terminator unauthorized response has a 4xx status code
func (*CreateTerminatorUnauthorized) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *CreateTerminatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this create terminator unauthorized response has a 3xx status code
func (*CreateTerminatorUnauthorized) IsServerError ¶ added in v0.21.38
func (o *CreateTerminatorUnauthorized) IsServerError() bool
IsServerError returns true when this create terminator unauthorized response has a 5xx status code
func (*CreateTerminatorUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *CreateTerminatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this create terminator unauthorized response has a 2xx status code
func (*CreateTerminatorUnauthorized) String ¶ added in v0.21.38
func (o *CreateTerminatorUnauthorized) String() 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 ¶ added in v0.22.74
func (o *DeleteTerminatorBadRequest) Code() int
Code gets the status code for the delete terminator bad request response
func (*DeleteTerminatorBadRequest) Error ¶
func (o *DeleteTerminatorBadRequest) Error() string
func (*DeleteTerminatorBadRequest) GetPayload ¶
func (o *DeleteTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteTerminatorBadRequest) IsClientError ¶ added in v0.21.38
func (o *DeleteTerminatorBadRequest) IsClientError() bool
IsClientError returns true when this delete terminator bad request response has a 4xx status code
func (*DeleteTerminatorBadRequest) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DeleteTerminatorBadRequest) IsRedirect() bool
IsRedirect returns true when this delete terminator bad request response has a 3xx status code
func (*DeleteTerminatorBadRequest) IsServerError ¶ added in v0.21.38
func (o *DeleteTerminatorBadRequest) IsServerError() bool
IsServerError returns true when this delete terminator bad request response has a 5xx status code
func (*DeleteTerminatorBadRequest) IsSuccess ¶ added in v0.21.38
func (o *DeleteTerminatorBadRequest) IsSuccess() bool
IsSuccess returns true when this delete terminator bad request response has a 2xx status code
func (*DeleteTerminatorBadRequest) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *DeleteTerminatorConflict) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteTerminatorConflict) IsClientError ¶ added in v0.21.38
func (o *DeleteTerminatorConflict) IsClientError() bool
IsClientError returns true when this delete terminator conflict response has a 4xx status code
func (*DeleteTerminatorConflict) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DeleteTerminatorConflict) IsRedirect() bool
IsRedirect returns true when this delete terminator conflict response has a 3xx status code
func (*DeleteTerminatorConflict) IsServerError ¶ added in v0.21.38
func (o *DeleteTerminatorConflict) IsServerError() bool
IsServerError returns true when this delete terminator conflict response has a 5xx status code
func (*DeleteTerminatorConflict) IsSuccess ¶ added in v0.21.38
func (o *DeleteTerminatorConflict) IsSuccess() bool
IsSuccess returns true when this delete terminator conflict response has a 2xx status code
func (*DeleteTerminatorConflict) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 ¶ added in v0.21.38
func (o *DeleteTerminatorOK) IsClientError() bool
IsClientError returns true when this delete terminator o k response has a 4xx status code
func (*DeleteTerminatorOK) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DeleteTerminatorOK) IsRedirect() bool
IsRedirect returns true when this delete terminator o k response has a 3xx status code
func (*DeleteTerminatorOK) IsServerError ¶ added in v0.21.38
func (o *DeleteTerminatorOK) IsServerError() bool
IsServerError returns true when this delete terminator o k response has a 5xx status code
func (*DeleteTerminatorOK) IsSuccess ¶ added in v0.21.38
func (o *DeleteTerminatorOK) IsSuccess() bool
IsSuccess returns true when this delete terminator o k response has a 2xx status code
func (*DeleteTerminatorOK) String ¶ added in v0.21.38
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 ¶
func (o *DeleteTerminatorParams) WithContext(ctx context.Context) *DeleteTerminatorParams
WithContext adds the context to the delete terminator params
func (*DeleteTerminatorParams) WithDefaults ¶
func (o *DeleteTerminatorParams) WithDefaults() *DeleteTerminatorParams
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 ¶
func (o *DeleteTerminatorParams) WithID(id string) *DeleteTerminatorParams
WithID adds the id to the delete terminator params
func (*DeleteTerminatorParams) WithTimeout ¶
func (o *DeleteTerminatorParams) WithTimeout(timeout time.Duration) *DeleteTerminatorParams
WithTimeout adds the timeout to the delete terminator params
func (*DeleteTerminatorParams) WriteToRequest ¶
func (o *DeleteTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v0.22.74
func (o *DeleteTerminatorUnauthorized) Code() int
Code gets the status code for the delete terminator unauthorized response
func (*DeleteTerminatorUnauthorized) Error ¶
func (o *DeleteTerminatorUnauthorized) Error() string
func (*DeleteTerminatorUnauthorized) GetPayload ¶
func (o *DeleteTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteTerminatorUnauthorized) IsClientError ¶ added in v0.21.38
func (o *DeleteTerminatorUnauthorized) IsClientError() bool
IsClientError returns true when this delete terminator unauthorized response has a 4xx status code
func (*DeleteTerminatorUnauthorized) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DeleteTerminatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete terminator unauthorized response has a 3xx status code
func (*DeleteTerminatorUnauthorized) IsServerError ¶ added in v0.21.38
func (o *DeleteTerminatorUnauthorized) IsServerError() bool
IsServerError returns true when this delete terminator unauthorized response has a 5xx status code
func (*DeleteTerminatorUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *DeleteTerminatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete terminator unauthorized response has a 2xx status code
func (*DeleteTerminatorUnauthorized) String ¶ added in v0.21.38
func (o *DeleteTerminatorUnauthorized) String() 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 ¶ added in v0.22.74
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 (o *DetailTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailTerminatorNotFound) IsClientError ¶ added in v0.21.38
func (o *DetailTerminatorNotFound) IsClientError() bool
IsClientError returns true when this detail terminator not found response has a 4xx status code
func (*DetailTerminatorNotFound) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DetailTerminatorNotFound) IsRedirect() bool
IsRedirect returns true when this detail terminator not found response has a 3xx status code
func (*DetailTerminatorNotFound) IsServerError ¶ added in v0.21.38
func (o *DetailTerminatorNotFound) IsServerError() bool
IsServerError returns true when this detail terminator not found response has a 5xx status code
func (*DetailTerminatorNotFound) IsSuccess ¶ added in v0.21.38
func (o *DetailTerminatorNotFound) IsSuccess() bool
IsSuccess returns true when this detail terminator not found response has a 2xx status code
func (*DetailTerminatorNotFound) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *DetailTerminatorOK) GetPayload() *rest_model.DetailTerminatorEnvelope
func (*DetailTerminatorOK) IsClientError ¶ added in v0.21.38
func (o *DetailTerminatorOK) IsClientError() bool
IsClientError returns true when this detail terminator o k response has a 4xx status code
func (*DetailTerminatorOK) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DetailTerminatorOK) IsRedirect() bool
IsRedirect returns true when this detail terminator o k response has a 3xx status code
func (*DetailTerminatorOK) IsServerError ¶ added in v0.21.38
func (o *DetailTerminatorOK) IsServerError() bool
IsServerError returns true when this detail terminator o k response has a 5xx status code
func (*DetailTerminatorOK) IsSuccess ¶ added in v0.21.38
func (o *DetailTerminatorOK) IsSuccess() bool
IsSuccess returns true when this detail terminator o k response has a 2xx status code
func (*DetailTerminatorOK) String ¶ added in v0.21.38
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 ¶
func (o *DetailTerminatorParams) WithContext(ctx context.Context) *DetailTerminatorParams
WithContext adds the context to the detail terminator params
func (*DetailTerminatorParams) WithDefaults ¶
func (o *DetailTerminatorParams) WithDefaults() *DetailTerminatorParams
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 ¶
func (o *DetailTerminatorParams) WithID(id string) *DetailTerminatorParams
WithID adds the id to the detail terminator params
func (*DetailTerminatorParams) WithTimeout ¶
func (o *DetailTerminatorParams) WithTimeout(timeout time.Duration) *DetailTerminatorParams
WithTimeout adds the timeout to the detail terminator params
func (*DetailTerminatorParams) WriteToRequest ¶
func (o *DetailTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v0.22.74
func (o *DetailTerminatorUnauthorized) Code() int
Code gets the status code for the detail terminator unauthorized response
func (*DetailTerminatorUnauthorized) Error ¶
func (o *DetailTerminatorUnauthorized) Error() string
func (*DetailTerminatorUnauthorized) GetPayload ¶
func (o *DetailTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailTerminatorUnauthorized) IsClientError ¶ added in v0.21.38
func (o *DetailTerminatorUnauthorized) IsClientError() bool
IsClientError returns true when this detail terminator unauthorized response has a 4xx status code
func (*DetailTerminatorUnauthorized) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *DetailTerminatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail terminator unauthorized response has a 3xx status code
func (*DetailTerminatorUnauthorized) IsServerError ¶ added in v0.21.38
func (o *DetailTerminatorUnauthorized) IsServerError() bool
IsServerError returns true when this detail terminator unauthorized response has a 5xx status code
func (*DetailTerminatorUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *DetailTerminatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail terminator unauthorized response has a 2xx status code
func (*DetailTerminatorUnauthorized) String ¶ added in v0.21.38
func (o *DetailTerminatorUnauthorized) String() 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 ¶ added in v0.22.74
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 (o *ListTerminatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ListTerminatorsBadRequest) IsClientError ¶ added in v0.21.38
func (o *ListTerminatorsBadRequest) IsClientError() bool
IsClientError returns true when this list terminators bad request response has a 4xx status code
func (*ListTerminatorsBadRequest) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *ListTerminatorsBadRequest) IsRedirect() bool
IsRedirect returns true when this list terminators bad request response has a 3xx status code
func (*ListTerminatorsBadRequest) IsServerError ¶ added in v0.21.38
func (o *ListTerminatorsBadRequest) IsServerError() bool
IsServerError returns true when this list terminators bad request response has a 5xx status code
func (*ListTerminatorsBadRequest) IsSuccess ¶ added in v0.21.38
func (o *ListTerminatorsBadRequest) IsSuccess() bool
IsSuccess returns true when this list terminators bad request response has a 2xx status code
func (*ListTerminatorsBadRequest) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *ListTerminatorsOK) GetPayload() *rest_model.ListTerminatorsEnvelope
func (*ListTerminatorsOK) IsClientError ¶ added in v0.21.38
func (o *ListTerminatorsOK) IsClientError() bool
IsClientError returns true when this list terminators o k response has a 4xx status code
func (*ListTerminatorsOK) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *ListTerminatorsOK) IsRedirect() bool
IsRedirect returns true when this list terminators o k response has a 3xx status code
func (*ListTerminatorsOK) IsServerError ¶ added in v0.21.38
func (o *ListTerminatorsOK) IsServerError() bool
IsServerError returns true when this list terminators o k response has a 5xx status code
func (*ListTerminatorsOK) IsSuccess ¶ added in v0.21.38
func (o *ListTerminatorsOK) IsSuccess() bool
IsSuccess returns true when this list terminators o k response has a 2xx status code
func (*ListTerminatorsOK) String ¶ added in v0.21.38
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 ¶
func (o *ListTerminatorsParams) WithContext(ctx context.Context) *ListTerminatorsParams
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 {
}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 ¶ added in v0.22.74
func (o *ListTerminatorsUnauthorized) Code() int
Code gets the status code for the list terminators unauthorized response
func (*ListTerminatorsUnauthorized) Error ¶
func (o *ListTerminatorsUnauthorized) Error() string
func (*ListTerminatorsUnauthorized) GetPayload ¶
func (o *ListTerminatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListTerminatorsUnauthorized) IsClientError ¶ added in v0.21.38
func (o *ListTerminatorsUnauthorized) IsClientError() bool
IsClientError returns true when this list terminators unauthorized response has a 4xx status code
func (*ListTerminatorsUnauthorized) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *ListTerminatorsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list terminators unauthorized response has a 3xx status code
func (*ListTerminatorsUnauthorized) IsServerError ¶ added in v0.21.38
func (o *ListTerminatorsUnauthorized) IsServerError() bool
IsServerError returns true when this list terminators unauthorized response has a 5xx status code
func (*ListTerminatorsUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *ListTerminatorsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list terminators unauthorized response has a 2xx status code
func (*ListTerminatorsUnauthorized) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *PatchTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchTerminatorBadRequest) IsClientError ¶ added in v0.21.38
func (o *PatchTerminatorBadRequest) IsClientError() bool
IsClientError returns true when this patch terminator bad request response has a 4xx status code
func (*PatchTerminatorBadRequest) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *PatchTerminatorBadRequest) IsRedirect() bool
IsRedirect returns true when this patch terminator bad request response has a 3xx status code
func (*PatchTerminatorBadRequest) IsServerError ¶ added in v0.21.38
func (o *PatchTerminatorBadRequest) IsServerError() bool
IsServerError returns true when this patch terminator bad request response has a 5xx status code
func (*PatchTerminatorBadRequest) IsSuccess ¶ added in v0.21.38
func (o *PatchTerminatorBadRequest) IsSuccess() bool
IsSuccess returns true when this patch terminator bad request response has a 2xx status code
func (*PatchTerminatorBadRequest) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *PatchTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchTerminatorNotFound) IsClientError ¶ added in v0.21.38
func (o *PatchTerminatorNotFound) IsClientError() bool
IsClientError returns true when this patch terminator not found response has a 4xx status code
func (*PatchTerminatorNotFound) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *PatchTerminatorNotFound) IsRedirect() bool
IsRedirect returns true when this patch terminator not found response has a 3xx status code
func (*PatchTerminatorNotFound) IsServerError ¶ added in v0.21.38
func (o *PatchTerminatorNotFound) IsServerError() bool
IsServerError returns true when this patch terminator not found response has a 5xx status code
func (*PatchTerminatorNotFound) IsSuccess ¶ added in v0.21.38
func (o *PatchTerminatorNotFound) IsSuccess() bool
IsSuccess returns true when this patch terminator not found response has a 2xx status code
func (*PatchTerminatorNotFound) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 ¶ added in v0.21.38
func (o *PatchTerminatorOK) IsClientError() bool
IsClientError returns true when this patch terminator o k response has a 4xx status code
func (*PatchTerminatorOK) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *PatchTerminatorOK) IsRedirect() bool
IsRedirect returns true when this patch terminator o k response has a 3xx status code
func (*PatchTerminatorOK) IsServerError ¶ added in v0.21.38
func (o *PatchTerminatorOK) IsServerError() bool
IsServerError returns true when this patch terminator o k response has a 5xx status code
func (*PatchTerminatorOK) IsSuccess ¶ added in v0.21.38
func (o *PatchTerminatorOK) IsSuccess() bool
IsSuccess returns true when this patch terminator o k response has a 2xx status code
func (*PatchTerminatorOK) String ¶ added in v0.21.38
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 ¶
func (o *PatchTerminatorParams) WithContext(ctx context.Context) *PatchTerminatorParams
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 ¶
func (o *PatchTerminatorParams) WithID(id string) *PatchTerminatorParams
WithID adds the id to the patch terminator params
func (*PatchTerminatorParams) WithTerminator ¶
func (o *PatchTerminatorParams) WithTerminator(terminator *rest_model.TerminatorPatch) *PatchTerminatorParams
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 {
}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 ¶ added in v0.22.74
func (o *PatchTerminatorUnauthorized) Code() int
Code gets the status code for the patch terminator unauthorized response
func (*PatchTerminatorUnauthorized) Error ¶
func (o *PatchTerminatorUnauthorized) Error() string
func (*PatchTerminatorUnauthorized) GetPayload ¶
func (o *PatchTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchTerminatorUnauthorized) IsClientError ¶ added in v0.21.38
func (o *PatchTerminatorUnauthorized) IsClientError() bool
IsClientError returns true when this patch terminator unauthorized response has a 4xx status code
func (*PatchTerminatorUnauthorized) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *PatchTerminatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch terminator unauthorized response has a 3xx status code
func (*PatchTerminatorUnauthorized) IsServerError ¶ added in v0.21.38
func (o *PatchTerminatorUnauthorized) IsServerError() bool
IsServerError returns true when this patch terminator unauthorized response has a 5xx status code
func (*PatchTerminatorUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *PatchTerminatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch terminator unauthorized response has a 2xx status code
func (*PatchTerminatorUnauthorized) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
func (o *UpdateTerminatorBadRequest) Code() int
Code gets the status code for the update terminator bad request response
func (*UpdateTerminatorBadRequest) Error ¶
func (o *UpdateTerminatorBadRequest) Error() string
func (*UpdateTerminatorBadRequest) GetPayload ¶
func (o *UpdateTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateTerminatorBadRequest) IsClientError ¶ added in v0.21.38
func (o *UpdateTerminatorBadRequest) IsClientError() bool
IsClientError returns true when this update terminator bad request response has a 4xx status code
func (*UpdateTerminatorBadRequest) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *UpdateTerminatorBadRequest) IsRedirect() bool
IsRedirect returns true when this update terminator bad request response has a 3xx status code
func (*UpdateTerminatorBadRequest) IsServerError ¶ added in v0.21.38
func (o *UpdateTerminatorBadRequest) IsServerError() bool
IsServerError returns true when this update terminator bad request response has a 5xx status code
func (*UpdateTerminatorBadRequest) IsSuccess ¶ added in v0.21.38
func (o *UpdateTerminatorBadRequest) IsSuccess() bool
IsSuccess returns true when this update terminator bad request response has a 2xx status code
func (*UpdateTerminatorBadRequest) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 (o *UpdateTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateTerminatorNotFound) IsClientError ¶ added in v0.21.38
func (o *UpdateTerminatorNotFound) IsClientError() bool
IsClientError returns true when this update terminator not found response has a 4xx status code
func (*UpdateTerminatorNotFound) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *UpdateTerminatorNotFound) IsRedirect() bool
IsRedirect returns true when this update terminator not found response has a 3xx status code
func (*UpdateTerminatorNotFound) IsServerError ¶ added in v0.21.38
func (o *UpdateTerminatorNotFound) IsServerError() bool
IsServerError returns true when this update terminator not found response has a 5xx status code
func (*UpdateTerminatorNotFound) IsSuccess ¶ added in v0.21.38
func (o *UpdateTerminatorNotFound) IsSuccess() bool
IsSuccess returns true when this update terminator not found response has a 2xx status code
func (*UpdateTerminatorNotFound) String ¶ added in v0.21.38
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 ¶ added in v0.22.74
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 ¶ added in v0.21.38
func (o *UpdateTerminatorOK) IsClientError() bool
IsClientError returns true when this update terminator o k response has a 4xx status code
func (*UpdateTerminatorOK) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *UpdateTerminatorOK) IsRedirect() bool
IsRedirect returns true when this update terminator o k response has a 3xx status code
func (*UpdateTerminatorOK) IsServerError ¶ added in v0.21.38
func (o *UpdateTerminatorOK) IsServerError() bool
IsServerError returns true when this update terminator o k response has a 5xx status code
func (*UpdateTerminatorOK) IsSuccess ¶ added in v0.21.38
func (o *UpdateTerminatorOK) IsSuccess() bool
IsSuccess returns true when this update terminator o k response has a 2xx status code
func (*UpdateTerminatorOK) String ¶ added in v0.21.38
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 ¶
func (o *UpdateTerminatorParams) WithContext(ctx context.Context) *UpdateTerminatorParams
WithContext adds the context to the update terminator params
func (*UpdateTerminatorParams) WithDefaults ¶
func (o *UpdateTerminatorParams) WithDefaults() *UpdateTerminatorParams
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 ¶
func (o *UpdateTerminatorParams) WithID(id string) *UpdateTerminatorParams
WithID adds the id to the update terminator params
func (*UpdateTerminatorParams) WithTerminator ¶
func (o *UpdateTerminatorParams) WithTerminator(terminator *rest_model.TerminatorUpdate) *UpdateTerminatorParams
WithTerminator adds the terminator to the update terminator params
func (*UpdateTerminatorParams) WithTimeout ¶
func (o *UpdateTerminatorParams) WithTimeout(timeout time.Duration) *UpdateTerminatorParams
WithTimeout adds the timeout to the update terminator params
func (*UpdateTerminatorParams) WriteToRequest ¶
func (o *UpdateTerminatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v0.22.74
func (o *UpdateTerminatorUnauthorized) Code() int
Code gets the status code for the update terminator unauthorized response
func (*UpdateTerminatorUnauthorized) Error ¶
func (o *UpdateTerminatorUnauthorized) Error() string
func (*UpdateTerminatorUnauthorized) GetPayload ¶
func (o *UpdateTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateTerminatorUnauthorized) IsClientError ¶ added in v0.21.38
func (o *UpdateTerminatorUnauthorized) IsClientError() bool
IsClientError returns true when this update terminator unauthorized response has a 4xx status code
func (*UpdateTerminatorUnauthorized) IsCode ¶ added in v0.21.38
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 ¶ added in v0.21.38
func (o *UpdateTerminatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this update terminator unauthorized response has a 3xx status code
func (*UpdateTerminatorUnauthorized) IsServerError ¶ added in v0.21.38
func (o *UpdateTerminatorUnauthorized) IsServerError() bool
IsServerError returns true when this update terminator unauthorized response has a 5xx status code
func (*UpdateTerminatorUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *UpdateTerminatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this update terminator unauthorized response has a 2xx status code
func (*UpdateTerminatorUnauthorized) String ¶ added in v0.21.38
func (o *UpdateTerminatorUnauthorized) String() string
Source Files ¶
- create_terminator_parameters.go
- create_terminator_responses.go
- delete_terminator_parameters.go
- delete_terminator_responses.go
- detail_terminator_parameters.go
- detail_terminator_responses.go
- list_terminators_parameters.go
- list_terminators_responses.go
- patch_terminator_parameters.go
- patch_terminator_responses.go
- terminator_client.go
- update_terminator_parameters.go
- update_terminator_responses.go