preheat package - github.com/MartijnStraatman/harbor-go-client/pkg/sdk/v2.0/client/preheat - Go Packages

preheat

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {

	// CreateInstance creates p2p provider instances
	//
	// Create p2p provider instances
	CreateInstance(ctx context.Context, params *CreateInstanceParams) (*CreateInstanceCreated, error)

	// CreatePolicy creates a preheat policy under a project
	//
	// Create a preheat policy under a project
	CreatePolicy(ctx context.Context, params *CreatePolicyParams) (*CreatePolicyCreated, error)

	// DeleteInstance deletes the specified p2 p provider instance
	//
	// Delete the specified P2P provider instance
	DeleteInstance(ctx context.Context, params *DeleteInstanceParams) (*DeleteInstanceOK, error)

	// DeletePolicy deletes a preheat policy
	//
	// Delete a preheat policy
	DeletePolicy(ctx context.Context, params *DeletePolicyParams) (*DeletePolicyOK, error)

	// GetExecution gets a execution detail by id
	//
	// Get a execution detail by id
	GetExecution(ctx context.Context, params *GetExecutionParams) (*GetExecutionOK, error)

	// GetInstance gets a p2 p provider instance
	//
	// Get a P2P provider instance
	GetInstance(ctx context.Context, params *GetInstanceParams) (*GetInstanceOK, error)

	// GetPolicy gets a preheat policy
	//
	// Get a preheat policy
	GetPolicy(ctx context.Context, params *GetPolicyParams) (*GetPolicyOK, error)

	// GetPreheatLog gets the log text stream of the specified task for the given execution
	//
	// Get the log text stream of the specified task for the given execution
	GetPreheatLog(ctx context.Context, params *GetPreheatLogParams) (*GetPreheatLogOK, error)

	// ListExecutions lists executions for the given policy
	//
	// List executions for the given policy
	ListExecutions(ctx context.Context, params *ListExecutionsParams) (*ListExecutionsOK, error)

	// ListInstances lists p2 p provider instances
	//
	// List P2P provider instances
	ListInstances(ctx context.Context, params *ListInstancesParams) (*ListInstancesOK, error)

	// ListPolicies lists preheat policies
	//
	// List preheat policies
	ListPolicies(ctx context.Context, params *ListPoliciesParams) (*ListPoliciesOK, error)

	// ListProviders lists p2 p providers
	//
	// List P2P providers
	ListProviders(ctx context.Context, params *ListProvidersParams) (*ListProvidersOK, error)

	// ListProvidersUnderProject gets all providers at project level
	//
	// Get all providers at project level
	ListProvidersUnderProject(ctx context.Context, params *ListProvidersUnderProjectParams) (*ListProvidersUnderProjectOK, error)

	// ListTasks lists all the related tasks for the given execution
	//
	// List all the related tasks for the given execution
	ListTasks(ctx context.Context, params *ListTasksParams) (*ListTasksOK, error)

	// ManualPreheat manuals preheat
	//
	// Manual preheat
	ManualPreheat(ctx context.Context, params *ManualPreheatParams) (*ManualPreheatCreated, error)

	// PingInstances pings status of a instance
	//
	// This endpoint checks status of a instance, the instance can be given by ID or Endpoint URL (together with credential)
	//
	PingInstances(ctx context.Context, params *PingInstancesParams) (*PingInstancesOK, error)

	// StopExecution stops a execution
	//
	// Stop a execution
	StopExecution(ctx context.Context, params *StopExecutionParams) (*StopExecutionOK, error)

	// UpdateInstance updates the specified p2 p provider instance
	//
	// Update the specified P2P provider instance.
	//
	// If `auth_info` is omitted or empty in the request body and the effective `auth_mode` is not `NONE`
	// (either sent in the request or left unchanged from the stored registration), the previously stored
	// auth credentials are kept. Send a non-empty `auth_info` object to set or replace credentials.
	// Set `auth_mode` to `NONE` to disable authentication without retaining the old credentials.
	//
	UpdateInstance(ctx context.Context, params *UpdateInstanceParams) (*UpdateInstanceOK, error)

	// UpdatePolicy updates preheat policy
	//
	// Update preheat policy
	UpdatePolicy(ctx context.Context, params *UpdatePolicyParams) (*UpdatePolicyOK, error)
}

API is the interface of the preheat client.

type Client

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

Client for preheat API

func New

New creates a new preheat API client.

func (*Client) CreateInstance

func (a *Client) CreateInstance(ctx context.Context, params *CreateInstanceParams) (*CreateInstanceCreated, error)

CreateInstance creates p2p provider instances.

Create p2p provider instances.

func (*Client) CreatePolicy

func (a *Client) CreatePolicy(ctx context.Context, params *CreatePolicyParams) (*CreatePolicyCreated, error)

CreatePolicy creates a preheat policy under a project.

Create a preheat policy under a project.

func (*Client) DeleteInstance

func (a *Client) DeleteInstance(ctx context.Context, params *DeleteInstanceParams) (*DeleteInstanceOK, error)

DeleteInstance deletes the specified p2 p provider instance.

Delete the specified P2P provider instance.

func (*Client) DeletePolicy

func (a *Client) DeletePolicy(ctx context.Context, params *DeletePolicyParams) (*DeletePolicyOK, error)

DeletePolicy deletes a preheat policy.

Delete a preheat policy.

func (*Client) GetExecution

func (a *Client) GetExecution(ctx context.Context, params *GetExecutionParams) (*GetExecutionOK, error)

GetExecution gets a execution detail by id.

Get a execution detail by id.

func (*Client) GetInstance

func (a *Client) GetInstance(ctx context.Context, params *GetInstanceParams) (*GetInstanceOK, error)

GetInstance gets a p2 p provider instance.

Get a P2P provider instance.

func (*Client) GetPolicy

func (a *Client) GetPolicy(ctx context.Context, params *GetPolicyParams) (*GetPolicyOK, error)

GetPolicy gets a preheat policy.

Get a preheat policy.

func (*Client) GetPreheatLog

func (a *Client) GetPreheatLog(ctx context.Context, params *GetPreheatLogParams) (*GetPreheatLogOK, error)

GetPreheatLog gets the log text stream of the specified task for the given execution.

Get the log text stream of the specified task for the given execution.

func (*Client) ListExecutions

func (a *Client) ListExecutions(ctx context.Context, params *ListExecutionsParams) (*ListExecutionsOK, error)

ListExecutions lists executions for the given policy.

List executions for the given policy.

func (*Client) ListInstances

func (a *Client) ListInstances(ctx context.Context, params *ListInstancesParams) (*ListInstancesOK, error)

ListInstances lists p2 p provider instances.

List P2P provider instances.

func (*Client) ListPolicies

func (a *Client) ListPolicies(ctx context.Context, params *ListPoliciesParams) (*ListPoliciesOK, error)

ListPolicies lists preheat policies.

List preheat policies.

func (*Client) ListProviders

func (a *Client) ListProviders(ctx context.Context, params *ListProvidersParams) (*ListProvidersOK, error)

ListProviders lists p2 p providers.

List P2P providers.

func (*Client) ListProvidersUnderProject

func (a *Client) ListProvidersUnderProject(ctx context.Context, params *ListProvidersUnderProjectParams) (*ListProvidersUnderProjectOK, error)

ListProvidersUnderProject gets all providers at project level.

Get all providers at project level.

func (*Client) ListTasks

func (a *Client) ListTasks(ctx context.Context, params *ListTasksParams) (*ListTasksOK, error)

ListTasks lists all the related tasks for the given execution.

List all the related tasks for the given execution.

func (*Client) ManualPreheat

func (a *Client) ManualPreheat(ctx context.Context, params *ManualPreheatParams) (*ManualPreheatCreated, error)

ManualPreheat manuals preheat.

Manual preheat.

func (*Client) PingInstances

func (a *Client) PingInstances(ctx context.Context, params *PingInstancesParams) (*PingInstancesOK, error)

PingInstances pings status of a instance.

This endpoint checks status of a instance, the instance can be given by ID or Endpoint URL (together with credential) .

func (*Client) StopExecution

func (a *Client) StopExecution(ctx context.Context, params *StopExecutionParams) (*StopExecutionOK, error)

StopExecution stops a execution.

Stop a execution.

func (*Client) UpdateInstance

func (a *Client) UpdateInstance(ctx context.Context, params *UpdateInstanceParams) (*UpdateInstanceOK, error)

UpdateInstance updates the specified p2 p provider instance.

Update the specified P2P provider instance.

If `auth_info` is omitted or empty in the request body and the effective `auth_mode` is not `NONE` (either sent in the request or left unchanged from the stored registration), the previously stored auth credentials are kept. Send a non-empty `auth_info` object to set or replace credentials. Set `auth_mode` to `NONE` to disable authentication without retaining the old credentials. .

func (*Client) UpdatePolicy

func (a *Client) UpdatePolicy(ctx context.Context, params *UpdatePolicyParams) (*UpdatePolicyOK, error)

UpdatePolicy updates preheat policy.

Update preheat policy.

type CreateInstanceBadRequest

type CreateInstanceBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewCreateInstanceBadRequest

func NewCreateInstanceBadRequest() *CreateInstanceBadRequest

NewCreateInstanceBadRequest creates a CreateInstanceBadRequest with default headers values

func (*CreateInstanceBadRequest) Code

func (o *CreateInstanceBadRequest) Code() int

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

func (*CreateInstanceBadRequest) Error

func (o *CreateInstanceBadRequest) Error() string

func (*CreateInstanceBadRequest) GetPayload

func (o *CreateInstanceBadRequest) GetPayload() *models.Errors

func (*CreateInstanceBadRequest) IsClientError

func (o *CreateInstanceBadRequest) IsClientError() bool

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

func (*CreateInstanceBadRequest) IsCode

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

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

func (*CreateInstanceBadRequest) IsRedirect

func (o *CreateInstanceBadRequest) IsRedirect() bool

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

func (*CreateInstanceBadRequest) IsServerError

func (o *CreateInstanceBadRequest) IsServerError() bool

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

func (*CreateInstanceBadRequest) IsSuccess

func (o *CreateInstanceBadRequest) IsSuccess() bool

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

func (*CreateInstanceBadRequest) String

func (o *CreateInstanceBadRequest) String() string

type CreateInstanceConflict

type CreateInstanceConflict struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Conflict

func NewCreateInstanceConflict

func NewCreateInstanceConflict() *CreateInstanceConflict

NewCreateInstanceConflict creates a CreateInstanceConflict with default headers values

func (*CreateInstanceConflict) Code

func (o *CreateInstanceConflict) Code() int

Code gets the status code for the create instance conflict response

func (*CreateInstanceConflict) Error

func (o *CreateInstanceConflict) Error() string

func (*CreateInstanceConflict) GetPayload

func (o *CreateInstanceConflict) GetPayload() *models.Errors

func (*CreateInstanceConflict) IsClientError

func (o *CreateInstanceConflict) IsClientError() bool

IsClientError returns true when this create instance conflict response has a 4xx status code

func (*CreateInstanceConflict) IsCode

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

IsCode returns true when this create instance conflict response a status code equal to that given

func (*CreateInstanceConflict) IsRedirect

func (o *CreateInstanceConflict) IsRedirect() bool

IsRedirect returns true when this create instance conflict response has a 3xx status code

func (*CreateInstanceConflict) IsServerError

func (o *CreateInstanceConflict) IsServerError() bool

IsServerError returns true when this create instance conflict response has a 5xx status code

func (*CreateInstanceConflict) IsSuccess

func (o *CreateInstanceConflict) IsSuccess() bool

IsSuccess returns true when this create instance conflict response has a 2xx status code

func (*CreateInstanceConflict) String

func (o *CreateInstanceConflict) String() string

type CreateInstanceCreated

type CreateInstanceCreated struct {

	// The location of the resource
	Location string

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Created

func NewCreateInstanceCreated

func NewCreateInstanceCreated() *CreateInstanceCreated

NewCreateInstanceCreated creates a CreateInstanceCreated with default headers values

func (*CreateInstanceCreated) Code

func (o *CreateInstanceCreated) Code() int

Code gets the status code for the create instance created response

func (*CreateInstanceCreated) Error

func (o *CreateInstanceCreated) Error() string

func (*CreateInstanceCreated) IsClientError

func (o *CreateInstanceCreated) IsClientError() bool

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

func (*CreateInstanceCreated) IsCode

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

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

func (*CreateInstanceCreated) IsRedirect

func (o *CreateInstanceCreated) IsRedirect() bool

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

func (*CreateInstanceCreated) IsServerError

func (o *CreateInstanceCreated) IsServerError() bool

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

func (*CreateInstanceCreated) IsSuccess

func (o *CreateInstanceCreated) IsSuccess() bool

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

func (*CreateInstanceCreated) String

func (o *CreateInstanceCreated) String() string

type CreateInstanceForbidden

type CreateInstanceForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewCreateInstanceForbidden

func NewCreateInstanceForbidden() *CreateInstanceForbidden

NewCreateInstanceForbidden creates a CreateInstanceForbidden with default headers values

func (*CreateInstanceForbidden) Code

func (o *CreateInstanceForbidden) Code() int

Code gets the status code for the create instance forbidden response

func (*CreateInstanceForbidden) Error

func (o *CreateInstanceForbidden) Error() string

func (*CreateInstanceForbidden) GetPayload

func (o *CreateInstanceForbidden) GetPayload() *models.Errors

func (*CreateInstanceForbidden) IsClientError

func (o *CreateInstanceForbidden) IsClientError() bool

IsClientError returns true when this create instance forbidden response has a 4xx status code

func (*CreateInstanceForbidden) IsCode

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

IsCode returns true when this create instance forbidden response a status code equal to that given

func (*CreateInstanceForbidden) IsRedirect

func (o *CreateInstanceForbidden) IsRedirect() bool

IsRedirect returns true when this create instance forbidden response has a 3xx status code

func (*CreateInstanceForbidden) IsServerError

func (o *CreateInstanceForbidden) IsServerError() bool

IsServerError returns true when this create instance forbidden response has a 5xx status code

func (*CreateInstanceForbidden) IsSuccess

func (o *CreateInstanceForbidden) IsSuccess() bool

IsSuccess returns true when this create instance forbidden response has a 2xx status code

func (*CreateInstanceForbidden) String

func (o *CreateInstanceForbidden) String() string

type CreateInstanceInternalServerError

type CreateInstanceInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateInstanceInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewCreateInstanceInternalServerError

func NewCreateInstanceInternalServerError() *CreateInstanceInternalServerError

NewCreateInstanceInternalServerError creates a CreateInstanceInternalServerError with default headers values

func (*CreateInstanceInternalServerError) Code

Code gets the status code for the create instance internal server error response

func (*CreateInstanceInternalServerError) Error

func (*CreateInstanceInternalServerError) GetPayload

func (*CreateInstanceInternalServerError) IsClientError

func (o *CreateInstanceInternalServerError) IsClientError() bool

IsClientError returns true when this create instance internal server error response has a 4xx status code

func (*CreateInstanceInternalServerError) IsCode

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

IsCode returns true when this create instance internal server error response a status code equal to that given

func (*CreateInstanceInternalServerError) IsRedirect

func (o *CreateInstanceInternalServerError) IsRedirect() bool

IsRedirect returns true when this create instance internal server error response has a 3xx status code

func (*CreateInstanceInternalServerError) IsServerError

func (o *CreateInstanceInternalServerError) IsServerError() bool

IsServerError returns true when this create instance internal server error response has a 5xx status code

func (*CreateInstanceInternalServerError) IsSuccess

func (o *CreateInstanceInternalServerError) IsSuccess() bool

IsSuccess returns true when this create instance internal server error response has a 2xx status code

func (*CreateInstanceInternalServerError) String

type CreateInstanceNotFound

type CreateInstanceNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewCreateInstanceNotFound

func NewCreateInstanceNotFound() *CreateInstanceNotFound

NewCreateInstanceNotFound creates a CreateInstanceNotFound with default headers values

func (*CreateInstanceNotFound) Code

func (o *CreateInstanceNotFound) Code() int

Code gets the status code for the create instance not found response

func (*CreateInstanceNotFound) Error

func (o *CreateInstanceNotFound) Error() string

func (*CreateInstanceNotFound) GetPayload

func (o *CreateInstanceNotFound) GetPayload() *models.Errors

func (*CreateInstanceNotFound) IsClientError

func (o *CreateInstanceNotFound) IsClientError() bool

IsClientError returns true when this create instance not found response has a 4xx status code

func (*CreateInstanceNotFound) IsCode

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

IsCode returns true when this create instance not found response a status code equal to that given

func (*CreateInstanceNotFound) IsRedirect

func (o *CreateInstanceNotFound) IsRedirect() bool

IsRedirect returns true when this create instance not found response has a 3xx status code

func (*CreateInstanceNotFound) IsServerError

func (o *CreateInstanceNotFound) IsServerError() bool

IsServerError returns true when this create instance not found response has a 5xx status code

func (*CreateInstanceNotFound) IsSuccess

func (o *CreateInstanceNotFound) IsSuccess() bool

IsSuccess returns true when this create instance not found response has a 2xx status code

func (*CreateInstanceNotFound) String

func (o *CreateInstanceNotFound) String() string

type CreateInstanceParams

type CreateInstanceParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Instance.
	//
	// The JSON object of instance.
	Instance *models.Instance

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

CreateInstanceParams contains all the parameters to send to the API endpoint

for the create instance operation.

Typically these are written to a http.Request.

func NewCreateInstanceParams

func NewCreateInstanceParams() *CreateInstanceParams

NewCreateInstanceParams creates a new CreateInstanceParams 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 NewCreateInstanceParamsWithContext deprecated

func NewCreateInstanceParamsWithContext(ctx context.Context) *CreateInstanceParams

NewCreateInstanceParamsWithContext creates a new CreateInstanceParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of CreateInstanceParams.

func NewCreateInstanceParamsWithHTTPClient

func NewCreateInstanceParamsWithHTTPClient(client *http.Client) *CreateInstanceParams

NewCreateInstanceParamsWithHTTPClient creates a new CreateInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateInstanceParamsWithTimeout

func NewCreateInstanceParamsWithTimeout(timeout time.Duration) *CreateInstanceParams

NewCreateInstanceParamsWithTimeout creates a new CreateInstanceParams object with the ability to set a timeout on a request.

func (*CreateInstanceParams) SetContext deprecated

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

SetContext adds the context to the create instance params.

Deprecated: use the operation call with context to pass the context instead of CreateInstanceParams.

func (*CreateInstanceParams) SetDefaults

func (o *CreateInstanceParams) SetDefaults()

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

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

func (*CreateInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create instance params.

func (*CreateInstanceParams) SetInstance

func (o *CreateInstanceParams) SetInstance(instance *models.Instance)

SetInstance adds the instance to the create instance params.

func (*CreateInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the create instance params.

func (*CreateInstanceParams) SetXRequestID

func (o *CreateInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create instance params.

func (*CreateInstanceParams) WithContext deprecated

WithContext adds the context to the create instance params.

Deprecated: use the operation call with context to pass the context instead of CreateInstanceParams.

func (*CreateInstanceParams) WithDefaults

func (o *CreateInstanceParams) WithDefaults() *CreateInstanceParams

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

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

func (*CreateInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create instance params.

func (*CreateInstanceParams) WithInstance

func (o *CreateInstanceParams) WithInstance(instance *models.Instance) *CreateInstanceParams

WithInstance adds the instance to the create instance params.

func (*CreateInstanceParams) WithTimeout

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

WithTimeout adds the timeout to the create instance params.

func (*CreateInstanceParams) WithXRequestID

func (o *CreateInstanceParams) WithXRequestID(xRequestID *string) *CreateInstanceParams

WithXRequestID adds the xRequestID to the create instance params.

func (*CreateInstanceParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type CreateInstanceReader

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

CreateInstanceReader is a Reader for the CreateInstance structure.

func (*CreateInstanceReader) ReadResponse

func (o *CreateInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateInstanceUnauthorized

type CreateInstanceUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewCreateInstanceUnauthorized

func NewCreateInstanceUnauthorized() *CreateInstanceUnauthorized

NewCreateInstanceUnauthorized creates a CreateInstanceUnauthorized with default headers values

func (*CreateInstanceUnauthorized) Code

func (o *CreateInstanceUnauthorized) Code() int

Code gets the status code for the create instance unauthorized response

func (*CreateInstanceUnauthorized) Error

func (*CreateInstanceUnauthorized) GetPayload

func (o *CreateInstanceUnauthorized) GetPayload() *models.Errors

func (*CreateInstanceUnauthorized) IsClientError

func (o *CreateInstanceUnauthorized) IsClientError() bool

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

func (*CreateInstanceUnauthorized) IsCode

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

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

func (*CreateInstanceUnauthorized) IsRedirect

func (o *CreateInstanceUnauthorized) IsRedirect() bool

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

func (*CreateInstanceUnauthorized) IsServerError

func (o *CreateInstanceUnauthorized) IsServerError() bool

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

func (*CreateInstanceUnauthorized) IsSuccess

func (o *CreateInstanceUnauthorized) IsSuccess() bool

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

func (*CreateInstanceUnauthorized) String

func (o *CreateInstanceUnauthorized) String() string

type CreatePolicyBadRequest

type CreatePolicyBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewCreatePolicyBadRequest

func NewCreatePolicyBadRequest() *CreatePolicyBadRequest

NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values

func (*CreatePolicyBadRequest) Code

func (o *CreatePolicyBadRequest) Code() int

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

func (*CreatePolicyBadRequest) Error

func (o *CreatePolicyBadRequest) Error() string

func (*CreatePolicyBadRequest) GetPayload

func (o *CreatePolicyBadRequest) GetPayload() *models.Errors

func (*CreatePolicyBadRequest) IsClientError

func (o *CreatePolicyBadRequest) IsClientError() bool

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

func (*CreatePolicyBadRequest) IsCode

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

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

func (*CreatePolicyBadRequest) IsRedirect

func (o *CreatePolicyBadRequest) IsRedirect() bool

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

func (*CreatePolicyBadRequest) IsServerError

func (o *CreatePolicyBadRequest) IsServerError() bool

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

func (*CreatePolicyBadRequest) IsSuccess

func (o *CreatePolicyBadRequest) IsSuccess() bool

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

func (*CreatePolicyBadRequest) String

func (o *CreatePolicyBadRequest) String() string

type CreatePolicyConflict

type CreatePolicyConflict struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Conflict

func NewCreatePolicyConflict

func NewCreatePolicyConflict() *CreatePolicyConflict

NewCreatePolicyConflict creates a CreatePolicyConflict with default headers values

func (*CreatePolicyConflict) Code

func (o *CreatePolicyConflict) Code() int

Code gets the status code for the create policy conflict response

func (*CreatePolicyConflict) Error

func (o *CreatePolicyConflict) Error() string

func (*CreatePolicyConflict) GetPayload

func (o *CreatePolicyConflict) GetPayload() *models.Errors

func (*CreatePolicyConflict) IsClientError

func (o *CreatePolicyConflict) IsClientError() bool

IsClientError returns true when this create policy conflict response has a 4xx status code

func (*CreatePolicyConflict) IsCode

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

IsCode returns true when this create policy conflict response a status code equal to that given

func (*CreatePolicyConflict) IsRedirect

func (o *CreatePolicyConflict) IsRedirect() bool

IsRedirect returns true when this create policy conflict response has a 3xx status code

func (*CreatePolicyConflict) IsServerError

func (o *CreatePolicyConflict) IsServerError() bool

IsServerError returns true when this create policy conflict response has a 5xx status code

func (*CreatePolicyConflict) IsSuccess

func (o *CreatePolicyConflict) IsSuccess() bool

IsSuccess returns true when this create policy conflict response has a 2xx status code

func (*CreatePolicyConflict) String

func (o *CreatePolicyConflict) String() string

type CreatePolicyCreated

type CreatePolicyCreated struct {

	// The location of the resource
	Location string

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Created

func NewCreatePolicyCreated

func NewCreatePolicyCreated() *CreatePolicyCreated

NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values

func (*CreatePolicyCreated) Code

func (o *CreatePolicyCreated) Code() int

Code gets the status code for the create policy created response

func (*CreatePolicyCreated) Error

func (o *CreatePolicyCreated) Error() string

func (*CreatePolicyCreated) IsClientError

func (o *CreatePolicyCreated) IsClientError() bool

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

func (*CreatePolicyCreated) IsCode

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

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

func (*CreatePolicyCreated) IsRedirect

func (o *CreatePolicyCreated) IsRedirect() bool

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

func (*CreatePolicyCreated) IsServerError

func (o *CreatePolicyCreated) IsServerError() bool

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

func (*CreatePolicyCreated) IsSuccess

func (o *CreatePolicyCreated) IsSuccess() bool

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

func (*CreatePolicyCreated) String

func (o *CreatePolicyCreated) String() string

type CreatePolicyForbidden

type CreatePolicyForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewCreatePolicyForbidden

func NewCreatePolicyForbidden() *CreatePolicyForbidden

NewCreatePolicyForbidden creates a CreatePolicyForbidden with default headers values

func (*CreatePolicyForbidden) Code

func (o *CreatePolicyForbidden) Code() int

Code gets the status code for the create policy forbidden response

func (*CreatePolicyForbidden) Error

func (o *CreatePolicyForbidden) Error() string

func (*CreatePolicyForbidden) GetPayload

func (o *CreatePolicyForbidden) GetPayload() *models.Errors

func (*CreatePolicyForbidden) IsClientError

func (o *CreatePolicyForbidden) IsClientError() bool

IsClientError returns true when this create policy forbidden response has a 4xx status code

func (*CreatePolicyForbidden) IsCode

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

IsCode returns true when this create policy forbidden response a status code equal to that given

func (*CreatePolicyForbidden) IsRedirect

func (o *CreatePolicyForbidden) IsRedirect() bool

IsRedirect returns true when this create policy forbidden response has a 3xx status code

func (*CreatePolicyForbidden) IsServerError

func (o *CreatePolicyForbidden) IsServerError() bool

IsServerError returns true when this create policy forbidden response has a 5xx status code

func (*CreatePolicyForbidden) IsSuccess

func (o *CreatePolicyForbidden) IsSuccess() bool

IsSuccess returns true when this create policy forbidden response has a 2xx status code

func (*CreatePolicyForbidden) String

func (o *CreatePolicyForbidden) String() string

type CreatePolicyInternalServerError

type CreatePolicyInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreatePolicyInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewCreatePolicyInternalServerError

func NewCreatePolicyInternalServerError() *CreatePolicyInternalServerError

NewCreatePolicyInternalServerError creates a CreatePolicyInternalServerError with default headers values

func (*CreatePolicyInternalServerError) Code

Code gets the status code for the create policy internal server error response

func (*CreatePolicyInternalServerError) Error

func (*CreatePolicyInternalServerError) GetPayload

func (*CreatePolicyInternalServerError) IsClientError

func (o *CreatePolicyInternalServerError) IsClientError() bool

IsClientError returns true when this create policy internal server error response has a 4xx status code

func (*CreatePolicyInternalServerError) IsCode

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

IsCode returns true when this create policy internal server error response a status code equal to that given

func (*CreatePolicyInternalServerError) IsRedirect

func (o *CreatePolicyInternalServerError) IsRedirect() bool

IsRedirect returns true when this create policy internal server error response has a 3xx status code

func (*CreatePolicyInternalServerError) IsServerError

func (o *CreatePolicyInternalServerError) IsServerError() bool

IsServerError returns true when this create policy internal server error response has a 5xx status code

func (*CreatePolicyInternalServerError) IsSuccess

func (o *CreatePolicyInternalServerError) IsSuccess() bool

IsSuccess returns true when this create policy internal server error response has a 2xx status code

func (*CreatePolicyInternalServerError) String

type CreatePolicyParams

type CreatePolicyParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Policy.
	//
	// The policy schema info
	Policy *models.PreheatPolicy

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

CreatePolicyParams contains all the parameters to send to the API endpoint

for the create policy operation.

Typically these are written to a http.Request.

func NewCreatePolicyParams

func NewCreatePolicyParams() *CreatePolicyParams

NewCreatePolicyParams creates a new CreatePolicyParams 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 NewCreatePolicyParamsWithContext deprecated

func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams

NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of CreatePolicyParams.

func NewCreatePolicyParamsWithHTTPClient

func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams

NewCreatePolicyParamsWithHTTPClient creates a new CreatePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePolicyParamsWithTimeout

func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams

NewCreatePolicyParamsWithTimeout creates a new CreatePolicyParams object with the ability to set a timeout on a request.

func (*CreatePolicyParams) SetContext deprecated

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

SetContext adds the context to the create policy params.

Deprecated: use the operation call with context to pass the context instead of CreatePolicyParams.

func (*CreatePolicyParams) SetDefaults

func (o *CreatePolicyParams) SetDefaults()

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

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

func (*CreatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create policy params.

func (*CreatePolicyParams) SetPolicy

func (o *CreatePolicyParams) SetPolicy(policy *models.PreheatPolicy)

SetPolicy adds the policy to the create policy params.

func (*CreatePolicyParams) SetProjectName

func (o *CreatePolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the create policy params.

func (*CreatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create policy params.

func (*CreatePolicyParams) SetXRequestID

func (o *CreatePolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create policy params.

func (*CreatePolicyParams) WithContext deprecated

WithContext adds the context to the create policy params.

Deprecated: use the operation call with context to pass the context instead of CreatePolicyParams.

func (*CreatePolicyParams) WithDefaults

func (o *CreatePolicyParams) WithDefaults() *CreatePolicyParams

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

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

func (*CreatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create policy params.

func (*CreatePolicyParams) WithPolicy

WithPolicy adds the policy to the create policy params.

func (*CreatePolicyParams) WithProjectName

func (o *CreatePolicyParams) WithProjectName(projectName string) *CreatePolicyParams

WithProjectName adds the projectName to the create policy params.

func (*CreatePolicyParams) WithTimeout

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

WithTimeout adds the timeout to the create policy params.

func (*CreatePolicyParams) WithXRequestID

func (o *CreatePolicyParams) WithXRequestID(xRequestID *string) *CreatePolicyParams

WithXRequestID adds the xRequestID to the create policy params.

func (*CreatePolicyParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type CreatePolicyReader

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

CreatePolicyReader is a Reader for the CreatePolicy structure.

func (*CreatePolicyReader) ReadResponse

func (o *CreatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreatePolicyUnauthorized

type CreatePolicyUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewCreatePolicyUnauthorized

func NewCreatePolicyUnauthorized() *CreatePolicyUnauthorized

NewCreatePolicyUnauthorized creates a CreatePolicyUnauthorized with default headers values

func (*CreatePolicyUnauthorized) Code

func (o *CreatePolicyUnauthorized) Code() int

Code gets the status code for the create policy unauthorized response

func (*CreatePolicyUnauthorized) Error

func (o *CreatePolicyUnauthorized) Error() string

func (*CreatePolicyUnauthorized) GetPayload

func (o *CreatePolicyUnauthorized) GetPayload() *models.Errors

func (*CreatePolicyUnauthorized) IsClientError

func (o *CreatePolicyUnauthorized) IsClientError() bool

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

func (*CreatePolicyUnauthorized) IsCode

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

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

func (*CreatePolicyUnauthorized) IsRedirect

func (o *CreatePolicyUnauthorized) IsRedirect() bool

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

func (*CreatePolicyUnauthorized) IsServerError

func (o *CreatePolicyUnauthorized) IsServerError() bool

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

func (*CreatePolicyUnauthorized) IsSuccess

func (o *CreatePolicyUnauthorized) IsSuccess() bool

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

func (*CreatePolicyUnauthorized) String

func (o *CreatePolicyUnauthorized) String() string

type DeleteInstanceForbidden

type DeleteInstanceForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewDeleteInstanceForbidden

func NewDeleteInstanceForbidden() *DeleteInstanceForbidden

NewDeleteInstanceForbidden creates a DeleteInstanceForbidden with default headers values

func (*DeleteInstanceForbidden) Code

func (o *DeleteInstanceForbidden) Code() int

Code gets the status code for the delete instance forbidden response

func (*DeleteInstanceForbidden) Error

func (o *DeleteInstanceForbidden) Error() string

func (*DeleteInstanceForbidden) GetPayload

func (o *DeleteInstanceForbidden) GetPayload() *models.Errors

func (*DeleteInstanceForbidden) IsClientError

func (o *DeleteInstanceForbidden) IsClientError() bool

IsClientError returns true when this delete instance forbidden response has a 4xx status code

func (*DeleteInstanceForbidden) IsCode

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

IsCode returns true when this delete instance forbidden response a status code equal to that given

func (*DeleteInstanceForbidden) IsRedirect

func (o *DeleteInstanceForbidden) IsRedirect() bool

IsRedirect returns true when this delete instance forbidden response has a 3xx status code

func (*DeleteInstanceForbidden) IsServerError

func (o *DeleteInstanceForbidden) IsServerError() bool

IsServerError returns true when this delete instance forbidden response has a 5xx status code

func (*DeleteInstanceForbidden) IsSuccess

func (o *DeleteInstanceForbidden) IsSuccess() bool

IsSuccess returns true when this delete instance forbidden response has a 2xx status code

func (*DeleteInstanceForbidden) String

func (o *DeleteInstanceForbidden) String() string

type DeleteInstanceInternalServerError

type DeleteInstanceInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

DeleteInstanceInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewDeleteInstanceInternalServerError

func NewDeleteInstanceInternalServerError() *DeleteInstanceInternalServerError

NewDeleteInstanceInternalServerError creates a DeleteInstanceInternalServerError with default headers values

func (*DeleteInstanceInternalServerError) Code

Code gets the status code for the delete instance internal server error response

func (*DeleteInstanceInternalServerError) Error

func (*DeleteInstanceInternalServerError) GetPayload

func (*DeleteInstanceInternalServerError) IsClientError

func (o *DeleteInstanceInternalServerError) IsClientError() bool

IsClientError returns true when this delete instance internal server error response has a 4xx status code

func (*DeleteInstanceInternalServerError) IsCode

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

IsCode returns true when this delete instance internal server error response a status code equal to that given

func (*DeleteInstanceInternalServerError) IsRedirect

func (o *DeleteInstanceInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete instance internal server error response has a 3xx status code

func (*DeleteInstanceInternalServerError) IsServerError

func (o *DeleteInstanceInternalServerError) IsServerError() bool

IsServerError returns true when this delete instance internal server error response has a 5xx status code

func (*DeleteInstanceInternalServerError) IsSuccess

func (o *DeleteInstanceInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete instance internal server error response has a 2xx status code

func (*DeleteInstanceInternalServerError) String

type DeleteInstanceNotFound

type DeleteInstanceNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewDeleteInstanceNotFound

func NewDeleteInstanceNotFound() *DeleteInstanceNotFound

NewDeleteInstanceNotFound creates a DeleteInstanceNotFound with default headers values

func (*DeleteInstanceNotFound) Code

func (o *DeleteInstanceNotFound) Code() int

Code gets the status code for the delete instance not found response

func (*DeleteInstanceNotFound) Error

func (o *DeleteInstanceNotFound) Error() string

func (*DeleteInstanceNotFound) GetPayload

func (o *DeleteInstanceNotFound) GetPayload() *models.Errors

func (*DeleteInstanceNotFound) IsClientError

func (o *DeleteInstanceNotFound) IsClientError() bool

IsClientError returns true when this delete instance not found response has a 4xx status code

func (*DeleteInstanceNotFound) IsCode

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

IsCode returns true when this delete instance not found response a status code equal to that given

func (*DeleteInstanceNotFound) IsRedirect

func (o *DeleteInstanceNotFound) IsRedirect() bool

IsRedirect returns true when this delete instance not found response has a 3xx status code

func (*DeleteInstanceNotFound) IsServerError

func (o *DeleteInstanceNotFound) IsServerError() bool

IsServerError returns true when this delete instance not found response has a 5xx status code

func (*DeleteInstanceNotFound) IsSuccess

func (o *DeleteInstanceNotFound) IsSuccess() bool

IsSuccess returns true when this delete instance not found response has a 2xx status code

func (*DeleteInstanceNotFound) String

func (o *DeleteInstanceNotFound) String() string

type DeleteInstanceOK

type DeleteInstanceOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewDeleteInstanceOK

func NewDeleteInstanceOK() *DeleteInstanceOK

NewDeleteInstanceOK creates a DeleteInstanceOK with default headers values

func (*DeleteInstanceOK) Code

func (o *DeleteInstanceOK) Code() int

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

func (*DeleteInstanceOK) Error

func (o *DeleteInstanceOK) Error() string

func (*DeleteInstanceOK) IsClientError

func (o *DeleteInstanceOK) IsClientError() bool

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

func (*DeleteInstanceOK) IsCode

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

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

func (*DeleteInstanceOK) IsRedirect

func (o *DeleteInstanceOK) IsRedirect() bool

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

func (*DeleteInstanceOK) IsServerError

func (o *DeleteInstanceOK) IsServerError() bool

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

func (*DeleteInstanceOK) IsSuccess

func (o *DeleteInstanceOK) IsSuccess() bool

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

func (*DeleteInstanceOK) String

func (o *DeleteInstanceOK) String() string

type DeleteInstanceParams

type DeleteInstanceParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// PreheatInstanceName.
	//
	// Instance Name
	PreheatInstanceName string

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

DeleteInstanceParams contains all the parameters to send to the API endpoint

for the delete instance operation.

Typically these are written to a http.Request.

func NewDeleteInstanceParams

func NewDeleteInstanceParams() *DeleteInstanceParams

NewDeleteInstanceParams creates a new DeleteInstanceParams 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 NewDeleteInstanceParamsWithContext deprecated

func NewDeleteInstanceParamsWithContext(ctx context.Context) *DeleteInstanceParams

NewDeleteInstanceParamsWithContext creates a new DeleteInstanceParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DeleteInstanceParams.

func NewDeleteInstanceParamsWithHTTPClient

func NewDeleteInstanceParamsWithHTTPClient(client *http.Client) *DeleteInstanceParams

NewDeleteInstanceParamsWithHTTPClient creates a new DeleteInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInstanceParamsWithTimeout

func NewDeleteInstanceParamsWithTimeout(timeout time.Duration) *DeleteInstanceParams

NewDeleteInstanceParamsWithTimeout creates a new DeleteInstanceParams object with the ability to set a timeout on a request.

func (*DeleteInstanceParams) SetContext deprecated

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

SetContext adds the context to the delete instance params.

Deprecated: use the operation call with context to pass the context instead of DeleteInstanceParams.

func (*DeleteInstanceParams) SetDefaults

func (o *DeleteInstanceParams) SetDefaults()

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

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

func (*DeleteInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete instance params.

func (*DeleteInstanceParams) SetPreheatInstanceName

func (o *DeleteInstanceParams) SetPreheatInstanceName(preheatInstanceName string)

SetPreheatInstanceName adds the preheatInstanceName to the delete instance params.

func (*DeleteInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the delete instance params.

func (*DeleteInstanceParams) SetXRequestID

func (o *DeleteInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete instance params.

func (*DeleteInstanceParams) WithContext deprecated

WithContext adds the context to the delete instance params.

Deprecated: use the operation call with context to pass the context instead of DeleteInstanceParams.

func (*DeleteInstanceParams) WithDefaults

func (o *DeleteInstanceParams) WithDefaults() *DeleteInstanceParams

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

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

func (*DeleteInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete instance params.

func (*DeleteInstanceParams) WithPreheatInstanceName

func (o *DeleteInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *DeleteInstanceParams

WithPreheatInstanceName adds the preheatInstanceName to the delete instance params.

func (*DeleteInstanceParams) WithTimeout

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

WithTimeout adds the timeout to the delete instance params.

func (*DeleteInstanceParams) WithXRequestID

func (o *DeleteInstanceParams) WithXRequestID(xRequestID *string) *DeleteInstanceParams

WithXRequestID adds the xRequestID to the delete instance params.

func (*DeleteInstanceParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type DeleteInstanceReader

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

DeleteInstanceReader is a Reader for the DeleteInstance structure.

func (*DeleteInstanceReader) ReadResponse

func (o *DeleteInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteInstanceUnauthorized

type DeleteInstanceUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewDeleteInstanceUnauthorized

func NewDeleteInstanceUnauthorized() *DeleteInstanceUnauthorized

NewDeleteInstanceUnauthorized creates a DeleteInstanceUnauthorized with default headers values

func (*DeleteInstanceUnauthorized) Code

func (o *DeleteInstanceUnauthorized) Code() int

Code gets the status code for the delete instance unauthorized response

func (*DeleteInstanceUnauthorized) Error

func (*DeleteInstanceUnauthorized) GetPayload

func (o *DeleteInstanceUnauthorized) GetPayload() *models.Errors

func (*DeleteInstanceUnauthorized) IsClientError

func (o *DeleteInstanceUnauthorized) IsClientError() bool

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

func (*DeleteInstanceUnauthorized) IsCode

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

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

func (*DeleteInstanceUnauthorized) IsRedirect

func (o *DeleteInstanceUnauthorized) IsRedirect() bool

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

func (*DeleteInstanceUnauthorized) IsServerError

func (o *DeleteInstanceUnauthorized) IsServerError() bool

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

func (*DeleteInstanceUnauthorized) IsSuccess

func (o *DeleteInstanceUnauthorized) IsSuccess() bool

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

func (*DeleteInstanceUnauthorized) String

func (o *DeleteInstanceUnauthorized) String() string

type DeletePolicyBadRequest

type DeletePolicyBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewDeletePolicyBadRequest

func NewDeletePolicyBadRequest() *DeletePolicyBadRequest

NewDeletePolicyBadRequest creates a DeletePolicyBadRequest with default headers values

func (*DeletePolicyBadRequest) Code

func (o *DeletePolicyBadRequest) Code() int

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

func (*DeletePolicyBadRequest) Error

func (o *DeletePolicyBadRequest) Error() string

func (*DeletePolicyBadRequest) GetPayload

func (o *DeletePolicyBadRequest) GetPayload() *models.Errors

func (*DeletePolicyBadRequest) IsClientError

func (o *DeletePolicyBadRequest) IsClientError() bool

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

func (*DeletePolicyBadRequest) IsCode

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

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

func (*DeletePolicyBadRequest) IsRedirect

func (o *DeletePolicyBadRequest) IsRedirect() bool

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

func (*DeletePolicyBadRequest) IsServerError

func (o *DeletePolicyBadRequest) IsServerError() bool

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

func (*DeletePolicyBadRequest) IsSuccess

func (o *DeletePolicyBadRequest) IsSuccess() bool

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

func (*DeletePolicyBadRequest) String

func (o *DeletePolicyBadRequest) String() string

type DeletePolicyForbidden

type DeletePolicyForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewDeletePolicyForbidden

func NewDeletePolicyForbidden() *DeletePolicyForbidden

NewDeletePolicyForbidden creates a DeletePolicyForbidden with default headers values

func (*DeletePolicyForbidden) Code

func (o *DeletePolicyForbidden) Code() int

Code gets the status code for the delete policy forbidden response

func (*DeletePolicyForbidden) Error

func (o *DeletePolicyForbidden) Error() string

func (*DeletePolicyForbidden) GetPayload

func (o *DeletePolicyForbidden) GetPayload() *models.Errors

func (*DeletePolicyForbidden) IsClientError

func (o *DeletePolicyForbidden) IsClientError() bool

IsClientError returns true when this delete policy forbidden response has a 4xx status code

func (*DeletePolicyForbidden) IsCode

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

IsCode returns true when this delete policy forbidden response a status code equal to that given

func (*DeletePolicyForbidden) IsRedirect

func (o *DeletePolicyForbidden) IsRedirect() bool

IsRedirect returns true when this delete policy forbidden response has a 3xx status code

func (*DeletePolicyForbidden) IsServerError

func (o *DeletePolicyForbidden) IsServerError() bool

IsServerError returns true when this delete policy forbidden response has a 5xx status code

func (*DeletePolicyForbidden) IsSuccess

func (o *DeletePolicyForbidden) IsSuccess() bool

IsSuccess returns true when this delete policy forbidden response has a 2xx status code

func (*DeletePolicyForbidden) String

func (o *DeletePolicyForbidden) String() string

type DeletePolicyInternalServerError

type DeletePolicyInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

DeletePolicyInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewDeletePolicyInternalServerError

func NewDeletePolicyInternalServerError() *DeletePolicyInternalServerError

NewDeletePolicyInternalServerError creates a DeletePolicyInternalServerError with default headers values

func (*DeletePolicyInternalServerError) Code

Code gets the status code for the delete policy internal server error response

func (*DeletePolicyInternalServerError) Error

func (*DeletePolicyInternalServerError) GetPayload

func (*DeletePolicyInternalServerError) IsClientError

func (o *DeletePolicyInternalServerError) IsClientError() bool

IsClientError returns true when this delete policy internal server error response has a 4xx status code

func (*DeletePolicyInternalServerError) IsCode

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

IsCode returns true when this delete policy internal server error response a status code equal to that given

func (*DeletePolicyInternalServerError) IsRedirect

func (o *DeletePolicyInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete policy internal server error response has a 3xx status code

func (*DeletePolicyInternalServerError) IsServerError

func (o *DeletePolicyInternalServerError) IsServerError() bool

IsServerError returns true when this delete policy internal server error response has a 5xx status code

func (*DeletePolicyInternalServerError) IsSuccess

func (o *DeletePolicyInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete policy internal server error response has a 2xx status code

func (*DeletePolicyInternalServerError) String

type DeletePolicyNotFound

type DeletePolicyNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewDeletePolicyNotFound

func NewDeletePolicyNotFound() *DeletePolicyNotFound

NewDeletePolicyNotFound creates a DeletePolicyNotFound with default headers values

func (*DeletePolicyNotFound) Code

func (o *DeletePolicyNotFound) Code() int

Code gets the status code for the delete policy not found response

func (*DeletePolicyNotFound) Error

func (o *DeletePolicyNotFound) Error() string

func (*DeletePolicyNotFound) GetPayload

func (o *DeletePolicyNotFound) GetPayload() *models.Errors

func (*DeletePolicyNotFound) IsClientError

func (o *DeletePolicyNotFound) IsClientError() bool

IsClientError returns true when this delete policy not found response has a 4xx status code

func (*DeletePolicyNotFound) IsCode

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

IsCode returns true when this delete policy not found response a status code equal to that given

func (*DeletePolicyNotFound) IsRedirect

func (o *DeletePolicyNotFound) IsRedirect() bool

IsRedirect returns true when this delete policy not found response has a 3xx status code

func (*DeletePolicyNotFound) IsServerError

func (o *DeletePolicyNotFound) IsServerError() bool

IsServerError returns true when this delete policy not found response has a 5xx status code

func (*DeletePolicyNotFound) IsSuccess

func (o *DeletePolicyNotFound) IsSuccess() bool

IsSuccess returns true when this delete policy not found response has a 2xx status code

func (*DeletePolicyNotFound) String

func (o *DeletePolicyNotFound) String() string

type DeletePolicyOK

type DeletePolicyOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewDeletePolicyOK

func NewDeletePolicyOK() *DeletePolicyOK

NewDeletePolicyOK creates a DeletePolicyOK with default headers values

func (*DeletePolicyOK) Code

func (o *DeletePolicyOK) Code() int

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

func (*DeletePolicyOK) Error

func (o *DeletePolicyOK) Error() string

func (*DeletePolicyOK) IsClientError

func (o *DeletePolicyOK) IsClientError() bool

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

func (*DeletePolicyOK) IsCode

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

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

func (*DeletePolicyOK) IsRedirect

func (o *DeletePolicyOK) IsRedirect() bool

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

func (*DeletePolicyOK) IsServerError

func (o *DeletePolicyOK) IsServerError() bool

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

func (*DeletePolicyOK) IsSuccess

func (o *DeletePolicyOK) IsSuccess() bool

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

func (*DeletePolicyOK) String

func (o *DeletePolicyOK) String() string

type DeletePolicyParams

type DeletePolicyParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

DeletePolicyParams contains all the parameters to send to the API endpoint

for the delete policy operation.

Typically these are written to a http.Request.

func NewDeletePolicyParams

func NewDeletePolicyParams() *DeletePolicyParams

NewDeletePolicyParams creates a new DeletePolicyParams 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 NewDeletePolicyParamsWithContext deprecated

func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams

NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DeletePolicyParams.

func NewDeletePolicyParamsWithHTTPClient

func NewDeletePolicyParamsWithHTTPClient(client *http.Client) *DeletePolicyParams

NewDeletePolicyParamsWithHTTPClient creates a new DeletePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePolicyParamsWithTimeout

func NewDeletePolicyParamsWithTimeout(timeout time.Duration) *DeletePolicyParams

NewDeletePolicyParamsWithTimeout creates a new DeletePolicyParams object with the ability to set a timeout on a request.

func (*DeletePolicyParams) SetContext deprecated

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

SetContext adds the context to the delete policy params.

Deprecated: use the operation call with context to pass the context instead of DeletePolicyParams.

func (*DeletePolicyParams) SetDefaults

func (o *DeletePolicyParams) SetDefaults()

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

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

func (*DeletePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete policy params.

func (*DeletePolicyParams) SetPreheatPolicyName

func (o *DeletePolicyParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the delete policy params.

func (*DeletePolicyParams) SetProjectName

func (o *DeletePolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the delete policy params.

func (*DeletePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete policy params.

func (*DeletePolicyParams) SetXRequestID

func (o *DeletePolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete policy params.

func (*DeletePolicyParams) WithContext deprecated

WithContext adds the context to the delete policy params.

Deprecated: use the operation call with context to pass the context instead of DeletePolicyParams.

func (*DeletePolicyParams) WithDefaults

func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams

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

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

func (*DeletePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete policy params.

func (*DeletePolicyParams) WithPreheatPolicyName

func (o *DeletePolicyParams) WithPreheatPolicyName(preheatPolicyName string) *DeletePolicyParams

WithPreheatPolicyName adds the preheatPolicyName to the delete policy params.

func (*DeletePolicyParams) WithProjectName

func (o *DeletePolicyParams) WithProjectName(projectName string) *DeletePolicyParams

WithProjectName adds the projectName to the delete policy params.

func (*DeletePolicyParams) WithTimeout

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

WithTimeout adds the timeout to the delete policy params.

func (*DeletePolicyParams) WithXRequestID

func (o *DeletePolicyParams) WithXRequestID(xRequestID *string) *DeletePolicyParams

WithXRequestID adds the xRequestID to the delete policy params.

func (*DeletePolicyParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type DeletePolicyReader

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

DeletePolicyReader is a Reader for the DeletePolicy structure.

func (*DeletePolicyReader) ReadResponse

func (o *DeletePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeletePolicyUnauthorized

type DeletePolicyUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewDeletePolicyUnauthorized

func NewDeletePolicyUnauthorized() *DeletePolicyUnauthorized

NewDeletePolicyUnauthorized creates a DeletePolicyUnauthorized with default headers values

func (*DeletePolicyUnauthorized) Code

func (o *DeletePolicyUnauthorized) Code() int

Code gets the status code for the delete policy unauthorized response

func (*DeletePolicyUnauthorized) Error

func (o *DeletePolicyUnauthorized) Error() string

func (*DeletePolicyUnauthorized) GetPayload

func (o *DeletePolicyUnauthorized) GetPayload() *models.Errors

func (*DeletePolicyUnauthorized) IsClientError

func (o *DeletePolicyUnauthorized) IsClientError() bool

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

func (*DeletePolicyUnauthorized) IsCode

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

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

func (*DeletePolicyUnauthorized) IsRedirect

func (o *DeletePolicyUnauthorized) IsRedirect() bool

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

func (*DeletePolicyUnauthorized) IsServerError

func (o *DeletePolicyUnauthorized) IsServerError() bool

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

func (*DeletePolicyUnauthorized) IsSuccess

func (o *DeletePolicyUnauthorized) IsSuccess() bool

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

func (*DeletePolicyUnauthorized) String

func (o *DeletePolicyUnauthorized) String() string

type GetExecutionBadRequest

type GetExecutionBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewGetExecutionBadRequest

func NewGetExecutionBadRequest() *GetExecutionBadRequest

NewGetExecutionBadRequest creates a GetExecutionBadRequest with default headers values

func (*GetExecutionBadRequest) Code

func (o *GetExecutionBadRequest) Code() int

Code gets the status code for the get execution bad request response

func (*GetExecutionBadRequest) Error

func (o *GetExecutionBadRequest) Error() string

func (*GetExecutionBadRequest) GetPayload

func (o *GetExecutionBadRequest) GetPayload() *models.Errors

func (*GetExecutionBadRequest) IsClientError

func (o *GetExecutionBadRequest) IsClientError() bool

IsClientError returns true when this get execution bad request response has a 4xx status code

func (*GetExecutionBadRequest) IsCode

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

IsCode returns true when this get execution bad request response a status code equal to that given

func (*GetExecutionBadRequest) IsRedirect

func (o *GetExecutionBadRequest) IsRedirect() bool

IsRedirect returns true when this get execution bad request response has a 3xx status code

func (*GetExecutionBadRequest) IsServerError

func (o *GetExecutionBadRequest) IsServerError() bool

IsServerError returns true when this get execution bad request response has a 5xx status code

func (*GetExecutionBadRequest) IsSuccess

func (o *GetExecutionBadRequest) IsSuccess() bool

IsSuccess returns true when this get execution bad request response has a 2xx status code

func (*GetExecutionBadRequest) String

func (o *GetExecutionBadRequest) String() string

type GetExecutionForbidden

type GetExecutionForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewGetExecutionForbidden

func NewGetExecutionForbidden() *GetExecutionForbidden

NewGetExecutionForbidden creates a GetExecutionForbidden with default headers values

func (*GetExecutionForbidden) Code

func (o *GetExecutionForbidden) Code() int

Code gets the status code for the get execution forbidden response

func (*GetExecutionForbidden) Error

func (o *GetExecutionForbidden) Error() string

func (*GetExecutionForbidden) GetPayload

func (o *GetExecutionForbidden) GetPayload() *models.Errors

func (*GetExecutionForbidden) IsClientError

func (o *GetExecutionForbidden) IsClientError() bool

IsClientError returns true when this get execution forbidden response has a 4xx status code

func (*GetExecutionForbidden) IsCode

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

IsCode returns true when this get execution forbidden response a status code equal to that given

func (*GetExecutionForbidden) IsRedirect

func (o *GetExecutionForbidden) IsRedirect() bool

IsRedirect returns true when this get execution forbidden response has a 3xx status code

func (*GetExecutionForbidden) IsServerError

func (o *GetExecutionForbidden) IsServerError() bool

IsServerError returns true when this get execution forbidden response has a 5xx status code

func (*GetExecutionForbidden) IsSuccess

func (o *GetExecutionForbidden) IsSuccess() bool

IsSuccess returns true when this get execution forbidden response has a 2xx status code

func (*GetExecutionForbidden) String

func (o *GetExecutionForbidden) String() string

type GetExecutionInternalServerError

type GetExecutionInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetExecutionInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetExecutionInternalServerError

func NewGetExecutionInternalServerError() *GetExecutionInternalServerError

NewGetExecutionInternalServerError creates a GetExecutionInternalServerError with default headers values

func (*GetExecutionInternalServerError) Code

Code gets the status code for the get execution internal server error response

func (*GetExecutionInternalServerError) Error

func (*GetExecutionInternalServerError) GetPayload

func (*GetExecutionInternalServerError) IsClientError

func (o *GetExecutionInternalServerError) IsClientError() bool

IsClientError returns true when this get execution internal server error response has a 4xx status code

func (*GetExecutionInternalServerError) IsCode

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

IsCode returns true when this get execution internal server error response a status code equal to that given

func (*GetExecutionInternalServerError) IsRedirect

func (o *GetExecutionInternalServerError) IsRedirect() bool

IsRedirect returns true when this get execution internal server error response has a 3xx status code

func (*GetExecutionInternalServerError) IsServerError

func (o *GetExecutionInternalServerError) IsServerError() bool

IsServerError returns true when this get execution internal server error response has a 5xx status code

func (*GetExecutionInternalServerError) IsSuccess

func (o *GetExecutionInternalServerError) IsSuccess() bool

IsSuccess returns true when this get execution internal server error response has a 2xx status code

func (*GetExecutionInternalServerError) String

type GetExecutionNotFound

type GetExecutionNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewGetExecutionNotFound

func NewGetExecutionNotFound() *GetExecutionNotFound

NewGetExecutionNotFound creates a GetExecutionNotFound with default headers values

func (*GetExecutionNotFound) Code

func (o *GetExecutionNotFound) Code() int

Code gets the status code for the get execution not found response

func (*GetExecutionNotFound) Error

func (o *GetExecutionNotFound) Error() string

func (*GetExecutionNotFound) GetPayload

func (o *GetExecutionNotFound) GetPayload() *models.Errors

func (*GetExecutionNotFound) IsClientError

func (o *GetExecutionNotFound) IsClientError() bool

IsClientError returns true when this get execution not found response has a 4xx status code

func (*GetExecutionNotFound) IsCode

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

IsCode returns true when this get execution not found response a status code equal to that given

func (*GetExecutionNotFound) IsRedirect

func (o *GetExecutionNotFound) IsRedirect() bool

IsRedirect returns true when this get execution not found response has a 3xx status code

func (*GetExecutionNotFound) IsServerError

func (o *GetExecutionNotFound) IsServerError() bool

IsServerError returns true when this get execution not found response has a 5xx status code

func (*GetExecutionNotFound) IsSuccess

func (o *GetExecutionNotFound) IsSuccess() bool

IsSuccess returns true when this get execution not found response has a 2xx status code

func (*GetExecutionNotFound) String

func (o *GetExecutionNotFound) String() string

type GetExecutionOK

type GetExecutionOK struct {
	Payload *models.Execution
}

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

Get execution success

func NewGetExecutionOK

func NewGetExecutionOK() *GetExecutionOK

NewGetExecutionOK creates a GetExecutionOK with default headers values

func (*GetExecutionOK) Code

func (o *GetExecutionOK) Code() int

Code gets the status code for the get execution o k response

func (*GetExecutionOK) Error

func (o *GetExecutionOK) Error() string

func (*GetExecutionOK) GetPayload

func (o *GetExecutionOK) GetPayload() *models.Execution

func (*GetExecutionOK) IsClientError

func (o *GetExecutionOK) IsClientError() bool

IsClientError returns true when this get execution o k response has a 4xx status code

func (*GetExecutionOK) IsCode

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

IsCode returns true when this get execution o k response a status code equal to that given

func (*GetExecutionOK) IsRedirect

func (o *GetExecutionOK) IsRedirect() bool

IsRedirect returns true when this get execution o k response has a 3xx status code

func (*GetExecutionOK) IsServerError

func (o *GetExecutionOK) IsServerError() bool

IsServerError returns true when this get execution o k response has a 5xx status code

func (*GetExecutionOK) IsSuccess

func (o *GetExecutionOK) IsSuccess() bool

IsSuccess returns true when this get execution o k response has a 2xx status code

func (*GetExecutionOK) String

func (o *GetExecutionOK) String() string

type GetExecutionParams

type GetExecutionParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// ExecutionID.
	//
	// Execution ID
	ExecutionID int64

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

GetExecutionParams contains all the parameters to send to the API endpoint

for the get execution operation.

Typically these are written to a http.Request.

func NewGetExecutionParams

func NewGetExecutionParams() *GetExecutionParams

NewGetExecutionParams creates a new GetExecutionParams 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 NewGetExecutionParamsWithContext deprecated

func NewGetExecutionParamsWithContext(ctx context.Context) *GetExecutionParams

NewGetExecutionParamsWithContext creates a new GetExecutionParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetExecutionParams.

func NewGetExecutionParamsWithHTTPClient

func NewGetExecutionParamsWithHTTPClient(client *http.Client) *GetExecutionParams

NewGetExecutionParamsWithHTTPClient creates a new GetExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewGetExecutionParamsWithTimeout

func NewGetExecutionParamsWithTimeout(timeout time.Duration) *GetExecutionParams

NewGetExecutionParamsWithTimeout creates a new GetExecutionParams object with the ability to set a timeout on a request.

func (*GetExecutionParams) SetContext deprecated

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

SetContext adds the context to the get execution params.

Deprecated: use the operation call with context to pass the context instead of GetExecutionParams.

func (*GetExecutionParams) SetDefaults

func (o *GetExecutionParams) SetDefaults()

SetDefaults hydrates default values in the get execution params (not the query body).

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

func (*GetExecutionParams) SetExecutionID

func (o *GetExecutionParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the get execution params.

func (*GetExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get execution params.

func (*GetExecutionParams) SetPreheatPolicyName

func (o *GetExecutionParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the get execution params.

func (*GetExecutionParams) SetProjectName

func (o *GetExecutionParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get execution params.

func (*GetExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the get execution params.

func (*GetExecutionParams) SetXRequestID

func (o *GetExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get execution params.

func (*GetExecutionParams) WithContext deprecated

WithContext adds the context to the get execution params.

Deprecated: use the operation call with context to pass the context instead of GetExecutionParams.

func (*GetExecutionParams) WithDefaults

func (o *GetExecutionParams) WithDefaults() *GetExecutionParams

WithDefaults hydrates default values in the get execution params (not the query body).

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

func (*GetExecutionParams) WithExecutionID

func (o *GetExecutionParams) WithExecutionID(executionID int64) *GetExecutionParams

WithExecutionID adds the executionID to the get execution params.

func (*GetExecutionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get execution params.

func (*GetExecutionParams) WithPreheatPolicyName

func (o *GetExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *GetExecutionParams

WithPreheatPolicyName adds the preheatPolicyName to the get execution params.

func (*GetExecutionParams) WithProjectName

func (o *GetExecutionParams) WithProjectName(projectName string) *GetExecutionParams

WithProjectName adds the projectName to the get execution params.

func (*GetExecutionParams) WithTimeout

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

WithTimeout adds the timeout to the get execution params.

func (*GetExecutionParams) WithXRequestID

func (o *GetExecutionParams) WithXRequestID(xRequestID *string) *GetExecutionParams

WithXRequestID adds the xRequestID to the get execution params.

func (*GetExecutionParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type GetExecutionReader

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

GetExecutionReader is a Reader for the GetExecution structure.

func (*GetExecutionReader) ReadResponse

func (o *GetExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetExecutionUnauthorized

type GetExecutionUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetExecutionUnauthorized

func NewGetExecutionUnauthorized() *GetExecutionUnauthorized

NewGetExecutionUnauthorized creates a GetExecutionUnauthorized with default headers values

func (*GetExecutionUnauthorized) Code

func (o *GetExecutionUnauthorized) Code() int

Code gets the status code for the get execution unauthorized response

func (*GetExecutionUnauthorized) Error

func (o *GetExecutionUnauthorized) Error() string

func (*GetExecutionUnauthorized) GetPayload

func (o *GetExecutionUnauthorized) GetPayload() *models.Errors

func (*GetExecutionUnauthorized) IsClientError

func (o *GetExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this get execution unauthorized response has a 4xx status code

func (*GetExecutionUnauthorized) IsCode

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

IsCode returns true when this get execution unauthorized response a status code equal to that given

func (*GetExecutionUnauthorized) IsRedirect

func (o *GetExecutionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get execution unauthorized response has a 3xx status code

func (*GetExecutionUnauthorized) IsServerError

func (o *GetExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this get execution unauthorized response has a 5xx status code

func (*GetExecutionUnauthorized) IsSuccess

func (o *GetExecutionUnauthorized) IsSuccess() bool

IsSuccess returns true when this get execution unauthorized response has a 2xx status code

func (*GetExecutionUnauthorized) String

func (o *GetExecutionUnauthorized) String() string

type GetInstanceBadRequest

type GetInstanceBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewGetInstanceBadRequest

func NewGetInstanceBadRequest() *GetInstanceBadRequest

NewGetInstanceBadRequest creates a GetInstanceBadRequest with default headers values

func (*GetInstanceBadRequest) Code

func (o *GetInstanceBadRequest) Code() int

Code gets the status code for the get instance bad request response

func (*GetInstanceBadRequest) Error

func (o *GetInstanceBadRequest) Error() string

func (*GetInstanceBadRequest) GetPayload

func (o *GetInstanceBadRequest) GetPayload() *models.Errors

func (*GetInstanceBadRequest) IsClientError

func (o *GetInstanceBadRequest) IsClientError() bool

IsClientError returns true when this get instance bad request response has a 4xx status code

func (*GetInstanceBadRequest) IsCode

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

IsCode returns true when this get instance bad request response a status code equal to that given

func (*GetInstanceBadRequest) IsRedirect

func (o *GetInstanceBadRequest) IsRedirect() bool

IsRedirect returns true when this get instance bad request response has a 3xx status code

func (*GetInstanceBadRequest) IsServerError

func (o *GetInstanceBadRequest) IsServerError() bool

IsServerError returns true when this get instance bad request response has a 5xx status code

func (*GetInstanceBadRequest) IsSuccess

func (o *GetInstanceBadRequest) IsSuccess() bool

IsSuccess returns true when this get instance bad request response has a 2xx status code

func (*GetInstanceBadRequest) String

func (o *GetInstanceBadRequest) String() string

type GetInstanceForbidden

type GetInstanceForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewGetInstanceForbidden

func NewGetInstanceForbidden() *GetInstanceForbidden

NewGetInstanceForbidden creates a GetInstanceForbidden with default headers values

func (*GetInstanceForbidden) Code

func (o *GetInstanceForbidden) Code() int

Code gets the status code for the get instance forbidden response

func (*GetInstanceForbidden) Error

func (o *GetInstanceForbidden) Error() string

func (*GetInstanceForbidden) GetPayload

func (o *GetInstanceForbidden) GetPayload() *models.Errors

func (*GetInstanceForbidden) IsClientError

func (o *GetInstanceForbidden) IsClientError() bool

IsClientError returns true when this get instance forbidden response has a 4xx status code

func (*GetInstanceForbidden) IsCode

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

IsCode returns true when this get instance forbidden response a status code equal to that given

func (*GetInstanceForbidden) IsRedirect

func (o *GetInstanceForbidden) IsRedirect() bool

IsRedirect returns true when this get instance forbidden response has a 3xx status code

func (*GetInstanceForbidden) IsServerError

func (o *GetInstanceForbidden) IsServerError() bool

IsServerError returns true when this get instance forbidden response has a 5xx status code

func (*GetInstanceForbidden) IsSuccess

func (o *GetInstanceForbidden) IsSuccess() bool

IsSuccess returns true when this get instance forbidden response has a 2xx status code

func (*GetInstanceForbidden) String

func (o *GetInstanceForbidden) String() string

type GetInstanceInternalServerError

type GetInstanceInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetInstanceInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetInstanceInternalServerError

func NewGetInstanceInternalServerError() *GetInstanceInternalServerError

NewGetInstanceInternalServerError creates a GetInstanceInternalServerError with default headers values

func (*GetInstanceInternalServerError) Code

Code gets the status code for the get instance internal server error response

func (*GetInstanceInternalServerError) Error

func (*GetInstanceInternalServerError) GetPayload

func (o *GetInstanceInternalServerError) GetPayload() *models.Errors

func (*GetInstanceInternalServerError) IsClientError

func (o *GetInstanceInternalServerError) IsClientError() bool

IsClientError returns true when this get instance internal server error response has a 4xx status code

func (*GetInstanceInternalServerError) IsCode

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

IsCode returns true when this get instance internal server error response a status code equal to that given

func (*GetInstanceInternalServerError) IsRedirect

func (o *GetInstanceInternalServerError) IsRedirect() bool

IsRedirect returns true when this get instance internal server error response has a 3xx status code

func (*GetInstanceInternalServerError) IsServerError

func (o *GetInstanceInternalServerError) IsServerError() bool

IsServerError returns true when this get instance internal server error response has a 5xx status code

func (*GetInstanceInternalServerError) IsSuccess

func (o *GetInstanceInternalServerError) IsSuccess() bool

IsSuccess returns true when this get instance internal server error response has a 2xx status code

func (*GetInstanceInternalServerError) String

type GetInstanceNotFound

type GetInstanceNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewGetInstanceNotFound

func NewGetInstanceNotFound() *GetInstanceNotFound

NewGetInstanceNotFound creates a GetInstanceNotFound with default headers values

func (*GetInstanceNotFound) Code

func (o *GetInstanceNotFound) Code() int

Code gets the status code for the get instance not found response

func (*GetInstanceNotFound) Error

func (o *GetInstanceNotFound) Error() string

func (*GetInstanceNotFound) GetPayload

func (o *GetInstanceNotFound) GetPayload() *models.Errors

func (*GetInstanceNotFound) IsClientError

func (o *GetInstanceNotFound) IsClientError() bool

IsClientError returns true when this get instance not found response has a 4xx status code

func (*GetInstanceNotFound) IsCode

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

IsCode returns true when this get instance not found response a status code equal to that given

func (*GetInstanceNotFound) IsRedirect

func (o *GetInstanceNotFound) IsRedirect() bool

IsRedirect returns true when this get instance not found response has a 3xx status code

func (*GetInstanceNotFound) IsServerError

func (o *GetInstanceNotFound) IsServerError() bool

IsServerError returns true when this get instance not found response has a 5xx status code

func (*GetInstanceNotFound) IsSuccess

func (o *GetInstanceNotFound) IsSuccess() bool

IsSuccess returns true when this get instance not found response has a 2xx status code

func (*GetInstanceNotFound) String

func (o *GetInstanceNotFound) String() string

type GetInstanceOK

type GetInstanceOK struct {
	Payload *models.Instance
}

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

Success

func NewGetInstanceOK

func NewGetInstanceOK() *GetInstanceOK

NewGetInstanceOK creates a GetInstanceOK with default headers values

func (*GetInstanceOK) Code

func (o *GetInstanceOK) Code() int

Code gets the status code for the get instance o k response

func (*GetInstanceOK) Error

func (o *GetInstanceOK) Error() string

func (*GetInstanceOK) GetPayload

func (o *GetInstanceOK) GetPayload() *models.Instance

func (*GetInstanceOK) IsClientError

func (o *GetInstanceOK) IsClientError() bool

IsClientError returns true when this get instance o k response has a 4xx status code

func (*GetInstanceOK) IsCode

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

IsCode returns true when this get instance o k response a status code equal to that given

func (*GetInstanceOK) IsRedirect

func (o *GetInstanceOK) IsRedirect() bool

IsRedirect returns true when this get instance o k response has a 3xx status code

func (*GetInstanceOK) IsServerError

func (o *GetInstanceOK) IsServerError() bool

IsServerError returns true when this get instance o k response has a 5xx status code

func (*GetInstanceOK) IsSuccess

func (o *GetInstanceOK) IsSuccess() bool

IsSuccess returns true when this get instance o k response has a 2xx status code

func (*GetInstanceOK) String

func (o *GetInstanceOK) String() string

type GetInstanceParams

type GetInstanceParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// PreheatInstanceName.
	//
	// Instance Name
	PreheatInstanceName string

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

GetInstanceParams contains all the parameters to send to the API endpoint

for the get instance operation.

Typically these are written to a http.Request.

func NewGetInstanceParams

func NewGetInstanceParams() *GetInstanceParams

NewGetInstanceParams creates a new GetInstanceParams 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 NewGetInstanceParamsWithContext deprecated

func NewGetInstanceParamsWithContext(ctx context.Context) *GetInstanceParams

NewGetInstanceParamsWithContext creates a new GetInstanceParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetInstanceParams.

func NewGetInstanceParamsWithHTTPClient

func NewGetInstanceParamsWithHTTPClient(client *http.Client) *GetInstanceParams

NewGetInstanceParamsWithHTTPClient creates a new GetInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewGetInstanceParamsWithTimeout

func NewGetInstanceParamsWithTimeout(timeout time.Duration) *GetInstanceParams

NewGetInstanceParamsWithTimeout creates a new GetInstanceParams object with the ability to set a timeout on a request.

func (*GetInstanceParams) SetContext deprecated

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

SetContext adds the context to the get instance params.

Deprecated: use the operation call with context to pass the context instead of GetInstanceParams.

func (*GetInstanceParams) SetDefaults

func (o *GetInstanceParams) SetDefaults()

SetDefaults hydrates default values in the get instance params (not the query body).

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

func (*GetInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get instance params.

func (*GetInstanceParams) SetPreheatInstanceName

func (o *GetInstanceParams) SetPreheatInstanceName(preheatInstanceName string)

SetPreheatInstanceName adds the preheatInstanceName to the get instance params.

func (*GetInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the get instance params.

func (*GetInstanceParams) SetXRequestID

func (o *GetInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get instance params.

func (*GetInstanceParams) WithContext deprecated

func (o *GetInstanceParams) WithContext(ctx context.Context) *GetInstanceParams

WithContext adds the context to the get instance params.

Deprecated: use the operation call with context to pass the context instead of GetInstanceParams.

func (*GetInstanceParams) WithDefaults

func (o *GetInstanceParams) WithDefaults() *GetInstanceParams

WithDefaults hydrates default values in the get instance params (not the query body).

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

func (*GetInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get instance params.

func (*GetInstanceParams) WithPreheatInstanceName

func (o *GetInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *GetInstanceParams

WithPreheatInstanceName adds the preheatInstanceName to the get instance params.

func (*GetInstanceParams) WithTimeout

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

WithTimeout adds the timeout to the get instance params.

func (*GetInstanceParams) WithXRequestID

func (o *GetInstanceParams) WithXRequestID(xRequestID *string) *GetInstanceParams

WithXRequestID adds the xRequestID to the get instance params.

func (*GetInstanceParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type GetInstanceReader

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

GetInstanceReader is a Reader for the GetInstance structure.

func (*GetInstanceReader) ReadResponse

func (o *GetInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetInstanceUnauthorized

type GetInstanceUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetInstanceUnauthorized

func NewGetInstanceUnauthorized() *GetInstanceUnauthorized

NewGetInstanceUnauthorized creates a GetInstanceUnauthorized with default headers values

func (*GetInstanceUnauthorized) Code

func (o *GetInstanceUnauthorized) Code() int

Code gets the status code for the get instance unauthorized response

func (*GetInstanceUnauthorized) Error

func (o *GetInstanceUnauthorized) Error() string

func (*GetInstanceUnauthorized) GetPayload

func (o *GetInstanceUnauthorized) GetPayload() *models.Errors

func (*GetInstanceUnauthorized) IsClientError

func (o *GetInstanceUnauthorized) IsClientError() bool

IsClientError returns true when this get instance unauthorized response has a 4xx status code

func (*GetInstanceUnauthorized) IsCode

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

IsCode returns true when this get instance unauthorized response a status code equal to that given

func (*GetInstanceUnauthorized) IsRedirect

func (o *GetInstanceUnauthorized) IsRedirect() bool

IsRedirect returns true when this get instance unauthorized response has a 3xx status code

func (*GetInstanceUnauthorized) IsServerError

func (o *GetInstanceUnauthorized) IsServerError() bool

IsServerError returns true when this get instance unauthorized response has a 5xx status code

func (*GetInstanceUnauthorized) IsSuccess

func (o *GetInstanceUnauthorized) IsSuccess() bool

IsSuccess returns true when this get instance unauthorized response has a 2xx status code

func (*GetInstanceUnauthorized) String

func (o *GetInstanceUnauthorized) String() string

type GetPolicyBadRequest

type GetPolicyBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewGetPolicyBadRequest

func NewGetPolicyBadRequest() *GetPolicyBadRequest

NewGetPolicyBadRequest creates a GetPolicyBadRequest with default headers values

func (*GetPolicyBadRequest) Code

func (o *GetPolicyBadRequest) Code() int

Code gets the status code for the get policy bad request response

func (*GetPolicyBadRequest) Error

func (o *GetPolicyBadRequest) Error() string

func (*GetPolicyBadRequest) GetPayload

func (o *GetPolicyBadRequest) GetPayload() *models.Errors

func (*GetPolicyBadRequest) IsClientError

func (o *GetPolicyBadRequest) IsClientError() bool

IsClientError returns true when this get policy bad request response has a 4xx status code

func (*GetPolicyBadRequest) IsCode

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

IsCode returns true when this get policy bad request response a status code equal to that given

func (*GetPolicyBadRequest) IsRedirect

func (o *GetPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this get policy bad request response has a 3xx status code

func (*GetPolicyBadRequest) IsServerError

func (o *GetPolicyBadRequest) IsServerError() bool

IsServerError returns true when this get policy bad request response has a 5xx status code

func (*GetPolicyBadRequest) IsSuccess

func (o *GetPolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this get policy bad request response has a 2xx status code

func (*GetPolicyBadRequest) String

func (o *GetPolicyBadRequest) String() string

type GetPolicyForbidden

type GetPolicyForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewGetPolicyForbidden

func NewGetPolicyForbidden() *GetPolicyForbidden

NewGetPolicyForbidden creates a GetPolicyForbidden with default headers values

func (*GetPolicyForbidden) Code

func (o *GetPolicyForbidden) Code() int

Code gets the status code for the get policy forbidden response

func (*GetPolicyForbidden) Error

func (o *GetPolicyForbidden) Error() string

func (*GetPolicyForbidden) GetPayload

func (o *GetPolicyForbidden) GetPayload() *models.Errors

func (*GetPolicyForbidden) IsClientError

func (o *GetPolicyForbidden) IsClientError() bool

IsClientError returns true when this get policy forbidden response has a 4xx status code

func (*GetPolicyForbidden) IsCode

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

IsCode returns true when this get policy forbidden response a status code equal to that given

func (*GetPolicyForbidden) IsRedirect

func (o *GetPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this get policy forbidden response has a 3xx status code

func (*GetPolicyForbidden) IsServerError

func (o *GetPolicyForbidden) IsServerError() bool

IsServerError returns true when this get policy forbidden response has a 5xx status code

func (*GetPolicyForbidden) IsSuccess

func (o *GetPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this get policy forbidden response has a 2xx status code

func (*GetPolicyForbidden) String

func (o *GetPolicyForbidden) String() string

type GetPolicyInternalServerError

type GetPolicyInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetPolicyInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetPolicyInternalServerError

func NewGetPolicyInternalServerError() *GetPolicyInternalServerError

NewGetPolicyInternalServerError creates a GetPolicyInternalServerError with default headers values

func (*GetPolicyInternalServerError) Code

Code gets the status code for the get policy internal server error response

func (*GetPolicyInternalServerError) Error

func (*GetPolicyInternalServerError) GetPayload

func (o *GetPolicyInternalServerError) GetPayload() *models.Errors

func (*GetPolicyInternalServerError) IsClientError

func (o *GetPolicyInternalServerError) IsClientError() bool

IsClientError returns true when this get policy internal server error response has a 4xx status code

func (*GetPolicyInternalServerError) IsCode

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

IsCode returns true when this get policy internal server error response a status code equal to that given

func (*GetPolicyInternalServerError) IsRedirect

func (o *GetPolicyInternalServerError) IsRedirect() bool

IsRedirect returns true when this get policy internal server error response has a 3xx status code

func (*GetPolicyInternalServerError) IsServerError

func (o *GetPolicyInternalServerError) IsServerError() bool

IsServerError returns true when this get policy internal server error response has a 5xx status code

func (*GetPolicyInternalServerError) IsSuccess

func (o *GetPolicyInternalServerError) IsSuccess() bool

IsSuccess returns true when this get policy internal server error response has a 2xx status code

func (*GetPolicyInternalServerError) String

type GetPolicyNotFound

type GetPolicyNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewGetPolicyNotFound

func NewGetPolicyNotFound() *GetPolicyNotFound

NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values

func (*GetPolicyNotFound) Code

func (o *GetPolicyNotFound) Code() int

Code gets the status code for the get policy not found response

func (*GetPolicyNotFound) Error

func (o *GetPolicyNotFound) Error() string

func (*GetPolicyNotFound) GetPayload

func (o *GetPolicyNotFound) GetPayload() *models.Errors

func (*GetPolicyNotFound) IsClientError

func (o *GetPolicyNotFound) IsClientError() bool

IsClientError returns true when this get policy not found response has a 4xx status code

func (*GetPolicyNotFound) IsCode

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

IsCode returns true when this get policy not found response a status code equal to that given

func (*GetPolicyNotFound) IsRedirect

func (o *GetPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get policy not found response has a 3xx status code

func (*GetPolicyNotFound) IsServerError

func (o *GetPolicyNotFound) IsServerError() bool

IsServerError returns true when this get policy not found response has a 5xx status code

func (*GetPolicyNotFound) IsSuccess

func (o *GetPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get policy not found response has a 2xx status code

func (*GetPolicyNotFound) String

func (o *GetPolicyNotFound) String() string

type GetPolicyOK

type GetPolicyOK struct {
	Payload *models.PreheatPolicy
}

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

Get a preheat policy success

func NewGetPolicyOK

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates a GetPolicyOK with default headers values

func (*GetPolicyOK) Code

func (o *GetPolicyOK) Code() int

Code gets the status code for the get policy o k response

func (*GetPolicyOK) Error

func (o *GetPolicyOK) Error() string

func (*GetPolicyOK) GetPayload

func (o *GetPolicyOK) GetPayload() *models.PreheatPolicy

func (*GetPolicyOK) IsClientError

func (o *GetPolicyOK) IsClientError() bool

IsClientError returns true when this get policy o k response has a 4xx status code

func (*GetPolicyOK) IsCode

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

IsCode returns true when this get policy o k response a status code equal to that given

func (*GetPolicyOK) IsRedirect

func (o *GetPolicyOK) IsRedirect() bool

IsRedirect returns true when this get policy o k response has a 3xx status code

func (*GetPolicyOK) IsServerError

func (o *GetPolicyOK) IsServerError() bool

IsServerError returns true when this get policy o k response has a 5xx status code

func (*GetPolicyOK) IsSuccess

func (o *GetPolicyOK) IsSuccess() bool

IsSuccess returns true when this get policy o k response has a 2xx status code

func (*GetPolicyOK) String

func (o *GetPolicyOK) String() string

type GetPolicyParams

type GetPolicyParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

GetPolicyParams contains all the parameters to send to the API endpoint

for the get policy operation.

Typically these are written to a http.Request.

func NewGetPolicyParams

func NewGetPolicyParams() *GetPolicyParams

NewGetPolicyParams creates a new GetPolicyParams 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 NewGetPolicyParamsWithContext deprecated

func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams

NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetPolicyParams.

func NewGetPolicyParamsWithHTTPClient

func NewGetPolicyParamsWithHTTPClient(client *http.Client) *GetPolicyParams

NewGetPolicyParamsWithHTTPClient creates a new GetPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicyParamsWithTimeout

func NewGetPolicyParamsWithTimeout(timeout time.Duration) *GetPolicyParams

NewGetPolicyParamsWithTimeout creates a new GetPolicyParams object with the ability to set a timeout on a request.

func (*GetPolicyParams) SetContext deprecated

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

SetContext adds the context to the get policy params.

Deprecated: use the operation call with context to pass the context instead of GetPolicyParams.

func (*GetPolicyParams) SetDefaults

func (o *GetPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get policy params (not the query body).

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

func (*GetPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy params.

func (*GetPolicyParams) SetPreheatPolicyName

func (o *GetPolicyParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the get policy params.

func (*GetPolicyParams) SetProjectName

func (o *GetPolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get policy params.

func (*GetPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get policy params.

func (*GetPolicyParams) SetXRequestID

func (o *GetPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get policy params.

func (*GetPolicyParams) WithContext deprecated

func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams

WithContext adds the context to the get policy params.

Deprecated: use the operation call with context to pass the context instead of GetPolicyParams.

func (*GetPolicyParams) WithDefaults

func (o *GetPolicyParams) WithDefaults() *GetPolicyParams

WithDefaults hydrates default values in the get policy params (not the query body).

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

func (*GetPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get policy params.

func (*GetPolicyParams) WithPreheatPolicyName

func (o *GetPolicyParams) WithPreheatPolicyName(preheatPolicyName string) *GetPolicyParams

WithPreheatPolicyName adds the preheatPolicyName to the get policy params.

func (*GetPolicyParams) WithProjectName

func (o *GetPolicyParams) WithProjectName(projectName string) *GetPolicyParams

WithProjectName adds the projectName to the get policy params.

func (*GetPolicyParams) WithTimeout

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

WithTimeout adds the timeout to the get policy params.

func (*GetPolicyParams) WithXRequestID

func (o *GetPolicyParams) WithXRequestID(xRequestID *string) *GetPolicyParams

WithXRequestID adds the xRequestID to the get policy params.

func (*GetPolicyParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type GetPolicyReader

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

GetPolicyReader is a Reader for the GetPolicy structure.

func (*GetPolicyReader) ReadResponse

func (o *GetPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetPolicyUnauthorized

type GetPolicyUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetPolicyUnauthorized

func NewGetPolicyUnauthorized() *GetPolicyUnauthorized

NewGetPolicyUnauthorized creates a GetPolicyUnauthorized with default headers values

func (*GetPolicyUnauthorized) Code

func (o *GetPolicyUnauthorized) Code() int

Code gets the status code for the get policy unauthorized response

func (*GetPolicyUnauthorized) Error

func (o *GetPolicyUnauthorized) Error() string

func (*GetPolicyUnauthorized) GetPayload

func (o *GetPolicyUnauthorized) GetPayload() *models.Errors

func (*GetPolicyUnauthorized) IsClientError

func (o *GetPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get policy unauthorized response has a 4xx status code

func (*GetPolicyUnauthorized) IsCode

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

IsCode returns true when this get policy unauthorized response a status code equal to that given

func (*GetPolicyUnauthorized) IsRedirect

func (o *GetPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get policy unauthorized response has a 3xx status code

func (*GetPolicyUnauthorized) IsServerError

func (o *GetPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get policy unauthorized response has a 5xx status code

func (*GetPolicyUnauthorized) IsSuccess

func (o *GetPolicyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get policy unauthorized response has a 2xx status code

func (*GetPolicyUnauthorized) String

func (o *GetPolicyUnauthorized) String() string

type GetPreheatLogBadRequest

type GetPreheatLogBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewGetPreheatLogBadRequest

func NewGetPreheatLogBadRequest() *GetPreheatLogBadRequest

NewGetPreheatLogBadRequest creates a GetPreheatLogBadRequest with default headers values

func (*GetPreheatLogBadRequest) Code

func (o *GetPreheatLogBadRequest) Code() int

Code gets the status code for the get preheat log bad request response

func (*GetPreheatLogBadRequest) Error

func (o *GetPreheatLogBadRequest) Error() string

func (*GetPreheatLogBadRequest) GetPayload

func (o *GetPreheatLogBadRequest) GetPayload() *models.Errors

func (*GetPreheatLogBadRequest) IsClientError

func (o *GetPreheatLogBadRequest) IsClientError() bool

IsClientError returns true when this get preheat log bad request response has a 4xx status code

func (*GetPreheatLogBadRequest) IsCode

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

IsCode returns true when this get preheat log bad request response a status code equal to that given

func (*GetPreheatLogBadRequest) IsRedirect

func (o *GetPreheatLogBadRequest) IsRedirect() bool

IsRedirect returns true when this get preheat log bad request response has a 3xx status code

func (*GetPreheatLogBadRequest) IsServerError

func (o *GetPreheatLogBadRequest) IsServerError() bool

IsServerError returns true when this get preheat log bad request response has a 5xx status code

func (*GetPreheatLogBadRequest) IsSuccess

func (o *GetPreheatLogBadRequest) IsSuccess() bool

IsSuccess returns true when this get preheat log bad request response has a 2xx status code

func (*GetPreheatLogBadRequest) String

func (o *GetPreheatLogBadRequest) String() string

type GetPreheatLogForbidden

type GetPreheatLogForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewGetPreheatLogForbidden

func NewGetPreheatLogForbidden() *GetPreheatLogForbidden

NewGetPreheatLogForbidden creates a GetPreheatLogForbidden with default headers values

func (*GetPreheatLogForbidden) Code

func (o *GetPreheatLogForbidden) Code() int

Code gets the status code for the get preheat log forbidden response

func (*GetPreheatLogForbidden) Error

func (o *GetPreheatLogForbidden) Error() string

func (*GetPreheatLogForbidden) GetPayload

func (o *GetPreheatLogForbidden) GetPayload() *models.Errors

func (*GetPreheatLogForbidden) IsClientError

func (o *GetPreheatLogForbidden) IsClientError() bool

IsClientError returns true when this get preheat log forbidden response has a 4xx status code

func (*GetPreheatLogForbidden) IsCode

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

IsCode returns true when this get preheat log forbidden response a status code equal to that given

func (*GetPreheatLogForbidden) IsRedirect

func (o *GetPreheatLogForbidden) IsRedirect() bool

IsRedirect returns true when this get preheat log forbidden response has a 3xx status code

func (*GetPreheatLogForbidden) IsServerError

func (o *GetPreheatLogForbidden) IsServerError() bool

IsServerError returns true when this get preheat log forbidden response has a 5xx status code

func (*GetPreheatLogForbidden) IsSuccess

func (o *GetPreheatLogForbidden) IsSuccess() bool

IsSuccess returns true when this get preheat log forbidden response has a 2xx status code

func (*GetPreheatLogForbidden) String

func (o *GetPreheatLogForbidden) String() string

type GetPreheatLogInternalServerError

type GetPreheatLogInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetPreheatLogInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetPreheatLogInternalServerError

func NewGetPreheatLogInternalServerError() *GetPreheatLogInternalServerError

NewGetPreheatLogInternalServerError creates a GetPreheatLogInternalServerError with default headers values

func (*GetPreheatLogInternalServerError) Code

Code gets the status code for the get preheat log internal server error response

func (*GetPreheatLogInternalServerError) Error

func (*GetPreheatLogInternalServerError) GetPayload

func (*GetPreheatLogInternalServerError) IsClientError

func (o *GetPreheatLogInternalServerError) IsClientError() bool

IsClientError returns true when this get preheat log internal server error response has a 4xx status code

func (*GetPreheatLogInternalServerError) IsCode

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

IsCode returns true when this get preheat log internal server error response a status code equal to that given

func (*GetPreheatLogInternalServerError) IsRedirect

func (o *GetPreheatLogInternalServerError) IsRedirect() bool

IsRedirect returns true when this get preheat log internal server error response has a 3xx status code

func (*GetPreheatLogInternalServerError) IsServerError

func (o *GetPreheatLogInternalServerError) IsServerError() bool

IsServerError returns true when this get preheat log internal server error response has a 5xx status code

func (*GetPreheatLogInternalServerError) IsSuccess

func (o *GetPreheatLogInternalServerError) IsSuccess() bool

IsSuccess returns true when this get preheat log internal server error response has a 2xx status code

func (*GetPreheatLogInternalServerError) String

type GetPreheatLogNotFound

type GetPreheatLogNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewGetPreheatLogNotFound

func NewGetPreheatLogNotFound() *GetPreheatLogNotFound

NewGetPreheatLogNotFound creates a GetPreheatLogNotFound with default headers values

func (*GetPreheatLogNotFound) Code

func (o *GetPreheatLogNotFound) Code() int

Code gets the status code for the get preheat log not found response

func (*GetPreheatLogNotFound) Error

func (o *GetPreheatLogNotFound) Error() string

func (*GetPreheatLogNotFound) GetPayload

func (o *GetPreheatLogNotFound) GetPayload() *models.Errors

func (*GetPreheatLogNotFound) IsClientError

func (o *GetPreheatLogNotFound) IsClientError() bool

IsClientError returns true when this get preheat log not found response has a 4xx status code

func (*GetPreheatLogNotFound) IsCode

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

IsCode returns true when this get preheat log not found response a status code equal to that given

func (*GetPreheatLogNotFound) IsRedirect

func (o *GetPreheatLogNotFound) IsRedirect() bool

IsRedirect returns true when this get preheat log not found response has a 3xx status code

func (*GetPreheatLogNotFound) IsServerError

func (o *GetPreheatLogNotFound) IsServerError() bool

IsServerError returns true when this get preheat log not found response has a 5xx status code

func (*GetPreheatLogNotFound) IsSuccess

func (o *GetPreheatLogNotFound) IsSuccess() bool

IsSuccess returns true when this get preheat log not found response has a 2xx status code

func (*GetPreheatLogNotFound) String

func (o *GetPreheatLogNotFound) String() string

type GetPreheatLogOK

type GetPreheatLogOK struct {

	// Content type of response
	ContentType string

	Payload string
}

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

Get log success

func NewGetPreheatLogOK

func NewGetPreheatLogOK() *GetPreheatLogOK

NewGetPreheatLogOK creates a GetPreheatLogOK with default headers values

func (*GetPreheatLogOK) Code

func (o *GetPreheatLogOK) Code() int

Code gets the status code for the get preheat log o k response

func (*GetPreheatLogOK) Error

func (o *GetPreheatLogOK) Error() string

func (*GetPreheatLogOK) GetPayload

func (o *GetPreheatLogOK) GetPayload() string

func (*GetPreheatLogOK) IsClientError

func (o *GetPreheatLogOK) IsClientError() bool

IsClientError returns true when this get preheat log o k response has a 4xx status code

func (*GetPreheatLogOK) IsCode

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

IsCode returns true when this get preheat log o k response a status code equal to that given

func (*GetPreheatLogOK) IsRedirect

func (o *GetPreheatLogOK) IsRedirect() bool

IsRedirect returns true when this get preheat log o k response has a 3xx status code

func (*GetPreheatLogOK) IsServerError

func (o *GetPreheatLogOK) IsServerError() bool

IsServerError returns true when this get preheat log o k response has a 5xx status code

func (*GetPreheatLogOK) IsSuccess

func (o *GetPreheatLogOK) IsSuccess() bool

IsSuccess returns true when this get preheat log o k response has a 2xx status code

func (*GetPreheatLogOK) String

func (o *GetPreheatLogOK) String() string

type GetPreheatLogParams

type GetPreheatLogParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// ExecutionID.
	//
	// Execution ID
	ExecutionID int64

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

	// TaskID.
	//
	// Task ID
	TaskID int64

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

GetPreheatLogParams contains all the parameters to send to the API endpoint

for the get preheat log operation.

Typically these are written to a http.Request.

func NewGetPreheatLogParams

func NewGetPreheatLogParams() *GetPreheatLogParams

NewGetPreheatLogParams creates a new GetPreheatLogParams 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 NewGetPreheatLogParamsWithContext deprecated

func NewGetPreheatLogParamsWithContext(ctx context.Context) *GetPreheatLogParams

NewGetPreheatLogParamsWithContext creates a new GetPreheatLogParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetPreheatLogParams.

func NewGetPreheatLogParamsWithHTTPClient

func NewGetPreheatLogParamsWithHTTPClient(client *http.Client) *GetPreheatLogParams

NewGetPreheatLogParamsWithHTTPClient creates a new GetPreheatLogParams object with the ability to set a custom HTTPClient for a request.

func NewGetPreheatLogParamsWithTimeout

func NewGetPreheatLogParamsWithTimeout(timeout time.Duration) *GetPreheatLogParams

NewGetPreheatLogParamsWithTimeout creates a new GetPreheatLogParams object with the ability to set a timeout on a request.

func (*GetPreheatLogParams) SetContext deprecated

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

SetContext adds the context to the get preheat log params.

Deprecated: use the operation call with context to pass the context instead of GetPreheatLogParams.

func (*GetPreheatLogParams) SetDefaults

func (o *GetPreheatLogParams) SetDefaults()

SetDefaults hydrates default values in the get preheat log params (not the query body).

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

func (*GetPreheatLogParams) SetExecutionID

func (o *GetPreheatLogParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the get preheat log params.

func (*GetPreheatLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get preheat log params.

func (*GetPreheatLogParams) SetPreheatPolicyName

func (o *GetPreheatLogParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the get preheat log params.

func (*GetPreheatLogParams) SetProjectName

func (o *GetPreheatLogParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get preheat log params.

func (*GetPreheatLogParams) SetTaskID

func (o *GetPreheatLogParams) SetTaskID(taskID int64)

SetTaskID adds the taskId to the get preheat log params.

func (*GetPreheatLogParams) SetTimeout

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

SetTimeout adds the timeout to the get preheat log params.

func (*GetPreheatLogParams) SetXRequestID

func (o *GetPreheatLogParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get preheat log params.

func (*GetPreheatLogParams) WithContext deprecated

WithContext adds the context to the get preheat log params.

Deprecated: use the operation call with context to pass the context instead of GetPreheatLogParams.

func (*GetPreheatLogParams) WithDefaults

func (o *GetPreheatLogParams) WithDefaults() *GetPreheatLogParams

WithDefaults hydrates default values in the get preheat log params (not the query body).

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

func (*GetPreheatLogParams) WithExecutionID

func (o *GetPreheatLogParams) WithExecutionID(executionID int64) *GetPreheatLogParams

WithExecutionID adds the executionID to the get preheat log params.

func (*GetPreheatLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get preheat log params.

func (*GetPreheatLogParams) WithPreheatPolicyName

func (o *GetPreheatLogParams) WithPreheatPolicyName(preheatPolicyName string) *GetPreheatLogParams

WithPreheatPolicyName adds the preheatPolicyName to the get preheat log params.

func (*GetPreheatLogParams) WithProjectName

func (o *GetPreheatLogParams) WithProjectName(projectName string) *GetPreheatLogParams

WithProjectName adds the projectName to the get preheat log params.

func (*GetPreheatLogParams) WithTaskID

func (o *GetPreheatLogParams) WithTaskID(taskID int64) *GetPreheatLogParams

WithTaskID adds the taskID to the get preheat log params.

func (*GetPreheatLogParams) WithTimeout

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

WithTimeout adds the timeout to the get preheat log params.

func (*GetPreheatLogParams) WithXRequestID

func (o *GetPreheatLogParams) WithXRequestID(xRequestID *string) *GetPreheatLogParams

WithXRequestID adds the xRequestID to the get preheat log params.

func (*GetPreheatLogParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type GetPreheatLogReader

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

GetPreheatLogReader is a Reader for the GetPreheatLog structure.

func (*GetPreheatLogReader) ReadResponse

func (o *GetPreheatLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetPreheatLogUnauthorized

type GetPreheatLogUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetPreheatLogUnauthorized

func NewGetPreheatLogUnauthorized() *GetPreheatLogUnauthorized

NewGetPreheatLogUnauthorized creates a GetPreheatLogUnauthorized with default headers values

func (*GetPreheatLogUnauthorized) Code

func (o *GetPreheatLogUnauthorized) Code() int

Code gets the status code for the get preheat log unauthorized response

func (*GetPreheatLogUnauthorized) Error

func (o *GetPreheatLogUnauthorized) Error() string

func (*GetPreheatLogUnauthorized) GetPayload

func (o *GetPreheatLogUnauthorized) GetPayload() *models.Errors

func (*GetPreheatLogUnauthorized) IsClientError

func (o *GetPreheatLogUnauthorized) IsClientError() bool

IsClientError returns true when this get preheat log unauthorized response has a 4xx status code

func (*GetPreheatLogUnauthorized) IsCode

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

IsCode returns true when this get preheat log unauthorized response a status code equal to that given

func (*GetPreheatLogUnauthorized) IsRedirect

func (o *GetPreheatLogUnauthorized) IsRedirect() bool

IsRedirect returns true when this get preheat log unauthorized response has a 3xx status code

func (*GetPreheatLogUnauthorized) IsServerError

func (o *GetPreheatLogUnauthorized) IsServerError() bool

IsServerError returns true when this get preheat log unauthorized response has a 5xx status code

func (*GetPreheatLogUnauthorized) IsSuccess

func (o *GetPreheatLogUnauthorized) IsSuccess() bool

IsSuccess returns true when this get preheat log unauthorized response has a 2xx status code

func (*GetPreheatLogUnauthorized) String

func (o *GetPreheatLogUnauthorized) String() string

type ListExecutionsBadRequest

type ListExecutionsBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewListExecutionsBadRequest

func NewListExecutionsBadRequest() *ListExecutionsBadRequest

NewListExecutionsBadRequest creates a ListExecutionsBadRequest with default headers values

func (*ListExecutionsBadRequest) Code

func (o *ListExecutionsBadRequest) Code() int

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

func (*ListExecutionsBadRequest) Error

func (o *ListExecutionsBadRequest) Error() string

func (*ListExecutionsBadRequest) GetPayload

func (o *ListExecutionsBadRequest) GetPayload() *models.Errors

func (*ListExecutionsBadRequest) IsClientError

func (o *ListExecutionsBadRequest) IsClientError() bool

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

func (*ListExecutionsBadRequest) IsCode

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

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

func (*ListExecutionsBadRequest) IsRedirect

func (o *ListExecutionsBadRequest) IsRedirect() bool

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

func (*ListExecutionsBadRequest) IsServerError

func (o *ListExecutionsBadRequest) IsServerError() bool

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

func (*ListExecutionsBadRequest) IsSuccess

func (o *ListExecutionsBadRequest) IsSuccess() bool

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

func (*ListExecutionsBadRequest) String

func (o *ListExecutionsBadRequest) String() string

type ListExecutionsForbidden

type ListExecutionsForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewListExecutionsForbidden

func NewListExecutionsForbidden() *ListExecutionsForbidden

NewListExecutionsForbidden creates a ListExecutionsForbidden with default headers values

func (*ListExecutionsForbidden) Code

func (o *ListExecutionsForbidden) Code() int

Code gets the status code for the list executions forbidden response

func (*ListExecutionsForbidden) Error

func (o *ListExecutionsForbidden) Error() string

func (*ListExecutionsForbidden) GetPayload

func (o *ListExecutionsForbidden) GetPayload() *models.Errors

func (*ListExecutionsForbidden) IsClientError

func (o *ListExecutionsForbidden) IsClientError() bool

IsClientError returns true when this list executions forbidden response has a 4xx status code

func (*ListExecutionsForbidden) IsCode

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

IsCode returns true when this list executions forbidden response a status code equal to that given

func (*ListExecutionsForbidden) IsRedirect

func (o *ListExecutionsForbidden) IsRedirect() bool

IsRedirect returns true when this list executions forbidden response has a 3xx status code

func (*ListExecutionsForbidden) IsServerError

func (o *ListExecutionsForbidden) IsServerError() bool

IsServerError returns true when this list executions forbidden response has a 5xx status code

func (*ListExecutionsForbidden) IsSuccess

func (o *ListExecutionsForbidden) IsSuccess() bool

IsSuccess returns true when this list executions forbidden response has a 2xx status code

func (*ListExecutionsForbidden) String

func (o *ListExecutionsForbidden) String() string

type ListExecutionsInternalServerError

type ListExecutionsInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ListExecutionsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListExecutionsInternalServerError

func NewListExecutionsInternalServerError() *ListExecutionsInternalServerError

NewListExecutionsInternalServerError creates a ListExecutionsInternalServerError with default headers values

func (*ListExecutionsInternalServerError) Code

Code gets the status code for the list executions internal server error response

func (*ListExecutionsInternalServerError) Error

func (*ListExecutionsInternalServerError) GetPayload

func (*ListExecutionsInternalServerError) IsClientError

func (o *ListExecutionsInternalServerError) IsClientError() bool

IsClientError returns true when this list executions internal server error response has a 4xx status code

func (*ListExecutionsInternalServerError) IsCode

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

IsCode returns true when this list executions internal server error response a status code equal to that given

func (*ListExecutionsInternalServerError) IsRedirect

func (o *ListExecutionsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list executions internal server error response has a 3xx status code

func (*ListExecutionsInternalServerError) IsServerError

func (o *ListExecutionsInternalServerError) IsServerError() bool

IsServerError returns true when this list executions internal server error response has a 5xx status code

func (*ListExecutionsInternalServerError) IsSuccess

func (o *ListExecutionsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list executions internal server error response has a 2xx status code

func (*ListExecutionsInternalServerError) String

type ListExecutionsNotFound

type ListExecutionsNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewListExecutionsNotFound

func NewListExecutionsNotFound() *ListExecutionsNotFound

NewListExecutionsNotFound creates a ListExecutionsNotFound with default headers values

func (*ListExecutionsNotFound) Code

func (o *ListExecutionsNotFound) Code() int

Code gets the status code for the list executions not found response

func (*ListExecutionsNotFound) Error

func (o *ListExecutionsNotFound) Error() string

func (*ListExecutionsNotFound) GetPayload

func (o *ListExecutionsNotFound) GetPayload() *models.Errors

func (*ListExecutionsNotFound) IsClientError

func (o *ListExecutionsNotFound) IsClientError() bool

IsClientError returns true when this list executions not found response has a 4xx status code

func (*ListExecutionsNotFound) IsCode

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

IsCode returns true when this list executions not found response a status code equal to that given

func (*ListExecutionsNotFound) IsRedirect

func (o *ListExecutionsNotFound) IsRedirect() bool

IsRedirect returns true when this list executions not found response has a 3xx status code

func (*ListExecutionsNotFound) IsServerError

func (o *ListExecutionsNotFound) IsServerError() bool

IsServerError returns true when this list executions not found response has a 5xx status code

func (*ListExecutionsNotFound) IsSuccess

func (o *ListExecutionsNotFound) IsSuccess() bool

IsSuccess returns true when this list executions not found response has a 2xx status code

func (*ListExecutionsNotFound) String

func (o *ListExecutionsNotFound) String() string

type ListExecutionsOK

type ListExecutionsOK struct {

	// Link refers to the previous page and next page
	Link string

	// The total count of executions
	XTotalCount int64

	Payload []*models.Execution
}

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

List executions success

func NewListExecutionsOK

func NewListExecutionsOK() *ListExecutionsOK

NewListExecutionsOK creates a ListExecutionsOK with default headers values

func (*ListExecutionsOK) Code

func (o *ListExecutionsOK) Code() int

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

func (*ListExecutionsOK) Error

func (o *ListExecutionsOK) Error() string

func (*ListExecutionsOK) GetPayload

func (o *ListExecutionsOK) GetPayload() []*models.Execution

func (*ListExecutionsOK) IsClientError

func (o *ListExecutionsOK) IsClientError() bool

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

func (*ListExecutionsOK) IsCode

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

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

func (*ListExecutionsOK) IsRedirect

func (o *ListExecutionsOK) IsRedirect() bool

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

func (*ListExecutionsOK) IsServerError

func (o *ListExecutionsOK) IsServerError() bool

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

func (*ListExecutionsOK) IsSuccess

func (o *ListExecutionsOK) IsSuccess() bool

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

func (*ListExecutionsOK) String

func (o *ListExecutionsOK) String() string

type ListExecutionsParams

type ListExecutionsParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Page.
	//
	// The page number
	//
	// Format: int64
	// Default: 1
	Page *int64

	// PageSize.
	//
	// The size of per page
	//
	// Format: int64
	// Default: 10
	PageSize *int64

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

	// Q.
	//
	// Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
	Q *string

	// Sort.
	//
	// Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
	Sort *string

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

ListExecutionsParams contains all the parameters to send to the API endpoint

for the list executions operation.

Typically these are written to a http.Request.

func NewListExecutionsParams

func NewListExecutionsParams() *ListExecutionsParams

NewListExecutionsParams creates a new ListExecutionsParams 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 NewListExecutionsParamsWithContext deprecated

func NewListExecutionsParamsWithContext(ctx context.Context) *ListExecutionsParams

NewListExecutionsParamsWithContext creates a new ListExecutionsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListExecutionsParams.

func NewListExecutionsParamsWithHTTPClient

func NewListExecutionsParamsWithHTTPClient(client *http.Client) *ListExecutionsParams

NewListExecutionsParamsWithHTTPClient creates a new ListExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewListExecutionsParamsWithTimeout

func NewListExecutionsParamsWithTimeout(timeout time.Duration) *ListExecutionsParams

NewListExecutionsParamsWithTimeout creates a new ListExecutionsParams object with the ability to set a timeout on a request.

func (*ListExecutionsParams) SetContext deprecated

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

SetContext adds the context to the list executions params.

Deprecated: use the operation call with context to pass the context instead of ListExecutionsParams.

func (*ListExecutionsParams) SetDefaults

func (o *ListExecutionsParams) SetDefaults()

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

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

func (*ListExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list executions params.

func (*ListExecutionsParams) SetPage

func (o *ListExecutionsParams) SetPage(page *int64)

SetPage adds the page to the list executions params.

func (*ListExecutionsParams) SetPageSize

func (o *ListExecutionsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list executions params.

func (*ListExecutionsParams) SetPreheatPolicyName

func (o *ListExecutionsParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the list executions params.

func (*ListExecutionsParams) SetProjectName

func (o *ListExecutionsParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list executions params.

func (*ListExecutionsParams) SetQ

func (o *ListExecutionsParams) SetQ(q *string)

SetQ adds the q to the list executions params.

func (*ListExecutionsParams) SetSort

func (o *ListExecutionsParams) SetSort(sort *string)

SetSort adds the sort to the list executions params.

func (*ListExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the list executions params.

func (*ListExecutionsParams) SetXRequestID

func (o *ListExecutionsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list executions params.

func (*ListExecutionsParams) WithContext deprecated

WithContext adds the context to the list executions params.

Deprecated: use the operation call with context to pass the context instead of ListExecutionsParams.

func (*ListExecutionsParams) WithDefaults

func (o *ListExecutionsParams) WithDefaults() *ListExecutionsParams

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

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

func (*ListExecutionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list executions params.

func (*ListExecutionsParams) WithPage

func (o *ListExecutionsParams) WithPage(page *int64) *ListExecutionsParams

WithPage adds the page to the list executions params.

func (*ListExecutionsParams) WithPageSize

func (o *ListExecutionsParams) WithPageSize(pageSize *int64) *ListExecutionsParams

WithPageSize adds the pageSize to the list executions params.

func (*ListExecutionsParams) WithPreheatPolicyName

func (o *ListExecutionsParams) WithPreheatPolicyName(preheatPolicyName string) *ListExecutionsParams

WithPreheatPolicyName adds the preheatPolicyName to the list executions params.

func (*ListExecutionsParams) WithProjectName

func (o *ListExecutionsParams) WithProjectName(projectName string) *ListExecutionsParams

WithProjectName adds the projectName to the list executions params.

func (*ListExecutionsParams) WithQ

WithQ adds the q to the list executions params.

func (*ListExecutionsParams) WithSort

func (o *ListExecutionsParams) WithSort(sort *string) *ListExecutionsParams

WithSort adds the sort to the list executions params.

func (*ListExecutionsParams) WithTimeout

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

WithTimeout adds the timeout to the list executions params.

func (*ListExecutionsParams) WithXRequestID

func (o *ListExecutionsParams) WithXRequestID(xRequestID *string) *ListExecutionsParams

WithXRequestID adds the xRequestID to the list executions params.

func (*ListExecutionsParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type ListExecutionsReader

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

ListExecutionsReader is a Reader for the ListExecutions structure.

func (*ListExecutionsReader) ReadResponse

func (o *ListExecutionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListExecutionsUnauthorized

type ListExecutionsUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListExecutionsUnauthorized

func NewListExecutionsUnauthorized() *ListExecutionsUnauthorized

NewListExecutionsUnauthorized creates a ListExecutionsUnauthorized with default headers values

func (*ListExecutionsUnauthorized) Code

func (o *ListExecutionsUnauthorized) Code() int

Code gets the status code for the list executions unauthorized response

func (*ListExecutionsUnauthorized) Error

func (*ListExecutionsUnauthorized) GetPayload

func (o *ListExecutionsUnauthorized) GetPayload() *models.Errors

func (*ListExecutionsUnauthorized) IsClientError

func (o *ListExecutionsUnauthorized) IsClientError() bool

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

func (*ListExecutionsUnauthorized) IsCode

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

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

func (*ListExecutionsUnauthorized) IsRedirect

func (o *ListExecutionsUnauthorized) IsRedirect() bool

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

func (*ListExecutionsUnauthorized) IsServerError

func (o *ListExecutionsUnauthorized) IsServerError() bool

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

func (*ListExecutionsUnauthorized) IsSuccess

func (o *ListExecutionsUnauthorized) IsSuccess() bool

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

func (*ListExecutionsUnauthorized) String

func (o *ListExecutionsUnauthorized) String() string

type ListInstancesBadRequest

type ListInstancesBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewListInstancesBadRequest

func NewListInstancesBadRequest() *ListInstancesBadRequest

NewListInstancesBadRequest creates a ListInstancesBadRequest with default headers values

func (*ListInstancesBadRequest) Code

func (o *ListInstancesBadRequest) Code() int

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

func (*ListInstancesBadRequest) Error

func (o *ListInstancesBadRequest) Error() string

func (*ListInstancesBadRequest) GetPayload

func (o *ListInstancesBadRequest) GetPayload() *models.Errors

func (*ListInstancesBadRequest) IsClientError

func (o *ListInstancesBadRequest) IsClientError() bool

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

func (*ListInstancesBadRequest) IsCode

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

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

func (*ListInstancesBadRequest) IsRedirect

func (o *ListInstancesBadRequest) IsRedirect() bool

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

func (*ListInstancesBadRequest) IsServerError

func (o *ListInstancesBadRequest) IsServerError() bool

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

func (*ListInstancesBadRequest) IsSuccess

func (o *ListInstancesBadRequest) IsSuccess() bool

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

func (*ListInstancesBadRequest) String

func (o *ListInstancesBadRequest) String() string

type ListInstancesForbidden

type ListInstancesForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewListInstancesForbidden

func NewListInstancesForbidden() *ListInstancesForbidden

NewListInstancesForbidden creates a ListInstancesForbidden with default headers values

func (*ListInstancesForbidden) Code

func (o *ListInstancesForbidden) Code() int

Code gets the status code for the list instances forbidden response

func (*ListInstancesForbidden) Error

func (o *ListInstancesForbidden) Error() string

func (*ListInstancesForbidden) GetPayload

func (o *ListInstancesForbidden) GetPayload() *models.Errors

func (*ListInstancesForbidden) IsClientError

func (o *ListInstancesForbidden) IsClientError() bool

IsClientError returns true when this list instances forbidden response has a 4xx status code

func (*ListInstancesForbidden) IsCode

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

IsCode returns true when this list instances forbidden response a status code equal to that given

func (*ListInstancesForbidden) IsRedirect

func (o *ListInstancesForbidden) IsRedirect() bool

IsRedirect returns true when this list instances forbidden response has a 3xx status code

func (*ListInstancesForbidden) IsServerError

func (o *ListInstancesForbidden) IsServerError() bool

IsServerError returns true when this list instances forbidden response has a 5xx status code

func (*ListInstancesForbidden) IsSuccess

func (o *ListInstancesForbidden) IsSuccess() bool

IsSuccess returns true when this list instances forbidden response has a 2xx status code

func (*ListInstancesForbidden) String

func (o *ListInstancesForbidden) String() string

type ListInstancesInternalServerError

type ListInstancesInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ListInstancesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListInstancesInternalServerError

func NewListInstancesInternalServerError() *ListInstancesInternalServerError

NewListInstancesInternalServerError creates a ListInstancesInternalServerError with default headers values

func (*ListInstancesInternalServerError) Code

Code gets the status code for the list instances internal server error response

func (*ListInstancesInternalServerError) Error

func (*ListInstancesInternalServerError) GetPayload

func (*ListInstancesInternalServerError) IsClientError

func (o *ListInstancesInternalServerError) IsClientError() bool

IsClientError returns true when this list instances internal server error response has a 4xx status code

func (*ListInstancesInternalServerError) IsCode

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

IsCode returns true when this list instances internal server error response a status code equal to that given

func (*ListInstancesInternalServerError) IsRedirect

func (o *ListInstancesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list instances internal server error response has a 3xx status code

func (*ListInstancesInternalServerError) IsServerError

func (o *ListInstancesInternalServerError) IsServerError() bool

IsServerError returns true when this list instances internal server error response has a 5xx status code

func (*ListInstancesInternalServerError) IsSuccess

func (o *ListInstancesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list instances internal server error response has a 2xx status code

func (*ListInstancesInternalServerError) String

type ListInstancesNotFound

type ListInstancesNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewListInstancesNotFound

func NewListInstancesNotFound() *ListInstancesNotFound

NewListInstancesNotFound creates a ListInstancesNotFound with default headers values

func (*ListInstancesNotFound) Code

func (o *ListInstancesNotFound) Code() int

Code gets the status code for the list instances not found response

func (*ListInstancesNotFound) Error

func (o *ListInstancesNotFound) Error() string

func (*ListInstancesNotFound) GetPayload

func (o *ListInstancesNotFound) GetPayload() *models.Errors

func (*ListInstancesNotFound) IsClientError

func (o *ListInstancesNotFound) IsClientError() bool

IsClientError returns true when this list instances not found response has a 4xx status code

func (*ListInstancesNotFound) IsCode

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

IsCode returns true when this list instances not found response a status code equal to that given

func (*ListInstancesNotFound) IsRedirect

func (o *ListInstancesNotFound) IsRedirect() bool

IsRedirect returns true when this list instances not found response has a 3xx status code

func (*ListInstancesNotFound) IsServerError

func (o *ListInstancesNotFound) IsServerError() bool

IsServerError returns true when this list instances not found response has a 5xx status code

func (*ListInstancesNotFound) IsSuccess

func (o *ListInstancesNotFound) IsSuccess() bool

IsSuccess returns true when this list instances not found response has a 2xx status code

func (*ListInstancesNotFound) String

func (o *ListInstancesNotFound) String() string

type ListInstancesOK

type ListInstancesOK struct {

	// Link refers to the previous page and next page
	Link string

	// The total count of preheating provider instances
	XTotalCount int64

	Payload []*models.Instance
}

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

Success

func NewListInstancesOK

func NewListInstancesOK() *ListInstancesOK

NewListInstancesOK creates a ListInstancesOK with default headers values

func (*ListInstancesOK) Code

func (o *ListInstancesOK) Code() int

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

func (*ListInstancesOK) Error

func (o *ListInstancesOK) Error() string

func (*ListInstancesOK) GetPayload

func (o *ListInstancesOK) GetPayload() []*models.Instance

func (*ListInstancesOK) IsClientError

func (o *ListInstancesOK) IsClientError() bool

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

func (*ListInstancesOK) IsCode

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

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

func (*ListInstancesOK) IsRedirect

func (o *ListInstancesOK) IsRedirect() bool

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

func (*ListInstancesOK) IsServerError

func (o *ListInstancesOK) IsServerError() bool

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

func (*ListInstancesOK) IsSuccess

func (o *ListInstancesOK) IsSuccess() bool

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

func (*ListInstancesOK) String

func (o *ListInstancesOK) String() string

type ListInstancesParams

type ListInstancesParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Page.
	//
	// The page number
	//
	// Format: int64
	// Default: 1
	Page *int64

	// PageSize.
	//
	// The size of per page
	//
	// Format: int64
	// Default: 10
	PageSize *int64

	// Q.
	//
	// Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
	Q *string

	// Sort.
	//
	// Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
	Sort *string

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

ListInstancesParams contains all the parameters to send to the API endpoint

for the list instances operation.

Typically these are written to a http.Request.

func NewListInstancesParams

func NewListInstancesParams() *ListInstancesParams

NewListInstancesParams creates a new ListInstancesParams 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 NewListInstancesParamsWithContext deprecated

func NewListInstancesParamsWithContext(ctx context.Context) *ListInstancesParams

NewListInstancesParamsWithContext creates a new ListInstancesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListInstancesParams.

func NewListInstancesParamsWithHTTPClient

func NewListInstancesParamsWithHTTPClient(client *http.Client) *ListInstancesParams

NewListInstancesParamsWithHTTPClient creates a new ListInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewListInstancesParamsWithTimeout

func NewListInstancesParamsWithTimeout(timeout time.Duration) *ListInstancesParams

NewListInstancesParamsWithTimeout creates a new ListInstancesParams object with the ability to set a timeout on a request.

func (*ListInstancesParams) SetContext deprecated

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

SetContext adds the context to the list instances params.

Deprecated: use the operation call with context to pass the context instead of ListInstancesParams.

func (*ListInstancesParams) SetDefaults

func (o *ListInstancesParams) SetDefaults()

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

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

func (*ListInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list instances params.

func (*ListInstancesParams) SetPage

func (o *ListInstancesParams) SetPage(page *int64)

SetPage adds the page to the list instances params.

func (*ListInstancesParams) SetPageSize

func (o *ListInstancesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list instances params.

func (*ListInstancesParams) SetQ

func (o *ListInstancesParams) SetQ(q *string)

SetQ adds the q to the list instances params.

func (*ListInstancesParams) SetSort

func (o *ListInstancesParams) SetSort(sort *string)

SetSort adds the sort to the list instances params.

func (*ListInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the list instances params.

func (*ListInstancesParams) SetXRequestID

func (o *ListInstancesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list instances params.

func (*ListInstancesParams) WithContext deprecated

WithContext adds the context to the list instances params.

Deprecated: use the operation call with context to pass the context instead of ListInstancesParams.

func (*ListInstancesParams) WithDefaults

func (o *ListInstancesParams) WithDefaults() *ListInstancesParams

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

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

func (*ListInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list instances params.

func (*ListInstancesParams) WithPage

func (o *ListInstancesParams) WithPage(page *int64) *ListInstancesParams

WithPage adds the page to the list instances params.

func (*ListInstancesParams) WithPageSize

func (o *ListInstancesParams) WithPageSize(pageSize *int64) *ListInstancesParams

WithPageSize adds the pageSize to the list instances params.

func (*ListInstancesParams) WithQ

WithQ adds the q to the list instances params.

func (*ListInstancesParams) WithSort

func (o *ListInstancesParams) WithSort(sort *string) *ListInstancesParams

WithSort adds the sort to the list instances params.

func (*ListInstancesParams) WithTimeout

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

WithTimeout adds the timeout to the list instances params.

func (*ListInstancesParams) WithXRequestID

func (o *ListInstancesParams) WithXRequestID(xRequestID *string) *ListInstancesParams

WithXRequestID adds the xRequestID to the list instances params.

func (*ListInstancesParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type ListInstancesReader

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

ListInstancesReader is a Reader for the ListInstances structure.

func (*ListInstancesReader) ReadResponse

func (o *ListInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListInstancesUnauthorized

type ListInstancesUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListInstancesUnauthorized

func NewListInstancesUnauthorized() *ListInstancesUnauthorized

NewListInstancesUnauthorized creates a ListInstancesUnauthorized with default headers values

func (*ListInstancesUnauthorized) Code

func (o *ListInstancesUnauthorized) Code() int

Code gets the status code for the list instances unauthorized response

func (*ListInstancesUnauthorized) Error

func (o *ListInstancesUnauthorized) Error() string

func (*ListInstancesUnauthorized) GetPayload

func (o *ListInstancesUnauthorized) GetPayload() *models.Errors

func (*ListInstancesUnauthorized) IsClientError

func (o *ListInstancesUnauthorized) IsClientError() bool

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

func (*ListInstancesUnauthorized) IsCode

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

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

func (*ListInstancesUnauthorized) IsRedirect

func (o *ListInstancesUnauthorized) IsRedirect() bool

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

func (*ListInstancesUnauthorized) IsServerError

func (o *ListInstancesUnauthorized) IsServerError() bool

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

func (*ListInstancesUnauthorized) IsSuccess

func (o *ListInstancesUnauthorized) IsSuccess() bool

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

func (*ListInstancesUnauthorized) String

func (o *ListInstancesUnauthorized) String() string

type ListPoliciesBadRequest

type ListPoliciesBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewListPoliciesBadRequest

func NewListPoliciesBadRequest() *ListPoliciesBadRequest

NewListPoliciesBadRequest creates a ListPoliciesBadRequest with default headers values

func (*ListPoliciesBadRequest) Code

func (o *ListPoliciesBadRequest) Code() int

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

func (*ListPoliciesBadRequest) Error

func (o *ListPoliciesBadRequest) Error() string

func (*ListPoliciesBadRequest) GetPayload

func (o *ListPoliciesBadRequest) GetPayload() *models.Errors

func (*ListPoliciesBadRequest) IsClientError

func (o *ListPoliciesBadRequest) IsClientError() bool

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

func (*ListPoliciesBadRequest) IsCode

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

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

func (*ListPoliciesBadRequest) IsRedirect

func (o *ListPoliciesBadRequest) IsRedirect() bool

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

func (*ListPoliciesBadRequest) IsServerError

func (o *ListPoliciesBadRequest) IsServerError() bool

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

func (*ListPoliciesBadRequest) IsSuccess

func (o *ListPoliciesBadRequest) IsSuccess() bool

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

func (*ListPoliciesBadRequest) String

func (o *ListPoliciesBadRequest) String() string

type ListPoliciesForbidden

type ListPoliciesForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewListPoliciesForbidden

func NewListPoliciesForbidden() *ListPoliciesForbidden

NewListPoliciesForbidden creates a ListPoliciesForbidden with default headers values

func (*ListPoliciesForbidden) Code

func (o *ListPoliciesForbidden) Code() int

Code gets the status code for the list policies forbidden response

func (*ListPoliciesForbidden) Error

func (o *ListPoliciesForbidden) Error() string

func (*ListPoliciesForbidden) GetPayload

func (o *ListPoliciesForbidden) GetPayload() *models.Errors

func (*ListPoliciesForbidden) IsClientError

func (o *ListPoliciesForbidden) IsClientError() bool

IsClientError returns true when this list policies forbidden response has a 4xx status code

func (*ListPoliciesForbidden) IsCode

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

IsCode returns true when this list policies forbidden response a status code equal to that given

func (*ListPoliciesForbidden) IsRedirect

func (o *ListPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this list policies forbidden response has a 3xx status code

func (*ListPoliciesForbidden) IsServerError

func (o *ListPoliciesForbidden) IsServerError() bool

IsServerError returns true when this list policies forbidden response has a 5xx status code

func (*ListPoliciesForbidden) IsSuccess

func (o *ListPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this list policies forbidden response has a 2xx status code

func (*ListPoliciesForbidden) String

func (o *ListPoliciesForbidden) String() string

type ListPoliciesInternalServerError

type ListPoliciesInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ListPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListPoliciesInternalServerError

func NewListPoliciesInternalServerError() *ListPoliciesInternalServerError

NewListPoliciesInternalServerError creates a ListPoliciesInternalServerError with default headers values

func (*ListPoliciesInternalServerError) Code

Code gets the status code for the list policies internal server error response

func (*ListPoliciesInternalServerError) Error

func (*ListPoliciesInternalServerError) GetPayload

func (*ListPoliciesInternalServerError) IsClientError

func (o *ListPoliciesInternalServerError) IsClientError() bool

IsClientError returns true when this list policies internal server error response has a 4xx status code

func (*ListPoliciesInternalServerError) IsCode

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

IsCode returns true when this list policies internal server error response a status code equal to that given

func (*ListPoliciesInternalServerError) IsRedirect

func (o *ListPoliciesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list policies internal server error response has a 3xx status code

func (*ListPoliciesInternalServerError) IsServerError

func (o *ListPoliciesInternalServerError) IsServerError() bool

IsServerError returns true when this list policies internal server error response has a 5xx status code

func (*ListPoliciesInternalServerError) IsSuccess

func (o *ListPoliciesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list policies internal server error response has a 2xx status code

func (*ListPoliciesInternalServerError) String

type ListPoliciesOK

type ListPoliciesOK struct {

	// Link refers to the previous page and next page
	Link string

	// The total count of policies
	XTotalCount int64

	Payload []*models.PreheatPolicy
}

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

List preheat policies success

func NewListPoliciesOK

func NewListPoliciesOK() *ListPoliciesOK

NewListPoliciesOK creates a ListPoliciesOK with default headers values

func (*ListPoliciesOK) Code

func (o *ListPoliciesOK) Code() int

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

func (*ListPoliciesOK) Error

func (o *ListPoliciesOK) Error() string

func (*ListPoliciesOK) GetPayload

func (o *ListPoliciesOK) GetPayload() []*models.PreheatPolicy

func (*ListPoliciesOK) IsClientError

func (o *ListPoliciesOK) IsClientError() bool

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

func (*ListPoliciesOK) IsCode

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

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

func (*ListPoliciesOK) IsRedirect

func (o *ListPoliciesOK) IsRedirect() bool

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

func (*ListPoliciesOK) IsServerError

func (o *ListPoliciesOK) IsServerError() bool

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

func (*ListPoliciesOK) IsSuccess

func (o *ListPoliciesOK) IsSuccess() bool

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

func (*ListPoliciesOK) String

func (o *ListPoliciesOK) String() string

type ListPoliciesParams

type ListPoliciesParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Page.
	//
	// The page number
	//
	// Format: int64
	// Default: 1
	Page *int64

	// PageSize.
	//
	// The size of per page
	//
	// Format: int64
	// Default: 10
	PageSize *int64

	// ProjectName.
	//
	// The name of the project
	ProjectName string

	// Q.
	//
	// Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
	Q *string

	// Sort.
	//
	// Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
	Sort *string

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

ListPoliciesParams contains all the parameters to send to the API endpoint

for the list policies operation.

Typically these are written to a http.Request.

func NewListPoliciesParams

func NewListPoliciesParams() *ListPoliciesParams

NewListPoliciesParams creates a new ListPoliciesParams 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 NewListPoliciesParamsWithContext deprecated

func NewListPoliciesParamsWithContext(ctx context.Context) *ListPoliciesParams

NewListPoliciesParamsWithContext creates a new ListPoliciesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListPoliciesParams.

func NewListPoliciesParamsWithHTTPClient

func NewListPoliciesParamsWithHTTPClient(client *http.Client) *ListPoliciesParams

NewListPoliciesParamsWithHTTPClient creates a new ListPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListPoliciesParamsWithTimeout

func NewListPoliciesParamsWithTimeout(timeout time.Duration) *ListPoliciesParams

NewListPoliciesParamsWithTimeout creates a new ListPoliciesParams object with the ability to set a timeout on a request.

func (*ListPoliciesParams) SetContext deprecated

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

SetContext adds the context to the list policies params.

Deprecated: use the operation call with context to pass the context instead of ListPoliciesParams.

func (*ListPoliciesParams) SetDefaults

func (o *ListPoliciesParams) SetDefaults()

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

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

func (*ListPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list policies params.

func (*ListPoliciesParams) SetPage

func (o *ListPoliciesParams) SetPage(page *int64)

SetPage adds the page to the list policies params.

func (*ListPoliciesParams) SetPageSize

func (o *ListPoliciesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list policies params.

func (*ListPoliciesParams) SetProjectName

func (o *ListPoliciesParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list policies params.

func (*ListPoliciesParams) SetQ

func (o *ListPoliciesParams) SetQ(q *string)

SetQ adds the q to the list policies params.

func (*ListPoliciesParams) SetSort

func (o *ListPoliciesParams) SetSort(sort *string)

SetSort adds the sort to the list policies params.

func (*ListPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the list policies params.

func (*ListPoliciesParams) SetXRequestID

func (o *ListPoliciesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list policies params.

func (*ListPoliciesParams) WithContext deprecated

WithContext adds the context to the list policies params.

Deprecated: use the operation call with context to pass the context instead of ListPoliciesParams.

func (*ListPoliciesParams) WithDefaults

func (o *ListPoliciesParams) WithDefaults() *ListPoliciesParams

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

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

func (*ListPoliciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list policies params.

func (*ListPoliciesParams) WithPage

func (o *ListPoliciesParams) WithPage(page *int64) *ListPoliciesParams

WithPage adds the page to the list policies params.

func (*ListPoliciesParams) WithPageSize

func (o *ListPoliciesParams) WithPageSize(pageSize *int64) *ListPoliciesParams

WithPageSize adds the pageSize to the list policies params.

func (*ListPoliciesParams) WithProjectName

func (o *ListPoliciesParams) WithProjectName(projectName string) *ListPoliciesParams

WithProjectName adds the projectName to the list policies params.

func (*ListPoliciesParams) WithQ

WithQ adds the q to the list policies params.

func (*ListPoliciesParams) WithSort

func (o *ListPoliciesParams) WithSort(sort *string) *ListPoliciesParams

WithSort adds the sort to the list policies params.

func (*ListPoliciesParams) WithTimeout

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

WithTimeout adds the timeout to the list policies params.

func (*ListPoliciesParams) WithXRequestID

func (o *ListPoliciesParams) WithXRequestID(xRequestID *string) *ListPoliciesParams

WithXRequestID adds the xRequestID to the list policies params.

func (*ListPoliciesParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type ListPoliciesReader

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

ListPoliciesReader is a Reader for the ListPolicies structure.

func (*ListPoliciesReader) ReadResponse

func (o *ListPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListPoliciesUnauthorized

type ListPoliciesUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListPoliciesUnauthorized

func NewListPoliciesUnauthorized() *ListPoliciesUnauthorized

NewListPoliciesUnauthorized creates a ListPoliciesUnauthorized with default headers values

func (*ListPoliciesUnauthorized) Code

func (o *ListPoliciesUnauthorized) Code() int

Code gets the status code for the list policies unauthorized response

func (*ListPoliciesUnauthorized) Error

func (o *ListPoliciesUnauthorized) Error() string

func (*ListPoliciesUnauthorized) GetPayload

func (o *ListPoliciesUnauthorized) GetPayload() *models.Errors

func (*ListPoliciesUnauthorized) IsClientError

func (o *ListPoliciesUnauthorized) IsClientError() bool

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

func (*ListPoliciesUnauthorized) IsCode

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

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

func (*ListPoliciesUnauthorized) IsRedirect

func (o *ListPoliciesUnauthorized) IsRedirect() bool

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

func (*ListPoliciesUnauthorized) IsServerError

func (o *ListPoliciesUnauthorized) IsServerError() bool

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

func (*ListPoliciesUnauthorized) IsSuccess

func (o *ListPoliciesUnauthorized) IsSuccess() bool

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

func (*ListPoliciesUnauthorized) String

func (o *ListPoliciesUnauthorized) String() string

type ListProvidersBadRequest

type ListProvidersBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewListProvidersBadRequest

func NewListProvidersBadRequest() *ListProvidersBadRequest

NewListProvidersBadRequest creates a ListProvidersBadRequest with default headers values

func (*ListProvidersBadRequest) Code

func (o *ListProvidersBadRequest) Code() int

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

func (*ListProvidersBadRequest) Error

func (o *ListProvidersBadRequest) Error() string

func (*ListProvidersBadRequest) GetPayload

func (o *ListProvidersBadRequest) GetPayload() *models.Errors

func (*ListProvidersBadRequest) IsClientError

func (o *ListProvidersBadRequest) IsClientError() bool

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

func (*ListProvidersBadRequest) IsCode

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

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

func (*ListProvidersBadRequest) IsRedirect

func (o *ListProvidersBadRequest) IsRedirect() bool

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

func (*ListProvidersBadRequest) IsServerError

func (o *ListProvidersBadRequest) IsServerError() bool

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

func (*ListProvidersBadRequest) IsSuccess

func (o *ListProvidersBadRequest) IsSuccess() bool

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

func (*ListProvidersBadRequest) String

func (o *ListProvidersBadRequest) String() string

type ListProvidersForbidden

type ListProvidersForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewListProvidersForbidden

func NewListProvidersForbidden() *ListProvidersForbidden

NewListProvidersForbidden creates a ListProvidersForbidden with default headers values

func (*ListProvidersForbidden) Code

func (o *ListProvidersForbidden) Code() int

Code gets the status code for the list providers forbidden response

func (*ListProvidersForbidden) Error

func (o *ListProvidersForbidden) Error() string

func (*ListProvidersForbidden) GetPayload

func (o *ListProvidersForbidden) GetPayload() *models.Errors

func (*ListProvidersForbidden) IsClientError

func (o *ListProvidersForbidden) IsClientError() bool

IsClientError returns true when this list providers forbidden response has a 4xx status code

func (*ListProvidersForbidden) IsCode

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

IsCode returns true when this list providers forbidden response a status code equal to that given

func (*ListProvidersForbidden) IsRedirect

func (o *ListProvidersForbidden) IsRedirect() bool

IsRedirect returns true when this list providers forbidden response has a 3xx status code

func (*ListProvidersForbidden) IsServerError

func (o *ListProvidersForbidden) IsServerError() bool

IsServerError returns true when this list providers forbidden response has a 5xx status code

func (*ListProvidersForbidden) IsSuccess

func (o *ListProvidersForbidden) IsSuccess() bool

IsSuccess returns true when this list providers forbidden response has a 2xx status code

func (*ListProvidersForbidden) String

func (o *ListProvidersForbidden) String() string

type ListProvidersInternalServerError

type ListProvidersInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ListProvidersInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListProvidersInternalServerError

func NewListProvidersInternalServerError() *ListProvidersInternalServerError

NewListProvidersInternalServerError creates a ListProvidersInternalServerError with default headers values

func (*ListProvidersInternalServerError) Code

Code gets the status code for the list providers internal server error response

func (*ListProvidersInternalServerError) Error

func (*ListProvidersInternalServerError) GetPayload

func (*ListProvidersInternalServerError) IsClientError

func (o *ListProvidersInternalServerError) IsClientError() bool

IsClientError returns true when this list providers internal server error response has a 4xx status code

func (*ListProvidersInternalServerError) IsCode

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

IsCode returns true when this list providers internal server error response a status code equal to that given

func (*ListProvidersInternalServerError) IsRedirect

func (o *ListProvidersInternalServerError) IsRedirect() bool

IsRedirect returns true when this list providers internal server error response has a 3xx status code

func (*ListProvidersInternalServerError) IsServerError

func (o *ListProvidersInternalServerError) IsServerError() bool

IsServerError returns true when this list providers internal server error response has a 5xx status code

func (*ListProvidersInternalServerError) IsSuccess

func (o *ListProvidersInternalServerError) IsSuccess() bool

IsSuccess returns true when this list providers internal server error response has a 2xx status code

func (*ListProvidersInternalServerError) String

type ListProvidersNotFound

type ListProvidersNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewListProvidersNotFound

func NewListProvidersNotFound() *ListProvidersNotFound

NewListProvidersNotFound creates a ListProvidersNotFound with default headers values

func (*ListProvidersNotFound) Code

func (o *ListProvidersNotFound) Code() int

Code gets the status code for the list providers not found response

func (*ListProvidersNotFound) Error

func (o *ListProvidersNotFound) Error() string

func (*ListProvidersNotFound) GetPayload

func (o *ListProvidersNotFound) GetPayload() *models.Errors

func (*ListProvidersNotFound) IsClientError

func (o *ListProvidersNotFound) IsClientError() bool

IsClientError returns true when this list providers not found response has a 4xx status code

func (*ListProvidersNotFound) IsCode

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

IsCode returns true when this list providers not found response a status code equal to that given

func (*ListProvidersNotFound) IsRedirect

func (o *ListProvidersNotFound) IsRedirect() bool

IsRedirect returns true when this list providers not found response has a 3xx status code

func (*ListProvidersNotFound) IsServerError

func (o *ListProvidersNotFound) IsServerError() bool

IsServerError returns true when this list providers not found response has a 5xx status code

func (*ListProvidersNotFound) IsSuccess

func (o *ListProvidersNotFound) IsSuccess() bool

IsSuccess returns true when this list providers not found response has a 2xx status code

func (*ListProvidersNotFound) String

func (o *ListProvidersNotFound) String() string

type ListProvidersOK

type ListProvidersOK struct {
	Payload []*models.Metadata
}

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

Success

func NewListProvidersOK

func NewListProvidersOK() *ListProvidersOK

NewListProvidersOK creates a ListProvidersOK with default headers values

func (*ListProvidersOK) Code

func (o *ListProvidersOK) Code() int

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

func (*ListProvidersOK) Error

func (o *ListProvidersOK) Error() string

func (*ListProvidersOK) GetPayload

func (o *ListProvidersOK) GetPayload() []*models.Metadata

func (*ListProvidersOK) IsClientError

func (o *ListProvidersOK) IsClientError() bool

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

func (*ListProvidersOK) IsCode

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

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

func (*ListProvidersOK) IsRedirect

func (o *ListProvidersOK) IsRedirect() bool

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

func (*ListProvidersOK) IsServerError

func (o *ListProvidersOK) IsServerError() bool

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

func (*ListProvidersOK) IsSuccess

func (o *ListProvidersOK) IsSuccess() bool

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

func (*ListProvidersOK) String

func (o *ListProvidersOK) String() string

type ListProvidersParams

type ListProvidersParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

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

ListProvidersParams contains all the parameters to send to the API endpoint

for the list providers operation.

Typically these are written to a http.Request.

func NewListProvidersParams

func NewListProvidersParams() *ListProvidersParams

NewListProvidersParams creates a new ListProvidersParams 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 NewListProvidersParamsWithContext deprecated

func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams

NewListProvidersParamsWithContext creates a new ListProvidersParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListProvidersParams.

func NewListProvidersParamsWithHTTPClient

func NewListProvidersParamsWithHTTPClient(client *http.Client) *ListProvidersParams

NewListProvidersParamsWithHTTPClient creates a new ListProvidersParams object with the ability to set a custom HTTPClient for a request.

func NewListProvidersParamsWithTimeout

func NewListProvidersParamsWithTimeout(timeout time.Duration) *ListProvidersParams

NewListProvidersParamsWithTimeout creates a new ListProvidersParams object with the ability to set a timeout on a request.

func (*ListProvidersParams) SetContext deprecated

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

SetContext adds the context to the list providers params.

Deprecated: use the operation call with context to pass the context instead of ListProvidersParams.

func (*ListProvidersParams) SetDefaults

func (o *ListProvidersParams) SetDefaults()

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

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

func (*ListProvidersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list providers params.

func (*ListProvidersParams) SetTimeout

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

SetTimeout adds the timeout to the list providers params.

func (*ListProvidersParams) SetXRequestID

func (o *ListProvidersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list providers params.

func (*ListProvidersParams) WithContext deprecated

WithContext adds the context to the list providers params.

Deprecated: use the operation call with context to pass the context instead of ListProvidersParams.

func (*ListProvidersParams) WithDefaults

func (o *ListProvidersParams) WithDefaults() *ListProvidersParams

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

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

func (*ListProvidersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list providers params.

func (*ListProvidersParams) WithTimeout

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

WithTimeout adds the timeout to the list providers params.

func (*ListProvidersParams) WithXRequestID

func (o *ListProvidersParams) WithXRequestID(xRequestID *string) *ListProvidersParams

WithXRequestID adds the xRequestID to the list providers params.

func (*ListProvidersParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type ListProvidersReader

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

ListProvidersReader is a Reader for the ListProviders structure.

func (*ListProvidersReader) ReadResponse

func (o *ListProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListProvidersUnauthorized

type ListProvidersUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListProvidersUnauthorized

func NewListProvidersUnauthorized() *ListProvidersUnauthorized

NewListProvidersUnauthorized creates a ListProvidersUnauthorized with default headers values

func (*ListProvidersUnauthorized) Code

func (o *ListProvidersUnauthorized) Code() int

Code gets the status code for the list providers unauthorized response

func (*ListProvidersUnauthorized) Error

func (o *ListProvidersUnauthorized) Error() string

func (*ListProvidersUnauthorized) GetPayload

func (o *ListProvidersUnauthorized) GetPayload() *models.Errors

func (*ListProvidersUnauthorized) IsClientError

func (o *ListProvidersUnauthorized) IsClientError() bool

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

func (*ListProvidersUnauthorized) IsCode

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

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

func (*ListProvidersUnauthorized) IsRedirect

func (o *ListProvidersUnauthorized) IsRedirect() bool

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

func (*ListProvidersUnauthorized) IsServerError

func (o *ListProvidersUnauthorized) IsServerError() bool

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

func (*ListProvidersUnauthorized) IsSuccess

func (o *ListProvidersUnauthorized) IsSuccess() bool

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

func (*ListProvidersUnauthorized) String

func (o *ListProvidersUnauthorized) String() string

type ListProvidersUnderProjectBadRequest

type ListProvidersUnderProjectBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewListProvidersUnderProjectBadRequest

func NewListProvidersUnderProjectBadRequest() *ListProvidersUnderProjectBadRequest

NewListProvidersUnderProjectBadRequest creates a ListProvidersUnderProjectBadRequest with default headers values

func (*ListProvidersUnderProjectBadRequest) Code

Code gets the status code for the list providers under project bad request response

func (*ListProvidersUnderProjectBadRequest) Error

func (*ListProvidersUnderProjectBadRequest) GetPayload

func (*ListProvidersUnderProjectBadRequest) IsClientError

func (o *ListProvidersUnderProjectBadRequest) IsClientError() bool

IsClientError returns true when this list providers under project bad request response has a 4xx status code

func (*ListProvidersUnderProjectBadRequest) IsCode

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

func (*ListProvidersUnderProjectBadRequest) IsRedirect

func (o *ListProvidersUnderProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this list providers under project bad request response has a 3xx status code

func (*ListProvidersUnderProjectBadRequest) IsServerError

func (o *ListProvidersUnderProjectBadRequest) IsServerError() bool

IsServerError returns true when this list providers under project bad request response has a 5xx status code

func (*ListProvidersUnderProjectBadRequest) IsSuccess

IsSuccess returns true when this list providers under project bad request response has a 2xx status code

func (*ListProvidersUnderProjectBadRequest) String

type ListProvidersUnderProjectForbidden

type ListProvidersUnderProjectForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewListProvidersUnderProjectForbidden

func NewListProvidersUnderProjectForbidden() *ListProvidersUnderProjectForbidden

NewListProvidersUnderProjectForbidden creates a ListProvidersUnderProjectForbidden with default headers values

func (*ListProvidersUnderProjectForbidden) Code

Code gets the status code for the list providers under project forbidden response

func (*ListProvidersUnderProjectForbidden) Error

func (*ListProvidersUnderProjectForbidden) GetPayload

func (*ListProvidersUnderProjectForbidden) IsClientError

func (o *ListProvidersUnderProjectForbidden) IsClientError() bool

IsClientError returns true when this list providers under project forbidden response has a 4xx status code

func (*ListProvidersUnderProjectForbidden) IsCode

IsCode returns true when this list providers under project forbidden response a status code equal to that given

func (*ListProvidersUnderProjectForbidden) IsRedirect

func (o *ListProvidersUnderProjectForbidden) IsRedirect() bool

IsRedirect returns true when this list providers under project forbidden response has a 3xx status code

func (*ListProvidersUnderProjectForbidden) IsServerError

func (o *ListProvidersUnderProjectForbidden) IsServerError() bool

IsServerError returns true when this list providers under project forbidden response has a 5xx status code

func (*ListProvidersUnderProjectForbidden) IsSuccess

IsSuccess returns true when this list providers under project forbidden response has a 2xx status code

func (*ListProvidersUnderProjectForbidden) String

type ListProvidersUnderProjectInternalServerError

type ListProvidersUnderProjectInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnderProjectInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListProvidersUnderProjectInternalServerError

func NewListProvidersUnderProjectInternalServerError() *ListProvidersUnderProjectInternalServerError

NewListProvidersUnderProjectInternalServerError creates a ListProvidersUnderProjectInternalServerError with default headers values

func (*ListProvidersUnderProjectInternalServerError) Code

Code gets the status code for the list providers under project internal server error response

func (*ListProvidersUnderProjectInternalServerError) Error

func (*ListProvidersUnderProjectInternalServerError) GetPayload

func (*ListProvidersUnderProjectInternalServerError) IsClientError

IsClientError returns true when this list providers under project internal server error response has a 4xx status code

func (*ListProvidersUnderProjectInternalServerError) IsCode

IsCode returns true when this list providers under project internal server error response a status code equal to that given

func (*ListProvidersUnderProjectInternalServerError) IsRedirect

IsRedirect returns true when this list providers under project internal server error response has a 3xx status code

func (*ListProvidersUnderProjectInternalServerError) IsServerError

IsServerError returns true when this list providers under project internal server error response has a 5xx status code

func (*ListProvidersUnderProjectInternalServerError) IsSuccess

IsSuccess returns true when this list providers under project internal server error response has a 2xx status code

func (*ListProvidersUnderProjectInternalServerError) String

type ListProvidersUnderProjectNotFound

type ListProvidersUnderProjectNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewListProvidersUnderProjectNotFound

func NewListProvidersUnderProjectNotFound() *ListProvidersUnderProjectNotFound

NewListProvidersUnderProjectNotFound creates a ListProvidersUnderProjectNotFound with default headers values

func (*ListProvidersUnderProjectNotFound) Code

Code gets the status code for the list providers under project not found response

func (*ListProvidersUnderProjectNotFound) Error

func (*ListProvidersUnderProjectNotFound) GetPayload

func (*ListProvidersUnderProjectNotFound) IsClientError

func (o *ListProvidersUnderProjectNotFound) IsClientError() bool

IsClientError returns true when this list providers under project not found response has a 4xx status code

func (*ListProvidersUnderProjectNotFound) IsCode

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

IsCode returns true when this list providers under project not found response a status code equal to that given

func (*ListProvidersUnderProjectNotFound) IsRedirect

func (o *ListProvidersUnderProjectNotFound) IsRedirect() bool

IsRedirect returns true when this list providers under project not found response has a 3xx status code

func (*ListProvidersUnderProjectNotFound) IsServerError

func (o *ListProvidersUnderProjectNotFound) IsServerError() bool

IsServerError returns true when this list providers under project not found response has a 5xx status code

func (*ListProvidersUnderProjectNotFound) IsSuccess

func (o *ListProvidersUnderProjectNotFound) IsSuccess() bool

IsSuccess returns true when this list providers under project not found response has a 2xx status code

func (*ListProvidersUnderProjectNotFound) String

type ListProvidersUnderProjectOK

type ListProvidersUnderProjectOK struct {
	Payload []*models.ProviderUnderProject
}

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

Success

func NewListProvidersUnderProjectOK

func NewListProvidersUnderProjectOK() *ListProvidersUnderProjectOK

NewListProvidersUnderProjectOK creates a ListProvidersUnderProjectOK with default headers values

func (*ListProvidersUnderProjectOK) Code

func (o *ListProvidersUnderProjectOK) Code() int

Code gets the status code for the list providers under project o k response

func (*ListProvidersUnderProjectOK) Error

func (*ListProvidersUnderProjectOK) GetPayload

func (*ListProvidersUnderProjectOK) IsClientError

func (o *ListProvidersUnderProjectOK) IsClientError() bool

IsClientError returns true when this list providers under project o k response has a 4xx status code

func (*ListProvidersUnderProjectOK) IsCode

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

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

func (*ListProvidersUnderProjectOK) IsRedirect

func (o *ListProvidersUnderProjectOK) IsRedirect() bool

IsRedirect returns true when this list providers under project o k response has a 3xx status code

func (*ListProvidersUnderProjectOK) IsServerError

func (o *ListProvidersUnderProjectOK) IsServerError() bool

IsServerError returns true when this list providers under project o k response has a 5xx status code

func (*ListProvidersUnderProjectOK) IsSuccess

func (o *ListProvidersUnderProjectOK) IsSuccess() bool

IsSuccess returns true when this list providers under project o k response has a 2xx status code

func (*ListProvidersUnderProjectOK) String

func (o *ListProvidersUnderProjectOK) String() string

type ListProvidersUnderProjectParams

type ListProvidersUnderProjectParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

ListProvidersUnderProjectParams contains all the parameters to send to the API endpoint

for the list providers under project operation.

Typically these are written to a http.Request.

func NewListProvidersUnderProjectParams

func NewListProvidersUnderProjectParams() *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParams creates a new ListProvidersUnderProjectParams 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 NewListProvidersUnderProjectParamsWithContext deprecated

func NewListProvidersUnderProjectParamsWithContext(ctx context.Context) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithContext creates a new ListProvidersUnderProjectParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListProvidersUnderProjectParams.

func NewListProvidersUnderProjectParamsWithHTTPClient

func NewListProvidersUnderProjectParamsWithHTTPClient(client *http.Client) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithHTTPClient creates a new ListProvidersUnderProjectParams object with the ability to set a custom HTTPClient for a request.

func NewListProvidersUnderProjectParamsWithTimeout

func NewListProvidersUnderProjectParamsWithTimeout(timeout time.Duration) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithTimeout creates a new ListProvidersUnderProjectParams object with the ability to set a timeout on a request.

func (*ListProvidersUnderProjectParams) SetContext deprecated

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

SetContext adds the context to the list providers under project params.

Deprecated: use the operation call with context to pass the context instead of ListProvidersUnderProjectParams.

func (*ListProvidersUnderProjectParams) SetDefaults

func (o *ListProvidersUnderProjectParams) SetDefaults()

SetDefaults hydrates default values in the list providers under project params (not the query body).

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

func (*ListProvidersUnderProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list providers under project params.

func (*ListProvidersUnderProjectParams) SetProjectName

func (o *ListProvidersUnderProjectParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list providers under project params.

func (*ListProvidersUnderProjectParams) SetTimeout

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

SetTimeout adds the timeout to the list providers under project params.

func (*ListProvidersUnderProjectParams) SetXRequestID

func (o *ListProvidersUnderProjectParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list providers under project params.

func (*ListProvidersUnderProjectParams) WithContext deprecated

WithContext adds the context to the list providers under project params.

Deprecated: use the operation call with context to pass the context instead of ListProvidersUnderProjectParams.

func (*ListProvidersUnderProjectParams) WithDefaults

WithDefaults hydrates default values in the list providers under project params (not the query body).

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

func (*ListProvidersUnderProjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list providers under project params.

func (*ListProvidersUnderProjectParams) WithProjectName

WithProjectName adds the projectName to the list providers under project params.

func (*ListProvidersUnderProjectParams) WithTimeout

WithTimeout adds the timeout to the list providers under project params.

func (*ListProvidersUnderProjectParams) WithXRequestID

WithXRequestID adds the xRequestID to the list providers under project params.

func (*ListProvidersUnderProjectParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ListProvidersUnderProjectReader

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

ListProvidersUnderProjectReader is a Reader for the ListProvidersUnderProject structure.

func (*ListProvidersUnderProjectReader) ReadResponse

func (o *ListProvidersUnderProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListProvidersUnderProjectUnauthorized

type ListProvidersUnderProjectUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListProvidersUnderProjectUnauthorized

func NewListProvidersUnderProjectUnauthorized() *ListProvidersUnderProjectUnauthorized

NewListProvidersUnderProjectUnauthorized creates a ListProvidersUnderProjectUnauthorized with default headers values

func (*ListProvidersUnderProjectUnauthorized) Code

Code gets the status code for the list providers under project unauthorized response

func (*ListProvidersUnderProjectUnauthorized) Error

func (*ListProvidersUnderProjectUnauthorized) GetPayload

func (*ListProvidersUnderProjectUnauthorized) IsClientError

func (o *ListProvidersUnderProjectUnauthorized) IsClientError() bool

IsClientError returns true when this list providers under project unauthorized response has a 4xx status code

func (*ListProvidersUnderProjectUnauthorized) IsCode

IsCode returns true when this list providers under project unauthorized response a status code equal to that given

func (*ListProvidersUnderProjectUnauthorized) IsRedirect

IsRedirect returns true when this list providers under project unauthorized response has a 3xx status code

func (*ListProvidersUnderProjectUnauthorized) IsServerError

func (o *ListProvidersUnderProjectUnauthorized) IsServerError() bool

IsServerError returns true when this list providers under project unauthorized response has a 5xx status code

func (*ListProvidersUnderProjectUnauthorized) IsSuccess

IsSuccess returns true when this list providers under project unauthorized response has a 2xx status code

func (*ListProvidersUnderProjectUnauthorized) String

type ListTasksBadRequest

type ListTasksBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewListTasksBadRequest

func NewListTasksBadRequest() *ListTasksBadRequest

NewListTasksBadRequest creates a ListTasksBadRequest with default headers values

func (*ListTasksBadRequest) Code

func (o *ListTasksBadRequest) Code() int

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

func (*ListTasksBadRequest) Error

func (o *ListTasksBadRequest) Error() string

func (*ListTasksBadRequest) GetPayload

func (o *ListTasksBadRequest) GetPayload() *models.Errors

func (*ListTasksBadRequest) IsClientError

func (o *ListTasksBadRequest) IsClientError() bool

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

func (*ListTasksBadRequest) IsCode

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

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

func (*ListTasksBadRequest) IsRedirect

func (o *ListTasksBadRequest) IsRedirect() bool

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

func (*ListTasksBadRequest) IsServerError

func (o *ListTasksBadRequest) IsServerError() bool

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

func (*ListTasksBadRequest) IsSuccess

func (o *ListTasksBadRequest) IsSuccess() bool

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

func (*ListTasksBadRequest) String

func (o *ListTasksBadRequest) String() string

type ListTasksForbidden

type ListTasksForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewListTasksForbidden

func NewListTasksForbidden() *ListTasksForbidden

NewListTasksForbidden creates a ListTasksForbidden with default headers values

func (*ListTasksForbidden) Code

func (o *ListTasksForbidden) Code() int

Code gets the status code for the list tasks forbidden response

func (*ListTasksForbidden) Error

func (o *ListTasksForbidden) Error() string

func (*ListTasksForbidden) GetPayload

func (o *ListTasksForbidden) GetPayload() *models.Errors

func (*ListTasksForbidden) IsClientError

func (o *ListTasksForbidden) IsClientError() bool

IsClientError returns true when this list tasks forbidden response has a 4xx status code

func (*ListTasksForbidden) IsCode

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

IsCode returns true when this list tasks forbidden response a status code equal to that given

func (*ListTasksForbidden) IsRedirect

func (o *ListTasksForbidden) IsRedirect() bool

IsRedirect returns true when this list tasks forbidden response has a 3xx status code

func (*ListTasksForbidden) IsServerError

func (o *ListTasksForbidden) IsServerError() bool

IsServerError returns true when this list tasks forbidden response has a 5xx status code

func (*ListTasksForbidden) IsSuccess

func (o *ListTasksForbidden) IsSuccess() bool

IsSuccess returns true when this list tasks forbidden response has a 2xx status code

func (*ListTasksForbidden) String

func (o *ListTasksForbidden) String() string

type ListTasksInternalServerError

type ListTasksInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ListTasksInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListTasksInternalServerError

func NewListTasksInternalServerError() *ListTasksInternalServerError

NewListTasksInternalServerError creates a ListTasksInternalServerError with default headers values

func (*ListTasksInternalServerError) Code

Code gets the status code for the list tasks internal server error response

func (*ListTasksInternalServerError) Error

func (*ListTasksInternalServerError) GetPayload

func (o *ListTasksInternalServerError) GetPayload() *models.Errors

func (*ListTasksInternalServerError) IsClientError

func (o *ListTasksInternalServerError) IsClientError() bool

IsClientError returns true when this list tasks internal server error response has a 4xx status code

func (*ListTasksInternalServerError) IsCode

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

IsCode returns true when this list tasks internal server error response a status code equal to that given

func (*ListTasksInternalServerError) IsRedirect

func (o *ListTasksInternalServerError) IsRedirect() bool

IsRedirect returns true when this list tasks internal server error response has a 3xx status code

func (*ListTasksInternalServerError) IsServerError

func (o *ListTasksInternalServerError) IsServerError() bool

IsServerError returns true when this list tasks internal server error response has a 5xx status code

func (*ListTasksInternalServerError) IsSuccess

func (o *ListTasksInternalServerError) IsSuccess() bool

IsSuccess returns true when this list tasks internal server error response has a 2xx status code

func (*ListTasksInternalServerError) String

type ListTasksNotFound

type ListTasksNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewListTasksNotFound

func NewListTasksNotFound() *ListTasksNotFound

NewListTasksNotFound creates a ListTasksNotFound with default headers values

func (*ListTasksNotFound) Code

func (o *ListTasksNotFound) Code() int

Code gets the status code for the list tasks not found response

func (*ListTasksNotFound) Error

func (o *ListTasksNotFound) Error() string

func (*ListTasksNotFound) GetPayload

func (o *ListTasksNotFound) GetPayload() *models.Errors

func (*ListTasksNotFound) IsClientError

func (o *ListTasksNotFound) IsClientError() bool

IsClientError returns true when this list tasks not found response has a 4xx status code

func (*ListTasksNotFound) IsCode

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

IsCode returns true when this list tasks not found response a status code equal to that given

func (*ListTasksNotFound) IsRedirect

func (o *ListTasksNotFound) IsRedirect() bool

IsRedirect returns true when this list tasks not found response has a 3xx status code

func (*ListTasksNotFound) IsServerError

func (o *ListTasksNotFound) IsServerError() bool

IsServerError returns true when this list tasks not found response has a 5xx status code

func (*ListTasksNotFound) IsSuccess

func (o *ListTasksNotFound) IsSuccess() bool

IsSuccess returns true when this list tasks not found response has a 2xx status code

func (*ListTasksNotFound) String

func (o *ListTasksNotFound) String() string

type ListTasksOK

type ListTasksOK struct {

	// Link refers to the previous page and next page
	Link string

	// The total count of tasks
	XTotalCount int64

	Payload []*models.Task
}

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

List tasks success

func NewListTasksOK

func NewListTasksOK() *ListTasksOK

NewListTasksOK creates a ListTasksOK with default headers values

func (*ListTasksOK) Code

func (o *ListTasksOK) Code() int

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

func (*ListTasksOK) Error

func (o *ListTasksOK) Error() string

func (*ListTasksOK) GetPayload

func (o *ListTasksOK) GetPayload() []*models.Task

func (*ListTasksOK) IsClientError

func (o *ListTasksOK) IsClientError() bool

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

func (*ListTasksOK) IsCode

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

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

func (*ListTasksOK) IsRedirect

func (o *ListTasksOK) IsRedirect() bool

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

func (*ListTasksOK) IsServerError

func (o *ListTasksOK) IsServerError() bool

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

func (*ListTasksOK) IsSuccess

func (o *ListTasksOK) IsSuccess() bool

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

func (*ListTasksOK) String

func (o *ListTasksOK) String() string

type ListTasksParams

type ListTasksParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// ExecutionID.
	//
	// Execution ID
	ExecutionID int64

	// Page.
	//
	// The page number
	//
	// Format: int64
	// Default: 1
	Page *int64

	// PageSize.
	//
	// The size of per page
	//
	// Format: int64
	// Default: 10
	PageSize *int64

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

	// Q.
	//
	// Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
	Q *string

	// Sort.
	//
	// Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
	Sort *string

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

ListTasksParams contains all the parameters to send to the API endpoint

for the list tasks operation.

Typically these are written to a http.Request.

func NewListTasksParams

func NewListTasksParams() *ListTasksParams

NewListTasksParams creates a new ListTasksParams 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 NewListTasksParamsWithContext deprecated

func NewListTasksParamsWithContext(ctx context.Context) *ListTasksParams

NewListTasksParamsWithContext creates a new ListTasksParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListTasksParams.

func NewListTasksParamsWithHTTPClient

func NewListTasksParamsWithHTTPClient(client *http.Client) *ListTasksParams

NewListTasksParamsWithHTTPClient creates a new ListTasksParams object with the ability to set a custom HTTPClient for a request.

func NewListTasksParamsWithTimeout

func NewListTasksParamsWithTimeout(timeout time.Duration) *ListTasksParams

NewListTasksParamsWithTimeout creates a new ListTasksParams object with the ability to set a timeout on a request.

func (*ListTasksParams) SetContext deprecated

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

SetContext adds the context to the list tasks params.

Deprecated: use the operation call with context to pass the context instead of ListTasksParams.

func (*ListTasksParams) SetDefaults

func (o *ListTasksParams) SetDefaults()

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

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

func (*ListTasksParams) SetExecutionID

func (o *ListTasksParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the list tasks params.

func (*ListTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tasks params.

func (*ListTasksParams) SetPage

func (o *ListTasksParams) SetPage(page *int64)

SetPage adds the page to the list tasks params.

func (*ListTasksParams) SetPageSize

func (o *ListTasksParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list tasks params.

func (*ListTasksParams) SetPreheatPolicyName

func (o *ListTasksParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the list tasks params.

func (*ListTasksParams) SetProjectName

func (o *ListTasksParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list tasks params.

func (*ListTasksParams) SetQ

func (o *ListTasksParams) SetQ(q *string)

SetQ adds the q to the list tasks params.

func (*ListTasksParams) SetSort

func (o *ListTasksParams) SetSort(sort *string)

SetSort adds the sort to the list tasks params.

func (*ListTasksParams) SetTimeout

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

SetTimeout adds the timeout to the list tasks params.

func (*ListTasksParams) SetXRequestID

func (o *ListTasksParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list tasks params.

func (*ListTasksParams) WithContext deprecated

func (o *ListTasksParams) WithContext(ctx context.Context) *ListTasksParams

WithContext adds the context to the list tasks params.

Deprecated: use the operation call with context to pass the context instead of ListTasksParams.

func (*ListTasksParams) WithDefaults

func (o *ListTasksParams) WithDefaults() *ListTasksParams

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

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

func (*ListTasksParams) WithExecutionID

func (o *ListTasksParams) WithExecutionID(executionID int64) *ListTasksParams

WithExecutionID adds the executionID to the list tasks params.

func (*ListTasksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tasks params.

func (*ListTasksParams) WithPage

func (o *ListTasksParams) WithPage(page *int64) *ListTasksParams

WithPage adds the page to the list tasks params.

func (*ListTasksParams) WithPageSize

func (o *ListTasksParams) WithPageSize(pageSize *int64) *ListTasksParams

WithPageSize adds the pageSize to the list tasks params.

func (*ListTasksParams) WithPreheatPolicyName

func (o *ListTasksParams) WithPreheatPolicyName(preheatPolicyName string) *ListTasksParams

WithPreheatPolicyName adds the preheatPolicyName to the list tasks params.

func (*ListTasksParams) WithProjectName

func (o *ListTasksParams) WithProjectName(projectName string) *ListTasksParams

WithProjectName adds the projectName to the list tasks params.

func (*ListTasksParams) WithQ

func (o *ListTasksParams) WithQ(q *string) *ListTasksParams

WithQ adds the q to the list tasks params.

func (*ListTasksParams) WithSort

func (o *ListTasksParams) WithSort(sort *string) *ListTasksParams

WithSort adds the sort to the list tasks params.

func (*ListTasksParams) WithTimeout

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

WithTimeout adds the timeout to the list tasks params.

func (*ListTasksParams) WithXRequestID

func (o *ListTasksParams) WithXRequestID(xRequestID *string) *ListTasksParams

WithXRequestID adds the xRequestID to the list tasks params.

func (*ListTasksParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type ListTasksReader

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

ListTasksReader is a Reader for the ListTasks structure.

func (*ListTasksReader) ReadResponse

func (o *ListTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListTasksUnauthorized

type ListTasksUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListTasksUnauthorized

func NewListTasksUnauthorized() *ListTasksUnauthorized

NewListTasksUnauthorized creates a ListTasksUnauthorized with default headers values

func (*ListTasksUnauthorized) Code

func (o *ListTasksUnauthorized) Code() int

Code gets the status code for the list tasks unauthorized response

func (*ListTasksUnauthorized) Error

func (o *ListTasksUnauthorized) Error() string

func (*ListTasksUnauthorized) GetPayload

func (o *ListTasksUnauthorized) GetPayload() *models.Errors

func (*ListTasksUnauthorized) IsClientError

func (o *ListTasksUnauthorized) IsClientError() bool

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

func (*ListTasksUnauthorized) IsCode

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

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

func (*ListTasksUnauthorized) IsRedirect

func (o *ListTasksUnauthorized) IsRedirect() bool

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

func (*ListTasksUnauthorized) IsServerError

func (o *ListTasksUnauthorized) IsServerError() bool

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

func (*ListTasksUnauthorized) IsSuccess

func (o *ListTasksUnauthorized) IsSuccess() bool

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

func (*ListTasksUnauthorized) String

func (o *ListTasksUnauthorized) String() string

type ManualPreheatBadRequest

type ManualPreheatBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewManualPreheatBadRequest

func NewManualPreheatBadRequest() *ManualPreheatBadRequest

NewManualPreheatBadRequest creates a ManualPreheatBadRequest with default headers values

func (*ManualPreheatBadRequest) Code

func (o *ManualPreheatBadRequest) Code() int

Code gets the status code for the manual preheat bad request response

func (*ManualPreheatBadRequest) Error

func (o *ManualPreheatBadRequest) Error() string

func (*ManualPreheatBadRequest) GetPayload

func (o *ManualPreheatBadRequest) GetPayload() *models.Errors

func (*ManualPreheatBadRequest) IsClientError

func (o *ManualPreheatBadRequest) IsClientError() bool

IsClientError returns true when this manual preheat bad request response has a 4xx status code

func (*ManualPreheatBadRequest) IsCode

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

IsCode returns true when this manual preheat bad request response a status code equal to that given

func (*ManualPreheatBadRequest) IsRedirect

func (o *ManualPreheatBadRequest) IsRedirect() bool

IsRedirect returns true when this manual preheat bad request response has a 3xx status code

func (*ManualPreheatBadRequest) IsServerError

func (o *ManualPreheatBadRequest) IsServerError() bool

IsServerError returns true when this manual preheat bad request response has a 5xx status code

func (*ManualPreheatBadRequest) IsSuccess

func (o *ManualPreheatBadRequest) IsSuccess() bool

IsSuccess returns true when this manual preheat bad request response has a 2xx status code

func (*ManualPreheatBadRequest) String

func (o *ManualPreheatBadRequest) String() string

type ManualPreheatCreated

type ManualPreheatCreated struct {

	// The location of the resource
	Location string

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Created

func NewManualPreheatCreated

func NewManualPreheatCreated() *ManualPreheatCreated

NewManualPreheatCreated creates a ManualPreheatCreated with default headers values

func (*ManualPreheatCreated) Code

func (o *ManualPreheatCreated) Code() int

Code gets the status code for the manual preheat created response

func (*ManualPreheatCreated) Error

func (o *ManualPreheatCreated) Error() string

func (*ManualPreheatCreated) IsClientError

func (o *ManualPreheatCreated) IsClientError() bool

IsClientError returns true when this manual preheat created response has a 4xx status code

func (*ManualPreheatCreated) IsCode

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

IsCode returns true when this manual preheat created response a status code equal to that given

func (*ManualPreheatCreated) IsRedirect

func (o *ManualPreheatCreated) IsRedirect() bool

IsRedirect returns true when this manual preheat created response has a 3xx status code

func (*ManualPreheatCreated) IsServerError

func (o *ManualPreheatCreated) IsServerError() bool

IsServerError returns true when this manual preheat created response has a 5xx status code

func (*ManualPreheatCreated) IsSuccess

func (o *ManualPreheatCreated) IsSuccess() bool

IsSuccess returns true when this manual preheat created response has a 2xx status code

func (*ManualPreheatCreated) String

func (o *ManualPreheatCreated) String() string

type ManualPreheatForbidden

type ManualPreheatForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewManualPreheatForbidden

func NewManualPreheatForbidden() *ManualPreheatForbidden

NewManualPreheatForbidden creates a ManualPreheatForbidden with default headers values

func (*ManualPreheatForbidden) Code

func (o *ManualPreheatForbidden) Code() int

Code gets the status code for the manual preheat forbidden response

func (*ManualPreheatForbidden) Error

func (o *ManualPreheatForbidden) Error() string

func (*ManualPreheatForbidden) GetPayload

func (o *ManualPreheatForbidden) GetPayload() *models.Errors

func (*ManualPreheatForbidden) IsClientError

func (o *ManualPreheatForbidden) IsClientError() bool

IsClientError returns true when this manual preheat forbidden response has a 4xx status code

func (*ManualPreheatForbidden) IsCode

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

IsCode returns true when this manual preheat forbidden response a status code equal to that given

func (*ManualPreheatForbidden) IsRedirect

func (o *ManualPreheatForbidden) IsRedirect() bool

IsRedirect returns true when this manual preheat forbidden response has a 3xx status code

func (*ManualPreheatForbidden) IsServerError

func (o *ManualPreheatForbidden) IsServerError() bool

IsServerError returns true when this manual preheat forbidden response has a 5xx status code

func (*ManualPreheatForbidden) IsSuccess

func (o *ManualPreheatForbidden) IsSuccess() bool

IsSuccess returns true when this manual preheat forbidden response has a 2xx status code

func (*ManualPreheatForbidden) String

func (o *ManualPreheatForbidden) String() string

type ManualPreheatInternalServerError

type ManualPreheatInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

ManualPreheatInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewManualPreheatInternalServerError

func NewManualPreheatInternalServerError() *ManualPreheatInternalServerError

NewManualPreheatInternalServerError creates a ManualPreheatInternalServerError with default headers values

func (*ManualPreheatInternalServerError) Code

Code gets the status code for the manual preheat internal server error response

func (*ManualPreheatInternalServerError) Error

func (*ManualPreheatInternalServerError) GetPayload

func (*ManualPreheatInternalServerError) IsClientError

func (o *ManualPreheatInternalServerError) IsClientError() bool

IsClientError returns true when this manual preheat internal server error response has a 4xx status code

func (*ManualPreheatInternalServerError) IsCode

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

IsCode returns true when this manual preheat internal server error response a status code equal to that given

func (*ManualPreheatInternalServerError) IsRedirect

func (o *ManualPreheatInternalServerError) IsRedirect() bool

IsRedirect returns true when this manual preheat internal server error response has a 3xx status code

func (*ManualPreheatInternalServerError) IsServerError

func (o *ManualPreheatInternalServerError) IsServerError() bool

IsServerError returns true when this manual preheat internal server error response has a 5xx status code

func (*ManualPreheatInternalServerError) IsSuccess

func (o *ManualPreheatInternalServerError) IsSuccess() bool

IsSuccess returns true when this manual preheat internal server error response has a 2xx status code

func (*ManualPreheatInternalServerError) String

type ManualPreheatNotFound

type ManualPreheatNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewManualPreheatNotFound

func NewManualPreheatNotFound() *ManualPreheatNotFound

NewManualPreheatNotFound creates a ManualPreheatNotFound with default headers values

func (*ManualPreheatNotFound) Code

func (o *ManualPreheatNotFound) Code() int

Code gets the status code for the manual preheat not found response

func (*ManualPreheatNotFound) Error

func (o *ManualPreheatNotFound) Error() string

func (*ManualPreheatNotFound) GetPayload

func (o *ManualPreheatNotFound) GetPayload() *models.Errors

func (*ManualPreheatNotFound) IsClientError

func (o *ManualPreheatNotFound) IsClientError() bool

IsClientError returns true when this manual preheat not found response has a 4xx status code

func (*ManualPreheatNotFound) IsCode

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

IsCode returns true when this manual preheat not found response a status code equal to that given

func (*ManualPreheatNotFound) IsRedirect

func (o *ManualPreheatNotFound) IsRedirect() bool

IsRedirect returns true when this manual preheat not found response has a 3xx status code

func (*ManualPreheatNotFound) IsServerError

func (o *ManualPreheatNotFound) IsServerError() bool

IsServerError returns true when this manual preheat not found response has a 5xx status code

func (*ManualPreheatNotFound) IsSuccess

func (o *ManualPreheatNotFound) IsSuccess() bool

IsSuccess returns true when this manual preheat not found response has a 2xx status code

func (*ManualPreheatNotFound) String

func (o *ManualPreheatNotFound) String() string

type ManualPreheatParams

type ManualPreheatParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Policy.
	//
	// The policy schema info
	Policy *models.PreheatPolicy

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

ManualPreheatParams contains all the parameters to send to the API endpoint

for the manual preheat operation.

Typically these are written to a http.Request.

func NewManualPreheatParams

func NewManualPreheatParams() *ManualPreheatParams

NewManualPreheatParams creates a new ManualPreheatParams 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 NewManualPreheatParamsWithContext deprecated

func NewManualPreheatParamsWithContext(ctx context.Context) *ManualPreheatParams

NewManualPreheatParamsWithContext creates a new ManualPreheatParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ManualPreheatParams.

func NewManualPreheatParamsWithHTTPClient

func NewManualPreheatParamsWithHTTPClient(client *http.Client) *ManualPreheatParams

NewManualPreheatParamsWithHTTPClient creates a new ManualPreheatParams object with the ability to set a custom HTTPClient for a request.

func NewManualPreheatParamsWithTimeout

func NewManualPreheatParamsWithTimeout(timeout time.Duration) *ManualPreheatParams

NewManualPreheatParamsWithTimeout creates a new ManualPreheatParams object with the ability to set a timeout on a request.

func (*ManualPreheatParams) SetContext deprecated

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

SetContext adds the context to the manual preheat params.

Deprecated: use the operation call with context to pass the context instead of ManualPreheatParams.

func (*ManualPreheatParams) SetDefaults

func (o *ManualPreheatParams) SetDefaults()

SetDefaults hydrates default values in the manual preheat params (not the query body).

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

func (*ManualPreheatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manual preheat params.

func (*ManualPreheatParams) SetPolicy

func (o *ManualPreheatParams) SetPolicy(policy *models.PreheatPolicy)

SetPolicy adds the policy to the manual preheat params.

func (*ManualPreheatParams) SetPreheatPolicyName

func (o *ManualPreheatParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the manual preheat params.

func (*ManualPreheatParams) SetProjectName

func (o *ManualPreheatParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the manual preheat params.

func (*ManualPreheatParams) SetTimeout

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

SetTimeout adds the timeout to the manual preheat params.

func (*ManualPreheatParams) SetXRequestID

func (o *ManualPreheatParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the manual preheat params.

func (*ManualPreheatParams) WithContext deprecated

WithContext adds the context to the manual preheat params.

Deprecated: use the operation call with context to pass the context instead of ManualPreheatParams.

func (*ManualPreheatParams) WithDefaults

func (o *ManualPreheatParams) WithDefaults() *ManualPreheatParams

WithDefaults hydrates default values in the manual preheat params (not the query body).

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

func (*ManualPreheatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the manual preheat params.

func (*ManualPreheatParams) WithPolicy

WithPolicy adds the policy to the manual preheat params.

func (*ManualPreheatParams) WithPreheatPolicyName

func (o *ManualPreheatParams) WithPreheatPolicyName(preheatPolicyName string) *ManualPreheatParams

WithPreheatPolicyName adds the preheatPolicyName to the manual preheat params.

func (*ManualPreheatParams) WithProjectName

func (o *ManualPreheatParams) WithProjectName(projectName string) *ManualPreheatParams

WithProjectName adds the projectName to the manual preheat params.

func (*ManualPreheatParams) WithTimeout

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

WithTimeout adds the timeout to the manual preheat params.

func (*ManualPreheatParams) WithXRequestID

func (o *ManualPreheatParams) WithXRequestID(xRequestID *string) *ManualPreheatParams

WithXRequestID adds the xRequestID to the manual preheat params.

func (*ManualPreheatParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type ManualPreheatReader

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

ManualPreheatReader is a Reader for the ManualPreheat structure.

func (*ManualPreheatReader) ReadResponse

func (o *ManualPreheatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ManualPreheatUnauthorized

type ManualPreheatUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewManualPreheatUnauthorized

func NewManualPreheatUnauthorized() *ManualPreheatUnauthorized

NewManualPreheatUnauthorized creates a ManualPreheatUnauthorized with default headers values

func (*ManualPreheatUnauthorized) Code

func (o *ManualPreheatUnauthorized) Code() int

Code gets the status code for the manual preheat unauthorized response

func (*ManualPreheatUnauthorized) Error

func (o *ManualPreheatUnauthorized) Error() string

func (*ManualPreheatUnauthorized) GetPayload

func (o *ManualPreheatUnauthorized) GetPayload() *models.Errors

func (*ManualPreheatUnauthorized) IsClientError

func (o *ManualPreheatUnauthorized) IsClientError() bool

IsClientError returns true when this manual preheat unauthorized response has a 4xx status code

func (*ManualPreheatUnauthorized) IsCode

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

IsCode returns true when this manual preheat unauthorized response a status code equal to that given

func (*ManualPreheatUnauthorized) IsRedirect

func (o *ManualPreheatUnauthorized) IsRedirect() bool

IsRedirect returns true when this manual preheat unauthorized response has a 3xx status code

func (*ManualPreheatUnauthorized) IsServerError

func (o *ManualPreheatUnauthorized) IsServerError() bool

IsServerError returns true when this manual preheat unauthorized response has a 5xx status code

func (*ManualPreheatUnauthorized) IsSuccess

func (o *ManualPreheatUnauthorized) IsSuccess() bool

IsSuccess returns true when this manual preheat unauthorized response has a 2xx status code

func (*ManualPreheatUnauthorized) String

func (o *ManualPreheatUnauthorized) String() string

type PingInstancesBadRequest

type PingInstancesBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewPingInstancesBadRequest

func NewPingInstancesBadRequest() *PingInstancesBadRequest

NewPingInstancesBadRequest creates a PingInstancesBadRequest with default headers values

func (*PingInstancesBadRequest) Code

func (o *PingInstancesBadRequest) Code() int

Code gets the status code for the ping instances bad request response

func (*PingInstancesBadRequest) Error

func (o *PingInstancesBadRequest) Error() string

func (*PingInstancesBadRequest) GetPayload

func (o *PingInstancesBadRequest) GetPayload() *models.Errors

func (*PingInstancesBadRequest) IsClientError

func (o *PingInstancesBadRequest) IsClientError() bool

IsClientError returns true when this ping instances bad request response has a 4xx status code

func (*PingInstancesBadRequest) IsCode

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

IsCode returns true when this ping instances bad request response a status code equal to that given

func (*PingInstancesBadRequest) IsRedirect

func (o *PingInstancesBadRequest) IsRedirect() bool

IsRedirect returns true when this ping instances bad request response has a 3xx status code

func (*PingInstancesBadRequest) IsServerError

func (o *PingInstancesBadRequest) IsServerError() bool

IsServerError returns true when this ping instances bad request response has a 5xx status code

func (*PingInstancesBadRequest) IsSuccess

func (o *PingInstancesBadRequest) IsSuccess() bool

IsSuccess returns true when this ping instances bad request response has a 2xx status code

func (*PingInstancesBadRequest) String

func (o *PingInstancesBadRequest) String() string

type PingInstancesInternalServerError

type PingInstancesInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

PingInstancesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPingInstancesInternalServerError

func NewPingInstancesInternalServerError() *PingInstancesInternalServerError

NewPingInstancesInternalServerError creates a PingInstancesInternalServerError with default headers values

func (*PingInstancesInternalServerError) Code

Code gets the status code for the ping instances internal server error response

func (*PingInstancesInternalServerError) Error

func (*PingInstancesInternalServerError) GetPayload

func (*PingInstancesInternalServerError) IsClientError

func (o *PingInstancesInternalServerError) IsClientError() bool

IsClientError returns true when this ping instances internal server error response has a 4xx status code

func (*PingInstancesInternalServerError) IsCode

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

IsCode returns true when this ping instances internal server error response a status code equal to that given

func (*PingInstancesInternalServerError) IsRedirect

func (o *PingInstancesInternalServerError) IsRedirect() bool

IsRedirect returns true when this ping instances internal server error response has a 3xx status code

func (*PingInstancesInternalServerError) IsServerError

func (o *PingInstancesInternalServerError) IsServerError() bool

IsServerError returns true when this ping instances internal server error response has a 5xx status code

func (*PingInstancesInternalServerError) IsSuccess

func (o *PingInstancesInternalServerError) IsSuccess() bool

IsSuccess returns true when this ping instances internal server error response has a 2xx status code

func (*PingInstancesInternalServerError) String

type PingInstancesNotFound

type PingInstancesNotFound struct {
}

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

Instance not found (when instance is provided by ID).

func NewPingInstancesNotFound

func NewPingInstancesNotFound() *PingInstancesNotFound

NewPingInstancesNotFound creates a PingInstancesNotFound with default headers values

func (*PingInstancesNotFound) Code

func (o *PingInstancesNotFound) Code() int

Code gets the status code for the ping instances not found response

func (*PingInstancesNotFound) Error

func (o *PingInstancesNotFound) Error() string

func (*PingInstancesNotFound) IsClientError

func (o *PingInstancesNotFound) IsClientError() bool

IsClientError returns true when this ping instances not found response has a 4xx status code

func (*PingInstancesNotFound) IsCode

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

IsCode returns true when this ping instances not found response a status code equal to that given

func (*PingInstancesNotFound) IsRedirect

func (o *PingInstancesNotFound) IsRedirect() bool

IsRedirect returns true when this ping instances not found response has a 3xx status code

func (*PingInstancesNotFound) IsServerError

func (o *PingInstancesNotFound) IsServerError() bool

IsServerError returns true when this ping instances not found response has a 5xx status code

func (*PingInstancesNotFound) IsSuccess

func (o *PingInstancesNotFound) IsSuccess() bool

IsSuccess returns true when this ping instances not found response has a 2xx status code

func (*PingInstancesNotFound) String

func (o *PingInstancesNotFound) String() string

type PingInstancesOK

type PingInstancesOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewPingInstancesOK

func NewPingInstancesOK() *PingInstancesOK

NewPingInstancesOK creates a PingInstancesOK with default headers values

func (*PingInstancesOK) Code

func (o *PingInstancesOK) Code() int

Code gets the status code for the ping instances o k response

func (*PingInstancesOK) Error

func (o *PingInstancesOK) Error() string

func (*PingInstancesOK) IsClientError

func (o *PingInstancesOK) IsClientError() bool

IsClientError returns true when this ping instances o k response has a 4xx status code

func (*PingInstancesOK) IsCode

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

IsCode returns true when this ping instances o k response a status code equal to that given

func (*PingInstancesOK) IsRedirect

func (o *PingInstancesOK) IsRedirect() bool

IsRedirect returns true when this ping instances o k response has a 3xx status code

func (*PingInstancesOK) IsServerError

func (o *PingInstancesOK) IsServerError() bool

IsServerError returns true when this ping instances o k response has a 5xx status code

func (*PingInstancesOK) IsSuccess

func (o *PingInstancesOK) IsSuccess() bool

IsSuccess returns true when this ping instances o k response has a 2xx status code

func (*PingInstancesOK) String

func (o *PingInstancesOK) String() string

type PingInstancesParams

type PingInstancesParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Instance.
	//
	// The JSON object of instance.
	Instance *models.Instance

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

PingInstancesParams contains all the parameters to send to the API endpoint

for the ping instances operation.

Typically these are written to a http.Request.

func NewPingInstancesParams

func NewPingInstancesParams() *PingInstancesParams

NewPingInstancesParams creates a new PingInstancesParams 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 NewPingInstancesParamsWithContext deprecated

func NewPingInstancesParamsWithContext(ctx context.Context) *PingInstancesParams

NewPingInstancesParamsWithContext creates a new PingInstancesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PingInstancesParams.

func NewPingInstancesParamsWithHTTPClient

func NewPingInstancesParamsWithHTTPClient(client *http.Client) *PingInstancesParams

NewPingInstancesParamsWithHTTPClient creates a new PingInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewPingInstancesParamsWithTimeout

func NewPingInstancesParamsWithTimeout(timeout time.Duration) *PingInstancesParams

NewPingInstancesParamsWithTimeout creates a new PingInstancesParams object with the ability to set a timeout on a request.

func (*PingInstancesParams) SetContext deprecated

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

SetContext adds the context to the ping instances params.

Deprecated: use the operation call with context to pass the context instead of PingInstancesParams.

func (*PingInstancesParams) SetDefaults

func (o *PingInstancesParams) SetDefaults()

SetDefaults hydrates default values in the ping instances params (not the query body).

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

func (*PingInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ping instances params.

func (*PingInstancesParams) SetInstance

func (o *PingInstancesParams) SetInstance(instance *models.Instance)

SetInstance adds the instance to the ping instances params.

func (*PingInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the ping instances params.

func (*PingInstancesParams) SetXRequestID

func (o *PingInstancesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the ping instances params.

func (*PingInstancesParams) WithContext deprecated

WithContext adds the context to the ping instances params.

Deprecated: use the operation call with context to pass the context instead of PingInstancesParams.

func (*PingInstancesParams) WithDefaults

func (o *PingInstancesParams) WithDefaults() *PingInstancesParams

WithDefaults hydrates default values in the ping instances params (not the query body).

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

func (*PingInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ping instances params.

func (*PingInstancesParams) WithInstance

func (o *PingInstancesParams) WithInstance(instance *models.Instance) *PingInstancesParams

WithInstance adds the instance to the ping instances params.

func (*PingInstancesParams) WithTimeout

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

WithTimeout adds the timeout to the ping instances params.

func (*PingInstancesParams) WithXRequestID

func (o *PingInstancesParams) WithXRequestID(xRequestID *string) *PingInstancesParams

WithXRequestID adds the xRequestID to the ping instances params.

func (*PingInstancesParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type PingInstancesReader

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

PingInstancesReader is a Reader for the PingInstances structure.

func (*PingInstancesReader) ReadResponse

func (o *PingInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PingInstancesUnauthorized

type PingInstancesUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewPingInstancesUnauthorized

func NewPingInstancesUnauthorized() *PingInstancesUnauthorized

NewPingInstancesUnauthorized creates a PingInstancesUnauthorized with default headers values

func (*PingInstancesUnauthorized) Code

func (o *PingInstancesUnauthorized) Code() int

Code gets the status code for the ping instances unauthorized response

func (*PingInstancesUnauthorized) Error

func (o *PingInstancesUnauthorized) Error() string

func (*PingInstancesUnauthorized) GetPayload

func (o *PingInstancesUnauthorized) GetPayload() *models.Errors

func (*PingInstancesUnauthorized) IsClientError

func (o *PingInstancesUnauthorized) IsClientError() bool

IsClientError returns true when this ping instances unauthorized response has a 4xx status code

func (*PingInstancesUnauthorized) IsCode

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

IsCode returns true when this ping instances unauthorized response a status code equal to that given

func (*PingInstancesUnauthorized) IsRedirect

func (o *PingInstancesUnauthorized) IsRedirect() bool

IsRedirect returns true when this ping instances unauthorized response has a 3xx status code

func (*PingInstancesUnauthorized) IsServerError

func (o *PingInstancesUnauthorized) IsServerError() bool

IsServerError returns true when this ping instances unauthorized response has a 5xx status code

func (*PingInstancesUnauthorized) IsSuccess

func (o *PingInstancesUnauthorized) IsSuccess() bool

IsSuccess returns true when this ping instances unauthorized response has a 2xx status code

func (*PingInstancesUnauthorized) String

func (o *PingInstancesUnauthorized) String() string

type StopExecutionBadRequest

type StopExecutionBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewStopExecutionBadRequest

func NewStopExecutionBadRequest() *StopExecutionBadRequest

NewStopExecutionBadRequest creates a StopExecutionBadRequest with default headers values

func (*StopExecutionBadRequest) Code

func (o *StopExecutionBadRequest) Code() int

Code gets the status code for the stop execution bad request response

func (*StopExecutionBadRequest) Error

func (o *StopExecutionBadRequest) Error() string

func (*StopExecutionBadRequest) GetPayload

func (o *StopExecutionBadRequest) GetPayload() *models.Errors

func (*StopExecutionBadRequest) IsClientError

func (o *StopExecutionBadRequest) IsClientError() bool

IsClientError returns true when this stop execution bad request response has a 4xx status code

func (*StopExecutionBadRequest) IsCode

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

IsCode returns true when this stop execution bad request response a status code equal to that given

func (*StopExecutionBadRequest) IsRedirect

func (o *StopExecutionBadRequest) IsRedirect() bool

IsRedirect returns true when this stop execution bad request response has a 3xx status code

func (*StopExecutionBadRequest) IsServerError

func (o *StopExecutionBadRequest) IsServerError() bool

IsServerError returns true when this stop execution bad request response has a 5xx status code

func (*StopExecutionBadRequest) IsSuccess

func (o *StopExecutionBadRequest) IsSuccess() bool

IsSuccess returns true when this stop execution bad request response has a 2xx status code

func (*StopExecutionBadRequest) String

func (o *StopExecutionBadRequest) String() string

type StopExecutionForbidden

type StopExecutionForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewStopExecutionForbidden

func NewStopExecutionForbidden() *StopExecutionForbidden

NewStopExecutionForbidden creates a StopExecutionForbidden with default headers values

func (*StopExecutionForbidden) Code

func (o *StopExecutionForbidden) Code() int

Code gets the status code for the stop execution forbidden response

func (*StopExecutionForbidden) Error

func (o *StopExecutionForbidden) Error() string

func (*StopExecutionForbidden) GetPayload

func (o *StopExecutionForbidden) GetPayload() *models.Errors

func (*StopExecutionForbidden) IsClientError

func (o *StopExecutionForbidden) IsClientError() bool

IsClientError returns true when this stop execution forbidden response has a 4xx status code

func (*StopExecutionForbidden) IsCode

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

IsCode returns true when this stop execution forbidden response a status code equal to that given

func (*StopExecutionForbidden) IsRedirect

func (o *StopExecutionForbidden) IsRedirect() bool

IsRedirect returns true when this stop execution forbidden response has a 3xx status code

func (*StopExecutionForbidden) IsServerError

func (o *StopExecutionForbidden) IsServerError() bool

IsServerError returns true when this stop execution forbidden response has a 5xx status code

func (*StopExecutionForbidden) IsSuccess

func (o *StopExecutionForbidden) IsSuccess() bool

IsSuccess returns true when this stop execution forbidden response has a 2xx status code

func (*StopExecutionForbidden) String

func (o *StopExecutionForbidden) String() string

type StopExecutionInternalServerError

type StopExecutionInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

StopExecutionInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewStopExecutionInternalServerError

func NewStopExecutionInternalServerError() *StopExecutionInternalServerError

NewStopExecutionInternalServerError creates a StopExecutionInternalServerError with default headers values

func (*StopExecutionInternalServerError) Code

Code gets the status code for the stop execution internal server error response

func (*StopExecutionInternalServerError) Error

func (*StopExecutionInternalServerError) GetPayload

func (*StopExecutionInternalServerError) IsClientError

func (o *StopExecutionInternalServerError) IsClientError() bool

IsClientError returns true when this stop execution internal server error response has a 4xx status code

func (*StopExecutionInternalServerError) IsCode

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

IsCode returns true when this stop execution internal server error response a status code equal to that given

func (*StopExecutionInternalServerError) IsRedirect

func (o *StopExecutionInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop execution internal server error response has a 3xx status code

func (*StopExecutionInternalServerError) IsServerError

func (o *StopExecutionInternalServerError) IsServerError() bool

IsServerError returns true when this stop execution internal server error response has a 5xx status code

func (*StopExecutionInternalServerError) IsSuccess

func (o *StopExecutionInternalServerError) IsSuccess() bool

IsSuccess returns true when this stop execution internal server error response has a 2xx status code

func (*StopExecutionInternalServerError) String

type StopExecutionNotFound

type StopExecutionNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewStopExecutionNotFound

func NewStopExecutionNotFound() *StopExecutionNotFound

NewStopExecutionNotFound creates a StopExecutionNotFound with default headers values

func (*StopExecutionNotFound) Code

func (o *StopExecutionNotFound) Code() int

Code gets the status code for the stop execution not found response

func (*StopExecutionNotFound) Error

func (o *StopExecutionNotFound) Error() string

func (*StopExecutionNotFound) GetPayload

func (o *StopExecutionNotFound) GetPayload() *models.Errors

func (*StopExecutionNotFound) IsClientError

func (o *StopExecutionNotFound) IsClientError() bool

IsClientError returns true when this stop execution not found response has a 4xx status code

func (*StopExecutionNotFound) IsCode

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

IsCode returns true when this stop execution not found response a status code equal to that given

func (*StopExecutionNotFound) IsRedirect

func (o *StopExecutionNotFound) IsRedirect() bool

IsRedirect returns true when this stop execution not found response has a 3xx status code

func (*StopExecutionNotFound) IsServerError

func (o *StopExecutionNotFound) IsServerError() bool

IsServerError returns true when this stop execution not found response has a 5xx status code

func (*StopExecutionNotFound) IsSuccess

func (o *StopExecutionNotFound) IsSuccess() bool

IsSuccess returns true when this stop execution not found response has a 2xx status code

func (*StopExecutionNotFound) String

func (o *StopExecutionNotFound) String() string

type StopExecutionOK

type StopExecutionOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewStopExecutionOK

func NewStopExecutionOK() *StopExecutionOK

NewStopExecutionOK creates a StopExecutionOK with default headers values

func (*StopExecutionOK) Code

func (o *StopExecutionOK) Code() int

Code gets the status code for the stop execution o k response

func (*StopExecutionOK) Error

func (o *StopExecutionOK) Error() string

func (*StopExecutionOK) IsClientError

func (o *StopExecutionOK) IsClientError() bool

IsClientError returns true when this stop execution o k response has a 4xx status code

func (*StopExecutionOK) IsCode

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

IsCode returns true when this stop execution o k response a status code equal to that given

func (*StopExecutionOK) IsRedirect

func (o *StopExecutionOK) IsRedirect() bool

IsRedirect returns true when this stop execution o k response has a 3xx status code

func (*StopExecutionOK) IsServerError

func (o *StopExecutionOK) IsServerError() bool

IsServerError returns true when this stop execution o k response has a 5xx status code

func (*StopExecutionOK) IsSuccess

func (o *StopExecutionOK) IsSuccess() bool

IsSuccess returns true when this stop execution o k response has a 2xx status code

func (*StopExecutionOK) String

func (o *StopExecutionOK) String() string

type StopExecutionParams

type StopExecutionParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Execution.
	//
	// The data of execution
	Execution *models.Execution

	// ExecutionID.
	//
	// Execution ID
	ExecutionID int64

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

StopExecutionParams contains all the parameters to send to the API endpoint

for the stop execution operation.

Typically these are written to a http.Request.

func NewStopExecutionParams

func NewStopExecutionParams() *StopExecutionParams

NewStopExecutionParams creates a new StopExecutionParams 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 NewStopExecutionParamsWithContext deprecated

func NewStopExecutionParamsWithContext(ctx context.Context) *StopExecutionParams

NewStopExecutionParamsWithContext creates a new StopExecutionParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of StopExecutionParams.

func NewStopExecutionParamsWithHTTPClient

func NewStopExecutionParamsWithHTTPClient(client *http.Client) *StopExecutionParams

NewStopExecutionParamsWithHTTPClient creates a new StopExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewStopExecutionParamsWithTimeout

func NewStopExecutionParamsWithTimeout(timeout time.Duration) *StopExecutionParams

NewStopExecutionParamsWithTimeout creates a new StopExecutionParams object with the ability to set a timeout on a request.

func (*StopExecutionParams) SetContext deprecated

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

SetContext adds the context to the stop execution params.

Deprecated: use the operation call with context to pass the context instead of StopExecutionParams.

func (*StopExecutionParams) SetDefaults

func (o *StopExecutionParams) SetDefaults()

SetDefaults hydrates default values in the stop execution params (not the query body).

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

func (*StopExecutionParams) SetExecution

func (o *StopExecutionParams) SetExecution(execution *models.Execution)

SetExecution adds the execution to the stop execution params.

func (*StopExecutionParams) SetExecutionID

func (o *StopExecutionParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the stop execution params.

func (*StopExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop execution params.

func (*StopExecutionParams) SetPreheatPolicyName

func (o *StopExecutionParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the stop execution params.

func (*StopExecutionParams) SetProjectName

func (o *StopExecutionParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the stop execution params.

func (*StopExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the stop execution params.

func (*StopExecutionParams) SetXRequestID

func (o *StopExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the stop execution params.

func (*StopExecutionParams) WithContext deprecated

WithContext adds the context to the stop execution params.

Deprecated: use the operation call with context to pass the context instead of StopExecutionParams.

func (*StopExecutionParams) WithDefaults

func (o *StopExecutionParams) WithDefaults() *StopExecutionParams

WithDefaults hydrates default values in the stop execution params (not the query body).

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

func (*StopExecutionParams) WithExecution

func (o *StopExecutionParams) WithExecution(execution *models.Execution) *StopExecutionParams

WithExecution adds the execution to the stop execution params.

func (*StopExecutionParams) WithExecutionID

func (o *StopExecutionParams) WithExecutionID(executionID int64) *StopExecutionParams

WithExecutionID adds the executionID to the stop execution params.

func (*StopExecutionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop execution params.

func (*StopExecutionParams) WithPreheatPolicyName

func (o *StopExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *StopExecutionParams

WithPreheatPolicyName adds the preheatPolicyName to the stop execution params.

func (*StopExecutionParams) WithProjectName

func (o *StopExecutionParams) WithProjectName(projectName string) *StopExecutionParams

WithProjectName adds the projectName to the stop execution params.

func (*StopExecutionParams) WithTimeout

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

WithTimeout adds the timeout to the stop execution params.

func (*StopExecutionParams) WithXRequestID

func (o *StopExecutionParams) WithXRequestID(xRequestID *string) *StopExecutionParams

WithXRequestID adds the xRequestID to the stop execution params.

func (*StopExecutionParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type StopExecutionReader

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

StopExecutionReader is a Reader for the StopExecution structure.

func (*StopExecutionReader) ReadResponse

func (o *StopExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type StopExecutionUnauthorized

type StopExecutionUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewStopExecutionUnauthorized

func NewStopExecutionUnauthorized() *StopExecutionUnauthorized

NewStopExecutionUnauthorized creates a StopExecutionUnauthorized with default headers values

func (*StopExecutionUnauthorized) Code

func (o *StopExecutionUnauthorized) Code() int

Code gets the status code for the stop execution unauthorized response

func (*StopExecutionUnauthorized) Error

func (o *StopExecutionUnauthorized) Error() string

func (*StopExecutionUnauthorized) GetPayload

func (o *StopExecutionUnauthorized) GetPayload() *models.Errors

func (*StopExecutionUnauthorized) IsClientError

func (o *StopExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this stop execution unauthorized response has a 4xx status code

func (*StopExecutionUnauthorized) IsCode

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

IsCode returns true when this stop execution unauthorized response a status code equal to that given

func (*StopExecutionUnauthorized) IsRedirect

func (o *StopExecutionUnauthorized) IsRedirect() bool

IsRedirect returns true when this stop execution unauthorized response has a 3xx status code

func (*StopExecutionUnauthorized) IsServerError

func (o *StopExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this stop execution unauthorized response has a 5xx status code

func (*StopExecutionUnauthorized) IsSuccess

func (o *StopExecutionUnauthorized) IsSuccess() bool

IsSuccess returns true when this stop execution unauthorized response has a 2xx status code

func (*StopExecutionUnauthorized) String

func (o *StopExecutionUnauthorized) String() string

type UpdateInstanceBadRequest

type UpdateInstanceBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewUpdateInstanceBadRequest

func NewUpdateInstanceBadRequest() *UpdateInstanceBadRequest

NewUpdateInstanceBadRequest creates a UpdateInstanceBadRequest with default headers values

func (*UpdateInstanceBadRequest) Code

func (o *UpdateInstanceBadRequest) Code() int

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

func (*UpdateInstanceBadRequest) Error

func (o *UpdateInstanceBadRequest) Error() string

func (*UpdateInstanceBadRequest) GetPayload

func (o *UpdateInstanceBadRequest) GetPayload() *models.Errors

func (*UpdateInstanceBadRequest) IsClientError

func (o *UpdateInstanceBadRequest) IsClientError() bool

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

func (*UpdateInstanceBadRequest) IsCode

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

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

func (*UpdateInstanceBadRequest) IsRedirect

func (o *UpdateInstanceBadRequest) IsRedirect() bool

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

func (*UpdateInstanceBadRequest) IsServerError

func (o *UpdateInstanceBadRequest) IsServerError() bool

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

func (*UpdateInstanceBadRequest) IsSuccess

func (o *UpdateInstanceBadRequest) IsSuccess() bool

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

func (*UpdateInstanceBadRequest) String

func (o *UpdateInstanceBadRequest) String() string

type UpdateInstanceForbidden

type UpdateInstanceForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewUpdateInstanceForbidden

func NewUpdateInstanceForbidden() *UpdateInstanceForbidden

NewUpdateInstanceForbidden creates a UpdateInstanceForbidden with default headers values

func (*UpdateInstanceForbidden) Code

func (o *UpdateInstanceForbidden) Code() int

Code gets the status code for the update instance forbidden response

func (*UpdateInstanceForbidden) Error

func (o *UpdateInstanceForbidden) Error() string

func (*UpdateInstanceForbidden) GetPayload

func (o *UpdateInstanceForbidden) GetPayload() *models.Errors

func (*UpdateInstanceForbidden) IsClientError

func (o *UpdateInstanceForbidden) IsClientError() bool

IsClientError returns true when this update instance forbidden response has a 4xx status code

func (*UpdateInstanceForbidden) IsCode

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

IsCode returns true when this update instance forbidden response a status code equal to that given

func (*UpdateInstanceForbidden) IsRedirect

func (o *UpdateInstanceForbidden) IsRedirect() bool

IsRedirect returns true when this update instance forbidden response has a 3xx status code

func (*UpdateInstanceForbidden) IsServerError

func (o *UpdateInstanceForbidden) IsServerError() bool

IsServerError returns true when this update instance forbidden response has a 5xx status code

func (*UpdateInstanceForbidden) IsSuccess

func (o *UpdateInstanceForbidden) IsSuccess() bool

IsSuccess returns true when this update instance forbidden response has a 2xx status code

func (*UpdateInstanceForbidden) String

func (o *UpdateInstanceForbidden) String() string

type UpdateInstanceInternalServerError

type UpdateInstanceInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdateInstanceInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewUpdateInstanceInternalServerError

func NewUpdateInstanceInternalServerError() *UpdateInstanceInternalServerError

NewUpdateInstanceInternalServerError creates a UpdateInstanceInternalServerError with default headers values

func (*UpdateInstanceInternalServerError) Code

Code gets the status code for the update instance internal server error response

func (*UpdateInstanceInternalServerError) Error

func (*UpdateInstanceInternalServerError) GetPayload

func (*UpdateInstanceInternalServerError) IsClientError

func (o *UpdateInstanceInternalServerError) IsClientError() bool

IsClientError returns true when this update instance internal server error response has a 4xx status code

func (*UpdateInstanceInternalServerError) IsCode

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

IsCode returns true when this update instance internal server error response a status code equal to that given

func (*UpdateInstanceInternalServerError) IsRedirect

func (o *UpdateInstanceInternalServerError) IsRedirect() bool

IsRedirect returns true when this update instance internal server error response has a 3xx status code

func (*UpdateInstanceInternalServerError) IsServerError

func (o *UpdateInstanceInternalServerError) IsServerError() bool

IsServerError returns true when this update instance internal server error response has a 5xx status code

func (*UpdateInstanceInternalServerError) IsSuccess

func (o *UpdateInstanceInternalServerError) IsSuccess() bool

IsSuccess returns true when this update instance internal server error response has a 2xx status code

func (*UpdateInstanceInternalServerError) String

type UpdateInstanceNotFound

type UpdateInstanceNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewUpdateInstanceNotFound

func NewUpdateInstanceNotFound() *UpdateInstanceNotFound

NewUpdateInstanceNotFound creates a UpdateInstanceNotFound with default headers values

func (*UpdateInstanceNotFound) Code

func (o *UpdateInstanceNotFound) Code() int

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

func (*UpdateInstanceNotFound) Error

func (o *UpdateInstanceNotFound) Error() string

func (*UpdateInstanceNotFound) GetPayload

func (o *UpdateInstanceNotFound) GetPayload() *models.Errors

func (*UpdateInstanceNotFound) IsClientError

func (o *UpdateInstanceNotFound) IsClientError() bool

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

func (*UpdateInstanceNotFound) IsCode

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

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

func (*UpdateInstanceNotFound) IsRedirect

func (o *UpdateInstanceNotFound) IsRedirect() bool

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

func (*UpdateInstanceNotFound) IsServerError

func (o *UpdateInstanceNotFound) IsServerError() bool

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

func (*UpdateInstanceNotFound) IsSuccess

func (o *UpdateInstanceNotFound) IsSuccess() bool

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

func (*UpdateInstanceNotFound) String

func (o *UpdateInstanceNotFound) String() string

type UpdateInstanceOK

type UpdateInstanceOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewUpdateInstanceOK

func NewUpdateInstanceOK() *UpdateInstanceOK

NewUpdateInstanceOK creates a UpdateInstanceOK with default headers values

func (*UpdateInstanceOK) Code

func (o *UpdateInstanceOK) Code() int

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

func (*UpdateInstanceOK) Error

func (o *UpdateInstanceOK) Error() string

func (*UpdateInstanceOK) IsClientError

func (o *UpdateInstanceOK) IsClientError() bool

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

func (*UpdateInstanceOK) IsCode

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

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

func (*UpdateInstanceOK) IsRedirect

func (o *UpdateInstanceOK) IsRedirect() bool

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

func (*UpdateInstanceOK) IsServerError

func (o *UpdateInstanceOK) IsServerError() bool

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

func (*UpdateInstanceOK) IsSuccess

func (o *UpdateInstanceOK) IsSuccess() bool

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

func (*UpdateInstanceOK) String

func (o *UpdateInstanceOK) String() string

type UpdateInstanceParams

type UpdateInstanceParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Instance.
	//
	// The instance to update
	Instance *models.Instance

	// PreheatInstanceName.
	//
	// Instance Name
	PreheatInstanceName string

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

UpdateInstanceParams contains all the parameters to send to the API endpoint

for the update instance operation.

Typically these are written to a http.Request.

func NewUpdateInstanceParams

func NewUpdateInstanceParams() *UpdateInstanceParams

NewUpdateInstanceParams creates a new UpdateInstanceParams 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 NewUpdateInstanceParamsWithContext deprecated

func NewUpdateInstanceParamsWithContext(ctx context.Context) *UpdateInstanceParams

NewUpdateInstanceParamsWithContext creates a new UpdateInstanceParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdateInstanceParams.

func NewUpdateInstanceParamsWithHTTPClient

func NewUpdateInstanceParamsWithHTTPClient(client *http.Client) *UpdateInstanceParams

NewUpdateInstanceParamsWithHTTPClient creates a new UpdateInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateInstanceParamsWithTimeout

func NewUpdateInstanceParamsWithTimeout(timeout time.Duration) *UpdateInstanceParams

NewUpdateInstanceParamsWithTimeout creates a new UpdateInstanceParams object with the ability to set a timeout on a request.

func (*UpdateInstanceParams) SetContext deprecated

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

SetContext adds the context to the update instance params.

Deprecated: use the operation call with context to pass the context instead of UpdateInstanceParams.

func (*UpdateInstanceParams) SetDefaults

func (o *UpdateInstanceParams) SetDefaults()

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

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

func (*UpdateInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update instance params.

func (*UpdateInstanceParams) SetInstance

func (o *UpdateInstanceParams) SetInstance(instance *models.Instance)

SetInstance adds the instance to the update instance params.

func (*UpdateInstanceParams) SetPreheatInstanceName

func (o *UpdateInstanceParams) SetPreheatInstanceName(preheatInstanceName string)

SetPreheatInstanceName adds the preheatInstanceName to the update instance params.

func (*UpdateInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the update instance params.

func (*UpdateInstanceParams) SetXRequestID

func (o *UpdateInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update instance params.

func (*UpdateInstanceParams) WithContext deprecated

WithContext adds the context to the update instance params.

Deprecated: use the operation call with context to pass the context instead of UpdateInstanceParams.

func (*UpdateInstanceParams) WithDefaults

func (o *UpdateInstanceParams) WithDefaults() *UpdateInstanceParams

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

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

func (*UpdateInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update instance params.

func (*UpdateInstanceParams) WithInstance

func (o *UpdateInstanceParams) WithInstance(instance *models.Instance) *UpdateInstanceParams

WithInstance adds the instance to the update instance params.

func (*UpdateInstanceParams) WithPreheatInstanceName

func (o *UpdateInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *UpdateInstanceParams

WithPreheatInstanceName adds the preheatInstanceName to the update instance params.

func (*UpdateInstanceParams) WithTimeout

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

WithTimeout adds the timeout to the update instance params.

func (*UpdateInstanceParams) WithXRequestID

func (o *UpdateInstanceParams) WithXRequestID(xRequestID *string) *UpdateInstanceParams

WithXRequestID adds the xRequestID to the update instance params.

func (*UpdateInstanceParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdateInstanceReader

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

UpdateInstanceReader is a Reader for the UpdateInstance structure.

func (*UpdateInstanceReader) ReadResponse

func (o *UpdateInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateInstanceUnauthorized

type UpdateInstanceUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewUpdateInstanceUnauthorized

func NewUpdateInstanceUnauthorized() *UpdateInstanceUnauthorized

NewUpdateInstanceUnauthorized creates a UpdateInstanceUnauthorized with default headers values

func (*UpdateInstanceUnauthorized) Code

func (o *UpdateInstanceUnauthorized) Code() int

Code gets the status code for the update instance unauthorized response

func (*UpdateInstanceUnauthorized) Error

func (*UpdateInstanceUnauthorized) GetPayload

func (o *UpdateInstanceUnauthorized) GetPayload() *models.Errors

func (*UpdateInstanceUnauthorized) IsClientError

func (o *UpdateInstanceUnauthorized) IsClientError() bool

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

func (*UpdateInstanceUnauthorized) IsCode

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

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

func (*UpdateInstanceUnauthorized) IsRedirect

func (o *UpdateInstanceUnauthorized) IsRedirect() bool

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

func (*UpdateInstanceUnauthorized) IsServerError

func (o *UpdateInstanceUnauthorized) IsServerError() bool

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

func (*UpdateInstanceUnauthorized) IsSuccess

func (o *UpdateInstanceUnauthorized) IsSuccess() bool

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

func (*UpdateInstanceUnauthorized) String

func (o *UpdateInstanceUnauthorized) String() string

type UpdatePolicyBadRequest

type UpdatePolicyBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewUpdatePolicyBadRequest

func NewUpdatePolicyBadRequest() *UpdatePolicyBadRequest

NewUpdatePolicyBadRequest creates a UpdatePolicyBadRequest with default headers values

func (*UpdatePolicyBadRequest) Code

func (o *UpdatePolicyBadRequest) Code() int

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

func (*UpdatePolicyBadRequest) Error

func (o *UpdatePolicyBadRequest) Error() string

func (*UpdatePolicyBadRequest) GetPayload

func (o *UpdatePolicyBadRequest) GetPayload() *models.Errors

func (*UpdatePolicyBadRequest) IsClientError

func (o *UpdatePolicyBadRequest) IsClientError() bool

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

func (*UpdatePolicyBadRequest) IsCode

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

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

func (*UpdatePolicyBadRequest) IsRedirect

func (o *UpdatePolicyBadRequest) IsRedirect() bool

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

func (*UpdatePolicyBadRequest) IsServerError

func (o *UpdatePolicyBadRequest) IsServerError() bool

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

func (*UpdatePolicyBadRequest) IsSuccess

func (o *UpdatePolicyBadRequest) IsSuccess() bool

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

func (*UpdatePolicyBadRequest) String

func (o *UpdatePolicyBadRequest) String() string

type UpdatePolicyConflict

type UpdatePolicyConflict struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Conflict

func NewUpdatePolicyConflict

func NewUpdatePolicyConflict() *UpdatePolicyConflict

NewUpdatePolicyConflict creates a UpdatePolicyConflict with default headers values

func (*UpdatePolicyConflict) Code

func (o *UpdatePolicyConflict) Code() int

Code gets the status code for the update policy conflict response

func (*UpdatePolicyConflict) Error

func (o *UpdatePolicyConflict) Error() string

func (*UpdatePolicyConflict) GetPayload

func (o *UpdatePolicyConflict) GetPayload() *models.Errors

func (*UpdatePolicyConflict) IsClientError

func (o *UpdatePolicyConflict) IsClientError() bool

IsClientError returns true when this update policy conflict response has a 4xx status code

func (*UpdatePolicyConflict) IsCode

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

IsCode returns true when this update policy conflict response a status code equal to that given

func (*UpdatePolicyConflict) IsRedirect

func (o *UpdatePolicyConflict) IsRedirect() bool

IsRedirect returns true when this update policy conflict response has a 3xx status code

func (*UpdatePolicyConflict) IsServerError

func (o *UpdatePolicyConflict) IsServerError() bool

IsServerError returns true when this update policy conflict response has a 5xx status code

func (*UpdatePolicyConflict) IsSuccess

func (o *UpdatePolicyConflict) IsSuccess() bool

IsSuccess returns true when this update policy conflict response has a 2xx status code

func (*UpdatePolicyConflict) String

func (o *UpdatePolicyConflict) String() string

type UpdatePolicyForbidden

type UpdatePolicyForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Forbidden

func NewUpdatePolicyForbidden

func NewUpdatePolicyForbidden() *UpdatePolicyForbidden

NewUpdatePolicyForbidden creates a UpdatePolicyForbidden with default headers values

func (*UpdatePolicyForbidden) Code

func (o *UpdatePolicyForbidden) Code() int

Code gets the status code for the update policy forbidden response

func (*UpdatePolicyForbidden) Error

func (o *UpdatePolicyForbidden) Error() string

func (*UpdatePolicyForbidden) GetPayload

func (o *UpdatePolicyForbidden) GetPayload() *models.Errors

func (*UpdatePolicyForbidden) IsClientError

func (o *UpdatePolicyForbidden) IsClientError() bool

IsClientError returns true when this update policy forbidden response has a 4xx status code

func (*UpdatePolicyForbidden) IsCode

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

IsCode returns true when this update policy forbidden response a status code equal to that given

func (*UpdatePolicyForbidden) IsRedirect

func (o *UpdatePolicyForbidden) IsRedirect() bool

IsRedirect returns true when this update policy forbidden response has a 3xx status code

func (*UpdatePolicyForbidden) IsServerError

func (o *UpdatePolicyForbidden) IsServerError() bool

IsServerError returns true when this update policy forbidden response has a 5xx status code

func (*UpdatePolicyForbidden) IsSuccess

func (o *UpdatePolicyForbidden) IsSuccess() bool

IsSuccess returns true when this update policy forbidden response has a 2xx status code

func (*UpdatePolicyForbidden) String

func (o *UpdatePolicyForbidden) String() string

type UpdatePolicyInternalServerError

type UpdatePolicyInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewUpdatePolicyInternalServerError

func NewUpdatePolicyInternalServerError() *UpdatePolicyInternalServerError

NewUpdatePolicyInternalServerError creates a UpdatePolicyInternalServerError with default headers values

func (*UpdatePolicyInternalServerError) Code

Code gets the status code for the update policy internal server error response

func (*UpdatePolicyInternalServerError) Error

func (*UpdatePolicyInternalServerError) GetPayload

func (*UpdatePolicyInternalServerError) IsClientError

func (o *UpdatePolicyInternalServerError) IsClientError() bool

IsClientError returns true when this update policy internal server error response has a 4xx status code

func (*UpdatePolicyInternalServerError) IsCode

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

IsCode returns true when this update policy internal server error response a status code equal to that given

func (*UpdatePolicyInternalServerError) IsRedirect

func (o *UpdatePolicyInternalServerError) IsRedirect() bool

IsRedirect returns true when this update policy internal server error response has a 3xx status code

func (*UpdatePolicyInternalServerError) IsServerError

func (o *UpdatePolicyInternalServerError) IsServerError() bool

IsServerError returns true when this update policy internal server error response has a 5xx status code

func (*UpdatePolicyInternalServerError) IsSuccess

func (o *UpdatePolicyInternalServerError) IsSuccess() bool

IsSuccess returns true when this update policy internal server error response has a 2xx status code

func (*UpdatePolicyInternalServerError) String

type UpdatePolicyNotFound

type UpdatePolicyNotFound struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewUpdatePolicyNotFound

func NewUpdatePolicyNotFound() *UpdatePolicyNotFound

NewUpdatePolicyNotFound creates a UpdatePolicyNotFound with default headers values

func (*UpdatePolicyNotFound) Code

func (o *UpdatePolicyNotFound) Code() int

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

func (*UpdatePolicyNotFound) Error

func (o *UpdatePolicyNotFound) Error() string

func (*UpdatePolicyNotFound) GetPayload

func (o *UpdatePolicyNotFound) GetPayload() *models.Errors

func (*UpdatePolicyNotFound) IsClientError

func (o *UpdatePolicyNotFound) IsClientError() bool

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

func (*UpdatePolicyNotFound) IsCode

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

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

func (*UpdatePolicyNotFound) IsRedirect

func (o *UpdatePolicyNotFound) IsRedirect() bool

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

func (*UpdatePolicyNotFound) IsServerError

func (o *UpdatePolicyNotFound) IsServerError() bool

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

func (*UpdatePolicyNotFound) IsSuccess

func (o *UpdatePolicyNotFound) IsSuccess() bool

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

func (*UpdatePolicyNotFound) String

func (o *UpdatePolicyNotFound) String() string

type UpdatePolicyOK

type UpdatePolicyOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewUpdatePolicyOK

func NewUpdatePolicyOK() *UpdatePolicyOK

NewUpdatePolicyOK creates a UpdatePolicyOK with default headers values

func (*UpdatePolicyOK) Code

func (o *UpdatePolicyOK) Code() int

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

func (*UpdatePolicyOK) Error

func (o *UpdatePolicyOK) Error() string

func (*UpdatePolicyOK) IsClientError

func (o *UpdatePolicyOK) IsClientError() bool

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

func (*UpdatePolicyOK) IsCode

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

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

func (*UpdatePolicyOK) IsRedirect

func (o *UpdatePolicyOK) IsRedirect() bool

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

func (*UpdatePolicyOK) IsServerError

func (o *UpdatePolicyOK) IsServerError() bool

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

func (*UpdatePolicyOK) IsSuccess

func (o *UpdatePolicyOK) IsSuccess() bool

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

func (*UpdatePolicyOK) String

func (o *UpdatePolicyOK) String() string

type UpdatePolicyParams

type UpdatePolicyParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Policy.
	//
	// The policy schema info
	Policy *models.PreheatPolicy

	// PreheatPolicyName.
	//
	// Preheat Policy Name
	PreheatPolicyName string

	// ProjectName.
	//
	// The name of the project
	ProjectName string

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

UpdatePolicyParams contains all the parameters to send to the API endpoint

for the update policy operation.

Typically these are written to a http.Request.

func NewUpdatePolicyParams

func NewUpdatePolicyParams() *UpdatePolicyParams

NewUpdatePolicyParams creates a new UpdatePolicyParams 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 NewUpdatePolicyParamsWithContext deprecated

func NewUpdatePolicyParamsWithContext(ctx context.Context) *UpdatePolicyParams

NewUpdatePolicyParamsWithContext creates a new UpdatePolicyParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdatePolicyParams.

func NewUpdatePolicyParamsWithHTTPClient

func NewUpdatePolicyParamsWithHTTPClient(client *http.Client) *UpdatePolicyParams

NewUpdatePolicyParamsWithHTTPClient creates a new UpdatePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePolicyParamsWithTimeout

func NewUpdatePolicyParamsWithTimeout(timeout time.Duration) *UpdatePolicyParams

NewUpdatePolicyParamsWithTimeout creates a new UpdatePolicyParams object with the ability to set a timeout on a request.

func (*UpdatePolicyParams) SetContext deprecated

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

SetContext adds the context to the update policy params.

Deprecated: use the operation call with context to pass the context instead of UpdatePolicyParams.

func (*UpdatePolicyParams) SetDefaults

func (o *UpdatePolicyParams) SetDefaults()

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

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

func (*UpdatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update policy params.

func (*UpdatePolicyParams) SetPolicy

func (o *UpdatePolicyParams) SetPolicy(policy *models.PreheatPolicy)

SetPolicy adds the policy to the update policy params.

func (*UpdatePolicyParams) SetPreheatPolicyName

func (o *UpdatePolicyParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the update policy params.

func (*UpdatePolicyParams) SetProjectName

func (o *UpdatePolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the update policy params.

func (*UpdatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update policy params.

func (*UpdatePolicyParams) SetXRequestID

func (o *UpdatePolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update policy params.

func (*UpdatePolicyParams) WithContext deprecated

WithContext adds the context to the update policy params.

Deprecated: use the operation call with context to pass the context instead of UpdatePolicyParams.

func (*UpdatePolicyParams) WithDefaults

func (o *UpdatePolicyParams) WithDefaults() *UpdatePolicyParams

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

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

func (*UpdatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update policy params.

func (*UpdatePolicyParams) WithPolicy

WithPolicy adds the policy to the update policy params.

func (*UpdatePolicyParams) WithPreheatPolicyName

func (o *UpdatePolicyParams) WithPreheatPolicyName(preheatPolicyName string) *UpdatePolicyParams

WithPreheatPolicyName adds the preheatPolicyName to the update policy params.

func (*UpdatePolicyParams) WithProjectName

func (o *UpdatePolicyParams) WithProjectName(projectName string) *UpdatePolicyParams

WithProjectName adds the projectName to the update policy params.

func (*UpdatePolicyParams) WithTimeout

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

WithTimeout adds the timeout to the update policy params.

func (*UpdatePolicyParams) WithXRequestID

func (o *UpdatePolicyParams) WithXRequestID(xRequestID *string) *UpdatePolicyParams

WithXRequestID adds the xRequestID to the update policy params.

func (*UpdatePolicyParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdatePolicyReader

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

UpdatePolicyReader is a Reader for the UpdatePolicy structure.

func (*UpdatePolicyReader) ReadResponse

func (o *UpdatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdatePolicyUnauthorized

type UpdatePolicyUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewUpdatePolicyUnauthorized

func NewUpdatePolicyUnauthorized() *UpdatePolicyUnauthorized

NewUpdatePolicyUnauthorized creates a UpdatePolicyUnauthorized with default headers values

func (*UpdatePolicyUnauthorized) Code

func (o *UpdatePolicyUnauthorized) Code() int

Code gets the status code for the update policy unauthorized response

func (*UpdatePolicyUnauthorized) Error

func (o *UpdatePolicyUnauthorized) Error() string

func (*UpdatePolicyUnauthorized) GetPayload

func (o *UpdatePolicyUnauthorized) GetPayload() *models.Errors

func (*UpdatePolicyUnauthorized) IsClientError

func (o *UpdatePolicyUnauthorized) IsClientError() bool

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

func (*UpdatePolicyUnauthorized) IsCode

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

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

func (*UpdatePolicyUnauthorized) IsRedirect

func (o *UpdatePolicyUnauthorized) IsRedirect() bool

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

func (*UpdatePolicyUnauthorized) IsServerError

func (o *UpdatePolicyUnauthorized) IsServerError() bool

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

func (*UpdatePolicyUnauthorized) IsSuccess

func (o *UpdatePolicyUnauthorized) IsSuccess() bool

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

func (*UpdatePolicyUnauthorized) String

func (o *UpdatePolicyUnauthorized) String() string

Jump to

Keyboard shortcuts

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