Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAgentsID(params *DeleteAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAgentsIDNoContent, error)
- func (a *Client) GetAgents(params *GetAgentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentsOK, error)
- func (a *Client) GetAgentsID(params *GetAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentsIDOK, error)
- func (a *Client) GetAgentsIDStatus(params *GetAgentsIDStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentsIDStatusOK, error)
- func (a *Client) PostAgents(params *PostAgentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAgentsCreated, error)
- func (a *Client) PutAgentsID(params *PutAgentsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAgentsIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAgentsIDBadRequest
- func (o *DeleteAgentsIDBadRequest) Code() int
- func (o *DeleteAgentsIDBadRequest) Error() string
- func (o *DeleteAgentsIDBadRequest) GetPayload() *models.Badrequest
- func (o *DeleteAgentsIDBadRequest) IsClientError() bool
- func (o *DeleteAgentsIDBadRequest) IsCode(code int) bool
- func (o *DeleteAgentsIDBadRequest) IsRedirect() bool
- func (o *DeleteAgentsIDBadRequest) IsServerError() bool
- func (o *DeleteAgentsIDBadRequest) IsSuccess() bool
- func (o *DeleteAgentsIDBadRequest) String() string
- type DeleteAgentsIDDefault
- func (o *DeleteAgentsIDDefault) Code() int
- func (o *DeleteAgentsIDDefault) Error() string
- func (o *DeleteAgentsIDDefault) IsClientError() bool
- func (o *DeleteAgentsIDDefault) IsCode(code int) bool
- func (o *DeleteAgentsIDDefault) IsRedirect() bool
- func (o *DeleteAgentsIDDefault) IsServerError() bool
- func (o *DeleteAgentsIDDefault) IsSuccess() bool
- func (o *DeleteAgentsIDDefault) String() string
- type DeleteAgentsIDForbidden
- func (o *DeleteAgentsIDForbidden) Code() int
- func (o *DeleteAgentsIDForbidden) Error() string
- func (o *DeleteAgentsIDForbidden) GetPayload() *models.Forbidden
- func (o *DeleteAgentsIDForbidden) IsClientError() bool
- func (o *DeleteAgentsIDForbidden) IsCode(code int) bool
- func (o *DeleteAgentsIDForbidden) IsRedirect() bool
- func (o *DeleteAgentsIDForbidden) IsServerError() bool
- func (o *DeleteAgentsIDForbidden) IsSuccess() bool
- func (o *DeleteAgentsIDForbidden) String() string
- type DeleteAgentsIDInternalServerError
- func (o *DeleteAgentsIDInternalServerError) Code() int
- func (o *DeleteAgentsIDInternalServerError) Error() string
- func (o *DeleteAgentsIDInternalServerError) GetPayload() *models.Error
- func (o *DeleteAgentsIDInternalServerError) IsClientError() bool
- func (o *DeleteAgentsIDInternalServerError) IsCode(code int) bool
- func (o *DeleteAgentsIDInternalServerError) IsRedirect() bool
- func (o *DeleteAgentsIDInternalServerError) IsServerError() bool
- func (o *DeleteAgentsIDInternalServerError) IsSuccess() bool
- func (o *DeleteAgentsIDInternalServerError) String() string
- type DeleteAgentsIDNoContent
- func (o *DeleteAgentsIDNoContent) Code() int
- func (o *DeleteAgentsIDNoContent) Error() string
- func (o *DeleteAgentsIDNoContent) IsClientError() bool
- func (o *DeleteAgentsIDNoContent) IsCode(code int) bool
- func (o *DeleteAgentsIDNoContent) IsRedirect() bool
- func (o *DeleteAgentsIDNoContent) IsServerError() bool
- func (o *DeleteAgentsIDNoContent) IsSuccess() bool
- func (o *DeleteAgentsIDNoContent) String() string
- type DeleteAgentsIDNotFound
- func (o *DeleteAgentsIDNotFound) Code() int
- func (o *DeleteAgentsIDNotFound) Error() string
- func (o *DeleteAgentsIDNotFound) GetPayload() *models.Notfound
- func (o *DeleteAgentsIDNotFound) IsClientError() bool
- func (o *DeleteAgentsIDNotFound) IsCode(code int) bool
- func (o *DeleteAgentsIDNotFound) IsRedirect() bool
- func (o *DeleteAgentsIDNotFound) IsServerError() bool
- func (o *DeleteAgentsIDNotFound) IsSuccess() bool
- func (o *DeleteAgentsIDNotFound) String() string
- type DeleteAgentsIDParams
- func NewDeleteAgentsIDParams() *DeleteAgentsIDParams
- func NewDeleteAgentsIDParamsWithContext(ctx context.Context) *DeleteAgentsIDParams
- func NewDeleteAgentsIDParamsWithHTTPClient(client *http.Client) *DeleteAgentsIDParams
- func NewDeleteAgentsIDParamsWithTimeout(timeout time.Duration) *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) SetContext(ctx context.Context)
- func (o *DeleteAgentsIDParams) SetDefaults()
- func (o *DeleteAgentsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAgentsIDParams) SetID(id string)
- func (o *DeleteAgentsIDParams) SetIfMatch(ifMatch string)
- func (o *DeleteAgentsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAgentsIDParams) WithContext(ctx context.Context) *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) WithDefaults() *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) WithHTTPClient(client *http.Client) *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) WithID(id string) *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) WithIfMatch(ifMatch string) *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) WithTimeout(timeout time.Duration) *DeleteAgentsIDParams
- func (o *DeleteAgentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAgentsIDPreconditionFailed
- func (o *DeleteAgentsIDPreconditionFailed) Code() int
- func (o *DeleteAgentsIDPreconditionFailed) Error() string
- func (o *DeleteAgentsIDPreconditionFailed) GetPayload() *models.Preconditionfailed
- func (o *DeleteAgentsIDPreconditionFailed) IsClientError() bool
- func (o *DeleteAgentsIDPreconditionFailed) IsCode(code int) bool
- func (o *DeleteAgentsIDPreconditionFailed) IsRedirect() bool
- func (o *DeleteAgentsIDPreconditionFailed) IsServerError() bool
- func (o *DeleteAgentsIDPreconditionFailed) IsSuccess() bool
- func (o *DeleteAgentsIDPreconditionFailed) String() string
- type DeleteAgentsIDReader
- type DeleteAgentsIDTooManyRequests
- func (o *DeleteAgentsIDTooManyRequests) Code() int
- func (o *DeleteAgentsIDTooManyRequests) Error() string
- func (o *DeleteAgentsIDTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *DeleteAgentsIDTooManyRequests) IsClientError() bool
- func (o *DeleteAgentsIDTooManyRequests) IsCode(code int) bool
- func (o *DeleteAgentsIDTooManyRequests) IsRedirect() bool
- func (o *DeleteAgentsIDTooManyRequests) IsServerError() bool
- func (o *DeleteAgentsIDTooManyRequests) IsSuccess() bool
- func (o *DeleteAgentsIDTooManyRequests) String() string
- type DeleteAgentsIDUnauthorized
- func (o *DeleteAgentsIDUnauthorized) Code() int
- func (o *DeleteAgentsIDUnauthorized) Error() string
- func (o *DeleteAgentsIDUnauthorized) GetPayload() *models.Unauthorized
- func (o *DeleteAgentsIDUnauthorized) IsClientError() bool
- func (o *DeleteAgentsIDUnauthorized) IsCode(code int) bool
- func (o *DeleteAgentsIDUnauthorized) IsRedirect() bool
- func (o *DeleteAgentsIDUnauthorized) IsServerError() bool
- func (o *DeleteAgentsIDUnauthorized) IsSuccess() bool
- func (o *DeleteAgentsIDUnauthorized) String() string
- type GetAgentsBadRequest
- func (o *GetAgentsBadRequest) Code() int
- func (o *GetAgentsBadRequest) Error() string
- func (o *GetAgentsBadRequest) GetPayload() *models.Badrequest
- func (o *GetAgentsBadRequest) IsClientError() bool
- func (o *GetAgentsBadRequest) IsCode(code int) bool
- func (o *GetAgentsBadRequest) IsRedirect() bool
- func (o *GetAgentsBadRequest) IsServerError() bool
- func (o *GetAgentsBadRequest) IsSuccess() bool
- func (o *GetAgentsBadRequest) String() string
- type GetAgentsDefault
- func (o *GetAgentsDefault) Code() int
- func (o *GetAgentsDefault) Error() string
- func (o *GetAgentsDefault) IsClientError() bool
- func (o *GetAgentsDefault) IsCode(code int) bool
- func (o *GetAgentsDefault) IsRedirect() bool
- func (o *GetAgentsDefault) IsServerError() bool
- func (o *GetAgentsDefault) IsSuccess() bool
- func (o *GetAgentsDefault) String() string
- type GetAgentsForbidden
- func (o *GetAgentsForbidden) Code() int
- func (o *GetAgentsForbidden) Error() string
- func (o *GetAgentsForbidden) GetPayload() *models.Forbidden
- func (o *GetAgentsForbidden) IsClientError() bool
- func (o *GetAgentsForbidden) IsCode(code int) bool
- func (o *GetAgentsForbidden) IsRedirect() bool
- func (o *GetAgentsForbidden) IsServerError() bool
- func (o *GetAgentsForbidden) IsSuccess() bool
- func (o *GetAgentsForbidden) String() string
- type GetAgentsIDBadRequest
- func (o *GetAgentsIDBadRequest) Code() int
- func (o *GetAgentsIDBadRequest) Error() string
- func (o *GetAgentsIDBadRequest) GetPayload() *models.Badrequest
- func (o *GetAgentsIDBadRequest) IsClientError() bool
- func (o *GetAgentsIDBadRequest) IsCode(code int) bool
- func (o *GetAgentsIDBadRequest) IsRedirect() bool
- func (o *GetAgentsIDBadRequest) IsServerError() bool
- func (o *GetAgentsIDBadRequest) IsSuccess() bool
- func (o *GetAgentsIDBadRequest) String() string
- type GetAgentsIDDefault
- func (o *GetAgentsIDDefault) Code() int
- func (o *GetAgentsIDDefault) Error() string
- func (o *GetAgentsIDDefault) IsClientError() bool
- func (o *GetAgentsIDDefault) IsCode(code int) bool
- func (o *GetAgentsIDDefault) IsRedirect() bool
- func (o *GetAgentsIDDefault) IsServerError() bool
- func (o *GetAgentsIDDefault) IsSuccess() bool
- func (o *GetAgentsIDDefault) String() string
- type GetAgentsIDForbidden
- func (o *GetAgentsIDForbidden) Code() int
- func (o *GetAgentsIDForbidden) Error() string
- func (o *GetAgentsIDForbidden) GetPayload() *models.Forbidden
- func (o *GetAgentsIDForbidden) IsClientError() bool
- func (o *GetAgentsIDForbidden) IsCode(code int) bool
- func (o *GetAgentsIDForbidden) IsRedirect() bool
- func (o *GetAgentsIDForbidden) IsServerError() bool
- func (o *GetAgentsIDForbidden) IsSuccess() bool
- func (o *GetAgentsIDForbidden) String() string
- type GetAgentsIDInternalServerError
- func (o *GetAgentsIDInternalServerError) Code() int
- func (o *GetAgentsIDInternalServerError) Error() string
- func (o *GetAgentsIDInternalServerError) GetPayload() *models.Error
- func (o *GetAgentsIDInternalServerError) IsClientError() bool
- func (o *GetAgentsIDInternalServerError) IsCode(code int) bool
- func (o *GetAgentsIDInternalServerError) IsRedirect() bool
- func (o *GetAgentsIDInternalServerError) IsServerError() bool
- func (o *GetAgentsIDInternalServerError) IsSuccess() bool
- func (o *GetAgentsIDInternalServerError) String() string
- type GetAgentsIDNotFound
- func (o *GetAgentsIDNotFound) Code() int
- func (o *GetAgentsIDNotFound) Error() string
- func (o *GetAgentsIDNotFound) GetPayload() *models.Notfound
- func (o *GetAgentsIDNotFound) IsClientError() bool
- func (o *GetAgentsIDNotFound) IsCode(code int) bool
- func (o *GetAgentsIDNotFound) IsRedirect() bool
- func (o *GetAgentsIDNotFound) IsServerError() bool
- func (o *GetAgentsIDNotFound) IsSuccess() bool
- func (o *GetAgentsIDNotFound) String() string
- type GetAgentsIDOK
- func (o *GetAgentsIDOK) Code() int
- func (o *GetAgentsIDOK) Error() string
- func (o *GetAgentsIDOK) GetPayload() *models.Agent
- func (o *GetAgentsIDOK) IsClientError() bool
- func (o *GetAgentsIDOK) IsCode(code int) bool
- func (o *GetAgentsIDOK) IsRedirect() bool
- func (o *GetAgentsIDOK) IsServerError() bool
- func (o *GetAgentsIDOK) IsSuccess() bool
- func (o *GetAgentsIDOK) String() string
- type GetAgentsIDParams
- func (o *GetAgentsIDParams) SetContext(ctx context.Context)
- func (o *GetAgentsIDParams) SetDefaults()
- func (o *GetAgentsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentsIDParams) SetID(id string)
- func (o *GetAgentsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentsIDParams) WithContext(ctx context.Context) *GetAgentsIDParams
- func (o *GetAgentsIDParams) WithDefaults() *GetAgentsIDParams
- func (o *GetAgentsIDParams) WithHTTPClient(client *http.Client) *GetAgentsIDParams
- func (o *GetAgentsIDParams) WithID(id string) *GetAgentsIDParams
- func (o *GetAgentsIDParams) WithTimeout(timeout time.Duration) *GetAgentsIDParams
- func (o *GetAgentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentsIDReader
- type GetAgentsIDStatusBadRequest
- func (o *GetAgentsIDStatusBadRequest) Code() int
- func (o *GetAgentsIDStatusBadRequest) Error() string
- func (o *GetAgentsIDStatusBadRequest) GetPayload() *models.Badrequest
- func (o *GetAgentsIDStatusBadRequest) IsClientError() bool
- func (o *GetAgentsIDStatusBadRequest) IsCode(code int) bool
- func (o *GetAgentsIDStatusBadRequest) IsRedirect() bool
- func (o *GetAgentsIDStatusBadRequest) IsServerError() bool
- func (o *GetAgentsIDStatusBadRequest) IsSuccess() bool
- func (o *GetAgentsIDStatusBadRequest) String() string
- type GetAgentsIDStatusDefault
- func (o *GetAgentsIDStatusDefault) Code() int
- func (o *GetAgentsIDStatusDefault) Error() string
- func (o *GetAgentsIDStatusDefault) IsClientError() bool
- func (o *GetAgentsIDStatusDefault) IsCode(code int) bool
- func (o *GetAgentsIDStatusDefault) IsRedirect() bool
- func (o *GetAgentsIDStatusDefault) IsServerError() bool
- func (o *GetAgentsIDStatusDefault) IsSuccess() bool
- func (o *GetAgentsIDStatusDefault) String() string
- type GetAgentsIDStatusForbidden
- func (o *GetAgentsIDStatusForbidden) Code() int
- func (o *GetAgentsIDStatusForbidden) Error() string
- func (o *GetAgentsIDStatusForbidden) GetPayload() *models.Forbidden
- func (o *GetAgentsIDStatusForbidden) IsClientError() bool
- func (o *GetAgentsIDStatusForbidden) IsCode(code int) bool
- func (o *GetAgentsIDStatusForbidden) IsRedirect() bool
- func (o *GetAgentsIDStatusForbidden) IsServerError() bool
- func (o *GetAgentsIDStatusForbidden) IsSuccess() bool
- func (o *GetAgentsIDStatusForbidden) String() string
- type GetAgentsIDStatusInternalServerError
- func (o *GetAgentsIDStatusInternalServerError) Code() int
- func (o *GetAgentsIDStatusInternalServerError) Error() string
- func (o *GetAgentsIDStatusInternalServerError) GetPayload() *models.Error
- func (o *GetAgentsIDStatusInternalServerError) IsClientError() bool
- func (o *GetAgentsIDStatusInternalServerError) IsCode(code int) bool
- func (o *GetAgentsIDStatusInternalServerError) IsRedirect() bool
- func (o *GetAgentsIDStatusInternalServerError) IsServerError() bool
- func (o *GetAgentsIDStatusInternalServerError) IsSuccess() bool
- func (o *GetAgentsIDStatusInternalServerError) String() string
- type GetAgentsIDStatusNotFound
- func (o *GetAgentsIDStatusNotFound) Code() int
- func (o *GetAgentsIDStatusNotFound) Error() string
- func (o *GetAgentsIDStatusNotFound) GetPayload() *models.Notfound
- func (o *GetAgentsIDStatusNotFound) IsClientError() bool
- func (o *GetAgentsIDStatusNotFound) IsCode(code int) bool
- func (o *GetAgentsIDStatusNotFound) IsRedirect() bool
- func (o *GetAgentsIDStatusNotFound) IsServerError() bool
- func (o *GetAgentsIDStatusNotFound) IsSuccess() bool
- func (o *GetAgentsIDStatusNotFound) String() string
- type GetAgentsIDStatusOK
- func (o *GetAgentsIDStatusOK) Code() int
- func (o *GetAgentsIDStatusOK) Error() string
- func (o *GetAgentsIDStatusOK) GetPayload() *models.OnlineStatus
- func (o *GetAgentsIDStatusOK) IsClientError() bool
- func (o *GetAgentsIDStatusOK) IsCode(code int) bool
- func (o *GetAgentsIDStatusOK) IsRedirect() bool
- func (o *GetAgentsIDStatusOK) IsServerError() bool
- func (o *GetAgentsIDStatusOK) IsSuccess() bool
- func (o *GetAgentsIDStatusOK) String() string
- type GetAgentsIDStatusParams
- func NewGetAgentsIDStatusParams() *GetAgentsIDStatusParams
- func NewGetAgentsIDStatusParamsWithContext(ctx context.Context) *GetAgentsIDStatusParams
- func NewGetAgentsIDStatusParamsWithHTTPClient(client *http.Client) *GetAgentsIDStatusParams
- func NewGetAgentsIDStatusParamsWithTimeout(timeout time.Duration) *GetAgentsIDStatusParams
- func (o *GetAgentsIDStatusParams) SetContext(ctx context.Context)
- func (o *GetAgentsIDStatusParams) SetDefaults()
- func (o *GetAgentsIDStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentsIDStatusParams) SetID(id string)
- func (o *GetAgentsIDStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentsIDStatusParams) WithContext(ctx context.Context) *GetAgentsIDStatusParams
- func (o *GetAgentsIDStatusParams) WithDefaults() *GetAgentsIDStatusParams
- func (o *GetAgentsIDStatusParams) WithHTTPClient(client *http.Client) *GetAgentsIDStatusParams
- func (o *GetAgentsIDStatusParams) WithID(id string) *GetAgentsIDStatusParams
- func (o *GetAgentsIDStatusParams) WithTimeout(timeout time.Duration) *GetAgentsIDStatusParams
- func (o *GetAgentsIDStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentsIDStatusReader
- type GetAgentsIDStatusTooManyRequests
- func (o *GetAgentsIDStatusTooManyRequests) Code() int
- func (o *GetAgentsIDStatusTooManyRequests) Error() string
- func (o *GetAgentsIDStatusTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *GetAgentsIDStatusTooManyRequests) IsClientError() bool
- func (o *GetAgentsIDStatusTooManyRequests) IsCode(code int) bool
- func (o *GetAgentsIDStatusTooManyRequests) IsRedirect() bool
- func (o *GetAgentsIDStatusTooManyRequests) IsServerError() bool
- func (o *GetAgentsIDStatusTooManyRequests) IsSuccess() bool
- func (o *GetAgentsIDStatusTooManyRequests) String() string
- type GetAgentsIDStatusUnauthorized
- func (o *GetAgentsIDStatusUnauthorized) Code() int
- func (o *GetAgentsIDStatusUnauthorized) Error() string
- func (o *GetAgentsIDStatusUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetAgentsIDStatusUnauthorized) IsClientError() bool
- func (o *GetAgentsIDStatusUnauthorized) IsCode(code int) bool
- func (o *GetAgentsIDStatusUnauthorized) IsRedirect() bool
- func (o *GetAgentsIDStatusUnauthorized) IsServerError() bool
- func (o *GetAgentsIDStatusUnauthorized) IsSuccess() bool
- func (o *GetAgentsIDStatusUnauthorized) String() string
- type GetAgentsIDTooManyRequests
- func (o *GetAgentsIDTooManyRequests) Code() int
- func (o *GetAgentsIDTooManyRequests) Error() string
- func (o *GetAgentsIDTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *GetAgentsIDTooManyRequests) IsClientError() bool
- func (o *GetAgentsIDTooManyRequests) IsCode(code int) bool
- func (o *GetAgentsIDTooManyRequests) IsRedirect() bool
- func (o *GetAgentsIDTooManyRequests) IsServerError() bool
- func (o *GetAgentsIDTooManyRequests) IsSuccess() bool
- func (o *GetAgentsIDTooManyRequests) String() string
- type GetAgentsIDUnauthorized
- func (o *GetAgentsIDUnauthorized) Code() int
- func (o *GetAgentsIDUnauthorized) Error() string
- func (o *GetAgentsIDUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetAgentsIDUnauthorized) IsClientError() bool
- func (o *GetAgentsIDUnauthorized) IsCode(code int) bool
- func (o *GetAgentsIDUnauthorized) IsRedirect() bool
- func (o *GetAgentsIDUnauthorized) IsServerError() bool
- func (o *GetAgentsIDUnauthorized) IsSuccess() bool
- func (o *GetAgentsIDUnauthorized) String() string
- type GetAgentsInternalServerError
- func (o *GetAgentsInternalServerError) Code() int
- func (o *GetAgentsInternalServerError) Error() string
- func (o *GetAgentsInternalServerError) GetPayload() *models.Error
- func (o *GetAgentsInternalServerError) IsClientError() bool
- func (o *GetAgentsInternalServerError) IsCode(code int) bool
- func (o *GetAgentsInternalServerError) IsRedirect() bool
- func (o *GetAgentsInternalServerError) IsServerError() bool
- func (o *GetAgentsInternalServerError) IsSuccess() bool
- func (o *GetAgentsInternalServerError) String() string
- type GetAgentsOK
- func (o *GetAgentsOK) Code() int
- func (o *GetAgentsOK) Error() string
- func (o *GetAgentsOK) GetPayload() *models.PagedAgent
- func (o *GetAgentsOK) IsClientError() bool
- func (o *GetAgentsOK) IsCode(code int) bool
- func (o *GetAgentsOK) IsRedirect() bool
- func (o *GetAgentsOK) IsServerError() bool
- func (o *GetAgentsOK) IsSuccess() bool
- func (o *GetAgentsOK) String() string
- type GetAgentsParams
- func (o *GetAgentsParams) SetContext(ctx context.Context)
- func (o *GetAgentsParams) SetDefaults()
- func (o *GetAgentsParams) SetFilter(filter *string)
- func (o *GetAgentsParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentsParams) SetPage(page *int32)
- func (o *GetAgentsParams) SetSize(size *int32)
- func (o *GetAgentsParams) SetSort(sort *string)
- func (o *GetAgentsParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentsParams) WithContext(ctx context.Context) *GetAgentsParams
- func (o *GetAgentsParams) WithDefaults() *GetAgentsParams
- func (o *GetAgentsParams) WithFilter(filter *string) *GetAgentsParams
- func (o *GetAgentsParams) WithHTTPClient(client *http.Client) *GetAgentsParams
- func (o *GetAgentsParams) WithPage(page *int32) *GetAgentsParams
- func (o *GetAgentsParams) WithSize(size *int32) *GetAgentsParams
- func (o *GetAgentsParams) WithSort(sort *string) *GetAgentsParams
- func (o *GetAgentsParams) WithTimeout(timeout time.Duration) *GetAgentsParams
- func (o *GetAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentsReader
- type GetAgentsTooManyRequests
- func (o *GetAgentsTooManyRequests) Code() int
- func (o *GetAgentsTooManyRequests) Error() string
- func (o *GetAgentsTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *GetAgentsTooManyRequests) IsClientError() bool
- func (o *GetAgentsTooManyRequests) IsCode(code int) bool
- func (o *GetAgentsTooManyRequests) IsRedirect() bool
- func (o *GetAgentsTooManyRequests) IsServerError() bool
- func (o *GetAgentsTooManyRequests) IsSuccess() bool
- func (o *GetAgentsTooManyRequests) String() string
- type GetAgentsUnauthorized
- func (o *GetAgentsUnauthorized) Code() int
- func (o *GetAgentsUnauthorized) Error() string
- func (o *GetAgentsUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetAgentsUnauthorized) IsClientError() bool
- func (o *GetAgentsUnauthorized) IsCode(code int) bool
- func (o *GetAgentsUnauthorized) IsRedirect() bool
- func (o *GetAgentsUnauthorized) IsServerError() bool
- func (o *GetAgentsUnauthorized) IsSuccess() bool
- func (o *GetAgentsUnauthorized) String() string
- type PostAgentsBadRequest
- func (o *PostAgentsBadRequest) Code() int
- func (o *PostAgentsBadRequest) Error() string
- func (o *PostAgentsBadRequest) GetPayload() *models.Badrequest
- func (o *PostAgentsBadRequest) IsClientError() bool
- func (o *PostAgentsBadRequest) IsCode(code int) bool
- func (o *PostAgentsBadRequest) IsRedirect() bool
- func (o *PostAgentsBadRequest) IsServerError() bool
- func (o *PostAgentsBadRequest) IsSuccess() bool
- func (o *PostAgentsBadRequest) String() string
- type PostAgentsConflict
- func (o *PostAgentsConflict) Code() int
- func (o *PostAgentsConflict) Error() string
- func (o *PostAgentsConflict) GetPayload() *models.Conflict
- func (o *PostAgentsConflict) IsClientError() bool
- func (o *PostAgentsConflict) IsCode(code int) bool
- func (o *PostAgentsConflict) IsRedirect() bool
- func (o *PostAgentsConflict) IsServerError() bool
- func (o *PostAgentsConflict) IsSuccess() bool
- func (o *PostAgentsConflict) String() string
- type PostAgentsCreated
- func (o *PostAgentsCreated) Code() int
- func (o *PostAgentsCreated) Error() string
- func (o *PostAgentsCreated) GetPayload() *models.Agent
- func (o *PostAgentsCreated) IsClientError() bool
- func (o *PostAgentsCreated) IsCode(code int) bool
- func (o *PostAgentsCreated) IsRedirect() bool
- func (o *PostAgentsCreated) IsServerError() bool
- func (o *PostAgentsCreated) IsSuccess() bool
- func (o *PostAgentsCreated) String() string
- type PostAgentsDefault
- func (o *PostAgentsDefault) Code() int
- func (o *PostAgentsDefault) Error() string
- func (o *PostAgentsDefault) IsClientError() bool
- func (o *PostAgentsDefault) IsCode(code int) bool
- func (o *PostAgentsDefault) IsRedirect() bool
- func (o *PostAgentsDefault) IsServerError() bool
- func (o *PostAgentsDefault) IsSuccess() bool
- func (o *PostAgentsDefault) String() string
- type PostAgentsForbidden
- func (o *PostAgentsForbidden) Code() int
- func (o *PostAgentsForbidden) Error() string
- func (o *PostAgentsForbidden) GetPayload() *models.Forbidden
- func (o *PostAgentsForbidden) IsClientError() bool
- func (o *PostAgentsForbidden) IsCode(code int) bool
- func (o *PostAgentsForbidden) IsRedirect() bool
- func (o *PostAgentsForbidden) IsServerError() bool
- func (o *PostAgentsForbidden) IsSuccess() bool
- func (o *PostAgentsForbidden) String() string
- type PostAgentsInternalServerError
- func (o *PostAgentsInternalServerError) Code() int
- func (o *PostAgentsInternalServerError) Error() string
- func (o *PostAgentsInternalServerError) GetPayload() *models.Error
- func (o *PostAgentsInternalServerError) IsClientError() bool
- func (o *PostAgentsInternalServerError) IsCode(code int) bool
- func (o *PostAgentsInternalServerError) IsRedirect() bool
- func (o *PostAgentsInternalServerError) IsServerError() bool
- func (o *PostAgentsInternalServerError) IsSuccess() bool
- func (o *PostAgentsInternalServerError) String() string
- type PostAgentsParams
- func (o *PostAgentsParams) SetAgent(agent *models.CreateAgentRequest)
- func (o *PostAgentsParams) SetContext(ctx context.Context)
- func (o *PostAgentsParams) SetDefaults()
- func (o *PostAgentsParams) SetHTTPClient(client *http.Client)
- func (o *PostAgentsParams) SetTimeout(timeout time.Duration)
- func (o *PostAgentsParams) WithAgent(agent *models.CreateAgentRequest) *PostAgentsParams
- func (o *PostAgentsParams) WithContext(ctx context.Context) *PostAgentsParams
- func (o *PostAgentsParams) WithDefaults() *PostAgentsParams
- func (o *PostAgentsParams) WithHTTPClient(client *http.Client) *PostAgentsParams
- func (o *PostAgentsParams) WithTimeout(timeout time.Duration) *PostAgentsParams
- func (o *PostAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAgentsReader
- type PostAgentsTooManyRequests
- func (o *PostAgentsTooManyRequests) Code() int
- func (o *PostAgentsTooManyRequests) Error() string
- func (o *PostAgentsTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *PostAgentsTooManyRequests) IsClientError() bool
- func (o *PostAgentsTooManyRequests) IsCode(code int) bool
- func (o *PostAgentsTooManyRequests) IsRedirect() bool
- func (o *PostAgentsTooManyRequests) IsServerError() bool
- func (o *PostAgentsTooManyRequests) IsSuccess() bool
- func (o *PostAgentsTooManyRequests) String() string
- type PostAgentsUnauthorized
- func (o *PostAgentsUnauthorized) Code() int
- func (o *PostAgentsUnauthorized) Error() string
- func (o *PostAgentsUnauthorized) GetPayload() *models.Unauthorized
- func (o *PostAgentsUnauthorized) IsClientError() bool
- func (o *PostAgentsUnauthorized) IsCode(code int) bool
- func (o *PostAgentsUnauthorized) IsRedirect() bool
- func (o *PostAgentsUnauthorized) IsServerError() bool
- func (o *PostAgentsUnauthorized) IsSuccess() bool
- func (o *PostAgentsUnauthorized) String() string
- type PutAgentsIDBadRequest
- func (o *PutAgentsIDBadRequest) Code() int
- func (o *PutAgentsIDBadRequest) Error() string
- func (o *PutAgentsIDBadRequest) GetPayload() *models.Badrequest
- func (o *PutAgentsIDBadRequest) IsClientError() bool
- func (o *PutAgentsIDBadRequest) IsCode(code int) bool
- func (o *PutAgentsIDBadRequest) IsRedirect() bool
- func (o *PutAgentsIDBadRequest) IsServerError() bool
- func (o *PutAgentsIDBadRequest) IsSuccess() bool
- func (o *PutAgentsIDBadRequest) String() string
- type PutAgentsIDConflict
- func (o *PutAgentsIDConflict) Code() int
- func (o *PutAgentsIDConflict) Error() string
- func (o *PutAgentsIDConflict) GetPayload() *models.Conflict
- func (o *PutAgentsIDConflict) IsClientError() bool
- func (o *PutAgentsIDConflict) IsCode(code int) bool
- func (o *PutAgentsIDConflict) IsRedirect() bool
- func (o *PutAgentsIDConflict) IsServerError() bool
- func (o *PutAgentsIDConflict) IsSuccess() bool
- func (o *PutAgentsIDConflict) String() string
- type PutAgentsIDDefault
- func (o *PutAgentsIDDefault) Code() int
- func (o *PutAgentsIDDefault) Error() string
- func (o *PutAgentsIDDefault) IsClientError() bool
- func (o *PutAgentsIDDefault) IsCode(code int) bool
- func (o *PutAgentsIDDefault) IsRedirect() bool
- func (o *PutAgentsIDDefault) IsServerError() bool
- func (o *PutAgentsIDDefault) IsSuccess() bool
- func (o *PutAgentsIDDefault) String() string
- type PutAgentsIDForbidden
- func (o *PutAgentsIDForbidden) Code() int
- func (o *PutAgentsIDForbidden) Error() string
- func (o *PutAgentsIDForbidden) GetPayload() *models.Forbidden
- func (o *PutAgentsIDForbidden) IsClientError() bool
- func (o *PutAgentsIDForbidden) IsCode(code int) bool
- func (o *PutAgentsIDForbidden) IsRedirect() bool
- func (o *PutAgentsIDForbidden) IsServerError() bool
- func (o *PutAgentsIDForbidden) IsSuccess() bool
- func (o *PutAgentsIDForbidden) String() string
- type PutAgentsIDInternalServerError
- func (o *PutAgentsIDInternalServerError) Code() int
- func (o *PutAgentsIDInternalServerError) Error() string
- func (o *PutAgentsIDInternalServerError) GetPayload() *models.Error
- func (o *PutAgentsIDInternalServerError) IsClientError() bool
- func (o *PutAgentsIDInternalServerError) IsCode(code int) bool
- func (o *PutAgentsIDInternalServerError) IsRedirect() bool
- func (o *PutAgentsIDInternalServerError) IsServerError() bool
- func (o *PutAgentsIDInternalServerError) IsSuccess() bool
- func (o *PutAgentsIDInternalServerError) String() string
- type PutAgentsIDNotFound
- func (o *PutAgentsIDNotFound) Code() int
- func (o *PutAgentsIDNotFound) Error() string
- func (o *PutAgentsIDNotFound) GetPayload() *models.Notfound
- func (o *PutAgentsIDNotFound) IsClientError() bool
- func (o *PutAgentsIDNotFound) IsCode(code int) bool
- func (o *PutAgentsIDNotFound) IsRedirect() bool
- func (o *PutAgentsIDNotFound) IsServerError() bool
- func (o *PutAgentsIDNotFound) IsSuccess() bool
- func (o *PutAgentsIDNotFound) String() string
- type PutAgentsIDOK
- func (o *PutAgentsIDOK) Code() int
- func (o *PutAgentsIDOK) Error() string
- func (o *PutAgentsIDOK) GetPayload() *models.Agent
- func (o *PutAgentsIDOK) IsClientError() bool
- func (o *PutAgentsIDOK) IsCode(code int) bool
- func (o *PutAgentsIDOK) IsRedirect() bool
- func (o *PutAgentsIDOK) IsServerError() bool
- func (o *PutAgentsIDOK) IsSuccess() bool
- func (o *PutAgentsIDOK) String() string
- type PutAgentsIDParams
- func (o *PutAgentsIDParams) SetAgent(agent *models.UpdateAgentRequest)
- func (o *PutAgentsIDParams) SetContext(ctx context.Context)
- func (o *PutAgentsIDParams) SetDefaults()
- func (o *PutAgentsIDParams) SetHTTPClient(client *http.Client)
- func (o *PutAgentsIDParams) SetID(id string)
- func (o *PutAgentsIDParams) SetIfMatch(ifMatch string)
- func (o *PutAgentsIDParams) SetTimeout(timeout time.Duration)
- func (o *PutAgentsIDParams) WithAgent(agent *models.UpdateAgentRequest) *PutAgentsIDParams
- func (o *PutAgentsIDParams) WithContext(ctx context.Context) *PutAgentsIDParams
- func (o *PutAgentsIDParams) WithDefaults() *PutAgentsIDParams
- func (o *PutAgentsIDParams) WithHTTPClient(client *http.Client) *PutAgentsIDParams
- func (o *PutAgentsIDParams) WithID(id string) *PutAgentsIDParams
- func (o *PutAgentsIDParams) WithIfMatch(ifMatch string) *PutAgentsIDParams
- func (o *PutAgentsIDParams) WithTimeout(timeout time.Duration) *PutAgentsIDParams
- func (o *PutAgentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAgentsIDPreconditionFailed
- func (o *PutAgentsIDPreconditionFailed) Code() int
- func (o *PutAgentsIDPreconditionFailed) Error() string
- func (o *PutAgentsIDPreconditionFailed) GetPayload() *models.Preconditionfailed
- func (o *PutAgentsIDPreconditionFailed) IsClientError() bool
- func (o *PutAgentsIDPreconditionFailed) IsCode(code int) bool
- func (o *PutAgentsIDPreconditionFailed) IsRedirect() bool
- func (o *PutAgentsIDPreconditionFailed) IsServerError() bool
- func (o *PutAgentsIDPreconditionFailed) IsSuccess() bool
- func (o *PutAgentsIDPreconditionFailed) String() string
- type PutAgentsIDReader
- type PutAgentsIDTooManyRequests
- func (o *PutAgentsIDTooManyRequests) Code() int
- func (o *PutAgentsIDTooManyRequests) Error() string
- func (o *PutAgentsIDTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *PutAgentsIDTooManyRequests) IsClientError() bool
- func (o *PutAgentsIDTooManyRequests) IsCode(code int) bool
- func (o *PutAgentsIDTooManyRequests) IsRedirect() bool
- func (o *PutAgentsIDTooManyRequests) IsServerError() bool
- func (o *PutAgentsIDTooManyRequests) IsSuccess() bool
- func (o *PutAgentsIDTooManyRequests) String() string
- type PutAgentsIDUnauthorized
- func (o *PutAgentsIDUnauthorized) Code() int
- func (o *PutAgentsIDUnauthorized) Error() string
- func (o *PutAgentsIDUnauthorized) GetPayload() *models.Unauthorized
- func (o *PutAgentsIDUnauthorized) IsClientError() bool
- func (o *PutAgentsIDUnauthorized) IsCode(code int) bool
- func (o *PutAgentsIDUnauthorized) IsRedirect() bool
- func (o *PutAgentsIDUnauthorized) IsServerError() bool
- func (o *PutAgentsIDUnauthorized) IsSuccess() bool
- func (o *PutAgentsIDUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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 ¶
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 ¶
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 ¶
func (o *DeleteAgentsIDInternalServerError) Code() int
Code gets the status code for the delete agents Id internal server error response
func (*DeleteAgentsIDInternalServerError) Error ¶
func (o *DeleteAgentsIDInternalServerError) Error() string
func (*DeleteAgentsIDInternalServerError) GetPayload ¶
func (o *DeleteAgentsIDInternalServerError) GetPayload() *models.Error
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 ¶
func (o *DeleteAgentsIDInternalServerError) String() 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 ¶
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 ¶
func (o *DeleteAgentsIDParams) WithContext(ctx context.Context) *DeleteAgentsIDParams
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 ¶
func (o *DeleteAgentsIDParams) WithID(id string) *DeleteAgentsIDParams
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 ¶
func (o *DeleteAgentsIDPreconditionFailed) Code() int
Code gets the status code for the delete agents Id precondition failed response
func (*DeleteAgentsIDPreconditionFailed) Error ¶
func (o *DeleteAgentsIDPreconditionFailed) Error() string
func (*DeleteAgentsIDPreconditionFailed) GetPayload ¶
func (o *DeleteAgentsIDPreconditionFailed) GetPayload() *models.Preconditionfailed
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 ¶
func (o *DeleteAgentsIDPreconditionFailed) String() 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 ¶
func (o *DeleteAgentsIDTooManyRequests) Code() int
Code gets the status code for the delete agents Id too many requests response
func (*DeleteAgentsIDTooManyRequests) Error ¶
func (o *DeleteAgentsIDTooManyRequests) Error() string
func (*DeleteAgentsIDTooManyRequests) GetPayload ¶
func (o *DeleteAgentsIDTooManyRequests) GetPayload() *models.APIRateLimitExceeded
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 ¶
func (o *DeleteAgentsIDTooManyRequests) String() string
type DeleteAgentsIDUnauthorized ¶
type DeleteAgentsIDUnauthorized struct {
}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 (o *DeleteAgentsIDUnauthorized) Error() string
func (*DeleteAgentsIDUnauthorized) GetPayload ¶
func (o *DeleteAgentsIDUnauthorized) GetPayload() *models.Unauthorized
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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetAgentsIDInternalServerError) Code() int
Code gets the status code for the get agents Id internal server error response
func (*GetAgentsIDInternalServerError) Error ¶
func (o *GetAgentsIDInternalServerError) Error() string
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 ¶
func (o *GetAgentsIDInternalServerError) String() string
type GetAgentsIDNotFound ¶
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 ¶
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 ¶
func (o *GetAgentsIDParams) WithID(id string) *GetAgentsIDParams
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 (o *GetAgentsIDStatusBadRequest) Error() string
func (*GetAgentsIDStatusBadRequest) GetPayload ¶
func (o *GetAgentsIDStatusBadRequest) GetPayload() *models.Badrequest
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 ¶
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 (o *GetAgentsIDStatusForbidden) Error() string
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 ¶
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 ¶
func (o *GetAgentsIDStatusInternalServerError) Code() int
Code gets the status code for the get agents Id status internal server error response
func (*GetAgentsIDStatusInternalServerError) Error ¶
func (o *GetAgentsIDStatusInternalServerError) Error() string
func (*GetAgentsIDStatusInternalServerError) GetPayload ¶
func (o *GetAgentsIDStatusInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetAgentsIDStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get agents Id status internal server error response a status code equal to that given
func (*GetAgentsIDStatusInternalServerError) IsRedirect ¶
func (o *GetAgentsIDStatusInternalServerError) IsRedirect() bool
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 ¶
func (o *GetAgentsIDStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get agents Id status internal server error response has a 2xx status code
func (*GetAgentsIDStatusInternalServerError) String ¶
func (o *GetAgentsIDStatusInternalServerError) String() string
type GetAgentsIDStatusNotFound ¶
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 ¶
func (o *GetAgentsIDStatusParams) WithContext(ctx context.Context) *GetAgentsIDStatusParams
WithContext adds the context to the get agents ID status params
func (*GetAgentsIDStatusParams) WithDefaults ¶
func (o *GetAgentsIDStatusParams) WithDefaults() *GetAgentsIDStatusParams
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 ¶
func (o *GetAgentsIDStatusParams) WithID(id string) *GetAgentsIDStatusParams
WithID adds the id to the get agents ID status params
func (*GetAgentsIDStatusParams) WithTimeout ¶
func (o *GetAgentsIDStatusParams) WithTimeout(timeout time.Duration) *GetAgentsIDStatusParams
WithTimeout adds the timeout to the get agents ID status params
func (*GetAgentsIDStatusParams) WriteToRequest ¶
func (o *GetAgentsIDStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAgentsIDStatusTooManyRequests) Code() int
Code gets the status code for the get agents Id status too many requests response
func (*GetAgentsIDStatusTooManyRequests) Error ¶
func (o *GetAgentsIDStatusTooManyRequests) Error() string
func (*GetAgentsIDStatusTooManyRequests) GetPayload ¶
func (o *GetAgentsIDStatusTooManyRequests) GetPayload() *models.APIRateLimitExceeded
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 ¶
func (o *GetAgentsIDStatusTooManyRequests) String() string
type GetAgentsIDStatusUnauthorized ¶
type GetAgentsIDStatusUnauthorized struct {
}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 ¶
func (o *GetAgentsIDStatusUnauthorized) Code() int
Code gets the status code for the get agents Id status unauthorized response
func (*GetAgentsIDStatusUnauthorized) Error ¶
func (o *GetAgentsIDStatusUnauthorized) Error() string
func (*GetAgentsIDStatusUnauthorized) GetPayload ¶
func (o *GetAgentsIDStatusUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *GetAgentsIDStatusUnauthorized) String() 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 (o *GetAgentsIDTooManyRequests) Error() string
func (*GetAgentsIDTooManyRequests) GetPayload ¶
func (o *GetAgentsIDTooManyRequests) GetPayload() *models.APIRateLimitExceeded
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 {
}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 ¶
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 ¶
func (o *GetAgentsInternalServerError) Code() int
Code gets the status code for the get agents internal server error response
func (*GetAgentsInternalServerError) Error ¶
func (o *GetAgentsInternalServerError) Error() string
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 ¶
func (o *GetAgentsInternalServerError) String() 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 (o *GetAgentsTooManyRequests) GetPayload() *models.APIRateLimitExceeded
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *PostAgentsInternalServerError) Code() int
Code gets the status code for the post agents internal server error response
func (*PostAgentsInternalServerError) Error ¶
func (o *PostAgentsInternalServerError) Error() string
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 ¶
func (o *PostAgentsInternalServerError) String() 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 ¶
func (o *PostAgentsParams) WithAgent(agent *models.CreateAgentRequest) *PostAgentsParams
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 (o *PostAgentsTooManyRequests) GetPayload() *models.APIRateLimitExceeded
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
func (o *PutAgentsIDInternalServerError) Code() int
Code gets the status code for the put agents Id internal server error response
func (*PutAgentsIDInternalServerError) Error ¶
func (o *PutAgentsIDInternalServerError) Error() string
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 ¶
func (o *PutAgentsIDInternalServerError) String() string
type PutAgentsIDNotFound ¶
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 ¶
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 ¶
func (o *PutAgentsIDParams) WithAgent(agent *models.UpdateAgentRequest) *PutAgentsIDParams
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 ¶
func (o *PutAgentsIDParams) WithID(id string) *PutAgentsIDParams
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 ¶
func (o *PutAgentsIDPreconditionFailed) Code() int
Code gets the status code for the put agents Id precondition failed response
func (*PutAgentsIDPreconditionFailed) Error ¶
func (o *PutAgentsIDPreconditionFailed) Error() string
func (*PutAgentsIDPreconditionFailed) GetPayload ¶
func (o *PutAgentsIDPreconditionFailed) GetPayload() *models.Preconditionfailed
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 ¶
func (o *PutAgentsIDPreconditionFailed) String() 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 (o *PutAgentsIDTooManyRequests) Error() string
func (*PutAgentsIDTooManyRequests) GetPayload ¶
func (o *PutAgentsIDTooManyRequests) GetPayload() *models.APIRateLimitExceeded
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 {
}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
Source Files
¶
- agent_operations_client.go
- delete_agents_id_parameters.go
- delete_agents_id_responses.go
- get_agents_id_parameters.go
- get_agents_id_responses.go
- get_agents_id_status_parameters.go
- get_agents_id_status_responses.go
- get_agents_parameters.go
- get_agents_responses.go
- post_agents_parameters.go
- post_agents_responses.go
- put_agents_id_parameters.go
- put_agents_id_responses.go