Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) V1AvailableHosts(params *V1AvailableHostsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1AvailableHostsOK, error)
- func (a *Client) V1HostGroupsGet(params *V1HostGroupsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostGroupsGetOK, error)
- func (a *Client) V1HostGroupsIDGet(params *V1HostGroupsIDGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostGroupsIDGetOK, error)
- func (a *Client) V1HostGroupsIDPut(params *V1HostGroupsIDPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostGroupsIDPutOK, error)
- func (a *Client) V1HostGroupsPost(params *V1HostGroupsPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostGroupsPostCreated, error)
- func (a *Client) V1HostsGet(params *V1HostsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostsGetOK, error)
- func (a *Client) V1HostsIDDelete(params *V1HostsIDDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostsIDDeleteAccepted, error)
- func (a *Client) V1HostsIDGet(params *V1HostsIDGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostsIDGetOK, error)
- func (a *Client) V1HostsIDPut(params *V1HostsIDPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostsIDPutOK, error)
- func (a *Client) V1HostsPost(params *V1HostsPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1HostsPostCreated, error)
- type ClientOption
- type ClientService
- type V1AvailableHostsBadRequest
- func (o *V1AvailableHostsBadRequest) Code() int
- func (o *V1AvailableHostsBadRequest) Error() string
- func (o *V1AvailableHostsBadRequest) GetPayload() *models.Error
- func (o *V1AvailableHostsBadRequest) IsClientError() bool
- func (o *V1AvailableHostsBadRequest) IsCode(code int) bool
- func (o *V1AvailableHostsBadRequest) IsRedirect() bool
- func (o *V1AvailableHostsBadRequest) IsServerError() bool
- func (o *V1AvailableHostsBadRequest) IsSuccess() bool
- func (o *V1AvailableHostsBadRequest) String() string
- type V1AvailableHostsForbidden
- func (o *V1AvailableHostsForbidden) Code() int
- func (o *V1AvailableHostsForbidden) Error() string
- func (o *V1AvailableHostsForbidden) GetPayload() *models.Error
- func (o *V1AvailableHostsForbidden) IsClientError() bool
- func (o *V1AvailableHostsForbidden) IsCode(code int) bool
- func (o *V1AvailableHostsForbidden) IsRedirect() bool
- func (o *V1AvailableHostsForbidden) IsServerError() bool
- func (o *V1AvailableHostsForbidden) IsSuccess() bool
- func (o *V1AvailableHostsForbidden) String() string
- type V1AvailableHostsGatewayTimeout
- func (o *V1AvailableHostsGatewayTimeout) Code() int
- func (o *V1AvailableHostsGatewayTimeout) Error() string
- func (o *V1AvailableHostsGatewayTimeout) GetPayload() *models.Error
- func (o *V1AvailableHostsGatewayTimeout) IsClientError() bool
- func (o *V1AvailableHostsGatewayTimeout) IsCode(code int) bool
- func (o *V1AvailableHostsGatewayTimeout) IsRedirect() bool
- func (o *V1AvailableHostsGatewayTimeout) IsServerError() bool
- func (o *V1AvailableHostsGatewayTimeout) IsSuccess() bool
- func (o *V1AvailableHostsGatewayTimeout) String() string
- type V1AvailableHostsInternalServerError
- func (o *V1AvailableHostsInternalServerError) Code() int
- func (o *V1AvailableHostsInternalServerError) Error() string
- func (o *V1AvailableHostsInternalServerError) GetPayload() *models.Error
- func (o *V1AvailableHostsInternalServerError) IsClientError() bool
- func (o *V1AvailableHostsInternalServerError) IsCode(code int) bool
- func (o *V1AvailableHostsInternalServerError) IsRedirect() bool
- func (o *V1AvailableHostsInternalServerError) IsServerError() bool
- func (o *V1AvailableHostsInternalServerError) IsSuccess() bool
- func (o *V1AvailableHostsInternalServerError) String() string
- type V1AvailableHostsOK
- func (o *V1AvailableHostsOK) Code() int
- func (o *V1AvailableHostsOK) Error() string
- func (o *V1AvailableHostsOK) GetPayload() models.AvailableHostList
- func (o *V1AvailableHostsOK) IsClientError() bool
- func (o *V1AvailableHostsOK) IsCode(code int) bool
- func (o *V1AvailableHostsOK) IsRedirect() bool
- func (o *V1AvailableHostsOK) IsServerError() bool
- func (o *V1AvailableHostsOK) IsSuccess() bool
- func (o *V1AvailableHostsOK) String() string
- type V1AvailableHostsParams
- func NewV1AvailableHostsParams() *V1AvailableHostsParams
- func NewV1AvailableHostsParamsWithContext(ctx context.Context) *V1AvailableHostsParams
- func NewV1AvailableHostsParamsWithHTTPClient(client *http.Client) *V1AvailableHostsParams
- func NewV1AvailableHostsParamsWithTimeout(timeout time.Duration) *V1AvailableHostsParams
- func (o *V1AvailableHostsParams) SetContext(ctx context.Context)
- func (o *V1AvailableHostsParams) SetDefaults()
- func (o *V1AvailableHostsParams) SetHTTPClient(client *http.Client)
- func (o *V1AvailableHostsParams) SetTimeout(timeout time.Duration)
- func (o *V1AvailableHostsParams) WithContext(ctx context.Context) *V1AvailableHostsParams
- func (o *V1AvailableHostsParams) WithDefaults() *V1AvailableHostsParams
- func (o *V1AvailableHostsParams) WithHTTPClient(client *http.Client) *V1AvailableHostsParams
- func (o *V1AvailableHostsParams) WithTimeout(timeout time.Duration) *V1AvailableHostsParams
- func (o *V1AvailableHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1AvailableHostsReader
- type V1AvailableHostsUnauthorized
- func (o *V1AvailableHostsUnauthorized) Code() int
- func (o *V1AvailableHostsUnauthorized) Error() string
- func (o *V1AvailableHostsUnauthorized) GetPayload() *models.Error
- func (o *V1AvailableHostsUnauthorized) IsClientError() bool
- func (o *V1AvailableHostsUnauthorized) IsCode(code int) bool
- func (o *V1AvailableHostsUnauthorized) IsRedirect() bool
- func (o *V1AvailableHostsUnauthorized) IsServerError() bool
- func (o *V1AvailableHostsUnauthorized) IsSuccess() bool
- func (o *V1AvailableHostsUnauthorized) String() string
- type V1HostGroupsGetBadRequest
- func (o *V1HostGroupsGetBadRequest) Code() int
- func (o *V1HostGroupsGetBadRequest) Error() string
- func (o *V1HostGroupsGetBadRequest) GetPayload() *models.Error
- func (o *V1HostGroupsGetBadRequest) IsClientError() bool
- func (o *V1HostGroupsGetBadRequest) IsCode(code int) bool
- func (o *V1HostGroupsGetBadRequest) IsRedirect() bool
- func (o *V1HostGroupsGetBadRequest) IsServerError() bool
- func (o *V1HostGroupsGetBadRequest) IsSuccess() bool
- func (o *V1HostGroupsGetBadRequest) String() string
- type V1HostGroupsGetForbidden
- func (o *V1HostGroupsGetForbidden) Code() int
- func (o *V1HostGroupsGetForbidden) Error() string
- func (o *V1HostGroupsGetForbidden) GetPayload() *models.Error
- func (o *V1HostGroupsGetForbidden) IsClientError() bool
- func (o *V1HostGroupsGetForbidden) IsCode(code int) bool
- func (o *V1HostGroupsGetForbidden) IsRedirect() bool
- func (o *V1HostGroupsGetForbidden) IsServerError() bool
- func (o *V1HostGroupsGetForbidden) IsSuccess() bool
- func (o *V1HostGroupsGetForbidden) String() string
- type V1HostGroupsGetGatewayTimeout
- func (o *V1HostGroupsGetGatewayTimeout) Code() int
- func (o *V1HostGroupsGetGatewayTimeout) Error() string
- func (o *V1HostGroupsGetGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostGroupsGetGatewayTimeout) IsClientError() bool
- func (o *V1HostGroupsGetGatewayTimeout) IsCode(code int) bool
- func (o *V1HostGroupsGetGatewayTimeout) IsRedirect() bool
- func (o *V1HostGroupsGetGatewayTimeout) IsServerError() bool
- func (o *V1HostGroupsGetGatewayTimeout) IsSuccess() bool
- func (o *V1HostGroupsGetGatewayTimeout) String() string
- type V1HostGroupsGetInternalServerError
- func (o *V1HostGroupsGetInternalServerError) Code() int
- func (o *V1HostGroupsGetInternalServerError) Error() string
- func (o *V1HostGroupsGetInternalServerError) GetPayload() *models.Error
- func (o *V1HostGroupsGetInternalServerError) IsClientError() bool
- func (o *V1HostGroupsGetInternalServerError) IsCode(code int) bool
- func (o *V1HostGroupsGetInternalServerError) IsRedirect() bool
- func (o *V1HostGroupsGetInternalServerError) IsServerError() bool
- func (o *V1HostGroupsGetInternalServerError) IsSuccess() bool
- func (o *V1HostGroupsGetInternalServerError) String() string
- type V1HostGroupsGetOK
- func (o *V1HostGroupsGetOK) Code() int
- func (o *V1HostGroupsGetOK) Error() string
- func (o *V1HostGroupsGetOK) GetPayload() models.HostGroupList
- func (o *V1HostGroupsGetOK) IsClientError() bool
- func (o *V1HostGroupsGetOK) IsCode(code int) bool
- func (o *V1HostGroupsGetOK) IsRedirect() bool
- func (o *V1HostGroupsGetOK) IsServerError() bool
- func (o *V1HostGroupsGetOK) IsSuccess() bool
- func (o *V1HostGroupsGetOK) String() string
- type V1HostGroupsGetParams
- func NewV1HostGroupsGetParams() *V1HostGroupsGetParams
- func NewV1HostGroupsGetParamsWithContext(ctx context.Context) *V1HostGroupsGetParams
- func NewV1HostGroupsGetParamsWithHTTPClient(client *http.Client) *V1HostGroupsGetParams
- func NewV1HostGroupsGetParamsWithTimeout(timeout time.Duration) *V1HostGroupsGetParams
- func (o *V1HostGroupsGetParams) SetContext(ctx context.Context)
- func (o *V1HostGroupsGetParams) SetDefaults()
- func (o *V1HostGroupsGetParams) SetHTTPClient(client *http.Client)
- func (o *V1HostGroupsGetParams) SetTimeout(timeout time.Duration)
- func (o *V1HostGroupsGetParams) WithContext(ctx context.Context) *V1HostGroupsGetParams
- func (o *V1HostGroupsGetParams) WithDefaults() *V1HostGroupsGetParams
- func (o *V1HostGroupsGetParams) WithHTTPClient(client *http.Client) *V1HostGroupsGetParams
- func (o *V1HostGroupsGetParams) WithTimeout(timeout time.Duration) *V1HostGroupsGetParams
- func (o *V1HostGroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostGroupsGetReader
- type V1HostGroupsGetUnauthorized
- func (o *V1HostGroupsGetUnauthorized) Code() int
- func (o *V1HostGroupsGetUnauthorized) Error() string
- func (o *V1HostGroupsGetUnauthorized) GetPayload() *models.Error
- func (o *V1HostGroupsGetUnauthorized) IsClientError() bool
- func (o *V1HostGroupsGetUnauthorized) IsCode(code int) bool
- func (o *V1HostGroupsGetUnauthorized) IsRedirect() bool
- func (o *V1HostGroupsGetUnauthorized) IsServerError() bool
- func (o *V1HostGroupsGetUnauthorized) IsSuccess() bool
- func (o *V1HostGroupsGetUnauthorized) String() string
- type V1HostGroupsIDGetBadRequest
- func (o *V1HostGroupsIDGetBadRequest) Code() int
- func (o *V1HostGroupsIDGetBadRequest) Error() string
- func (o *V1HostGroupsIDGetBadRequest) GetPayload() *models.Error
- func (o *V1HostGroupsIDGetBadRequest) IsClientError() bool
- func (o *V1HostGroupsIDGetBadRequest) IsCode(code int) bool
- func (o *V1HostGroupsIDGetBadRequest) IsRedirect() bool
- func (o *V1HostGroupsIDGetBadRequest) IsServerError() bool
- func (o *V1HostGroupsIDGetBadRequest) IsSuccess() bool
- func (o *V1HostGroupsIDGetBadRequest) String() string
- type V1HostGroupsIDGetForbidden
- func (o *V1HostGroupsIDGetForbidden) Code() int
- func (o *V1HostGroupsIDGetForbidden) Error() string
- func (o *V1HostGroupsIDGetForbidden) GetPayload() *models.Error
- func (o *V1HostGroupsIDGetForbidden) IsClientError() bool
- func (o *V1HostGroupsIDGetForbidden) IsCode(code int) bool
- func (o *V1HostGroupsIDGetForbidden) IsRedirect() bool
- func (o *V1HostGroupsIDGetForbidden) IsServerError() bool
- func (o *V1HostGroupsIDGetForbidden) IsSuccess() bool
- func (o *V1HostGroupsIDGetForbidden) String() string
- type V1HostGroupsIDGetGatewayTimeout
- func (o *V1HostGroupsIDGetGatewayTimeout) Code() int
- func (o *V1HostGroupsIDGetGatewayTimeout) Error() string
- func (o *V1HostGroupsIDGetGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostGroupsIDGetGatewayTimeout) IsClientError() bool
- func (o *V1HostGroupsIDGetGatewayTimeout) IsCode(code int) bool
- func (o *V1HostGroupsIDGetGatewayTimeout) IsRedirect() bool
- func (o *V1HostGroupsIDGetGatewayTimeout) IsServerError() bool
- func (o *V1HostGroupsIDGetGatewayTimeout) IsSuccess() bool
- func (o *V1HostGroupsIDGetGatewayTimeout) String() string
- type V1HostGroupsIDGetInternalServerError
- func (o *V1HostGroupsIDGetInternalServerError) Code() int
- func (o *V1HostGroupsIDGetInternalServerError) Error() string
- func (o *V1HostGroupsIDGetInternalServerError) GetPayload() *models.Error
- func (o *V1HostGroupsIDGetInternalServerError) IsClientError() bool
- func (o *V1HostGroupsIDGetInternalServerError) IsCode(code int) bool
- func (o *V1HostGroupsIDGetInternalServerError) IsRedirect() bool
- func (o *V1HostGroupsIDGetInternalServerError) IsServerError() bool
- func (o *V1HostGroupsIDGetInternalServerError) IsSuccess() bool
- func (o *V1HostGroupsIDGetInternalServerError) String() string
- type V1HostGroupsIDGetNotFound
- func (o *V1HostGroupsIDGetNotFound) Code() int
- func (o *V1HostGroupsIDGetNotFound) Error() string
- func (o *V1HostGroupsIDGetNotFound) GetPayload() *models.Error
- func (o *V1HostGroupsIDGetNotFound) IsClientError() bool
- func (o *V1HostGroupsIDGetNotFound) IsCode(code int) bool
- func (o *V1HostGroupsIDGetNotFound) IsRedirect() bool
- func (o *V1HostGroupsIDGetNotFound) IsServerError() bool
- func (o *V1HostGroupsIDGetNotFound) IsSuccess() bool
- func (o *V1HostGroupsIDGetNotFound) String() string
- type V1HostGroupsIDGetOK
- func (o *V1HostGroupsIDGetOK) Code() int
- func (o *V1HostGroupsIDGetOK) Error() string
- func (o *V1HostGroupsIDGetOK) GetPayload() *models.HostGroup
- func (o *V1HostGroupsIDGetOK) IsClientError() bool
- func (o *V1HostGroupsIDGetOK) IsCode(code int) bool
- func (o *V1HostGroupsIDGetOK) IsRedirect() bool
- func (o *V1HostGroupsIDGetOK) IsServerError() bool
- func (o *V1HostGroupsIDGetOK) IsSuccess() bool
- func (o *V1HostGroupsIDGetOK) String() string
- type V1HostGroupsIDGetParams
- func NewV1HostGroupsIDGetParams() *V1HostGroupsIDGetParams
- func NewV1HostGroupsIDGetParamsWithContext(ctx context.Context) *V1HostGroupsIDGetParams
- func NewV1HostGroupsIDGetParamsWithHTTPClient(client *http.Client) *V1HostGroupsIDGetParams
- func NewV1HostGroupsIDGetParamsWithTimeout(timeout time.Duration) *V1HostGroupsIDGetParams
- func (o *V1HostGroupsIDGetParams) SetContext(ctx context.Context)
- func (o *V1HostGroupsIDGetParams) SetDefaults()
- func (o *V1HostGroupsIDGetParams) SetHTTPClient(client *http.Client)
- func (o *V1HostGroupsIDGetParams) SetHostGroupID(hostGroupID string)
- func (o *V1HostGroupsIDGetParams) SetTimeout(timeout time.Duration)
- func (o *V1HostGroupsIDGetParams) WithContext(ctx context.Context) *V1HostGroupsIDGetParams
- func (o *V1HostGroupsIDGetParams) WithDefaults() *V1HostGroupsIDGetParams
- func (o *V1HostGroupsIDGetParams) WithHTTPClient(client *http.Client) *V1HostGroupsIDGetParams
- func (o *V1HostGroupsIDGetParams) WithHostGroupID(hostGroupID string) *V1HostGroupsIDGetParams
- func (o *V1HostGroupsIDGetParams) WithTimeout(timeout time.Duration) *V1HostGroupsIDGetParams
- func (o *V1HostGroupsIDGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostGroupsIDGetReader
- type V1HostGroupsIDGetUnauthorized
- func (o *V1HostGroupsIDGetUnauthorized) Code() int
- func (o *V1HostGroupsIDGetUnauthorized) Error() string
- func (o *V1HostGroupsIDGetUnauthorized) GetPayload() *models.Error
- func (o *V1HostGroupsIDGetUnauthorized) IsClientError() bool
- func (o *V1HostGroupsIDGetUnauthorized) IsCode(code int) bool
- func (o *V1HostGroupsIDGetUnauthorized) IsRedirect() bool
- func (o *V1HostGroupsIDGetUnauthorized) IsServerError() bool
- func (o *V1HostGroupsIDGetUnauthorized) IsSuccess() bool
- func (o *V1HostGroupsIDGetUnauthorized) String() string
- type V1HostGroupsIDPutBadRequest
- func (o *V1HostGroupsIDPutBadRequest) Code() int
- func (o *V1HostGroupsIDPutBadRequest) Error() string
- func (o *V1HostGroupsIDPutBadRequest) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutBadRequest) IsClientError() bool
- func (o *V1HostGroupsIDPutBadRequest) IsCode(code int) bool
- func (o *V1HostGroupsIDPutBadRequest) IsRedirect() bool
- func (o *V1HostGroupsIDPutBadRequest) IsServerError() bool
- func (o *V1HostGroupsIDPutBadRequest) IsSuccess() bool
- func (o *V1HostGroupsIDPutBadRequest) String() string
- type V1HostGroupsIDPutConflict
- func (o *V1HostGroupsIDPutConflict) Code() int
- func (o *V1HostGroupsIDPutConflict) Error() string
- func (o *V1HostGroupsIDPutConflict) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutConflict) IsClientError() bool
- func (o *V1HostGroupsIDPutConflict) IsCode(code int) bool
- func (o *V1HostGroupsIDPutConflict) IsRedirect() bool
- func (o *V1HostGroupsIDPutConflict) IsServerError() bool
- func (o *V1HostGroupsIDPutConflict) IsSuccess() bool
- func (o *V1HostGroupsIDPutConflict) String() string
- type V1HostGroupsIDPutForbidden
- func (o *V1HostGroupsIDPutForbidden) Code() int
- func (o *V1HostGroupsIDPutForbidden) Error() string
- func (o *V1HostGroupsIDPutForbidden) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutForbidden) IsClientError() bool
- func (o *V1HostGroupsIDPutForbidden) IsCode(code int) bool
- func (o *V1HostGroupsIDPutForbidden) IsRedirect() bool
- func (o *V1HostGroupsIDPutForbidden) IsServerError() bool
- func (o *V1HostGroupsIDPutForbidden) IsSuccess() bool
- func (o *V1HostGroupsIDPutForbidden) String() string
- type V1HostGroupsIDPutGatewayTimeout
- func (o *V1HostGroupsIDPutGatewayTimeout) Code() int
- func (o *V1HostGroupsIDPutGatewayTimeout) Error() string
- func (o *V1HostGroupsIDPutGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutGatewayTimeout) IsClientError() bool
- func (o *V1HostGroupsIDPutGatewayTimeout) IsCode(code int) bool
- func (o *V1HostGroupsIDPutGatewayTimeout) IsRedirect() bool
- func (o *V1HostGroupsIDPutGatewayTimeout) IsServerError() bool
- func (o *V1HostGroupsIDPutGatewayTimeout) IsSuccess() bool
- func (o *V1HostGroupsIDPutGatewayTimeout) String() string
- type V1HostGroupsIDPutInternalServerError
- func (o *V1HostGroupsIDPutInternalServerError) Code() int
- func (o *V1HostGroupsIDPutInternalServerError) Error() string
- func (o *V1HostGroupsIDPutInternalServerError) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutInternalServerError) IsClientError() bool
- func (o *V1HostGroupsIDPutInternalServerError) IsCode(code int) bool
- func (o *V1HostGroupsIDPutInternalServerError) IsRedirect() bool
- func (o *V1HostGroupsIDPutInternalServerError) IsServerError() bool
- func (o *V1HostGroupsIDPutInternalServerError) IsSuccess() bool
- func (o *V1HostGroupsIDPutInternalServerError) String() string
- type V1HostGroupsIDPutNotFound
- func (o *V1HostGroupsIDPutNotFound) Code() int
- func (o *V1HostGroupsIDPutNotFound) Error() string
- func (o *V1HostGroupsIDPutNotFound) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutNotFound) IsClientError() bool
- func (o *V1HostGroupsIDPutNotFound) IsCode(code int) bool
- func (o *V1HostGroupsIDPutNotFound) IsRedirect() bool
- func (o *V1HostGroupsIDPutNotFound) IsServerError() bool
- func (o *V1HostGroupsIDPutNotFound) IsSuccess() bool
- func (o *V1HostGroupsIDPutNotFound) String() string
- type V1HostGroupsIDPutOK
- func (o *V1HostGroupsIDPutOK) Code() int
- func (o *V1HostGroupsIDPutOK) Error() string
- func (o *V1HostGroupsIDPutOK) GetPayload() *models.HostGroup
- func (o *V1HostGroupsIDPutOK) IsClientError() bool
- func (o *V1HostGroupsIDPutOK) IsCode(code int) bool
- func (o *V1HostGroupsIDPutOK) IsRedirect() bool
- func (o *V1HostGroupsIDPutOK) IsServerError() bool
- func (o *V1HostGroupsIDPutOK) IsSuccess() bool
- func (o *V1HostGroupsIDPutOK) String() string
- type V1HostGroupsIDPutParams
- func NewV1HostGroupsIDPutParams() *V1HostGroupsIDPutParams
- func NewV1HostGroupsIDPutParamsWithContext(ctx context.Context) *V1HostGroupsIDPutParams
- func NewV1HostGroupsIDPutParamsWithHTTPClient(client *http.Client) *V1HostGroupsIDPutParams
- func NewV1HostGroupsIDPutParamsWithTimeout(timeout time.Duration) *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) SetBody(body *models.HostGroupShareOp)
- func (o *V1HostGroupsIDPutParams) SetContext(ctx context.Context)
- func (o *V1HostGroupsIDPutParams) SetDefaults()
- func (o *V1HostGroupsIDPutParams) SetHTTPClient(client *http.Client)
- func (o *V1HostGroupsIDPutParams) SetHostGroupID(hostGroupID string)
- func (o *V1HostGroupsIDPutParams) SetTimeout(timeout time.Duration)
- func (o *V1HostGroupsIDPutParams) WithBody(body *models.HostGroupShareOp) *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) WithContext(ctx context.Context) *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) WithDefaults() *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) WithHTTPClient(client *http.Client) *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) WithHostGroupID(hostGroupID string) *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) WithTimeout(timeout time.Duration) *V1HostGroupsIDPutParams
- func (o *V1HostGroupsIDPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostGroupsIDPutReader
- type V1HostGroupsIDPutUnauthorized
- func (o *V1HostGroupsIDPutUnauthorized) Code() int
- func (o *V1HostGroupsIDPutUnauthorized) Error() string
- func (o *V1HostGroupsIDPutUnauthorized) GetPayload() *models.Error
- func (o *V1HostGroupsIDPutUnauthorized) IsClientError() bool
- func (o *V1HostGroupsIDPutUnauthorized) IsCode(code int) bool
- func (o *V1HostGroupsIDPutUnauthorized) IsRedirect() bool
- func (o *V1HostGroupsIDPutUnauthorized) IsServerError() bool
- func (o *V1HostGroupsIDPutUnauthorized) IsSuccess() bool
- func (o *V1HostGroupsIDPutUnauthorized) String() string
- type V1HostGroupsPostBadRequest
- func (o *V1HostGroupsPostBadRequest) Code() int
- func (o *V1HostGroupsPostBadRequest) Error() string
- func (o *V1HostGroupsPostBadRequest) GetPayload() *models.Error
- func (o *V1HostGroupsPostBadRequest) IsClientError() bool
- func (o *V1HostGroupsPostBadRequest) IsCode(code int) bool
- func (o *V1HostGroupsPostBadRequest) IsRedirect() bool
- func (o *V1HostGroupsPostBadRequest) IsServerError() bool
- func (o *V1HostGroupsPostBadRequest) IsSuccess() bool
- func (o *V1HostGroupsPostBadRequest) String() string
- type V1HostGroupsPostConflict
- func (o *V1HostGroupsPostConflict) Code() int
- func (o *V1HostGroupsPostConflict) Error() string
- func (o *V1HostGroupsPostConflict) GetPayload() *models.Error
- func (o *V1HostGroupsPostConflict) IsClientError() bool
- func (o *V1HostGroupsPostConflict) IsCode(code int) bool
- func (o *V1HostGroupsPostConflict) IsRedirect() bool
- func (o *V1HostGroupsPostConflict) IsServerError() bool
- func (o *V1HostGroupsPostConflict) IsSuccess() bool
- func (o *V1HostGroupsPostConflict) String() string
- type V1HostGroupsPostCreated
- func (o *V1HostGroupsPostCreated) Code() int
- func (o *V1HostGroupsPostCreated) Error() string
- func (o *V1HostGroupsPostCreated) GetPayload() *models.HostGroup
- func (o *V1HostGroupsPostCreated) IsClientError() bool
- func (o *V1HostGroupsPostCreated) IsCode(code int) bool
- func (o *V1HostGroupsPostCreated) IsRedirect() bool
- func (o *V1HostGroupsPostCreated) IsServerError() bool
- func (o *V1HostGroupsPostCreated) IsSuccess() bool
- func (o *V1HostGroupsPostCreated) String() string
- type V1HostGroupsPostForbidden
- func (o *V1HostGroupsPostForbidden) Code() int
- func (o *V1HostGroupsPostForbidden) Error() string
- func (o *V1HostGroupsPostForbidden) GetPayload() *models.Error
- func (o *V1HostGroupsPostForbidden) IsClientError() bool
- func (o *V1HostGroupsPostForbidden) IsCode(code int) bool
- func (o *V1HostGroupsPostForbidden) IsRedirect() bool
- func (o *V1HostGroupsPostForbidden) IsServerError() bool
- func (o *V1HostGroupsPostForbidden) IsSuccess() bool
- func (o *V1HostGroupsPostForbidden) String() string
- type V1HostGroupsPostGatewayTimeout
- func (o *V1HostGroupsPostGatewayTimeout) Code() int
- func (o *V1HostGroupsPostGatewayTimeout) Error() string
- func (o *V1HostGroupsPostGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostGroupsPostGatewayTimeout) IsClientError() bool
- func (o *V1HostGroupsPostGatewayTimeout) IsCode(code int) bool
- func (o *V1HostGroupsPostGatewayTimeout) IsRedirect() bool
- func (o *V1HostGroupsPostGatewayTimeout) IsServerError() bool
- func (o *V1HostGroupsPostGatewayTimeout) IsSuccess() bool
- func (o *V1HostGroupsPostGatewayTimeout) String() string
- type V1HostGroupsPostInternalServerError
- func (o *V1HostGroupsPostInternalServerError) Code() int
- func (o *V1HostGroupsPostInternalServerError) Error() string
- func (o *V1HostGroupsPostInternalServerError) GetPayload() *models.Error
- func (o *V1HostGroupsPostInternalServerError) IsClientError() bool
- func (o *V1HostGroupsPostInternalServerError) IsCode(code int) bool
- func (o *V1HostGroupsPostInternalServerError) IsRedirect() bool
- func (o *V1HostGroupsPostInternalServerError) IsServerError() bool
- func (o *V1HostGroupsPostInternalServerError) IsSuccess() bool
- func (o *V1HostGroupsPostInternalServerError) String() string
- type V1HostGroupsPostParams
- func NewV1HostGroupsPostParams() *V1HostGroupsPostParams
- func NewV1HostGroupsPostParamsWithContext(ctx context.Context) *V1HostGroupsPostParams
- func NewV1HostGroupsPostParamsWithHTTPClient(client *http.Client) *V1HostGroupsPostParams
- func NewV1HostGroupsPostParamsWithTimeout(timeout time.Duration) *V1HostGroupsPostParams
- func (o *V1HostGroupsPostParams) SetBody(body *models.HostGroupCreate)
- func (o *V1HostGroupsPostParams) SetContext(ctx context.Context)
- func (o *V1HostGroupsPostParams) SetDefaults()
- func (o *V1HostGroupsPostParams) SetHTTPClient(client *http.Client)
- func (o *V1HostGroupsPostParams) SetTimeout(timeout time.Duration)
- func (o *V1HostGroupsPostParams) WithBody(body *models.HostGroupCreate) *V1HostGroupsPostParams
- func (o *V1HostGroupsPostParams) WithContext(ctx context.Context) *V1HostGroupsPostParams
- func (o *V1HostGroupsPostParams) WithDefaults() *V1HostGroupsPostParams
- func (o *V1HostGroupsPostParams) WithHTTPClient(client *http.Client) *V1HostGroupsPostParams
- func (o *V1HostGroupsPostParams) WithTimeout(timeout time.Duration) *V1HostGroupsPostParams
- func (o *V1HostGroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostGroupsPostReader
- type V1HostGroupsPostUnauthorized
- func (o *V1HostGroupsPostUnauthorized) Code() int
- func (o *V1HostGroupsPostUnauthorized) Error() string
- func (o *V1HostGroupsPostUnauthorized) GetPayload() *models.Error
- func (o *V1HostGroupsPostUnauthorized) IsClientError() bool
- func (o *V1HostGroupsPostUnauthorized) IsCode(code int) bool
- func (o *V1HostGroupsPostUnauthorized) IsRedirect() bool
- func (o *V1HostGroupsPostUnauthorized) IsServerError() bool
- func (o *V1HostGroupsPostUnauthorized) IsSuccess() bool
- func (o *V1HostGroupsPostUnauthorized) String() string
- type V1HostGroupsPostUnprocessableEntity
- func (o *V1HostGroupsPostUnprocessableEntity) Code() int
- func (o *V1HostGroupsPostUnprocessableEntity) Error() string
- func (o *V1HostGroupsPostUnprocessableEntity) GetPayload() *models.Error
- func (o *V1HostGroupsPostUnprocessableEntity) IsClientError() bool
- func (o *V1HostGroupsPostUnprocessableEntity) IsCode(code int) bool
- func (o *V1HostGroupsPostUnprocessableEntity) IsRedirect() bool
- func (o *V1HostGroupsPostUnprocessableEntity) IsServerError() bool
- func (o *V1HostGroupsPostUnprocessableEntity) IsSuccess() bool
- func (o *V1HostGroupsPostUnprocessableEntity) String() string
- type V1HostsGetBadRequest
- func (o *V1HostsGetBadRequest) Code() int
- func (o *V1HostsGetBadRequest) Error() string
- func (o *V1HostsGetBadRequest) GetPayload() *models.Error
- func (o *V1HostsGetBadRequest) IsClientError() bool
- func (o *V1HostsGetBadRequest) IsCode(code int) bool
- func (o *V1HostsGetBadRequest) IsRedirect() bool
- func (o *V1HostsGetBadRequest) IsServerError() bool
- func (o *V1HostsGetBadRequest) IsSuccess() bool
- func (o *V1HostsGetBadRequest) String() string
- type V1HostsGetForbidden
- func (o *V1HostsGetForbidden) Code() int
- func (o *V1HostsGetForbidden) Error() string
- func (o *V1HostsGetForbidden) GetPayload() *models.Error
- func (o *V1HostsGetForbidden) IsClientError() bool
- func (o *V1HostsGetForbidden) IsCode(code int) bool
- func (o *V1HostsGetForbidden) IsRedirect() bool
- func (o *V1HostsGetForbidden) IsServerError() bool
- func (o *V1HostsGetForbidden) IsSuccess() bool
- func (o *V1HostsGetForbidden) String() string
- type V1HostsGetGatewayTimeout
- func (o *V1HostsGetGatewayTimeout) Code() int
- func (o *V1HostsGetGatewayTimeout) Error() string
- func (o *V1HostsGetGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostsGetGatewayTimeout) IsClientError() bool
- func (o *V1HostsGetGatewayTimeout) IsCode(code int) bool
- func (o *V1HostsGetGatewayTimeout) IsRedirect() bool
- func (o *V1HostsGetGatewayTimeout) IsServerError() bool
- func (o *V1HostsGetGatewayTimeout) IsSuccess() bool
- func (o *V1HostsGetGatewayTimeout) String() string
- type V1HostsGetInternalServerError
- func (o *V1HostsGetInternalServerError) Code() int
- func (o *V1HostsGetInternalServerError) Error() string
- func (o *V1HostsGetInternalServerError) GetPayload() *models.Error
- func (o *V1HostsGetInternalServerError) IsClientError() bool
- func (o *V1HostsGetInternalServerError) IsCode(code int) bool
- func (o *V1HostsGetInternalServerError) IsRedirect() bool
- func (o *V1HostsGetInternalServerError) IsServerError() bool
- func (o *V1HostsGetInternalServerError) IsSuccess() bool
- func (o *V1HostsGetInternalServerError) String() string
- type V1HostsGetOK
- func (o *V1HostsGetOK) Code() int
- func (o *V1HostsGetOK) Error() string
- func (o *V1HostsGetOK) GetPayload() models.HostList
- func (o *V1HostsGetOK) IsClientError() bool
- func (o *V1HostsGetOK) IsCode(code int) bool
- func (o *V1HostsGetOK) IsRedirect() bool
- func (o *V1HostsGetOK) IsServerError() bool
- func (o *V1HostsGetOK) IsSuccess() bool
- func (o *V1HostsGetOK) String() string
- type V1HostsGetParams
- func (o *V1HostsGetParams) SetContext(ctx context.Context)
- func (o *V1HostsGetParams) SetDefaults()
- func (o *V1HostsGetParams) SetHTTPClient(client *http.Client)
- func (o *V1HostsGetParams) SetTimeout(timeout time.Duration)
- func (o *V1HostsGetParams) WithContext(ctx context.Context) *V1HostsGetParams
- func (o *V1HostsGetParams) WithDefaults() *V1HostsGetParams
- func (o *V1HostsGetParams) WithHTTPClient(client *http.Client) *V1HostsGetParams
- func (o *V1HostsGetParams) WithTimeout(timeout time.Duration) *V1HostsGetParams
- func (o *V1HostsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostsGetReader
- type V1HostsGetUnauthorized
- func (o *V1HostsGetUnauthorized) Code() int
- func (o *V1HostsGetUnauthorized) Error() string
- func (o *V1HostsGetUnauthorized) GetPayload() *models.Error
- func (o *V1HostsGetUnauthorized) IsClientError() bool
- func (o *V1HostsGetUnauthorized) IsCode(code int) bool
- func (o *V1HostsGetUnauthorized) IsRedirect() bool
- func (o *V1HostsGetUnauthorized) IsServerError() bool
- func (o *V1HostsGetUnauthorized) IsSuccess() bool
- func (o *V1HostsGetUnauthorized) String() string
- type V1HostsIDDeleteAccepted
- func (o *V1HostsIDDeleteAccepted) Code() int
- func (o *V1HostsIDDeleteAccepted) Error() string
- func (o *V1HostsIDDeleteAccepted) GetPayload() models.Object
- func (o *V1HostsIDDeleteAccepted) IsClientError() bool
- func (o *V1HostsIDDeleteAccepted) IsCode(code int) bool
- func (o *V1HostsIDDeleteAccepted) IsRedirect() bool
- func (o *V1HostsIDDeleteAccepted) IsServerError() bool
- func (o *V1HostsIDDeleteAccepted) IsSuccess() bool
- func (o *V1HostsIDDeleteAccepted) String() string
- type V1HostsIDDeleteBadRequest
- func (o *V1HostsIDDeleteBadRequest) Code() int
- func (o *V1HostsIDDeleteBadRequest) Error() string
- func (o *V1HostsIDDeleteBadRequest) GetPayload() *models.Error
- func (o *V1HostsIDDeleteBadRequest) IsClientError() bool
- func (o *V1HostsIDDeleteBadRequest) IsCode(code int) bool
- func (o *V1HostsIDDeleteBadRequest) IsRedirect() bool
- func (o *V1HostsIDDeleteBadRequest) IsServerError() bool
- func (o *V1HostsIDDeleteBadRequest) IsSuccess() bool
- func (o *V1HostsIDDeleteBadRequest) String() string
- type V1HostsIDDeleteForbidden
- func (o *V1HostsIDDeleteForbidden) Code() int
- func (o *V1HostsIDDeleteForbidden) Error() string
- func (o *V1HostsIDDeleteForbidden) GetPayload() *models.Error
- func (o *V1HostsIDDeleteForbidden) IsClientError() bool
- func (o *V1HostsIDDeleteForbidden) IsCode(code int) bool
- func (o *V1HostsIDDeleteForbidden) IsRedirect() bool
- func (o *V1HostsIDDeleteForbidden) IsServerError() bool
- func (o *V1HostsIDDeleteForbidden) IsSuccess() bool
- func (o *V1HostsIDDeleteForbidden) String() string
- type V1HostsIDDeleteGatewayTimeout
- func (o *V1HostsIDDeleteGatewayTimeout) Code() int
- func (o *V1HostsIDDeleteGatewayTimeout) Error() string
- func (o *V1HostsIDDeleteGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostsIDDeleteGatewayTimeout) IsClientError() bool
- func (o *V1HostsIDDeleteGatewayTimeout) IsCode(code int) bool
- func (o *V1HostsIDDeleteGatewayTimeout) IsRedirect() bool
- func (o *V1HostsIDDeleteGatewayTimeout) IsServerError() bool
- func (o *V1HostsIDDeleteGatewayTimeout) IsSuccess() bool
- func (o *V1HostsIDDeleteGatewayTimeout) String() string
- type V1HostsIDDeleteInternalServerError
- func (o *V1HostsIDDeleteInternalServerError) Code() int
- func (o *V1HostsIDDeleteInternalServerError) Error() string
- func (o *V1HostsIDDeleteInternalServerError) GetPayload() *models.Error
- func (o *V1HostsIDDeleteInternalServerError) IsClientError() bool
- func (o *V1HostsIDDeleteInternalServerError) IsCode(code int) bool
- func (o *V1HostsIDDeleteInternalServerError) IsRedirect() bool
- func (o *V1HostsIDDeleteInternalServerError) IsServerError() bool
- func (o *V1HostsIDDeleteInternalServerError) IsSuccess() bool
- func (o *V1HostsIDDeleteInternalServerError) String() string
- type V1HostsIDDeleteNotFound
- func (o *V1HostsIDDeleteNotFound) Code() int
- func (o *V1HostsIDDeleteNotFound) Error() string
- func (o *V1HostsIDDeleteNotFound) GetPayload() *models.Error
- func (o *V1HostsIDDeleteNotFound) IsClientError() bool
- func (o *V1HostsIDDeleteNotFound) IsCode(code int) bool
- func (o *V1HostsIDDeleteNotFound) IsRedirect() bool
- func (o *V1HostsIDDeleteNotFound) IsServerError() bool
- func (o *V1HostsIDDeleteNotFound) IsSuccess() bool
- func (o *V1HostsIDDeleteNotFound) String() string
- type V1HostsIDDeleteParams
- func NewV1HostsIDDeleteParams() *V1HostsIDDeleteParams
- func NewV1HostsIDDeleteParamsWithContext(ctx context.Context) *V1HostsIDDeleteParams
- func NewV1HostsIDDeleteParamsWithHTTPClient(client *http.Client) *V1HostsIDDeleteParams
- func NewV1HostsIDDeleteParamsWithTimeout(timeout time.Duration) *V1HostsIDDeleteParams
- func (o *V1HostsIDDeleteParams) SetContext(ctx context.Context)
- func (o *V1HostsIDDeleteParams) SetDefaults()
- func (o *V1HostsIDDeleteParams) SetHTTPClient(client *http.Client)
- func (o *V1HostsIDDeleteParams) SetHostID(hostID string)
- func (o *V1HostsIDDeleteParams) SetTimeout(timeout time.Duration)
- func (o *V1HostsIDDeleteParams) WithContext(ctx context.Context) *V1HostsIDDeleteParams
- func (o *V1HostsIDDeleteParams) WithDefaults() *V1HostsIDDeleteParams
- func (o *V1HostsIDDeleteParams) WithHTTPClient(client *http.Client) *V1HostsIDDeleteParams
- func (o *V1HostsIDDeleteParams) WithHostID(hostID string) *V1HostsIDDeleteParams
- func (o *V1HostsIDDeleteParams) WithTimeout(timeout time.Duration) *V1HostsIDDeleteParams
- func (o *V1HostsIDDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostsIDDeleteReader
- type V1HostsIDDeleteUnauthorized
- func (o *V1HostsIDDeleteUnauthorized) Code() int
- func (o *V1HostsIDDeleteUnauthorized) Error() string
- func (o *V1HostsIDDeleteUnauthorized) GetPayload() *models.Error
- func (o *V1HostsIDDeleteUnauthorized) IsClientError() bool
- func (o *V1HostsIDDeleteUnauthorized) IsCode(code int) bool
- func (o *V1HostsIDDeleteUnauthorized) IsRedirect() bool
- func (o *V1HostsIDDeleteUnauthorized) IsServerError() bool
- func (o *V1HostsIDDeleteUnauthorized) IsSuccess() bool
- func (o *V1HostsIDDeleteUnauthorized) String() string
- type V1HostsIDGetBadRequest
- func (o *V1HostsIDGetBadRequest) Code() int
- func (o *V1HostsIDGetBadRequest) Error() string
- func (o *V1HostsIDGetBadRequest) GetPayload() *models.Error
- func (o *V1HostsIDGetBadRequest) IsClientError() bool
- func (o *V1HostsIDGetBadRequest) IsCode(code int) bool
- func (o *V1HostsIDGetBadRequest) IsRedirect() bool
- func (o *V1HostsIDGetBadRequest) IsServerError() bool
- func (o *V1HostsIDGetBadRequest) IsSuccess() bool
- func (o *V1HostsIDGetBadRequest) String() string
- type V1HostsIDGetForbidden
- func (o *V1HostsIDGetForbidden) Code() int
- func (o *V1HostsIDGetForbidden) Error() string
- func (o *V1HostsIDGetForbidden) GetPayload() *models.Error
- func (o *V1HostsIDGetForbidden) IsClientError() bool
- func (o *V1HostsIDGetForbidden) IsCode(code int) bool
- func (o *V1HostsIDGetForbidden) IsRedirect() bool
- func (o *V1HostsIDGetForbidden) IsServerError() bool
- func (o *V1HostsIDGetForbidden) IsSuccess() bool
- func (o *V1HostsIDGetForbidden) String() string
- type V1HostsIDGetGatewayTimeout
- func (o *V1HostsIDGetGatewayTimeout) Code() int
- func (o *V1HostsIDGetGatewayTimeout) Error() string
- func (o *V1HostsIDGetGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostsIDGetGatewayTimeout) IsClientError() bool
- func (o *V1HostsIDGetGatewayTimeout) IsCode(code int) bool
- func (o *V1HostsIDGetGatewayTimeout) IsRedirect() bool
- func (o *V1HostsIDGetGatewayTimeout) IsServerError() bool
- func (o *V1HostsIDGetGatewayTimeout) IsSuccess() bool
- func (o *V1HostsIDGetGatewayTimeout) String() string
- type V1HostsIDGetInternalServerError
- func (o *V1HostsIDGetInternalServerError) Code() int
- func (o *V1HostsIDGetInternalServerError) Error() string
- func (o *V1HostsIDGetInternalServerError) GetPayload() *models.Error
- func (o *V1HostsIDGetInternalServerError) IsClientError() bool
- func (o *V1HostsIDGetInternalServerError) IsCode(code int) bool
- func (o *V1HostsIDGetInternalServerError) IsRedirect() bool
- func (o *V1HostsIDGetInternalServerError) IsServerError() bool
- func (o *V1HostsIDGetInternalServerError) IsSuccess() bool
- func (o *V1HostsIDGetInternalServerError) String() string
- type V1HostsIDGetNotFound
- func (o *V1HostsIDGetNotFound) Code() int
- func (o *V1HostsIDGetNotFound) Error() string
- func (o *V1HostsIDGetNotFound) GetPayload() *models.Error
- func (o *V1HostsIDGetNotFound) IsClientError() bool
- func (o *V1HostsIDGetNotFound) IsCode(code int) bool
- func (o *V1HostsIDGetNotFound) IsRedirect() bool
- func (o *V1HostsIDGetNotFound) IsServerError() bool
- func (o *V1HostsIDGetNotFound) IsSuccess() bool
- func (o *V1HostsIDGetNotFound) String() string
- type V1HostsIDGetOK
- func (o *V1HostsIDGetOK) Code() int
- func (o *V1HostsIDGetOK) Error() string
- func (o *V1HostsIDGetOK) GetPayload() *models.Host
- func (o *V1HostsIDGetOK) IsClientError() bool
- func (o *V1HostsIDGetOK) IsCode(code int) bool
- func (o *V1HostsIDGetOK) IsRedirect() bool
- func (o *V1HostsIDGetOK) IsServerError() bool
- func (o *V1HostsIDGetOK) IsSuccess() bool
- func (o *V1HostsIDGetOK) String() string
- type V1HostsIDGetParams
- func (o *V1HostsIDGetParams) SetContext(ctx context.Context)
- func (o *V1HostsIDGetParams) SetDefaults()
- func (o *V1HostsIDGetParams) SetHTTPClient(client *http.Client)
- func (o *V1HostsIDGetParams) SetHostID(hostID string)
- func (o *V1HostsIDGetParams) SetTimeout(timeout time.Duration)
- func (o *V1HostsIDGetParams) WithContext(ctx context.Context) *V1HostsIDGetParams
- func (o *V1HostsIDGetParams) WithDefaults() *V1HostsIDGetParams
- func (o *V1HostsIDGetParams) WithHTTPClient(client *http.Client) *V1HostsIDGetParams
- func (o *V1HostsIDGetParams) WithHostID(hostID string) *V1HostsIDGetParams
- func (o *V1HostsIDGetParams) WithTimeout(timeout time.Duration) *V1HostsIDGetParams
- func (o *V1HostsIDGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostsIDGetReader
- type V1HostsIDGetUnauthorized
- func (o *V1HostsIDGetUnauthorized) Code() int
- func (o *V1HostsIDGetUnauthorized) Error() string
- func (o *V1HostsIDGetUnauthorized) GetPayload() *models.Error
- func (o *V1HostsIDGetUnauthorized) IsClientError() bool
- func (o *V1HostsIDGetUnauthorized) IsCode(code int) bool
- func (o *V1HostsIDGetUnauthorized) IsRedirect() bool
- func (o *V1HostsIDGetUnauthorized) IsServerError() bool
- func (o *V1HostsIDGetUnauthorized) IsSuccess() bool
- func (o *V1HostsIDGetUnauthorized) String() string
- type V1HostsIDPutBadRequest
- func (o *V1HostsIDPutBadRequest) Code() int
- func (o *V1HostsIDPutBadRequest) Error() string
- func (o *V1HostsIDPutBadRequest) GetPayload() *models.Error
- func (o *V1HostsIDPutBadRequest) IsClientError() bool
- func (o *V1HostsIDPutBadRequest) IsCode(code int) bool
- func (o *V1HostsIDPutBadRequest) IsRedirect() bool
- func (o *V1HostsIDPutBadRequest) IsServerError() bool
- func (o *V1HostsIDPutBadRequest) IsSuccess() bool
- func (o *V1HostsIDPutBadRequest) String() string
- type V1HostsIDPutForbidden
- func (o *V1HostsIDPutForbidden) Code() int
- func (o *V1HostsIDPutForbidden) Error() string
- func (o *V1HostsIDPutForbidden) GetPayload() *models.Error
- func (o *V1HostsIDPutForbidden) IsClientError() bool
- func (o *V1HostsIDPutForbidden) IsCode(code int) bool
- func (o *V1HostsIDPutForbidden) IsRedirect() bool
- func (o *V1HostsIDPutForbidden) IsServerError() bool
- func (o *V1HostsIDPutForbidden) IsSuccess() bool
- func (o *V1HostsIDPutForbidden) String() string
- type V1HostsIDPutGatewayTimeout
- func (o *V1HostsIDPutGatewayTimeout) Code() int
- func (o *V1HostsIDPutGatewayTimeout) Error() string
- func (o *V1HostsIDPutGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostsIDPutGatewayTimeout) IsClientError() bool
- func (o *V1HostsIDPutGatewayTimeout) IsCode(code int) bool
- func (o *V1HostsIDPutGatewayTimeout) IsRedirect() bool
- func (o *V1HostsIDPutGatewayTimeout) IsServerError() bool
- func (o *V1HostsIDPutGatewayTimeout) IsSuccess() bool
- func (o *V1HostsIDPutGatewayTimeout) String() string
- type V1HostsIDPutInternalServerError
- func (o *V1HostsIDPutInternalServerError) Code() int
- func (o *V1HostsIDPutInternalServerError) Error() string
- func (o *V1HostsIDPutInternalServerError) GetPayload() *models.Error
- func (o *V1HostsIDPutInternalServerError) IsClientError() bool
- func (o *V1HostsIDPutInternalServerError) IsCode(code int) bool
- func (o *V1HostsIDPutInternalServerError) IsRedirect() bool
- func (o *V1HostsIDPutInternalServerError) IsServerError() bool
- func (o *V1HostsIDPutInternalServerError) IsSuccess() bool
- func (o *V1HostsIDPutInternalServerError) String() string
- type V1HostsIDPutNotFound
- func (o *V1HostsIDPutNotFound) Code() int
- func (o *V1HostsIDPutNotFound) Error() string
- func (o *V1HostsIDPutNotFound) GetPayload() *models.Error
- func (o *V1HostsIDPutNotFound) IsClientError() bool
- func (o *V1HostsIDPutNotFound) IsCode(code int) bool
- func (o *V1HostsIDPutNotFound) IsRedirect() bool
- func (o *V1HostsIDPutNotFound) IsServerError() bool
- func (o *V1HostsIDPutNotFound) IsSuccess() bool
- func (o *V1HostsIDPutNotFound) String() string
- type V1HostsIDPutOK
- func (o *V1HostsIDPutOK) Code() int
- func (o *V1HostsIDPutOK) Error() string
- func (o *V1HostsIDPutOK) GetPayload() *models.Host
- func (o *V1HostsIDPutOK) IsClientError() bool
- func (o *V1HostsIDPutOK) IsCode(code int) bool
- func (o *V1HostsIDPutOK) IsRedirect() bool
- func (o *V1HostsIDPutOK) IsServerError() bool
- func (o *V1HostsIDPutOK) IsSuccess() bool
- func (o *V1HostsIDPutOK) String() string
- type V1HostsIDPutParams
- func (o *V1HostsIDPutParams) SetBody(body *models.HostPut)
- func (o *V1HostsIDPutParams) SetContext(ctx context.Context)
- func (o *V1HostsIDPutParams) SetDefaults()
- func (o *V1HostsIDPutParams) SetHTTPClient(client *http.Client)
- func (o *V1HostsIDPutParams) SetHostID(hostID string)
- func (o *V1HostsIDPutParams) SetTimeout(timeout time.Duration)
- func (o *V1HostsIDPutParams) WithBody(body *models.HostPut) *V1HostsIDPutParams
- func (o *V1HostsIDPutParams) WithContext(ctx context.Context) *V1HostsIDPutParams
- func (o *V1HostsIDPutParams) WithDefaults() *V1HostsIDPutParams
- func (o *V1HostsIDPutParams) WithHTTPClient(client *http.Client) *V1HostsIDPutParams
- func (o *V1HostsIDPutParams) WithHostID(hostID string) *V1HostsIDPutParams
- func (o *V1HostsIDPutParams) WithTimeout(timeout time.Duration) *V1HostsIDPutParams
- func (o *V1HostsIDPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostsIDPutReader
- type V1HostsIDPutUnauthorized
- func (o *V1HostsIDPutUnauthorized) Code() int
- func (o *V1HostsIDPutUnauthorized) Error() string
- func (o *V1HostsIDPutUnauthorized) GetPayload() *models.Error
- func (o *V1HostsIDPutUnauthorized) IsClientError() bool
- func (o *V1HostsIDPutUnauthorized) IsCode(code int) bool
- func (o *V1HostsIDPutUnauthorized) IsRedirect() bool
- func (o *V1HostsIDPutUnauthorized) IsServerError() bool
- func (o *V1HostsIDPutUnauthorized) IsSuccess() bool
- func (o *V1HostsIDPutUnauthorized) String() string
- type V1HostsIDPutUnprocessableEntity
- func (o *V1HostsIDPutUnprocessableEntity) Code() int
- func (o *V1HostsIDPutUnprocessableEntity) Error() string
- func (o *V1HostsIDPutUnprocessableEntity) GetPayload() *models.Error
- func (o *V1HostsIDPutUnprocessableEntity) IsClientError() bool
- func (o *V1HostsIDPutUnprocessableEntity) IsCode(code int) bool
- func (o *V1HostsIDPutUnprocessableEntity) IsRedirect() bool
- func (o *V1HostsIDPutUnprocessableEntity) IsServerError() bool
- func (o *V1HostsIDPutUnprocessableEntity) IsSuccess() bool
- func (o *V1HostsIDPutUnprocessableEntity) String() string
- type V1HostsPostBadRequest
- func (o *V1HostsPostBadRequest) Code() int
- func (o *V1HostsPostBadRequest) Error() string
- func (o *V1HostsPostBadRequest) GetPayload() *models.Error
- func (o *V1HostsPostBadRequest) IsClientError() bool
- func (o *V1HostsPostBadRequest) IsCode(code int) bool
- func (o *V1HostsPostBadRequest) IsRedirect() bool
- func (o *V1HostsPostBadRequest) IsServerError() bool
- func (o *V1HostsPostBadRequest) IsSuccess() bool
- func (o *V1HostsPostBadRequest) String() string
- type V1HostsPostCreated
- func (o *V1HostsPostCreated) Code() int
- func (o *V1HostsPostCreated) Error() string
- func (o *V1HostsPostCreated) GetPayload() models.HostList
- func (o *V1HostsPostCreated) IsClientError() bool
- func (o *V1HostsPostCreated) IsCode(code int) bool
- func (o *V1HostsPostCreated) IsRedirect() bool
- func (o *V1HostsPostCreated) IsServerError() bool
- func (o *V1HostsPostCreated) IsSuccess() bool
- func (o *V1HostsPostCreated) String() string
- type V1HostsPostForbidden
- func (o *V1HostsPostForbidden) Code() int
- func (o *V1HostsPostForbidden) Error() string
- func (o *V1HostsPostForbidden) GetPayload() *models.Error
- func (o *V1HostsPostForbidden) IsClientError() bool
- func (o *V1HostsPostForbidden) IsCode(code int) bool
- func (o *V1HostsPostForbidden) IsRedirect() bool
- func (o *V1HostsPostForbidden) IsServerError() bool
- func (o *V1HostsPostForbidden) IsSuccess() bool
- func (o *V1HostsPostForbidden) String() string
- type V1HostsPostGatewayTimeout
- func (o *V1HostsPostGatewayTimeout) Code() int
- func (o *V1HostsPostGatewayTimeout) Error() string
- func (o *V1HostsPostGatewayTimeout) GetPayload() *models.Error
- func (o *V1HostsPostGatewayTimeout) IsClientError() bool
- func (o *V1HostsPostGatewayTimeout) IsCode(code int) bool
- func (o *V1HostsPostGatewayTimeout) IsRedirect() bool
- func (o *V1HostsPostGatewayTimeout) IsServerError() bool
- func (o *V1HostsPostGatewayTimeout) IsSuccess() bool
- func (o *V1HostsPostGatewayTimeout) String() string
- type V1HostsPostInternalServerError
- func (o *V1HostsPostInternalServerError) Code() int
- func (o *V1HostsPostInternalServerError) Error() string
- func (o *V1HostsPostInternalServerError) GetPayload() *models.Error
- func (o *V1HostsPostInternalServerError) IsClientError() bool
- func (o *V1HostsPostInternalServerError) IsCode(code int) bool
- func (o *V1HostsPostInternalServerError) IsRedirect() bool
- func (o *V1HostsPostInternalServerError) IsServerError() bool
- func (o *V1HostsPostInternalServerError) IsSuccess() bool
- func (o *V1HostsPostInternalServerError) String() string
- type V1HostsPostParams
- func (o *V1HostsPostParams) SetBody(body *models.HostCreate)
- func (o *V1HostsPostParams) SetContext(ctx context.Context)
- func (o *V1HostsPostParams) SetDefaults()
- func (o *V1HostsPostParams) SetHTTPClient(client *http.Client)
- func (o *V1HostsPostParams) SetTimeout(timeout time.Duration)
- func (o *V1HostsPostParams) WithBody(body *models.HostCreate) *V1HostsPostParams
- func (o *V1HostsPostParams) WithContext(ctx context.Context) *V1HostsPostParams
- func (o *V1HostsPostParams) WithDefaults() *V1HostsPostParams
- func (o *V1HostsPostParams) WithHTTPClient(client *http.Client) *V1HostsPostParams
- func (o *V1HostsPostParams) WithTimeout(timeout time.Duration) *V1HostsPostParams
- func (o *V1HostsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1HostsPostReader
- type V1HostsPostUnauthorized
- func (o *V1HostsPostUnauthorized) Code() int
- func (o *V1HostsPostUnauthorized) Error() string
- func (o *V1HostsPostUnauthorized) GetPayload() *models.Error
- func (o *V1HostsPostUnauthorized) IsClientError() bool
- func (o *V1HostsPostUnauthorized) IsCode(code int) bool
- func (o *V1HostsPostUnauthorized) IsRedirect() bool
- func (o *V1HostsPostUnauthorized) IsServerError() bool
- func (o *V1HostsPostUnauthorized) IsSuccess() bool
- func (o *V1HostsPostUnauthorized) String() string
- type V1HostsPostUnprocessableEntity
- func (o *V1HostsPostUnprocessableEntity) Code() int
- func (o *V1HostsPostUnprocessableEntity) Error() string
- func (o *V1HostsPostUnprocessableEntity) GetPayload() *models.Error
- func (o *V1HostsPostUnprocessableEntity) IsClientError() bool
- func (o *V1HostsPostUnprocessableEntity) IsCode(code int) bool
- func (o *V1HostsPostUnprocessableEntity) IsRedirect() bool
- func (o *V1HostsPostUnprocessableEntity) IsServerError() bool
- func (o *V1HostsPostUnprocessableEntity) IsSuccess() bool
- func (o *V1HostsPostUnprocessableEntity) 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 host groups API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) V1AvailableHosts ¶
func (a *Client) V1AvailableHosts(params *V1AvailableHostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1AvailableHostsOK, error)
V1AvailableHosts lists all the hosts that can be reserved
func (*Client) V1HostGroupsGet ¶
func (a *Client) V1HostGroupsGet(params *V1HostGroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsGetOK, error)
V1HostGroupsGet gets the list of host groups for the workspace
func (*Client) V1HostGroupsIDGet ¶
func (a *Client) V1HostGroupsIDGet(params *V1HostGroupsIDGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsIDGetOK, error)
V1HostGroupsIDGet gets the details of a host group
func (*Client) V1HostGroupsIDPut ¶
func (a *Client) V1HostGroupsIDPut(params *V1HostGroupsIDPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsIDPutOK, error)
V1HostGroupsIDPut shares unshare a host group with another workspace
func (*Client) V1HostGroupsPost ¶
func (a *Client) V1HostGroupsPost(params *V1HostGroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsPostCreated, error)
V1HostGroupsPost creates a host group with one or more host
func (*Client) V1HostsGet ¶
func (a *Client) V1HostsGet(params *V1HostsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsGetOK, error)
V1HostsGet gets the list of all the hosts the workspace has access to
func (*Client) V1HostsIDDelete ¶
func (a *Client) V1HostsIDDelete(params *V1HostsIDDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsIDDeleteAccepted, error)
V1HostsIDDelete releases a host from its host group
func (*Client) V1HostsIDGet ¶
func (a *Client) V1HostsIDGet(params *V1HostsIDGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsIDGetOK, error)
V1HostsIDGet gets the details about a host
func (*Client) V1HostsIDPut ¶
func (a *Client) V1HostsIDPut(params *V1HostsIDPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsIDPutOK, error)
V1HostsIDPut modifies the display name of a host
func (*Client) V1HostsPost ¶
func (a *Client) V1HostsPost(params *V1HostsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsPostCreated, error)
V1HostsPost adds new host s to an existing host group
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { V1AvailableHosts(params *V1AvailableHostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1AvailableHostsOK, error) V1HostGroupsGet(params *V1HostGroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsGetOK, error) V1HostGroupsIDGet(params *V1HostGroupsIDGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsIDGetOK, error) V1HostGroupsIDPut(params *V1HostGroupsIDPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsIDPutOK, error) V1HostGroupsPost(params *V1HostGroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostGroupsPostCreated, error) V1HostsGet(params *V1HostsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsGetOK, error) V1HostsIDDelete(params *V1HostsIDDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsIDDeleteAccepted, error) V1HostsIDGet(params *V1HostsIDGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsIDGetOK, error) V1HostsIDPut(params *V1HostsIDPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsIDPutOK, error) V1HostsPost(params *V1HostsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1HostsPostCreated, 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 host groups API client.
type V1AvailableHostsBadRequest ¶
V1AvailableHostsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1AvailableHostsBadRequest ¶
func NewV1AvailableHostsBadRequest() *V1AvailableHostsBadRequest
NewV1AvailableHostsBadRequest creates a V1AvailableHostsBadRequest with default headers values
func (*V1AvailableHostsBadRequest) Code ¶
func (o *V1AvailableHostsBadRequest) Code() int
Code gets the status code for the v1 available hosts bad request response
func (*V1AvailableHostsBadRequest) Error ¶
func (o *V1AvailableHostsBadRequest) Error() string
func (*V1AvailableHostsBadRequest) GetPayload ¶
func (o *V1AvailableHostsBadRequest) GetPayload() *models.Error
func (*V1AvailableHostsBadRequest) IsClientError ¶
func (o *V1AvailableHostsBadRequest) IsClientError() bool
IsClientError returns true when this v1 available hosts bad request response has a 4xx status code
func (*V1AvailableHostsBadRequest) IsCode ¶
func (o *V1AvailableHostsBadRequest) IsCode(code int) bool
IsCode returns true when this v1 available hosts bad request response a status code equal to that given
func (*V1AvailableHostsBadRequest) IsRedirect ¶
func (o *V1AvailableHostsBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 available hosts bad request response has a 3xx status code
func (*V1AvailableHostsBadRequest) IsServerError ¶
func (o *V1AvailableHostsBadRequest) IsServerError() bool
IsServerError returns true when this v1 available hosts bad request response has a 5xx status code
func (*V1AvailableHostsBadRequest) IsSuccess ¶
func (o *V1AvailableHostsBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 available hosts bad request response has a 2xx status code
func (*V1AvailableHostsBadRequest) String ¶
func (o *V1AvailableHostsBadRequest) String() string
type V1AvailableHostsForbidden ¶
V1AvailableHostsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1AvailableHostsForbidden ¶
func NewV1AvailableHostsForbidden() *V1AvailableHostsForbidden
NewV1AvailableHostsForbidden creates a V1AvailableHostsForbidden with default headers values
func (*V1AvailableHostsForbidden) Code ¶
func (o *V1AvailableHostsForbidden) Code() int
Code gets the status code for the v1 available hosts forbidden response
func (*V1AvailableHostsForbidden) Error ¶
func (o *V1AvailableHostsForbidden) Error() string
func (*V1AvailableHostsForbidden) GetPayload ¶
func (o *V1AvailableHostsForbidden) GetPayload() *models.Error
func (*V1AvailableHostsForbidden) IsClientError ¶
func (o *V1AvailableHostsForbidden) IsClientError() bool
IsClientError returns true when this v1 available hosts forbidden response has a 4xx status code
func (*V1AvailableHostsForbidden) IsCode ¶
func (o *V1AvailableHostsForbidden) IsCode(code int) bool
IsCode returns true when this v1 available hosts forbidden response a status code equal to that given
func (*V1AvailableHostsForbidden) IsRedirect ¶
func (o *V1AvailableHostsForbidden) IsRedirect() bool
IsRedirect returns true when this v1 available hosts forbidden response has a 3xx status code
func (*V1AvailableHostsForbidden) IsServerError ¶
func (o *V1AvailableHostsForbidden) IsServerError() bool
IsServerError returns true when this v1 available hosts forbidden response has a 5xx status code
func (*V1AvailableHostsForbidden) IsSuccess ¶
func (o *V1AvailableHostsForbidden) IsSuccess() bool
IsSuccess returns true when this v1 available hosts forbidden response has a 2xx status code
func (*V1AvailableHostsForbidden) String ¶
func (o *V1AvailableHostsForbidden) String() string
type V1AvailableHostsGatewayTimeout ¶
V1AvailableHostsGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1AvailableHostsGatewayTimeout ¶
func NewV1AvailableHostsGatewayTimeout() *V1AvailableHostsGatewayTimeout
NewV1AvailableHostsGatewayTimeout creates a V1AvailableHostsGatewayTimeout with default headers values
func (*V1AvailableHostsGatewayTimeout) Code ¶
func (o *V1AvailableHostsGatewayTimeout) Code() int
Code gets the status code for the v1 available hosts gateway timeout response
func (*V1AvailableHostsGatewayTimeout) Error ¶
func (o *V1AvailableHostsGatewayTimeout) Error() string
func (*V1AvailableHostsGatewayTimeout) GetPayload ¶
func (o *V1AvailableHostsGatewayTimeout) GetPayload() *models.Error
func (*V1AvailableHostsGatewayTimeout) IsClientError ¶
func (o *V1AvailableHostsGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 available hosts gateway timeout response has a 4xx status code
func (*V1AvailableHostsGatewayTimeout) IsCode ¶
func (o *V1AvailableHostsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 available hosts gateway timeout response a status code equal to that given
func (*V1AvailableHostsGatewayTimeout) IsRedirect ¶
func (o *V1AvailableHostsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 available hosts gateway timeout response has a 3xx status code
func (*V1AvailableHostsGatewayTimeout) IsServerError ¶
func (o *V1AvailableHostsGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 available hosts gateway timeout response has a 5xx status code
func (*V1AvailableHostsGatewayTimeout) IsSuccess ¶
func (o *V1AvailableHostsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 available hosts gateway timeout response has a 2xx status code
func (*V1AvailableHostsGatewayTimeout) String ¶
func (o *V1AvailableHostsGatewayTimeout) String() string
type V1AvailableHostsInternalServerError ¶
V1AvailableHostsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1AvailableHostsInternalServerError ¶
func NewV1AvailableHostsInternalServerError() *V1AvailableHostsInternalServerError
NewV1AvailableHostsInternalServerError creates a V1AvailableHostsInternalServerError with default headers values
func (*V1AvailableHostsInternalServerError) Code ¶
func (o *V1AvailableHostsInternalServerError) Code() int
Code gets the status code for the v1 available hosts internal server error response
func (*V1AvailableHostsInternalServerError) Error ¶
func (o *V1AvailableHostsInternalServerError) Error() string
func (*V1AvailableHostsInternalServerError) GetPayload ¶
func (o *V1AvailableHostsInternalServerError) GetPayload() *models.Error
func (*V1AvailableHostsInternalServerError) IsClientError ¶
func (o *V1AvailableHostsInternalServerError) IsClientError() bool
IsClientError returns true when this v1 available hosts internal server error response has a 4xx status code
func (*V1AvailableHostsInternalServerError) IsCode ¶
func (o *V1AvailableHostsInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 available hosts internal server error response a status code equal to that given
func (*V1AvailableHostsInternalServerError) IsRedirect ¶
func (o *V1AvailableHostsInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 available hosts internal server error response has a 3xx status code
func (*V1AvailableHostsInternalServerError) IsServerError ¶
func (o *V1AvailableHostsInternalServerError) IsServerError() bool
IsServerError returns true when this v1 available hosts internal server error response has a 5xx status code
func (*V1AvailableHostsInternalServerError) IsSuccess ¶
func (o *V1AvailableHostsInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 available hosts internal server error response has a 2xx status code
func (*V1AvailableHostsInternalServerError) String ¶
func (o *V1AvailableHostsInternalServerError) String() string
type V1AvailableHostsOK ¶
type V1AvailableHostsOK struct {
Payload models.AvailableHostList
}
V1AvailableHostsOK describes a response with status code 200, with default header values.
OK
func NewV1AvailableHostsOK ¶
func NewV1AvailableHostsOK() *V1AvailableHostsOK
NewV1AvailableHostsOK creates a V1AvailableHostsOK with default headers values
func (*V1AvailableHostsOK) Code ¶
func (o *V1AvailableHostsOK) Code() int
Code gets the status code for the v1 available hosts o k response
func (*V1AvailableHostsOK) Error ¶
func (o *V1AvailableHostsOK) Error() string
func (*V1AvailableHostsOK) GetPayload ¶
func (o *V1AvailableHostsOK) GetPayload() models.AvailableHostList
func (*V1AvailableHostsOK) IsClientError ¶
func (o *V1AvailableHostsOK) IsClientError() bool
IsClientError returns true when this v1 available hosts o k response has a 4xx status code
func (*V1AvailableHostsOK) IsCode ¶
func (o *V1AvailableHostsOK) IsCode(code int) bool
IsCode returns true when this v1 available hosts o k response a status code equal to that given
func (*V1AvailableHostsOK) IsRedirect ¶
func (o *V1AvailableHostsOK) IsRedirect() bool
IsRedirect returns true when this v1 available hosts o k response has a 3xx status code
func (*V1AvailableHostsOK) IsServerError ¶
func (o *V1AvailableHostsOK) IsServerError() bool
IsServerError returns true when this v1 available hosts o k response has a 5xx status code
func (*V1AvailableHostsOK) IsSuccess ¶
func (o *V1AvailableHostsOK) IsSuccess() bool
IsSuccess returns true when this v1 available hosts o k response has a 2xx status code
func (*V1AvailableHostsOK) String ¶
func (o *V1AvailableHostsOK) String() string
type V1AvailableHostsParams ¶
type V1AvailableHostsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1AvailableHostsParams contains all the parameters to send to the API endpoint
for the v1 available hosts operation. Typically these are written to a http.Request.
func NewV1AvailableHostsParams ¶
func NewV1AvailableHostsParams() *V1AvailableHostsParams
NewV1AvailableHostsParams creates a new V1AvailableHostsParams 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 NewV1AvailableHostsParamsWithContext ¶
func NewV1AvailableHostsParamsWithContext(ctx context.Context) *V1AvailableHostsParams
NewV1AvailableHostsParamsWithContext creates a new V1AvailableHostsParams object with the ability to set a context for a request.
func NewV1AvailableHostsParamsWithHTTPClient ¶
func NewV1AvailableHostsParamsWithHTTPClient(client *http.Client) *V1AvailableHostsParams
NewV1AvailableHostsParamsWithHTTPClient creates a new V1AvailableHostsParams object with the ability to set a custom HTTPClient for a request.
func NewV1AvailableHostsParamsWithTimeout ¶
func NewV1AvailableHostsParamsWithTimeout(timeout time.Duration) *V1AvailableHostsParams
NewV1AvailableHostsParamsWithTimeout creates a new V1AvailableHostsParams object with the ability to set a timeout on a request.
func (*V1AvailableHostsParams) SetContext ¶
func (o *V1AvailableHostsParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 available hosts params
func (*V1AvailableHostsParams) SetDefaults ¶
func (o *V1AvailableHostsParams) SetDefaults()
SetDefaults hydrates default values in the v1 available hosts params (not the query body).
All values with no default are reset to their zero value.
func (*V1AvailableHostsParams) SetHTTPClient ¶
func (o *V1AvailableHostsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 available hosts params
func (*V1AvailableHostsParams) SetTimeout ¶
func (o *V1AvailableHostsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 available hosts params
func (*V1AvailableHostsParams) WithContext ¶
func (o *V1AvailableHostsParams) WithContext(ctx context.Context) *V1AvailableHostsParams
WithContext adds the context to the v1 available hosts params
func (*V1AvailableHostsParams) WithDefaults ¶
func (o *V1AvailableHostsParams) WithDefaults() *V1AvailableHostsParams
WithDefaults hydrates default values in the v1 available hosts params (not the query body).
All values with no default are reset to their zero value.
func (*V1AvailableHostsParams) WithHTTPClient ¶
func (o *V1AvailableHostsParams) WithHTTPClient(client *http.Client) *V1AvailableHostsParams
WithHTTPClient adds the HTTPClient to the v1 available hosts params
func (*V1AvailableHostsParams) WithTimeout ¶
func (o *V1AvailableHostsParams) WithTimeout(timeout time.Duration) *V1AvailableHostsParams
WithTimeout adds the timeout to the v1 available hosts params
func (*V1AvailableHostsParams) WriteToRequest ¶
func (o *V1AvailableHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1AvailableHostsReader ¶
type V1AvailableHostsReader struct {
// contains filtered or unexported fields
}
V1AvailableHostsReader is a Reader for the V1AvailableHosts structure.
func (*V1AvailableHostsReader) ReadResponse ¶
func (o *V1AvailableHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1AvailableHostsUnauthorized ¶
type V1AvailableHostsUnauthorized struct {
}V1AvailableHostsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1AvailableHostsUnauthorized ¶
func NewV1AvailableHostsUnauthorized() *V1AvailableHostsUnauthorized
NewV1AvailableHostsUnauthorized creates a V1AvailableHostsUnauthorized with default headers values
func (*V1AvailableHostsUnauthorized) Code ¶
func (o *V1AvailableHostsUnauthorized) Code() int
Code gets the status code for the v1 available hosts unauthorized response
func (*V1AvailableHostsUnauthorized) Error ¶
func (o *V1AvailableHostsUnauthorized) Error() string
func (*V1AvailableHostsUnauthorized) GetPayload ¶
func (o *V1AvailableHostsUnauthorized) GetPayload() *models.Error
func (*V1AvailableHostsUnauthorized) IsClientError ¶
func (o *V1AvailableHostsUnauthorized) IsClientError() bool
IsClientError returns true when this v1 available hosts unauthorized response has a 4xx status code
func (*V1AvailableHostsUnauthorized) IsCode ¶
func (o *V1AvailableHostsUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 available hosts unauthorized response a status code equal to that given
func (*V1AvailableHostsUnauthorized) IsRedirect ¶
func (o *V1AvailableHostsUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 available hosts unauthorized response has a 3xx status code
func (*V1AvailableHostsUnauthorized) IsServerError ¶
func (o *V1AvailableHostsUnauthorized) IsServerError() bool
IsServerError returns true when this v1 available hosts unauthorized response has a 5xx status code
func (*V1AvailableHostsUnauthorized) IsSuccess ¶
func (o *V1AvailableHostsUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 available hosts unauthorized response has a 2xx status code
func (*V1AvailableHostsUnauthorized) String ¶
func (o *V1AvailableHostsUnauthorized) String() string
type V1HostGroupsGetBadRequest ¶
V1HostGroupsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostGroupsGetBadRequest ¶
func NewV1HostGroupsGetBadRequest() *V1HostGroupsGetBadRequest
NewV1HostGroupsGetBadRequest creates a V1HostGroupsGetBadRequest with default headers values
func (*V1HostGroupsGetBadRequest) Code ¶
func (o *V1HostGroupsGetBadRequest) Code() int
Code gets the status code for the v1 host groups get bad request response
func (*V1HostGroupsGetBadRequest) Error ¶
func (o *V1HostGroupsGetBadRequest) Error() string
func (*V1HostGroupsGetBadRequest) GetPayload ¶
func (o *V1HostGroupsGetBadRequest) GetPayload() *models.Error
func (*V1HostGroupsGetBadRequest) IsClientError ¶
func (o *V1HostGroupsGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 host groups get bad request response has a 4xx status code
func (*V1HostGroupsGetBadRequest) IsCode ¶
func (o *V1HostGroupsGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 host groups get bad request response a status code equal to that given
func (*V1HostGroupsGetBadRequest) IsRedirect ¶
func (o *V1HostGroupsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 host groups get bad request response has a 3xx status code
func (*V1HostGroupsGetBadRequest) IsServerError ¶
func (o *V1HostGroupsGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 host groups get bad request response has a 5xx status code
func (*V1HostGroupsGetBadRequest) IsSuccess ¶
func (o *V1HostGroupsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 host groups get bad request response has a 2xx status code
func (*V1HostGroupsGetBadRequest) String ¶
func (o *V1HostGroupsGetBadRequest) String() string
type V1HostGroupsGetForbidden ¶
V1HostGroupsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostGroupsGetForbidden ¶
func NewV1HostGroupsGetForbidden() *V1HostGroupsGetForbidden
NewV1HostGroupsGetForbidden creates a V1HostGroupsGetForbidden with default headers values
func (*V1HostGroupsGetForbidden) Code ¶
func (o *V1HostGroupsGetForbidden) Code() int
Code gets the status code for the v1 host groups get forbidden response
func (*V1HostGroupsGetForbidden) Error ¶
func (o *V1HostGroupsGetForbidden) Error() string
func (*V1HostGroupsGetForbidden) GetPayload ¶
func (o *V1HostGroupsGetForbidden) GetPayload() *models.Error
func (*V1HostGroupsGetForbidden) IsClientError ¶
func (o *V1HostGroupsGetForbidden) IsClientError() bool
IsClientError returns true when this v1 host groups get forbidden response has a 4xx status code
func (*V1HostGroupsGetForbidden) IsCode ¶
func (o *V1HostGroupsGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 host groups get forbidden response a status code equal to that given
func (*V1HostGroupsGetForbidden) IsRedirect ¶
func (o *V1HostGroupsGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 host groups get forbidden response has a 3xx status code
func (*V1HostGroupsGetForbidden) IsServerError ¶
func (o *V1HostGroupsGetForbidden) IsServerError() bool
IsServerError returns true when this v1 host groups get forbidden response has a 5xx status code
func (*V1HostGroupsGetForbidden) IsSuccess ¶
func (o *V1HostGroupsGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 host groups get forbidden response has a 2xx status code
func (*V1HostGroupsGetForbidden) String ¶
func (o *V1HostGroupsGetForbidden) String() string
type V1HostGroupsGetGatewayTimeout ¶
V1HostGroupsGetGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostGroupsGetGatewayTimeout ¶
func NewV1HostGroupsGetGatewayTimeout() *V1HostGroupsGetGatewayTimeout
NewV1HostGroupsGetGatewayTimeout creates a V1HostGroupsGetGatewayTimeout with default headers values
func (*V1HostGroupsGetGatewayTimeout) Code ¶
func (o *V1HostGroupsGetGatewayTimeout) Code() int
Code gets the status code for the v1 host groups get gateway timeout response
func (*V1HostGroupsGetGatewayTimeout) Error ¶
func (o *V1HostGroupsGetGatewayTimeout) Error() string
func (*V1HostGroupsGetGatewayTimeout) GetPayload ¶
func (o *V1HostGroupsGetGatewayTimeout) GetPayload() *models.Error
func (*V1HostGroupsGetGatewayTimeout) IsClientError ¶
func (o *V1HostGroupsGetGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 host groups get gateway timeout response has a 4xx status code
func (*V1HostGroupsGetGatewayTimeout) IsCode ¶
func (o *V1HostGroupsGetGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 host groups get gateway timeout response a status code equal to that given
func (*V1HostGroupsGetGatewayTimeout) IsRedirect ¶
func (o *V1HostGroupsGetGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 host groups get gateway timeout response has a 3xx status code
func (*V1HostGroupsGetGatewayTimeout) IsServerError ¶
func (o *V1HostGroupsGetGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 host groups get gateway timeout response has a 5xx status code
func (*V1HostGroupsGetGatewayTimeout) IsSuccess ¶
func (o *V1HostGroupsGetGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 host groups get gateway timeout response has a 2xx status code
func (*V1HostGroupsGetGatewayTimeout) String ¶
func (o *V1HostGroupsGetGatewayTimeout) String() string
type V1HostGroupsGetInternalServerError ¶
V1HostGroupsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostGroupsGetInternalServerError ¶
func NewV1HostGroupsGetInternalServerError() *V1HostGroupsGetInternalServerError
NewV1HostGroupsGetInternalServerError creates a V1HostGroupsGetInternalServerError with default headers values
func (*V1HostGroupsGetInternalServerError) Code ¶
func (o *V1HostGroupsGetInternalServerError) Code() int
Code gets the status code for the v1 host groups get internal server error response
func (*V1HostGroupsGetInternalServerError) Error ¶
func (o *V1HostGroupsGetInternalServerError) Error() string
func (*V1HostGroupsGetInternalServerError) GetPayload ¶
func (o *V1HostGroupsGetInternalServerError) GetPayload() *models.Error
func (*V1HostGroupsGetInternalServerError) IsClientError ¶
func (o *V1HostGroupsGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 host groups get internal server error response has a 4xx status code
func (*V1HostGroupsGetInternalServerError) IsCode ¶
func (o *V1HostGroupsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 host groups get internal server error response a status code equal to that given
func (*V1HostGroupsGetInternalServerError) IsRedirect ¶
func (o *V1HostGroupsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 host groups get internal server error response has a 3xx status code
func (*V1HostGroupsGetInternalServerError) IsServerError ¶
func (o *V1HostGroupsGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 host groups get internal server error response has a 5xx status code
func (*V1HostGroupsGetInternalServerError) IsSuccess ¶
func (o *V1HostGroupsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 host groups get internal server error response has a 2xx status code
func (*V1HostGroupsGetInternalServerError) String ¶
func (o *V1HostGroupsGetInternalServerError) String() string
type V1HostGroupsGetOK ¶
type V1HostGroupsGetOK struct {
Payload models.HostGroupList
}
V1HostGroupsGetOK describes a response with status code 200, with default header values.
OK
func NewV1HostGroupsGetOK ¶
func NewV1HostGroupsGetOK() *V1HostGroupsGetOK
NewV1HostGroupsGetOK creates a V1HostGroupsGetOK with default headers values
func (*V1HostGroupsGetOK) Code ¶
func (o *V1HostGroupsGetOK) Code() int
Code gets the status code for the v1 host groups get o k response
func (*V1HostGroupsGetOK) Error ¶
func (o *V1HostGroupsGetOK) Error() string
func (*V1HostGroupsGetOK) GetPayload ¶
func (o *V1HostGroupsGetOK) GetPayload() models.HostGroupList
func (*V1HostGroupsGetOK) IsClientError ¶
func (o *V1HostGroupsGetOK) IsClientError() bool
IsClientError returns true when this v1 host groups get o k response has a 4xx status code
func (*V1HostGroupsGetOK) IsCode ¶
func (o *V1HostGroupsGetOK) IsCode(code int) bool
IsCode returns true when this v1 host groups get o k response a status code equal to that given
func (*V1HostGroupsGetOK) IsRedirect ¶
func (o *V1HostGroupsGetOK) IsRedirect() bool
IsRedirect returns true when this v1 host groups get o k response has a 3xx status code
func (*V1HostGroupsGetOK) IsServerError ¶
func (o *V1HostGroupsGetOK) IsServerError() bool
IsServerError returns true when this v1 host groups get o k response has a 5xx status code
func (*V1HostGroupsGetOK) IsSuccess ¶
func (o *V1HostGroupsGetOK) IsSuccess() bool
IsSuccess returns true when this v1 host groups get o k response has a 2xx status code
func (*V1HostGroupsGetOK) String ¶
func (o *V1HostGroupsGetOK) String() string
type V1HostGroupsGetParams ¶
type V1HostGroupsGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostGroupsGetParams contains all the parameters to send to the API endpoint
for the v1 host groups get operation. Typically these are written to a http.Request.
func NewV1HostGroupsGetParams ¶
func NewV1HostGroupsGetParams() *V1HostGroupsGetParams
NewV1HostGroupsGetParams creates a new V1HostGroupsGetParams 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 NewV1HostGroupsGetParamsWithContext ¶
func NewV1HostGroupsGetParamsWithContext(ctx context.Context) *V1HostGroupsGetParams
NewV1HostGroupsGetParamsWithContext creates a new V1HostGroupsGetParams object with the ability to set a context for a request.
func NewV1HostGroupsGetParamsWithHTTPClient ¶
func NewV1HostGroupsGetParamsWithHTTPClient(client *http.Client) *V1HostGroupsGetParams
NewV1HostGroupsGetParamsWithHTTPClient creates a new V1HostGroupsGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostGroupsGetParamsWithTimeout ¶
func NewV1HostGroupsGetParamsWithTimeout(timeout time.Duration) *V1HostGroupsGetParams
NewV1HostGroupsGetParamsWithTimeout creates a new V1HostGroupsGetParams object with the ability to set a timeout on a request.
func (*V1HostGroupsGetParams) SetContext ¶
func (o *V1HostGroupsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 host groups get params
func (*V1HostGroupsGetParams) SetDefaults ¶
func (o *V1HostGroupsGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 host groups get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsGetParams) SetHTTPClient ¶
func (o *V1HostGroupsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 host groups get params
func (*V1HostGroupsGetParams) SetTimeout ¶
func (o *V1HostGroupsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 host groups get params
func (*V1HostGroupsGetParams) WithContext ¶
func (o *V1HostGroupsGetParams) WithContext(ctx context.Context) *V1HostGroupsGetParams
WithContext adds the context to the v1 host groups get params
func (*V1HostGroupsGetParams) WithDefaults ¶
func (o *V1HostGroupsGetParams) WithDefaults() *V1HostGroupsGetParams
WithDefaults hydrates default values in the v1 host groups get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsGetParams) WithHTTPClient ¶
func (o *V1HostGroupsGetParams) WithHTTPClient(client *http.Client) *V1HostGroupsGetParams
WithHTTPClient adds the HTTPClient to the v1 host groups get params
func (*V1HostGroupsGetParams) WithTimeout ¶
func (o *V1HostGroupsGetParams) WithTimeout(timeout time.Duration) *V1HostGroupsGetParams
WithTimeout adds the timeout to the v1 host groups get params
func (*V1HostGroupsGetParams) WriteToRequest ¶
func (o *V1HostGroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostGroupsGetReader ¶
type V1HostGroupsGetReader struct {
// contains filtered or unexported fields
}
V1HostGroupsGetReader is a Reader for the V1HostGroupsGet structure.
func (*V1HostGroupsGetReader) ReadResponse ¶
func (o *V1HostGroupsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostGroupsGetUnauthorized ¶
type V1HostGroupsGetUnauthorized struct {
}V1HostGroupsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostGroupsGetUnauthorized ¶
func NewV1HostGroupsGetUnauthorized() *V1HostGroupsGetUnauthorized
NewV1HostGroupsGetUnauthorized creates a V1HostGroupsGetUnauthorized with default headers values
func (*V1HostGroupsGetUnauthorized) Code ¶
func (o *V1HostGroupsGetUnauthorized) Code() int
Code gets the status code for the v1 host groups get unauthorized response
func (*V1HostGroupsGetUnauthorized) Error ¶
func (o *V1HostGroupsGetUnauthorized) Error() string
func (*V1HostGroupsGetUnauthorized) GetPayload ¶
func (o *V1HostGroupsGetUnauthorized) GetPayload() *models.Error
func (*V1HostGroupsGetUnauthorized) IsClientError ¶
func (o *V1HostGroupsGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 host groups get unauthorized response has a 4xx status code
func (*V1HostGroupsGetUnauthorized) IsCode ¶
func (o *V1HostGroupsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 host groups get unauthorized response a status code equal to that given
func (*V1HostGroupsGetUnauthorized) IsRedirect ¶
func (o *V1HostGroupsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 host groups get unauthorized response has a 3xx status code
func (*V1HostGroupsGetUnauthorized) IsServerError ¶
func (o *V1HostGroupsGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 host groups get unauthorized response has a 5xx status code
func (*V1HostGroupsGetUnauthorized) IsSuccess ¶
func (o *V1HostGroupsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 host groups get unauthorized response has a 2xx status code
func (*V1HostGroupsGetUnauthorized) String ¶
func (o *V1HostGroupsGetUnauthorized) String() string
type V1HostGroupsIDGetBadRequest ¶
V1HostGroupsIDGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostGroupsIDGetBadRequest ¶
func NewV1HostGroupsIDGetBadRequest() *V1HostGroupsIDGetBadRequest
NewV1HostGroupsIDGetBadRequest creates a V1HostGroupsIDGetBadRequest with default headers values
func (*V1HostGroupsIDGetBadRequest) Code ¶
func (o *V1HostGroupsIDGetBadRequest) Code() int
Code gets the status code for the v1 host groups Id get bad request response
func (*V1HostGroupsIDGetBadRequest) Error ¶
func (o *V1HostGroupsIDGetBadRequest) Error() string
func (*V1HostGroupsIDGetBadRequest) GetPayload ¶
func (o *V1HostGroupsIDGetBadRequest) GetPayload() *models.Error
func (*V1HostGroupsIDGetBadRequest) IsClientError ¶
func (o *V1HostGroupsIDGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 host groups Id get bad request response has a 4xx status code
func (*V1HostGroupsIDGetBadRequest) IsCode ¶
func (o *V1HostGroupsIDGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get bad request response a status code equal to that given
func (*V1HostGroupsIDGetBadRequest) IsRedirect ¶
func (o *V1HostGroupsIDGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get bad request response has a 3xx status code
func (*V1HostGroupsIDGetBadRequest) IsServerError ¶
func (o *V1HostGroupsIDGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 host groups Id get bad request response has a 5xx status code
func (*V1HostGroupsIDGetBadRequest) IsSuccess ¶
func (o *V1HostGroupsIDGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get bad request response has a 2xx status code
func (*V1HostGroupsIDGetBadRequest) String ¶
func (o *V1HostGroupsIDGetBadRequest) String() string
type V1HostGroupsIDGetForbidden ¶
V1HostGroupsIDGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostGroupsIDGetForbidden ¶
func NewV1HostGroupsIDGetForbidden() *V1HostGroupsIDGetForbidden
NewV1HostGroupsIDGetForbidden creates a V1HostGroupsIDGetForbidden with default headers values
func (*V1HostGroupsIDGetForbidden) Code ¶
func (o *V1HostGroupsIDGetForbidden) Code() int
Code gets the status code for the v1 host groups Id get forbidden response
func (*V1HostGroupsIDGetForbidden) Error ¶
func (o *V1HostGroupsIDGetForbidden) Error() string
func (*V1HostGroupsIDGetForbidden) GetPayload ¶
func (o *V1HostGroupsIDGetForbidden) GetPayload() *models.Error
func (*V1HostGroupsIDGetForbidden) IsClientError ¶
func (o *V1HostGroupsIDGetForbidden) IsClientError() bool
IsClientError returns true when this v1 host groups Id get forbidden response has a 4xx status code
func (*V1HostGroupsIDGetForbidden) IsCode ¶
func (o *V1HostGroupsIDGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get forbidden response a status code equal to that given
func (*V1HostGroupsIDGetForbidden) IsRedirect ¶
func (o *V1HostGroupsIDGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get forbidden response has a 3xx status code
func (*V1HostGroupsIDGetForbidden) IsServerError ¶
func (o *V1HostGroupsIDGetForbidden) IsServerError() bool
IsServerError returns true when this v1 host groups Id get forbidden response has a 5xx status code
func (*V1HostGroupsIDGetForbidden) IsSuccess ¶
func (o *V1HostGroupsIDGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get forbidden response has a 2xx status code
func (*V1HostGroupsIDGetForbidden) String ¶
func (o *V1HostGroupsIDGetForbidden) String() string
type V1HostGroupsIDGetGatewayTimeout ¶
V1HostGroupsIDGetGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostGroupsIDGetGatewayTimeout ¶
func NewV1HostGroupsIDGetGatewayTimeout() *V1HostGroupsIDGetGatewayTimeout
NewV1HostGroupsIDGetGatewayTimeout creates a V1HostGroupsIDGetGatewayTimeout with default headers values
func (*V1HostGroupsIDGetGatewayTimeout) Code ¶
func (o *V1HostGroupsIDGetGatewayTimeout) Code() int
Code gets the status code for the v1 host groups Id get gateway timeout response
func (*V1HostGroupsIDGetGatewayTimeout) Error ¶
func (o *V1HostGroupsIDGetGatewayTimeout) Error() string
func (*V1HostGroupsIDGetGatewayTimeout) GetPayload ¶
func (o *V1HostGroupsIDGetGatewayTimeout) GetPayload() *models.Error
func (*V1HostGroupsIDGetGatewayTimeout) IsClientError ¶
func (o *V1HostGroupsIDGetGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 host groups Id get gateway timeout response has a 4xx status code
func (*V1HostGroupsIDGetGatewayTimeout) IsCode ¶
func (o *V1HostGroupsIDGetGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get gateway timeout response a status code equal to that given
func (*V1HostGroupsIDGetGatewayTimeout) IsRedirect ¶
func (o *V1HostGroupsIDGetGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get gateway timeout response has a 3xx status code
func (*V1HostGroupsIDGetGatewayTimeout) IsServerError ¶
func (o *V1HostGroupsIDGetGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 host groups Id get gateway timeout response has a 5xx status code
func (*V1HostGroupsIDGetGatewayTimeout) IsSuccess ¶
func (o *V1HostGroupsIDGetGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get gateway timeout response has a 2xx status code
func (*V1HostGroupsIDGetGatewayTimeout) String ¶
func (o *V1HostGroupsIDGetGatewayTimeout) String() string
type V1HostGroupsIDGetInternalServerError ¶
V1HostGroupsIDGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostGroupsIDGetInternalServerError ¶
func NewV1HostGroupsIDGetInternalServerError() *V1HostGroupsIDGetInternalServerError
NewV1HostGroupsIDGetInternalServerError creates a V1HostGroupsIDGetInternalServerError with default headers values
func (*V1HostGroupsIDGetInternalServerError) Code ¶
func (o *V1HostGroupsIDGetInternalServerError) Code() int
Code gets the status code for the v1 host groups Id get internal server error response
func (*V1HostGroupsIDGetInternalServerError) Error ¶
func (o *V1HostGroupsIDGetInternalServerError) Error() string
func (*V1HostGroupsIDGetInternalServerError) GetPayload ¶
func (o *V1HostGroupsIDGetInternalServerError) GetPayload() *models.Error
func (*V1HostGroupsIDGetInternalServerError) IsClientError ¶
func (o *V1HostGroupsIDGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 host groups Id get internal server error response has a 4xx status code
func (*V1HostGroupsIDGetInternalServerError) IsCode ¶
func (o *V1HostGroupsIDGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get internal server error response a status code equal to that given
func (*V1HostGroupsIDGetInternalServerError) IsRedirect ¶
func (o *V1HostGroupsIDGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get internal server error response has a 3xx status code
func (*V1HostGroupsIDGetInternalServerError) IsServerError ¶
func (o *V1HostGroupsIDGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 host groups Id get internal server error response has a 5xx status code
func (*V1HostGroupsIDGetInternalServerError) IsSuccess ¶
func (o *V1HostGroupsIDGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get internal server error response has a 2xx status code
func (*V1HostGroupsIDGetInternalServerError) String ¶
func (o *V1HostGroupsIDGetInternalServerError) String() string
type V1HostGroupsIDGetNotFound ¶
V1HostGroupsIDGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1HostGroupsIDGetNotFound ¶
func NewV1HostGroupsIDGetNotFound() *V1HostGroupsIDGetNotFound
NewV1HostGroupsIDGetNotFound creates a V1HostGroupsIDGetNotFound with default headers values
func (*V1HostGroupsIDGetNotFound) Code ¶
func (o *V1HostGroupsIDGetNotFound) Code() int
Code gets the status code for the v1 host groups Id get not found response
func (*V1HostGroupsIDGetNotFound) Error ¶
func (o *V1HostGroupsIDGetNotFound) Error() string
func (*V1HostGroupsIDGetNotFound) GetPayload ¶
func (o *V1HostGroupsIDGetNotFound) GetPayload() *models.Error
func (*V1HostGroupsIDGetNotFound) IsClientError ¶
func (o *V1HostGroupsIDGetNotFound) IsClientError() bool
IsClientError returns true when this v1 host groups Id get not found response has a 4xx status code
func (*V1HostGroupsIDGetNotFound) IsCode ¶
func (o *V1HostGroupsIDGetNotFound) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get not found response a status code equal to that given
func (*V1HostGroupsIDGetNotFound) IsRedirect ¶
func (o *V1HostGroupsIDGetNotFound) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get not found response has a 3xx status code
func (*V1HostGroupsIDGetNotFound) IsServerError ¶
func (o *V1HostGroupsIDGetNotFound) IsServerError() bool
IsServerError returns true when this v1 host groups Id get not found response has a 5xx status code
func (*V1HostGroupsIDGetNotFound) IsSuccess ¶
func (o *V1HostGroupsIDGetNotFound) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get not found response has a 2xx status code
func (*V1HostGroupsIDGetNotFound) String ¶
func (o *V1HostGroupsIDGetNotFound) String() string
type V1HostGroupsIDGetOK ¶
V1HostGroupsIDGetOK describes a response with status code 200, with default header values.
OK
func NewV1HostGroupsIDGetOK ¶
func NewV1HostGroupsIDGetOK() *V1HostGroupsIDGetOK
NewV1HostGroupsIDGetOK creates a V1HostGroupsIDGetOK with default headers values
func (*V1HostGroupsIDGetOK) Code ¶
func (o *V1HostGroupsIDGetOK) Code() int
Code gets the status code for the v1 host groups Id get o k response
func (*V1HostGroupsIDGetOK) Error ¶
func (o *V1HostGroupsIDGetOK) Error() string
func (*V1HostGroupsIDGetOK) GetPayload ¶
func (o *V1HostGroupsIDGetOK) GetPayload() *models.HostGroup
func (*V1HostGroupsIDGetOK) IsClientError ¶
func (o *V1HostGroupsIDGetOK) IsClientError() bool
IsClientError returns true when this v1 host groups Id get o k response has a 4xx status code
func (*V1HostGroupsIDGetOK) IsCode ¶
func (o *V1HostGroupsIDGetOK) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get o k response a status code equal to that given
func (*V1HostGroupsIDGetOK) IsRedirect ¶
func (o *V1HostGroupsIDGetOK) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get o k response has a 3xx status code
func (*V1HostGroupsIDGetOK) IsServerError ¶
func (o *V1HostGroupsIDGetOK) IsServerError() bool
IsServerError returns true when this v1 host groups Id get o k response has a 5xx status code
func (*V1HostGroupsIDGetOK) IsSuccess ¶
func (o *V1HostGroupsIDGetOK) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get o k response has a 2xx status code
func (*V1HostGroupsIDGetOK) String ¶
func (o *V1HostGroupsIDGetOK) String() string
type V1HostGroupsIDGetParams ¶
type V1HostGroupsIDGetParams struct { /* HostGroupID. Hostgroup ID */ HostGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostGroupsIDGetParams contains all the parameters to send to the API endpoint
for the v1 host groups id get operation. Typically these are written to a http.Request.
func NewV1HostGroupsIDGetParams ¶
func NewV1HostGroupsIDGetParams() *V1HostGroupsIDGetParams
NewV1HostGroupsIDGetParams creates a new V1HostGroupsIDGetParams 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 NewV1HostGroupsIDGetParamsWithContext ¶
func NewV1HostGroupsIDGetParamsWithContext(ctx context.Context) *V1HostGroupsIDGetParams
NewV1HostGroupsIDGetParamsWithContext creates a new V1HostGroupsIDGetParams object with the ability to set a context for a request.
func NewV1HostGroupsIDGetParamsWithHTTPClient ¶
func NewV1HostGroupsIDGetParamsWithHTTPClient(client *http.Client) *V1HostGroupsIDGetParams
NewV1HostGroupsIDGetParamsWithHTTPClient creates a new V1HostGroupsIDGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostGroupsIDGetParamsWithTimeout ¶
func NewV1HostGroupsIDGetParamsWithTimeout(timeout time.Duration) *V1HostGroupsIDGetParams
NewV1HostGroupsIDGetParamsWithTimeout creates a new V1HostGroupsIDGetParams object with the ability to set a timeout on a request.
func (*V1HostGroupsIDGetParams) SetContext ¶
func (o *V1HostGroupsIDGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) SetDefaults ¶
func (o *V1HostGroupsIDGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 host groups id get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsIDGetParams) SetHTTPClient ¶
func (o *V1HostGroupsIDGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) SetHostGroupID ¶
func (o *V1HostGroupsIDGetParams) SetHostGroupID(hostGroupID string)
SetHostGroupID adds the hostGroupId to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) SetTimeout ¶
func (o *V1HostGroupsIDGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) WithContext ¶
func (o *V1HostGroupsIDGetParams) WithContext(ctx context.Context) *V1HostGroupsIDGetParams
WithContext adds the context to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) WithDefaults ¶
func (o *V1HostGroupsIDGetParams) WithDefaults() *V1HostGroupsIDGetParams
WithDefaults hydrates default values in the v1 host groups id get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsIDGetParams) WithHTTPClient ¶
func (o *V1HostGroupsIDGetParams) WithHTTPClient(client *http.Client) *V1HostGroupsIDGetParams
WithHTTPClient adds the HTTPClient to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) WithHostGroupID ¶
func (o *V1HostGroupsIDGetParams) WithHostGroupID(hostGroupID string) *V1HostGroupsIDGetParams
WithHostGroupID adds the hostGroupID to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) WithTimeout ¶
func (o *V1HostGroupsIDGetParams) WithTimeout(timeout time.Duration) *V1HostGroupsIDGetParams
WithTimeout adds the timeout to the v1 host groups id get params
func (*V1HostGroupsIDGetParams) WriteToRequest ¶
func (o *V1HostGroupsIDGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostGroupsIDGetReader ¶
type V1HostGroupsIDGetReader struct {
// contains filtered or unexported fields
}
V1HostGroupsIDGetReader is a Reader for the V1HostGroupsIDGet structure.
func (*V1HostGroupsIDGetReader) ReadResponse ¶
func (o *V1HostGroupsIDGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostGroupsIDGetUnauthorized ¶
type V1HostGroupsIDGetUnauthorized struct {
}V1HostGroupsIDGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostGroupsIDGetUnauthorized ¶
func NewV1HostGroupsIDGetUnauthorized() *V1HostGroupsIDGetUnauthorized
NewV1HostGroupsIDGetUnauthorized creates a V1HostGroupsIDGetUnauthorized with default headers values
func (*V1HostGroupsIDGetUnauthorized) Code ¶
func (o *V1HostGroupsIDGetUnauthorized) Code() int
Code gets the status code for the v1 host groups Id get unauthorized response
func (*V1HostGroupsIDGetUnauthorized) Error ¶
func (o *V1HostGroupsIDGetUnauthorized) Error() string
func (*V1HostGroupsIDGetUnauthorized) GetPayload ¶
func (o *V1HostGroupsIDGetUnauthorized) GetPayload() *models.Error
func (*V1HostGroupsIDGetUnauthorized) IsClientError ¶
func (o *V1HostGroupsIDGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 host groups Id get unauthorized response has a 4xx status code
func (*V1HostGroupsIDGetUnauthorized) IsCode ¶
func (o *V1HostGroupsIDGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 host groups Id get unauthorized response a status code equal to that given
func (*V1HostGroupsIDGetUnauthorized) IsRedirect ¶
func (o *V1HostGroupsIDGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id get unauthorized response has a 3xx status code
func (*V1HostGroupsIDGetUnauthorized) IsServerError ¶
func (o *V1HostGroupsIDGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 host groups Id get unauthorized response has a 5xx status code
func (*V1HostGroupsIDGetUnauthorized) IsSuccess ¶
func (o *V1HostGroupsIDGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id get unauthorized response has a 2xx status code
func (*V1HostGroupsIDGetUnauthorized) String ¶
func (o *V1HostGroupsIDGetUnauthorized) String() string
type V1HostGroupsIDPutBadRequest ¶
V1HostGroupsIDPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostGroupsIDPutBadRequest ¶
func NewV1HostGroupsIDPutBadRequest() *V1HostGroupsIDPutBadRequest
NewV1HostGroupsIDPutBadRequest creates a V1HostGroupsIDPutBadRequest with default headers values
func (*V1HostGroupsIDPutBadRequest) Code ¶
func (o *V1HostGroupsIDPutBadRequest) Code() int
Code gets the status code for the v1 host groups Id put bad request response
func (*V1HostGroupsIDPutBadRequest) Error ¶
func (o *V1HostGroupsIDPutBadRequest) Error() string
func (*V1HostGroupsIDPutBadRequest) GetPayload ¶
func (o *V1HostGroupsIDPutBadRequest) GetPayload() *models.Error
func (*V1HostGroupsIDPutBadRequest) IsClientError ¶
func (o *V1HostGroupsIDPutBadRequest) IsClientError() bool
IsClientError returns true when this v1 host groups Id put bad request response has a 4xx status code
func (*V1HostGroupsIDPutBadRequest) IsCode ¶
func (o *V1HostGroupsIDPutBadRequest) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put bad request response a status code equal to that given
func (*V1HostGroupsIDPutBadRequest) IsRedirect ¶
func (o *V1HostGroupsIDPutBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put bad request response has a 3xx status code
func (*V1HostGroupsIDPutBadRequest) IsServerError ¶
func (o *V1HostGroupsIDPutBadRequest) IsServerError() bool
IsServerError returns true when this v1 host groups Id put bad request response has a 5xx status code
func (*V1HostGroupsIDPutBadRequest) IsSuccess ¶
func (o *V1HostGroupsIDPutBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put bad request response has a 2xx status code
func (*V1HostGroupsIDPutBadRequest) String ¶
func (o *V1HostGroupsIDPutBadRequest) String() string
type V1HostGroupsIDPutConflict ¶
V1HostGroupsIDPutConflict describes a response with status code 409, with default header values.
Conflict
func NewV1HostGroupsIDPutConflict ¶
func NewV1HostGroupsIDPutConflict() *V1HostGroupsIDPutConflict
NewV1HostGroupsIDPutConflict creates a V1HostGroupsIDPutConflict with default headers values
func (*V1HostGroupsIDPutConflict) Code ¶
func (o *V1HostGroupsIDPutConflict) Code() int
Code gets the status code for the v1 host groups Id put conflict response
func (*V1HostGroupsIDPutConflict) Error ¶
func (o *V1HostGroupsIDPutConflict) Error() string
func (*V1HostGroupsIDPutConflict) GetPayload ¶
func (o *V1HostGroupsIDPutConflict) GetPayload() *models.Error
func (*V1HostGroupsIDPutConflict) IsClientError ¶
func (o *V1HostGroupsIDPutConflict) IsClientError() bool
IsClientError returns true when this v1 host groups Id put conflict response has a 4xx status code
func (*V1HostGroupsIDPutConflict) IsCode ¶
func (o *V1HostGroupsIDPutConflict) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put conflict response a status code equal to that given
func (*V1HostGroupsIDPutConflict) IsRedirect ¶
func (o *V1HostGroupsIDPutConflict) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put conflict response has a 3xx status code
func (*V1HostGroupsIDPutConflict) IsServerError ¶
func (o *V1HostGroupsIDPutConflict) IsServerError() bool
IsServerError returns true when this v1 host groups Id put conflict response has a 5xx status code
func (*V1HostGroupsIDPutConflict) IsSuccess ¶
func (o *V1HostGroupsIDPutConflict) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put conflict response has a 2xx status code
func (*V1HostGroupsIDPutConflict) String ¶
func (o *V1HostGroupsIDPutConflict) String() string
type V1HostGroupsIDPutForbidden ¶
V1HostGroupsIDPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostGroupsIDPutForbidden ¶
func NewV1HostGroupsIDPutForbidden() *V1HostGroupsIDPutForbidden
NewV1HostGroupsIDPutForbidden creates a V1HostGroupsIDPutForbidden with default headers values
func (*V1HostGroupsIDPutForbidden) Code ¶
func (o *V1HostGroupsIDPutForbidden) Code() int
Code gets the status code for the v1 host groups Id put forbidden response
func (*V1HostGroupsIDPutForbidden) Error ¶
func (o *V1HostGroupsIDPutForbidden) Error() string
func (*V1HostGroupsIDPutForbidden) GetPayload ¶
func (o *V1HostGroupsIDPutForbidden) GetPayload() *models.Error
func (*V1HostGroupsIDPutForbidden) IsClientError ¶
func (o *V1HostGroupsIDPutForbidden) IsClientError() bool
IsClientError returns true when this v1 host groups Id put forbidden response has a 4xx status code
func (*V1HostGroupsIDPutForbidden) IsCode ¶
func (o *V1HostGroupsIDPutForbidden) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put forbidden response a status code equal to that given
func (*V1HostGroupsIDPutForbidden) IsRedirect ¶
func (o *V1HostGroupsIDPutForbidden) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put forbidden response has a 3xx status code
func (*V1HostGroupsIDPutForbidden) IsServerError ¶
func (o *V1HostGroupsIDPutForbidden) IsServerError() bool
IsServerError returns true when this v1 host groups Id put forbidden response has a 5xx status code
func (*V1HostGroupsIDPutForbidden) IsSuccess ¶
func (o *V1HostGroupsIDPutForbidden) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put forbidden response has a 2xx status code
func (*V1HostGroupsIDPutForbidden) String ¶
func (o *V1HostGroupsIDPutForbidden) String() string
type V1HostGroupsIDPutGatewayTimeout ¶
V1HostGroupsIDPutGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostGroupsIDPutGatewayTimeout ¶
func NewV1HostGroupsIDPutGatewayTimeout() *V1HostGroupsIDPutGatewayTimeout
NewV1HostGroupsIDPutGatewayTimeout creates a V1HostGroupsIDPutGatewayTimeout with default headers values
func (*V1HostGroupsIDPutGatewayTimeout) Code ¶
func (o *V1HostGroupsIDPutGatewayTimeout) Code() int
Code gets the status code for the v1 host groups Id put gateway timeout response
func (*V1HostGroupsIDPutGatewayTimeout) Error ¶
func (o *V1HostGroupsIDPutGatewayTimeout) Error() string
func (*V1HostGroupsIDPutGatewayTimeout) GetPayload ¶
func (o *V1HostGroupsIDPutGatewayTimeout) GetPayload() *models.Error
func (*V1HostGroupsIDPutGatewayTimeout) IsClientError ¶
func (o *V1HostGroupsIDPutGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 host groups Id put gateway timeout response has a 4xx status code
func (*V1HostGroupsIDPutGatewayTimeout) IsCode ¶
func (o *V1HostGroupsIDPutGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put gateway timeout response a status code equal to that given
func (*V1HostGroupsIDPutGatewayTimeout) IsRedirect ¶
func (o *V1HostGroupsIDPutGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put gateway timeout response has a 3xx status code
func (*V1HostGroupsIDPutGatewayTimeout) IsServerError ¶
func (o *V1HostGroupsIDPutGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 host groups Id put gateway timeout response has a 5xx status code
func (*V1HostGroupsIDPutGatewayTimeout) IsSuccess ¶
func (o *V1HostGroupsIDPutGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put gateway timeout response has a 2xx status code
func (*V1HostGroupsIDPutGatewayTimeout) String ¶
func (o *V1HostGroupsIDPutGatewayTimeout) String() string
type V1HostGroupsIDPutInternalServerError ¶
V1HostGroupsIDPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostGroupsIDPutInternalServerError ¶
func NewV1HostGroupsIDPutInternalServerError() *V1HostGroupsIDPutInternalServerError
NewV1HostGroupsIDPutInternalServerError creates a V1HostGroupsIDPutInternalServerError with default headers values
func (*V1HostGroupsIDPutInternalServerError) Code ¶
func (o *V1HostGroupsIDPutInternalServerError) Code() int
Code gets the status code for the v1 host groups Id put internal server error response
func (*V1HostGroupsIDPutInternalServerError) Error ¶
func (o *V1HostGroupsIDPutInternalServerError) Error() string
func (*V1HostGroupsIDPutInternalServerError) GetPayload ¶
func (o *V1HostGroupsIDPutInternalServerError) GetPayload() *models.Error
func (*V1HostGroupsIDPutInternalServerError) IsClientError ¶
func (o *V1HostGroupsIDPutInternalServerError) IsClientError() bool
IsClientError returns true when this v1 host groups Id put internal server error response has a 4xx status code
func (*V1HostGroupsIDPutInternalServerError) IsCode ¶
func (o *V1HostGroupsIDPutInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put internal server error response a status code equal to that given
func (*V1HostGroupsIDPutInternalServerError) IsRedirect ¶
func (o *V1HostGroupsIDPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put internal server error response has a 3xx status code
func (*V1HostGroupsIDPutInternalServerError) IsServerError ¶
func (o *V1HostGroupsIDPutInternalServerError) IsServerError() bool
IsServerError returns true when this v1 host groups Id put internal server error response has a 5xx status code
func (*V1HostGroupsIDPutInternalServerError) IsSuccess ¶
func (o *V1HostGroupsIDPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put internal server error response has a 2xx status code
func (*V1HostGroupsIDPutInternalServerError) String ¶
func (o *V1HostGroupsIDPutInternalServerError) String() string
type V1HostGroupsIDPutNotFound ¶
V1HostGroupsIDPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1HostGroupsIDPutNotFound ¶
func NewV1HostGroupsIDPutNotFound() *V1HostGroupsIDPutNotFound
NewV1HostGroupsIDPutNotFound creates a V1HostGroupsIDPutNotFound with default headers values
func (*V1HostGroupsIDPutNotFound) Code ¶
func (o *V1HostGroupsIDPutNotFound) Code() int
Code gets the status code for the v1 host groups Id put not found response
func (*V1HostGroupsIDPutNotFound) Error ¶
func (o *V1HostGroupsIDPutNotFound) Error() string
func (*V1HostGroupsIDPutNotFound) GetPayload ¶
func (o *V1HostGroupsIDPutNotFound) GetPayload() *models.Error
func (*V1HostGroupsIDPutNotFound) IsClientError ¶
func (o *V1HostGroupsIDPutNotFound) IsClientError() bool
IsClientError returns true when this v1 host groups Id put not found response has a 4xx status code
func (*V1HostGroupsIDPutNotFound) IsCode ¶
func (o *V1HostGroupsIDPutNotFound) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put not found response a status code equal to that given
func (*V1HostGroupsIDPutNotFound) IsRedirect ¶
func (o *V1HostGroupsIDPutNotFound) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put not found response has a 3xx status code
func (*V1HostGroupsIDPutNotFound) IsServerError ¶
func (o *V1HostGroupsIDPutNotFound) IsServerError() bool
IsServerError returns true when this v1 host groups Id put not found response has a 5xx status code
func (*V1HostGroupsIDPutNotFound) IsSuccess ¶
func (o *V1HostGroupsIDPutNotFound) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put not found response has a 2xx status code
func (*V1HostGroupsIDPutNotFound) String ¶
func (o *V1HostGroupsIDPutNotFound) String() string
type V1HostGroupsIDPutOK ¶
V1HostGroupsIDPutOK describes a response with status code 200, with default header values.
OK
func NewV1HostGroupsIDPutOK ¶
func NewV1HostGroupsIDPutOK() *V1HostGroupsIDPutOK
NewV1HostGroupsIDPutOK creates a V1HostGroupsIDPutOK with default headers values
func (*V1HostGroupsIDPutOK) Code ¶
func (o *V1HostGroupsIDPutOK) Code() int
Code gets the status code for the v1 host groups Id put o k response
func (*V1HostGroupsIDPutOK) Error ¶
func (o *V1HostGroupsIDPutOK) Error() string
func (*V1HostGroupsIDPutOK) GetPayload ¶
func (o *V1HostGroupsIDPutOK) GetPayload() *models.HostGroup
func (*V1HostGroupsIDPutOK) IsClientError ¶
func (o *V1HostGroupsIDPutOK) IsClientError() bool
IsClientError returns true when this v1 host groups Id put o k response has a 4xx status code
func (*V1HostGroupsIDPutOK) IsCode ¶
func (o *V1HostGroupsIDPutOK) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put o k response a status code equal to that given
func (*V1HostGroupsIDPutOK) IsRedirect ¶
func (o *V1HostGroupsIDPutOK) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put o k response has a 3xx status code
func (*V1HostGroupsIDPutOK) IsServerError ¶
func (o *V1HostGroupsIDPutOK) IsServerError() bool
IsServerError returns true when this v1 host groups Id put o k response has a 5xx status code
func (*V1HostGroupsIDPutOK) IsSuccess ¶
func (o *V1HostGroupsIDPutOK) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put o k response has a 2xx status code
func (*V1HostGroupsIDPutOK) String ¶
func (o *V1HostGroupsIDPutOK) String() string
type V1HostGroupsIDPutParams ¶
type V1HostGroupsIDPutParams struct { /* Body. Parameters to set the sharing status of the host group */ Body *models.HostGroupShareOp /* HostGroupID. Hostgroup ID */ HostGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostGroupsIDPutParams contains all the parameters to send to the API endpoint
for the v1 host groups id put operation. Typically these are written to a http.Request.
func NewV1HostGroupsIDPutParams ¶
func NewV1HostGroupsIDPutParams() *V1HostGroupsIDPutParams
NewV1HostGroupsIDPutParams creates a new V1HostGroupsIDPutParams 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 NewV1HostGroupsIDPutParamsWithContext ¶
func NewV1HostGroupsIDPutParamsWithContext(ctx context.Context) *V1HostGroupsIDPutParams
NewV1HostGroupsIDPutParamsWithContext creates a new V1HostGroupsIDPutParams object with the ability to set a context for a request.
func NewV1HostGroupsIDPutParamsWithHTTPClient ¶
func NewV1HostGroupsIDPutParamsWithHTTPClient(client *http.Client) *V1HostGroupsIDPutParams
NewV1HostGroupsIDPutParamsWithHTTPClient creates a new V1HostGroupsIDPutParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostGroupsIDPutParamsWithTimeout ¶
func NewV1HostGroupsIDPutParamsWithTimeout(timeout time.Duration) *V1HostGroupsIDPutParams
NewV1HostGroupsIDPutParamsWithTimeout creates a new V1HostGroupsIDPutParams object with the ability to set a timeout on a request.
func (*V1HostGroupsIDPutParams) SetBody ¶
func (o *V1HostGroupsIDPutParams) SetBody(body *models.HostGroupShareOp)
SetBody adds the body to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) SetContext ¶
func (o *V1HostGroupsIDPutParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) SetDefaults ¶
func (o *V1HostGroupsIDPutParams) SetDefaults()
SetDefaults hydrates default values in the v1 host groups id put params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsIDPutParams) SetHTTPClient ¶
func (o *V1HostGroupsIDPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) SetHostGroupID ¶
func (o *V1HostGroupsIDPutParams) SetHostGroupID(hostGroupID string)
SetHostGroupID adds the hostGroupId to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) SetTimeout ¶
func (o *V1HostGroupsIDPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) WithBody ¶
func (o *V1HostGroupsIDPutParams) WithBody(body *models.HostGroupShareOp) *V1HostGroupsIDPutParams
WithBody adds the body to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) WithContext ¶
func (o *V1HostGroupsIDPutParams) WithContext(ctx context.Context) *V1HostGroupsIDPutParams
WithContext adds the context to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) WithDefaults ¶
func (o *V1HostGroupsIDPutParams) WithDefaults() *V1HostGroupsIDPutParams
WithDefaults hydrates default values in the v1 host groups id put params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsIDPutParams) WithHTTPClient ¶
func (o *V1HostGroupsIDPutParams) WithHTTPClient(client *http.Client) *V1HostGroupsIDPutParams
WithHTTPClient adds the HTTPClient to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) WithHostGroupID ¶
func (o *V1HostGroupsIDPutParams) WithHostGroupID(hostGroupID string) *V1HostGroupsIDPutParams
WithHostGroupID adds the hostGroupID to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) WithTimeout ¶
func (o *V1HostGroupsIDPutParams) WithTimeout(timeout time.Duration) *V1HostGroupsIDPutParams
WithTimeout adds the timeout to the v1 host groups id put params
func (*V1HostGroupsIDPutParams) WriteToRequest ¶
func (o *V1HostGroupsIDPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostGroupsIDPutReader ¶
type V1HostGroupsIDPutReader struct {
// contains filtered or unexported fields
}
V1HostGroupsIDPutReader is a Reader for the V1HostGroupsIDPut structure.
func (*V1HostGroupsIDPutReader) ReadResponse ¶
func (o *V1HostGroupsIDPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostGroupsIDPutUnauthorized ¶
type V1HostGroupsIDPutUnauthorized struct {
}V1HostGroupsIDPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostGroupsIDPutUnauthorized ¶
func NewV1HostGroupsIDPutUnauthorized() *V1HostGroupsIDPutUnauthorized
NewV1HostGroupsIDPutUnauthorized creates a V1HostGroupsIDPutUnauthorized with default headers values
func (*V1HostGroupsIDPutUnauthorized) Code ¶
func (o *V1HostGroupsIDPutUnauthorized) Code() int
Code gets the status code for the v1 host groups Id put unauthorized response
func (*V1HostGroupsIDPutUnauthorized) Error ¶
func (o *V1HostGroupsIDPutUnauthorized) Error() string
func (*V1HostGroupsIDPutUnauthorized) GetPayload ¶
func (o *V1HostGroupsIDPutUnauthorized) GetPayload() *models.Error
func (*V1HostGroupsIDPutUnauthorized) IsClientError ¶
func (o *V1HostGroupsIDPutUnauthorized) IsClientError() bool
IsClientError returns true when this v1 host groups Id put unauthorized response has a 4xx status code
func (*V1HostGroupsIDPutUnauthorized) IsCode ¶
func (o *V1HostGroupsIDPutUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 host groups Id put unauthorized response a status code equal to that given
func (*V1HostGroupsIDPutUnauthorized) IsRedirect ¶
func (o *V1HostGroupsIDPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 host groups Id put unauthorized response has a 3xx status code
func (*V1HostGroupsIDPutUnauthorized) IsServerError ¶
func (o *V1HostGroupsIDPutUnauthorized) IsServerError() bool
IsServerError returns true when this v1 host groups Id put unauthorized response has a 5xx status code
func (*V1HostGroupsIDPutUnauthorized) IsSuccess ¶
func (o *V1HostGroupsIDPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 host groups Id put unauthorized response has a 2xx status code
func (*V1HostGroupsIDPutUnauthorized) String ¶
func (o *V1HostGroupsIDPutUnauthorized) String() string
type V1HostGroupsPostBadRequest ¶
V1HostGroupsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostGroupsPostBadRequest ¶
func NewV1HostGroupsPostBadRequest() *V1HostGroupsPostBadRequest
NewV1HostGroupsPostBadRequest creates a V1HostGroupsPostBadRequest with default headers values
func (*V1HostGroupsPostBadRequest) Code ¶
func (o *V1HostGroupsPostBadRequest) Code() int
Code gets the status code for the v1 host groups post bad request response
func (*V1HostGroupsPostBadRequest) Error ¶
func (o *V1HostGroupsPostBadRequest) Error() string
func (*V1HostGroupsPostBadRequest) GetPayload ¶
func (o *V1HostGroupsPostBadRequest) GetPayload() *models.Error
func (*V1HostGroupsPostBadRequest) IsClientError ¶
func (o *V1HostGroupsPostBadRequest) IsClientError() bool
IsClientError returns true when this v1 host groups post bad request response has a 4xx status code
func (*V1HostGroupsPostBadRequest) IsCode ¶
func (o *V1HostGroupsPostBadRequest) IsCode(code int) bool
IsCode returns true when this v1 host groups post bad request response a status code equal to that given
func (*V1HostGroupsPostBadRequest) IsRedirect ¶
func (o *V1HostGroupsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 host groups post bad request response has a 3xx status code
func (*V1HostGroupsPostBadRequest) IsServerError ¶
func (o *V1HostGroupsPostBadRequest) IsServerError() bool
IsServerError returns true when this v1 host groups post bad request response has a 5xx status code
func (*V1HostGroupsPostBadRequest) IsSuccess ¶
func (o *V1HostGroupsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 host groups post bad request response has a 2xx status code
func (*V1HostGroupsPostBadRequest) String ¶
func (o *V1HostGroupsPostBadRequest) String() string
type V1HostGroupsPostConflict ¶
V1HostGroupsPostConflict describes a response with status code 409, with default header values.
Conflict
func NewV1HostGroupsPostConflict ¶
func NewV1HostGroupsPostConflict() *V1HostGroupsPostConflict
NewV1HostGroupsPostConflict creates a V1HostGroupsPostConflict with default headers values
func (*V1HostGroupsPostConflict) Code ¶
func (o *V1HostGroupsPostConflict) Code() int
Code gets the status code for the v1 host groups post conflict response
func (*V1HostGroupsPostConflict) Error ¶
func (o *V1HostGroupsPostConflict) Error() string
func (*V1HostGroupsPostConflict) GetPayload ¶
func (o *V1HostGroupsPostConflict) GetPayload() *models.Error
func (*V1HostGroupsPostConflict) IsClientError ¶
func (o *V1HostGroupsPostConflict) IsClientError() bool
IsClientError returns true when this v1 host groups post conflict response has a 4xx status code
func (*V1HostGroupsPostConflict) IsCode ¶
func (o *V1HostGroupsPostConflict) IsCode(code int) bool
IsCode returns true when this v1 host groups post conflict response a status code equal to that given
func (*V1HostGroupsPostConflict) IsRedirect ¶
func (o *V1HostGroupsPostConflict) IsRedirect() bool
IsRedirect returns true when this v1 host groups post conflict response has a 3xx status code
func (*V1HostGroupsPostConflict) IsServerError ¶
func (o *V1HostGroupsPostConflict) IsServerError() bool
IsServerError returns true when this v1 host groups post conflict response has a 5xx status code
func (*V1HostGroupsPostConflict) IsSuccess ¶
func (o *V1HostGroupsPostConflict) IsSuccess() bool
IsSuccess returns true when this v1 host groups post conflict response has a 2xx status code
func (*V1HostGroupsPostConflict) String ¶
func (o *V1HostGroupsPostConflict) String() string
type V1HostGroupsPostCreated ¶
V1HostGroupsPostCreated describes a response with status code 201, with default header values.
Created
func NewV1HostGroupsPostCreated ¶
func NewV1HostGroupsPostCreated() *V1HostGroupsPostCreated
NewV1HostGroupsPostCreated creates a V1HostGroupsPostCreated with default headers values
func (*V1HostGroupsPostCreated) Code ¶
func (o *V1HostGroupsPostCreated) Code() int
Code gets the status code for the v1 host groups post created response
func (*V1HostGroupsPostCreated) Error ¶
func (o *V1HostGroupsPostCreated) Error() string
func (*V1HostGroupsPostCreated) GetPayload ¶
func (o *V1HostGroupsPostCreated) GetPayload() *models.HostGroup
func (*V1HostGroupsPostCreated) IsClientError ¶
func (o *V1HostGroupsPostCreated) IsClientError() bool
IsClientError returns true when this v1 host groups post created response has a 4xx status code
func (*V1HostGroupsPostCreated) IsCode ¶
func (o *V1HostGroupsPostCreated) IsCode(code int) bool
IsCode returns true when this v1 host groups post created response a status code equal to that given
func (*V1HostGroupsPostCreated) IsRedirect ¶
func (o *V1HostGroupsPostCreated) IsRedirect() bool
IsRedirect returns true when this v1 host groups post created response has a 3xx status code
func (*V1HostGroupsPostCreated) IsServerError ¶
func (o *V1HostGroupsPostCreated) IsServerError() bool
IsServerError returns true when this v1 host groups post created response has a 5xx status code
func (*V1HostGroupsPostCreated) IsSuccess ¶
func (o *V1HostGroupsPostCreated) IsSuccess() bool
IsSuccess returns true when this v1 host groups post created response has a 2xx status code
func (*V1HostGroupsPostCreated) String ¶
func (o *V1HostGroupsPostCreated) String() string
type V1HostGroupsPostForbidden ¶
V1HostGroupsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostGroupsPostForbidden ¶
func NewV1HostGroupsPostForbidden() *V1HostGroupsPostForbidden
NewV1HostGroupsPostForbidden creates a V1HostGroupsPostForbidden with default headers values
func (*V1HostGroupsPostForbidden) Code ¶
func (o *V1HostGroupsPostForbidden) Code() int
Code gets the status code for the v1 host groups post forbidden response
func (*V1HostGroupsPostForbidden) Error ¶
func (o *V1HostGroupsPostForbidden) Error() string
func (*V1HostGroupsPostForbidden) GetPayload ¶
func (o *V1HostGroupsPostForbidden) GetPayload() *models.Error
func (*V1HostGroupsPostForbidden) IsClientError ¶
func (o *V1HostGroupsPostForbidden) IsClientError() bool
IsClientError returns true when this v1 host groups post forbidden response has a 4xx status code
func (*V1HostGroupsPostForbidden) IsCode ¶
func (o *V1HostGroupsPostForbidden) IsCode(code int) bool
IsCode returns true when this v1 host groups post forbidden response a status code equal to that given
func (*V1HostGroupsPostForbidden) IsRedirect ¶
func (o *V1HostGroupsPostForbidden) IsRedirect() bool
IsRedirect returns true when this v1 host groups post forbidden response has a 3xx status code
func (*V1HostGroupsPostForbidden) IsServerError ¶
func (o *V1HostGroupsPostForbidden) IsServerError() bool
IsServerError returns true when this v1 host groups post forbidden response has a 5xx status code
func (*V1HostGroupsPostForbidden) IsSuccess ¶
func (o *V1HostGroupsPostForbidden) IsSuccess() bool
IsSuccess returns true when this v1 host groups post forbidden response has a 2xx status code
func (*V1HostGroupsPostForbidden) String ¶
func (o *V1HostGroupsPostForbidden) String() string
type V1HostGroupsPostGatewayTimeout ¶
V1HostGroupsPostGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostGroupsPostGatewayTimeout ¶
func NewV1HostGroupsPostGatewayTimeout() *V1HostGroupsPostGatewayTimeout
NewV1HostGroupsPostGatewayTimeout creates a V1HostGroupsPostGatewayTimeout with default headers values
func (*V1HostGroupsPostGatewayTimeout) Code ¶
func (o *V1HostGroupsPostGatewayTimeout) Code() int
Code gets the status code for the v1 host groups post gateway timeout response
func (*V1HostGroupsPostGatewayTimeout) Error ¶
func (o *V1HostGroupsPostGatewayTimeout) Error() string
func (*V1HostGroupsPostGatewayTimeout) GetPayload ¶
func (o *V1HostGroupsPostGatewayTimeout) GetPayload() *models.Error
func (*V1HostGroupsPostGatewayTimeout) IsClientError ¶
func (o *V1HostGroupsPostGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 host groups post gateway timeout response has a 4xx status code
func (*V1HostGroupsPostGatewayTimeout) IsCode ¶
func (o *V1HostGroupsPostGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 host groups post gateway timeout response a status code equal to that given
func (*V1HostGroupsPostGatewayTimeout) IsRedirect ¶
func (o *V1HostGroupsPostGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 host groups post gateway timeout response has a 3xx status code
func (*V1HostGroupsPostGatewayTimeout) IsServerError ¶
func (o *V1HostGroupsPostGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 host groups post gateway timeout response has a 5xx status code
func (*V1HostGroupsPostGatewayTimeout) IsSuccess ¶
func (o *V1HostGroupsPostGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 host groups post gateway timeout response has a 2xx status code
func (*V1HostGroupsPostGatewayTimeout) String ¶
func (o *V1HostGroupsPostGatewayTimeout) String() string
type V1HostGroupsPostInternalServerError ¶
V1HostGroupsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostGroupsPostInternalServerError ¶
func NewV1HostGroupsPostInternalServerError() *V1HostGroupsPostInternalServerError
NewV1HostGroupsPostInternalServerError creates a V1HostGroupsPostInternalServerError with default headers values
func (*V1HostGroupsPostInternalServerError) Code ¶
func (o *V1HostGroupsPostInternalServerError) Code() int
Code gets the status code for the v1 host groups post internal server error response
func (*V1HostGroupsPostInternalServerError) Error ¶
func (o *V1HostGroupsPostInternalServerError) Error() string
func (*V1HostGroupsPostInternalServerError) GetPayload ¶
func (o *V1HostGroupsPostInternalServerError) GetPayload() *models.Error
func (*V1HostGroupsPostInternalServerError) IsClientError ¶
func (o *V1HostGroupsPostInternalServerError) IsClientError() bool
IsClientError returns true when this v1 host groups post internal server error response has a 4xx status code
func (*V1HostGroupsPostInternalServerError) IsCode ¶
func (o *V1HostGroupsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 host groups post internal server error response a status code equal to that given
func (*V1HostGroupsPostInternalServerError) IsRedirect ¶
func (o *V1HostGroupsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 host groups post internal server error response has a 3xx status code
func (*V1HostGroupsPostInternalServerError) IsServerError ¶
func (o *V1HostGroupsPostInternalServerError) IsServerError() bool
IsServerError returns true when this v1 host groups post internal server error response has a 5xx status code
func (*V1HostGroupsPostInternalServerError) IsSuccess ¶
func (o *V1HostGroupsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 host groups post internal server error response has a 2xx status code
func (*V1HostGroupsPostInternalServerError) String ¶
func (o *V1HostGroupsPostInternalServerError) String() string
type V1HostGroupsPostParams ¶
type V1HostGroupsPostParams struct { /* Body. Parameters for the creation of a new host group */ Body *models.HostGroupCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostGroupsPostParams contains all the parameters to send to the API endpoint
for the v1 host groups post operation. Typically these are written to a http.Request.
func NewV1HostGroupsPostParams ¶
func NewV1HostGroupsPostParams() *V1HostGroupsPostParams
NewV1HostGroupsPostParams creates a new V1HostGroupsPostParams 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 NewV1HostGroupsPostParamsWithContext ¶
func NewV1HostGroupsPostParamsWithContext(ctx context.Context) *V1HostGroupsPostParams
NewV1HostGroupsPostParamsWithContext creates a new V1HostGroupsPostParams object with the ability to set a context for a request.
func NewV1HostGroupsPostParamsWithHTTPClient ¶
func NewV1HostGroupsPostParamsWithHTTPClient(client *http.Client) *V1HostGroupsPostParams
NewV1HostGroupsPostParamsWithHTTPClient creates a new V1HostGroupsPostParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostGroupsPostParamsWithTimeout ¶
func NewV1HostGroupsPostParamsWithTimeout(timeout time.Duration) *V1HostGroupsPostParams
NewV1HostGroupsPostParamsWithTimeout creates a new V1HostGroupsPostParams object with the ability to set a timeout on a request.
func (*V1HostGroupsPostParams) SetBody ¶
func (o *V1HostGroupsPostParams) SetBody(body *models.HostGroupCreate)
SetBody adds the body to the v1 host groups post params
func (*V1HostGroupsPostParams) SetContext ¶
func (o *V1HostGroupsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 host groups post params
func (*V1HostGroupsPostParams) SetDefaults ¶
func (o *V1HostGroupsPostParams) SetDefaults()
SetDefaults hydrates default values in the v1 host groups post params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsPostParams) SetHTTPClient ¶
func (o *V1HostGroupsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 host groups post params
func (*V1HostGroupsPostParams) SetTimeout ¶
func (o *V1HostGroupsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 host groups post params
func (*V1HostGroupsPostParams) WithBody ¶
func (o *V1HostGroupsPostParams) WithBody(body *models.HostGroupCreate) *V1HostGroupsPostParams
WithBody adds the body to the v1 host groups post params
func (*V1HostGroupsPostParams) WithContext ¶
func (o *V1HostGroupsPostParams) WithContext(ctx context.Context) *V1HostGroupsPostParams
WithContext adds the context to the v1 host groups post params
func (*V1HostGroupsPostParams) WithDefaults ¶
func (o *V1HostGroupsPostParams) WithDefaults() *V1HostGroupsPostParams
WithDefaults hydrates default values in the v1 host groups post params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostGroupsPostParams) WithHTTPClient ¶
func (o *V1HostGroupsPostParams) WithHTTPClient(client *http.Client) *V1HostGroupsPostParams
WithHTTPClient adds the HTTPClient to the v1 host groups post params
func (*V1HostGroupsPostParams) WithTimeout ¶
func (o *V1HostGroupsPostParams) WithTimeout(timeout time.Duration) *V1HostGroupsPostParams
WithTimeout adds the timeout to the v1 host groups post params
func (*V1HostGroupsPostParams) WriteToRequest ¶
func (o *V1HostGroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostGroupsPostReader ¶
type V1HostGroupsPostReader struct {
// contains filtered or unexported fields
}
V1HostGroupsPostReader is a Reader for the V1HostGroupsPost structure.
func (*V1HostGroupsPostReader) ReadResponse ¶
func (o *V1HostGroupsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostGroupsPostUnauthorized ¶
type V1HostGroupsPostUnauthorized struct {
}V1HostGroupsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostGroupsPostUnauthorized ¶
func NewV1HostGroupsPostUnauthorized() *V1HostGroupsPostUnauthorized
NewV1HostGroupsPostUnauthorized creates a V1HostGroupsPostUnauthorized with default headers values
func (*V1HostGroupsPostUnauthorized) Code ¶
func (o *V1HostGroupsPostUnauthorized) Code() int
Code gets the status code for the v1 host groups post unauthorized response
func (*V1HostGroupsPostUnauthorized) Error ¶
func (o *V1HostGroupsPostUnauthorized) Error() string
func (*V1HostGroupsPostUnauthorized) GetPayload ¶
func (o *V1HostGroupsPostUnauthorized) GetPayload() *models.Error
func (*V1HostGroupsPostUnauthorized) IsClientError ¶
func (o *V1HostGroupsPostUnauthorized) IsClientError() bool
IsClientError returns true when this v1 host groups post unauthorized response has a 4xx status code
func (*V1HostGroupsPostUnauthorized) IsCode ¶
func (o *V1HostGroupsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 host groups post unauthorized response a status code equal to that given
func (*V1HostGroupsPostUnauthorized) IsRedirect ¶
func (o *V1HostGroupsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 host groups post unauthorized response has a 3xx status code
func (*V1HostGroupsPostUnauthorized) IsServerError ¶
func (o *V1HostGroupsPostUnauthorized) IsServerError() bool
IsServerError returns true when this v1 host groups post unauthorized response has a 5xx status code
func (*V1HostGroupsPostUnauthorized) IsSuccess ¶
func (o *V1HostGroupsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 host groups post unauthorized response has a 2xx status code
func (*V1HostGroupsPostUnauthorized) String ¶
func (o *V1HostGroupsPostUnauthorized) String() string
type V1HostGroupsPostUnprocessableEntity ¶
V1HostGroupsPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewV1HostGroupsPostUnprocessableEntity ¶
func NewV1HostGroupsPostUnprocessableEntity() *V1HostGroupsPostUnprocessableEntity
NewV1HostGroupsPostUnprocessableEntity creates a V1HostGroupsPostUnprocessableEntity with default headers values
func (*V1HostGroupsPostUnprocessableEntity) Code ¶
func (o *V1HostGroupsPostUnprocessableEntity) Code() int
Code gets the status code for the v1 host groups post unprocessable entity response
func (*V1HostGroupsPostUnprocessableEntity) Error ¶
func (o *V1HostGroupsPostUnprocessableEntity) Error() string
func (*V1HostGroupsPostUnprocessableEntity) GetPayload ¶
func (o *V1HostGroupsPostUnprocessableEntity) GetPayload() *models.Error
func (*V1HostGroupsPostUnprocessableEntity) IsClientError ¶
func (o *V1HostGroupsPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this v1 host groups post unprocessable entity response has a 4xx status code
func (*V1HostGroupsPostUnprocessableEntity) IsCode ¶
func (o *V1HostGroupsPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this v1 host groups post unprocessable entity response a status code equal to that given
func (*V1HostGroupsPostUnprocessableEntity) IsRedirect ¶
func (o *V1HostGroupsPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this v1 host groups post unprocessable entity response has a 3xx status code
func (*V1HostGroupsPostUnprocessableEntity) IsServerError ¶
func (o *V1HostGroupsPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this v1 host groups post unprocessable entity response has a 5xx status code
func (*V1HostGroupsPostUnprocessableEntity) IsSuccess ¶
func (o *V1HostGroupsPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this v1 host groups post unprocessable entity response has a 2xx status code
func (*V1HostGroupsPostUnprocessableEntity) String ¶
func (o *V1HostGroupsPostUnprocessableEntity) String() string
type V1HostsGetBadRequest ¶
V1HostsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostsGetBadRequest ¶
func NewV1HostsGetBadRequest() *V1HostsGetBadRequest
NewV1HostsGetBadRequest creates a V1HostsGetBadRequest with default headers values
func (*V1HostsGetBadRequest) Code ¶
func (o *V1HostsGetBadRequest) Code() int
Code gets the status code for the v1 hosts get bad request response
func (*V1HostsGetBadRequest) Error ¶
func (o *V1HostsGetBadRequest) Error() string
func (*V1HostsGetBadRequest) GetPayload ¶
func (o *V1HostsGetBadRequest) GetPayload() *models.Error
func (*V1HostsGetBadRequest) IsClientError ¶
func (o *V1HostsGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 hosts get bad request response has a 4xx status code
func (*V1HostsGetBadRequest) IsCode ¶
func (o *V1HostsGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 hosts get bad request response a status code equal to that given
func (*V1HostsGetBadRequest) IsRedirect ¶
func (o *V1HostsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 hosts get bad request response has a 3xx status code
func (*V1HostsGetBadRequest) IsServerError ¶
func (o *V1HostsGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 hosts get bad request response has a 5xx status code
func (*V1HostsGetBadRequest) IsSuccess ¶
func (o *V1HostsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 hosts get bad request response has a 2xx status code
func (*V1HostsGetBadRequest) String ¶
func (o *V1HostsGetBadRequest) String() string
type V1HostsGetForbidden ¶
V1HostsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostsGetForbidden ¶
func NewV1HostsGetForbidden() *V1HostsGetForbidden
NewV1HostsGetForbidden creates a V1HostsGetForbidden with default headers values
func (*V1HostsGetForbidden) Code ¶
func (o *V1HostsGetForbidden) Code() int
Code gets the status code for the v1 hosts get forbidden response
func (*V1HostsGetForbidden) Error ¶
func (o *V1HostsGetForbidden) Error() string
func (*V1HostsGetForbidden) GetPayload ¶
func (o *V1HostsGetForbidden) GetPayload() *models.Error
func (*V1HostsGetForbidden) IsClientError ¶
func (o *V1HostsGetForbidden) IsClientError() bool
IsClientError returns true when this v1 hosts get forbidden response has a 4xx status code
func (*V1HostsGetForbidden) IsCode ¶
func (o *V1HostsGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 hosts get forbidden response a status code equal to that given
func (*V1HostsGetForbidden) IsRedirect ¶
func (o *V1HostsGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 hosts get forbidden response has a 3xx status code
func (*V1HostsGetForbidden) IsServerError ¶
func (o *V1HostsGetForbidden) IsServerError() bool
IsServerError returns true when this v1 hosts get forbidden response has a 5xx status code
func (*V1HostsGetForbidden) IsSuccess ¶
func (o *V1HostsGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 hosts get forbidden response has a 2xx status code
func (*V1HostsGetForbidden) String ¶
func (o *V1HostsGetForbidden) String() string
type V1HostsGetGatewayTimeout ¶
V1HostsGetGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostsGetGatewayTimeout ¶
func NewV1HostsGetGatewayTimeout() *V1HostsGetGatewayTimeout
NewV1HostsGetGatewayTimeout creates a V1HostsGetGatewayTimeout with default headers values
func (*V1HostsGetGatewayTimeout) Code ¶
func (o *V1HostsGetGatewayTimeout) Code() int
Code gets the status code for the v1 hosts get gateway timeout response
func (*V1HostsGetGatewayTimeout) Error ¶
func (o *V1HostsGetGatewayTimeout) Error() string
func (*V1HostsGetGatewayTimeout) GetPayload ¶
func (o *V1HostsGetGatewayTimeout) GetPayload() *models.Error
func (*V1HostsGetGatewayTimeout) IsClientError ¶
func (o *V1HostsGetGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 hosts get gateway timeout response has a 4xx status code
func (*V1HostsGetGatewayTimeout) IsCode ¶
func (o *V1HostsGetGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 hosts get gateway timeout response a status code equal to that given
func (*V1HostsGetGatewayTimeout) IsRedirect ¶
func (o *V1HostsGetGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 hosts get gateway timeout response has a 3xx status code
func (*V1HostsGetGatewayTimeout) IsServerError ¶
func (o *V1HostsGetGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 hosts get gateway timeout response has a 5xx status code
func (*V1HostsGetGatewayTimeout) IsSuccess ¶
func (o *V1HostsGetGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 hosts get gateway timeout response has a 2xx status code
func (*V1HostsGetGatewayTimeout) String ¶
func (o *V1HostsGetGatewayTimeout) String() string
type V1HostsGetInternalServerError ¶
V1HostsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostsGetInternalServerError ¶
func NewV1HostsGetInternalServerError() *V1HostsGetInternalServerError
NewV1HostsGetInternalServerError creates a V1HostsGetInternalServerError with default headers values
func (*V1HostsGetInternalServerError) Code ¶
func (o *V1HostsGetInternalServerError) Code() int
Code gets the status code for the v1 hosts get internal server error response
func (*V1HostsGetInternalServerError) Error ¶
func (o *V1HostsGetInternalServerError) Error() string
func (*V1HostsGetInternalServerError) GetPayload ¶
func (o *V1HostsGetInternalServerError) GetPayload() *models.Error
func (*V1HostsGetInternalServerError) IsClientError ¶
func (o *V1HostsGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 hosts get internal server error response has a 4xx status code
func (*V1HostsGetInternalServerError) IsCode ¶
func (o *V1HostsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 hosts get internal server error response a status code equal to that given
func (*V1HostsGetInternalServerError) IsRedirect ¶
func (o *V1HostsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 hosts get internal server error response has a 3xx status code
func (*V1HostsGetInternalServerError) IsServerError ¶
func (o *V1HostsGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 hosts get internal server error response has a 5xx status code
func (*V1HostsGetInternalServerError) IsSuccess ¶
func (o *V1HostsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 hosts get internal server error response has a 2xx status code
func (*V1HostsGetInternalServerError) String ¶
func (o *V1HostsGetInternalServerError) String() string
type V1HostsGetOK ¶
V1HostsGetOK describes a response with status code 200, with default header values.
OK
func NewV1HostsGetOK ¶
func NewV1HostsGetOK() *V1HostsGetOK
NewV1HostsGetOK creates a V1HostsGetOK with default headers values
func (*V1HostsGetOK) Code ¶
func (o *V1HostsGetOK) Code() int
Code gets the status code for the v1 hosts get o k response
func (*V1HostsGetOK) Error ¶
func (o *V1HostsGetOK) Error() string
func (*V1HostsGetOK) GetPayload ¶
func (o *V1HostsGetOK) GetPayload() models.HostList
func (*V1HostsGetOK) IsClientError ¶
func (o *V1HostsGetOK) IsClientError() bool
IsClientError returns true when this v1 hosts get o k response has a 4xx status code
func (*V1HostsGetOK) IsCode ¶
func (o *V1HostsGetOK) IsCode(code int) bool
IsCode returns true when this v1 hosts get o k response a status code equal to that given
func (*V1HostsGetOK) IsRedirect ¶
func (o *V1HostsGetOK) IsRedirect() bool
IsRedirect returns true when this v1 hosts get o k response has a 3xx status code
func (*V1HostsGetOK) IsServerError ¶
func (o *V1HostsGetOK) IsServerError() bool
IsServerError returns true when this v1 hosts get o k response has a 5xx status code
func (*V1HostsGetOK) IsSuccess ¶
func (o *V1HostsGetOK) IsSuccess() bool
IsSuccess returns true when this v1 hosts get o k response has a 2xx status code
func (*V1HostsGetOK) String ¶
func (o *V1HostsGetOK) String() string
type V1HostsGetParams ¶
type V1HostsGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostsGetParams contains all the parameters to send to the API endpoint
for the v1 hosts get operation. Typically these are written to a http.Request.
func NewV1HostsGetParams ¶
func NewV1HostsGetParams() *V1HostsGetParams
NewV1HostsGetParams creates a new V1HostsGetParams 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 NewV1HostsGetParamsWithContext ¶
func NewV1HostsGetParamsWithContext(ctx context.Context) *V1HostsGetParams
NewV1HostsGetParamsWithContext creates a new V1HostsGetParams object with the ability to set a context for a request.
func NewV1HostsGetParamsWithHTTPClient ¶
func NewV1HostsGetParamsWithHTTPClient(client *http.Client) *V1HostsGetParams
NewV1HostsGetParamsWithHTTPClient creates a new V1HostsGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostsGetParamsWithTimeout ¶
func NewV1HostsGetParamsWithTimeout(timeout time.Duration) *V1HostsGetParams
NewV1HostsGetParamsWithTimeout creates a new V1HostsGetParams object with the ability to set a timeout on a request.
func (*V1HostsGetParams) SetContext ¶
func (o *V1HostsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 hosts get params
func (*V1HostsGetParams) SetDefaults ¶
func (o *V1HostsGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 hosts get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsGetParams) SetHTTPClient ¶
func (o *V1HostsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 hosts get params
func (*V1HostsGetParams) SetTimeout ¶
func (o *V1HostsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 hosts get params
func (*V1HostsGetParams) WithContext ¶
func (o *V1HostsGetParams) WithContext(ctx context.Context) *V1HostsGetParams
WithContext adds the context to the v1 hosts get params
func (*V1HostsGetParams) WithDefaults ¶
func (o *V1HostsGetParams) WithDefaults() *V1HostsGetParams
WithDefaults hydrates default values in the v1 hosts get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsGetParams) WithHTTPClient ¶
func (o *V1HostsGetParams) WithHTTPClient(client *http.Client) *V1HostsGetParams
WithHTTPClient adds the HTTPClient to the v1 hosts get params
func (*V1HostsGetParams) WithTimeout ¶
func (o *V1HostsGetParams) WithTimeout(timeout time.Duration) *V1HostsGetParams
WithTimeout adds the timeout to the v1 hosts get params
func (*V1HostsGetParams) WriteToRequest ¶
func (o *V1HostsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostsGetReader ¶
type V1HostsGetReader struct {
// contains filtered or unexported fields
}
V1HostsGetReader is a Reader for the V1HostsGet structure.
func (*V1HostsGetReader) ReadResponse ¶
func (o *V1HostsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostsGetUnauthorized ¶
type V1HostsGetUnauthorized struct {
}V1HostsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostsGetUnauthorized ¶
func NewV1HostsGetUnauthorized() *V1HostsGetUnauthorized
NewV1HostsGetUnauthorized creates a V1HostsGetUnauthorized with default headers values
func (*V1HostsGetUnauthorized) Code ¶
func (o *V1HostsGetUnauthorized) Code() int
Code gets the status code for the v1 hosts get unauthorized response
func (*V1HostsGetUnauthorized) Error ¶
func (o *V1HostsGetUnauthorized) Error() string
func (*V1HostsGetUnauthorized) GetPayload ¶
func (o *V1HostsGetUnauthorized) GetPayload() *models.Error
func (*V1HostsGetUnauthorized) IsClientError ¶
func (o *V1HostsGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 hosts get unauthorized response has a 4xx status code
func (*V1HostsGetUnauthorized) IsCode ¶
func (o *V1HostsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 hosts get unauthorized response a status code equal to that given
func (*V1HostsGetUnauthorized) IsRedirect ¶
func (o *V1HostsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 hosts get unauthorized response has a 3xx status code
func (*V1HostsGetUnauthorized) IsServerError ¶
func (o *V1HostsGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 hosts get unauthorized response has a 5xx status code
func (*V1HostsGetUnauthorized) IsSuccess ¶
func (o *V1HostsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 hosts get unauthorized response has a 2xx status code
func (*V1HostsGetUnauthorized) String ¶
func (o *V1HostsGetUnauthorized) String() string
type V1HostsIDDeleteAccepted ¶
V1HostsIDDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewV1HostsIDDeleteAccepted ¶
func NewV1HostsIDDeleteAccepted() *V1HostsIDDeleteAccepted
NewV1HostsIDDeleteAccepted creates a V1HostsIDDeleteAccepted with default headers values
func (*V1HostsIDDeleteAccepted) Code ¶
func (o *V1HostsIDDeleteAccepted) Code() int
Code gets the status code for the v1 hosts Id delete accepted response
func (*V1HostsIDDeleteAccepted) Error ¶
func (o *V1HostsIDDeleteAccepted) Error() string
func (*V1HostsIDDeleteAccepted) GetPayload ¶
func (o *V1HostsIDDeleteAccepted) GetPayload() models.Object
func (*V1HostsIDDeleteAccepted) IsClientError ¶
func (o *V1HostsIDDeleteAccepted) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete accepted response has a 4xx status code
func (*V1HostsIDDeleteAccepted) IsCode ¶
func (o *V1HostsIDDeleteAccepted) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete accepted response a status code equal to that given
func (*V1HostsIDDeleteAccepted) IsRedirect ¶
func (o *V1HostsIDDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete accepted response has a 3xx status code
func (*V1HostsIDDeleteAccepted) IsServerError ¶
func (o *V1HostsIDDeleteAccepted) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete accepted response has a 5xx status code
func (*V1HostsIDDeleteAccepted) IsSuccess ¶
func (o *V1HostsIDDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete accepted response has a 2xx status code
func (*V1HostsIDDeleteAccepted) String ¶
func (o *V1HostsIDDeleteAccepted) String() string
type V1HostsIDDeleteBadRequest ¶
V1HostsIDDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostsIDDeleteBadRequest ¶
func NewV1HostsIDDeleteBadRequest() *V1HostsIDDeleteBadRequest
NewV1HostsIDDeleteBadRequest creates a V1HostsIDDeleteBadRequest with default headers values
func (*V1HostsIDDeleteBadRequest) Code ¶
func (o *V1HostsIDDeleteBadRequest) Code() int
Code gets the status code for the v1 hosts Id delete bad request response
func (*V1HostsIDDeleteBadRequest) Error ¶
func (o *V1HostsIDDeleteBadRequest) Error() string
func (*V1HostsIDDeleteBadRequest) GetPayload ¶
func (o *V1HostsIDDeleteBadRequest) GetPayload() *models.Error
func (*V1HostsIDDeleteBadRequest) IsClientError ¶
func (o *V1HostsIDDeleteBadRequest) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete bad request response has a 4xx status code
func (*V1HostsIDDeleteBadRequest) IsCode ¶
func (o *V1HostsIDDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete bad request response a status code equal to that given
func (*V1HostsIDDeleteBadRequest) IsRedirect ¶
func (o *V1HostsIDDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete bad request response has a 3xx status code
func (*V1HostsIDDeleteBadRequest) IsServerError ¶
func (o *V1HostsIDDeleteBadRequest) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete bad request response has a 5xx status code
func (*V1HostsIDDeleteBadRequest) IsSuccess ¶
func (o *V1HostsIDDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete bad request response has a 2xx status code
func (*V1HostsIDDeleteBadRequest) String ¶
func (o *V1HostsIDDeleteBadRequest) String() string
type V1HostsIDDeleteForbidden ¶
V1HostsIDDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostsIDDeleteForbidden ¶
func NewV1HostsIDDeleteForbidden() *V1HostsIDDeleteForbidden
NewV1HostsIDDeleteForbidden creates a V1HostsIDDeleteForbidden with default headers values
func (*V1HostsIDDeleteForbidden) Code ¶
func (o *V1HostsIDDeleteForbidden) Code() int
Code gets the status code for the v1 hosts Id delete forbidden response
func (*V1HostsIDDeleteForbidden) Error ¶
func (o *V1HostsIDDeleteForbidden) Error() string
func (*V1HostsIDDeleteForbidden) GetPayload ¶
func (o *V1HostsIDDeleteForbidden) GetPayload() *models.Error
func (*V1HostsIDDeleteForbidden) IsClientError ¶
func (o *V1HostsIDDeleteForbidden) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete forbidden response has a 4xx status code
func (*V1HostsIDDeleteForbidden) IsCode ¶
func (o *V1HostsIDDeleteForbidden) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete forbidden response a status code equal to that given
func (*V1HostsIDDeleteForbidden) IsRedirect ¶
func (o *V1HostsIDDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete forbidden response has a 3xx status code
func (*V1HostsIDDeleteForbidden) IsServerError ¶
func (o *V1HostsIDDeleteForbidden) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete forbidden response has a 5xx status code
func (*V1HostsIDDeleteForbidden) IsSuccess ¶
func (o *V1HostsIDDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete forbidden response has a 2xx status code
func (*V1HostsIDDeleteForbidden) String ¶
func (o *V1HostsIDDeleteForbidden) String() string
type V1HostsIDDeleteGatewayTimeout ¶
V1HostsIDDeleteGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostsIDDeleteGatewayTimeout ¶
func NewV1HostsIDDeleteGatewayTimeout() *V1HostsIDDeleteGatewayTimeout
NewV1HostsIDDeleteGatewayTimeout creates a V1HostsIDDeleteGatewayTimeout with default headers values
func (*V1HostsIDDeleteGatewayTimeout) Code ¶
func (o *V1HostsIDDeleteGatewayTimeout) Code() int
Code gets the status code for the v1 hosts Id delete gateway timeout response
func (*V1HostsIDDeleteGatewayTimeout) Error ¶
func (o *V1HostsIDDeleteGatewayTimeout) Error() string
func (*V1HostsIDDeleteGatewayTimeout) GetPayload ¶
func (o *V1HostsIDDeleteGatewayTimeout) GetPayload() *models.Error
func (*V1HostsIDDeleteGatewayTimeout) IsClientError ¶
func (o *V1HostsIDDeleteGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete gateway timeout response has a 4xx status code
func (*V1HostsIDDeleteGatewayTimeout) IsCode ¶
func (o *V1HostsIDDeleteGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete gateway timeout response a status code equal to that given
func (*V1HostsIDDeleteGatewayTimeout) IsRedirect ¶
func (o *V1HostsIDDeleteGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete gateway timeout response has a 3xx status code
func (*V1HostsIDDeleteGatewayTimeout) IsServerError ¶
func (o *V1HostsIDDeleteGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete gateway timeout response has a 5xx status code
func (*V1HostsIDDeleteGatewayTimeout) IsSuccess ¶
func (o *V1HostsIDDeleteGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete gateway timeout response has a 2xx status code
func (*V1HostsIDDeleteGatewayTimeout) String ¶
func (o *V1HostsIDDeleteGatewayTimeout) String() string
type V1HostsIDDeleteInternalServerError ¶
V1HostsIDDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostsIDDeleteInternalServerError ¶
func NewV1HostsIDDeleteInternalServerError() *V1HostsIDDeleteInternalServerError
NewV1HostsIDDeleteInternalServerError creates a V1HostsIDDeleteInternalServerError with default headers values
func (*V1HostsIDDeleteInternalServerError) Code ¶
func (o *V1HostsIDDeleteInternalServerError) Code() int
Code gets the status code for the v1 hosts Id delete internal server error response
func (*V1HostsIDDeleteInternalServerError) Error ¶
func (o *V1HostsIDDeleteInternalServerError) Error() string
func (*V1HostsIDDeleteInternalServerError) GetPayload ¶
func (o *V1HostsIDDeleteInternalServerError) GetPayload() *models.Error
func (*V1HostsIDDeleteInternalServerError) IsClientError ¶
func (o *V1HostsIDDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete internal server error response has a 4xx status code
func (*V1HostsIDDeleteInternalServerError) IsCode ¶
func (o *V1HostsIDDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete internal server error response a status code equal to that given
func (*V1HostsIDDeleteInternalServerError) IsRedirect ¶
func (o *V1HostsIDDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete internal server error response has a 3xx status code
func (*V1HostsIDDeleteInternalServerError) IsServerError ¶
func (o *V1HostsIDDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete internal server error response has a 5xx status code
func (*V1HostsIDDeleteInternalServerError) IsSuccess ¶
func (o *V1HostsIDDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete internal server error response has a 2xx status code
func (*V1HostsIDDeleteInternalServerError) String ¶
func (o *V1HostsIDDeleteInternalServerError) String() string
type V1HostsIDDeleteNotFound ¶
V1HostsIDDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1HostsIDDeleteNotFound ¶
func NewV1HostsIDDeleteNotFound() *V1HostsIDDeleteNotFound
NewV1HostsIDDeleteNotFound creates a V1HostsIDDeleteNotFound with default headers values
func (*V1HostsIDDeleteNotFound) Code ¶
func (o *V1HostsIDDeleteNotFound) Code() int
Code gets the status code for the v1 hosts Id delete not found response
func (*V1HostsIDDeleteNotFound) Error ¶
func (o *V1HostsIDDeleteNotFound) Error() string
func (*V1HostsIDDeleteNotFound) GetPayload ¶
func (o *V1HostsIDDeleteNotFound) GetPayload() *models.Error
func (*V1HostsIDDeleteNotFound) IsClientError ¶
func (o *V1HostsIDDeleteNotFound) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete not found response has a 4xx status code
func (*V1HostsIDDeleteNotFound) IsCode ¶
func (o *V1HostsIDDeleteNotFound) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete not found response a status code equal to that given
func (*V1HostsIDDeleteNotFound) IsRedirect ¶
func (o *V1HostsIDDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete not found response has a 3xx status code
func (*V1HostsIDDeleteNotFound) IsServerError ¶
func (o *V1HostsIDDeleteNotFound) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete not found response has a 5xx status code
func (*V1HostsIDDeleteNotFound) IsSuccess ¶
func (o *V1HostsIDDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete not found response has a 2xx status code
func (*V1HostsIDDeleteNotFound) String ¶
func (o *V1HostsIDDeleteNotFound) String() string
type V1HostsIDDeleteParams ¶
type V1HostsIDDeleteParams struct { /* HostID. Host ID */ HostID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostsIDDeleteParams contains all the parameters to send to the API endpoint
for the v1 hosts id delete operation. Typically these are written to a http.Request.
func NewV1HostsIDDeleteParams ¶
func NewV1HostsIDDeleteParams() *V1HostsIDDeleteParams
NewV1HostsIDDeleteParams creates a new V1HostsIDDeleteParams 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 NewV1HostsIDDeleteParamsWithContext ¶
func NewV1HostsIDDeleteParamsWithContext(ctx context.Context) *V1HostsIDDeleteParams
NewV1HostsIDDeleteParamsWithContext creates a new V1HostsIDDeleteParams object with the ability to set a context for a request.
func NewV1HostsIDDeleteParamsWithHTTPClient ¶
func NewV1HostsIDDeleteParamsWithHTTPClient(client *http.Client) *V1HostsIDDeleteParams
NewV1HostsIDDeleteParamsWithHTTPClient creates a new V1HostsIDDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostsIDDeleteParamsWithTimeout ¶
func NewV1HostsIDDeleteParamsWithTimeout(timeout time.Duration) *V1HostsIDDeleteParams
NewV1HostsIDDeleteParamsWithTimeout creates a new V1HostsIDDeleteParams object with the ability to set a timeout on a request.
func (*V1HostsIDDeleteParams) SetContext ¶
func (o *V1HostsIDDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) SetDefaults ¶
func (o *V1HostsIDDeleteParams) SetDefaults()
SetDefaults hydrates default values in the v1 hosts id delete params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsIDDeleteParams) SetHTTPClient ¶
func (o *V1HostsIDDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) SetHostID ¶
func (o *V1HostsIDDeleteParams) SetHostID(hostID string)
SetHostID adds the hostId to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) SetTimeout ¶
func (o *V1HostsIDDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) WithContext ¶
func (o *V1HostsIDDeleteParams) WithContext(ctx context.Context) *V1HostsIDDeleteParams
WithContext adds the context to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) WithDefaults ¶
func (o *V1HostsIDDeleteParams) WithDefaults() *V1HostsIDDeleteParams
WithDefaults hydrates default values in the v1 hosts id delete params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsIDDeleteParams) WithHTTPClient ¶
func (o *V1HostsIDDeleteParams) WithHTTPClient(client *http.Client) *V1HostsIDDeleteParams
WithHTTPClient adds the HTTPClient to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) WithHostID ¶
func (o *V1HostsIDDeleteParams) WithHostID(hostID string) *V1HostsIDDeleteParams
WithHostID adds the hostID to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) WithTimeout ¶
func (o *V1HostsIDDeleteParams) WithTimeout(timeout time.Duration) *V1HostsIDDeleteParams
WithTimeout adds the timeout to the v1 hosts id delete params
func (*V1HostsIDDeleteParams) WriteToRequest ¶
func (o *V1HostsIDDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostsIDDeleteReader ¶
type V1HostsIDDeleteReader struct {
// contains filtered or unexported fields
}
V1HostsIDDeleteReader is a Reader for the V1HostsIDDelete structure.
func (*V1HostsIDDeleteReader) ReadResponse ¶
func (o *V1HostsIDDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostsIDDeleteUnauthorized ¶
type V1HostsIDDeleteUnauthorized struct {
}V1HostsIDDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostsIDDeleteUnauthorized ¶
func NewV1HostsIDDeleteUnauthorized() *V1HostsIDDeleteUnauthorized
NewV1HostsIDDeleteUnauthorized creates a V1HostsIDDeleteUnauthorized with default headers values
func (*V1HostsIDDeleteUnauthorized) Code ¶
func (o *V1HostsIDDeleteUnauthorized) Code() int
Code gets the status code for the v1 hosts Id delete unauthorized response
func (*V1HostsIDDeleteUnauthorized) Error ¶
func (o *V1HostsIDDeleteUnauthorized) Error() string
func (*V1HostsIDDeleteUnauthorized) GetPayload ¶
func (o *V1HostsIDDeleteUnauthorized) GetPayload() *models.Error
func (*V1HostsIDDeleteUnauthorized) IsClientError ¶
func (o *V1HostsIDDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this v1 hosts Id delete unauthorized response has a 4xx status code
func (*V1HostsIDDeleteUnauthorized) IsCode ¶
func (o *V1HostsIDDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 hosts Id delete unauthorized response a status code equal to that given
func (*V1HostsIDDeleteUnauthorized) IsRedirect ¶
func (o *V1HostsIDDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id delete unauthorized response has a 3xx status code
func (*V1HostsIDDeleteUnauthorized) IsServerError ¶
func (o *V1HostsIDDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this v1 hosts Id delete unauthorized response has a 5xx status code
func (*V1HostsIDDeleteUnauthorized) IsSuccess ¶
func (o *V1HostsIDDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id delete unauthorized response has a 2xx status code
func (*V1HostsIDDeleteUnauthorized) String ¶
func (o *V1HostsIDDeleteUnauthorized) String() string
type V1HostsIDGetBadRequest ¶
V1HostsIDGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostsIDGetBadRequest ¶
func NewV1HostsIDGetBadRequest() *V1HostsIDGetBadRequest
NewV1HostsIDGetBadRequest creates a V1HostsIDGetBadRequest with default headers values
func (*V1HostsIDGetBadRequest) Code ¶
func (o *V1HostsIDGetBadRequest) Code() int
Code gets the status code for the v1 hosts Id get bad request response
func (*V1HostsIDGetBadRequest) Error ¶
func (o *V1HostsIDGetBadRequest) Error() string
func (*V1HostsIDGetBadRequest) GetPayload ¶
func (o *V1HostsIDGetBadRequest) GetPayload() *models.Error
func (*V1HostsIDGetBadRequest) IsClientError ¶
func (o *V1HostsIDGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 hosts Id get bad request response has a 4xx status code
func (*V1HostsIDGetBadRequest) IsCode ¶
func (o *V1HostsIDGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get bad request response a status code equal to that given
func (*V1HostsIDGetBadRequest) IsRedirect ¶
func (o *V1HostsIDGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get bad request response has a 3xx status code
func (*V1HostsIDGetBadRequest) IsServerError ¶
func (o *V1HostsIDGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 hosts Id get bad request response has a 5xx status code
func (*V1HostsIDGetBadRequest) IsSuccess ¶
func (o *V1HostsIDGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get bad request response has a 2xx status code
func (*V1HostsIDGetBadRequest) String ¶
func (o *V1HostsIDGetBadRequest) String() string
type V1HostsIDGetForbidden ¶
V1HostsIDGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostsIDGetForbidden ¶
func NewV1HostsIDGetForbidden() *V1HostsIDGetForbidden
NewV1HostsIDGetForbidden creates a V1HostsIDGetForbidden with default headers values
func (*V1HostsIDGetForbidden) Code ¶
func (o *V1HostsIDGetForbidden) Code() int
Code gets the status code for the v1 hosts Id get forbidden response
func (*V1HostsIDGetForbidden) Error ¶
func (o *V1HostsIDGetForbidden) Error() string
func (*V1HostsIDGetForbidden) GetPayload ¶
func (o *V1HostsIDGetForbidden) GetPayload() *models.Error
func (*V1HostsIDGetForbidden) IsClientError ¶
func (o *V1HostsIDGetForbidden) IsClientError() bool
IsClientError returns true when this v1 hosts Id get forbidden response has a 4xx status code
func (*V1HostsIDGetForbidden) IsCode ¶
func (o *V1HostsIDGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get forbidden response a status code equal to that given
func (*V1HostsIDGetForbidden) IsRedirect ¶
func (o *V1HostsIDGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get forbidden response has a 3xx status code
func (*V1HostsIDGetForbidden) IsServerError ¶
func (o *V1HostsIDGetForbidden) IsServerError() bool
IsServerError returns true when this v1 hosts Id get forbidden response has a 5xx status code
func (*V1HostsIDGetForbidden) IsSuccess ¶
func (o *V1HostsIDGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get forbidden response has a 2xx status code
func (*V1HostsIDGetForbidden) String ¶
func (o *V1HostsIDGetForbidden) String() string
type V1HostsIDGetGatewayTimeout ¶
V1HostsIDGetGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostsIDGetGatewayTimeout ¶
func NewV1HostsIDGetGatewayTimeout() *V1HostsIDGetGatewayTimeout
NewV1HostsIDGetGatewayTimeout creates a V1HostsIDGetGatewayTimeout with default headers values
func (*V1HostsIDGetGatewayTimeout) Code ¶
func (o *V1HostsIDGetGatewayTimeout) Code() int
Code gets the status code for the v1 hosts Id get gateway timeout response
func (*V1HostsIDGetGatewayTimeout) Error ¶
func (o *V1HostsIDGetGatewayTimeout) Error() string
func (*V1HostsIDGetGatewayTimeout) GetPayload ¶
func (o *V1HostsIDGetGatewayTimeout) GetPayload() *models.Error
func (*V1HostsIDGetGatewayTimeout) IsClientError ¶
func (o *V1HostsIDGetGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 hosts Id get gateway timeout response has a 4xx status code
func (*V1HostsIDGetGatewayTimeout) IsCode ¶
func (o *V1HostsIDGetGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get gateway timeout response a status code equal to that given
func (*V1HostsIDGetGatewayTimeout) IsRedirect ¶
func (o *V1HostsIDGetGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get gateway timeout response has a 3xx status code
func (*V1HostsIDGetGatewayTimeout) IsServerError ¶
func (o *V1HostsIDGetGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 hosts Id get gateway timeout response has a 5xx status code
func (*V1HostsIDGetGatewayTimeout) IsSuccess ¶
func (o *V1HostsIDGetGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get gateway timeout response has a 2xx status code
func (*V1HostsIDGetGatewayTimeout) String ¶
func (o *V1HostsIDGetGatewayTimeout) String() string
type V1HostsIDGetInternalServerError ¶
V1HostsIDGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostsIDGetInternalServerError ¶
func NewV1HostsIDGetInternalServerError() *V1HostsIDGetInternalServerError
NewV1HostsIDGetInternalServerError creates a V1HostsIDGetInternalServerError with default headers values
func (*V1HostsIDGetInternalServerError) Code ¶
func (o *V1HostsIDGetInternalServerError) Code() int
Code gets the status code for the v1 hosts Id get internal server error response
func (*V1HostsIDGetInternalServerError) Error ¶
func (o *V1HostsIDGetInternalServerError) Error() string
func (*V1HostsIDGetInternalServerError) GetPayload ¶
func (o *V1HostsIDGetInternalServerError) GetPayload() *models.Error
func (*V1HostsIDGetInternalServerError) IsClientError ¶
func (o *V1HostsIDGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 hosts Id get internal server error response has a 4xx status code
func (*V1HostsIDGetInternalServerError) IsCode ¶
func (o *V1HostsIDGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get internal server error response a status code equal to that given
func (*V1HostsIDGetInternalServerError) IsRedirect ¶
func (o *V1HostsIDGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get internal server error response has a 3xx status code
func (*V1HostsIDGetInternalServerError) IsServerError ¶
func (o *V1HostsIDGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 hosts Id get internal server error response has a 5xx status code
func (*V1HostsIDGetInternalServerError) IsSuccess ¶
func (o *V1HostsIDGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get internal server error response has a 2xx status code
func (*V1HostsIDGetInternalServerError) String ¶
func (o *V1HostsIDGetInternalServerError) String() string
type V1HostsIDGetNotFound ¶
V1HostsIDGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1HostsIDGetNotFound ¶
func NewV1HostsIDGetNotFound() *V1HostsIDGetNotFound
NewV1HostsIDGetNotFound creates a V1HostsIDGetNotFound with default headers values
func (*V1HostsIDGetNotFound) Code ¶
func (o *V1HostsIDGetNotFound) Code() int
Code gets the status code for the v1 hosts Id get not found response
func (*V1HostsIDGetNotFound) Error ¶
func (o *V1HostsIDGetNotFound) Error() string
func (*V1HostsIDGetNotFound) GetPayload ¶
func (o *V1HostsIDGetNotFound) GetPayload() *models.Error
func (*V1HostsIDGetNotFound) IsClientError ¶
func (o *V1HostsIDGetNotFound) IsClientError() bool
IsClientError returns true when this v1 hosts Id get not found response has a 4xx status code
func (*V1HostsIDGetNotFound) IsCode ¶
func (o *V1HostsIDGetNotFound) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get not found response a status code equal to that given
func (*V1HostsIDGetNotFound) IsRedirect ¶
func (o *V1HostsIDGetNotFound) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get not found response has a 3xx status code
func (*V1HostsIDGetNotFound) IsServerError ¶
func (o *V1HostsIDGetNotFound) IsServerError() bool
IsServerError returns true when this v1 hosts Id get not found response has a 5xx status code
func (*V1HostsIDGetNotFound) IsSuccess ¶
func (o *V1HostsIDGetNotFound) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get not found response has a 2xx status code
func (*V1HostsIDGetNotFound) String ¶
func (o *V1HostsIDGetNotFound) String() string
type V1HostsIDGetOK ¶
V1HostsIDGetOK describes a response with status code 200, with default header values.
OK
func NewV1HostsIDGetOK ¶
func NewV1HostsIDGetOK() *V1HostsIDGetOK
NewV1HostsIDGetOK creates a V1HostsIDGetOK with default headers values
func (*V1HostsIDGetOK) Code ¶
func (o *V1HostsIDGetOK) Code() int
Code gets the status code for the v1 hosts Id get o k response
func (*V1HostsIDGetOK) Error ¶
func (o *V1HostsIDGetOK) Error() string
func (*V1HostsIDGetOK) GetPayload ¶
func (o *V1HostsIDGetOK) GetPayload() *models.Host
func (*V1HostsIDGetOK) IsClientError ¶
func (o *V1HostsIDGetOK) IsClientError() bool
IsClientError returns true when this v1 hosts Id get o k response has a 4xx status code
func (*V1HostsIDGetOK) IsCode ¶
func (o *V1HostsIDGetOK) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get o k response a status code equal to that given
func (*V1HostsIDGetOK) IsRedirect ¶
func (o *V1HostsIDGetOK) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get o k response has a 3xx status code
func (*V1HostsIDGetOK) IsServerError ¶
func (o *V1HostsIDGetOK) IsServerError() bool
IsServerError returns true when this v1 hosts Id get o k response has a 5xx status code
func (*V1HostsIDGetOK) IsSuccess ¶
func (o *V1HostsIDGetOK) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get o k response has a 2xx status code
func (*V1HostsIDGetOK) String ¶
func (o *V1HostsIDGetOK) String() string
type V1HostsIDGetParams ¶
type V1HostsIDGetParams struct { /* HostID. Host ID */ HostID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostsIDGetParams contains all the parameters to send to the API endpoint
for the v1 hosts id get operation. Typically these are written to a http.Request.
func NewV1HostsIDGetParams ¶
func NewV1HostsIDGetParams() *V1HostsIDGetParams
NewV1HostsIDGetParams creates a new V1HostsIDGetParams 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 NewV1HostsIDGetParamsWithContext ¶
func NewV1HostsIDGetParamsWithContext(ctx context.Context) *V1HostsIDGetParams
NewV1HostsIDGetParamsWithContext creates a new V1HostsIDGetParams object with the ability to set a context for a request.
func NewV1HostsIDGetParamsWithHTTPClient ¶
func NewV1HostsIDGetParamsWithHTTPClient(client *http.Client) *V1HostsIDGetParams
NewV1HostsIDGetParamsWithHTTPClient creates a new V1HostsIDGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostsIDGetParamsWithTimeout ¶
func NewV1HostsIDGetParamsWithTimeout(timeout time.Duration) *V1HostsIDGetParams
NewV1HostsIDGetParamsWithTimeout creates a new V1HostsIDGetParams object with the ability to set a timeout on a request.
func (*V1HostsIDGetParams) SetContext ¶
func (o *V1HostsIDGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 hosts id get params
func (*V1HostsIDGetParams) SetDefaults ¶
func (o *V1HostsIDGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 hosts id get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsIDGetParams) SetHTTPClient ¶
func (o *V1HostsIDGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 hosts id get params
func (*V1HostsIDGetParams) SetHostID ¶
func (o *V1HostsIDGetParams) SetHostID(hostID string)
SetHostID adds the hostId to the v1 hosts id get params
func (*V1HostsIDGetParams) SetTimeout ¶
func (o *V1HostsIDGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 hosts id get params
func (*V1HostsIDGetParams) WithContext ¶
func (o *V1HostsIDGetParams) WithContext(ctx context.Context) *V1HostsIDGetParams
WithContext adds the context to the v1 hosts id get params
func (*V1HostsIDGetParams) WithDefaults ¶
func (o *V1HostsIDGetParams) WithDefaults() *V1HostsIDGetParams
WithDefaults hydrates default values in the v1 hosts id get params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsIDGetParams) WithHTTPClient ¶
func (o *V1HostsIDGetParams) WithHTTPClient(client *http.Client) *V1HostsIDGetParams
WithHTTPClient adds the HTTPClient to the v1 hosts id get params
func (*V1HostsIDGetParams) WithHostID ¶
func (o *V1HostsIDGetParams) WithHostID(hostID string) *V1HostsIDGetParams
WithHostID adds the hostID to the v1 hosts id get params
func (*V1HostsIDGetParams) WithTimeout ¶
func (o *V1HostsIDGetParams) WithTimeout(timeout time.Duration) *V1HostsIDGetParams
WithTimeout adds the timeout to the v1 hosts id get params
func (*V1HostsIDGetParams) WriteToRequest ¶
func (o *V1HostsIDGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostsIDGetReader ¶
type V1HostsIDGetReader struct {
// contains filtered or unexported fields
}
V1HostsIDGetReader is a Reader for the V1HostsIDGet structure.
func (*V1HostsIDGetReader) ReadResponse ¶
func (o *V1HostsIDGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostsIDGetUnauthorized ¶
type V1HostsIDGetUnauthorized struct {
}V1HostsIDGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostsIDGetUnauthorized ¶
func NewV1HostsIDGetUnauthorized() *V1HostsIDGetUnauthorized
NewV1HostsIDGetUnauthorized creates a V1HostsIDGetUnauthorized with default headers values
func (*V1HostsIDGetUnauthorized) Code ¶
func (o *V1HostsIDGetUnauthorized) Code() int
Code gets the status code for the v1 hosts Id get unauthorized response
func (*V1HostsIDGetUnauthorized) Error ¶
func (o *V1HostsIDGetUnauthorized) Error() string
func (*V1HostsIDGetUnauthorized) GetPayload ¶
func (o *V1HostsIDGetUnauthorized) GetPayload() *models.Error
func (*V1HostsIDGetUnauthorized) IsClientError ¶
func (o *V1HostsIDGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 hosts Id get unauthorized response has a 4xx status code
func (*V1HostsIDGetUnauthorized) IsCode ¶
func (o *V1HostsIDGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 hosts Id get unauthorized response a status code equal to that given
func (*V1HostsIDGetUnauthorized) IsRedirect ¶
func (o *V1HostsIDGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id get unauthorized response has a 3xx status code
func (*V1HostsIDGetUnauthorized) IsServerError ¶
func (o *V1HostsIDGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 hosts Id get unauthorized response has a 5xx status code
func (*V1HostsIDGetUnauthorized) IsSuccess ¶
func (o *V1HostsIDGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id get unauthorized response has a 2xx status code
func (*V1HostsIDGetUnauthorized) String ¶
func (o *V1HostsIDGetUnauthorized) String() string
type V1HostsIDPutBadRequest ¶
V1HostsIDPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostsIDPutBadRequest ¶
func NewV1HostsIDPutBadRequest() *V1HostsIDPutBadRequest
NewV1HostsIDPutBadRequest creates a V1HostsIDPutBadRequest with default headers values
func (*V1HostsIDPutBadRequest) Code ¶
func (o *V1HostsIDPutBadRequest) Code() int
Code gets the status code for the v1 hosts Id put bad request response
func (*V1HostsIDPutBadRequest) Error ¶
func (o *V1HostsIDPutBadRequest) Error() string
func (*V1HostsIDPutBadRequest) GetPayload ¶
func (o *V1HostsIDPutBadRequest) GetPayload() *models.Error
func (*V1HostsIDPutBadRequest) IsClientError ¶
func (o *V1HostsIDPutBadRequest) IsClientError() bool
IsClientError returns true when this v1 hosts Id put bad request response has a 4xx status code
func (*V1HostsIDPutBadRequest) IsCode ¶
func (o *V1HostsIDPutBadRequest) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put bad request response a status code equal to that given
func (*V1HostsIDPutBadRequest) IsRedirect ¶
func (o *V1HostsIDPutBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put bad request response has a 3xx status code
func (*V1HostsIDPutBadRequest) IsServerError ¶
func (o *V1HostsIDPutBadRequest) IsServerError() bool
IsServerError returns true when this v1 hosts Id put bad request response has a 5xx status code
func (*V1HostsIDPutBadRequest) IsSuccess ¶
func (o *V1HostsIDPutBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put bad request response has a 2xx status code
func (*V1HostsIDPutBadRequest) String ¶
func (o *V1HostsIDPutBadRequest) String() string
type V1HostsIDPutForbidden ¶
V1HostsIDPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostsIDPutForbidden ¶
func NewV1HostsIDPutForbidden() *V1HostsIDPutForbidden
NewV1HostsIDPutForbidden creates a V1HostsIDPutForbidden with default headers values
func (*V1HostsIDPutForbidden) Code ¶
func (o *V1HostsIDPutForbidden) Code() int
Code gets the status code for the v1 hosts Id put forbidden response
func (*V1HostsIDPutForbidden) Error ¶
func (o *V1HostsIDPutForbidden) Error() string
func (*V1HostsIDPutForbidden) GetPayload ¶
func (o *V1HostsIDPutForbidden) GetPayload() *models.Error
func (*V1HostsIDPutForbidden) IsClientError ¶
func (o *V1HostsIDPutForbidden) IsClientError() bool
IsClientError returns true when this v1 hosts Id put forbidden response has a 4xx status code
func (*V1HostsIDPutForbidden) IsCode ¶
func (o *V1HostsIDPutForbidden) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put forbidden response a status code equal to that given
func (*V1HostsIDPutForbidden) IsRedirect ¶
func (o *V1HostsIDPutForbidden) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put forbidden response has a 3xx status code
func (*V1HostsIDPutForbidden) IsServerError ¶
func (o *V1HostsIDPutForbidden) IsServerError() bool
IsServerError returns true when this v1 hosts Id put forbidden response has a 5xx status code
func (*V1HostsIDPutForbidden) IsSuccess ¶
func (o *V1HostsIDPutForbidden) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put forbidden response has a 2xx status code
func (*V1HostsIDPutForbidden) String ¶
func (o *V1HostsIDPutForbidden) String() string
type V1HostsIDPutGatewayTimeout ¶
V1HostsIDPutGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostsIDPutGatewayTimeout ¶
func NewV1HostsIDPutGatewayTimeout() *V1HostsIDPutGatewayTimeout
NewV1HostsIDPutGatewayTimeout creates a V1HostsIDPutGatewayTimeout with default headers values
func (*V1HostsIDPutGatewayTimeout) Code ¶
func (o *V1HostsIDPutGatewayTimeout) Code() int
Code gets the status code for the v1 hosts Id put gateway timeout response
func (*V1HostsIDPutGatewayTimeout) Error ¶
func (o *V1HostsIDPutGatewayTimeout) Error() string
func (*V1HostsIDPutGatewayTimeout) GetPayload ¶
func (o *V1HostsIDPutGatewayTimeout) GetPayload() *models.Error
func (*V1HostsIDPutGatewayTimeout) IsClientError ¶
func (o *V1HostsIDPutGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 hosts Id put gateway timeout response has a 4xx status code
func (*V1HostsIDPutGatewayTimeout) IsCode ¶
func (o *V1HostsIDPutGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put gateway timeout response a status code equal to that given
func (*V1HostsIDPutGatewayTimeout) IsRedirect ¶
func (o *V1HostsIDPutGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put gateway timeout response has a 3xx status code
func (*V1HostsIDPutGatewayTimeout) IsServerError ¶
func (o *V1HostsIDPutGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 hosts Id put gateway timeout response has a 5xx status code
func (*V1HostsIDPutGatewayTimeout) IsSuccess ¶
func (o *V1HostsIDPutGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put gateway timeout response has a 2xx status code
func (*V1HostsIDPutGatewayTimeout) String ¶
func (o *V1HostsIDPutGatewayTimeout) String() string
type V1HostsIDPutInternalServerError ¶
V1HostsIDPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostsIDPutInternalServerError ¶
func NewV1HostsIDPutInternalServerError() *V1HostsIDPutInternalServerError
NewV1HostsIDPutInternalServerError creates a V1HostsIDPutInternalServerError with default headers values
func (*V1HostsIDPutInternalServerError) Code ¶
func (o *V1HostsIDPutInternalServerError) Code() int
Code gets the status code for the v1 hosts Id put internal server error response
func (*V1HostsIDPutInternalServerError) Error ¶
func (o *V1HostsIDPutInternalServerError) Error() string
func (*V1HostsIDPutInternalServerError) GetPayload ¶
func (o *V1HostsIDPutInternalServerError) GetPayload() *models.Error
func (*V1HostsIDPutInternalServerError) IsClientError ¶
func (o *V1HostsIDPutInternalServerError) IsClientError() bool
IsClientError returns true when this v1 hosts Id put internal server error response has a 4xx status code
func (*V1HostsIDPutInternalServerError) IsCode ¶
func (o *V1HostsIDPutInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put internal server error response a status code equal to that given
func (*V1HostsIDPutInternalServerError) IsRedirect ¶
func (o *V1HostsIDPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put internal server error response has a 3xx status code
func (*V1HostsIDPutInternalServerError) IsServerError ¶
func (o *V1HostsIDPutInternalServerError) IsServerError() bool
IsServerError returns true when this v1 hosts Id put internal server error response has a 5xx status code
func (*V1HostsIDPutInternalServerError) IsSuccess ¶
func (o *V1HostsIDPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put internal server error response has a 2xx status code
func (*V1HostsIDPutInternalServerError) String ¶
func (o *V1HostsIDPutInternalServerError) String() string
type V1HostsIDPutNotFound ¶
V1HostsIDPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1HostsIDPutNotFound ¶
func NewV1HostsIDPutNotFound() *V1HostsIDPutNotFound
NewV1HostsIDPutNotFound creates a V1HostsIDPutNotFound with default headers values
func (*V1HostsIDPutNotFound) Code ¶
func (o *V1HostsIDPutNotFound) Code() int
Code gets the status code for the v1 hosts Id put not found response
func (*V1HostsIDPutNotFound) Error ¶
func (o *V1HostsIDPutNotFound) Error() string
func (*V1HostsIDPutNotFound) GetPayload ¶
func (o *V1HostsIDPutNotFound) GetPayload() *models.Error
func (*V1HostsIDPutNotFound) IsClientError ¶
func (o *V1HostsIDPutNotFound) IsClientError() bool
IsClientError returns true when this v1 hosts Id put not found response has a 4xx status code
func (*V1HostsIDPutNotFound) IsCode ¶
func (o *V1HostsIDPutNotFound) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put not found response a status code equal to that given
func (*V1HostsIDPutNotFound) IsRedirect ¶
func (o *V1HostsIDPutNotFound) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put not found response has a 3xx status code
func (*V1HostsIDPutNotFound) IsServerError ¶
func (o *V1HostsIDPutNotFound) IsServerError() bool
IsServerError returns true when this v1 hosts Id put not found response has a 5xx status code
func (*V1HostsIDPutNotFound) IsSuccess ¶
func (o *V1HostsIDPutNotFound) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put not found response has a 2xx status code
func (*V1HostsIDPutNotFound) String ¶
func (o *V1HostsIDPutNotFound) String() string
type V1HostsIDPutOK ¶
V1HostsIDPutOK describes a response with status code 200, with default header values.
OK
func NewV1HostsIDPutOK ¶
func NewV1HostsIDPutOK() *V1HostsIDPutOK
NewV1HostsIDPutOK creates a V1HostsIDPutOK with default headers values
func (*V1HostsIDPutOK) Code ¶
func (o *V1HostsIDPutOK) Code() int
Code gets the status code for the v1 hosts Id put o k response
func (*V1HostsIDPutOK) Error ¶
func (o *V1HostsIDPutOK) Error() string
func (*V1HostsIDPutOK) GetPayload ¶
func (o *V1HostsIDPutOK) GetPayload() *models.Host
func (*V1HostsIDPutOK) IsClientError ¶
func (o *V1HostsIDPutOK) IsClientError() bool
IsClientError returns true when this v1 hosts Id put o k response has a 4xx status code
func (*V1HostsIDPutOK) IsCode ¶
func (o *V1HostsIDPutOK) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put o k response a status code equal to that given
func (*V1HostsIDPutOK) IsRedirect ¶
func (o *V1HostsIDPutOK) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put o k response has a 3xx status code
func (*V1HostsIDPutOK) IsServerError ¶
func (o *V1HostsIDPutOK) IsServerError() bool
IsServerError returns true when this v1 hosts Id put o k response has a 5xx status code
func (*V1HostsIDPutOK) IsSuccess ¶
func (o *V1HostsIDPutOK) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put o k response has a 2xx status code
func (*V1HostsIDPutOK) String ¶
func (o *V1HostsIDPutOK) String() string
type V1HostsIDPutParams ¶
type V1HostsIDPutParams struct { /* Body. Parameters to modify a host */ Body *models.HostPut /* HostID. Host ID */ HostID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostsIDPutParams contains all the parameters to send to the API endpoint
for the v1 hosts id put operation. Typically these are written to a http.Request.
func NewV1HostsIDPutParams ¶
func NewV1HostsIDPutParams() *V1HostsIDPutParams
NewV1HostsIDPutParams creates a new V1HostsIDPutParams 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 NewV1HostsIDPutParamsWithContext ¶
func NewV1HostsIDPutParamsWithContext(ctx context.Context) *V1HostsIDPutParams
NewV1HostsIDPutParamsWithContext creates a new V1HostsIDPutParams object with the ability to set a context for a request.
func NewV1HostsIDPutParamsWithHTTPClient ¶
func NewV1HostsIDPutParamsWithHTTPClient(client *http.Client) *V1HostsIDPutParams
NewV1HostsIDPutParamsWithHTTPClient creates a new V1HostsIDPutParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostsIDPutParamsWithTimeout ¶
func NewV1HostsIDPutParamsWithTimeout(timeout time.Duration) *V1HostsIDPutParams
NewV1HostsIDPutParamsWithTimeout creates a new V1HostsIDPutParams object with the ability to set a timeout on a request.
func (*V1HostsIDPutParams) SetBody ¶
func (o *V1HostsIDPutParams) SetBody(body *models.HostPut)
SetBody adds the body to the v1 hosts id put params
func (*V1HostsIDPutParams) SetContext ¶
func (o *V1HostsIDPutParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 hosts id put params
func (*V1HostsIDPutParams) SetDefaults ¶
func (o *V1HostsIDPutParams) SetDefaults()
SetDefaults hydrates default values in the v1 hosts id put params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsIDPutParams) SetHTTPClient ¶
func (o *V1HostsIDPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 hosts id put params
func (*V1HostsIDPutParams) SetHostID ¶
func (o *V1HostsIDPutParams) SetHostID(hostID string)
SetHostID adds the hostId to the v1 hosts id put params
func (*V1HostsIDPutParams) SetTimeout ¶
func (o *V1HostsIDPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 hosts id put params
func (*V1HostsIDPutParams) WithBody ¶
func (o *V1HostsIDPutParams) WithBody(body *models.HostPut) *V1HostsIDPutParams
WithBody adds the body to the v1 hosts id put params
func (*V1HostsIDPutParams) WithContext ¶
func (o *V1HostsIDPutParams) WithContext(ctx context.Context) *V1HostsIDPutParams
WithContext adds the context to the v1 hosts id put params
func (*V1HostsIDPutParams) WithDefaults ¶
func (o *V1HostsIDPutParams) WithDefaults() *V1HostsIDPutParams
WithDefaults hydrates default values in the v1 hosts id put params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsIDPutParams) WithHTTPClient ¶
func (o *V1HostsIDPutParams) WithHTTPClient(client *http.Client) *V1HostsIDPutParams
WithHTTPClient adds the HTTPClient to the v1 hosts id put params
func (*V1HostsIDPutParams) WithHostID ¶
func (o *V1HostsIDPutParams) WithHostID(hostID string) *V1HostsIDPutParams
WithHostID adds the hostID to the v1 hosts id put params
func (*V1HostsIDPutParams) WithTimeout ¶
func (o *V1HostsIDPutParams) WithTimeout(timeout time.Duration) *V1HostsIDPutParams
WithTimeout adds the timeout to the v1 hosts id put params
func (*V1HostsIDPutParams) WriteToRequest ¶
func (o *V1HostsIDPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostsIDPutReader ¶
type V1HostsIDPutReader struct {
// contains filtered or unexported fields
}
V1HostsIDPutReader is a Reader for the V1HostsIDPut structure.
func (*V1HostsIDPutReader) ReadResponse ¶
func (o *V1HostsIDPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostsIDPutUnauthorized ¶
type V1HostsIDPutUnauthorized struct {
}V1HostsIDPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostsIDPutUnauthorized ¶
func NewV1HostsIDPutUnauthorized() *V1HostsIDPutUnauthorized
NewV1HostsIDPutUnauthorized creates a V1HostsIDPutUnauthorized with default headers values
func (*V1HostsIDPutUnauthorized) Code ¶
func (o *V1HostsIDPutUnauthorized) Code() int
Code gets the status code for the v1 hosts Id put unauthorized response
func (*V1HostsIDPutUnauthorized) Error ¶
func (o *V1HostsIDPutUnauthorized) Error() string
func (*V1HostsIDPutUnauthorized) GetPayload ¶
func (o *V1HostsIDPutUnauthorized) GetPayload() *models.Error
func (*V1HostsIDPutUnauthorized) IsClientError ¶
func (o *V1HostsIDPutUnauthorized) IsClientError() bool
IsClientError returns true when this v1 hosts Id put unauthorized response has a 4xx status code
func (*V1HostsIDPutUnauthorized) IsCode ¶
func (o *V1HostsIDPutUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put unauthorized response a status code equal to that given
func (*V1HostsIDPutUnauthorized) IsRedirect ¶
func (o *V1HostsIDPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put unauthorized response has a 3xx status code
func (*V1HostsIDPutUnauthorized) IsServerError ¶
func (o *V1HostsIDPutUnauthorized) IsServerError() bool
IsServerError returns true when this v1 hosts Id put unauthorized response has a 5xx status code
func (*V1HostsIDPutUnauthorized) IsSuccess ¶
func (o *V1HostsIDPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put unauthorized response has a 2xx status code
func (*V1HostsIDPutUnauthorized) String ¶
func (o *V1HostsIDPutUnauthorized) String() string
type V1HostsIDPutUnprocessableEntity ¶
V1HostsIDPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewV1HostsIDPutUnprocessableEntity ¶
func NewV1HostsIDPutUnprocessableEntity() *V1HostsIDPutUnprocessableEntity
NewV1HostsIDPutUnprocessableEntity creates a V1HostsIDPutUnprocessableEntity with default headers values
func (*V1HostsIDPutUnprocessableEntity) Code ¶
func (o *V1HostsIDPutUnprocessableEntity) Code() int
Code gets the status code for the v1 hosts Id put unprocessable entity response
func (*V1HostsIDPutUnprocessableEntity) Error ¶
func (o *V1HostsIDPutUnprocessableEntity) Error() string
func (*V1HostsIDPutUnprocessableEntity) GetPayload ¶
func (o *V1HostsIDPutUnprocessableEntity) GetPayload() *models.Error
func (*V1HostsIDPutUnprocessableEntity) IsClientError ¶
func (o *V1HostsIDPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this v1 hosts Id put unprocessable entity response has a 4xx status code
func (*V1HostsIDPutUnprocessableEntity) IsCode ¶
func (o *V1HostsIDPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this v1 hosts Id put unprocessable entity response a status code equal to that given
func (*V1HostsIDPutUnprocessableEntity) IsRedirect ¶
func (o *V1HostsIDPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this v1 hosts Id put unprocessable entity response has a 3xx status code
func (*V1HostsIDPutUnprocessableEntity) IsServerError ¶
func (o *V1HostsIDPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this v1 hosts Id put unprocessable entity response has a 5xx status code
func (*V1HostsIDPutUnprocessableEntity) IsSuccess ¶
func (o *V1HostsIDPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this v1 hosts Id put unprocessable entity response has a 2xx status code
func (*V1HostsIDPutUnprocessableEntity) String ¶
func (o *V1HostsIDPutUnprocessableEntity) String() string
type V1HostsPostBadRequest ¶
V1HostsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1HostsPostBadRequest ¶
func NewV1HostsPostBadRequest() *V1HostsPostBadRequest
NewV1HostsPostBadRequest creates a V1HostsPostBadRequest with default headers values
func (*V1HostsPostBadRequest) Code ¶
func (o *V1HostsPostBadRequest) Code() int
Code gets the status code for the v1 hosts post bad request response
func (*V1HostsPostBadRequest) Error ¶
func (o *V1HostsPostBadRequest) Error() string
func (*V1HostsPostBadRequest) GetPayload ¶
func (o *V1HostsPostBadRequest) GetPayload() *models.Error
func (*V1HostsPostBadRequest) IsClientError ¶
func (o *V1HostsPostBadRequest) IsClientError() bool
IsClientError returns true when this v1 hosts post bad request response has a 4xx status code
func (*V1HostsPostBadRequest) IsCode ¶
func (o *V1HostsPostBadRequest) IsCode(code int) bool
IsCode returns true when this v1 hosts post bad request response a status code equal to that given
func (*V1HostsPostBadRequest) IsRedirect ¶
func (o *V1HostsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 hosts post bad request response has a 3xx status code
func (*V1HostsPostBadRequest) IsServerError ¶
func (o *V1HostsPostBadRequest) IsServerError() bool
IsServerError returns true when this v1 hosts post bad request response has a 5xx status code
func (*V1HostsPostBadRequest) IsSuccess ¶
func (o *V1HostsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 hosts post bad request response has a 2xx status code
func (*V1HostsPostBadRequest) String ¶
func (o *V1HostsPostBadRequest) String() string
type V1HostsPostCreated ¶
V1HostsPostCreated describes a response with status code 201, with default header values.
Created
func NewV1HostsPostCreated ¶
func NewV1HostsPostCreated() *V1HostsPostCreated
NewV1HostsPostCreated creates a V1HostsPostCreated with default headers values
func (*V1HostsPostCreated) Code ¶
func (o *V1HostsPostCreated) Code() int
Code gets the status code for the v1 hosts post created response
func (*V1HostsPostCreated) Error ¶
func (o *V1HostsPostCreated) Error() string
func (*V1HostsPostCreated) GetPayload ¶
func (o *V1HostsPostCreated) GetPayload() models.HostList
func (*V1HostsPostCreated) IsClientError ¶
func (o *V1HostsPostCreated) IsClientError() bool
IsClientError returns true when this v1 hosts post created response has a 4xx status code
func (*V1HostsPostCreated) IsCode ¶
func (o *V1HostsPostCreated) IsCode(code int) bool
IsCode returns true when this v1 hosts post created response a status code equal to that given
func (*V1HostsPostCreated) IsRedirect ¶
func (o *V1HostsPostCreated) IsRedirect() bool
IsRedirect returns true when this v1 hosts post created response has a 3xx status code
func (*V1HostsPostCreated) IsServerError ¶
func (o *V1HostsPostCreated) IsServerError() bool
IsServerError returns true when this v1 hosts post created response has a 5xx status code
func (*V1HostsPostCreated) IsSuccess ¶
func (o *V1HostsPostCreated) IsSuccess() bool
IsSuccess returns true when this v1 hosts post created response has a 2xx status code
func (*V1HostsPostCreated) String ¶
func (o *V1HostsPostCreated) String() string
type V1HostsPostForbidden ¶
V1HostsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1HostsPostForbidden ¶
func NewV1HostsPostForbidden() *V1HostsPostForbidden
NewV1HostsPostForbidden creates a V1HostsPostForbidden with default headers values
func (*V1HostsPostForbidden) Code ¶
func (o *V1HostsPostForbidden) Code() int
Code gets the status code for the v1 hosts post forbidden response
func (*V1HostsPostForbidden) Error ¶
func (o *V1HostsPostForbidden) Error() string
func (*V1HostsPostForbidden) GetPayload ¶
func (o *V1HostsPostForbidden) GetPayload() *models.Error
func (*V1HostsPostForbidden) IsClientError ¶
func (o *V1HostsPostForbidden) IsClientError() bool
IsClientError returns true when this v1 hosts post forbidden response has a 4xx status code
func (*V1HostsPostForbidden) IsCode ¶
func (o *V1HostsPostForbidden) IsCode(code int) bool
IsCode returns true when this v1 hosts post forbidden response a status code equal to that given
func (*V1HostsPostForbidden) IsRedirect ¶
func (o *V1HostsPostForbidden) IsRedirect() bool
IsRedirect returns true when this v1 hosts post forbidden response has a 3xx status code
func (*V1HostsPostForbidden) IsServerError ¶
func (o *V1HostsPostForbidden) IsServerError() bool
IsServerError returns true when this v1 hosts post forbidden response has a 5xx status code
func (*V1HostsPostForbidden) IsSuccess ¶
func (o *V1HostsPostForbidden) IsSuccess() bool
IsSuccess returns true when this v1 hosts post forbidden response has a 2xx status code
func (*V1HostsPostForbidden) String ¶
func (o *V1HostsPostForbidden) String() string
type V1HostsPostGatewayTimeout ¶
V1HostsPostGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewV1HostsPostGatewayTimeout ¶
func NewV1HostsPostGatewayTimeout() *V1HostsPostGatewayTimeout
NewV1HostsPostGatewayTimeout creates a V1HostsPostGatewayTimeout with default headers values
func (*V1HostsPostGatewayTimeout) Code ¶
func (o *V1HostsPostGatewayTimeout) Code() int
Code gets the status code for the v1 hosts post gateway timeout response
func (*V1HostsPostGatewayTimeout) Error ¶
func (o *V1HostsPostGatewayTimeout) Error() string
func (*V1HostsPostGatewayTimeout) GetPayload ¶
func (o *V1HostsPostGatewayTimeout) GetPayload() *models.Error
func (*V1HostsPostGatewayTimeout) IsClientError ¶
func (o *V1HostsPostGatewayTimeout) IsClientError() bool
IsClientError returns true when this v1 hosts post gateway timeout response has a 4xx status code
func (*V1HostsPostGatewayTimeout) IsCode ¶
func (o *V1HostsPostGatewayTimeout) IsCode(code int) bool
IsCode returns true when this v1 hosts post gateway timeout response a status code equal to that given
func (*V1HostsPostGatewayTimeout) IsRedirect ¶
func (o *V1HostsPostGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this v1 hosts post gateway timeout response has a 3xx status code
func (*V1HostsPostGatewayTimeout) IsServerError ¶
func (o *V1HostsPostGatewayTimeout) IsServerError() bool
IsServerError returns true when this v1 hosts post gateway timeout response has a 5xx status code
func (*V1HostsPostGatewayTimeout) IsSuccess ¶
func (o *V1HostsPostGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this v1 hosts post gateway timeout response has a 2xx status code
func (*V1HostsPostGatewayTimeout) String ¶
func (o *V1HostsPostGatewayTimeout) String() string
type V1HostsPostInternalServerError ¶
V1HostsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1HostsPostInternalServerError ¶
func NewV1HostsPostInternalServerError() *V1HostsPostInternalServerError
NewV1HostsPostInternalServerError creates a V1HostsPostInternalServerError with default headers values
func (*V1HostsPostInternalServerError) Code ¶
func (o *V1HostsPostInternalServerError) Code() int
Code gets the status code for the v1 hosts post internal server error response
func (*V1HostsPostInternalServerError) Error ¶
func (o *V1HostsPostInternalServerError) Error() string
func (*V1HostsPostInternalServerError) GetPayload ¶
func (o *V1HostsPostInternalServerError) GetPayload() *models.Error
func (*V1HostsPostInternalServerError) IsClientError ¶
func (o *V1HostsPostInternalServerError) IsClientError() bool
IsClientError returns true when this v1 hosts post internal server error response has a 4xx status code
func (*V1HostsPostInternalServerError) IsCode ¶
func (o *V1HostsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 hosts post internal server error response a status code equal to that given
func (*V1HostsPostInternalServerError) IsRedirect ¶
func (o *V1HostsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 hosts post internal server error response has a 3xx status code
func (*V1HostsPostInternalServerError) IsServerError ¶
func (o *V1HostsPostInternalServerError) IsServerError() bool
IsServerError returns true when this v1 hosts post internal server error response has a 5xx status code
func (*V1HostsPostInternalServerError) IsSuccess ¶
func (o *V1HostsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 hosts post internal server error response has a 2xx status code
func (*V1HostsPostInternalServerError) String ¶
func (o *V1HostsPostInternalServerError) String() string
type V1HostsPostParams ¶
type V1HostsPostParams struct { /* Body. Parameters to add a host to an existing host group */ Body *models.HostCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1HostsPostParams contains all the parameters to send to the API endpoint
for the v1 hosts post operation. Typically these are written to a http.Request.
func NewV1HostsPostParams ¶
func NewV1HostsPostParams() *V1HostsPostParams
NewV1HostsPostParams creates a new V1HostsPostParams 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 NewV1HostsPostParamsWithContext ¶
func NewV1HostsPostParamsWithContext(ctx context.Context) *V1HostsPostParams
NewV1HostsPostParamsWithContext creates a new V1HostsPostParams object with the ability to set a context for a request.
func NewV1HostsPostParamsWithHTTPClient ¶
func NewV1HostsPostParamsWithHTTPClient(client *http.Client) *V1HostsPostParams
NewV1HostsPostParamsWithHTTPClient creates a new V1HostsPostParams object with the ability to set a custom HTTPClient for a request.
func NewV1HostsPostParamsWithTimeout ¶
func NewV1HostsPostParamsWithTimeout(timeout time.Duration) *V1HostsPostParams
NewV1HostsPostParamsWithTimeout creates a new V1HostsPostParams object with the ability to set a timeout on a request.
func (*V1HostsPostParams) SetBody ¶
func (o *V1HostsPostParams) SetBody(body *models.HostCreate)
SetBody adds the body to the v1 hosts post params
func (*V1HostsPostParams) SetContext ¶
func (o *V1HostsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 hosts post params
func (*V1HostsPostParams) SetDefaults ¶
func (o *V1HostsPostParams) SetDefaults()
SetDefaults hydrates default values in the v1 hosts post params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsPostParams) SetHTTPClient ¶
func (o *V1HostsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 hosts post params
func (*V1HostsPostParams) SetTimeout ¶
func (o *V1HostsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 hosts post params
func (*V1HostsPostParams) WithBody ¶
func (o *V1HostsPostParams) WithBody(body *models.HostCreate) *V1HostsPostParams
WithBody adds the body to the v1 hosts post params
func (*V1HostsPostParams) WithContext ¶
func (o *V1HostsPostParams) WithContext(ctx context.Context) *V1HostsPostParams
WithContext adds the context to the v1 hosts post params
func (*V1HostsPostParams) WithDefaults ¶
func (o *V1HostsPostParams) WithDefaults() *V1HostsPostParams
WithDefaults hydrates default values in the v1 hosts post params (not the query body).
All values with no default are reset to their zero value.
func (*V1HostsPostParams) WithHTTPClient ¶
func (o *V1HostsPostParams) WithHTTPClient(client *http.Client) *V1HostsPostParams
WithHTTPClient adds the HTTPClient to the v1 hosts post params
func (*V1HostsPostParams) WithTimeout ¶
func (o *V1HostsPostParams) WithTimeout(timeout time.Duration) *V1HostsPostParams
WithTimeout adds the timeout to the v1 hosts post params
func (*V1HostsPostParams) WriteToRequest ¶
func (o *V1HostsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1HostsPostReader ¶
type V1HostsPostReader struct {
// contains filtered or unexported fields
}
V1HostsPostReader is a Reader for the V1HostsPost structure.
func (*V1HostsPostReader) ReadResponse ¶
func (o *V1HostsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1HostsPostUnauthorized ¶
type V1HostsPostUnauthorized struct {
}V1HostsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1HostsPostUnauthorized ¶
func NewV1HostsPostUnauthorized() *V1HostsPostUnauthorized
NewV1HostsPostUnauthorized creates a V1HostsPostUnauthorized with default headers values
func (*V1HostsPostUnauthorized) Code ¶
func (o *V1HostsPostUnauthorized) Code() int
Code gets the status code for the v1 hosts post unauthorized response
func (*V1HostsPostUnauthorized) Error ¶
func (o *V1HostsPostUnauthorized) Error() string
func (*V1HostsPostUnauthorized) GetPayload ¶
func (o *V1HostsPostUnauthorized) GetPayload() *models.Error
func (*V1HostsPostUnauthorized) IsClientError ¶
func (o *V1HostsPostUnauthorized) IsClientError() bool
IsClientError returns true when this v1 hosts post unauthorized response has a 4xx status code
func (*V1HostsPostUnauthorized) IsCode ¶
func (o *V1HostsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 hosts post unauthorized response a status code equal to that given
func (*V1HostsPostUnauthorized) IsRedirect ¶
func (o *V1HostsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 hosts post unauthorized response has a 3xx status code
func (*V1HostsPostUnauthorized) IsServerError ¶
func (o *V1HostsPostUnauthorized) IsServerError() bool
IsServerError returns true when this v1 hosts post unauthorized response has a 5xx status code
func (*V1HostsPostUnauthorized) IsSuccess ¶
func (o *V1HostsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 hosts post unauthorized response has a 2xx status code
func (*V1HostsPostUnauthorized) String ¶
func (o *V1HostsPostUnauthorized) String() string
type V1HostsPostUnprocessableEntity ¶
V1HostsPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewV1HostsPostUnprocessableEntity ¶
func NewV1HostsPostUnprocessableEntity() *V1HostsPostUnprocessableEntity
NewV1HostsPostUnprocessableEntity creates a V1HostsPostUnprocessableEntity with default headers values
func (*V1HostsPostUnprocessableEntity) Code ¶
func (o *V1HostsPostUnprocessableEntity) Code() int
Code gets the status code for the v1 hosts post unprocessable entity response
func (*V1HostsPostUnprocessableEntity) Error ¶
func (o *V1HostsPostUnprocessableEntity) Error() string
func (*V1HostsPostUnprocessableEntity) GetPayload ¶
func (o *V1HostsPostUnprocessableEntity) GetPayload() *models.Error
func (*V1HostsPostUnprocessableEntity) IsClientError ¶
func (o *V1HostsPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this v1 hosts post unprocessable entity response has a 4xx status code
func (*V1HostsPostUnprocessableEntity) IsCode ¶
func (o *V1HostsPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this v1 hosts post unprocessable entity response a status code equal to that given
func (*V1HostsPostUnprocessableEntity) IsRedirect ¶
func (o *V1HostsPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this v1 hosts post unprocessable entity response has a 3xx status code
func (*V1HostsPostUnprocessableEntity) IsServerError ¶
func (o *V1HostsPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this v1 hosts post unprocessable entity response has a 5xx status code
func (*V1HostsPostUnprocessableEntity) IsSuccess ¶
func (o *V1HostsPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this v1 hosts post unprocessable entity response has a 2xx status code
func (*V1HostsPostUnprocessableEntity) String ¶
func (o *V1HostsPostUnprocessableEntity) String() string
Source Files ¶
- host_groups_client.go
- v1_available_hosts_parameters.go
- v1_available_hosts_responses.go
- v1_host_groups_get_parameters.go
- v1_host_groups_get_responses.go
- v1_host_groups_id_get_parameters.go
- v1_host_groups_id_get_responses.go
- v1_host_groups_id_put_parameters.go
- v1_host_groups_id_put_responses.go
- v1_host_groups_post_parameters.go
- v1_host_groups_post_responses.go
- v1_hosts_get_parameters.go
- v1_hosts_get_responses.go
- v1_hosts_id_delete_parameters.go
- v1_hosts_id_delete_responses.go
- v1_hosts_id_get_parameters.go
- v1_hosts_id_get_responses.go
- v1_hosts_id_put_parameters.go
- v1_hosts_id_put_responses.go
- v1_hosts_post_parameters.go
- v1_hosts_post_responses.go