Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTerminator(params *CreateTerminatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTerminatorCreated, error)
- func (a *Client) DeleteTerminator(params *DeleteTerminatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTerminatorOK, error)
- func (a *Client) DetailTerminator(params *DetailTerminatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailTerminatorOK, error)
- func (a *Client) ListTerminators(params *ListTerminatorsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTerminatorsOK, error)
- func (a *Client) PatchTerminator(params *PatchTerminatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchTerminatorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTerminator(params *UpdateTerminatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTerminatorOK, error)
- type ClientOption
- type ClientService
- type CreateTerminatorBadRequest
- type CreateTerminatorCreated
- 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 CreateTerminatorTooManyRequests
- type CreateTerminatorUnauthorized
- type DeleteTerminatorBadRequest
- type DeleteTerminatorConflict
- type DeleteTerminatorOK
- 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 DeleteTerminatorTooManyRequests
- type DeleteTerminatorUnauthorized
- type DetailTerminatorNotFound
- type DetailTerminatorOK
- 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 DetailTerminatorTooManyRequests
- type DetailTerminatorUnauthorized
- type ListTerminatorsBadRequest
- type ListTerminatorsOK
- 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 ListTerminatorsTooManyRequests
- type ListTerminatorsUnauthorized
- type PatchTerminatorBadRequest
- type PatchTerminatorNotFound
- type PatchTerminatorOK
- 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 PatchTerminatorTooManyRequests
- type PatchTerminatorUnauthorized
- type UpdateTerminatorBadRequest
- type UpdateTerminatorNotFound
- type UpdateTerminatorOK
- 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 UpdateTerminatorTooManyRequests
- type UpdateTerminatorUnauthorized
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, authInfo runtime.ClientAuthInfoWriter, 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, authInfo runtime.ClientAuthInfoWriter, 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, authInfo runtime.ClientAuthInfoWriter, 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, authInfo runtime.ClientAuthInfoWriter, 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, authInfo runtime.ClientAuthInfoWriter, 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, authInfo runtime.ClientAuthInfoWriter, 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, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTerminatorCreated, error) DeleteTerminator(params *DeleteTerminatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTerminatorOK, error) DetailTerminator(params *DetailTerminatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailTerminatorOK, error) ListTerminators(params *ListTerminatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTerminatorsOK, error) PatchTerminator(params *PatchTerminatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTerminatorOK, error) UpdateTerminator(params *UpdateTerminatorParams, authInfo runtime.ClientAuthInfoWriter, 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) Error ¶
func (o *CreateTerminatorBadRequest) Error() string
func (*CreateTerminatorBadRequest) GetPayload ¶
func (o *CreateTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *CreateTerminatorCreated) Error() string
func (*CreateTerminatorCreated) GetPayload ¶
func (o *CreateTerminatorCreated) GetPayload() *rest_model.CreateEnvelope
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 CreateTerminatorTooManyRequests ¶ added in v0.26.0
type CreateTerminatorTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
CreateTerminatorTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCreateTerminatorTooManyRequests ¶ added in v0.26.0
func NewCreateTerminatorTooManyRequests() *CreateTerminatorTooManyRequests
NewCreateTerminatorTooManyRequests creates a CreateTerminatorTooManyRequests with default headers values
func (*CreateTerminatorTooManyRequests) Error ¶ added in v0.26.0
func (o *CreateTerminatorTooManyRequests) Error() string
func (*CreateTerminatorTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *CreateTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type CreateTerminatorUnauthorized ¶
type CreateTerminatorUnauthorized struct {
}CreateTerminatorUnauthorized describes a response with status code 401, with default header values.
The 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) Error ¶
func (o *CreateTerminatorUnauthorized) Error() string
func (*CreateTerminatorUnauthorized) GetPayload ¶
func (o *CreateTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *DeleteTerminatorBadRequest) Error() string
func (*DeleteTerminatorBadRequest) GetPayload ¶
func (o *DeleteTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *DeleteTerminatorConflict) Error() string
func (*DeleteTerminatorConflict) GetPayload ¶
func (o *DeleteTerminatorConflict) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *DeleteTerminatorOK) Error() string
func (*DeleteTerminatorOK) GetPayload ¶
func (o *DeleteTerminatorOK) GetPayload() *rest_model.Empty
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 DeleteTerminatorTooManyRequests ¶ added in v0.26.0
type DeleteTerminatorTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteTerminatorTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewDeleteTerminatorTooManyRequests ¶ added in v0.26.0
func NewDeleteTerminatorTooManyRequests() *DeleteTerminatorTooManyRequests
NewDeleteTerminatorTooManyRequests creates a DeleteTerminatorTooManyRequests with default headers values
func (*DeleteTerminatorTooManyRequests) Error ¶ added in v0.26.0
func (o *DeleteTerminatorTooManyRequests) Error() string
func (*DeleteTerminatorTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DeleteTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type DeleteTerminatorUnauthorized ¶
type DeleteTerminatorUnauthorized struct {
}DeleteTerminatorUnauthorized describes a response with status code 401, with default header values.
The 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) Error ¶
func (o *DeleteTerminatorUnauthorized) Error() string
func (*DeleteTerminatorUnauthorized) GetPayload ¶
func (o *DeleteTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *DetailTerminatorNotFound) Error() string
func (*DetailTerminatorNotFound) GetPayload ¶
func (o *DetailTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *DetailTerminatorOK) Error() string
func (*DetailTerminatorOK) GetPayload ¶
func (o *DetailTerminatorOK) GetPayload() *rest_model.DetailTerminatorEnvelope
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 DetailTerminatorTooManyRequests ¶ added in v0.26.0
type DetailTerminatorTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
DetailTerminatorTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewDetailTerminatorTooManyRequests ¶ added in v0.26.0
func NewDetailTerminatorTooManyRequests() *DetailTerminatorTooManyRequests
NewDetailTerminatorTooManyRequests creates a DetailTerminatorTooManyRequests with default headers values
func (*DetailTerminatorTooManyRequests) Error ¶ added in v0.26.0
func (o *DetailTerminatorTooManyRequests) Error() string
func (*DetailTerminatorTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DetailTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type DetailTerminatorUnauthorized ¶
type DetailTerminatorUnauthorized struct {
}DetailTerminatorUnauthorized describes a response with status code 401, with default header values.
The 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) Error ¶
func (o *DetailTerminatorUnauthorized) Error() string
func (*DetailTerminatorUnauthorized) GetPayload ¶
func (o *DetailTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *ListTerminatorsBadRequest) Error() string
func (*ListTerminatorsBadRequest) GetPayload ¶
func (o *ListTerminatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *ListTerminatorsOK) Error() string
func (*ListTerminatorsOK) GetPayload ¶
func (o *ListTerminatorsOK) GetPayload() *rest_model.ListTerminatorsEnvelope
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 ListTerminatorsTooManyRequests ¶ added in v0.26.0
type ListTerminatorsTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
ListTerminatorsTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewListTerminatorsTooManyRequests ¶ added in v0.26.0
func NewListTerminatorsTooManyRequests() *ListTerminatorsTooManyRequests
NewListTerminatorsTooManyRequests creates a ListTerminatorsTooManyRequests with default headers values
func (*ListTerminatorsTooManyRequests) Error ¶ added in v0.26.0
func (o *ListTerminatorsTooManyRequests) Error() string
func (*ListTerminatorsTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListTerminatorsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type ListTerminatorsUnauthorized ¶
type ListTerminatorsUnauthorized struct {
}ListTerminatorsUnauthorized describes a response with status code 401, with default header values.
The 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) Error ¶
func (o *ListTerminatorsUnauthorized) Error() string
func (*ListTerminatorsUnauthorized) GetPayload ¶
func (o *ListTerminatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *PatchTerminatorBadRequest) Error() string
func (*PatchTerminatorBadRequest) GetPayload ¶
func (o *PatchTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *PatchTerminatorNotFound) Error() string
func (*PatchTerminatorNotFound) GetPayload ¶
func (o *PatchTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *PatchTerminatorOK) Error() string
func (*PatchTerminatorOK) GetPayload ¶
func (o *PatchTerminatorOK) GetPayload() *rest_model.Empty
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 PatchTerminatorTooManyRequests ¶ added in v0.26.0
type PatchTerminatorTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
PatchTerminatorTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewPatchTerminatorTooManyRequests ¶ added in v0.26.0
func NewPatchTerminatorTooManyRequests() *PatchTerminatorTooManyRequests
NewPatchTerminatorTooManyRequests creates a PatchTerminatorTooManyRequests with default headers values
func (*PatchTerminatorTooManyRequests) Error ¶ added in v0.26.0
func (o *PatchTerminatorTooManyRequests) Error() string
func (*PatchTerminatorTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *PatchTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type PatchTerminatorUnauthorized ¶
type PatchTerminatorUnauthorized struct {
}PatchTerminatorUnauthorized describes a response with status code 401, with default header values.
The 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) Error ¶
func (o *PatchTerminatorUnauthorized) Error() string
func (*PatchTerminatorUnauthorized) GetPayload ¶
func (o *PatchTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *UpdateTerminatorBadRequest) Error() string
func (*UpdateTerminatorBadRequest) GetPayload ¶
func (o *UpdateTerminatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *UpdateTerminatorNotFound) Error() string
func (*UpdateTerminatorNotFound) GetPayload ¶
func (o *UpdateTerminatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
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) Error ¶
func (o *UpdateTerminatorOK) Error() string
func (*UpdateTerminatorOK) GetPayload ¶
func (o *UpdateTerminatorOK) GetPayload() *rest_model.Empty
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 UpdateTerminatorTooManyRequests ¶ added in v0.26.0
type UpdateTerminatorTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateTerminatorTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewUpdateTerminatorTooManyRequests ¶ added in v0.26.0
func NewUpdateTerminatorTooManyRequests() *UpdateTerminatorTooManyRequests
NewUpdateTerminatorTooManyRequests creates a UpdateTerminatorTooManyRequests with default headers values
func (*UpdateTerminatorTooManyRequests) Error ¶ added in v0.26.0
func (o *UpdateTerminatorTooManyRequests) Error() string
func (*UpdateTerminatorTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *UpdateTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type UpdateTerminatorUnauthorized ¶
type UpdateTerminatorUnauthorized struct {
}UpdateTerminatorUnauthorized describes a response with status code 401, with default header values.
The 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) Error ¶
func (o *UpdateTerminatorUnauthorized) Error() string
func (*UpdateTerminatorUnauthorized) GetPayload ¶
func (o *UpdateTerminatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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