agent_operations

package
v0.0.0-...-208ba13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MulanPSL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for agent operations API

func (*Client) DeleteAgentsID

func (a *Client) DeleteAgentsID(params *DeleteAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAgentsIDNoContent, error)

DeleteAgentsID deletes agent

Deletes the agent for the given agent id.

func (*Client) GetAgents

func (a *Client) GetAgents(params *GetAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsOK, error)

GetAgents gets agents

Gets the agents for the given filter.

func (*Client) GetAgentsID

func (a *Client) GetAgentsID(params *GetAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDOK, error)

GetAgentsID gets agent

Gets the agent for the given agent id.

func (*Client) GetAgentsIDStatus

func (a *Client) GetAgentsIDStatus(params *GetAgentsIDStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDStatusOK, error)

GetAgentsIDStatus gets online status

Gets online status.

func (*Client) PostAgents

func (a *Client) PostAgents(params *PostAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAgentsCreated, error)

PostAgents creates agent

Creates a new agent.

func (*Client) PutAgentsID

func (a *Client) PutAgentsID(params *PutAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAgentsIDOK, error)

PutAgentsID updates agent

Updates the agent for the given agent id with given parameters.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	DeleteAgentsID(params *DeleteAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAgentsIDNoContent, error)

	GetAgents(params *GetAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsOK, error)

	GetAgentsID(params *GetAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDOK, error)

	GetAgentsIDStatus(params *GetAgentsIDStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDStatusOK, error)

	PostAgents(params *PostAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAgentsCreated, error)

	PutAgentsID(params *PutAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAgentsIDOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new agent operations API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new agent operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new agent operations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteAgentsIDBadRequest

type DeleteAgentsIDBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewDeleteAgentsIDBadRequest

func NewDeleteAgentsIDBadRequest() *DeleteAgentsIDBadRequest

NewDeleteAgentsIDBadRequest creates a DeleteAgentsIDBadRequest with default headers values

func (*DeleteAgentsIDBadRequest) Code

func (o *DeleteAgentsIDBadRequest) Code() int

Code gets the status code for the delete agents Id bad request response

func (*DeleteAgentsIDBadRequest) Error

func (o *DeleteAgentsIDBadRequest) Error() string

func (*DeleteAgentsIDBadRequest) GetPayload

func (o *DeleteAgentsIDBadRequest) GetPayload() *models.Badrequest

func (*DeleteAgentsIDBadRequest) IsClientError

func (o *DeleteAgentsIDBadRequest) IsClientError() bool

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

func (*DeleteAgentsIDBadRequest) IsCode

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

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

func (*DeleteAgentsIDBadRequest) IsRedirect

func (o *DeleteAgentsIDBadRequest) IsRedirect() bool

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

func (*DeleteAgentsIDBadRequest) IsServerError

func (o *DeleteAgentsIDBadRequest) IsServerError() bool

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

func (*DeleteAgentsIDBadRequest) IsSuccess

func (o *DeleteAgentsIDBadRequest) IsSuccess() bool

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

func (*DeleteAgentsIDBadRequest) String

func (o *DeleteAgentsIDBadRequest) String() string

type DeleteAgentsIDDefault

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

DeleteAgentsIDDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewDeleteAgentsIDDefault

func NewDeleteAgentsIDDefault(code int) *DeleteAgentsIDDefault

NewDeleteAgentsIDDefault creates a DeleteAgentsIDDefault with default headers values

func (*DeleteAgentsIDDefault) Code

func (o *DeleteAgentsIDDefault) Code() int

Code gets the status code for the delete agents ID default response

func (*DeleteAgentsIDDefault) Error

func (o *DeleteAgentsIDDefault) Error() string

func (*DeleteAgentsIDDefault) IsClientError

func (o *DeleteAgentsIDDefault) IsClientError() bool

IsClientError returns true when this delete agents ID default response has a 4xx status code

func (*DeleteAgentsIDDefault) IsCode

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

IsCode returns true when this delete agents ID default response a status code equal to that given

func (*DeleteAgentsIDDefault) IsRedirect

func (o *DeleteAgentsIDDefault) IsRedirect() bool

IsRedirect returns true when this delete agents ID default response has a 3xx status code

func (*DeleteAgentsIDDefault) IsServerError

func (o *DeleteAgentsIDDefault) IsServerError() bool

IsServerError returns true when this delete agents ID default response has a 5xx status code

func (*DeleteAgentsIDDefault) IsSuccess

func (o *DeleteAgentsIDDefault) IsSuccess() bool

IsSuccess returns true when this delete agents ID default response has a 2xx status code

func (*DeleteAgentsIDDefault) String

func (o *DeleteAgentsIDDefault) String() string

type DeleteAgentsIDForbidden

type DeleteAgentsIDForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewDeleteAgentsIDForbidden

func NewDeleteAgentsIDForbidden() *DeleteAgentsIDForbidden

NewDeleteAgentsIDForbidden creates a DeleteAgentsIDForbidden with default headers values

func (*DeleteAgentsIDForbidden) Code

func (o *DeleteAgentsIDForbidden) Code() int

Code gets the status code for the delete agents Id forbidden response

func (*DeleteAgentsIDForbidden) Error

func (o *DeleteAgentsIDForbidden) Error() string

func (*DeleteAgentsIDForbidden) GetPayload

func (o *DeleteAgentsIDForbidden) GetPayload() *models.Forbidden

func (*DeleteAgentsIDForbidden) IsClientError

func (o *DeleteAgentsIDForbidden) IsClientError() bool

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

func (*DeleteAgentsIDForbidden) IsCode

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

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

func (*DeleteAgentsIDForbidden) IsRedirect

func (o *DeleteAgentsIDForbidden) IsRedirect() bool

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

func (*DeleteAgentsIDForbidden) IsServerError

func (o *DeleteAgentsIDForbidden) IsServerError() bool

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

func (*DeleteAgentsIDForbidden) IsSuccess

func (o *DeleteAgentsIDForbidden) IsSuccess() bool

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

func (*DeleteAgentsIDForbidden) String

func (o *DeleteAgentsIDForbidden) String() string

type DeleteAgentsIDInternalServerError

type DeleteAgentsIDInternalServerError struct {
	Payload *models.Error
}

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

unexpected error

func NewDeleteAgentsIDInternalServerError

func NewDeleteAgentsIDInternalServerError() *DeleteAgentsIDInternalServerError

NewDeleteAgentsIDInternalServerError creates a DeleteAgentsIDInternalServerError with default headers values

func (*DeleteAgentsIDInternalServerError) Code

Code gets the status code for the delete agents Id internal server error response

func (*DeleteAgentsIDInternalServerError) Error

func (*DeleteAgentsIDInternalServerError) GetPayload

func (*DeleteAgentsIDInternalServerError) IsClientError

func (o *DeleteAgentsIDInternalServerError) IsClientError() bool

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

func (*DeleteAgentsIDInternalServerError) IsCode

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

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

func (*DeleteAgentsIDInternalServerError) IsRedirect

func (o *DeleteAgentsIDInternalServerError) IsRedirect() bool

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

func (*DeleteAgentsIDInternalServerError) IsServerError

func (o *DeleteAgentsIDInternalServerError) IsServerError() bool

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

func (*DeleteAgentsIDInternalServerError) IsSuccess

func (o *DeleteAgentsIDInternalServerError) IsSuccess() bool

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

func (*DeleteAgentsIDInternalServerError) String

type DeleteAgentsIDNoContent

type DeleteAgentsIDNoContent struct {
}

DeleteAgentsIDNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteAgentsIDNoContent

func NewDeleteAgentsIDNoContent() *DeleteAgentsIDNoContent

NewDeleteAgentsIDNoContent creates a DeleteAgentsIDNoContent with default headers values

func (*DeleteAgentsIDNoContent) Code

func (o *DeleteAgentsIDNoContent) Code() int

Code gets the status code for the delete agents Id no content response

func (*DeleteAgentsIDNoContent) Error

func (o *DeleteAgentsIDNoContent) Error() string

func (*DeleteAgentsIDNoContent) IsClientError

func (o *DeleteAgentsIDNoContent) IsClientError() bool

IsClientError returns true when this delete agents Id no content response has a 4xx status code

func (*DeleteAgentsIDNoContent) IsCode

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

IsCode returns true when this delete agents Id no content response a status code equal to that given

func (*DeleteAgentsIDNoContent) IsRedirect

func (o *DeleteAgentsIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete agents Id no content response has a 3xx status code

func (*DeleteAgentsIDNoContent) IsServerError

func (o *DeleteAgentsIDNoContent) IsServerError() bool

IsServerError returns true when this delete agents Id no content response has a 5xx status code

func (*DeleteAgentsIDNoContent) IsSuccess

func (o *DeleteAgentsIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete agents Id no content response has a 2xx status code

func (*DeleteAgentsIDNoContent) String

func (o *DeleteAgentsIDNoContent) String() string

type DeleteAgentsIDNotFound

type DeleteAgentsIDNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewDeleteAgentsIDNotFound

func NewDeleteAgentsIDNotFound() *DeleteAgentsIDNotFound

NewDeleteAgentsIDNotFound creates a DeleteAgentsIDNotFound with default headers values

func (*DeleteAgentsIDNotFound) Code

func (o *DeleteAgentsIDNotFound) Code() int

Code gets the status code for the delete agents Id not found response

func (*DeleteAgentsIDNotFound) Error

func (o *DeleteAgentsIDNotFound) Error() string

func (*DeleteAgentsIDNotFound) GetPayload

func (o *DeleteAgentsIDNotFound) GetPayload() *models.Notfound

func (*DeleteAgentsIDNotFound) IsClientError

func (o *DeleteAgentsIDNotFound) IsClientError() bool

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

func (*DeleteAgentsIDNotFound) IsCode

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

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

func (*DeleteAgentsIDNotFound) IsRedirect

func (o *DeleteAgentsIDNotFound) IsRedirect() bool

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

func (*DeleteAgentsIDNotFound) IsServerError

func (o *DeleteAgentsIDNotFound) IsServerError() bool

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

func (*DeleteAgentsIDNotFound) IsSuccess

func (o *DeleteAgentsIDNotFound) IsSuccess() bool

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

func (*DeleteAgentsIDNotFound) String

func (o *DeleteAgentsIDNotFound) String() string

type DeleteAgentsIDParams

type DeleteAgentsIDParams struct {

	/* IfMatch.

	   ETag number of resource.
	*/
	IfMatch string

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

DeleteAgentsIDParams contains all the parameters to send to the API endpoint

for the delete agents ID operation.

Typically these are written to a http.Request.

func NewDeleteAgentsIDParams

func NewDeleteAgentsIDParams() *DeleteAgentsIDParams

NewDeleteAgentsIDParams creates a new DeleteAgentsIDParams 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 NewDeleteAgentsIDParamsWithContext

func NewDeleteAgentsIDParamsWithContext(ctx context.Context) *DeleteAgentsIDParams

NewDeleteAgentsIDParamsWithContext creates a new DeleteAgentsIDParams object with the ability to set a context for a request.

func NewDeleteAgentsIDParamsWithHTTPClient

func NewDeleteAgentsIDParamsWithHTTPClient(client *http.Client) *DeleteAgentsIDParams

NewDeleteAgentsIDParamsWithHTTPClient creates a new DeleteAgentsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAgentsIDParamsWithTimeout

func NewDeleteAgentsIDParamsWithTimeout(timeout time.Duration) *DeleteAgentsIDParams

NewDeleteAgentsIDParamsWithTimeout creates a new DeleteAgentsIDParams object with the ability to set a timeout on a request.

func (*DeleteAgentsIDParams) SetContext

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

SetContext adds the context to the delete agents ID params

func (*DeleteAgentsIDParams) SetDefaults

func (o *DeleteAgentsIDParams) SetDefaults()

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

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

func (*DeleteAgentsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete agents ID params

func (*DeleteAgentsIDParams) SetID

func (o *DeleteAgentsIDParams) SetID(id string)

SetID adds the id to the delete agents ID params

func (*DeleteAgentsIDParams) SetIfMatch

func (o *DeleteAgentsIDParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the delete agents ID params

func (*DeleteAgentsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete agents ID params

func (*DeleteAgentsIDParams) WithContext

WithContext adds the context to the delete agents ID params

func (*DeleteAgentsIDParams) WithDefaults

func (o *DeleteAgentsIDParams) WithDefaults() *DeleteAgentsIDParams

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

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

func (*DeleteAgentsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete agents ID params

func (*DeleteAgentsIDParams) WithID

WithID adds the id to the delete agents ID params

func (*DeleteAgentsIDParams) WithIfMatch

func (o *DeleteAgentsIDParams) WithIfMatch(ifMatch string) *DeleteAgentsIDParams

WithIfMatch adds the ifMatch to the delete agents ID params

func (*DeleteAgentsIDParams) WithTimeout

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

WithTimeout adds the timeout to the delete agents ID params

func (*DeleteAgentsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAgentsIDPreconditionFailed

type DeleteAgentsIDPreconditionFailed struct {
	Payload *models.Preconditionfailed
}

DeleteAgentsIDPreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewDeleteAgentsIDPreconditionFailed

func NewDeleteAgentsIDPreconditionFailed() *DeleteAgentsIDPreconditionFailed

NewDeleteAgentsIDPreconditionFailed creates a DeleteAgentsIDPreconditionFailed with default headers values

func (*DeleteAgentsIDPreconditionFailed) Code

Code gets the status code for the delete agents Id precondition failed response

func (*DeleteAgentsIDPreconditionFailed) Error

func (*DeleteAgentsIDPreconditionFailed) GetPayload

func (*DeleteAgentsIDPreconditionFailed) IsClientError

func (o *DeleteAgentsIDPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete agents Id precondition failed response has a 4xx status code

func (*DeleteAgentsIDPreconditionFailed) IsCode

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

IsCode returns true when this delete agents Id precondition failed response a status code equal to that given

func (*DeleteAgentsIDPreconditionFailed) IsRedirect

func (o *DeleteAgentsIDPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this delete agents Id precondition failed response has a 3xx status code

func (*DeleteAgentsIDPreconditionFailed) IsServerError

func (o *DeleteAgentsIDPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete agents Id precondition failed response has a 5xx status code

func (*DeleteAgentsIDPreconditionFailed) IsSuccess

func (o *DeleteAgentsIDPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this delete agents Id precondition failed response has a 2xx status code

func (*DeleteAgentsIDPreconditionFailed) String

type DeleteAgentsIDReader

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

DeleteAgentsIDReader is a Reader for the DeleteAgentsID structure.

func (*DeleteAgentsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAgentsIDTooManyRequests

type DeleteAgentsIDTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

DeleteAgentsIDTooManyRequests describes a response with status code 429, with default header values.

API rate limit exceeded.

func NewDeleteAgentsIDTooManyRequests

func NewDeleteAgentsIDTooManyRequests() *DeleteAgentsIDTooManyRequests

NewDeleteAgentsIDTooManyRequests creates a DeleteAgentsIDTooManyRequests with default headers values

func (*DeleteAgentsIDTooManyRequests) Code

Code gets the status code for the delete agents Id too many requests response

func (*DeleteAgentsIDTooManyRequests) Error

func (*DeleteAgentsIDTooManyRequests) GetPayload

func (*DeleteAgentsIDTooManyRequests) IsClientError

func (o *DeleteAgentsIDTooManyRequests) IsClientError() bool

IsClientError returns true when this delete agents Id too many requests response has a 4xx status code

func (*DeleteAgentsIDTooManyRequests) IsCode

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

IsCode returns true when this delete agents Id too many requests response a status code equal to that given

func (*DeleteAgentsIDTooManyRequests) IsRedirect

func (o *DeleteAgentsIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete agents Id too many requests response has a 3xx status code

func (*DeleteAgentsIDTooManyRequests) IsServerError

func (o *DeleteAgentsIDTooManyRequests) IsServerError() bool

IsServerError returns true when this delete agents Id too many requests response has a 5xx status code

func (*DeleteAgentsIDTooManyRequests) IsSuccess

func (o *DeleteAgentsIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete agents Id too many requests response has a 2xx status code

func (*DeleteAgentsIDTooManyRequests) String

type DeleteAgentsIDUnauthorized

type DeleteAgentsIDUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewDeleteAgentsIDUnauthorized

func NewDeleteAgentsIDUnauthorized() *DeleteAgentsIDUnauthorized

NewDeleteAgentsIDUnauthorized creates a DeleteAgentsIDUnauthorized with default headers values

func (*DeleteAgentsIDUnauthorized) Code

func (o *DeleteAgentsIDUnauthorized) Code() int

Code gets the status code for the delete agents Id unauthorized response

func (*DeleteAgentsIDUnauthorized) Error

func (*DeleteAgentsIDUnauthorized) GetPayload

func (*DeleteAgentsIDUnauthorized) IsClientError

func (o *DeleteAgentsIDUnauthorized) IsClientError() bool

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

func (*DeleteAgentsIDUnauthorized) IsCode

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

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

func (*DeleteAgentsIDUnauthorized) IsRedirect

func (o *DeleteAgentsIDUnauthorized) IsRedirect() bool

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

func (*DeleteAgentsIDUnauthorized) IsServerError

func (o *DeleteAgentsIDUnauthorized) IsServerError() bool

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

func (*DeleteAgentsIDUnauthorized) IsSuccess

func (o *DeleteAgentsIDUnauthorized) IsSuccess() bool

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

func (*DeleteAgentsIDUnauthorized) String

func (o *DeleteAgentsIDUnauthorized) String() string

type GetAgentsBadRequest

type GetAgentsBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewGetAgentsBadRequest

func NewGetAgentsBadRequest() *GetAgentsBadRequest

NewGetAgentsBadRequest creates a GetAgentsBadRequest with default headers values

func (*GetAgentsBadRequest) Code

func (o *GetAgentsBadRequest) Code() int

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

func (*GetAgentsBadRequest) Error

func (o *GetAgentsBadRequest) Error() string

func (*GetAgentsBadRequest) GetPayload

func (o *GetAgentsBadRequest) GetPayload() *models.Badrequest

func (*GetAgentsBadRequest) IsClientError

func (o *GetAgentsBadRequest) IsClientError() bool

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

func (*GetAgentsBadRequest) IsCode

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

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

func (*GetAgentsBadRequest) IsRedirect

func (o *GetAgentsBadRequest) IsRedirect() bool

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

func (*GetAgentsBadRequest) IsServerError

func (o *GetAgentsBadRequest) IsServerError() bool

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

func (*GetAgentsBadRequest) IsSuccess

func (o *GetAgentsBadRequest) IsSuccess() bool

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

func (*GetAgentsBadRequest) String

func (o *GetAgentsBadRequest) String() string

type GetAgentsDefault

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

GetAgentsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetAgentsDefault

func NewGetAgentsDefault(code int) *GetAgentsDefault

NewGetAgentsDefault creates a GetAgentsDefault with default headers values

func (*GetAgentsDefault) Code

func (o *GetAgentsDefault) Code() int

Code gets the status code for the get agents default response

func (*GetAgentsDefault) Error

func (o *GetAgentsDefault) Error() string

func (*GetAgentsDefault) IsClientError

func (o *GetAgentsDefault) IsClientError() bool

IsClientError returns true when this get agents default response has a 4xx status code

func (*GetAgentsDefault) IsCode

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

IsCode returns true when this get agents default response a status code equal to that given

func (*GetAgentsDefault) IsRedirect

func (o *GetAgentsDefault) IsRedirect() bool

IsRedirect returns true when this get agents default response has a 3xx status code

func (*GetAgentsDefault) IsServerError

func (o *GetAgentsDefault) IsServerError() bool

IsServerError returns true when this get agents default response has a 5xx status code

func (*GetAgentsDefault) IsSuccess

func (o *GetAgentsDefault) IsSuccess() bool

IsSuccess returns true when this get agents default response has a 2xx status code

func (*GetAgentsDefault) String

func (o *GetAgentsDefault) String() string

type GetAgentsForbidden

type GetAgentsForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewGetAgentsForbidden

func NewGetAgentsForbidden() *GetAgentsForbidden

NewGetAgentsForbidden creates a GetAgentsForbidden with default headers values

func (*GetAgentsForbidden) Code

func (o *GetAgentsForbidden) Code() int

Code gets the status code for the get agents forbidden response

func (*GetAgentsForbidden) Error

func (o *GetAgentsForbidden) Error() string

func (*GetAgentsForbidden) GetPayload

func (o *GetAgentsForbidden) GetPayload() *models.Forbidden

func (*GetAgentsForbidden) IsClientError

func (o *GetAgentsForbidden) IsClientError() bool

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

func (*GetAgentsForbidden) IsCode

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

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

func (*GetAgentsForbidden) IsRedirect

func (o *GetAgentsForbidden) IsRedirect() bool

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

func (*GetAgentsForbidden) IsServerError

func (o *GetAgentsForbidden) IsServerError() bool

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

func (*GetAgentsForbidden) IsSuccess

func (o *GetAgentsForbidden) IsSuccess() bool

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

func (*GetAgentsForbidden) String

func (o *GetAgentsForbidden) String() string

type GetAgentsIDBadRequest

type GetAgentsIDBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewGetAgentsIDBadRequest

func NewGetAgentsIDBadRequest() *GetAgentsIDBadRequest

NewGetAgentsIDBadRequest creates a GetAgentsIDBadRequest with default headers values

func (*GetAgentsIDBadRequest) Code

func (o *GetAgentsIDBadRequest) Code() int

Code gets the status code for the get agents Id bad request response

func (*GetAgentsIDBadRequest) Error

func (o *GetAgentsIDBadRequest) Error() string

func (*GetAgentsIDBadRequest) GetPayload

func (o *GetAgentsIDBadRequest) GetPayload() *models.Badrequest

func (*GetAgentsIDBadRequest) IsClientError

func (o *GetAgentsIDBadRequest) IsClientError() bool

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

func (*GetAgentsIDBadRequest) IsCode

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

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

func (*GetAgentsIDBadRequest) IsRedirect

func (o *GetAgentsIDBadRequest) IsRedirect() bool

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

func (*GetAgentsIDBadRequest) IsServerError

func (o *GetAgentsIDBadRequest) IsServerError() bool

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

func (*GetAgentsIDBadRequest) IsSuccess

func (o *GetAgentsIDBadRequest) IsSuccess() bool

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

func (*GetAgentsIDBadRequest) String

func (o *GetAgentsIDBadRequest) String() string

type GetAgentsIDDefault

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

GetAgentsIDDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetAgentsIDDefault

func NewGetAgentsIDDefault(code int) *GetAgentsIDDefault

NewGetAgentsIDDefault creates a GetAgentsIDDefault with default headers values

func (*GetAgentsIDDefault) Code

func (o *GetAgentsIDDefault) Code() int

Code gets the status code for the get agents ID default response

func (*GetAgentsIDDefault) Error

func (o *GetAgentsIDDefault) Error() string

func (*GetAgentsIDDefault) IsClientError

func (o *GetAgentsIDDefault) IsClientError() bool

IsClientError returns true when this get agents ID default response has a 4xx status code

func (*GetAgentsIDDefault) IsCode

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

IsCode returns true when this get agents ID default response a status code equal to that given

func (*GetAgentsIDDefault) IsRedirect

func (o *GetAgentsIDDefault) IsRedirect() bool

IsRedirect returns true when this get agents ID default response has a 3xx status code

func (*GetAgentsIDDefault) IsServerError

func (o *GetAgentsIDDefault) IsServerError() bool

IsServerError returns true when this get agents ID default response has a 5xx status code

func (*GetAgentsIDDefault) IsSuccess

func (o *GetAgentsIDDefault) IsSuccess() bool

IsSuccess returns true when this get agents ID default response has a 2xx status code

func (*GetAgentsIDDefault) String

func (o *GetAgentsIDDefault) String() string

type GetAgentsIDForbidden

type GetAgentsIDForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewGetAgentsIDForbidden

func NewGetAgentsIDForbidden() *GetAgentsIDForbidden

NewGetAgentsIDForbidden creates a GetAgentsIDForbidden with default headers values

func (*GetAgentsIDForbidden) Code

func (o *GetAgentsIDForbidden) Code() int

Code gets the status code for the get agents Id forbidden response

func (*GetAgentsIDForbidden) Error

func (o *GetAgentsIDForbidden) Error() string

func (*GetAgentsIDForbidden) GetPayload

func (o *GetAgentsIDForbidden) GetPayload() *models.Forbidden

func (*GetAgentsIDForbidden) IsClientError

func (o *GetAgentsIDForbidden) IsClientError() bool

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

func (*GetAgentsIDForbidden) IsCode

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

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

func (*GetAgentsIDForbidden) IsRedirect

func (o *GetAgentsIDForbidden) IsRedirect() bool

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

func (*GetAgentsIDForbidden) IsServerError

func (o *GetAgentsIDForbidden) IsServerError() bool

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

func (*GetAgentsIDForbidden) IsSuccess

func (o *GetAgentsIDForbidden) IsSuccess() bool

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

func (*GetAgentsIDForbidden) String

func (o *GetAgentsIDForbidden) String() string

type GetAgentsIDInternalServerError

type GetAgentsIDInternalServerError struct {
	Payload *models.Error
}

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

unexpected error

func NewGetAgentsIDInternalServerError

func NewGetAgentsIDInternalServerError() *GetAgentsIDInternalServerError

NewGetAgentsIDInternalServerError creates a GetAgentsIDInternalServerError with default headers values

func (*GetAgentsIDInternalServerError) Code

Code gets the status code for the get agents Id internal server error response

func (*GetAgentsIDInternalServerError) Error

func (*GetAgentsIDInternalServerError) GetPayload

func (o *GetAgentsIDInternalServerError) GetPayload() *models.Error

func (*GetAgentsIDInternalServerError) IsClientError

func (o *GetAgentsIDInternalServerError) IsClientError() bool

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

func (*GetAgentsIDInternalServerError) IsCode

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

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

func (*GetAgentsIDInternalServerError) IsRedirect

func (o *GetAgentsIDInternalServerError) IsRedirect() bool

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

func (*GetAgentsIDInternalServerError) IsServerError

func (o *GetAgentsIDInternalServerError) IsServerError() bool

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

func (*GetAgentsIDInternalServerError) IsSuccess

func (o *GetAgentsIDInternalServerError) IsSuccess() bool

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

func (*GetAgentsIDInternalServerError) String

type GetAgentsIDNotFound

type GetAgentsIDNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewGetAgentsIDNotFound

func NewGetAgentsIDNotFound() *GetAgentsIDNotFound

NewGetAgentsIDNotFound creates a GetAgentsIDNotFound with default headers values

func (*GetAgentsIDNotFound) Code

func (o *GetAgentsIDNotFound) Code() int

Code gets the status code for the get agents Id not found response

func (*GetAgentsIDNotFound) Error

func (o *GetAgentsIDNotFound) Error() string

func (*GetAgentsIDNotFound) GetPayload

func (o *GetAgentsIDNotFound) GetPayload() *models.Notfound

func (*GetAgentsIDNotFound) IsClientError

func (o *GetAgentsIDNotFound) IsClientError() bool

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

func (*GetAgentsIDNotFound) IsCode

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

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

func (*GetAgentsIDNotFound) IsRedirect

func (o *GetAgentsIDNotFound) IsRedirect() bool

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

func (*GetAgentsIDNotFound) IsServerError

func (o *GetAgentsIDNotFound) IsServerError() bool

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

func (*GetAgentsIDNotFound) IsSuccess

func (o *GetAgentsIDNotFound) IsSuccess() bool

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

func (*GetAgentsIDNotFound) String

func (o *GetAgentsIDNotFound) String() string

type GetAgentsIDOK

type GetAgentsIDOK struct {
	Payload *models.Agent
}

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

OK

func NewGetAgentsIDOK

func NewGetAgentsIDOK() *GetAgentsIDOK

NewGetAgentsIDOK creates a GetAgentsIDOK with default headers values

func (*GetAgentsIDOK) Code

func (o *GetAgentsIDOK) Code() int

Code gets the status code for the get agents Id o k response

func (*GetAgentsIDOK) Error

func (o *GetAgentsIDOK) Error() string

func (*GetAgentsIDOK) GetPayload

func (o *GetAgentsIDOK) GetPayload() *models.Agent

func (*GetAgentsIDOK) IsClientError

func (o *GetAgentsIDOK) IsClientError() bool

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

func (*GetAgentsIDOK) IsCode

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

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

func (*GetAgentsIDOK) IsRedirect

func (o *GetAgentsIDOK) IsRedirect() bool

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

func (*GetAgentsIDOK) IsServerError

func (o *GetAgentsIDOK) IsServerError() bool

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

func (*GetAgentsIDOK) IsSuccess

func (o *GetAgentsIDOK) IsSuccess() bool

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

func (*GetAgentsIDOK) String

func (o *GetAgentsIDOK) String() string

type GetAgentsIDParams

type GetAgentsIDParams struct {

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

GetAgentsIDParams contains all the parameters to send to the API endpoint

for the get agents ID operation.

Typically these are written to a http.Request.

func NewGetAgentsIDParams

func NewGetAgentsIDParams() *GetAgentsIDParams

NewGetAgentsIDParams creates a new GetAgentsIDParams 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 NewGetAgentsIDParamsWithContext

func NewGetAgentsIDParamsWithContext(ctx context.Context) *GetAgentsIDParams

NewGetAgentsIDParamsWithContext creates a new GetAgentsIDParams object with the ability to set a context for a request.

func NewGetAgentsIDParamsWithHTTPClient

func NewGetAgentsIDParamsWithHTTPClient(client *http.Client) *GetAgentsIDParams

NewGetAgentsIDParamsWithHTTPClient creates a new GetAgentsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAgentsIDParamsWithTimeout

func NewGetAgentsIDParamsWithTimeout(timeout time.Duration) *GetAgentsIDParams

NewGetAgentsIDParamsWithTimeout creates a new GetAgentsIDParams object with the ability to set a timeout on a request.

func (*GetAgentsIDParams) SetContext

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

SetContext adds the context to the get agents ID params

func (*GetAgentsIDParams) SetDefaults

func (o *GetAgentsIDParams) SetDefaults()

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

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

func (*GetAgentsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agents ID params

func (*GetAgentsIDParams) SetID

func (o *GetAgentsIDParams) SetID(id string)

SetID adds the id to the get agents ID params

func (*GetAgentsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get agents ID params

func (*GetAgentsIDParams) WithContext

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

WithContext adds the context to the get agents ID params

func (*GetAgentsIDParams) WithDefaults

func (o *GetAgentsIDParams) WithDefaults() *GetAgentsIDParams

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

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

func (*GetAgentsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get agents ID params

func (*GetAgentsIDParams) WithID

WithID adds the id to the get agents ID params

func (*GetAgentsIDParams) WithTimeout

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

WithTimeout adds the timeout to the get agents ID params

func (*GetAgentsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAgentsIDReader

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

GetAgentsIDReader is a Reader for the GetAgentsID structure.

func (*GetAgentsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAgentsIDStatusBadRequest

type GetAgentsIDStatusBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewGetAgentsIDStatusBadRequest

func NewGetAgentsIDStatusBadRequest() *GetAgentsIDStatusBadRequest

NewGetAgentsIDStatusBadRequest creates a GetAgentsIDStatusBadRequest with default headers values

func (*GetAgentsIDStatusBadRequest) Code

func (o *GetAgentsIDStatusBadRequest) Code() int

Code gets the status code for the get agents Id status bad request response

func (*GetAgentsIDStatusBadRequest) Error

func (*GetAgentsIDStatusBadRequest) GetPayload

func (*GetAgentsIDStatusBadRequest) IsClientError

func (o *GetAgentsIDStatusBadRequest) IsClientError() bool

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

func (*GetAgentsIDStatusBadRequest) IsCode

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

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

func (*GetAgentsIDStatusBadRequest) IsRedirect

func (o *GetAgentsIDStatusBadRequest) IsRedirect() bool

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

func (*GetAgentsIDStatusBadRequest) IsServerError

func (o *GetAgentsIDStatusBadRequest) IsServerError() bool

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

func (*GetAgentsIDStatusBadRequest) IsSuccess

func (o *GetAgentsIDStatusBadRequest) IsSuccess() bool

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

func (*GetAgentsIDStatusBadRequest) String

func (o *GetAgentsIDStatusBadRequest) String() string

type GetAgentsIDStatusDefault

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

GetAgentsIDStatusDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetAgentsIDStatusDefault

func NewGetAgentsIDStatusDefault(code int) *GetAgentsIDStatusDefault

NewGetAgentsIDStatusDefault creates a GetAgentsIDStatusDefault with default headers values

func (*GetAgentsIDStatusDefault) Code

func (o *GetAgentsIDStatusDefault) Code() int

Code gets the status code for the get agents ID status default response

func (*GetAgentsIDStatusDefault) Error

func (o *GetAgentsIDStatusDefault) Error() string

func (*GetAgentsIDStatusDefault) IsClientError

func (o *GetAgentsIDStatusDefault) IsClientError() bool

IsClientError returns true when this get agents ID status default response has a 4xx status code

func (*GetAgentsIDStatusDefault) IsCode

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

IsCode returns true when this get agents ID status default response a status code equal to that given

func (*GetAgentsIDStatusDefault) IsRedirect

func (o *GetAgentsIDStatusDefault) IsRedirect() bool

IsRedirect returns true when this get agents ID status default response has a 3xx status code

func (*GetAgentsIDStatusDefault) IsServerError

func (o *GetAgentsIDStatusDefault) IsServerError() bool

IsServerError returns true when this get agents ID status default response has a 5xx status code

func (*GetAgentsIDStatusDefault) IsSuccess

func (o *GetAgentsIDStatusDefault) IsSuccess() bool

IsSuccess returns true when this get agents ID status default response has a 2xx status code

func (*GetAgentsIDStatusDefault) String

func (o *GetAgentsIDStatusDefault) String() string

type GetAgentsIDStatusForbidden

type GetAgentsIDStatusForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewGetAgentsIDStatusForbidden

func NewGetAgentsIDStatusForbidden() *GetAgentsIDStatusForbidden

NewGetAgentsIDStatusForbidden creates a GetAgentsIDStatusForbidden with default headers values

func (*GetAgentsIDStatusForbidden) Code

func (o *GetAgentsIDStatusForbidden) Code() int

Code gets the status code for the get agents Id status forbidden response

func (*GetAgentsIDStatusForbidden) Error

func (*GetAgentsIDStatusForbidden) GetPayload

func (o *GetAgentsIDStatusForbidden) GetPayload() *models.Forbidden

func (*GetAgentsIDStatusForbidden) IsClientError

func (o *GetAgentsIDStatusForbidden) IsClientError() bool

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

func (*GetAgentsIDStatusForbidden) IsCode

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

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

func (*GetAgentsIDStatusForbidden) IsRedirect

func (o *GetAgentsIDStatusForbidden) IsRedirect() bool

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

func (*GetAgentsIDStatusForbidden) IsServerError

func (o *GetAgentsIDStatusForbidden) IsServerError() bool

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

func (*GetAgentsIDStatusForbidden) IsSuccess

func (o *GetAgentsIDStatusForbidden) IsSuccess() bool

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

func (*GetAgentsIDStatusForbidden) String

func (o *GetAgentsIDStatusForbidden) String() string

type GetAgentsIDStatusInternalServerError

type GetAgentsIDStatusInternalServerError struct {
	Payload *models.Error
}

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

unexpected error

func NewGetAgentsIDStatusInternalServerError

func NewGetAgentsIDStatusInternalServerError() *GetAgentsIDStatusInternalServerError

NewGetAgentsIDStatusInternalServerError creates a GetAgentsIDStatusInternalServerError with default headers values

func (*GetAgentsIDStatusInternalServerError) Code

Code gets the status code for the get agents Id status internal server error response

func (*GetAgentsIDStatusInternalServerError) Error

func (*GetAgentsIDStatusInternalServerError) GetPayload

func (*GetAgentsIDStatusInternalServerError) IsClientError

func (o *GetAgentsIDStatusInternalServerError) IsClientError() bool

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

func (*GetAgentsIDStatusInternalServerError) IsCode

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

func (*GetAgentsIDStatusInternalServerError) IsRedirect

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

func (*GetAgentsIDStatusInternalServerError) IsServerError

func (o *GetAgentsIDStatusInternalServerError) IsServerError() bool

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

func (*GetAgentsIDStatusInternalServerError) IsSuccess

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

func (*GetAgentsIDStatusInternalServerError) String

type GetAgentsIDStatusNotFound

type GetAgentsIDStatusNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewGetAgentsIDStatusNotFound

func NewGetAgentsIDStatusNotFound() *GetAgentsIDStatusNotFound

NewGetAgentsIDStatusNotFound creates a GetAgentsIDStatusNotFound with default headers values

func (*GetAgentsIDStatusNotFound) Code

func (o *GetAgentsIDStatusNotFound) Code() int

Code gets the status code for the get agents Id status not found response

func (*GetAgentsIDStatusNotFound) Error

func (o *GetAgentsIDStatusNotFound) Error() string

func (*GetAgentsIDStatusNotFound) GetPayload

func (o *GetAgentsIDStatusNotFound) GetPayload() *models.Notfound

func (*GetAgentsIDStatusNotFound) IsClientError

func (o *GetAgentsIDStatusNotFound) IsClientError() bool

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

func (*GetAgentsIDStatusNotFound) IsCode

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

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

func (*GetAgentsIDStatusNotFound) IsRedirect

func (o *GetAgentsIDStatusNotFound) IsRedirect() bool

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

func (*GetAgentsIDStatusNotFound) IsServerError

func (o *GetAgentsIDStatusNotFound) IsServerError() bool

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

func (*GetAgentsIDStatusNotFound) IsSuccess

func (o *GetAgentsIDStatusNotFound) IsSuccess() bool

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

func (*GetAgentsIDStatusNotFound) String

func (o *GetAgentsIDStatusNotFound) String() string

type GetAgentsIDStatusOK

type GetAgentsIDStatusOK struct {
	Payload *models.OnlineStatus
}

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

OK

func NewGetAgentsIDStatusOK

func NewGetAgentsIDStatusOK() *GetAgentsIDStatusOK

NewGetAgentsIDStatusOK creates a GetAgentsIDStatusOK with default headers values

func (*GetAgentsIDStatusOK) Code

func (o *GetAgentsIDStatusOK) Code() int

Code gets the status code for the get agents Id status o k response

func (*GetAgentsIDStatusOK) Error

func (o *GetAgentsIDStatusOK) Error() string

func (*GetAgentsIDStatusOK) GetPayload

func (o *GetAgentsIDStatusOK) GetPayload() *models.OnlineStatus

func (*GetAgentsIDStatusOK) IsClientError

func (o *GetAgentsIDStatusOK) IsClientError() bool

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

func (*GetAgentsIDStatusOK) IsCode

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

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

func (*GetAgentsIDStatusOK) IsRedirect

func (o *GetAgentsIDStatusOK) IsRedirect() bool

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

func (*GetAgentsIDStatusOK) IsServerError

func (o *GetAgentsIDStatusOK) IsServerError() bool

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

func (*GetAgentsIDStatusOK) IsSuccess

func (o *GetAgentsIDStatusOK) IsSuccess() bool

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

func (*GetAgentsIDStatusOK) String

func (o *GetAgentsIDStatusOK) String() string

type GetAgentsIDStatusParams

type GetAgentsIDStatusParams struct {

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

GetAgentsIDStatusParams contains all the parameters to send to the API endpoint

for the get agents ID status operation.

Typically these are written to a http.Request.

func NewGetAgentsIDStatusParams

func NewGetAgentsIDStatusParams() *GetAgentsIDStatusParams

NewGetAgentsIDStatusParams creates a new GetAgentsIDStatusParams 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 NewGetAgentsIDStatusParamsWithContext

func NewGetAgentsIDStatusParamsWithContext(ctx context.Context) *GetAgentsIDStatusParams

NewGetAgentsIDStatusParamsWithContext creates a new GetAgentsIDStatusParams object with the ability to set a context for a request.

func NewGetAgentsIDStatusParamsWithHTTPClient

func NewGetAgentsIDStatusParamsWithHTTPClient(client *http.Client) *GetAgentsIDStatusParams

NewGetAgentsIDStatusParamsWithHTTPClient creates a new GetAgentsIDStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetAgentsIDStatusParamsWithTimeout

func NewGetAgentsIDStatusParamsWithTimeout(timeout time.Duration) *GetAgentsIDStatusParams

NewGetAgentsIDStatusParamsWithTimeout creates a new GetAgentsIDStatusParams object with the ability to set a timeout on a request.

func (*GetAgentsIDStatusParams) SetContext

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

SetContext adds the context to the get agents ID status params

func (*GetAgentsIDStatusParams) SetDefaults

func (o *GetAgentsIDStatusParams) SetDefaults()

SetDefaults hydrates default values in the get agents ID status params (not the query body).

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

func (*GetAgentsIDStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agents ID status params

func (*GetAgentsIDStatusParams) SetID

func (o *GetAgentsIDStatusParams) SetID(id string)

SetID adds the id to the get agents ID status params

func (*GetAgentsIDStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get agents ID status params

func (*GetAgentsIDStatusParams) WithContext

WithContext adds the context to the get agents ID status params

func (*GetAgentsIDStatusParams) WithDefaults

WithDefaults hydrates default values in the get agents ID status params (not the query body).

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

func (*GetAgentsIDStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get agents ID status params

func (*GetAgentsIDStatusParams) WithID

WithID adds the id to the get agents ID status params

func (*GetAgentsIDStatusParams) WithTimeout

WithTimeout adds the timeout to the get agents ID status params

func (*GetAgentsIDStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAgentsIDStatusReader

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

GetAgentsIDStatusReader is a Reader for the GetAgentsIDStatus structure.

func (*GetAgentsIDStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAgentsIDStatusTooManyRequests

type GetAgentsIDStatusTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

GetAgentsIDStatusTooManyRequests describes a response with status code 429, with default header values.

API rate limit exceeded.

func NewGetAgentsIDStatusTooManyRequests

func NewGetAgentsIDStatusTooManyRequests() *GetAgentsIDStatusTooManyRequests

NewGetAgentsIDStatusTooManyRequests creates a GetAgentsIDStatusTooManyRequests with default headers values

func (*GetAgentsIDStatusTooManyRequests) Code

Code gets the status code for the get agents Id status too many requests response

func (*GetAgentsIDStatusTooManyRequests) Error

func (*GetAgentsIDStatusTooManyRequests) GetPayload

func (*GetAgentsIDStatusTooManyRequests) IsClientError

func (o *GetAgentsIDStatusTooManyRequests) IsClientError() bool

IsClientError returns true when this get agents Id status too many requests response has a 4xx status code

func (*GetAgentsIDStatusTooManyRequests) IsCode

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

IsCode returns true when this get agents Id status too many requests response a status code equal to that given

func (*GetAgentsIDStatusTooManyRequests) IsRedirect

func (o *GetAgentsIDStatusTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get agents Id status too many requests response has a 3xx status code

func (*GetAgentsIDStatusTooManyRequests) IsServerError

func (o *GetAgentsIDStatusTooManyRequests) IsServerError() bool

IsServerError returns true when this get agents Id status too many requests response has a 5xx status code

func (*GetAgentsIDStatusTooManyRequests) IsSuccess

func (o *GetAgentsIDStatusTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get agents Id status too many requests response has a 2xx status code

func (*GetAgentsIDStatusTooManyRequests) String

type GetAgentsIDStatusUnauthorized

type GetAgentsIDStatusUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewGetAgentsIDStatusUnauthorized

func NewGetAgentsIDStatusUnauthorized() *GetAgentsIDStatusUnauthorized

NewGetAgentsIDStatusUnauthorized creates a GetAgentsIDStatusUnauthorized with default headers values

func (*GetAgentsIDStatusUnauthorized) Code

Code gets the status code for the get agents Id status unauthorized response

func (*GetAgentsIDStatusUnauthorized) Error

func (*GetAgentsIDStatusUnauthorized) GetPayload

func (*GetAgentsIDStatusUnauthorized) IsClientError

func (o *GetAgentsIDStatusUnauthorized) IsClientError() bool

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

func (*GetAgentsIDStatusUnauthorized) IsCode

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

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

func (*GetAgentsIDStatusUnauthorized) IsRedirect

func (o *GetAgentsIDStatusUnauthorized) IsRedirect() bool

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

func (*GetAgentsIDStatusUnauthorized) IsServerError

func (o *GetAgentsIDStatusUnauthorized) IsServerError() bool

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

func (*GetAgentsIDStatusUnauthorized) IsSuccess

func (o *GetAgentsIDStatusUnauthorized) IsSuccess() bool

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

func (*GetAgentsIDStatusUnauthorized) String

type GetAgentsIDTooManyRequests

type GetAgentsIDTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

GetAgentsIDTooManyRequests describes a response with status code 429, with default header values.

API rate limit exceeded.

func NewGetAgentsIDTooManyRequests

func NewGetAgentsIDTooManyRequests() *GetAgentsIDTooManyRequests

NewGetAgentsIDTooManyRequests creates a GetAgentsIDTooManyRequests with default headers values

func (*GetAgentsIDTooManyRequests) Code

func (o *GetAgentsIDTooManyRequests) Code() int

Code gets the status code for the get agents Id too many requests response

func (*GetAgentsIDTooManyRequests) Error

func (*GetAgentsIDTooManyRequests) GetPayload

func (*GetAgentsIDTooManyRequests) IsClientError

func (o *GetAgentsIDTooManyRequests) IsClientError() bool

IsClientError returns true when this get agents Id too many requests response has a 4xx status code

func (*GetAgentsIDTooManyRequests) IsCode

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

IsCode returns true when this get agents Id too many requests response a status code equal to that given

func (*GetAgentsIDTooManyRequests) IsRedirect

func (o *GetAgentsIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get agents Id too many requests response has a 3xx status code

func (*GetAgentsIDTooManyRequests) IsServerError

func (o *GetAgentsIDTooManyRequests) IsServerError() bool

IsServerError returns true when this get agents Id too many requests response has a 5xx status code

func (*GetAgentsIDTooManyRequests) IsSuccess

func (o *GetAgentsIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get agents Id too many requests response has a 2xx status code

func (*GetAgentsIDTooManyRequests) String

func (o *GetAgentsIDTooManyRequests) String() string

type GetAgentsIDUnauthorized

type GetAgentsIDUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewGetAgentsIDUnauthorized

func NewGetAgentsIDUnauthorized() *GetAgentsIDUnauthorized

NewGetAgentsIDUnauthorized creates a GetAgentsIDUnauthorized with default headers values

func (*GetAgentsIDUnauthorized) Code

func (o *GetAgentsIDUnauthorized) Code() int

Code gets the status code for the get agents Id unauthorized response

func (*GetAgentsIDUnauthorized) Error

func (o *GetAgentsIDUnauthorized) Error() string

func (*GetAgentsIDUnauthorized) GetPayload

func (o *GetAgentsIDUnauthorized) GetPayload() *models.Unauthorized

func (*GetAgentsIDUnauthorized) IsClientError

func (o *GetAgentsIDUnauthorized) IsClientError() bool

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

func (*GetAgentsIDUnauthorized) IsCode

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

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

func (*GetAgentsIDUnauthorized) IsRedirect

func (o *GetAgentsIDUnauthorized) IsRedirect() bool

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

func (*GetAgentsIDUnauthorized) IsServerError

func (o *GetAgentsIDUnauthorized) IsServerError() bool

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

func (*GetAgentsIDUnauthorized) IsSuccess

func (o *GetAgentsIDUnauthorized) IsSuccess() bool

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

func (*GetAgentsIDUnauthorized) String

func (o *GetAgentsIDUnauthorized) String() string

type GetAgentsInternalServerError

type GetAgentsInternalServerError struct {
	Payload *models.Error
}

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

unexpected error

func NewGetAgentsInternalServerError

func NewGetAgentsInternalServerError() *GetAgentsInternalServerError

NewGetAgentsInternalServerError creates a GetAgentsInternalServerError with default headers values

func (*GetAgentsInternalServerError) Code

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

func (*GetAgentsInternalServerError) Error

func (*GetAgentsInternalServerError) GetPayload

func (o *GetAgentsInternalServerError) GetPayload() *models.Error

func (*GetAgentsInternalServerError) IsClientError

func (o *GetAgentsInternalServerError) IsClientError() bool

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

func (*GetAgentsInternalServerError) IsCode

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

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

func (*GetAgentsInternalServerError) IsRedirect

func (o *GetAgentsInternalServerError) IsRedirect() bool

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

func (*GetAgentsInternalServerError) IsServerError

func (o *GetAgentsInternalServerError) IsServerError() bool

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

func (*GetAgentsInternalServerError) IsSuccess

func (o *GetAgentsInternalServerError) IsSuccess() bool

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

func (*GetAgentsInternalServerError) String

type GetAgentsOK

type GetAgentsOK struct {
	Payload *models.PagedAgent
}

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

Array of agents

func NewGetAgentsOK

func NewGetAgentsOK() *GetAgentsOK

NewGetAgentsOK creates a GetAgentsOK with default headers values

func (*GetAgentsOK) Code

func (o *GetAgentsOK) Code() int

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

func (*GetAgentsOK) Error

func (o *GetAgentsOK) Error() string

func (*GetAgentsOK) GetPayload

func (o *GetAgentsOK) GetPayload() *models.PagedAgent

func (*GetAgentsOK) IsClientError

func (o *GetAgentsOK) IsClientError() bool

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

func (*GetAgentsOK) IsCode

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

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

func (*GetAgentsOK) IsRedirect

func (o *GetAgentsOK) IsRedirect() bool

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

func (*GetAgentsOK) IsServerError

func (o *GetAgentsOK) IsServerError() bool

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

func (*GetAgentsOK) IsSuccess

func (o *GetAgentsOK) IsSuccess() bool

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

func (*GetAgentsOK) String

func (o *GetAgentsOK) String() string

type GetAgentsParams

type GetAgentsParams struct {

	/* Filter.

	     JSON based filter.
	Filter json can contain following fields:
	* securityProfile (Agents securityProfiles can be "RSA_3072", "SHARED_SECRET")
	E.g.: {"securityProfile":"SHARED_SECRET"}
	* id
	E.g.: {"id":"3b27818ea09a46b48c7eb3fbd878349f"}
	* name
	E.g.: {"name":"Nanobox Agent"}

	*/
	Filter *string

	/* Page.

	   The (0-based) index of page.

	   Format: int32
	*/
	Page *int32

	/* Size.

	   The maximum number of elements in a page.

	   Format: int32
	   Default: 20
	*/
	Size *int32

	/* Sort.

	     The order of returned elements.
	Multiple fields could be used separated by commas (e.g. ”field1,field2”).
	Descending order could be requested by appending ”,desc” at the end of parameter.(e.g. ”field1,field2,desc”)'

	*/
	Sort *string

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

GetAgentsParams contains all the parameters to send to the API endpoint

for the get agents operation.

Typically these are written to a http.Request.

func NewGetAgentsParams

func NewGetAgentsParams() *GetAgentsParams

NewGetAgentsParams creates a new GetAgentsParams 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 NewGetAgentsParamsWithContext

func NewGetAgentsParamsWithContext(ctx context.Context) *GetAgentsParams

NewGetAgentsParamsWithContext creates a new GetAgentsParams object with the ability to set a context for a request.

func NewGetAgentsParamsWithHTTPClient

func NewGetAgentsParamsWithHTTPClient(client *http.Client) *GetAgentsParams

NewGetAgentsParamsWithHTTPClient creates a new GetAgentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAgentsParamsWithTimeout

func NewGetAgentsParamsWithTimeout(timeout time.Duration) *GetAgentsParams

NewGetAgentsParamsWithTimeout creates a new GetAgentsParams object with the ability to set a timeout on a request.

func (*GetAgentsParams) SetContext

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

SetContext adds the context to the get agents params

func (*GetAgentsParams) SetDefaults

func (o *GetAgentsParams) SetDefaults()

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

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

func (*GetAgentsParams) SetFilter

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

SetFilter adds the filter to the get agents params

func (*GetAgentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agents params

func (*GetAgentsParams) SetPage

func (o *GetAgentsParams) SetPage(page *int32)

SetPage adds the page to the get agents params

func (*GetAgentsParams) SetSize

func (o *GetAgentsParams) SetSize(size *int32)

SetSize adds the size to the get agents params

func (*GetAgentsParams) SetSort

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

SetSort adds the sort to the get agents params

func (*GetAgentsParams) SetTimeout

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

SetTimeout adds the timeout to the get agents params

func (*GetAgentsParams) WithContext

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

WithContext adds the context to the get agents params

func (*GetAgentsParams) WithDefaults

func (o *GetAgentsParams) WithDefaults() *GetAgentsParams

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

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

func (*GetAgentsParams) WithFilter

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

WithFilter adds the filter to the get agents params

func (*GetAgentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get agents params

func (*GetAgentsParams) WithPage

func (o *GetAgentsParams) WithPage(page *int32) *GetAgentsParams

WithPage adds the page to the get agents params

func (*GetAgentsParams) WithSize

func (o *GetAgentsParams) WithSize(size *int32) *GetAgentsParams

WithSize adds the size to the get agents params

func (*GetAgentsParams) WithSort

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

WithSort adds the sort to the get agents params

func (*GetAgentsParams) WithTimeout

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

WithTimeout adds the timeout to the get agents params

func (*GetAgentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAgentsReader

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

GetAgentsReader is a Reader for the GetAgents structure.

func (*GetAgentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAgentsTooManyRequests

type GetAgentsTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

GetAgentsTooManyRequests describes a response with status code 429, with default header values.

API rate limit exceeded.

func NewGetAgentsTooManyRequests

func NewGetAgentsTooManyRequests() *GetAgentsTooManyRequests

NewGetAgentsTooManyRequests creates a GetAgentsTooManyRequests with default headers values

func (*GetAgentsTooManyRequests) Code

func (o *GetAgentsTooManyRequests) Code() int

Code gets the status code for the get agents too many requests response

func (*GetAgentsTooManyRequests) Error

func (o *GetAgentsTooManyRequests) Error() string

func (*GetAgentsTooManyRequests) GetPayload

func (*GetAgentsTooManyRequests) IsClientError

func (o *GetAgentsTooManyRequests) IsClientError() bool

IsClientError returns true when this get agents too many requests response has a 4xx status code

func (*GetAgentsTooManyRequests) IsCode

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

IsCode returns true when this get agents too many requests response a status code equal to that given

func (*GetAgentsTooManyRequests) IsRedirect

func (o *GetAgentsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get agents too many requests response has a 3xx status code

func (*GetAgentsTooManyRequests) IsServerError

func (o *GetAgentsTooManyRequests) IsServerError() bool

IsServerError returns true when this get agents too many requests response has a 5xx status code

func (*GetAgentsTooManyRequests) IsSuccess

func (o *GetAgentsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get agents too many requests response has a 2xx status code

func (*GetAgentsTooManyRequests) String

func (o *GetAgentsTooManyRequests) String() string

type GetAgentsUnauthorized

type GetAgentsUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewGetAgentsUnauthorized

func NewGetAgentsUnauthorized() *GetAgentsUnauthorized

NewGetAgentsUnauthorized creates a GetAgentsUnauthorized with default headers values

func (*GetAgentsUnauthorized) Code

func (o *GetAgentsUnauthorized) Code() int

Code gets the status code for the get agents unauthorized response

func (*GetAgentsUnauthorized) Error

func (o *GetAgentsUnauthorized) Error() string

func (*GetAgentsUnauthorized) GetPayload

func (o *GetAgentsUnauthorized) GetPayload() *models.Unauthorized

func (*GetAgentsUnauthorized) IsClientError

func (o *GetAgentsUnauthorized) IsClientError() bool

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

func (*GetAgentsUnauthorized) IsCode

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

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

func (*GetAgentsUnauthorized) IsRedirect

func (o *GetAgentsUnauthorized) IsRedirect() bool

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

func (*GetAgentsUnauthorized) IsServerError

func (o *GetAgentsUnauthorized) IsServerError() bool

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

func (*GetAgentsUnauthorized) IsSuccess

func (o *GetAgentsUnauthorized) IsSuccess() bool

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

func (*GetAgentsUnauthorized) String

func (o *GetAgentsUnauthorized) String() string

type PostAgentsBadRequest

type PostAgentsBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewPostAgentsBadRequest

func NewPostAgentsBadRequest() *PostAgentsBadRequest

NewPostAgentsBadRequest creates a PostAgentsBadRequest with default headers values

func (*PostAgentsBadRequest) Code

func (o *PostAgentsBadRequest) Code() int

Code gets the status code for the post agents bad request response

func (*PostAgentsBadRequest) Error

func (o *PostAgentsBadRequest) Error() string

func (*PostAgentsBadRequest) GetPayload

func (o *PostAgentsBadRequest) GetPayload() *models.Badrequest

func (*PostAgentsBadRequest) IsClientError

func (o *PostAgentsBadRequest) IsClientError() bool

IsClientError returns true when this post agents bad request response has a 4xx status code

func (*PostAgentsBadRequest) IsCode

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

IsCode returns true when this post agents bad request response a status code equal to that given

func (*PostAgentsBadRequest) IsRedirect

func (o *PostAgentsBadRequest) IsRedirect() bool

IsRedirect returns true when this post agents bad request response has a 3xx status code

func (*PostAgentsBadRequest) IsServerError

func (o *PostAgentsBadRequest) IsServerError() bool

IsServerError returns true when this post agents bad request response has a 5xx status code

func (*PostAgentsBadRequest) IsSuccess

func (o *PostAgentsBadRequest) IsSuccess() bool

IsSuccess returns true when this post agents bad request response has a 2xx status code

func (*PostAgentsBadRequest) String

func (o *PostAgentsBadRequest) String() string

type PostAgentsConflict

type PostAgentsConflict struct {
	Payload *models.Conflict
}

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

Resource is already available.

func NewPostAgentsConflict

func NewPostAgentsConflict() *PostAgentsConflict

NewPostAgentsConflict creates a PostAgentsConflict with default headers values

func (*PostAgentsConflict) Code

func (o *PostAgentsConflict) Code() int

Code gets the status code for the post agents conflict response

func (*PostAgentsConflict) Error

func (o *PostAgentsConflict) Error() string

func (*PostAgentsConflict) GetPayload

func (o *PostAgentsConflict) GetPayload() *models.Conflict

func (*PostAgentsConflict) IsClientError

func (o *PostAgentsConflict) IsClientError() bool

IsClientError returns true when this post agents conflict response has a 4xx status code

func (*PostAgentsConflict) IsCode

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

IsCode returns true when this post agents conflict response a status code equal to that given

func (*PostAgentsConflict) IsRedirect

func (o *PostAgentsConflict) IsRedirect() bool

IsRedirect returns true when this post agents conflict response has a 3xx status code

func (*PostAgentsConflict) IsServerError

func (o *PostAgentsConflict) IsServerError() bool

IsServerError returns true when this post agents conflict response has a 5xx status code

func (*PostAgentsConflict) IsSuccess

func (o *PostAgentsConflict) IsSuccess() bool

IsSuccess returns true when this post agents conflict response has a 2xx status code

func (*PostAgentsConflict) String

func (o *PostAgentsConflict) String() string

type PostAgentsCreated

type PostAgentsCreated struct {
	Payload *models.Agent
}

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

Created

func NewPostAgentsCreated

func NewPostAgentsCreated() *PostAgentsCreated

NewPostAgentsCreated creates a PostAgentsCreated with default headers values

func (*PostAgentsCreated) Code

func (o *PostAgentsCreated) Code() int

Code gets the status code for the post agents created response

func (*PostAgentsCreated) Error

func (o *PostAgentsCreated) Error() string

func (*PostAgentsCreated) GetPayload

func (o *PostAgentsCreated) GetPayload() *models.Agent

func (*PostAgentsCreated) IsClientError

func (o *PostAgentsCreated) IsClientError() bool

IsClientError returns true when this post agents created response has a 4xx status code

func (*PostAgentsCreated) IsCode

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

IsCode returns true when this post agents created response a status code equal to that given

func (*PostAgentsCreated) IsRedirect

func (o *PostAgentsCreated) IsRedirect() bool

IsRedirect returns true when this post agents created response has a 3xx status code

func (*PostAgentsCreated) IsServerError

func (o *PostAgentsCreated) IsServerError() bool

IsServerError returns true when this post agents created response has a 5xx status code

func (*PostAgentsCreated) IsSuccess

func (o *PostAgentsCreated) IsSuccess() bool

IsSuccess returns true when this post agents created response has a 2xx status code

func (*PostAgentsCreated) String

func (o *PostAgentsCreated) String() string

type PostAgentsDefault

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

PostAgentsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPostAgentsDefault

func NewPostAgentsDefault(code int) *PostAgentsDefault

NewPostAgentsDefault creates a PostAgentsDefault with default headers values

func (*PostAgentsDefault) Code

func (o *PostAgentsDefault) Code() int

Code gets the status code for the post agents default response

func (*PostAgentsDefault) Error

func (o *PostAgentsDefault) Error() string

func (*PostAgentsDefault) IsClientError

func (o *PostAgentsDefault) IsClientError() bool

IsClientError returns true when this post agents default response has a 4xx status code

func (*PostAgentsDefault) IsCode

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

IsCode returns true when this post agents default response a status code equal to that given

func (*PostAgentsDefault) IsRedirect

func (o *PostAgentsDefault) IsRedirect() bool

IsRedirect returns true when this post agents default response has a 3xx status code

func (*PostAgentsDefault) IsServerError

func (o *PostAgentsDefault) IsServerError() bool

IsServerError returns true when this post agents default response has a 5xx status code

func (*PostAgentsDefault) IsSuccess

func (o *PostAgentsDefault) IsSuccess() bool

IsSuccess returns true when this post agents default response has a 2xx status code

func (*PostAgentsDefault) String

func (o *PostAgentsDefault) String() string

type PostAgentsForbidden

type PostAgentsForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewPostAgentsForbidden

func NewPostAgentsForbidden() *PostAgentsForbidden

NewPostAgentsForbidden creates a PostAgentsForbidden with default headers values

func (*PostAgentsForbidden) Code

func (o *PostAgentsForbidden) Code() int

Code gets the status code for the post agents forbidden response

func (*PostAgentsForbidden) Error

func (o *PostAgentsForbidden) Error() string

func (*PostAgentsForbidden) GetPayload

func (o *PostAgentsForbidden) GetPayload() *models.Forbidden

func (*PostAgentsForbidden) IsClientError

func (o *PostAgentsForbidden) IsClientError() bool

IsClientError returns true when this post agents forbidden response has a 4xx status code

func (*PostAgentsForbidden) IsCode

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

IsCode returns true when this post agents forbidden response a status code equal to that given

func (*PostAgentsForbidden) IsRedirect

func (o *PostAgentsForbidden) IsRedirect() bool

IsRedirect returns true when this post agents forbidden response has a 3xx status code

func (*PostAgentsForbidden) IsServerError

func (o *PostAgentsForbidden) IsServerError() bool

IsServerError returns true when this post agents forbidden response has a 5xx status code

func (*PostAgentsForbidden) IsSuccess

func (o *PostAgentsForbidden) IsSuccess() bool

IsSuccess returns true when this post agents forbidden response has a 2xx status code

func (*PostAgentsForbidden) String

func (o *PostAgentsForbidden) String() string

type PostAgentsInternalServerError

type PostAgentsInternalServerError struct {
	Payload *models.Error
}

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

unexpected error

func NewPostAgentsInternalServerError

func NewPostAgentsInternalServerError() *PostAgentsInternalServerError

NewPostAgentsInternalServerError creates a PostAgentsInternalServerError with default headers values

func (*PostAgentsInternalServerError) Code

Code gets the status code for the post agents internal server error response

func (*PostAgentsInternalServerError) Error

func (*PostAgentsInternalServerError) GetPayload

func (o *PostAgentsInternalServerError) GetPayload() *models.Error

func (*PostAgentsInternalServerError) IsClientError

func (o *PostAgentsInternalServerError) IsClientError() bool

IsClientError returns true when this post agents internal server error response has a 4xx status code

func (*PostAgentsInternalServerError) IsCode

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

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

func (*PostAgentsInternalServerError) IsRedirect

func (o *PostAgentsInternalServerError) IsRedirect() bool

IsRedirect returns true when this post agents internal server error response has a 3xx status code

func (*PostAgentsInternalServerError) IsServerError

func (o *PostAgentsInternalServerError) IsServerError() bool

IsServerError returns true when this post agents internal server error response has a 5xx status code

func (*PostAgentsInternalServerError) IsSuccess

func (o *PostAgentsInternalServerError) IsSuccess() bool

IsSuccess returns true when this post agents internal server error response has a 2xx status code

func (*PostAgentsInternalServerError) String

type PostAgentsParams

type PostAgentsParams struct {

	/* Agent.

	   Object describing new agent resource.
	*/
	Agent *models.CreateAgentRequest

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

PostAgentsParams contains all the parameters to send to the API endpoint

for the post agents operation.

Typically these are written to a http.Request.

func NewPostAgentsParams

func NewPostAgentsParams() *PostAgentsParams

NewPostAgentsParams creates a new PostAgentsParams 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 NewPostAgentsParamsWithContext

func NewPostAgentsParamsWithContext(ctx context.Context) *PostAgentsParams

NewPostAgentsParamsWithContext creates a new PostAgentsParams object with the ability to set a context for a request.

func NewPostAgentsParamsWithHTTPClient

func NewPostAgentsParamsWithHTTPClient(client *http.Client) *PostAgentsParams

NewPostAgentsParamsWithHTTPClient creates a new PostAgentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostAgentsParamsWithTimeout

func NewPostAgentsParamsWithTimeout(timeout time.Duration) *PostAgentsParams

NewPostAgentsParamsWithTimeout creates a new PostAgentsParams object with the ability to set a timeout on a request.

func (*PostAgentsParams) SetAgent

func (o *PostAgentsParams) SetAgent(agent *models.CreateAgentRequest)

SetAgent adds the agent to the post agents params

func (*PostAgentsParams) SetContext

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

SetContext adds the context to the post agents params

func (*PostAgentsParams) SetDefaults

func (o *PostAgentsParams) SetDefaults()

SetDefaults hydrates default values in the post agents params (not the query body).

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

func (*PostAgentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post agents params

func (*PostAgentsParams) SetTimeout

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

SetTimeout adds the timeout to the post agents params

func (*PostAgentsParams) WithAgent

WithAgent adds the agent to the post agents params

func (*PostAgentsParams) WithContext

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

WithContext adds the context to the post agents params

func (*PostAgentsParams) WithDefaults

func (o *PostAgentsParams) WithDefaults() *PostAgentsParams

WithDefaults hydrates default values in the post agents params (not the query body).

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

func (*PostAgentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post agents params

func (*PostAgentsParams) WithTimeout

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

WithTimeout adds the timeout to the post agents params

func (*PostAgentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAgentsReader

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

PostAgentsReader is a Reader for the PostAgents structure.

func (*PostAgentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAgentsTooManyRequests

type PostAgentsTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

PostAgentsTooManyRequests describes a response with status code 429, with default header values.

API rate limit exceeded.

func NewPostAgentsTooManyRequests

func NewPostAgentsTooManyRequests() *PostAgentsTooManyRequests

NewPostAgentsTooManyRequests creates a PostAgentsTooManyRequests with default headers values

func (*PostAgentsTooManyRequests) Code

func (o *PostAgentsTooManyRequests) Code() int

Code gets the status code for the post agents too many requests response

func (*PostAgentsTooManyRequests) Error

func (o *PostAgentsTooManyRequests) Error() string

func (*PostAgentsTooManyRequests) GetPayload

func (*PostAgentsTooManyRequests) IsClientError

func (o *PostAgentsTooManyRequests) IsClientError() bool

IsClientError returns true when this post agents too many requests response has a 4xx status code

func (*PostAgentsTooManyRequests) IsCode

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

IsCode returns true when this post agents too many requests response a status code equal to that given

func (*PostAgentsTooManyRequests) IsRedirect

func (o *PostAgentsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this post agents too many requests response has a 3xx status code

func (*PostAgentsTooManyRequests) IsServerError

func (o *PostAgentsTooManyRequests) IsServerError() bool

IsServerError returns true when this post agents too many requests response has a 5xx status code

func (*PostAgentsTooManyRequests) IsSuccess

func (o *PostAgentsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this post agents too many requests response has a 2xx status code

func (*PostAgentsTooManyRequests) String

func (o *PostAgentsTooManyRequests) String() string

type PostAgentsUnauthorized

type PostAgentsUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewPostAgentsUnauthorized

func NewPostAgentsUnauthorized() *PostAgentsUnauthorized

NewPostAgentsUnauthorized creates a PostAgentsUnauthorized with default headers values

func (*PostAgentsUnauthorized) Code

func (o *PostAgentsUnauthorized) Code() int

Code gets the status code for the post agents unauthorized response

func (*PostAgentsUnauthorized) Error

func (o *PostAgentsUnauthorized) Error() string

func (*PostAgentsUnauthorized) GetPayload

func (o *PostAgentsUnauthorized) GetPayload() *models.Unauthorized

func (*PostAgentsUnauthorized) IsClientError

func (o *PostAgentsUnauthorized) IsClientError() bool

IsClientError returns true when this post agents unauthorized response has a 4xx status code

func (*PostAgentsUnauthorized) IsCode

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

IsCode returns true when this post agents unauthorized response a status code equal to that given

func (*PostAgentsUnauthorized) IsRedirect

func (o *PostAgentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this post agents unauthorized response has a 3xx status code

func (*PostAgentsUnauthorized) IsServerError

func (o *PostAgentsUnauthorized) IsServerError() bool

IsServerError returns true when this post agents unauthorized response has a 5xx status code

func (*PostAgentsUnauthorized) IsSuccess

func (o *PostAgentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this post agents unauthorized response has a 2xx status code

func (*PostAgentsUnauthorized) String

func (o *PostAgentsUnauthorized) String() string

type PutAgentsIDBadRequest

type PutAgentsIDBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewPutAgentsIDBadRequest

func NewPutAgentsIDBadRequest() *PutAgentsIDBadRequest

NewPutAgentsIDBadRequest creates a PutAgentsIDBadRequest with default headers values

func (*PutAgentsIDBadRequest) Code

func (o *PutAgentsIDBadRequest) Code() int

Code gets the status code for the put agents Id bad request response

func (*PutAgentsIDBadRequest) Error

func (o *PutAgentsIDBadRequest) Error() string

func (*PutAgentsIDBadRequest) GetPayload

func (o *PutAgentsIDBadRequest) GetPayload() *models.Badrequest

func (*PutAgentsIDBadRequest) IsClientError

func (o *PutAgentsIDBadRequest) IsClientError() bool

IsClientError returns true when this put agents Id bad request response has a 4xx status code

func (*PutAgentsIDBadRequest) IsCode

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

IsCode returns true when this put agents Id bad request response a status code equal to that given

func (*PutAgentsIDBadRequest) IsRedirect

func (o *PutAgentsIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put agents Id bad request response has a 3xx status code

func (*PutAgentsIDBadRequest) IsServerError

func (o *PutAgentsIDBadRequest) IsServerError() bool

IsServerError returns true when this put agents Id bad request response has a 5xx status code

func (*PutAgentsIDBadRequest) IsSuccess

func (o *PutAgentsIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put agents Id bad request response has a 2xx status code

func (*PutAgentsIDBadRequest) String

func (o *PutAgentsIDBadRequest) String() string

type PutAgentsIDConflict

type PutAgentsIDConflict struct {
	Payload *models.Conflict
}

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

Resource is already available.

func NewPutAgentsIDConflict

func NewPutAgentsIDConflict() *PutAgentsIDConflict

NewPutAgentsIDConflict creates a PutAgentsIDConflict with default headers values

func (*PutAgentsIDConflict) Code

func (o *PutAgentsIDConflict) Code() int

Code gets the status code for the put agents Id conflict response

func (*PutAgentsIDConflict) Error

func (o *PutAgentsIDConflict) Error() string

func (*PutAgentsIDConflict) GetPayload

func (o *PutAgentsIDConflict) GetPayload() *models.Conflict

func (*PutAgentsIDConflict) IsClientError

func (o *PutAgentsIDConflict) IsClientError() bool

IsClientError returns true when this put agents Id conflict response has a 4xx status code

func (*PutAgentsIDConflict) IsCode

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

IsCode returns true when this put agents Id conflict response a status code equal to that given

func (*PutAgentsIDConflict) IsRedirect

func (o *PutAgentsIDConflict) IsRedirect() bool

IsRedirect returns true when this put agents Id conflict response has a 3xx status code

func (*PutAgentsIDConflict) IsServerError

func (o *PutAgentsIDConflict) IsServerError() bool

IsServerError returns true when this put agents Id conflict response has a 5xx status code

func (*PutAgentsIDConflict) IsSuccess

func (o *PutAgentsIDConflict) IsSuccess() bool

IsSuccess returns true when this put agents Id conflict response has a 2xx status code

func (*PutAgentsIDConflict) String

func (o *PutAgentsIDConflict) String() string

type PutAgentsIDDefault

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

PutAgentsIDDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPutAgentsIDDefault

func NewPutAgentsIDDefault(code int) *PutAgentsIDDefault

NewPutAgentsIDDefault creates a PutAgentsIDDefault with default headers values

func (*PutAgentsIDDefault) Code

func (o *PutAgentsIDDefault) Code() int

Code gets the status code for the put agents ID default response

func (*PutAgentsIDDefault) Error

func (o *PutAgentsIDDefault) Error() string

func (*PutAgentsIDDefault) IsClientError

func (o *PutAgentsIDDefault) IsClientError() bool

IsClientError returns true when this put agents ID default response has a 4xx status code

func (*PutAgentsIDDefault) IsCode

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

IsCode returns true when this put agents ID default response a status code equal to that given

func (*PutAgentsIDDefault) IsRedirect

func (o *PutAgentsIDDefault) IsRedirect() bool

IsRedirect returns true when this put agents ID default response has a 3xx status code

func (*PutAgentsIDDefault) IsServerError

func (o *PutAgentsIDDefault) IsServerError() bool

IsServerError returns true when this put agents ID default response has a 5xx status code

func (*PutAgentsIDDefault) IsSuccess

func (o *PutAgentsIDDefault) IsSuccess() bool

IsSuccess returns true when this put agents ID default response has a 2xx status code

func (*PutAgentsIDDefault) String

func (o *PutAgentsIDDefault) String() string

type PutAgentsIDForbidden

type PutAgentsIDForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewPutAgentsIDForbidden

func NewPutAgentsIDForbidden() *PutAgentsIDForbidden

NewPutAgentsIDForbidden creates a PutAgentsIDForbidden with default headers values

func (*PutAgentsIDForbidden) Code

func (o *PutAgentsIDForbidden) Code() int

Code gets the status code for the put agents Id forbidden response

func (*PutAgentsIDForbidden) Error

func (o *PutAgentsIDForbidden) Error() string

func (*PutAgentsIDForbidden) GetPayload

func (o *PutAgentsIDForbidden) GetPayload() *models.Forbidden

func (*PutAgentsIDForbidden) IsClientError

func (o *PutAgentsIDForbidden) IsClientError() bool

IsClientError returns true when this put agents Id forbidden response has a 4xx status code

func (*PutAgentsIDForbidden) IsCode

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

IsCode returns true when this put agents Id forbidden response a status code equal to that given

func (*PutAgentsIDForbidden) IsRedirect

func (o *PutAgentsIDForbidden) IsRedirect() bool

IsRedirect returns true when this put agents Id forbidden response has a 3xx status code

func (*PutAgentsIDForbidden) IsServerError

func (o *PutAgentsIDForbidden) IsServerError() bool

IsServerError returns true when this put agents Id forbidden response has a 5xx status code

func (*PutAgentsIDForbidden) IsSuccess

func (o *PutAgentsIDForbidden) IsSuccess() bool

IsSuccess returns true when this put agents Id forbidden response has a 2xx status code

func (*PutAgentsIDForbidden) String

func (o *PutAgentsIDForbidden) String() string

type PutAgentsIDInternalServerError

type PutAgentsIDInternalServerError struct {
	Payload *models.Error
}

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

unexpected error

func NewPutAgentsIDInternalServerError

func NewPutAgentsIDInternalServerError() *PutAgentsIDInternalServerError

NewPutAgentsIDInternalServerError creates a PutAgentsIDInternalServerError with default headers values

func (*PutAgentsIDInternalServerError) Code

Code gets the status code for the put agents Id internal server error response

func (*PutAgentsIDInternalServerError) Error

func (*PutAgentsIDInternalServerError) GetPayload

func (o *PutAgentsIDInternalServerError) GetPayload() *models.Error

func (*PutAgentsIDInternalServerError) IsClientError

func (o *PutAgentsIDInternalServerError) IsClientError() bool

IsClientError returns true when this put agents Id internal server error response has a 4xx status code

func (*PutAgentsIDInternalServerError) IsCode

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

IsCode returns true when this put agents Id internal server error response a status code equal to that given

func (*PutAgentsIDInternalServerError) IsRedirect

func (o *PutAgentsIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this put agents Id internal server error response has a 3xx status code

func (*PutAgentsIDInternalServerError) IsServerError

func (o *PutAgentsIDInternalServerError) IsServerError() bool

IsServerError returns true when this put agents Id internal server error response has a 5xx status code

func (*PutAgentsIDInternalServerError) IsSuccess

func (o *PutAgentsIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this put agents Id internal server error response has a 2xx status code

func (*PutAgentsIDInternalServerError) String

type PutAgentsIDNotFound

type PutAgentsIDNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewPutAgentsIDNotFound

func NewPutAgentsIDNotFound() *PutAgentsIDNotFound

NewPutAgentsIDNotFound creates a PutAgentsIDNotFound with default headers values

func (*PutAgentsIDNotFound) Code

func (o *PutAgentsIDNotFound) Code() int

Code gets the status code for the put agents Id not found response

func (*PutAgentsIDNotFound) Error

func (o *PutAgentsIDNotFound) Error() string

func (*PutAgentsIDNotFound) GetPayload

func (o *PutAgentsIDNotFound) GetPayload() *models.Notfound

func (*PutAgentsIDNotFound) IsClientError

func (o *PutAgentsIDNotFound) IsClientError() bool

IsClientError returns true when this put agents Id not found response has a 4xx status code

func (*PutAgentsIDNotFound) IsCode

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

IsCode returns true when this put agents Id not found response a status code equal to that given

func (*PutAgentsIDNotFound) IsRedirect

func (o *PutAgentsIDNotFound) IsRedirect() bool

IsRedirect returns true when this put agents Id not found response has a 3xx status code

func (*PutAgentsIDNotFound) IsServerError

func (o *PutAgentsIDNotFound) IsServerError() bool

IsServerError returns true when this put agents Id not found response has a 5xx status code

func (*PutAgentsIDNotFound) IsSuccess

func (o *PutAgentsIDNotFound) IsSuccess() bool

IsSuccess returns true when this put agents Id not found response has a 2xx status code

func (*PutAgentsIDNotFound) String

func (o *PutAgentsIDNotFound) String() string

type PutAgentsIDOK

type PutAgentsIDOK struct {
	Payload *models.Agent
}

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

OK

func NewPutAgentsIDOK

func NewPutAgentsIDOK() *PutAgentsIDOK

NewPutAgentsIDOK creates a PutAgentsIDOK with default headers values

func (*PutAgentsIDOK) Code

func (o *PutAgentsIDOK) Code() int

Code gets the status code for the put agents Id o k response

func (*PutAgentsIDOK) Error

func (o *PutAgentsIDOK) Error() string

func (*PutAgentsIDOK) GetPayload

func (o *PutAgentsIDOK) GetPayload() *models.Agent

func (*PutAgentsIDOK) IsClientError

func (o *PutAgentsIDOK) IsClientError() bool

IsClientError returns true when this put agents Id o k response has a 4xx status code

func (*PutAgentsIDOK) IsCode

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

IsCode returns true when this put agents Id o k response a status code equal to that given

func (*PutAgentsIDOK) IsRedirect

func (o *PutAgentsIDOK) IsRedirect() bool

IsRedirect returns true when this put agents Id o k response has a 3xx status code

func (*PutAgentsIDOK) IsServerError

func (o *PutAgentsIDOK) IsServerError() bool

IsServerError returns true when this put agents Id o k response has a 5xx status code

func (*PutAgentsIDOK) IsSuccess

func (o *PutAgentsIDOK) IsSuccess() bool

IsSuccess returns true when this put agents Id o k response has a 2xx status code

func (*PutAgentsIDOK) String

func (o *PutAgentsIDOK) String() string

type PutAgentsIDParams

type PutAgentsIDParams struct {

	/* IfMatch.

	   ETag number of resource.
	*/
	IfMatch string

	/* Agent.

	   Agent update dto to update agent.
	*/
	Agent *models.UpdateAgentRequest

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

PutAgentsIDParams contains all the parameters to send to the API endpoint

for the put agents ID operation.

Typically these are written to a http.Request.

func NewPutAgentsIDParams

func NewPutAgentsIDParams() *PutAgentsIDParams

NewPutAgentsIDParams creates a new PutAgentsIDParams 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 NewPutAgentsIDParamsWithContext

func NewPutAgentsIDParamsWithContext(ctx context.Context) *PutAgentsIDParams

NewPutAgentsIDParamsWithContext creates a new PutAgentsIDParams object with the ability to set a context for a request.

func NewPutAgentsIDParamsWithHTTPClient

func NewPutAgentsIDParamsWithHTTPClient(client *http.Client) *PutAgentsIDParams

NewPutAgentsIDParamsWithHTTPClient creates a new PutAgentsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutAgentsIDParamsWithTimeout

func NewPutAgentsIDParamsWithTimeout(timeout time.Duration) *PutAgentsIDParams

NewPutAgentsIDParamsWithTimeout creates a new PutAgentsIDParams object with the ability to set a timeout on a request.

func (*PutAgentsIDParams) SetAgent

func (o *PutAgentsIDParams) SetAgent(agent *models.UpdateAgentRequest)

SetAgent adds the agent to the put agents ID params

func (*PutAgentsIDParams) SetContext

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

SetContext adds the context to the put agents ID params

func (*PutAgentsIDParams) SetDefaults

func (o *PutAgentsIDParams) SetDefaults()

SetDefaults hydrates default values in the put agents ID params (not the query body).

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

func (*PutAgentsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put agents ID params

func (*PutAgentsIDParams) SetID

func (o *PutAgentsIDParams) SetID(id string)

SetID adds the id to the put agents ID params

func (*PutAgentsIDParams) SetIfMatch

func (o *PutAgentsIDParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the put agents ID params

func (*PutAgentsIDParams) SetTimeout

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

SetTimeout adds the timeout to the put agents ID params

func (*PutAgentsIDParams) WithAgent

WithAgent adds the agent to the put agents ID params

func (*PutAgentsIDParams) WithContext

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

WithContext adds the context to the put agents ID params

func (*PutAgentsIDParams) WithDefaults

func (o *PutAgentsIDParams) WithDefaults() *PutAgentsIDParams

WithDefaults hydrates default values in the put agents ID params (not the query body).

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

func (*PutAgentsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put agents ID params

func (*PutAgentsIDParams) WithID

WithID adds the id to the put agents ID params

func (*PutAgentsIDParams) WithIfMatch

func (o *PutAgentsIDParams) WithIfMatch(ifMatch string) *PutAgentsIDParams

WithIfMatch adds the ifMatch to the put agents ID params

func (*PutAgentsIDParams) WithTimeout

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

WithTimeout adds the timeout to the put agents ID params

func (*PutAgentsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutAgentsIDPreconditionFailed

type PutAgentsIDPreconditionFailed struct {
	Payload *models.Preconditionfailed
}

PutAgentsIDPreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewPutAgentsIDPreconditionFailed

func NewPutAgentsIDPreconditionFailed() *PutAgentsIDPreconditionFailed

NewPutAgentsIDPreconditionFailed creates a PutAgentsIDPreconditionFailed with default headers values

func (*PutAgentsIDPreconditionFailed) Code

Code gets the status code for the put agents Id precondition failed response

func (*PutAgentsIDPreconditionFailed) Error

func (*PutAgentsIDPreconditionFailed) GetPayload

func (*PutAgentsIDPreconditionFailed) IsClientError

func (o *PutAgentsIDPreconditionFailed) IsClientError() bool

IsClientError returns true when this put agents Id precondition failed response has a 4xx status code

func (*PutAgentsIDPreconditionFailed) IsCode

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

IsCode returns true when this put agents Id precondition failed response a status code equal to that given

func (*PutAgentsIDPreconditionFailed) IsRedirect

func (o *PutAgentsIDPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this put agents Id precondition failed response has a 3xx status code

func (*PutAgentsIDPreconditionFailed) IsServerError

func (o *PutAgentsIDPreconditionFailed) IsServerError() bool

IsServerError returns true when this put agents Id precondition failed response has a 5xx status code

func (*PutAgentsIDPreconditionFailed) IsSuccess

func (o *PutAgentsIDPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this put agents Id precondition failed response has a 2xx status code

func (*PutAgentsIDPreconditionFailed) String

type PutAgentsIDReader

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

PutAgentsIDReader is a Reader for the PutAgentsID structure.

func (*PutAgentsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAgentsIDTooManyRequests

type PutAgentsIDTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

PutAgentsIDTooManyRequests describes a response with status code 429, with default header values.

API rate limit exceeded.

func NewPutAgentsIDTooManyRequests

func NewPutAgentsIDTooManyRequests() *PutAgentsIDTooManyRequests

NewPutAgentsIDTooManyRequests creates a PutAgentsIDTooManyRequests with default headers values

func (*PutAgentsIDTooManyRequests) Code

func (o *PutAgentsIDTooManyRequests) Code() int

Code gets the status code for the put agents Id too many requests response

func (*PutAgentsIDTooManyRequests) Error

func (*PutAgentsIDTooManyRequests) GetPayload

func (*PutAgentsIDTooManyRequests) IsClientError

func (o *PutAgentsIDTooManyRequests) IsClientError() bool

IsClientError returns true when this put agents Id too many requests response has a 4xx status code

func (*PutAgentsIDTooManyRequests) IsCode

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

IsCode returns true when this put agents Id too many requests response a status code equal to that given

func (*PutAgentsIDTooManyRequests) IsRedirect

func (o *PutAgentsIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put agents Id too many requests response has a 3xx status code

func (*PutAgentsIDTooManyRequests) IsServerError

func (o *PutAgentsIDTooManyRequests) IsServerError() bool

IsServerError returns true when this put agents Id too many requests response has a 5xx status code

func (*PutAgentsIDTooManyRequests) IsSuccess

func (o *PutAgentsIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this put agents Id too many requests response has a 2xx status code

func (*PutAgentsIDTooManyRequests) String

func (o *PutAgentsIDTooManyRequests) String() string

type PutAgentsIDUnauthorized

type PutAgentsIDUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewPutAgentsIDUnauthorized

func NewPutAgentsIDUnauthorized() *PutAgentsIDUnauthorized

NewPutAgentsIDUnauthorized creates a PutAgentsIDUnauthorized with default headers values

func (*PutAgentsIDUnauthorized) Code

func (o *PutAgentsIDUnauthorized) Code() int

Code gets the status code for the put agents Id unauthorized response

func (*PutAgentsIDUnauthorized) Error

func (o *PutAgentsIDUnauthorized) Error() string

func (*PutAgentsIDUnauthorized) GetPayload

func (o *PutAgentsIDUnauthorized) GetPayload() *models.Unauthorized

func (*PutAgentsIDUnauthorized) IsClientError

func (o *PutAgentsIDUnauthorized) IsClientError() bool

IsClientError returns true when this put agents Id unauthorized response has a 4xx status code

func (*PutAgentsIDUnauthorized) IsCode

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

IsCode returns true when this put agents Id unauthorized response a status code equal to that given

func (*PutAgentsIDUnauthorized) IsRedirect

func (o *PutAgentsIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this put agents Id unauthorized response has a 3xx status code

func (*PutAgentsIDUnauthorized) IsServerError

func (o *PutAgentsIDUnauthorized) IsServerError() bool

IsServerError returns true when this put agents Id unauthorized response has a 5xx status code

func (*PutAgentsIDUnauthorized) IsSuccess

func (o *PutAgentsIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this put agents Id unauthorized response has a 2xx status code

func (*PutAgentsIDUnauthorized) String

func (o *PutAgentsIDUnauthorized) String() string

Jump to

Keyboard shortcuts

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