hosts

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignTagsToHostBadRequest added in v0.3.0

type AssignTagsToHostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewAssignTagsToHostBadRequest added in v0.3.0

func NewAssignTagsToHostBadRequest() *AssignTagsToHostBadRequest

NewAssignTagsToHostBadRequest creates a AssignTagsToHostBadRequest with default headers values

func (*AssignTagsToHostBadRequest) Code added in v0.3.0

func (o *AssignTagsToHostBadRequest) Code() int

Code gets the status code for the assign tags to host bad request response

func (*AssignTagsToHostBadRequest) Error added in v0.3.0

func (*AssignTagsToHostBadRequest) GetPayload added in v0.3.0

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

func (*AssignTagsToHostBadRequest) IsClientError added in v0.3.0

func (o *AssignTagsToHostBadRequest) IsClientError() bool

IsClientError returns true when this assign tags to host bad request response has a 4xx status code

func (*AssignTagsToHostBadRequest) IsCode added in v0.3.0

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

IsCode returns true when this assign tags to host bad request response a status code equal to that given

func (*AssignTagsToHostBadRequest) IsRedirect added in v0.3.0

func (o *AssignTagsToHostBadRequest) IsRedirect() bool

IsRedirect returns true when this assign tags to host bad request response has a 3xx status code

func (*AssignTagsToHostBadRequest) IsServerError added in v0.3.0

func (o *AssignTagsToHostBadRequest) IsServerError() bool

IsServerError returns true when this assign tags to host bad request response has a 5xx status code

func (*AssignTagsToHostBadRequest) IsSuccess added in v0.3.0

func (o *AssignTagsToHostBadRequest) IsSuccess() bool

IsSuccess returns true when this assign tags to host bad request response has a 2xx status code

func (*AssignTagsToHostBadRequest) String added in v0.3.0

func (o *AssignTagsToHostBadRequest) String() string

type AssignTagsToHostInternalServerError added in v0.3.0

type AssignTagsToHostInternalServerError struct {
	Payload *models.Error
}

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

InternalServerError

func NewAssignTagsToHostInternalServerError added in v0.3.0

func NewAssignTagsToHostInternalServerError() *AssignTagsToHostInternalServerError

NewAssignTagsToHostInternalServerError creates a AssignTagsToHostInternalServerError with default headers values

func (*AssignTagsToHostInternalServerError) Code added in v0.3.0

Code gets the status code for the assign tags to host internal server error response

func (*AssignTagsToHostInternalServerError) Error added in v0.3.0

func (*AssignTagsToHostInternalServerError) GetPayload added in v0.3.0

func (*AssignTagsToHostInternalServerError) IsClientError added in v0.3.0

func (o *AssignTagsToHostInternalServerError) IsClientError() bool

IsClientError returns true when this assign tags to host internal server error response has a 4xx status code

func (*AssignTagsToHostInternalServerError) IsCode added in v0.3.0

IsCode returns true when this assign tags to host internal server error response a status code equal to that given

func (*AssignTagsToHostInternalServerError) IsRedirect added in v0.3.0

func (o *AssignTagsToHostInternalServerError) IsRedirect() bool

IsRedirect returns true when this assign tags to host internal server error response has a 3xx status code

func (*AssignTagsToHostInternalServerError) IsServerError added in v0.3.0

func (o *AssignTagsToHostInternalServerError) IsServerError() bool

IsServerError returns true when this assign tags to host internal server error response has a 5xx status code

func (*AssignTagsToHostInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this assign tags to host internal server error response has a 2xx status code

func (*AssignTagsToHostInternalServerError) String added in v0.3.0

type AssignTagsToHostOK added in v0.3.0

type AssignTagsToHostOK struct {
	Payload *models.TagAssignmentResult
}

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

Ok

func NewAssignTagsToHostOK added in v0.3.0

func NewAssignTagsToHostOK() *AssignTagsToHostOK

NewAssignTagsToHostOK creates a AssignTagsToHostOK with default headers values

func (*AssignTagsToHostOK) Code added in v0.3.0

func (o *AssignTagsToHostOK) Code() int

Code gets the status code for the assign tags to host o k response

func (*AssignTagsToHostOK) Error added in v0.3.0

func (o *AssignTagsToHostOK) Error() string

func (*AssignTagsToHostOK) GetPayload added in v0.3.0

func (*AssignTagsToHostOK) IsClientError added in v0.3.0

func (o *AssignTagsToHostOK) IsClientError() bool

IsClientError returns true when this assign tags to host o k response has a 4xx status code

func (*AssignTagsToHostOK) IsCode added in v0.3.0

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

IsCode returns true when this assign tags to host o k response a status code equal to that given

func (*AssignTagsToHostOK) IsRedirect added in v0.3.0

func (o *AssignTagsToHostOK) IsRedirect() bool

IsRedirect returns true when this assign tags to host o k response has a 3xx status code

func (*AssignTagsToHostOK) IsServerError added in v0.3.0

func (o *AssignTagsToHostOK) IsServerError() bool

IsServerError returns true when this assign tags to host o k response has a 5xx status code

func (*AssignTagsToHostOK) IsSuccess added in v0.3.0

func (o *AssignTagsToHostOK) IsSuccess() bool

IsSuccess returns true when this assign tags to host o k response has a 2xx status code

func (*AssignTagsToHostOK) String added in v0.3.0

func (o *AssignTagsToHostOK) String() string

type AssignTagsToHostParams added in v0.3.0

type AssignTagsToHostParams struct {

	/* ID.

	   Host ID
	*/
	ID string

	/* TagsSpec.

	   Tags Spec
	*/
	TagsSpec *models.TagsSpec

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

AssignTagsToHostParams contains all the parameters to send to the API endpoint

for the assign tags to host operation.

Typically these are written to a http.Request.

func NewAssignTagsToHostParams added in v0.3.0

func NewAssignTagsToHostParams() *AssignTagsToHostParams

NewAssignTagsToHostParams creates a new AssignTagsToHostParams 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 NewAssignTagsToHostParamsWithContext added in v0.3.0

func NewAssignTagsToHostParamsWithContext(ctx context.Context) *AssignTagsToHostParams

NewAssignTagsToHostParamsWithContext creates a new AssignTagsToHostParams object with the ability to set a context for a request.

func NewAssignTagsToHostParamsWithHTTPClient added in v0.3.0

func NewAssignTagsToHostParamsWithHTTPClient(client *http.Client) *AssignTagsToHostParams

NewAssignTagsToHostParamsWithHTTPClient creates a new AssignTagsToHostParams object with the ability to set a custom HTTPClient for a request.

func NewAssignTagsToHostParamsWithTimeout added in v0.3.0

func NewAssignTagsToHostParamsWithTimeout(timeout time.Duration) *AssignTagsToHostParams

NewAssignTagsToHostParamsWithTimeout creates a new AssignTagsToHostParams object with the ability to set a timeout on a request.

func (*AssignTagsToHostParams) SetContext added in v0.3.0

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

SetContext adds the context to the assign tags to host params

func (*AssignTagsToHostParams) SetDefaults added in v0.3.0

func (o *AssignTagsToHostParams) SetDefaults()

SetDefaults hydrates default values in the assign tags to host params (not the query body).

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

func (*AssignTagsToHostParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the assign tags to host params

func (*AssignTagsToHostParams) SetID added in v0.3.0

func (o *AssignTagsToHostParams) SetID(id string)

SetID adds the id to the assign tags to host params

func (*AssignTagsToHostParams) SetTagsSpec added in v0.3.0

func (o *AssignTagsToHostParams) SetTagsSpec(tagsSpec *models.TagsSpec)

SetTagsSpec adds the tagsSpec to the assign tags to host params

func (*AssignTagsToHostParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the assign tags to host params

func (*AssignTagsToHostParams) WithContext added in v0.3.0

WithContext adds the context to the assign tags to host params

func (*AssignTagsToHostParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the assign tags to host params (not the query body).

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

func (*AssignTagsToHostParams) WithHTTPClient added in v0.3.0

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

WithHTTPClient adds the HTTPClient to the assign tags to host params

func (*AssignTagsToHostParams) WithID added in v0.3.0

WithID adds the id to the assign tags to host params

func (*AssignTagsToHostParams) WithTagsSpec added in v0.3.0

func (o *AssignTagsToHostParams) WithTagsSpec(tagsSpec *models.TagsSpec) *AssignTagsToHostParams

WithTagsSpec adds the tagsSpec to the assign tags to host params

func (*AssignTagsToHostParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the assign tags to host params

func (*AssignTagsToHostParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type AssignTagsToHostReader added in v0.3.0

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

AssignTagsToHostReader is a Reader for the AssignTagsToHost structure.

func (*AssignTagsToHostReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for hosts API

func (*Client) AssignTagsToHost added in v0.3.0

func (a *Client) AssignTagsToHost(params *AssignTagsToHostParams, opts ...ClientOption) (*AssignTagsToHostOK, error)

AssignTagsToHost assigns tags to a host

func (*Client) CommissionHosts

func (a *Client) CommissionHosts(params *CommissionHostsParams, opts ...ClientOption) (*CommissionHostsOK, *CommissionHostsAccepted, error)

CommissionHosts commissions the hosts

func (*Client) DecommissionHosts

DecommissionHosts decommissions the hosts

func (*Client) GetAssignableTagForHost added in v0.3.0

func (a *Client) GetAssignableTagForHost(params *GetAssignableTagForHostParams, opts ...ClientOption) (*GetAssignableTagForHostOK, error)

GetAssignableTagForHost gets tags assignable to a host

func (*Client) GetCriteria added in v0.1.1

func (a *Client) GetCriteria(params *GetCriteriaParams, opts ...ClientOption) (*GetCriteriaOK, error)

GetCriteria gets all criteria

func (*Client) GetCriterion added in v0.1.1

func (a *Client) GetCriterion(params *GetCriterionParams, opts ...ClientOption) (*GetCriterionOK, error)

GetCriterion gets a criterion

func (*Client) GetHost added in v0.1.1

func (a *Client) GetHost(params *GetHostParams, opts ...ClientOption) (*GetHostOK, error)

GetHost gets a host by its ID

func (*Client) GetHostCommissionValidationByID added in v0.3.0

func (a *Client) GetHostCommissionValidationByID(params *GetHostCommissionValidationByIDParams, opts ...ClientOption) (*GetHostCommissionValidationByIDOK, error)

GetHostCommissionValidationByID retrieves the results of a host commission validation by its ID

func (*Client) GetHostQueryResponse1 added in v0.1.1

func (a *Client) GetHostQueryResponse1(params *GetHostQueryResponse1Params, opts ...ClientOption) (*GetHostQueryResponse1OK, error)

GetHostQueryResponse1 gets query response

func (*Client) GetHostTagManagerURL added in v0.1.1

func (a *Client) GetHostTagManagerURL(params *GetHostTagManagerURLParams, opts ...ClientOption) (*GetHostTagManagerURLOK, error)

GetHostTagManagerURL gets host tag manager Url

func (*Client) GetHosts added in v0.1.1

func (a *Client) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)

GetHosts gets all hosts

func (*Client) GetTagsAssignedToHost added in v0.1.1

func (a *Client) GetTagsAssignedToHost(params *GetTagsAssignedToHostParams, opts ...ClientOption) (*GetTagsAssignedToHostOK, error)

GetTagsAssignedToHost gets tags assigned to host

func (*Client) GetTagsAssignedToHosts added in v0.1.1

func (a *Client) GetTagsAssignedToHosts(params *GetTagsAssignedToHostsParams, opts ...ClientOption) (*GetTagsAssignedToHostsOK, error)

GetTagsAssignedToHosts gets tags assigned to hosts

func (*Client) PostQuery added in v0.1.1

func (a *Client) PostQuery(params *PostQueryParams, opts ...ClientOption) (*PostQueryOK, error)

PostQuery posts a query

func (*Client) RemoveTagsFromHost

func (a *Client) RemoveTagsFromHost(params *RemoveTagsFromHostParams, opts ...ClientOption) (*RemoveTagsFromHostOK, error)

RemoveTagsFromHost removes tags from host

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ValidateHostCommissionSpec added in v0.3.0

ValidateHostCommissionSpec performs validation of the host commission spec specification

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AssignTagsToHost(params *AssignTagsToHostParams, opts ...ClientOption) (*AssignTagsToHostOK, error)

	CommissionHosts(params *CommissionHostsParams, opts ...ClientOption) (*CommissionHostsOK, *CommissionHostsAccepted, error)

	DecommissionHosts(params *DecommissionHostsParams, opts ...ClientOption) (*DecommissionHostsOK, *DecommissionHostsAccepted, error)

	GetAssignableTagForHost(params *GetAssignableTagForHostParams, opts ...ClientOption) (*GetAssignableTagForHostOK, error)

	GetCriteria(params *GetCriteriaParams, opts ...ClientOption) (*GetCriteriaOK, error)

	GetCriterion(params *GetCriterionParams, opts ...ClientOption) (*GetCriterionOK, error)

	GetHost(params *GetHostParams, opts ...ClientOption) (*GetHostOK, error)

	GetHostCommissionValidationByID(params *GetHostCommissionValidationByIDParams, opts ...ClientOption) (*GetHostCommissionValidationByIDOK, error)

	GetHostQueryResponse1(params *GetHostQueryResponse1Params, opts ...ClientOption) (*GetHostQueryResponse1OK, error)

	GetHostTagManagerURL(params *GetHostTagManagerURLParams, opts ...ClientOption) (*GetHostTagManagerURLOK, error)

	GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)

	GetTagsAssignedToHost(params *GetTagsAssignedToHostParams, opts ...ClientOption) (*GetTagsAssignedToHostOK, error)

	GetTagsAssignedToHosts(params *GetTagsAssignedToHostsParams, opts ...ClientOption) (*GetTagsAssignedToHostsOK, error)

	PostQuery(params *PostQueryParams, opts ...ClientOption) (*PostQueryOK, error)

	RemoveTagsFromHost(params *RemoveTagsFromHostParams, opts ...ClientOption) (*RemoveTagsFromHostOK, error)

	ValidateHostCommissionSpec(params *ValidateHostCommissionSpecParams, opts ...ClientOption) (*ValidateHostCommissionSpecOK, *ValidateHostCommissionSpecAccepted, 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 hosts API client.

type CommissionHostsAccepted

type CommissionHostsAccepted struct {
	Payload *models.Task
}

CommissionHostsAccepted describes a response with status code 202, with default header values.

Accepted

func NewCommissionHostsAccepted

func NewCommissionHostsAccepted() *CommissionHostsAccepted

NewCommissionHostsAccepted creates a CommissionHostsAccepted with default headers values

func (*CommissionHostsAccepted) Code added in v0.3.0

func (o *CommissionHostsAccepted) Code() int

Code gets the status code for the commission hosts accepted response

func (*CommissionHostsAccepted) Error

func (o *CommissionHostsAccepted) Error() string

func (*CommissionHostsAccepted) GetPayload

func (o *CommissionHostsAccepted) GetPayload() *models.Task

func (*CommissionHostsAccepted) IsClientError

func (o *CommissionHostsAccepted) IsClientError() bool

IsClientError returns true when this commission hosts accepted response has a 4xx status code

func (*CommissionHostsAccepted) IsCode

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

IsCode returns true when this commission hosts accepted response a status code equal to that given

func (*CommissionHostsAccepted) IsRedirect

func (o *CommissionHostsAccepted) IsRedirect() bool

IsRedirect returns true when this commission hosts accepted response has a 3xx status code

func (*CommissionHostsAccepted) IsServerError

func (o *CommissionHostsAccepted) IsServerError() bool

IsServerError returns true when this commission hosts accepted response has a 5xx status code

func (*CommissionHostsAccepted) IsSuccess

func (o *CommissionHostsAccepted) IsSuccess() bool

IsSuccess returns true when this commission hosts accepted response has a 2xx status code

func (*CommissionHostsAccepted) String

func (o *CommissionHostsAccepted) String() string

type CommissionHostsBadRequest

type CommissionHostsBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewCommissionHostsBadRequest

func NewCommissionHostsBadRequest() *CommissionHostsBadRequest

NewCommissionHostsBadRequest creates a CommissionHostsBadRequest with default headers values

func (*CommissionHostsBadRequest) Code added in v0.3.0

func (o *CommissionHostsBadRequest) Code() int

Code gets the status code for the commission hosts bad request response

func (*CommissionHostsBadRequest) Error

func (o *CommissionHostsBadRequest) Error() string

func (*CommissionHostsBadRequest) GetPayload

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

func (*CommissionHostsBadRequest) IsClientError

func (o *CommissionHostsBadRequest) IsClientError() bool

IsClientError returns true when this commission hosts bad request response has a 4xx status code

func (*CommissionHostsBadRequest) IsCode

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

IsCode returns true when this commission hosts bad request response a status code equal to that given

func (*CommissionHostsBadRequest) IsRedirect

func (o *CommissionHostsBadRequest) IsRedirect() bool

IsRedirect returns true when this commission hosts bad request response has a 3xx status code

func (*CommissionHostsBadRequest) IsServerError

func (o *CommissionHostsBadRequest) IsServerError() bool

IsServerError returns true when this commission hosts bad request response has a 5xx status code

func (*CommissionHostsBadRequest) IsSuccess

func (o *CommissionHostsBadRequest) IsSuccess() bool

IsSuccess returns true when this commission hosts bad request response has a 2xx status code

func (*CommissionHostsBadRequest) String

func (o *CommissionHostsBadRequest) String() string

type CommissionHostsInternalServerError

type CommissionHostsInternalServerError struct {
	Payload *models.Error
}

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

Internal server error

func NewCommissionHostsInternalServerError

func NewCommissionHostsInternalServerError() *CommissionHostsInternalServerError

NewCommissionHostsInternalServerError creates a CommissionHostsInternalServerError with default headers values

func (*CommissionHostsInternalServerError) Code added in v0.3.0

Code gets the status code for the commission hosts internal server error response

func (*CommissionHostsInternalServerError) Error

func (*CommissionHostsInternalServerError) GetPayload

func (*CommissionHostsInternalServerError) IsClientError

func (o *CommissionHostsInternalServerError) IsClientError() bool

IsClientError returns true when this commission hosts internal server error response has a 4xx status code

func (*CommissionHostsInternalServerError) IsCode

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

func (*CommissionHostsInternalServerError) IsRedirect

func (o *CommissionHostsInternalServerError) IsRedirect() bool

IsRedirect returns true when this commission hosts internal server error response has a 3xx status code

func (*CommissionHostsInternalServerError) IsServerError

func (o *CommissionHostsInternalServerError) IsServerError() bool

IsServerError returns true when this commission hosts internal server error response has a 5xx status code

func (*CommissionHostsInternalServerError) IsSuccess

IsSuccess returns true when this commission hosts internal server error response has a 2xx status code

func (*CommissionHostsInternalServerError) String

type CommissionHostsOK

type CommissionHostsOK struct {
	Payload *models.Task
}

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

OK

func NewCommissionHostsOK

func NewCommissionHostsOK() *CommissionHostsOK

NewCommissionHostsOK creates a CommissionHostsOK with default headers values

func (*CommissionHostsOK) Code added in v0.3.0

func (o *CommissionHostsOK) Code() int

Code gets the status code for the commission hosts o k response

func (*CommissionHostsOK) Error

func (o *CommissionHostsOK) Error() string

func (*CommissionHostsOK) GetPayload

func (o *CommissionHostsOK) GetPayload() *models.Task

func (*CommissionHostsOK) IsClientError

func (o *CommissionHostsOK) IsClientError() bool

IsClientError returns true when this commission hosts o k response has a 4xx status code

func (*CommissionHostsOK) IsCode

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

IsCode returns true when this commission hosts o k response a status code equal to that given

func (*CommissionHostsOK) IsRedirect

func (o *CommissionHostsOK) IsRedirect() bool

IsRedirect returns true when this commission hosts o k response has a 3xx status code

func (*CommissionHostsOK) IsServerError

func (o *CommissionHostsOK) IsServerError() bool

IsServerError returns true when this commission hosts o k response has a 5xx status code

func (*CommissionHostsOK) IsSuccess

func (o *CommissionHostsOK) IsSuccess() bool

IsSuccess returns true when this commission hosts o k response has a 2xx status code

func (*CommissionHostsOK) String

func (o *CommissionHostsOK) String() string

type CommissionHostsParams

type CommissionHostsParams struct {

	/* HostCommissionSpecs.

	   hostCommissionSpecs
	*/
	HostCommissionSpecs []*models.HostCommissionSpec

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

CommissionHostsParams contains all the parameters to send to the API endpoint

for the commission hosts operation.

Typically these are written to a http.Request.

func NewCommissionHostsParams

func NewCommissionHostsParams() *CommissionHostsParams

NewCommissionHostsParams creates a new CommissionHostsParams 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 NewCommissionHostsParamsWithContext

func NewCommissionHostsParamsWithContext(ctx context.Context) *CommissionHostsParams

NewCommissionHostsParamsWithContext creates a new CommissionHostsParams object with the ability to set a context for a request.

func NewCommissionHostsParamsWithHTTPClient

func NewCommissionHostsParamsWithHTTPClient(client *http.Client) *CommissionHostsParams

NewCommissionHostsParamsWithHTTPClient creates a new CommissionHostsParams object with the ability to set a custom HTTPClient for a request.

func NewCommissionHostsParamsWithTimeout

func NewCommissionHostsParamsWithTimeout(timeout time.Duration) *CommissionHostsParams

NewCommissionHostsParamsWithTimeout creates a new CommissionHostsParams object with the ability to set a timeout on a request.

func (*CommissionHostsParams) SetContext

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

SetContext adds the context to the commission hosts params

func (*CommissionHostsParams) SetDefaults

func (o *CommissionHostsParams) SetDefaults()

SetDefaults hydrates default values in the commission hosts params (not the query body).

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

func (*CommissionHostsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the commission hosts params

func (*CommissionHostsParams) SetHostCommissionSpecs

func (o *CommissionHostsParams) SetHostCommissionSpecs(hostCommissionSpecs []*models.HostCommissionSpec)

SetHostCommissionSpecs adds the hostCommissionSpecs to the commission hosts params

func (*CommissionHostsParams) SetTimeout

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

SetTimeout adds the timeout to the commission hosts params

func (*CommissionHostsParams) WithContext

WithContext adds the context to the commission hosts params

func (*CommissionHostsParams) WithDefaults

func (o *CommissionHostsParams) WithDefaults() *CommissionHostsParams

WithDefaults hydrates default values in the commission hosts params (not the query body).

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

func (*CommissionHostsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the commission hosts params

func (*CommissionHostsParams) WithHostCommissionSpecs

func (o *CommissionHostsParams) WithHostCommissionSpecs(hostCommissionSpecs []*models.HostCommissionSpec) *CommissionHostsParams

WithHostCommissionSpecs adds the hostCommissionSpecs to the commission hosts params

func (*CommissionHostsParams) WithTimeout

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

WithTimeout adds the timeout to the commission hosts params

func (*CommissionHostsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CommissionHostsReader

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

CommissionHostsReader is a Reader for the CommissionHosts structure.

func (*CommissionHostsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DecommissionHostsAccepted

type DecommissionHostsAccepted struct {
	Payload *models.Task
}

DecommissionHostsAccepted describes a response with status code 202, with default header values.

Accepted

func NewDecommissionHostsAccepted

func NewDecommissionHostsAccepted() *DecommissionHostsAccepted

NewDecommissionHostsAccepted creates a DecommissionHostsAccepted with default headers values

func (*DecommissionHostsAccepted) Code added in v0.3.0

func (o *DecommissionHostsAccepted) Code() int

Code gets the status code for the decommission hosts accepted response

func (*DecommissionHostsAccepted) Error

func (o *DecommissionHostsAccepted) Error() string

func (*DecommissionHostsAccepted) GetPayload

func (o *DecommissionHostsAccepted) GetPayload() *models.Task

func (*DecommissionHostsAccepted) IsClientError

func (o *DecommissionHostsAccepted) IsClientError() bool

IsClientError returns true when this decommission hosts accepted response has a 4xx status code

func (*DecommissionHostsAccepted) IsCode

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

IsCode returns true when this decommission hosts accepted response a status code equal to that given

func (*DecommissionHostsAccepted) IsRedirect

func (o *DecommissionHostsAccepted) IsRedirect() bool

IsRedirect returns true when this decommission hosts accepted response has a 3xx status code

func (*DecommissionHostsAccepted) IsServerError

func (o *DecommissionHostsAccepted) IsServerError() bool

IsServerError returns true when this decommission hosts accepted response has a 5xx status code

func (*DecommissionHostsAccepted) IsSuccess

func (o *DecommissionHostsAccepted) IsSuccess() bool

IsSuccess returns true when this decommission hosts accepted response has a 2xx status code

func (*DecommissionHostsAccepted) String

func (o *DecommissionHostsAccepted) String() string

type DecommissionHostsBadRequest

type DecommissionHostsBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewDecommissionHostsBadRequest

func NewDecommissionHostsBadRequest() *DecommissionHostsBadRequest

NewDecommissionHostsBadRequest creates a DecommissionHostsBadRequest with default headers values

func (*DecommissionHostsBadRequest) Code added in v0.3.0

func (o *DecommissionHostsBadRequest) Code() int

Code gets the status code for the decommission hosts bad request response

func (*DecommissionHostsBadRequest) Error

func (*DecommissionHostsBadRequest) GetPayload

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

func (*DecommissionHostsBadRequest) IsClientError

func (o *DecommissionHostsBadRequest) IsClientError() bool

IsClientError returns true when this decommission hosts bad request response has a 4xx status code

func (*DecommissionHostsBadRequest) IsCode

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

IsCode returns true when this decommission hosts bad request response a status code equal to that given

func (*DecommissionHostsBadRequest) IsRedirect

func (o *DecommissionHostsBadRequest) IsRedirect() bool

IsRedirect returns true when this decommission hosts bad request response has a 3xx status code

func (*DecommissionHostsBadRequest) IsServerError

func (o *DecommissionHostsBadRequest) IsServerError() bool

IsServerError returns true when this decommission hosts bad request response has a 5xx status code

func (*DecommissionHostsBadRequest) IsSuccess

func (o *DecommissionHostsBadRequest) IsSuccess() bool

IsSuccess returns true when this decommission hosts bad request response has a 2xx status code

func (*DecommissionHostsBadRequest) String

func (o *DecommissionHostsBadRequest) String() string

type DecommissionHostsInternalServerError

type DecommissionHostsInternalServerError struct {
}

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

Internal server error

func NewDecommissionHostsInternalServerError

func NewDecommissionHostsInternalServerError() *DecommissionHostsInternalServerError

NewDecommissionHostsInternalServerError creates a DecommissionHostsInternalServerError with default headers values

func (*DecommissionHostsInternalServerError) Code added in v0.3.0

Code gets the status code for the decommission hosts internal server error response

func (*DecommissionHostsInternalServerError) Error

func (*DecommissionHostsInternalServerError) IsClientError

func (o *DecommissionHostsInternalServerError) IsClientError() bool

IsClientError returns true when this decommission hosts internal server error response has a 4xx status code

func (*DecommissionHostsInternalServerError) IsCode

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

func (*DecommissionHostsInternalServerError) IsRedirect

IsRedirect returns true when this decommission hosts internal server error response has a 3xx status code

func (*DecommissionHostsInternalServerError) IsServerError

func (o *DecommissionHostsInternalServerError) IsServerError() bool

IsServerError returns true when this decommission hosts internal server error response has a 5xx status code

func (*DecommissionHostsInternalServerError) IsSuccess

IsSuccess returns true when this decommission hosts internal server error response has a 2xx status code

func (*DecommissionHostsInternalServerError) String

type DecommissionHostsOK

type DecommissionHostsOK struct {
	Payload *models.Task
}

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

OK

func NewDecommissionHostsOK

func NewDecommissionHostsOK() *DecommissionHostsOK

NewDecommissionHostsOK creates a DecommissionHostsOK with default headers values

func (*DecommissionHostsOK) Code added in v0.3.0

func (o *DecommissionHostsOK) Code() int

Code gets the status code for the decommission hosts o k response

func (*DecommissionHostsOK) Error

func (o *DecommissionHostsOK) Error() string

func (*DecommissionHostsOK) GetPayload

func (o *DecommissionHostsOK) GetPayload() *models.Task

func (*DecommissionHostsOK) IsClientError

func (o *DecommissionHostsOK) IsClientError() bool

IsClientError returns true when this decommission hosts o k response has a 4xx status code

func (*DecommissionHostsOK) IsCode

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

IsCode returns true when this decommission hosts o k response a status code equal to that given

func (*DecommissionHostsOK) IsRedirect

func (o *DecommissionHostsOK) IsRedirect() bool

IsRedirect returns true when this decommission hosts o k response has a 3xx status code

func (*DecommissionHostsOK) IsServerError

func (o *DecommissionHostsOK) IsServerError() bool

IsServerError returns true when this decommission hosts o k response has a 5xx status code

func (*DecommissionHostsOK) IsSuccess

func (o *DecommissionHostsOK) IsSuccess() bool

IsSuccess returns true when this decommission hosts o k response has a 2xx status code

func (*DecommissionHostsOK) String

func (o *DecommissionHostsOK) String() string

type DecommissionHostsParams

type DecommissionHostsParams struct {

	/* HostDecommissionSpecs.

	   hostDecommissionSpecs
	*/
	HostDecommissionSpecs []*models.HostDecommissionSpec

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

DecommissionHostsParams contains all the parameters to send to the API endpoint

for the decommission hosts operation.

Typically these are written to a http.Request.

func NewDecommissionHostsParams

func NewDecommissionHostsParams() *DecommissionHostsParams

NewDecommissionHostsParams creates a new DecommissionHostsParams 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 NewDecommissionHostsParamsWithContext

func NewDecommissionHostsParamsWithContext(ctx context.Context) *DecommissionHostsParams

NewDecommissionHostsParamsWithContext creates a new DecommissionHostsParams object with the ability to set a context for a request.

func NewDecommissionHostsParamsWithHTTPClient

func NewDecommissionHostsParamsWithHTTPClient(client *http.Client) *DecommissionHostsParams

NewDecommissionHostsParamsWithHTTPClient creates a new DecommissionHostsParams object with the ability to set a custom HTTPClient for a request.

func NewDecommissionHostsParamsWithTimeout

func NewDecommissionHostsParamsWithTimeout(timeout time.Duration) *DecommissionHostsParams

NewDecommissionHostsParamsWithTimeout creates a new DecommissionHostsParams object with the ability to set a timeout on a request.

func (*DecommissionHostsParams) SetContext

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

SetContext adds the context to the decommission hosts params

func (*DecommissionHostsParams) SetDefaults

func (o *DecommissionHostsParams) SetDefaults()

SetDefaults hydrates default values in the decommission hosts params (not the query body).

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

func (*DecommissionHostsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the decommission hosts params

func (*DecommissionHostsParams) SetHostDecommissionSpecs

func (o *DecommissionHostsParams) SetHostDecommissionSpecs(hostDecommissionSpecs []*models.HostDecommissionSpec)

SetHostDecommissionSpecs adds the hostDecommissionSpecs to the decommission hosts params

func (*DecommissionHostsParams) SetTimeout

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

SetTimeout adds the timeout to the decommission hosts params

func (*DecommissionHostsParams) WithContext

WithContext adds the context to the decommission hosts params

func (*DecommissionHostsParams) WithDefaults

WithDefaults hydrates default values in the decommission hosts params (not the query body).

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

func (*DecommissionHostsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the decommission hosts params

func (*DecommissionHostsParams) WithHostDecommissionSpecs

func (o *DecommissionHostsParams) WithHostDecommissionSpecs(hostDecommissionSpecs []*models.HostDecommissionSpec) *DecommissionHostsParams

WithHostDecommissionSpecs adds the hostDecommissionSpecs to the decommission hosts params

func (*DecommissionHostsParams) WithTimeout

WithTimeout adds the timeout to the decommission hosts params

func (*DecommissionHostsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DecommissionHostsReader

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

DecommissionHostsReader is a Reader for the DecommissionHosts structure.

func (*DecommissionHostsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAssignableTagForHostBadRequest added in v0.3.0

type GetAssignableTagForHostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetAssignableTagForHostBadRequest added in v0.3.0

func NewGetAssignableTagForHostBadRequest() *GetAssignableTagForHostBadRequest

NewGetAssignableTagForHostBadRequest creates a GetAssignableTagForHostBadRequest with default headers values

func (*GetAssignableTagForHostBadRequest) Code added in v0.3.0

Code gets the status code for the get assignable tag for host bad request response

func (*GetAssignableTagForHostBadRequest) Error added in v0.3.0

func (*GetAssignableTagForHostBadRequest) GetPayload added in v0.3.0

func (*GetAssignableTagForHostBadRequest) IsClientError added in v0.3.0

func (o *GetAssignableTagForHostBadRequest) IsClientError() bool

IsClientError returns true when this get assignable tag for host bad request response has a 4xx status code

func (*GetAssignableTagForHostBadRequest) IsCode added in v0.3.0

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

IsCode returns true when this get assignable tag for host bad request response a status code equal to that given

func (*GetAssignableTagForHostBadRequest) IsRedirect added in v0.3.0

func (o *GetAssignableTagForHostBadRequest) IsRedirect() bool

IsRedirect returns true when this get assignable tag for host bad request response has a 3xx status code

func (*GetAssignableTagForHostBadRequest) IsServerError added in v0.3.0

func (o *GetAssignableTagForHostBadRequest) IsServerError() bool

IsServerError returns true when this get assignable tag for host bad request response has a 5xx status code

func (*GetAssignableTagForHostBadRequest) IsSuccess added in v0.3.0

func (o *GetAssignableTagForHostBadRequest) IsSuccess() bool

IsSuccess returns true when this get assignable tag for host bad request response has a 2xx status code

func (*GetAssignableTagForHostBadRequest) String added in v0.3.0

type GetAssignableTagForHostInternalServerError added in v0.3.0

type GetAssignableTagForHostInternalServerError struct {
	Payload *models.Error
}

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

InternalServerError

func NewGetAssignableTagForHostInternalServerError added in v0.3.0

func NewGetAssignableTagForHostInternalServerError() *GetAssignableTagForHostInternalServerError

NewGetAssignableTagForHostInternalServerError creates a GetAssignableTagForHostInternalServerError with default headers values

func (*GetAssignableTagForHostInternalServerError) Code added in v0.3.0

Code gets the status code for the get assignable tag for host internal server error response

func (*GetAssignableTagForHostInternalServerError) Error added in v0.3.0

func (*GetAssignableTagForHostInternalServerError) GetPayload added in v0.3.0

func (*GetAssignableTagForHostInternalServerError) IsClientError added in v0.3.0

IsClientError returns true when this get assignable tag for host internal server error response has a 4xx status code

func (*GetAssignableTagForHostInternalServerError) IsCode added in v0.3.0

IsCode returns true when this get assignable tag for host internal server error response a status code equal to that given

func (*GetAssignableTagForHostInternalServerError) IsRedirect added in v0.3.0

IsRedirect returns true when this get assignable tag for host internal server error response has a 3xx status code

func (*GetAssignableTagForHostInternalServerError) IsServerError added in v0.3.0

IsServerError returns true when this get assignable tag for host internal server error response has a 5xx status code

func (*GetAssignableTagForHostInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this get assignable tag for host internal server error response has a 2xx status code

func (*GetAssignableTagForHostInternalServerError) String added in v0.3.0

type GetAssignableTagForHostOK added in v0.3.0

type GetAssignableTagForHostOK struct {
	Payload *models.PageOfTag
}

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

Ok

func NewGetAssignableTagForHostOK added in v0.3.0

func NewGetAssignableTagForHostOK() *GetAssignableTagForHostOK

NewGetAssignableTagForHostOK creates a GetAssignableTagForHostOK with default headers values

func (*GetAssignableTagForHostOK) Code added in v0.3.0

func (o *GetAssignableTagForHostOK) Code() int

Code gets the status code for the get assignable tag for host o k response

func (*GetAssignableTagForHostOK) Error added in v0.3.0

func (o *GetAssignableTagForHostOK) Error() string

func (*GetAssignableTagForHostOK) GetPayload added in v0.3.0

func (o *GetAssignableTagForHostOK) GetPayload() *models.PageOfTag

func (*GetAssignableTagForHostOK) IsClientError added in v0.3.0

func (o *GetAssignableTagForHostOK) IsClientError() bool

IsClientError returns true when this get assignable tag for host o k response has a 4xx status code

func (*GetAssignableTagForHostOK) IsCode added in v0.3.0

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

IsCode returns true when this get assignable tag for host o k response a status code equal to that given

func (*GetAssignableTagForHostOK) IsRedirect added in v0.3.0

func (o *GetAssignableTagForHostOK) IsRedirect() bool

IsRedirect returns true when this get assignable tag for host o k response has a 3xx status code

func (*GetAssignableTagForHostOK) IsServerError added in v0.3.0

func (o *GetAssignableTagForHostOK) IsServerError() bool

IsServerError returns true when this get assignable tag for host o k response has a 5xx status code

func (*GetAssignableTagForHostOK) IsSuccess added in v0.3.0

func (o *GetAssignableTagForHostOK) IsSuccess() bool

IsSuccess returns true when this get assignable tag for host o k response has a 2xx status code

func (*GetAssignableTagForHostOK) String added in v0.3.0

func (o *GetAssignableTagForHostOK) String() string

type GetAssignableTagForHostParams added in v0.3.0

type GetAssignableTagForHostParams struct {

	/* ID.

	   Host ID
	*/
	ID string

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

GetAssignableTagForHostParams contains all the parameters to send to the API endpoint

for the get assignable tag for host operation.

Typically these are written to a http.Request.

func NewGetAssignableTagForHostParams added in v0.3.0

func NewGetAssignableTagForHostParams() *GetAssignableTagForHostParams

NewGetAssignableTagForHostParams creates a new GetAssignableTagForHostParams 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 NewGetAssignableTagForHostParamsWithContext added in v0.3.0

func NewGetAssignableTagForHostParamsWithContext(ctx context.Context) *GetAssignableTagForHostParams

NewGetAssignableTagForHostParamsWithContext creates a new GetAssignableTagForHostParams object with the ability to set a context for a request.

func NewGetAssignableTagForHostParamsWithHTTPClient added in v0.3.0

func NewGetAssignableTagForHostParamsWithHTTPClient(client *http.Client) *GetAssignableTagForHostParams

NewGetAssignableTagForHostParamsWithHTTPClient creates a new GetAssignableTagForHostParams object with the ability to set a custom HTTPClient for a request.

func NewGetAssignableTagForHostParamsWithTimeout added in v0.3.0

func NewGetAssignableTagForHostParamsWithTimeout(timeout time.Duration) *GetAssignableTagForHostParams

NewGetAssignableTagForHostParamsWithTimeout creates a new GetAssignableTagForHostParams object with the ability to set a timeout on a request.

func (*GetAssignableTagForHostParams) SetContext added in v0.3.0

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

SetContext adds the context to the get assignable tag for host params

func (*GetAssignableTagForHostParams) SetDefaults added in v0.3.0

func (o *GetAssignableTagForHostParams) SetDefaults()

SetDefaults hydrates default values in the get assignable tag for host params (not the query body).

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

func (*GetAssignableTagForHostParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the get assignable tag for host params

func (*GetAssignableTagForHostParams) SetID added in v0.3.0

SetID adds the id to the get assignable tag for host params

func (*GetAssignableTagForHostParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the get assignable tag for host params

func (*GetAssignableTagForHostParams) WithContext added in v0.3.0

WithContext adds the context to the get assignable tag for host params

func (*GetAssignableTagForHostParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get assignable tag for host params (not the query body).

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

func (*GetAssignableTagForHostParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the get assignable tag for host params

func (*GetAssignableTagForHostParams) WithID added in v0.3.0

WithID adds the id to the get assignable tag for host params

func (*GetAssignableTagForHostParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the get assignable tag for host params

func (*GetAssignableTagForHostParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type GetAssignableTagForHostReader added in v0.3.0

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

GetAssignableTagForHostReader is a Reader for the GetAssignableTagForHost structure.

func (*GetAssignableTagForHostReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type GetCriteriaOK added in v0.1.1

type GetCriteriaOK struct {
	Payload *models.PageOfHostCriterion
}

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

Ok

func NewGetCriteriaOK added in v0.1.1

func NewGetCriteriaOK() *GetCriteriaOK

NewGetCriteriaOK creates a GetCriteriaOK with default headers values

func (*GetCriteriaOK) Code added in v0.3.0

func (o *GetCriteriaOK) Code() int

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

func (*GetCriteriaOK) Error added in v0.1.1

func (o *GetCriteriaOK) Error() string

func (*GetCriteriaOK) GetPayload added in v0.1.1

func (o *GetCriteriaOK) GetPayload() *models.PageOfHostCriterion

func (*GetCriteriaOK) IsClientError added in v0.1.1

func (o *GetCriteriaOK) IsClientError() bool

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

func (*GetCriteriaOK) IsCode added in v0.1.1

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

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

func (*GetCriteriaOK) IsRedirect added in v0.1.1

func (o *GetCriteriaOK) IsRedirect() bool

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

func (*GetCriteriaOK) IsServerError added in v0.1.1

func (o *GetCriteriaOK) IsServerError() bool

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

func (*GetCriteriaOK) IsSuccess added in v0.1.1

func (o *GetCriteriaOK) IsSuccess() bool

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

func (*GetCriteriaOK) String added in v0.1.1

func (o *GetCriteriaOK) String() string

type GetCriteriaParams added in v0.1.1

type GetCriteriaParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCriteriaParams contains all the parameters to send to the API endpoint

for the get criteria operation.

Typically these are written to a http.Request.

func NewGetCriteriaParams added in v0.1.1

func NewGetCriteriaParams() *GetCriteriaParams

NewGetCriteriaParams creates a new GetCriteriaParams 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 NewGetCriteriaParamsWithContext added in v0.1.1

func NewGetCriteriaParamsWithContext(ctx context.Context) *GetCriteriaParams

NewGetCriteriaParamsWithContext creates a new GetCriteriaParams object with the ability to set a context for a request.

func NewGetCriteriaParamsWithHTTPClient added in v0.1.1

func NewGetCriteriaParamsWithHTTPClient(client *http.Client) *GetCriteriaParams

NewGetCriteriaParamsWithHTTPClient creates a new GetCriteriaParams object with the ability to set a custom HTTPClient for a request.

func NewGetCriteriaParamsWithTimeout added in v0.1.1

func NewGetCriteriaParamsWithTimeout(timeout time.Duration) *GetCriteriaParams

NewGetCriteriaParamsWithTimeout creates a new GetCriteriaParams object with the ability to set a timeout on a request.

func (*GetCriteriaParams) SetContext added in v0.1.1

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

SetContext adds the context to the get criteria params

func (*GetCriteriaParams) SetDefaults added in v0.1.1

func (o *GetCriteriaParams) SetDefaults()

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

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

func (*GetCriteriaParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get criteria params

func (*GetCriteriaParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get criteria params

func (*GetCriteriaParams) WithContext added in v0.1.1

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

WithContext adds the context to the get criteria params

func (*GetCriteriaParams) WithDefaults added in v0.1.1

func (o *GetCriteriaParams) WithDefaults() *GetCriteriaParams

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

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

func (*GetCriteriaParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get criteria params

func (*GetCriteriaParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get criteria params

func (*GetCriteriaParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetCriteriaReader added in v0.1.1

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

GetCriteriaReader is a Reader for the GetCriteria structure.

func (*GetCriteriaReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetCriterionNotFound added in v0.1.1

type GetCriterionNotFound struct {
	Payload *models.Error
}

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

Criterion Not Found

func NewGetCriterionNotFound added in v0.1.1

func NewGetCriterionNotFound() *GetCriterionNotFound

NewGetCriterionNotFound creates a GetCriterionNotFound with default headers values

func (*GetCriterionNotFound) Code added in v0.3.0

func (o *GetCriterionNotFound) Code() int

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

func (*GetCriterionNotFound) Error added in v0.1.1

func (o *GetCriterionNotFound) Error() string

func (*GetCriterionNotFound) GetPayload added in v0.1.1

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

func (*GetCriterionNotFound) IsClientError added in v0.1.1

func (o *GetCriterionNotFound) IsClientError() bool

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

func (*GetCriterionNotFound) IsCode added in v0.1.1

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

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

func (*GetCriterionNotFound) IsRedirect added in v0.1.1

func (o *GetCriterionNotFound) IsRedirect() bool

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

func (*GetCriterionNotFound) IsServerError added in v0.1.1

func (o *GetCriterionNotFound) IsServerError() bool

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

func (*GetCriterionNotFound) IsSuccess added in v0.1.1

func (o *GetCriterionNotFound) IsSuccess() bool

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

func (*GetCriterionNotFound) String added in v0.1.1

func (o *GetCriterionNotFound) String() string

type GetCriterionOK added in v0.1.1

type GetCriterionOK struct {
	Payload *models.HostCriterion
}

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

Ok

func NewGetCriterionOK added in v0.1.1

func NewGetCriterionOK() *GetCriterionOK

NewGetCriterionOK creates a GetCriterionOK with default headers values

func (*GetCriterionOK) Code added in v0.3.0

func (o *GetCriterionOK) Code() int

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

func (*GetCriterionOK) Error added in v0.1.1

func (o *GetCriterionOK) Error() string

func (*GetCriterionOK) GetPayload added in v0.1.1

func (o *GetCriterionOK) GetPayload() *models.HostCriterion

func (*GetCriterionOK) IsClientError added in v0.1.1

func (o *GetCriterionOK) IsClientError() bool

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

func (*GetCriterionOK) IsCode added in v0.1.1

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

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

func (*GetCriterionOK) IsRedirect added in v0.1.1

func (o *GetCriterionOK) IsRedirect() bool

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

func (*GetCriterionOK) IsServerError added in v0.1.1

func (o *GetCriterionOK) IsServerError() bool

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

func (*GetCriterionOK) IsSuccess added in v0.1.1

func (o *GetCriterionOK) IsSuccess() bool

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

func (*GetCriterionOK) String added in v0.1.1

func (o *GetCriterionOK) String() string

type GetCriterionParams added in v0.1.1

type GetCriterionParams struct {

	/* Name.

	   name
	*/
	Name string

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

GetCriterionParams contains all the parameters to send to the API endpoint

for the get criterion operation.

Typically these are written to a http.Request.

func NewGetCriterionParams added in v0.1.1

func NewGetCriterionParams() *GetCriterionParams

NewGetCriterionParams creates a new GetCriterionParams 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 NewGetCriterionParamsWithContext added in v0.1.1

func NewGetCriterionParamsWithContext(ctx context.Context) *GetCriterionParams

NewGetCriterionParamsWithContext creates a new GetCriterionParams object with the ability to set a context for a request.

func NewGetCriterionParamsWithHTTPClient added in v0.1.1

func NewGetCriterionParamsWithHTTPClient(client *http.Client) *GetCriterionParams

NewGetCriterionParamsWithHTTPClient creates a new GetCriterionParams object with the ability to set a custom HTTPClient for a request.

func NewGetCriterionParamsWithTimeout added in v0.1.1

func NewGetCriterionParamsWithTimeout(timeout time.Duration) *GetCriterionParams

NewGetCriterionParamsWithTimeout creates a new GetCriterionParams object with the ability to set a timeout on a request.

func (*GetCriterionParams) SetContext added in v0.1.1

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

SetContext adds the context to the get criterion params

func (*GetCriterionParams) SetDefaults added in v0.1.1

func (o *GetCriterionParams) SetDefaults()

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

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

func (*GetCriterionParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get criterion params

func (*GetCriterionParams) SetName added in v0.1.1

func (o *GetCriterionParams) SetName(name string)

SetName adds the name to the get criterion params

func (*GetCriterionParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get criterion params

func (*GetCriterionParams) WithContext added in v0.1.1

WithContext adds the context to the get criterion params

func (*GetCriterionParams) WithDefaults added in v0.1.1

func (o *GetCriterionParams) WithDefaults() *GetCriterionParams

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

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

func (*GetCriterionParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get criterion params

func (*GetCriterionParams) WithName added in v0.1.1

func (o *GetCriterionParams) WithName(name string) *GetCriterionParams

WithName adds the name to the get criterion params

func (*GetCriterionParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get criterion params

func (*GetCriterionParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetCriterionReader added in v0.1.1

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

GetCriterionReader is a Reader for the GetCriterion structure.

func (*GetCriterionReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetHostBadRequest added in v0.1.1

type GetHostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetHostBadRequest added in v0.1.1

func NewGetHostBadRequest() *GetHostBadRequest

NewGetHostBadRequest creates a GetHostBadRequest with default headers values

func (*GetHostBadRequest) Code added in v0.3.0

func (o *GetHostBadRequest) Code() int

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

func (*GetHostBadRequest) Error added in v0.1.1

func (o *GetHostBadRequest) Error() string

func (*GetHostBadRequest) GetPayload added in v0.1.1

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

func (*GetHostBadRequest) IsClientError added in v0.1.1

func (o *GetHostBadRequest) IsClientError() bool

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

func (*GetHostBadRequest) IsCode added in v0.1.1

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

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

func (*GetHostBadRequest) IsRedirect added in v0.1.1

func (o *GetHostBadRequest) IsRedirect() bool

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

func (*GetHostBadRequest) IsServerError added in v0.1.1

func (o *GetHostBadRequest) IsServerError() bool

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

func (*GetHostBadRequest) IsSuccess added in v0.1.1

func (o *GetHostBadRequest) IsSuccess() bool

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

func (*GetHostBadRequest) String added in v0.1.1

func (o *GetHostBadRequest) String() string

type GetHostCommissionValidationByIDBadRequest added in v0.3.0

type GetHostCommissionValidationByIDBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetHostCommissionValidationByIDBadRequest added in v0.3.0

func NewGetHostCommissionValidationByIDBadRequest() *GetHostCommissionValidationByIDBadRequest

NewGetHostCommissionValidationByIDBadRequest creates a GetHostCommissionValidationByIDBadRequest with default headers values

func (*GetHostCommissionValidationByIDBadRequest) Code added in v0.3.0

Code gets the status code for the get host commission validation by Id bad request response

func (*GetHostCommissionValidationByIDBadRequest) Error added in v0.3.0

func (*GetHostCommissionValidationByIDBadRequest) GetPayload added in v0.3.0

func (*GetHostCommissionValidationByIDBadRequest) IsClientError added in v0.3.0

IsClientError returns true when this get host commission validation by Id bad request response has a 4xx status code

func (*GetHostCommissionValidationByIDBadRequest) IsCode added in v0.3.0

IsCode returns true when this get host commission validation by Id bad request response a status code equal to that given

func (*GetHostCommissionValidationByIDBadRequest) IsRedirect added in v0.3.0

IsRedirect returns true when this get host commission validation by Id bad request response has a 3xx status code

func (*GetHostCommissionValidationByIDBadRequest) IsServerError added in v0.3.0

IsServerError returns true when this get host commission validation by Id bad request response has a 5xx status code

func (*GetHostCommissionValidationByIDBadRequest) IsSuccess added in v0.3.0

IsSuccess returns true when this get host commission validation by Id bad request response has a 2xx status code

func (*GetHostCommissionValidationByIDBadRequest) String added in v0.3.0

type GetHostCommissionValidationByIDInternalServerError added in v0.3.0

type GetHostCommissionValidationByIDInternalServerError struct {
}

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

Internal server error

func NewGetHostCommissionValidationByIDInternalServerError added in v0.3.0

func NewGetHostCommissionValidationByIDInternalServerError() *GetHostCommissionValidationByIDInternalServerError

NewGetHostCommissionValidationByIDInternalServerError creates a GetHostCommissionValidationByIDInternalServerError with default headers values

func (*GetHostCommissionValidationByIDInternalServerError) Code added in v0.3.0

Code gets the status code for the get host commission validation by Id internal server error response

func (*GetHostCommissionValidationByIDInternalServerError) Error added in v0.3.0

func (*GetHostCommissionValidationByIDInternalServerError) IsClientError added in v0.3.0

IsClientError returns true when this get host commission validation by Id internal server error response has a 4xx status code

func (*GetHostCommissionValidationByIDInternalServerError) IsCode added in v0.3.0

IsCode returns true when this get host commission validation by Id internal server error response a status code equal to that given

func (*GetHostCommissionValidationByIDInternalServerError) IsRedirect added in v0.3.0

IsRedirect returns true when this get host commission validation by Id internal server error response has a 3xx status code

func (*GetHostCommissionValidationByIDInternalServerError) IsServerError added in v0.3.0

IsServerError returns true when this get host commission validation by Id internal server error response has a 5xx status code

func (*GetHostCommissionValidationByIDInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this get host commission validation by Id internal server error response has a 2xx status code

func (*GetHostCommissionValidationByIDInternalServerError) String added in v0.3.0

type GetHostCommissionValidationByIDOK added in v0.3.0

type GetHostCommissionValidationByIDOK struct {
	Payload *models.Validation
}

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

OK

func NewGetHostCommissionValidationByIDOK added in v0.3.0

func NewGetHostCommissionValidationByIDOK() *GetHostCommissionValidationByIDOK

NewGetHostCommissionValidationByIDOK creates a GetHostCommissionValidationByIDOK with default headers values

func (*GetHostCommissionValidationByIDOK) Code added in v0.3.0

Code gets the status code for the get host commission validation by Id o k response

func (*GetHostCommissionValidationByIDOK) Error added in v0.3.0

func (*GetHostCommissionValidationByIDOK) GetPayload added in v0.3.0

func (*GetHostCommissionValidationByIDOK) IsClientError added in v0.3.0

func (o *GetHostCommissionValidationByIDOK) IsClientError() bool

IsClientError returns true when this get host commission validation by Id o k response has a 4xx status code

func (*GetHostCommissionValidationByIDOK) IsCode added in v0.3.0

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

IsCode returns true when this get host commission validation by Id o k response a status code equal to that given

func (*GetHostCommissionValidationByIDOK) IsRedirect added in v0.3.0

func (o *GetHostCommissionValidationByIDOK) IsRedirect() bool

IsRedirect returns true when this get host commission validation by Id o k response has a 3xx status code

func (*GetHostCommissionValidationByIDOK) IsServerError added in v0.3.0

func (o *GetHostCommissionValidationByIDOK) IsServerError() bool

IsServerError returns true when this get host commission validation by Id o k response has a 5xx status code

func (*GetHostCommissionValidationByIDOK) IsSuccess added in v0.3.0

func (o *GetHostCommissionValidationByIDOK) IsSuccess() bool

IsSuccess returns true when this get host commission validation by Id o k response has a 2xx status code

func (*GetHostCommissionValidationByIDOK) String added in v0.3.0

type GetHostCommissionValidationByIDParams added in v0.3.0

type GetHostCommissionValidationByIDParams struct {

	/* ID.

	   The validation ID
	*/
	ID string

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

GetHostCommissionValidationByIDParams contains all the parameters to send to the API endpoint

for the get host commission validation by ID operation.

Typically these are written to a http.Request.

func NewGetHostCommissionValidationByIDParams added in v0.3.0

func NewGetHostCommissionValidationByIDParams() *GetHostCommissionValidationByIDParams

NewGetHostCommissionValidationByIDParams creates a new GetHostCommissionValidationByIDParams 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 NewGetHostCommissionValidationByIDParamsWithContext added in v0.3.0

func NewGetHostCommissionValidationByIDParamsWithContext(ctx context.Context) *GetHostCommissionValidationByIDParams

NewGetHostCommissionValidationByIDParamsWithContext creates a new GetHostCommissionValidationByIDParams object with the ability to set a context for a request.

func NewGetHostCommissionValidationByIDParamsWithHTTPClient added in v0.3.0

func NewGetHostCommissionValidationByIDParamsWithHTTPClient(client *http.Client) *GetHostCommissionValidationByIDParams

NewGetHostCommissionValidationByIDParamsWithHTTPClient creates a new GetHostCommissionValidationByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostCommissionValidationByIDParamsWithTimeout added in v0.3.0

func NewGetHostCommissionValidationByIDParamsWithTimeout(timeout time.Duration) *GetHostCommissionValidationByIDParams

NewGetHostCommissionValidationByIDParamsWithTimeout creates a new GetHostCommissionValidationByIDParams object with the ability to set a timeout on a request.

func (*GetHostCommissionValidationByIDParams) SetContext added in v0.3.0

SetContext adds the context to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) SetDefaults added in v0.3.0

func (o *GetHostCommissionValidationByIDParams) SetDefaults()

SetDefaults hydrates default values in the get host commission validation by ID params (not the query body).

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

func (*GetHostCommissionValidationByIDParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) SetID added in v0.3.0

SetID adds the id to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) WithContext added in v0.3.0

WithContext adds the context to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get host commission validation by ID params (not the query body).

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

func (*GetHostCommissionValidationByIDParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) WithID added in v0.3.0

WithID adds the id to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the get host commission validation by ID params

func (*GetHostCommissionValidationByIDParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type GetHostCommissionValidationByIDReader added in v0.3.0

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

GetHostCommissionValidationByIDReader is a Reader for the GetHostCommissionValidationByID structure.

func (*GetHostCommissionValidationByIDReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type GetHostInternalServerError added in v0.1.1

type GetHostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetHostInternalServerError added in v0.1.1

func NewGetHostInternalServerError() *GetHostInternalServerError

NewGetHostInternalServerError creates a GetHostInternalServerError with default headers values

func (*GetHostInternalServerError) Code added in v0.3.0

func (o *GetHostInternalServerError) Code() int

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

func (*GetHostInternalServerError) Error added in v0.1.1

func (*GetHostInternalServerError) GetPayload added in v0.1.1

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

func (*GetHostInternalServerError) IsClientError added in v0.1.1

func (o *GetHostInternalServerError) IsClientError() bool

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

func (*GetHostInternalServerError) IsCode added in v0.1.1

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

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

func (*GetHostInternalServerError) IsRedirect added in v0.1.1

func (o *GetHostInternalServerError) IsRedirect() bool

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

func (*GetHostInternalServerError) IsServerError added in v0.1.1

func (o *GetHostInternalServerError) IsServerError() bool

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

func (*GetHostInternalServerError) IsSuccess added in v0.1.1

func (o *GetHostInternalServerError) IsSuccess() bool

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

func (*GetHostInternalServerError) String added in v0.1.1

func (o *GetHostInternalServerError) String() string

type GetHostNotFound added in v0.1.1

type GetHostNotFound struct {
	Payload *models.Error
}

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

Host Not Found

func NewGetHostNotFound added in v0.1.1

func NewGetHostNotFound() *GetHostNotFound

NewGetHostNotFound creates a GetHostNotFound with default headers values

func (*GetHostNotFound) Code added in v0.3.0

func (o *GetHostNotFound) Code() int

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

func (*GetHostNotFound) Error added in v0.1.1

func (o *GetHostNotFound) Error() string

func (*GetHostNotFound) GetPayload added in v0.1.1

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

func (*GetHostNotFound) IsClientError added in v0.1.1

func (o *GetHostNotFound) IsClientError() bool

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

func (*GetHostNotFound) IsCode added in v0.1.1

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

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

func (*GetHostNotFound) IsRedirect added in v0.1.1

func (o *GetHostNotFound) IsRedirect() bool

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

func (*GetHostNotFound) IsServerError added in v0.1.1

func (o *GetHostNotFound) IsServerError() bool

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

func (*GetHostNotFound) IsSuccess added in v0.1.1

func (o *GetHostNotFound) IsSuccess() bool

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

func (*GetHostNotFound) String added in v0.1.1

func (o *GetHostNotFound) String() string

type GetHostOK added in v0.1.1

type GetHostOK struct {
	Payload *models.Host
}

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

Ok

func NewGetHostOK added in v0.1.1

func NewGetHostOK() *GetHostOK

NewGetHostOK creates a GetHostOK with default headers values

func (*GetHostOK) Code added in v0.3.0

func (o *GetHostOK) Code() int

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

func (*GetHostOK) Error added in v0.1.1

func (o *GetHostOK) Error() string

func (*GetHostOK) GetPayload added in v0.1.1

func (o *GetHostOK) GetPayload() *models.Host

func (*GetHostOK) IsClientError added in v0.1.1

func (o *GetHostOK) IsClientError() bool

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

func (*GetHostOK) IsCode added in v0.1.1

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

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

func (*GetHostOK) IsRedirect added in v0.1.1

func (o *GetHostOK) IsRedirect() bool

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

func (*GetHostOK) IsServerError added in v0.1.1

func (o *GetHostOK) IsServerError() bool

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

func (*GetHostOK) IsSuccess added in v0.1.1

func (o *GetHostOK) IsSuccess() bool

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

func (*GetHostOK) String added in v0.1.1

func (o *GetHostOK) String() string

type GetHostParams added in v0.1.1

type GetHostParams struct {

	/* ID.

	   id
	*/
	ID string

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

GetHostParams contains all the parameters to send to the API endpoint

for the get host operation.

Typically these are written to a http.Request.

func NewGetHostParams added in v0.1.1

func NewGetHostParams() *GetHostParams

NewGetHostParams creates a new GetHostParams 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 NewGetHostParamsWithContext added in v0.1.1

func NewGetHostParamsWithContext(ctx context.Context) *GetHostParams

NewGetHostParamsWithContext creates a new GetHostParams object with the ability to set a context for a request.

func NewGetHostParamsWithHTTPClient added in v0.1.1

func NewGetHostParamsWithHTTPClient(client *http.Client) *GetHostParams

NewGetHostParamsWithHTTPClient creates a new GetHostParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostParamsWithTimeout added in v0.1.1

func NewGetHostParamsWithTimeout(timeout time.Duration) *GetHostParams

NewGetHostParamsWithTimeout creates a new GetHostParams object with the ability to set a timeout on a request.

func (*GetHostParams) SetContext added in v0.1.1

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

SetContext adds the context to the get host params

func (*GetHostParams) SetDefaults added in v0.1.1

func (o *GetHostParams) SetDefaults()

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

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

func (*GetHostParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get host params

func (*GetHostParams) SetID added in v0.1.1

func (o *GetHostParams) SetID(id string)

SetID adds the id to the get host params

func (*GetHostParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get host params

func (*GetHostParams) WithContext added in v0.1.1

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

WithContext adds the context to the get host params

func (*GetHostParams) WithDefaults added in v0.1.1

func (o *GetHostParams) WithDefaults() *GetHostParams

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

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

func (*GetHostParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get host params

func (*GetHostParams) WithID added in v0.1.1

func (o *GetHostParams) WithID(id string) *GetHostParams

WithID adds the id to the get host params

func (*GetHostParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get host params

func (*GetHostParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetHostQueryResponse1BadRequest added in v0.1.1

type GetHostQueryResponse1BadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetHostQueryResponse1BadRequest added in v0.1.1

func NewGetHostQueryResponse1BadRequest() *GetHostQueryResponse1BadRequest

NewGetHostQueryResponse1BadRequest creates a GetHostQueryResponse1BadRequest with default headers values

func (*GetHostQueryResponse1BadRequest) Code added in v0.3.0

Code gets the status code for the get host query response1 bad request response

func (*GetHostQueryResponse1BadRequest) Error added in v0.1.1

func (*GetHostQueryResponse1BadRequest) GetPayload added in v0.1.1

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

func (*GetHostQueryResponse1BadRequest) IsClientError added in v0.1.1

func (o *GetHostQueryResponse1BadRequest) IsClientError() bool

IsClientError returns true when this get host query response1 bad request response has a 4xx status code

func (*GetHostQueryResponse1BadRequest) IsCode added in v0.1.1

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

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

func (*GetHostQueryResponse1BadRequest) IsRedirect added in v0.1.1

func (o *GetHostQueryResponse1BadRequest) IsRedirect() bool

IsRedirect returns true when this get host query response1 bad request response has a 3xx status code

func (*GetHostQueryResponse1BadRequest) IsServerError added in v0.1.1

func (o *GetHostQueryResponse1BadRequest) IsServerError() bool

IsServerError returns true when this get host query response1 bad request response has a 5xx status code

func (*GetHostQueryResponse1BadRequest) IsSuccess added in v0.1.1

func (o *GetHostQueryResponse1BadRequest) IsSuccess() bool

IsSuccess returns true when this get host query response1 bad request response has a 2xx status code

func (*GetHostQueryResponse1BadRequest) String added in v0.1.1

type GetHostQueryResponse1InternalServerError added in v0.1.1

type GetHostQueryResponse1InternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetHostQueryResponse1InternalServerError added in v0.1.1

func NewGetHostQueryResponse1InternalServerError() *GetHostQueryResponse1InternalServerError

NewGetHostQueryResponse1InternalServerError creates a GetHostQueryResponse1InternalServerError with default headers values

func (*GetHostQueryResponse1InternalServerError) Code added in v0.3.0

Code gets the status code for the get host query response1 internal server error response

func (*GetHostQueryResponse1InternalServerError) Error added in v0.1.1

func (*GetHostQueryResponse1InternalServerError) GetPayload added in v0.1.1

func (*GetHostQueryResponse1InternalServerError) IsClientError added in v0.1.1

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

func (*GetHostQueryResponse1InternalServerError) IsCode added in v0.1.1

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

func (*GetHostQueryResponse1InternalServerError) IsRedirect added in v0.1.1

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

func (*GetHostQueryResponse1InternalServerError) IsServerError added in v0.1.1

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

func (*GetHostQueryResponse1InternalServerError) IsSuccess added in v0.1.1

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

func (*GetHostQueryResponse1InternalServerError) String added in v0.1.1

type GetHostQueryResponse1NotFound added in v0.1.1

type GetHostQueryResponse1NotFound struct {
	Payload *models.Error
}

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

Query Not Found

func NewGetHostQueryResponse1NotFound added in v0.1.1

func NewGetHostQueryResponse1NotFound() *GetHostQueryResponse1NotFound

NewGetHostQueryResponse1NotFound creates a GetHostQueryResponse1NotFound with default headers values

func (*GetHostQueryResponse1NotFound) Code added in v0.3.0

Code gets the status code for the get host query response1 not found response

func (*GetHostQueryResponse1NotFound) Error added in v0.1.1

func (*GetHostQueryResponse1NotFound) GetPayload added in v0.1.1

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

func (*GetHostQueryResponse1NotFound) IsClientError added in v0.1.1

func (o *GetHostQueryResponse1NotFound) IsClientError() bool

IsClientError returns true when this get host query response1 not found response has a 4xx status code

func (*GetHostQueryResponse1NotFound) IsCode added in v0.1.1

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

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

func (*GetHostQueryResponse1NotFound) IsRedirect added in v0.1.1

func (o *GetHostQueryResponse1NotFound) IsRedirect() bool

IsRedirect returns true when this get host query response1 not found response has a 3xx status code

func (*GetHostQueryResponse1NotFound) IsServerError added in v0.1.1

func (o *GetHostQueryResponse1NotFound) IsServerError() bool

IsServerError returns true when this get host query response1 not found response has a 5xx status code

func (*GetHostQueryResponse1NotFound) IsSuccess added in v0.1.1

func (o *GetHostQueryResponse1NotFound) IsSuccess() bool

IsSuccess returns true when this get host query response1 not found response has a 2xx status code

func (*GetHostQueryResponse1NotFound) String added in v0.1.1

type GetHostQueryResponse1OK added in v0.1.1

type GetHostQueryResponse1OK struct {
	Payload *models.HostQueryResponse
}

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

Ok

func NewGetHostQueryResponse1OK added in v0.1.1

func NewGetHostQueryResponse1OK() *GetHostQueryResponse1OK

NewGetHostQueryResponse1OK creates a GetHostQueryResponse1OK with default headers values

func (*GetHostQueryResponse1OK) Code added in v0.3.0

func (o *GetHostQueryResponse1OK) Code() int

Code gets the status code for the get host query response1 o k response

func (*GetHostQueryResponse1OK) Error added in v0.1.1

func (o *GetHostQueryResponse1OK) Error() string

func (*GetHostQueryResponse1OK) GetPayload added in v0.1.1

func (*GetHostQueryResponse1OK) IsClientError added in v0.1.1

func (o *GetHostQueryResponse1OK) IsClientError() bool

IsClientError returns true when this get host query response1 o k response has a 4xx status code

func (*GetHostQueryResponse1OK) IsCode added in v0.1.1

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

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

func (*GetHostQueryResponse1OK) IsRedirect added in v0.1.1

func (o *GetHostQueryResponse1OK) IsRedirect() bool

IsRedirect returns true when this get host query response1 o k response has a 3xx status code

func (*GetHostQueryResponse1OK) IsServerError added in v0.1.1

func (o *GetHostQueryResponse1OK) IsServerError() bool

IsServerError returns true when this get host query response1 o k response has a 5xx status code

func (*GetHostQueryResponse1OK) IsSuccess added in v0.1.1

func (o *GetHostQueryResponse1OK) IsSuccess() bool

IsSuccess returns true when this get host query response1 o k response has a 2xx status code

func (*GetHostQueryResponse1OK) String added in v0.1.1

func (o *GetHostQueryResponse1OK) String() string

type GetHostQueryResponse1Params added in v0.1.1

type GetHostQueryResponse1Params struct {

	/* ID.

	   id
	*/
	ID string

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

GetHostQueryResponse1Params contains all the parameters to send to the API endpoint

for the get host query response 1 operation.

Typically these are written to a http.Request.

func NewGetHostQueryResponse1Params added in v0.1.1

func NewGetHostQueryResponse1Params() *GetHostQueryResponse1Params

NewGetHostQueryResponse1Params creates a new GetHostQueryResponse1Params 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 NewGetHostQueryResponse1ParamsWithContext added in v0.1.1

func NewGetHostQueryResponse1ParamsWithContext(ctx context.Context) *GetHostQueryResponse1Params

NewGetHostQueryResponse1ParamsWithContext creates a new GetHostQueryResponse1Params object with the ability to set a context for a request.

func NewGetHostQueryResponse1ParamsWithHTTPClient added in v0.1.1

func NewGetHostQueryResponse1ParamsWithHTTPClient(client *http.Client) *GetHostQueryResponse1Params

NewGetHostQueryResponse1ParamsWithHTTPClient creates a new GetHostQueryResponse1Params object with the ability to set a custom HTTPClient for a request.

func NewGetHostQueryResponse1ParamsWithTimeout added in v0.1.1

func NewGetHostQueryResponse1ParamsWithTimeout(timeout time.Duration) *GetHostQueryResponse1Params

NewGetHostQueryResponse1ParamsWithTimeout creates a new GetHostQueryResponse1Params object with the ability to set a timeout on a request.

func (*GetHostQueryResponse1Params) SetContext added in v0.1.1

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

SetContext adds the context to the get host query response 1 params

func (*GetHostQueryResponse1Params) SetDefaults added in v0.1.1

func (o *GetHostQueryResponse1Params) SetDefaults()

SetDefaults hydrates default values in the get host query response 1 params (not the query body).

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

func (*GetHostQueryResponse1Params) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get host query response 1 params

func (*GetHostQueryResponse1Params) SetID added in v0.1.1

func (o *GetHostQueryResponse1Params) SetID(id string)

SetID adds the id to the get host query response 1 params

func (*GetHostQueryResponse1Params) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get host query response 1 params

func (*GetHostQueryResponse1Params) WithContext added in v0.1.1

WithContext adds the context to the get host query response 1 params

func (*GetHostQueryResponse1Params) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get host query response 1 params (not the query body).

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

func (*GetHostQueryResponse1Params) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get host query response 1 params

func (*GetHostQueryResponse1Params) WithID added in v0.1.1

WithID adds the id to the get host query response 1 params

func (*GetHostQueryResponse1Params) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get host query response 1 params

func (*GetHostQueryResponse1Params) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetHostQueryResponse1Reader added in v0.1.1

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

GetHostQueryResponse1Reader is a Reader for the GetHostQueryResponse1 structure.

func (*GetHostQueryResponse1Reader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetHostReader added in v0.1.1

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

GetHostReader is a Reader for the GetHost structure.

func (*GetHostReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetHostTagManagerURLBadRequest added in v0.1.1

type GetHostTagManagerURLBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetHostTagManagerURLBadRequest added in v0.1.1

func NewGetHostTagManagerURLBadRequest() *GetHostTagManagerURLBadRequest

NewGetHostTagManagerURLBadRequest creates a GetHostTagManagerURLBadRequest with default headers values

func (*GetHostTagManagerURLBadRequest) Code added in v0.3.0

Code gets the status code for the get host tag manager Url bad request response

func (*GetHostTagManagerURLBadRequest) Error added in v0.1.1

func (*GetHostTagManagerURLBadRequest) GetPayload added in v0.1.1

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

func (*GetHostTagManagerURLBadRequest) IsClientError added in v0.1.1

func (o *GetHostTagManagerURLBadRequest) IsClientError() bool

IsClientError returns true when this get host tag manager Url bad request response has a 4xx status code

func (*GetHostTagManagerURLBadRequest) IsCode added in v0.1.1

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

IsCode returns true when this get host tag manager Url bad request response a status code equal to that given

func (*GetHostTagManagerURLBadRequest) IsRedirect added in v0.1.1

func (o *GetHostTagManagerURLBadRequest) IsRedirect() bool

IsRedirect returns true when this get host tag manager Url bad request response has a 3xx status code

func (*GetHostTagManagerURLBadRequest) IsServerError added in v0.1.1

func (o *GetHostTagManagerURLBadRequest) IsServerError() bool

IsServerError returns true when this get host tag manager Url bad request response has a 5xx status code

func (*GetHostTagManagerURLBadRequest) IsSuccess added in v0.1.1

func (o *GetHostTagManagerURLBadRequest) IsSuccess() bool

IsSuccess returns true when this get host tag manager Url bad request response has a 2xx status code

func (*GetHostTagManagerURLBadRequest) String added in v0.1.1

type GetHostTagManagerURLInternalServerError added in v0.1.1

type GetHostTagManagerURLInternalServerError struct {
	Payload *models.Error
}

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

InternalServerError

func NewGetHostTagManagerURLInternalServerError added in v0.1.1

func NewGetHostTagManagerURLInternalServerError() *GetHostTagManagerURLInternalServerError

NewGetHostTagManagerURLInternalServerError creates a GetHostTagManagerURLInternalServerError with default headers values

func (*GetHostTagManagerURLInternalServerError) Code added in v0.3.0

Code gets the status code for the get host tag manager Url internal server error response

func (*GetHostTagManagerURLInternalServerError) Error added in v0.1.1

func (*GetHostTagManagerURLInternalServerError) GetPayload added in v0.1.1

func (*GetHostTagManagerURLInternalServerError) IsClientError added in v0.1.1

func (o *GetHostTagManagerURLInternalServerError) IsClientError() bool

IsClientError returns true when this get host tag manager Url internal server error response has a 4xx status code

func (*GetHostTagManagerURLInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get host tag manager Url internal server error response a status code equal to that given

func (*GetHostTagManagerURLInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get host tag manager Url internal server error response has a 3xx status code

func (*GetHostTagManagerURLInternalServerError) IsServerError added in v0.1.1

func (o *GetHostTagManagerURLInternalServerError) IsServerError() bool

IsServerError returns true when this get host tag manager Url internal server error response has a 5xx status code

func (*GetHostTagManagerURLInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get host tag manager Url internal server error response has a 2xx status code

func (*GetHostTagManagerURLInternalServerError) String added in v0.1.1

type GetHostTagManagerURLOK added in v0.1.1

type GetHostTagManagerURLOK struct {
	Payload *models.TagManagerModel
}

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

Ok

func NewGetHostTagManagerURLOK added in v0.1.1

func NewGetHostTagManagerURLOK() *GetHostTagManagerURLOK

NewGetHostTagManagerURLOK creates a GetHostTagManagerURLOK with default headers values

func (*GetHostTagManagerURLOK) Code added in v0.3.0

func (o *GetHostTagManagerURLOK) Code() int

Code gets the status code for the get host tag manager Url o k response

func (*GetHostTagManagerURLOK) Error added in v0.1.1

func (o *GetHostTagManagerURLOK) Error() string

func (*GetHostTagManagerURLOK) GetPayload added in v0.1.1

func (*GetHostTagManagerURLOK) IsClientError added in v0.1.1

func (o *GetHostTagManagerURLOK) IsClientError() bool

IsClientError returns true when this get host tag manager Url o k response has a 4xx status code

func (*GetHostTagManagerURLOK) IsCode added in v0.1.1

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

IsCode returns true when this get host tag manager Url o k response a status code equal to that given

func (*GetHostTagManagerURLOK) IsRedirect added in v0.1.1

func (o *GetHostTagManagerURLOK) IsRedirect() bool

IsRedirect returns true when this get host tag manager Url o k response has a 3xx status code

func (*GetHostTagManagerURLOK) IsServerError added in v0.1.1

func (o *GetHostTagManagerURLOK) IsServerError() bool

IsServerError returns true when this get host tag manager Url o k response has a 5xx status code

func (*GetHostTagManagerURLOK) IsSuccess added in v0.1.1

func (o *GetHostTagManagerURLOK) IsSuccess() bool

IsSuccess returns true when this get host tag manager Url o k response has a 2xx status code

func (*GetHostTagManagerURLOK) String added in v0.1.1

func (o *GetHostTagManagerURLOK) String() string

type GetHostTagManagerURLParams added in v0.1.1

type GetHostTagManagerURLParams struct {

	/* ID.

	   Host ID
	*/
	ID string

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

GetHostTagManagerURLParams contains all the parameters to send to the API endpoint

for the get host tag manager Url operation.

Typically these are written to a http.Request.

func NewGetHostTagManagerURLParams added in v0.1.1

func NewGetHostTagManagerURLParams() *GetHostTagManagerURLParams

NewGetHostTagManagerURLParams creates a new GetHostTagManagerURLParams 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 NewGetHostTagManagerURLParamsWithContext added in v0.1.1

func NewGetHostTagManagerURLParamsWithContext(ctx context.Context) *GetHostTagManagerURLParams

NewGetHostTagManagerURLParamsWithContext creates a new GetHostTagManagerURLParams object with the ability to set a context for a request.

func NewGetHostTagManagerURLParamsWithHTTPClient added in v0.1.1

func NewGetHostTagManagerURLParamsWithHTTPClient(client *http.Client) *GetHostTagManagerURLParams

NewGetHostTagManagerURLParamsWithHTTPClient creates a new GetHostTagManagerURLParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostTagManagerURLParamsWithTimeout added in v0.1.1

func NewGetHostTagManagerURLParamsWithTimeout(timeout time.Duration) *GetHostTagManagerURLParams

NewGetHostTagManagerURLParamsWithTimeout creates a new GetHostTagManagerURLParams object with the ability to set a timeout on a request.

func (*GetHostTagManagerURLParams) SetContext added in v0.1.1

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

SetContext adds the context to the get host tag manager Url params

func (*GetHostTagManagerURLParams) SetDefaults added in v0.1.1

func (o *GetHostTagManagerURLParams) SetDefaults()

SetDefaults hydrates default values in the get host tag manager Url params (not the query body).

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

func (*GetHostTagManagerURLParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get host tag manager Url params

func (*GetHostTagManagerURLParams) SetID added in v0.1.1

func (o *GetHostTagManagerURLParams) SetID(id string)

SetID adds the id to the get host tag manager Url params

func (*GetHostTagManagerURLParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get host tag manager Url params

func (*GetHostTagManagerURLParams) WithContext added in v0.1.1

WithContext adds the context to the get host tag manager Url params

func (*GetHostTagManagerURLParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get host tag manager Url params (not the query body).

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

func (*GetHostTagManagerURLParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get host tag manager Url params

func (*GetHostTagManagerURLParams) WithID added in v0.1.1

WithID adds the id to the get host tag manager Url params

func (*GetHostTagManagerURLParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get host tag manager Url params

func (*GetHostTagManagerURLParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetHostTagManagerURLReader added in v0.1.1

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

GetHostTagManagerURLReader is a Reader for the GetHostTagManagerURL structure.

func (*GetHostTagManagerURLReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetHostsBadRequest added in v0.1.1

type GetHostsBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetHostsBadRequest added in v0.1.1

func NewGetHostsBadRequest() *GetHostsBadRequest

NewGetHostsBadRequest creates a GetHostsBadRequest with default headers values

func (*GetHostsBadRequest) Code added in v0.3.0

func (o *GetHostsBadRequest) Code() int

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

func (*GetHostsBadRequest) Error added in v0.1.1

func (o *GetHostsBadRequest) Error() string

func (*GetHostsBadRequest) GetPayload added in v0.1.1

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

func (*GetHostsBadRequest) IsClientError added in v0.1.1

func (o *GetHostsBadRequest) IsClientError() bool

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

func (*GetHostsBadRequest) IsCode added in v0.1.1

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

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

func (*GetHostsBadRequest) IsRedirect added in v0.1.1

func (o *GetHostsBadRequest) IsRedirect() bool

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

func (*GetHostsBadRequest) IsServerError added in v0.1.1

func (o *GetHostsBadRequest) IsServerError() bool

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

func (*GetHostsBadRequest) IsSuccess added in v0.1.1

func (o *GetHostsBadRequest) IsSuccess() bool

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

func (*GetHostsBadRequest) String added in v0.1.1

func (o *GetHostsBadRequest) String() string

type GetHostsInternalServerError added in v0.1.1

type GetHostsInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetHostsInternalServerError added in v0.1.1

func NewGetHostsInternalServerError() *GetHostsInternalServerError

NewGetHostsInternalServerError creates a GetHostsInternalServerError with default headers values

func (*GetHostsInternalServerError) Code added in v0.3.0

func (o *GetHostsInternalServerError) Code() int

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

func (*GetHostsInternalServerError) Error added in v0.1.1

func (*GetHostsInternalServerError) GetPayload added in v0.1.1

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

func (*GetHostsInternalServerError) IsClientError added in v0.1.1

func (o *GetHostsInternalServerError) IsClientError() bool

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

func (*GetHostsInternalServerError) IsCode added in v0.1.1

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

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

func (*GetHostsInternalServerError) IsRedirect added in v0.1.1

func (o *GetHostsInternalServerError) IsRedirect() bool

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

func (*GetHostsInternalServerError) IsServerError added in v0.1.1

func (o *GetHostsInternalServerError) IsServerError() bool

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

func (*GetHostsInternalServerError) IsSuccess added in v0.1.1

func (o *GetHostsInternalServerError) IsSuccess() bool

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

func (*GetHostsInternalServerError) String added in v0.1.1

func (o *GetHostsInternalServerError) String() string

type GetHostsOK added in v0.1.1

type GetHostsOK struct {
	Payload *models.PageOfHost
}

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

Ok

func NewGetHostsOK added in v0.1.1

func NewGetHostsOK() *GetHostsOK

NewGetHostsOK creates a GetHostsOK with default headers values

func (*GetHostsOK) Code added in v0.3.0

func (o *GetHostsOK) Code() int

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

func (*GetHostsOK) Error added in v0.1.1

func (o *GetHostsOK) Error() string

func (*GetHostsOK) GetPayload added in v0.1.1

func (o *GetHostsOK) GetPayload() *models.PageOfHost

func (*GetHostsOK) IsClientError added in v0.1.1

func (o *GetHostsOK) IsClientError() bool

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

func (*GetHostsOK) IsCode added in v0.1.1

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

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

func (*GetHostsOK) IsRedirect added in v0.1.1

func (o *GetHostsOK) IsRedirect() bool

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

func (*GetHostsOK) IsServerError added in v0.1.1

func (o *GetHostsOK) IsServerError() bool

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

func (*GetHostsOK) IsSuccess added in v0.1.1

func (o *GetHostsOK) IsSuccess() bool

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

func (*GetHostsOK) String added in v0.1.1

func (o *GetHostsOK) String() string

type GetHostsParams added in v0.1.1

type GetHostsParams struct {

	/* ClusterID.

	   ID of the Cluster
	*/
	ClusterID *string

	/* DatastoreName.

	   Name of the datastore
	*/
	DatastoreName *string

	/* DomainID.

	   ID of the Domain
	*/
	DomainID *string

	/* NetworkpoolID.

	   ID of the Network pool
	*/
	NetworkpoolID *string

	/* Status.

	   Status of the Host.One among: ASSIGNED, UNASSIGNED_USEABLE, UNASSIGNED_UNUSEABLE
	*/
	Status *string

	/* StorageType.

	   Type of the Storage.VMFS_FC
	*/
	StorageType *string

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

GetHostsParams contains all the parameters to send to the API endpoint

for the get hosts operation.

Typically these are written to a http.Request.

func NewGetHostsParams added in v0.1.1

func NewGetHostsParams() *GetHostsParams

NewGetHostsParams creates a new GetHostsParams 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 NewGetHostsParamsWithContext added in v0.1.1

func NewGetHostsParamsWithContext(ctx context.Context) *GetHostsParams

NewGetHostsParamsWithContext creates a new GetHostsParams object with the ability to set a context for a request.

func NewGetHostsParamsWithHTTPClient added in v0.1.1

func NewGetHostsParamsWithHTTPClient(client *http.Client) *GetHostsParams

NewGetHostsParamsWithHTTPClient creates a new GetHostsParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostsParamsWithTimeout added in v0.1.1

func NewGetHostsParamsWithTimeout(timeout time.Duration) *GetHostsParams

NewGetHostsParamsWithTimeout creates a new GetHostsParams object with the ability to set a timeout on a request.

func (*GetHostsParams) SetClusterID added in v0.1.1

func (o *GetHostsParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the get hosts params

func (*GetHostsParams) SetContext added in v0.1.1

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

SetContext adds the context to the get hosts params

func (*GetHostsParams) SetDatastoreName added in v0.1.1

func (o *GetHostsParams) SetDatastoreName(datastoreName *string)

SetDatastoreName adds the datastoreName to the get hosts params

func (*GetHostsParams) SetDefaults added in v0.1.1

func (o *GetHostsParams) SetDefaults()

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

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

func (*GetHostsParams) SetDomainID added in v0.1.1

func (o *GetHostsParams) SetDomainID(domainID *string)

SetDomainID adds the domainId to the get hosts params

func (*GetHostsParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get hosts params

func (*GetHostsParams) SetNetworkpoolID added in v0.1.1

func (o *GetHostsParams) SetNetworkpoolID(networkpoolID *string)

SetNetworkpoolID adds the networkpoolId to the get hosts params

func (*GetHostsParams) SetStatus added in v0.1.1

func (o *GetHostsParams) SetStatus(status *string)

SetStatus adds the status to the get hosts params

func (*GetHostsParams) SetStorageType added in v0.1.1

func (o *GetHostsParams) SetStorageType(storageType *string)

SetStorageType adds the storageType to the get hosts params

func (*GetHostsParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get hosts params

func (*GetHostsParams) WithClusterID added in v0.1.1

func (o *GetHostsParams) WithClusterID(clusterID *string) *GetHostsParams

WithClusterID adds the clusterID to the get hosts params

func (*GetHostsParams) WithContext added in v0.1.1

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

WithContext adds the context to the get hosts params

func (*GetHostsParams) WithDatastoreName added in v0.1.1

func (o *GetHostsParams) WithDatastoreName(datastoreName *string) *GetHostsParams

WithDatastoreName adds the datastoreName to the get hosts params

func (*GetHostsParams) WithDefaults added in v0.1.1

func (o *GetHostsParams) WithDefaults() *GetHostsParams

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

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

func (*GetHostsParams) WithDomainID added in v0.1.1

func (o *GetHostsParams) WithDomainID(domainID *string) *GetHostsParams

WithDomainID adds the domainID to the get hosts params

func (*GetHostsParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get hosts params

func (*GetHostsParams) WithNetworkpoolID added in v0.1.1

func (o *GetHostsParams) WithNetworkpoolID(networkpoolID *string) *GetHostsParams

WithNetworkpoolID adds the networkpoolID to the get hosts params

func (*GetHostsParams) WithStatus added in v0.1.1

func (o *GetHostsParams) WithStatus(status *string) *GetHostsParams

WithStatus adds the status to the get hosts params

func (*GetHostsParams) WithStorageType added in v0.1.1

func (o *GetHostsParams) WithStorageType(storageType *string) *GetHostsParams

WithStorageType adds the storageType to the get hosts params

func (*GetHostsParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get hosts params

func (*GetHostsParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetHostsReader added in v0.1.1

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

GetHostsReader is a Reader for the GetHosts structure.

func (*GetHostsReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetTagsAssignedToHostBadRequest added in v0.1.1

type GetTagsAssignedToHostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetTagsAssignedToHostBadRequest added in v0.1.1

func NewGetTagsAssignedToHostBadRequest() *GetTagsAssignedToHostBadRequest

NewGetTagsAssignedToHostBadRequest creates a GetTagsAssignedToHostBadRequest with default headers values

func (*GetTagsAssignedToHostBadRequest) Code added in v0.3.0

Code gets the status code for the get tags assigned to host bad request response

func (*GetTagsAssignedToHostBadRequest) Error added in v0.1.1

func (*GetTagsAssignedToHostBadRequest) GetPayload added in v0.1.1

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

func (*GetTagsAssignedToHostBadRequest) IsClientError added in v0.1.1

func (o *GetTagsAssignedToHostBadRequest) IsClientError() bool

IsClientError returns true when this get tags assigned to host bad request response has a 4xx status code

func (*GetTagsAssignedToHostBadRequest) IsCode added in v0.1.1

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

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

func (*GetTagsAssignedToHostBadRequest) IsRedirect added in v0.1.1

func (o *GetTagsAssignedToHostBadRequest) IsRedirect() bool

IsRedirect returns true when this get tags assigned to host bad request response has a 3xx status code

func (*GetTagsAssignedToHostBadRequest) IsServerError added in v0.1.1

func (o *GetTagsAssignedToHostBadRequest) IsServerError() bool

IsServerError returns true when this get tags assigned to host bad request response has a 5xx status code

func (*GetTagsAssignedToHostBadRequest) IsSuccess added in v0.1.1

func (o *GetTagsAssignedToHostBadRequest) IsSuccess() bool

IsSuccess returns true when this get tags assigned to host bad request response has a 2xx status code

func (*GetTagsAssignedToHostBadRequest) String added in v0.1.1

type GetTagsAssignedToHostInternalServerError added in v0.1.1

type GetTagsAssignedToHostInternalServerError struct {
	Payload *models.Error
}

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

InternalServerError

func NewGetTagsAssignedToHostInternalServerError added in v0.1.1

func NewGetTagsAssignedToHostInternalServerError() *GetTagsAssignedToHostInternalServerError

NewGetTagsAssignedToHostInternalServerError creates a GetTagsAssignedToHostInternalServerError with default headers values

func (*GetTagsAssignedToHostInternalServerError) Code added in v0.3.0

Code gets the status code for the get tags assigned to host internal server error response

func (*GetTagsAssignedToHostInternalServerError) Error added in v0.1.1

func (*GetTagsAssignedToHostInternalServerError) GetPayload added in v0.1.1

func (*GetTagsAssignedToHostInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get tags assigned to host internal server error response has a 4xx status code

func (*GetTagsAssignedToHostInternalServerError) IsCode added in v0.1.1

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

func (*GetTagsAssignedToHostInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get tags assigned to host internal server error response has a 3xx status code

func (*GetTagsAssignedToHostInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get tags assigned to host internal server error response has a 5xx status code

func (*GetTagsAssignedToHostInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get tags assigned to host internal server error response has a 2xx status code

func (*GetTagsAssignedToHostInternalServerError) String added in v0.1.1

type GetTagsAssignedToHostOK added in v0.1.1

type GetTagsAssignedToHostOK struct {
	Payload *models.PageOfTag
}

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

Ok

func NewGetTagsAssignedToHostOK added in v0.1.1

func NewGetTagsAssignedToHostOK() *GetTagsAssignedToHostOK

NewGetTagsAssignedToHostOK creates a GetTagsAssignedToHostOK with default headers values

func (*GetTagsAssignedToHostOK) Code added in v0.3.0

func (o *GetTagsAssignedToHostOK) Code() int

Code gets the status code for the get tags assigned to host o k response

func (*GetTagsAssignedToHostOK) Error added in v0.1.1

func (o *GetTagsAssignedToHostOK) Error() string

func (*GetTagsAssignedToHostOK) GetPayload added in v0.1.1

func (o *GetTagsAssignedToHostOK) GetPayload() *models.PageOfTag

func (*GetTagsAssignedToHostOK) IsClientError added in v0.1.1

func (o *GetTagsAssignedToHostOK) IsClientError() bool

IsClientError returns true when this get tags assigned to host o k response has a 4xx status code

func (*GetTagsAssignedToHostOK) IsCode added in v0.1.1

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

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

func (*GetTagsAssignedToHostOK) IsRedirect added in v0.1.1

func (o *GetTagsAssignedToHostOK) IsRedirect() bool

IsRedirect returns true when this get tags assigned to host o k response has a 3xx status code

func (*GetTagsAssignedToHostOK) IsServerError added in v0.1.1

func (o *GetTagsAssignedToHostOK) IsServerError() bool

IsServerError returns true when this get tags assigned to host o k response has a 5xx status code

func (*GetTagsAssignedToHostOK) IsSuccess added in v0.1.1

func (o *GetTagsAssignedToHostOK) IsSuccess() bool

IsSuccess returns true when this get tags assigned to host o k response has a 2xx status code

func (*GetTagsAssignedToHostOK) String added in v0.1.1

func (o *GetTagsAssignedToHostOK) String() string

type GetTagsAssignedToHostParams added in v0.1.1

type GetTagsAssignedToHostParams struct {

	/* ID.

	   Host ID
	*/
	ID string

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

GetTagsAssignedToHostParams contains all the parameters to send to the API endpoint

for the get tags assigned to host operation.

Typically these are written to a http.Request.

func NewGetTagsAssignedToHostParams added in v0.1.1

func NewGetTagsAssignedToHostParams() *GetTagsAssignedToHostParams

NewGetTagsAssignedToHostParams creates a new GetTagsAssignedToHostParams 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 NewGetTagsAssignedToHostParamsWithContext added in v0.1.1

func NewGetTagsAssignedToHostParamsWithContext(ctx context.Context) *GetTagsAssignedToHostParams

NewGetTagsAssignedToHostParamsWithContext creates a new GetTagsAssignedToHostParams object with the ability to set a context for a request.

func NewGetTagsAssignedToHostParamsWithHTTPClient added in v0.1.1

func NewGetTagsAssignedToHostParamsWithHTTPClient(client *http.Client) *GetTagsAssignedToHostParams

NewGetTagsAssignedToHostParamsWithHTTPClient creates a new GetTagsAssignedToHostParams object with the ability to set a custom HTTPClient for a request.

func NewGetTagsAssignedToHostParamsWithTimeout added in v0.1.1

func NewGetTagsAssignedToHostParamsWithTimeout(timeout time.Duration) *GetTagsAssignedToHostParams

NewGetTagsAssignedToHostParamsWithTimeout creates a new GetTagsAssignedToHostParams object with the ability to set a timeout on a request.

func (*GetTagsAssignedToHostParams) SetContext added in v0.1.1

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

SetContext adds the context to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) SetDefaults added in v0.1.1

func (o *GetTagsAssignedToHostParams) SetDefaults()

SetDefaults hydrates default values in the get tags assigned to host params (not the query body).

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

func (*GetTagsAssignedToHostParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) SetID added in v0.1.1

func (o *GetTagsAssignedToHostParams) SetID(id string)

SetID adds the id to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) WithContext added in v0.1.1

WithContext adds the context to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get tags assigned to host params (not the query body).

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

func (*GetTagsAssignedToHostParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) WithID added in v0.1.1

WithID adds the id to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get tags assigned to host params

func (*GetTagsAssignedToHostParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetTagsAssignedToHostReader added in v0.1.1

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

GetTagsAssignedToHostReader is a Reader for the GetTagsAssignedToHost structure.

func (*GetTagsAssignedToHostReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetTagsAssignedToHostsBadRequest added in v0.1.1

type GetTagsAssignedToHostsBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetTagsAssignedToHostsBadRequest added in v0.1.1

func NewGetTagsAssignedToHostsBadRequest() *GetTagsAssignedToHostsBadRequest

NewGetTagsAssignedToHostsBadRequest creates a GetTagsAssignedToHostsBadRequest with default headers values

func (*GetTagsAssignedToHostsBadRequest) Code added in v0.3.0

Code gets the status code for the get tags assigned to hosts bad request response

func (*GetTagsAssignedToHostsBadRequest) Error added in v0.1.1

func (*GetTagsAssignedToHostsBadRequest) GetPayload added in v0.1.1

func (*GetTagsAssignedToHostsBadRequest) IsClientError added in v0.1.1

func (o *GetTagsAssignedToHostsBadRequest) IsClientError() bool

IsClientError returns true when this get tags assigned to hosts bad request response has a 4xx status code

func (*GetTagsAssignedToHostsBadRequest) IsCode added in v0.1.1

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

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

func (*GetTagsAssignedToHostsBadRequest) IsRedirect added in v0.1.1

func (o *GetTagsAssignedToHostsBadRequest) IsRedirect() bool

IsRedirect returns true when this get tags assigned to hosts bad request response has a 3xx status code

func (*GetTagsAssignedToHostsBadRequest) IsServerError added in v0.1.1

func (o *GetTagsAssignedToHostsBadRequest) IsServerError() bool

IsServerError returns true when this get tags assigned to hosts bad request response has a 5xx status code

func (*GetTagsAssignedToHostsBadRequest) IsSuccess added in v0.1.1

func (o *GetTagsAssignedToHostsBadRequest) IsSuccess() bool

IsSuccess returns true when this get tags assigned to hosts bad request response has a 2xx status code

func (*GetTagsAssignedToHostsBadRequest) String added in v0.1.1

type GetTagsAssignedToHostsInternalServerError added in v0.1.1

type GetTagsAssignedToHostsInternalServerError struct {
	Payload *models.Error
}

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

InternalServerError

func NewGetTagsAssignedToHostsInternalServerError added in v0.1.1

func NewGetTagsAssignedToHostsInternalServerError() *GetTagsAssignedToHostsInternalServerError

NewGetTagsAssignedToHostsInternalServerError creates a GetTagsAssignedToHostsInternalServerError with default headers values

func (*GetTagsAssignedToHostsInternalServerError) Code added in v0.3.0

Code gets the status code for the get tags assigned to hosts internal server error response

func (*GetTagsAssignedToHostsInternalServerError) Error added in v0.1.1

func (*GetTagsAssignedToHostsInternalServerError) GetPayload added in v0.1.1

func (*GetTagsAssignedToHostsInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get tags assigned to hosts internal server error response has a 4xx status code

func (*GetTagsAssignedToHostsInternalServerError) IsCode added in v0.1.1

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

func (*GetTagsAssignedToHostsInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get tags assigned to hosts internal server error response has a 3xx status code

func (*GetTagsAssignedToHostsInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get tags assigned to hosts internal server error response has a 5xx status code

func (*GetTagsAssignedToHostsInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get tags assigned to hosts internal server error response has a 2xx status code

func (*GetTagsAssignedToHostsInternalServerError) String added in v0.1.1

type GetTagsAssignedToHostsOK added in v0.1.1

type GetTagsAssignedToHostsOK struct {
	Payload *models.PageOfTagsForResource
}

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

Ok

func NewGetTagsAssignedToHostsOK added in v0.1.1

func NewGetTagsAssignedToHostsOK() *GetTagsAssignedToHostsOK

NewGetTagsAssignedToHostsOK creates a GetTagsAssignedToHostsOK with default headers values

func (*GetTagsAssignedToHostsOK) Code added in v0.3.0

func (o *GetTagsAssignedToHostsOK) Code() int

Code gets the status code for the get tags assigned to hosts o k response

func (*GetTagsAssignedToHostsOK) Error added in v0.1.1

func (o *GetTagsAssignedToHostsOK) Error() string

func (*GetTagsAssignedToHostsOK) GetPayload added in v0.1.1

func (*GetTagsAssignedToHostsOK) IsClientError added in v0.1.1

func (o *GetTagsAssignedToHostsOK) IsClientError() bool

IsClientError returns true when this get tags assigned to hosts o k response has a 4xx status code

func (*GetTagsAssignedToHostsOK) IsCode added in v0.1.1

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

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

func (*GetTagsAssignedToHostsOK) IsRedirect added in v0.1.1

func (o *GetTagsAssignedToHostsOK) IsRedirect() bool

IsRedirect returns true when this get tags assigned to hosts o k response has a 3xx status code

func (*GetTagsAssignedToHostsOK) IsServerError added in v0.1.1

func (o *GetTagsAssignedToHostsOK) IsServerError() bool

IsServerError returns true when this get tags assigned to hosts o k response has a 5xx status code

func (*GetTagsAssignedToHostsOK) IsSuccess added in v0.1.1

func (o *GetTagsAssignedToHostsOK) IsSuccess() bool

IsSuccess returns true when this get tags assigned to hosts o k response has a 2xx status code

func (*GetTagsAssignedToHostsOK) String added in v0.1.1

func (o *GetTagsAssignedToHostsOK) String() string

type GetTagsAssignedToHostsParams added in v0.1.1

type GetTagsAssignedToHostsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTagsAssignedToHostsParams contains all the parameters to send to the API endpoint

for the get tags assigned to hosts operation.

Typically these are written to a http.Request.

func NewGetTagsAssignedToHostsParams added in v0.1.1

func NewGetTagsAssignedToHostsParams() *GetTagsAssignedToHostsParams

NewGetTagsAssignedToHostsParams creates a new GetTagsAssignedToHostsParams 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 NewGetTagsAssignedToHostsParamsWithContext added in v0.1.1

func NewGetTagsAssignedToHostsParamsWithContext(ctx context.Context) *GetTagsAssignedToHostsParams

NewGetTagsAssignedToHostsParamsWithContext creates a new GetTagsAssignedToHostsParams object with the ability to set a context for a request.

func NewGetTagsAssignedToHostsParamsWithHTTPClient added in v0.1.1

func NewGetTagsAssignedToHostsParamsWithHTTPClient(client *http.Client) *GetTagsAssignedToHostsParams

NewGetTagsAssignedToHostsParamsWithHTTPClient creates a new GetTagsAssignedToHostsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTagsAssignedToHostsParamsWithTimeout added in v0.1.1

func NewGetTagsAssignedToHostsParamsWithTimeout(timeout time.Duration) *GetTagsAssignedToHostsParams

NewGetTagsAssignedToHostsParamsWithTimeout creates a new GetTagsAssignedToHostsParams object with the ability to set a timeout on a request.

func (*GetTagsAssignedToHostsParams) SetContext added in v0.1.1

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

SetContext adds the context to the get tags assigned to hosts params

func (*GetTagsAssignedToHostsParams) SetDefaults added in v0.1.1

func (o *GetTagsAssignedToHostsParams) SetDefaults()

SetDefaults hydrates default values in the get tags assigned to hosts params (not the query body).

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

func (*GetTagsAssignedToHostsParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get tags assigned to hosts params

func (*GetTagsAssignedToHostsParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get tags assigned to hosts params

func (*GetTagsAssignedToHostsParams) WithContext added in v0.1.1

WithContext adds the context to the get tags assigned to hosts params

func (*GetTagsAssignedToHostsParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get tags assigned to hosts params (not the query body).

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

func (*GetTagsAssignedToHostsParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get tags assigned to hosts params

func (*GetTagsAssignedToHostsParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get tags assigned to hosts params

func (*GetTagsAssignedToHostsParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetTagsAssignedToHostsReader added in v0.1.1

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

GetTagsAssignedToHostsReader is a Reader for the GetTagsAssignedToHosts structure.

func (*GetTagsAssignedToHostsReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type PostQueryBadRequest added in v0.1.1

type PostQueryBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPostQueryBadRequest added in v0.1.1

func NewPostQueryBadRequest() *PostQueryBadRequest

NewPostQueryBadRequest creates a PostQueryBadRequest with default headers values

func (*PostQueryBadRequest) Code added in v0.3.0

func (o *PostQueryBadRequest) Code() int

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

func (*PostQueryBadRequest) Error added in v0.1.1

func (o *PostQueryBadRequest) Error() string

func (*PostQueryBadRequest) GetPayload added in v0.1.1

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

func (*PostQueryBadRequest) IsClientError added in v0.1.1

func (o *PostQueryBadRequest) IsClientError() bool

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

func (*PostQueryBadRequest) IsCode added in v0.1.1

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

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

func (*PostQueryBadRequest) IsRedirect added in v0.1.1

func (o *PostQueryBadRequest) IsRedirect() bool

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

func (*PostQueryBadRequest) IsServerError added in v0.1.1

func (o *PostQueryBadRequest) IsServerError() bool

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

func (*PostQueryBadRequest) IsSuccess added in v0.1.1

func (o *PostQueryBadRequest) IsSuccess() bool

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

func (*PostQueryBadRequest) String added in v0.1.1

func (o *PostQueryBadRequest) String() string

type PostQueryInternalServerError added in v0.1.1

type PostQueryInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPostQueryInternalServerError added in v0.1.1

func NewPostQueryInternalServerError() *PostQueryInternalServerError

NewPostQueryInternalServerError creates a PostQueryInternalServerError with default headers values

func (*PostQueryInternalServerError) Code added in v0.3.0

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

func (*PostQueryInternalServerError) Error added in v0.1.1

func (*PostQueryInternalServerError) GetPayload added in v0.1.1

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

func (*PostQueryInternalServerError) IsClientError added in v0.1.1

func (o *PostQueryInternalServerError) IsClientError() bool

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

func (*PostQueryInternalServerError) IsCode added in v0.1.1

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

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

func (*PostQueryInternalServerError) IsRedirect added in v0.1.1

func (o *PostQueryInternalServerError) IsRedirect() bool

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

func (*PostQueryInternalServerError) IsServerError added in v0.1.1

func (o *PostQueryInternalServerError) IsServerError() bool

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

func (*PostQueryInternalServerError) IsSuccess added in v0.1.1

func (o *PostQueryInternalServerError) IsSuccess() bool

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

func (*PostQueryInternalServerError) String added in v0.1.1

type PostQueryOK added in v0.1.1

type PostQueryOK struct {
	Payload *models.HostQueryResponse
}

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

Ok

func NewPostQueryOK added in v0.1.1

func NewPostQueryOK() *PostQueryOK

NewPostQueryOK creates a PostQueryOK with default headers values

func (*PostQueryOK) Code added in v0.3.0

func (o *PostQueryOK) Code() int

Code gets the status code for the post query o k response

func (*PostQueryOK) Error added in v0.1.1

func (o *PostQueryOK) Error() string

func (*PostQueryOK) GetPayload added in v0.1.1

func (o *PostQueryOK) GetPayload() *models.HostQueryResponse

func (*PostQueryOK) IsClientError added in v0.1.1

func (o *PostQueryOK) IsClientError() bool

IsClientError returns true when this post query o k response has a 4xx status code

func (*PostQueryOK) IsCode added in v0.1.1

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

IsCode returns true when this post query o k response a status code equal to that given

func (*PostQueryOK) IsRedirect added in v0.1.1

func (o *PostQueryOK) IsRedirect() bool

IsRedirect returns true when this post query o k response has a 3xx status code

func (*PostQueryOK) IsServerError added in v0.1.1

func (o *PostQueryOK) IsServerError() bool

IsServerError returns true when this post query o k response has a 5xx status code

func (*PostQueryOK) IsSuccess added in v0.1.1

func (o *PostQueryOK) IsSuccess() bool

IsSuccess returns true when this post query o k response has a 2xx status code

func (*PostQueryOK) String added in v0.1.1

func (o *PostQueryOK) String() string

type PostQueryParams added in v0.1.1

type PostQueryParams struct {

	/* HostCriterion.

	   hostCriterion
	*/
	HostCriterion *models.HostCriterion

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

PostQueryParams contains all the parameters to send to the API endpoint

for the post query operation.

Typically these are written to a http.Request.

func NewPostQueryParams added in v0.1.1

func NewPostQueryParams() *PostQueryParams

NewPostQueryParams creates a new PostQueryParams 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 NewPostQueryParamsWithContext added in v0.1.1

func NewPostQueryParamsWithContext(ctx context.Context) *PostQueryParams

NewPostQueryParamsWithContext creates a new PostQueryParams object with the ability to set a context for a request.

func NewPostQueryParamsWithHTTPClient added in v0.1.1

func NewPostQueryParamsWithHTTPClient(client *http.Client) *PostQueryParams

NewPostQueryParamsWithHTTPClient creates a new PostQueryParams object with the ability to set a custom HTTPClient for a request.

func NewPostQueryParamsWithTimeout added in v0.1.1

func NewPostQueryParamsWithTimeout(timeout time.Duration) *PostQueryParams

NewPostQueryParamsWithTimeout creates a new PostQueryParams object with the ability to set a timeout on a request.

func (*PostQueryParams) SetContext added in v0.1.1

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

SetContext adds the context to the post query params

func (*PostQueryParams) SetDefaults added in v0.1.1

func (o *PostQueryParams) SetDefaults()

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

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

func (*PostQueryParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the post query params

func (*PostQueryParams) SetHostCriterion added in v0.1.1

func (o *PostQueryParams) SetHostCriterion(hostCriterion *models.HostCriterion)

SetHostCriterion adds the hostCriterion to the post query params

func (*PostQueryParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the post query params

func (*PostQueryParams) WithContext added in v0.1.1

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

WithContext adds the context to the post query params

func (*PostQueryParams) WithDefaults added in v0.1.1

func (o *PostQueryParams) WithDefaults() *PostQueryParams

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

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

func (*PostQueryParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the post query params

func (*PostQueryParams) WithHostCriterion added in v0.1.1

func (o *PostQueryParams) WithHostCriterion(hostCriterion *models.HostCriterion) *PostQueryParams

WithHostCriterion adds the hostCriterion to the post query params

func (*PostQueryParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the post query params

func (*PostQueryParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type PostQueryReader added in v0.1.1

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

PostQueryReader is a Reader for the PostQuery structure.

func (*PostQueryReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type RemoveTagsFromHostBadRequest

type RemoveTagsFromHostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewRemoveTagsFromHostBadRequest

func NewRemoveTagsFromHostBadRequest() *RemoveTagsFromHostBadRequest

NewRemoveTagsFromHostBadRequest creates a RemoveTagsFromHostBadRequest with default headers values

func (*RemoveTagsFromHostBadRequest) Code added in v0.3.0

Code gets the status code for the remove tags from host bad request response

func (*RemoveTagsFromHostBadRequest) Error

func (*RemoveTagsFromHostBadRequest) GetPayload

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

func (*RemoveTagsFromHostBadRequest) IsClientError

func (o *RemoveTagsFromHostBadRequest) IsClientError() bool

IsClientError returns true when this remove tags from host bad request response has a 4xx status code

func (*RemoveTagsFromHostBadRequest) IsCode

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

IsCode returns true when this remove tags from host bad request response a status code equal to that given

func (*RemoveTagsFromHostBadRequest) IsRedirect

func (o *RemoveTagsFromHostBadRequest) IsRedirect() bool

IsRedirect returns true when this remove tags from host bad request response has a 3xx status code

func (*RemoveTagsFromHostBadRequest) IsServerError

func (o *RemoveTagsFromHostBadRequest) IsServerError() bool

IsServerError returns true when this remove tags from host bad request response has a 5xx status code

func (*RemoveTagsFromHostBadRequest) IsSuccess

func (o *RemoveTagsFromHostBadRequest) IsSuccess() bool

IsSuccess returns true when this remove tags from host bad request response has a 2xx status code

func (*RemoveTagsFromHostBadRequest) String

type RemoveTagsFromHostInternalServerError

type RemoveTagsFromHostInternalServerError struct {
	Payload *models.Error
}

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

InternalServerError

func NewRemoveTagsFromHostInternalServerError

func NewRemoveTagsFromHostInternalServerError() *RemoveTagsFromHostInternalServerError

NewRemoveTagsFromHostInternalServerError creates a RemoveTagsFromHostInternalServerError with default headers values

func (*RemoveTagsFromHostInternalServerError) Code added in v0.3.0

Code gets the status code for the remove tags from host internal server error response

func (*RemoveTagsFromHostInternalServerError) Error

func (*RemoveTagsFromHostInternalServerError) GetPayload

func (*RemoveTagsFromHostInternalServerError) IsClientError

func (o *RemoveTagsFromHostInternalServerError) IsClientError() bool

IsClientError returns true when this remove tags from host internal server error response has a 4xx status code

func (*RemoveTagsFromHostInternalServerError) IsCode

IsCode returns true when this remove tags from host internal server error response a status code equal to that given

func (*RemoveTagsFromHostInternalServerError) IsRedirect

IsRedirect returns true when this remove tags from host internal server error response has a 3xx status code

func (*RemoveTagsFromHostInternalServerError) IsServerError

func (o *RemoveTagsFromHostInternalServerError) IsServerError() bool

IsServerError returns true when this remove tags from host internal server error response has a 5xx status code

func (*RemoveTagsFromHostInternalServerError) IsSuccess

IsSuccess returns true when this remove tags from host internal server error response has a 2xx status code

func (*RemoveTagsFromHostInternalServerError) String

type RemoveTagsFromHostOK

type RemoveTagsFromHostOK struct {
	Payload *models.TagAssignmentResult
}

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

Ok

func NewRemoveTagsFromHostOK

func NewRemoveTagsFromHostOK() *RemoveTagsFromHostOK

NewRemoveTagsFromHostOK creates a RemoveTagsFromHostOK with default headers values

func (*RemoveTagsFromHostOK) Code added in v0.3.0

func (o *RemoveTagsFromHostOK) Code() int

Code gets the status code for the remove tags from host o k response

func (*RemoveTagsFromHostOK) Error

func (o *RemoveTagsFromHostOK) Error() string

func (*RemoveTagsFromHostOK) GetPayload

func (*RemoveTagsFromHostOK) IsClientError

func (o *RemoveTagsFromHostOK) IsClientError() bool

IsClientError returns true when this remove tags from host o k response has a 4xx status code

func (*RemoveTagsFromHostOK) IsCode

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

IsCode returns true when this remove tags from host o k response a status code equal to that given

func (*RemoveTagsFromHostOK) IsRedirect

func (o *RemoveTagsFromHostOK) IsRedirect() bool

IsRedirect returns true when this remove tags from host o k response has a 3xx status code

func (*RemoveTagsFromHostOK) IsServerError

func (o *RemoveTagsFromHostOK) IsServerError() bool

IsServerError returns true when this remove tags from host o k response has a 5xx status code

func (*RemoveTagsFromHostOK) IsSuccess

func (o *RemoveTagsFromHostOK) IsSuccess() bool

IsSuccess returns true when this remove tags from host o k response has a 2xx status code

func (*RemoveTagsFromHostOK) String

func (o *RemoveTagsFromHostOK) String() string

type RemoveTagsFromHostParams

type RemoveTagsFromHostParams struct {

	/* ID.

	   Host ID
	*/
	ID string

	/* TagsSpec.

	   Tags Spec
	*/
	TagsSpec *models.TagsSpec

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

RemoveTagsFromHostParams contains all the parameters to send to the API endpoint

for the remove tags from host operation.

Typically these are written to a http.Request.

func NewRemoveTagsFromHostParams

func NewRemoveTagsFromHostParams() *RemoveTagsFromHostParams

NewRemoveTagsFromHostParams creates a new RemoveTagsFromHostParams 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 NewRemoveTagsFromHostParamsWithContext

func NewRemoveTagsFromHostParamsWithContext(ctx context.Context) *RemoveTagsFromHostParams

NewRemoveTagsFromHostParamsWithContext creates a new RemoveTagsFromHostParams object with the ability to set a context for a request.

func NewRemoveTagsFromHostParamsWithHTTPClient

func NewRemoveTagsFromHostParamsWithHTTPClient(client *http.Client) *RemoveTagsFromHostParams

NewRemoveTagsFromHostParamsWithHTTPClient creates a new RemoveTagsFromHostParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveTagsFromHostParamsWithTimeout

func NewRemoveTagsFromHostParamsWithTimeout(timeout time.Duration) *RemoveTagsFromHostParams

NewRemoveTagsFromHostParamsWithTimeout creates a new RemoveTagsFromHostParams object with the ability to set a timeout on a request.

func (*RemoveTagsFromHostParams) SetContext

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

SetContext adds the context to the remove tags from host params

func (*RemoveTagsFromHostParams) SetDefaults

func (o *RemoveTagsFromHostParams) SetDefaults()

SetDefaults hydrates default values in the remove tags from host params (not the query body).

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

func (*RemoveTagsFromHostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove tags from host params

func (*RemoveTagsFromHostParams) SetID

func (o *RemoveTagsFromHostParams) SetID(id string)

SetID adds the id to the remove tags from host params

func (*RemoveTagsFromHostParams) SetTagsSpec

func (o *RemoveTagsFromHostParams) SetTagsSpec(tagsSpec *models.TagsSpec)

SetTagsSpec adds the tagsSpec to the remove tags from host params

func (*RemoveTagsFromHostParams) SetTimeout

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

SetTimeout adds the timeout to the remove tags from host params

func (*RemoveTagsFromHostParams) WithContext

WithContext adds the context to the remove tags from host params

func (*RemoveTagsFromHostParams) WithDefaults

WithDefaults hydrates default values in the remove tags from host params (not the query body).

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

func (*RemoveTagsFromHostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove tags from host params

func (*RemoveTagsFromHostParams) WithID

WithID adds the id to the remove tags from host params

func (*RemoveTagsFromHostParams) WithTagsSpec

WithTagsSpec adds the tagsSpec to the remove tags from host params

func (*RemoveTagsFromHostParams) WithTimeout

WithTimeout adds the timeout to the remove tags from host params

func (*RemoveTagsFromHostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveTagsFromHostReader

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

RemoveTagsFromHostReader is a Reader for the RemoveTagsFromHost structure.

func (*RemoveTagsFromHostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateHostCommissionSpecAccepted added in v0.3.0

type ValidateHostCommissionSpecAccepted struct {
	Payload *models.Validation
}

ValidateHostCommissionSpecAccepted describes a response with status code 202, with default header values.

Accepted

func NewValidateHostCommissionSpecAccepted added in v0.3.0

func NewValidateHostCommissionSpecAccepted() *ValidateHostCommissionSpecAccepted

NewValidateHostCommissionSpecAccepted creates a ValidateHostCommissionSpecAccepted with default headers values

func (*ValidateHostCommissionSpecAccepted) Code added in v0.3.0

Code gets the status code for the validate host commission spec accepted response

func (*ValidateHostCommissionSpecAccepted) Error added in v0.3.0

func (*ValidateHostCommissionSpecAccepted) GetPayload added in v0.3.0

func (*ValidateHostCommissionSpecAccepted) IsClientError added in v0.3.0

func (o *ValidateHostCommissionSpecAccepted) IsClientError() bool

IsClientError returns true when this validate host commission spec accepted response has a 4xx status code

func (*ValidateHostCommissionSpecAccepted) IsCode added in v0.3.0

IsCode returns true when this validate host commission spec accepted response a status code equal to that given

func (*ValidateHostCommissionSpecAccepted) IsRedirect added in v0.3.0

func (o *ValidateHostCommissionSpecAccepted) IsRedirect() bool

IsRedirect returns true when this validate host commission spec accepted response has a 3xx status code

func (*ValidateHostCommissionSpecAccepted) IsServerError added in v0.3.0

func (o *ValidateHostCommissionSpecAccepted) IsServerError() bool

IsServerError returns true when this validate host commission spec accepted response has a 5xx status code

func (*ValidateHostCommissionSpecAccepted) IsSuccess added in v0.3.0

IsSuccess returns true when this validate host commission spec accepted response has a 2xx status code

func (*ValidateHostCommissionSpecAccepted) String added in v0.3.0

type ValidateHostCommissionSpecBadRequest added in v0.3.0

type ValidateHostCommissionSpecBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewValidateHostCommissionSpecBadRequest added in v0.3.0

func NewValidateHostCommissionSpecBadRequest() *ValidateHostCommissionSpecBadRequest

NewValidateHostCommissionSpecBadRequest creates a ValidateHostCommissionSpecBadRequest with default headers values

func (*ValidateHostCommissionSpecBadRequest) Code added in v0.3.0

Code gets the status code for the validate host commission spec bad request response

func (*ValidateHostCommissionSpecBadRequest) Error added in v0.3.0

func (*ValidateHostCommissionSpecBadRequest) GetPayload added in v0.3.0

func (*ValidateHostCommissionSpecBadRequest) IsClientError added in v0.3.0

func (o *ValidateHostCommissionSpecBadRequest) IsClientError() bool

IsClientError returns true when this validate host commission spec bad request response has a 4xx status code

func (*ValidateHostCommissionSpecBadRequest) IsCode added in v0.3.0

IsCode returns true when this validate host commission spec bad request response a status code equal to that given

func (*ValidateHostCommissionSpecBadRequest) IsRedirect added in v0.3.0

IsRedirect returns true when this validate host commission spec bad request response has a 3xx status code

func (*ValidateHostCommissionSpecBadRequest) IsServerError added in v0.3.0

func (o *ValidateHostCommissionSpecBadRequest) IsServerError() bool

IsServerError returns true when this validate host commission spec bad request response has a 5xx status code

func (*ValidateHostCommissionSpecBadRequest) IsSuccess added in v0.3.0

IsSuccess returns true when this validate host commission spec bad request response has a 2xx status code

func (*ValidateHostCommissionSpecBadRequest) String added in v0.3.0

type ValidateHostCommissionSpecInternalServerError added in v0.3.0

type ValidateHostCommissionSpecInternalServerError struct {
}

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

Internal server error

func NewValidateHostCommissionSpecInternalServerError added in v0.3.0

func NewValidateHostCommissionSpecInternalServerError() *ValidateHostCommissionSpecInternalServerError

NewValidateHostCommissionSpecInternalServerError creates a ValidateHostCommissionSpecInternalServerError with default headers values

func (*ValidateHostCommissionSpecInternalServerError) Code added in v0.3.0

Code gets the status code for the validate host commission spec internal server error response

func (*ValidateHostCommissionSpecInternalServerError) Error added in v0.3.0

func (*ValidateHostCommissionSpecInternalServerError) IsClientError added in v0.3.0

IsClientError returns true when this validate host commission spec internal server error response has a 4xx status code

func (*ValidateHostCommissionSpecInternalServerError) IsCode added in v0.3.0

IsCode returns true when this validate host commission spec internal server error response a status code equal to that given

func (*ValidateHostCommissionSpecInternalServerError) IsRedirect added in v0.3.0

IsRedirect returns true when this validate host commission spec internal server error response has a 3xx status code

func (*ValidateHostCommissionSpecInternalServerError) IsServerError added in v0.3.0

IsServerError returns true when this validate host commission spec internal server error response has a 5xx status code

func (*ValidateHostCommissionSpecInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this validate host commission spec internal server error response has a 2xx status code

func (*ValidateHostCommissionSpecInternalServerError) String added in v0.3.0

type ValidateHostCommissionSpecOK added in v0.3.0

type ValidateHostCommissionSpecOK struct {
	Payload *models.Validation
}

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

OK

func NewValidateHostCommissionSpecOK added in v0.3.0

func NewValidateHostCommissionSpecOK() *ValidateHostCommissionSpecOK

NewValidateHostCommissionSpecOK creates a ValidateHostCommissionSpecOK with default headers values

func (*ValidateHostCommissionSpecOK) Code added in v0.3.0

Code gets the status code for the validate host commission spec o k response

func (*ValidateHostCommissionSpecOK) Error added in v0.3.0

func (*ValidateHostCommissionSpecOK) GetPayload added in v0.3.0

func (*ValidateHostCommissionSpecOK) IsClientError added in v0.3.0

func (o *ValidateHostCommissionSpecOK) IsClientError() bool

IsClientError returns true when this validate host commission spec o k response has a 4xx status code

func (*ValidateHostCommissionSpecOK) IsCode added in v0.3.0

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

IsCode returns true when this validate host commission spec o k response a status code equal to that given

func (*ValidateHostCommissionSpecOK) IsRedirect added in v0.3.0

func (o *ValidateHostCommissionSpecOK) IsRedirect() bool

IsRedirect returns true when this validate host commission spec o k response has a 3xx status code

func (*ValidateHostCommissionSpecOK) IsServerError added in v0.3.0

func (o *ValidateHostCommissionSpecOK) IsServerError() bool

IsServerError returns true when this validate host commission spec o k response has a 5xx status code

func (*ValidateHostCommissionSpecOK) IsSuccess added in v0.3.0

func (o *ValidateHostCommissionSpecOK) IsSuccess() bool

IsSuccess returns true when this validate host commission spec o k response has a 2xx status code

func (*ValidateHostCommissionSpecOK) String added in v0.3.0

type ValidateHostCommissionSpecParams added in v0.3.0

type ValidateHostCommissionSpecParams struct {

	/* HostCommissionSpecs.

	   hostCommissionSpecs
	*/
	HostCommissionSpecs []*models.HostCommissionSpec

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

ValidateHostCommissionSpecParams contains all the parameters to send to the API endpoint

for the validate host commission spec operation.

Typically these are written to a http.Request.

func NewValidateHostCommissionSpecParams added in v0.3.0

func NewValidateHostCommissionSpecParams() *ValidateHostCommissionSpecParams

NewValidateHostCommissionSpecParams creates a new ValidateHostCommissionSpecParams 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 NewValidateHostCommissionSpecParamsWithContext added in v0.3.0

func NewValidateHostCommissionSpecParamsWithContext(ctx context.Context) *ValidateHostCommissionSpecParams

NewValidateHostCommissionSpecParamsWithContext creates a new ValidateHostCommissionSpecParams object with the ability to set a context for a request.

func NewValidateHostCommissionSpecParamsWithHTTPClient added in v0.3.0

func NewValidateHostCommissionSpecParamsWithHTTPClient(client *http.Client) *ValidateHostCommissionSpecParams

NewValidateHostCommissionSpecParamsWithHTTPClient creates a new ValidateHostCommissionSpecParams object with the ability to set a custom HTTPClient for a request.

func NewValidateHostCommissionSpecParamsWithTimeout added in v0.3.0

func NewValidateHostCommissionSpecParamsWithTimeout(timeout time.Duration) *ValidateHostCommissionSpecParams

NewValidateHostCommissionSpecParamsWithTimeout creates a new ValidateHostCommissionSpecParams object with the ability to set a timeout on a request.

func (*ValidateHostCommissionSpecParams) SetContext added in v0.3.0

SetContext adds the context to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) SetDefaults added in v0.3.0

func (o *ValidateHostCommissionSpecParams) SetDefaults()

SetDefaults hydrates default values in the validate host commission spec params (not the query body).

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

func (*ValidateHostCommissionSpecParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) SetHostCommissionSpecs added in v0.3.0

func (o *ValidateHostCommissionSpecParams) SetHostCommissionSpecs(hostCommissionSpecs []*models.HostCommissionSpec)

SetHostCommissionSpecs adds the hostCommissionSpecs to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) WithContext added in v0.3.0

WithContext adds the context to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the validate host commission spec params (not the query body).

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

func (*ValidateHostCommissionSpecParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) WithHostCommissionSpecs added in v0.3.0

func (o *ValidateHostCommissionSpecParams) WithHostCommissionSpecs(hostCommissionSpecs []*models.HostCommissionSpec) *ValidateHostCommissionSpecParams

WithHostCommissionSpecs adds the hostCommissionSpecs to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the validate host commission spec params

func (*ValidateHostCommissionSpecParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type ValidateHostCommissionSpecReader added in v0.3.0

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

ValidateHostCommissionSpecReader is a Reader for the ValidateHostCommissionSpec structure.

func (*ValidateHostCommissionSpecReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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