Documentation ¶
Index ¶
- type AllocateIPConflict
- func (o *AllocateIPConflict) Code() int
- func (o *AllocateIPConflict) Error() string
- func (o *AllocateIPConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AllocateIPConflict) IsClientError() bool
- func (o *AllocateIPConflict) IsCode(code int) bool
- func (o *AllocateIPConflict) IsRedirect() bool
- func (o *AllocateIPConflict) IsServerError() bool
- func (o *AllocateIPConflict) IsSuccess() bool
- func (o *AllocateIPConflict) String() string
- type AllocateIPCreated
- func (o *AllocateIPCreated) Code() int
- func (o *AllocateIPCreated) Error() string
- func (o *AllocateIPCreated) GetPayload() *models.V1IPResponse
- func (o *AllocateIPCreated) IsClientError() bool
- func (o *AllocateIPCreated) IsCode(code int) bool
- func (o *AllocateIPCreated) IsRedirect() bool
- func (o *AllocateIPCreated) IsServerError() bool
- func (o *AllocateIPCreated) IsSuccess() bool
- func (o *AllocateIPCreated) String() string
- type AllocateIPDefault
- func (o *AllocateIPDefault) Code() int
- func (o *AllocateIPDefault) Error() string
- func (o *AllocateIPDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AllocateIPDefault) IsClientError() bool
- func (o *AllocateIPDefault) IsCode(code int) bool
- func (o *AllocateIPDefault) IsRedirect() bool
- func (o *AllocateIPDefault) IsServerError() bool
- func (o *AllocateIPDefault) IsSuccess() bool
- func (o *AllocateIPDefault) String() string
- type AllocateIPParams
- func (o *AllocateIPParams) SetBody(body *models.V1IPAllocateRequest)
- func (o *AllocateIPParams) SetContext(ctx context.Context)
- func (o *AllocateIPParams) SetDefaults()
- func (o *AllocateIPParams) SetHTTPClient(client *http.Client)
- func (o *AllocateIPParams) SetTimeout(timeout time.Duration)
- func (o *AllocateIPParams) WithBody(body *models.V1IPAllocateRequest) *AllocateIPParams
- func (o *AllocateIPParams) WithContext(ctx context.Context) *AllocateIPParams
- func (o *AllocateIPParams) WithDefaults() *AllocateIPParams
- func (o *AllocateIPParams) WithHTTPClient(client *http.Client) *AllocateIPParams
- func (o *AllocateIPParams) WithTimeout(timeout time.Duration) *AllocateIPParams
- func (o *AllocateIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocateIPReader
- type AllocateSpecificIPConflict
- func (o *AllocateSpecificIPConflict) Code() int
- func (o *AllocateSpecificIPConflict) Error() string
- func (o *AllocateSpecificIPConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AllocateSpecificIPConflict) IsClientError() bool
- func (o *AllocateSpecificIPConflict) IsCode(code int) bool
- func (o *AllocateSpecificIPConflict) IsRedirect() bool
- func (o *AllocateSpecificIPConflict) IsServerError() bool
- func (o *AllocateSpecificIPConflict) IsSuccess() bool
- func (o *AllocateSpecificIPConflict) String() string
- type AllocateSpecificIPCreated
- func (o *AllocateSpecificIPCreated) Code() int
- func (o *AllocateSpecificIPCreated) Error() string
- func (o *AllocateSpecificIPCreated) GetPayload() *models.V1IPResponse
- func (o *AllocateSpecificIPCreated) IsClientError() bool
- func (o *AllocateSpecificIPCreated) IsCode(code int) bool
- func (o *AllocateSpecificIPCreated) IsRedirect() bool
- func (o *AllocateSpecificIPCreated) IsServerError() bool
- func (o *AllocateSpecificIPCreated) IsSuccess() bool
- func (o *AllocateSpecificIPCreated) String() string
- type AllocateSpecificIPDefault
- func (o *AllocateSpecificIPDefault) Code() int
- func (o *AllocateSpecificIPDefault) Error() string
- func (o *AllocateSpecificIPDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AllocateSpecificIPDefault) IsClientError() bool
- func (o *AllocateSpecificIPDefault) IsCode(code int) bool
- func (o *AllocateSpecificIPDefault) IsRedirect() bool
- func (o *AllocateSpecificIPDefault) IsServerError() bool
- func (o *AllocateSpecificIPDefault) IsSuccess() bool
- func (o *AllocateSpecificIPDefault) String() string
- type AllocateSpecificIPParams
- func NewAllocateSpecificIPParams() *AllocateSpecificIPParams
- func NewAllocateSpecificIPParamsWithContext(ctx context.Context) *AllocateSpecificIPParams
- func NewAllocateSpecificIPParamsWithHTTPClient(client *http.Client) *AllocateSpecificIPParams
- func NewAllocateSpecificIPParamsWithTimeout(timeout time.Duration) *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) SetBody(body *models.V1IPAllocateRequest)
- func (o *AllocateSpecificIPParams) SetContext(ctx context.Context)
- func (o *AllocateSpecificIPParams) SetDefaults()
- func (o *AllocateSpecificIPParams) SetHTTPClient(client *http.Client)
- func (o *AllocateSpecificIPParams) SetIP(ip string)
- func (o *AllocateSpecificIPParams) SetTimeout(timeout time.Duration)
- func (o *AllocateSpecificIPParams) WithBody(body *models.V1IPAllocateRequest) *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) WithContext(ctx context.Context) *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) WithDefaults() *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) WithHTTPClient(client *http.Client) *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) WithIP(ip string) *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) WithTimeout(timeout time.Duration) *AllocateSpecificIPParams
- func (o *AllocateSpecificIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocateSpecificIPReader
- type Client
- func (a *Client) AllocateIP(params *AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AllocateIPCreated, error)
- func (a *Client) AllocateSpecificIP(params *AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AllocateSpecificIPCreated, error)
- func (a *Client) FindIP(params *FindIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindIPOK, error)
- func (a *Client) FindIPs(params *FindIPsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindIPsOK, error)
- func (a *Client) FreeIP(params *FreeIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FreeIPOK, error)
- func (a *Client) ListIPs(params *ListIPsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListIPsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIP(params *UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateIPOK, error)
- type ClientOption
- type ClientService
- type FindIPDefault
- func (o *FindIPDefault) Code() int
- func (o *FindIPDefault) Error() string
- func (o *FindIPDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindIPDefault) IsClientError() bool
- func (o *FindIPDefault) IsCode(code int) bool
- func (o *FindIPDefault) IsRedirect() bool
- func (o *FindIPDefault) IsServerError() bool
- func (o *FindIPDefault) IsSuccess() bool
- func (o *FindIPDefault) String() string
- type FindIPOK
- func (o *FindIPOK) Code() int
- func (o *FindIPOK) Error() string
- func (o *FindIPOK) GetPayload() *models.V1IPResponse
- func (o *FindIPOK) IsClientError() bool
- func (o *FindIPOK) IsCode(code int) bool
- func (o *FindIPOK) IsRedirect() bool
- func (o *FindIPOK) IsServerError() bool
- func (o *FindIPOK) IsSuccess() bool
- func (o *FindIPOK) String() string
- type FindIPParams
- func (o *FindIPParams) SetContext(ctx context.Context)
- func (o *FindIPParams) SetDefaults()
- func (o *FindIPParams) SetHTTPClient(client *http.Client)
- func (o *FindIPParams) SetID(id string)
- func (o *FindIPParams) SetTimeout(timeout time.Duration)
- func (o *FindIPParams) WithContext(ctx context.Context) *FindIPParams
- func (o *FindIPParams) WithDefaults() *FindIPParams
- func (o *FindIPParams) WithHTTPClient(client *http.Client) *FindIPParams
- func (o *FindIPParams) WithID(id string) *FindIPParams
- func (o *FindIPParams) WithTimeout(timeout time.Duration) *FindIPParams
- func (o *FindIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindIPReader
- type FindIPsDefault
- func (o *FindIPsDefault) Code() int
- func (o *FindIPsDefault) Error() string
- func (o *FindIPsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindIPsDefault) IsClientError() bool
- func (o *FindIPsDefault) IsCode(code int) bool
- func (o *FindIPsDefault) IsRedirect() bool
- func (o *FindIPsDefault) IsServerError() bool
- func (o *FindIPsDefault) IsSuccess() bool
- func (o *FindIPsDefault) String() string
- type FindIPsOK
- func (o *FindIPsOK) Code() int
- func (o *FindIPsOK) Error() string
- func (o *FindIPsOK) GetPayload() []*models.V1IPResponse
- func (o *FindIPsOK) IsClientError() bool
- func (o *FindIPsOK) IsCode(code int) bool
- func (o *FindIPsOK) IsRedirect() bool
- func (o *FindIPsOK) IsServerError() bool
- func (o *FindIPsOK) IsSuccess() bool
- func (o *FindIPsOK) String() string
- type FindIPsParams
- func (o *FindIPsParams) SetBody(body *models.V1IPFindRequest)
- func (o *FindIPsParams) SetContext(ctx context.Context)
- func (o *FindIPsParams) SetDefaults()
- func (o *FindIPsParams) SetHTTPClient(client *http.Client)
- func (o *FindIPsParams) SetTimeout(timeout time.Duration)
- func (o *FindIPsParams) WithBody(body *models.V1IPFindRequest) *FindIPsParams
- func (o *FindIPsParams) WithContext(ctx context.Context) *FindIPsParams
- func (o *FindIPsParams) WithDefaults() *FindIPsParams
- func (o *FindIPsParams) WithHTTPClient(client *http.Client) *FindIPsParams
- func (o *FindIPsParams) WithTimeout(timeout time.Duration) *FindIPsParams
- func (o *FindIPsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindIPsReader
- type FreeIPDefault
- func (o *FreeIPDefault) Code() int
- func (o *FreeIPDefault) Error() string
- func (o *FreeIPDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FreeIPDefault) IsClientError() bool
- func (o *FreeIPDefault) IsCode(code int) bool
- func (o *FreeIPDefault) IsRedirect() bool
- func (o *FreeIPDefault) IsServerError() bool
- func (o *FreeIPDefault) IsSuccess() bool
- func (o *FreeIPDefault) String() string
- type FreeIPOK
- func (o *FreeIPOK) Code() int
- func (o *FreeIPOK) Error() string
- func (o *FreeIPOK) GetPayload() *models.V1IPResponse
- func (o *FreeIPOK) IsClientError() bool
- func (o *FreeIPOK) IsCode(code int) bool
- func (o *FreeIPOK) IsRedirect() bool
- func (o *FreeIPOK) IsServerError() bool
- func (o *FreeIPOK) IsSuccess() bool
- func (o *FreeIPOK) String() string
- type FreeIPParams
- func (o *FreeIPParams) SetContext(ctx context.Context)
- func (o *FreeIPParams) SetDefaults()
- func (o *FreeIPParams) SetHTTPClient(client *http.Client)
- func (o *FreeIPParams) SetID(id string)
- func (o *FreeIPParams) SetTimeout(timeout time.Duration)
- func (o *FreeIPParams) WithContext(ctx context.Context) *FreeIPParams
- func (o *FreeIPParams) WithDefaults() *FreeIPParams
- func (o *FreeIPParams) WithHTTPClient(client *http.Client) *FreeIPParams
- func (o *FreeIPParams) WithID(id string) *FreeIPParams
- func (o *FreeIPParams) WithTimeout(timeout time.Duration) *FreeIPParams
- func (o *FreeIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FreeIPReader
- type ListIPsDefault
- func (o *ListIPsDefault) Code() int
- func (o *ListIPsDefault) Error() string
- func (o *ListIPsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListIPsDefault) IsClientError() bool
- func (o *ListIPsDefault) IsCode(code int) bool
- func (o *ListIPsDefault) IsRedirect() bool
- func (o *ListIPsDefault) IsServerError() bool
- func (o *ListIPsDefault) IsSuccess() bool
- func (o *ListIPsDefault) String() string
- type ListIPsOK
- func (o *ListIPsOK) Code() int
- func (o *ListIPsOK) Error() string
- func (o *ListIPsOK) GetPayload() []*models.V1IPResponse
- func (o *ListIPsOK) IsClientError() bool
- func (o *ListIPsOK) IsCode(code int) bool
- func (o *ListIPsOK) IsRedirect() bool
- func (o *ListIPsOK) IsServerError() bool
- func (o *ListIPsOK) IsSuccess() bool
- func (o *ListIPsOK) String() string
- type ListIPsParams
- func (o *ListIPsParams) SetContext(ctx context.Context)
- func (o *ListIPsParams) SetDefaults()
- func (o *ListIPsParams) SetHTTPClient(client *http.Client)
- func (o *ListIPsParams) SetTimeout(timeout time.Duration)
- func (o *ListIPsParams) WithContext(ctx context.Context) *ListIPsParams
- func (o *ListIPsParams) WithDefaults() *ListIPsParams
- func (o *ListIPsParams) WithHTTPClient(client *http.Client) *ListIPsParams
- func (o *ListIPsParams) WithTimeout(timeout time.Duration) *ListIPsParams
- func (o *ListIPsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListIPsReader
- type UpdateIPConflict
- func (o *UpdateIPConflict) Code() int
- func (o *UpdateIPConflict) Error() string
- func (o *UpdateIPConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateIPConflict) IsClientError() bool
- func (o *UpdateIPConflict) IsCode(code int) bool
- func (o *UpdateIPConflict) IsRedirect() bool
- func (o *UpdateIPConflict) IsServerError() bool
- func (o *UpdateIPConflict) IsSuccess() bool
- func (o *UpdateIPConflict) String() string
- type UpdateIPDefault
- func (o *UpdateIPDefault) Code() int
- func (o *UpdateIPDefault) Error() string
- func (o *UpdateIPDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateIPDefault) IsClientError() bool
- func (o *UpdateIPDefault) IsCode(code int) bool
- func (o *UpdateIPDefault) IsRedirect() bool
- func (o *UpdateIPDefault) IsServerError() bool
- func (o *UpdateIPDefault) IsSuccess() bool
- func (o *UpdateIPDefault) String() string
- type UpdateIPOK
- func (o *UpdateIPOK) Code() int
- func (o *UpdateIPOK) Error() string
- func (o *UpdateIPOK) GetPayload() *models.V1IPResponse
- func (o *UpdateIPOK) IsClientError() bool
- func (o *UpdateIPOK) IsCode(code int) bool
- func (o *UpdateIPOK) IsRedirect() bool
- func (o *UpdateIPOK) IsServerError() bool
- func (o *UpdateIPOK) IsSuccess() bool
- func (o *UpdateIPOK) String() string
- type UpdateIPParams
- func (o *UpdateIPParams) SetBody(body *models.V1IPUpdateRequest)
- func (o *UpdateIPParams) SetContext(ctx context.Context)
- func (o *UpdateIPParams) SetDefaults()
- func (o *UpdateIPParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIPParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIPParams) WithBody(body *models.V1IPUpdateRequest) *UpdateIPParams
- func (o *UpdateIPParams) WithContext(ctx context.Context) *UpdateIPParams
- func (o *UpdateIPParams) WithDefaults() *UpdateIPParams
- func (o *UpdateIPParams) WithHTTPClient(client *http.Client) *UpdateIPParams
- func (o *UpdateIPParams) WithTimeout(timeout time.Duration) *UpdateIPParams
- func (o *UpdateIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIPReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocateIPConflict ¶ added in v0.19.0
type AllocateIPConflict struct {
Payload *httperrors.HTTPErrorResponse
}
AllocateIPConflict describes a response with status code 409, with default header values.
Conflict
func NewAllocateIPConflict ¶ added in v0.19.0
func NewAllocateIPConflict() *AllocateIPConflict
NewAllocateIPConflict creates a AllocateIPConflict with default headers values
func (*AllocateIPConflict) Code ¶ added in v0.22.1
func (o *AllocateIPConflict) Code() int
Code gets the status code for the allocate Ip conflict response
func (*AllocateIPConflict) Error ¶ added in v0.19.0
func (o *AllocateIPConflict) Error() string
func (*AllocateIPConflict) GetPayload ¶ added in v0.19.0
func (o *AllocateIPConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*AllocateIPConflict) IsClientError ¶ added in v0.19.3
func (o *AllocateIPConflict) IsClientError() bool
IsClientError returns true when this allocate Ip conflict response has a 4xx status code
func (*AllocateIPConflict) IsCode ¶ added in v0.19.3
func (o *AllocateIPConflict) IsCode(code int) bool
IsCode returns true when this allocate Ip conflict response a status code equal to that given
func (*AllocateIPConflict) IsRedirect ¶ added in v0.19.3
func (o *AllocateIPConflict) IsRedirect() bool
IsRedirect returns true when this allocate Ip conflict response has a 3xx status code
func (*AllocateIPConflict) IsServerError ¶ added in v0.19.3
func (o *AllocateIPConflict) IsServerError() bool
IsServerError returns true when this allocate Ip conflict response has a 5xx status code
func (*AllocateIPConflict) IsSuccess ¶ added in v0.19.3
func (o *AllocateIPConflict) IsSuccess() bool
IsSuccess returns true when this allocate Ip conflict response has a 2xx status code
func (*AllocateIPConflict) String ¶ added in v0.19.3
func (o *AllocateIPConflict) String() string
type AllocateIPCreated ¶
type AllocateIPCreated struct {
Payload *models.V1IPResponse
}
AllocateIPCreated describes a response with status code 201, with default header values.
Created
func NewAllocateIPCreated ¶
func NewAllocateIPCreated() *AllocateIPCreated
NewAllocateIPCreated creates a AllocateIPCreated with default headers values
func (*AllocateIPCreated) Code ¶ added in v0.22.1
func (o *AllocateIPCreated) Code() int
Code gets the status code for the allocate Ip created response
func (*AllocateIPCreated) Error ¶
func (o *AllocateIPCreated) Error() string
func (*AllocateIPCreated) GetPayload ¶ added in v0.11.0
func (o *AllocateIPCreated) GetPayload() *models.V1IPResponse
func (*AllocateIPCreated) IsClientError ¶ added in v0.19.3
func (o *AllocateIPCreated) IsClientError() bool
IsClientError returns true when this allocate Ip created response has a 4xx status code
func (*AllocateIPCreated) IsCode ¶ added in v0.19.3
func (o *AllocateIPCreated) IsCode(code int) bool
IsCode returns true when this allocate Ip created response a status code equal to that given
func (*AllocateIPCreated) IsRedirect ¶ added in v0.19.3
func (o *AllocateIPCreated) IsRedirect() bool
IsRedirect returns true when this allocate Ip created response has a 3xx status code
func (*AllocateIPCreated) IsServerError ¶ added in v0.19.3
func (o *AllocateIPCreated) IsServerError() bool
IsServerError returns true when this allocate Ip created response has a 5xx status code
func (*AllocateIPCreated) IsSuccess ¶ added in v0.19.3
func (o *AllocateIPCreated) IsSuccess() bool
IsSuccess returns true when this allocate Ip created response has a 2xx status code
func (*AllocateIPCreated) String ¶ added in v0.19.3
func (o *AllocateIPCreated) String() string
type AllocateIPDefault ¶
type AllocateIPDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AllocateIPDefault describes a response with status code -1, with default header values.
Error
func NewAllocateIPDefault ¶
func NewAllocateIPDefault(code int) *AllocateIPDefault
NewAllocateIPDefault creates a AllocateIPDefault with default headers values
func (*AllocateIPDefault) Code ¶
func (o *AllocateIPDefault) Code() int
Code gets the status code for the allocate IP default response
func (*AllocateIPDefault) Error ¶
func (o *AllocateIPDefault) Error() string
func (*AllocateIPDefault) GetPayload ¶ added in v0.11.0
func (o *AllocateIPDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*AllocateIPDefault) IsClientError ¶ added in v0.19.3
func (o *AllocateIPDefault) IsClientError() bool
IsClientError returns true when this allocate IP default response has a 4xx status code
func (*AllocateIPDefault) IsCode ¶ added in v0.19.3
func (o *AllocateIPDefault) IsCode(code int) bool
IsCode returns true when this allocate IP default response a status code equal to that given
func (*AllocateIPDefault) IsRedirect ¶ added in v0.19.3
func (o *AllocateIPDefault) IsRedirect() bool
IsRedirect returns true when this allocate IP default response has a 3xx status code
func (*AllocateIPDefault) IsServerError ¶ added in v0.19.3
func (o *AllocateIPDefault) IsServerError() bool
IsServerError returns true when this allocate IP default response has a 5xx status code
func (*AllocateIPDefault) IsSuccess ¶ added in v0.19.3
func (o *AllocateIPDefault) IsSuccess() bool
IsSuccess returns true when this allocate IP default response has a 2xx status code
func (*AllocateIPDefault) String ¶ added in v0.19.3
func (o *AllocateIPDefault) String() string
type AllocateIPParams ¶
type AllocateIPParams struct { // Body. Body *models.V1IPAllocateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocateIPParams contains all the parameters to send to the API endpoint
for the allocate IP operation. Typically these are written to a http.Request.
func NewAllocateIPParams ¶
func NewAllocateIPParams() *AllocateIPParams
NewAllocateIPParams creates a new AllocateIPParams 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 NewAllocateIPParamsWithContext ¶
func NewAllocateIPParamsWithContext(ctx context.Context) *AllocateIPParams
NewAllocateIPParamsWithContext creates a new AllocateIPParams object with the ability to set a context for a request.
func NewAllocateIPParamsWithHTTPClient ¶
func NewAllocateIPParamsWithHTTPClient(client *http.Client) *AllocateIPParams
NewAllocateIPParamsWithHTTPClient creates a new AllocateIPParams object with the ability to set a custom HTTPClient for a request.
func NewAllocateIPParamsWithTimeout ¶
func NewAllocateIPParamsWithTimeout(timeout time.Duration) *AllocateIPParams
NewAllocateIPParamsWithTimeout creates a new AllocateIPParams object with the ability to set a timeout on a request.
func (*AllocateIPParams) SetBody ¶
func (o *AllocateIPParams) SetBody(body *models.V1IPAllocateRequest)
SetBody adds the body to the allocate IP params
func (*AllocateIPParams) SetContext ¶
func (o *AllocateIPParams) SetContext(ctx context.Context)
SetContext adds the context to the allocate IP params
func (*AllocateIPParams) SetDefaults ¶ added in v0.12.1
func (o *AllocateIPParams) SetDefaults()
SetDefaults hydrates default values in the allocate IP params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateIPParams) SetHTTPClient ¶
func (o *AllocateIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocate IP params
func (*AllocateIPParams) SetTimeout ¶
func (o *AllocateIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocate IP params
func (*AllocateIPParams) WithBody ¶
func (o *AllocateIPParams) WithBody(body *models.V1IPAllocateRequest) *AllocateIPParams
WithBody adds the body to the allocate IP params
func (*AllocateIPParams) WithContext ¶
func (o *AllocateIPParams) WithContext(ctx context.Context) *AllocateIPParams
WithContext adds the context to the allocate IP params
func (*AllocateIPParams) WithDefaults ¶ added in v0.12.1
func (o *AllocateIPParams) WithDefaults() *AllocateIPParams
WithDefaults hydrates default values in the allocate IP params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateIPParams) WithHTTPClient ¶
func (o *AllocateIPParams) WithHTTPClient(client *http.Client) *AllocateIPParams
WithHTTPClient adds the HTTPClient to the allocate IP params
func (*AllocateIPParams) WithTimeout ¶
func (o *AllocateIPParams) WithTimeout(timeout time.Duration) *AllocateIPParams
WithTimeout adds the timeout to the allocate IP params
func (*AllocateIPParams) WriteToRequest ¶
func (o *AllocateIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocateIPReader ¶
type AllocateIPReader struct {
// contains filtered or unexported fields
}
AllocateIPReader is a Reader for the AllocateIP structure.
func (*AllocateIPReader) ReadResponse ¶
func (o *AllocateIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllocateSpecificIPConflict ¶ added in v0.19.0
type AllocateSpecificIPConflict struct {
Payload *httperrors.HTTPErrorResponse
}
AllocateSpecificIPConflict describes a response with status code 409, with default header values.
Conflict
func NewAllocateSpecificIPConflict ¶ added in v0.19.0
func NewAllocateSpecificIPConflict() *AllocateSpecificIPConflict
NewAllocateSpecificIPConflict creates a AllocateSpecificIPConflict with default headers values
func (*AllocateSpecificIPConflict) Code ¶ added in v0.22.1
func (o *AllocateSpecificIPConflict) Code() int
Code gets the status code for the allocate specific Ip conflict response
func (*AllocateSpecificIPConflict) Error ¶ added in v0.19.0
func (o *AllocateSpecificIPConflict) Error() string
func (*AllocateSpecificIPConflict) GetPayload ¶ added in v0.19.0
func (o *AllocateSpecificIPConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*AllocateSpecificIPConflict) IsClientError ¶ added in v0.19.3
func (o *AllocateSpecificIPConflict) IsClientError() bool
IsClientError returns true when this allocate specific Ip conflict response has a 4xx status code
func (*AllocateSpecificIPConflict) IsCode ¶ added in v0.19.3
func (o *AllocateSpecificIPConflict) IsCode(code int) bool
IsCode returns true when this allocate specific Ip conflict response a status code equal to that given
func (*AllocateSpecificIPConflict) IsRedirect ¶ added in v0.19.3
func (o *AllocateSpecificIPConflict) IsRedirect() bool
IsRedirect returns true when this allocate specific Ip conflict response has a 3xx status code
func (*AllocateSpecificIPConflict) IsServerError ¶ added in v0.19.3
func (o *AllocateSpecificIPConflict) IsServerError() bool
IsServerError returns true when this allocate specific Ip conflict response has a 5xx status code
func (*AllocateSpecificIPConflict) IsSuccess ¶ added in v0.19.3
func (o *AllocateSpecificIPConflict) IsSuccess() bool
IsSuccess returns true when this allocate specific Ip conflict response has a 2xx status code
func (*AllocateSpecificIPConflict) String ¶ added in v0.19.3
func (o *AllocateSpecificIPConflict) String() string
type AllocateSpecificIPCreated ¶
type AllocateSpecificIPCreated struct {
Payload *models.V1IPResponse
}
AllocateSpecificIPCreated describes a response with status code 201, with default header values.
Created
func NewAllocateSpecificIPCreated ¶
func NewAllocateSpecificIPCreated() *AllocateSpecificIPCreated
NewAllocateSpecificIPCreated creates a AllocateSpecificIPCreated with default headers values
func (*AllocateSpecificIPCreated) Code ¶ added in v0.22.1
func (o *AllocateSpecificIPCreated) Code() int
Code gets the status code for the allocate specific Ip created response
func (*AllocateSpecificIPCreated) Error ¶
func (o *AllocateSpecificIPCreated) Error() string
func (*AllocateSpecificIPCreated) GetPayload ¶ added in v0.11.0
func (o *AllocateSpecificIPCreated) GetPayload() *models.V1IPResponse
func (*AllocateSpecificIPCreated) IsClientError ¶ added in v0.19.3
func (o *AllocateSpecificIPCreated) IsClientError() bool
IsClientError returns true when this allocate specific Ip created response has a 4xx status code
func (*AllocateSpecificIPCreated) IsCode ¶ added in v0.19.3
func (o *AllocateSpecificIPCreated) IsCode(code int) bool
IsCode returns true when this allocate specific Ip created response a status code equal to that given
func (*AllocateSpecificIPCreated) IsRedirect ¶ added in v0.19.3
func (o *AllocateSpecificIPCreated) IsRedirect() bool
IsRedirect returns true when this allocate specific Ip created response has a 3xx status code
func (*AllocateSpecificIPCreated) IsServerError ¶ added in v0.19.3
func (o *AllocateSpecificIPCreated) IsServerError() bool
IsServerError returns true when this allocate specific Ip created response has a 5xx status code
func (*AllocateSpecificIPCreated) IsSuccess ¶ added in v0.19.3
func (o *AllocateSpecificIPCreated) IsSuccess() bool
IsSuccess returns true when this allocate specific Ip created response has a 2xx status code
func (*AllocateSpecificIPCreated) String ¶ added in v0.19.3
func (o *AllocateSpecificIPCreated) String() string
type AllocateSpecificIPDefault ¶
type AllocateSpecificIPDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AllocateSpecificIPDefault describes a response with status code -1, with default header values.
Error
func NewAllocateSpecificIPDefault ¶
func NewAllocateSpecificIPDefault(code int) *AllocateSpecificIPDefault
NewAllocateSpecificIPDefault creates a AllocateSpecificIPDefault with default headers values
func (*AllocateSpecificIPDefault) Code ¶
func (o *AllocateSpecificIPDefault) Code() int
Code gets the status code for the allocate specific IP default response
func (*AllocateSpecificIPDefault) Error ¶
func (o *AllocateSpecificIPDefault) Error() string
func (*AllocateSpecificIPDefault) GetPayload ¶ added in v0.11.0
func (o *AllocateSpecificIPDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*AllocateSpecificIPDefault) IsClientError ¶ added in v0.19.3
func (o *AllocateSpecificIPDefault) IsClientError() bool
IsClientError returns true when this allocate specific IP default response has a 4xx status code
func (*AllocateSpecificIPDefault) IsCode ¶ added in v0.19.3
func (o *AllocateSpecificIPDefault) IsCode(code int) bool
IsCode returns true when this allocate specific IP default response a status code equal to that given
func (*AllocateSpecificIPDefault) IsRedirect ¶ added in v0.19.3
func (o *AllocateSpecificIPDefault) IsRedirect() bool
IsRedirect returns true when this allocate specific IP default response has a 3xx status code
func (*AllocateSpecificIPDefault) IsServerError ¶ added in v0.19.3
func (o *AllocateSpecificIPDefault) IsServerError() bool
IsServerError returns true when this allocate specific IP default response has a 5xx status code
func (*AllocateSpecificIPDefault) IsSuccess ¶ added in v0.19.3
func (o *AllocateSpecificIPDefault) IsSuccess() bool
IsSuccess returns true when this allocate specific IP default response has a 2xx status code
func (*AllocateSpecificIPDefault) String ¶ added in v0.19.3
func (o *AllocateSpecificIPDefault) String() string
type AllocateSpecificIPParams ¶
type AllocateSpecificIPParams struct { // Body. Body *models.V1IPAllocateRequest /* IP. ip to try to allocate */ IP string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocateSpecificIPParams contains all the parameters to send to the API endpoint
for the allocate specific IP operation. Typically these are written to a http.Request.
func NewAllocateSpecificIPParams ¶
func NewAllocateSpecificIPParams() *AllocateSpecificIPParams
NewAllocateSpecificIPParams creates a new AllocateSpecificIPParams 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 NewAllocateSpecificIPParamsWithContext ¶
func NewAllocateSpecificIPParamsWithContext(ctx context.Context) *AllocateSpecificIPParams
NewAllocateSpecificIPParamsWithContext creates a new AllocateSpecificIPParams object with the ability to set a context for a request.
func NewAllocateSpecificIPParamsWithHTTPClient ¶
func NewAllocateSpecificIPParamsWithHTTPClient(client *http.Client) *AllocateSpecificIPParams
NewAllocateSpecificIPParamsWithHTTPClient creates a new AllocateSpecificIPParams object with the ability to set a custom HTTPClient for a request.
func NewAllocateSpecificIPParamsWithTimeout ¶
func NewAllocateSpecificIPParamsWithTimeout(timeout time.Duration) *AllocateSpecificIPParams
NewAllocateSpecificIPParamsWithTimeout creates a new AllocateSpecificIPParams object with the ability to set a timeout on a request.
func (*AllocateSpecificIPParams) SetBody ¶
func (o *AllocateSpecificIPParams) SetBody(body *models.V1IPAllocateRequest)
SetBody adds the body to the allocate specific IP params
func (*AllocateSpecificIPParams) SetContext ¶
func (o *AllocateSpecificIPParams) SetContext(ctx context.Context)
SetContext adds the context to the allocate specific IP params
func (*AllocateSpecificIPParams) SetDefaults ¶ added in v0.12.1
func (o *AllocateSpecificIPParams) SetDefaults()
SetDefaults hydrates default values in the allocate specific IP params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateSpecificIPParams) SetHTTPClient ¶
func (o *AllocateSpecificIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocate specific IP params
func (*AllocateSpecificIPParams) SetIP ¶
func (o *AllocateSpecificIPParams) SetIP(ip string)
SetIP adds the ip to the allocate specific IP params
func (*AllocateSpecificIPParams) SetTimeout ¶
func (o *AllocateSpecificIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocate specific IP params
func (*AllocateSpecificIPParams) WithBody ¶
func (o *AllocateSpecificIPParams) WithBody(body *models.V1IPAllocateRequest) *AllocateSpecificIPParams
WithBody adds the body to the allocate specific IP params
func (*AllocateSpecificIPParams) WithContext ¶
func (o *AllocateSpecificIPParams) WithContext(ctx context.Context) *AllocateSpecificIPParams
WithContext adds the context to the allocate specific IP params
func (*AllocateSpecificIPParams) WithDefaults ¶ added in v0.12.1
func (o *AllocateSpecificIPParams) WithDefaults() *AllocateSpecificIPParams
WithDefaults hydrates default values in the allocate specific IP params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateSpecificIPParams) WithHTTPClient ¶
func (o *AllocateSpecificIPParams) WithHTTPClient(client *http.Client) *AllocateSpecificIPParams
WithHTTPClient adds the HTTPClient to the allocate specific IP params
func (*AllocateSpecificIPParams) WithIP ¶
func (o *AllocateSpecificIPParams) WithIP(ip string) *AllocateSpecificIPParams
WithIP adds the ip to the allocate specific IP params
func (*AllocateSpecificIPParams) WithTimeout ¶
func (o *AllocateSpecificIPParams) WithTimeout(timeout time.Duration) *AllocateSpecificIPParams
WithTimeout adds the timeout to the allocate specific IP params
func (*AllocateSpecificIPParams) WriteToRequest ¶
func (o *AllocateSpecificIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocateSpecificIPReader ¶
type AllocateSpecificIPReader struct {
// contains filtered or unexported fields
}
AllocateSpecificIPReader is a Reader for the AllocateSpecificIP structure.
func (*AllocateSpecificIPReader) ReadResponse ¶
func (o *AllocateSpecificIPReader) 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 ip API
func (*Client) AllocateIP ¶
func (a *Client) AllocateIP(params *AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateIPCreated, error)
AllocateIP allocates an ip in the given network
func (*Client) AllocateSpecificIP ¶
func (a *Client) AllocateSpecificIP(params *AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateSpecificIPCreated, error)
AllocateSpecificIP allocates a specific ip in the given network
func (*Client) FindIP ¶
func (a *Client) FindIP(params *FindIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPOK, error)
FindIP gets ip by id
func (*Client) FindIPs ¶ added in v0.11.0
func (a *Client) FindIPs(params *FindIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPsOK, error)
FindIPs gets all ips that match given properties
func (*Client) FreeIP ¶
func (a *Client) FreeIP(params *FreeIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeIPOK, error)
FreeIP frees an ip
func (*Client) ListIPs ¶ added in v0.11.0
func (a *Client) ListIPs(params *ListIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIPsOK, error)
ListIPs gets all ips
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateIP ¶
func (a *Client) UpdateIP(params *UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIPOK, error)
UpdateIP updates an ip if the ip was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.13.1
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v0.11.0
type ClientService interface { AllocateIP(params *AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateIPCreated, error) AllocateSpecificIP(params *AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateSpecificIPCreated, error) FindIP(params *FindIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPOK, error) FindIPs(params *FindIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPsOK, error) FreeIP(params *FreeIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeIPOK, error) ListIPs(params *ListIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIPsOK, error) UpdateIP(params *UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIPOK, 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 ip API client.
func NewClientWithBasicAuth ¶ added in v0.32.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new ip API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.32.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new ip API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type FindIPDefault ¶
type FindIPDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindIPDefault describes a response with status code -1, with default header values.
Error
func NewFindIPDefault ¶
func NewFindIPDefault(code int) *FindIPDefault
NewFindIPDefault creates a FindIPDefault with default headers values
func (*FindIPDefault) Code ¶
func (o *FindIPDefault) Code() int
Code gets the status code for the find IP default response
func (*FindIPDefault) Error ¶
func (o *FindIPDefault) Error() string
func (*FindIPDefault) GetPayload ¶ added in v0.11.0
func (o *FindIPDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindIPDefault) IsClientError ¶ added in v0.19.3
func (o *FindIPDefault) IsClientError() bool
IsClientError returns true when this find IP default response has a 4xx status code
func (*FindIPDefault) IsCode ¶ added in v0.19.3
func (o *FindIPDefault) IsCode(code int) bool
IsCode returns true when this find IP default response a status code equal to that given
func (*FindIPDefault) IsRedirect ¶ added in v0.19.3
func (o *FindIPDefault) IsRedirect() bool
IsRedirect returns true when this find IP default response has a 3xx status code
func (*FindIPDefault) IsServerError ¶ added in v0.19.3
func (o *FindIPDefault) IsServerError() bool
IsServerError returns true when this find IP default response has a 5xx status code
func (*FindIPDefault) IsSuccess ¶ added in v0.19.3
func (o *FindIPDefault) IsSuccess() bool
IsSuccess returns true when this find IP default response has a 2xx status code
func (*FindIPDefault) String ¶ added in v0.19.3
func (o *FindIPDefault) String() string
type FindIPOK ¶
type FindIPOK struct {
Payload *models.V1IPResponse
}
FindIPOK describes a response with status code 200, with default header values.
OK
func NewFindIPOK ¶
func NewFindIPOK() *FindIPOK
NewFindIPOK creates a FindIPOK with default headers values
func (*FindIPOK) GetPayload ¶ added in v0.11.0
func (o *FindIPOK) GetPayload() *models.V1IPResponse
func (*FindIPOK) IsClientError ¶ added in v0.19.3
IsClientError returns true when this find Ip o k response has a 4xx status code
func (*FindIPOK) IsCode ¶ added in v0.19.3
IsCode returns true when this find Ip o k response a status code equal to that given
func (*FindIPOK) IsRedirect ¶ added in v0.19.3
IsRedirect returns true when this find Ip o k response has a 3xx status code
func (*FindIPOK) IsServerError ¶ added in v0.19.3
IsServerError returns true when this find Ip o k response has a 5xx status code
type FindIPParams ¶
type FindIPParams struct { /* ID. identifier of the ip */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindIPParams contains all the parameters to send to the API endpoint
for the find IP operation. Typically these are written to a http.Request.
func NewFindIPParams ¶
func NewFindIPParams() *FindIPParams
NewFindIPParams creates a new FindIPParams 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 NewFindIPParamsWithContext ¶
func NewFindIPParamsWithContext(ctx context.Context) *FindIPParams
NewFindIPParamsWithContext creates a new FindIPParams object with the ability to set a context for a request.
func NewFindIPParamsWithHTTPClient ¶
func NewFindIPParamsWithHTTPClient(client *http.Client) *FindIPParams
NewFindIPParamsWithHTTPClient creates a new FindIPParams object with the ability to set a custom HTTPClient for a request.
func NewFindIPParamsWithTimeout ¶
func NewFindIPParamsWithTimeout(timeout time.Duration) *FindIPParams
NewFindIPParamsWithTimeout creates a new FindIPParams object with the ability to set a timeout on a request.
func (*FindIPParams) SetContext ¶
func (o *FindIPParams) SetContext(ctx context.Context)
SetContext adds the context to the find IP params
func (*FindIPParams) SetDefaults ¶ added in v0.12.1
func (o *FindIPParams) SetDefaults()
SetDefaults hydrates default values in the find IP params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPParams) SetHTTPClient ¶
func (o *FindIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find IP params
func (*FindIPParams) SetID ¶
func (o *FindIPParams) SetID(id string)
SetID adds the id to the find IP params
func (*FindIPParams) SetTimeout ¶
func (o *FindIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find IP params
func (*FindIPParams) WithContext ¶
func (o *FindIPParams) WithContext(ctx context.Context) *FindIPParams
WithContext adds the context to the find IP params
func (*FindIPParams) WithDefaults ¶ added in v0.12.1
func (o *FindIPParams) WithDefaults() *FindIPParams
WithDefaults hydrates default values in the find IP params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPParams) WithHTTPClient ¶
func (o *FindIPParams) WithHTTPClient(client *http.Client) *FindIPParams
WithHTTPClient adds the HTTPClient to the find IP params
func (*FindIPParams) WithID ¶
func (o *FindIPParams) WithID(id string) *FindIPParams
WithID adds the id to the find IP params
func (*FindIPParams) WithTimeout ¶
func (o *FindIPParams) WithTimeout(timeout time.Duration) *FindIPParams
WithTimeout adds the timeout to the find IP params
func (*FindIPParams) WriteToRequest ¶
func (o *FindIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindIPReader ¶
type FindIPReader struct {
// contains filtered or unexported fields
}
FindIPReader is a Reader for the FindIP structure.
func (*FindIPReader) ReadResponse ¶
func (o *FindIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindIPsDefault ¶ added in v0.11.0
type FindIPsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindIPsDefault describes a response with status code -1, with default header values.
Error
func NewFindIPsDefault ¶ added in v0.11.0
func NewFindIPsDefault(code int) *FindIPsDefault
NewFindIPsDefault creates a FindIPsDefault with default headers values
func (*FindIPsDefault) Code ¶ added in v0.11.0
func (o *FindIPsDefault) Code() int
Code gets the status code for the find i ps default response
func (*FindIPsDefault) Error ¶ added in v0.11.0
func (o *FindIPsDefault) Error() string
func (*FindIPsDefault) GetPayload ¶ added in v0.11.0
func (o *FindIPsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindIPsDefault) IsClientError ¶ added in v0.19.3
func (o *FindIPsDefault) IsClientError() bool
IsClientError returns true when this find i ps default response has a 4xx status code
func (*FindIPsDefault) IsCode ¶ added in v0.19.3
func (o *FindIPsDefault) IsCode(code int) bool
IsCode returns true when this find i ps default response a status code equal to that given
func (*FindIPsDefault) IsRedirect ¶ added in v0.19.3
func (o *FindIPsDefault) IsRedirect() bool
IsRedirect returns true when this find i ps default response has a 3xx status code
func (*FindIPsDefault) IsServerError ¶ added in v0.19.3
func (o *FindIPsDefault) IsServerError() bool
IsServerError returns true when this find i ps default response has a 5xx status code
func (*FindIPsDefault) IsSuccess ¶ added in v0.19.3
func (o *FindIPsDefault) IsSuccess() bool
IsSuccess returns true when this find i ps default response has a 2xx status code
func (*FindIPsDefault) String ¶ added in v0.19.3
func (o *FindIPsDefault) String() string
type FindIPsOK ¶ added in v0.11.0
type FindIPsOK struct {
Payload []*models.V1IPResponse
}
FindIPsOK describes a response with status code 200, with default header values.
OK
func NewFindIPsOK ¶ added in v0.11.0
func NewFindIPsOK() *FindIPsOK
NewFindIPsOK creates a FindIPsOK with default headers values
func (*FindIPsOK) GetPayload ¶ added in v0.11.0
func (o *FindIPsOK) GetPayload() []*models.V1IPResponse
func (*FindIPsOK) IsClientError ¶ added in v0.19.3
IsClientError returns true when this find i ps o k response has a 4xx status code
func (*FindIPsOK) IsCode ¶ added in v0.19.3
IsCode returns true when this find i ps o k response a status code equal to that given
func (*FindIPsOK) IsRedirect ¶ added in v0.19.3
IsRedirect returns true when this find i ps o k response has a 3xx status code
func (*FindIPsOK) IsServerError ¶ added in v0.19.3
IsServerError returns true when this find i ps o k response has a 5xx status code
type FindIPsParams ¶ added in v0.11.0
type FindIPsParams struct { // Body. Body *models.V1IPFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindIPsParams contains all the parameters to send to the API endpoint
for the find i ps operation. Typically these are written to a http.Request.
func NewFindIPsParams ¶ added in v0.11.0
func NewFindIPsParams() *FindIPsParams
NewFindIPsParams creates a new FindIPsParams 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 NewFindIPsParamsWithContext ¶ added in v0.11.0
func NewFindIPsParamsWithContext(ctx context.Context) *FindIPsParams
NewFindIPsParamsWithContext creates a new FindIPsParams object with the ability to set a context for a request.
func NewFindIPsParamsWithHTTPClient ¶ added in v0.11.0
func NewFindIPsParamsWithHTTPClient(client *http.Client) *FindIPsParams
NewFindIPsParamsWithHTTPClient creates a new FindIPsParams object with the ability to set a custom HTTPClient for a request.
func NewFindIPsParamsWithTimeout ¶ added in v0.11.0
func NewFindIPsParamsWithTimeout(timeout time.Duration) *FindIPsParams
NewFindIPsParamsWithTimeout creates a new FindIPsParams object with the ability to set a timeout on a request.
func (*FindIPsParams) SetBody ¶ added in v0.11.0
func (o *FindIPsParams) SetBody(body *models.V1IPFindRequest)
SetBody adds the body to the find i ps params
func (*FindIPsParams) SetContext ¶ added in v0.11.0
func (o *FindIPsParams) SetContext(ctx context.Context)
SetContext adds the context to the find i ps params
func (*FindIPsParams) SetDefaults ¶ added in v0.12.1
func (o *FindIPsParams) SetDefaults()
SetDefaults hydrates default values in the find i ps params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPsParams) SetHTTPClient ¶ added in v0.11.0
func (o *FindIPsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find i ps params
func (*FindIPsParams) SetTimeout ¶ added in v0.11.0
func (o *FindIPsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find i ps params
func (*FindIPsParams) WithBody ¶ added in v0.11.0
func (o *FindIPsParams) WithBody(body *models.V1IPFindRequest) *FindIPsParams
WithBody adds the body to the find i ps params
func (*FindIPsParams) WithContext ¶ added in v0.11.0
func (o *FindIPsParams) WithContext(ctx context.Context) *FindIPsParams
WithContext adds the context to the find i ps params
func (*FindIPsParams) WithDefaults ¶ added in v0.12.1
func (o *FindIPsParams) WithDefaults() *FindIPsParams
WithDefaults hydrates default values in the find i ps params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPsParams) WithHTTPClient ¶ added in v0.11.0
func (o *FindIPsParams) WithHTTPClient(client *http.Client) *FindIPsParams
WithHTTPClient adds the HTTPClient to the find i ps params
func (*FindIPsParams) WithTimeout ¶ added in v0.11.0
func (o *FindIPsParams) WithTimeout(timeout time.Duration) *FindIPsParams
WithTimeout adds the timeout to the find i ps params
func (*FindIPsParams) WriteToRequest ¶ added in v0.11.0
func (o *FindIPsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindIPsReader ¶ added in v0.11.0
type FindIPsReader struct {
// contains filtered or unexported fields
}
FindIPsReader is a Reader for the FindIPs structure.
func (*FindIPsReader) ReadResponse ¶ added in v0.11.0
func (o *FindIPsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FreeIPDefault ¶
type FreeIPDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FreeIPDefault describes a response with status code -1, with default header values.
Error
func NewFreeIPDefault ¶
func NewFreeIPDefault(code int) *FreeIPDefault
NewFreeIPDefault creates a FreeIPDefault with default headers values
func (*FreeIPDefault) Code ¶
func (o *FreeIPDefault) Code() int
Code gets the status code for the free IP default response
func (*FreeIPDefault) Error ¶
func (o *FreeIPDefault) Error() string
func (*FreeIPDefault) GetPayload ¶ added in v0.11.0
func (o *FreeIPDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FreeIPDefault) IsClientError ¶ added in v0.19.3
func (o *FreeIPDefault) IsClientError() bool
IsClientError returns true when this free IP default response has a 4xx status code
func (*FreeIPDefault) IsCode ¶ added in v0.19.3
func (o *FreeIPDefault) IsCode(code int) bool
IsCode returns true when this free IP default response a status code equal to that given
func (*FreeIPDefault) IsRedirect ¶ added in v0.19.3
func (o *FreeIPDefault) IsRedirect() bool
IsRedirect returns true when this free IP default response has a 3xx status code
func (*FreeIPDefault) IsServerError ¶ added in v0.19.3
func (o *FreeIPDefault) IsServerError() bool
IsServerError returns true when this free IP default response has a 5xx status code
func (*FreeIPDefault) IsSuccess ¶ added in v0.19.3
func (o *FreeIPDefault) IsSuccess() bool
IsSuccess returns true when this free IP default response has a 2xx status code
func (*FreeIPDefault) String ¶ added in v0.19.3
func (o *FreeIPDefault) String() string
type FreeIPOK ¶
type FreeIPOK struct {
Payload *models.V1IPResponse
}
FreeIPOK describes a response with status code 200, with default header values.
OK
func NewFreeIPOK ¶
func NewFreeIPOK() *FreeIPOK
NewFreeIPOK creates a FreeIPOK with default headers values
func (*FreeIPOK) GetPayload ¶ added in v0.11.0
func (o *FreeIPOK) GetPayload() *models.V1IPResponse
func (*FreeIPOK) IsClientError ¶ added in v0.19.3
IsClientError returns true when this free Ip o k response has a 4xx status code
func (*FreeIPOK) IsCode ¶ added in v0.19.3
IsCode returns true when this free Ip o k response a status code equal to that given
func (*FreeIPOK) IsRedirect ¶ added in v0.19.3
IsRedirect returns true when this free Ip o k response has a 3xx status code
func (*FreeIPOK) IsServerError ¶ added in v0.19.3
IsServerError returns true when this free Ip o k response has a 5xx status code
type FreeIPParams ¶
type FreeIPParams struct { /* ID. identifier of the ip */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FreeIPParams contains all the parameters to send to the API endpoint
for the free IP operation. Typically these are written to a http.Request.
func NewFreeIPParams ¶
func NewFreeIPParams() *FreeIPParams
NewFreeIPParams creates a new FreeIPParams 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 NewFreeIPParamsWithContext ¶
func NewFreeIPParamsWithContext(ctx context.Context) *FreeIPParams
NewFreeIPParamsWithContext creates a new FreeIPParams object with the ability to set a context for a request.
func NewFreeIPParamsWithHTTPClient ¶
func NewFreeIPParamsWithHTTPClient(client *http.Client) *FreeIPParams
NewFreeIPParamsWithHTTPClient creates a new FreeIPParams object with the ability to set a custom HTTPClient for a request.
func NewFreeIPParamsWithTimeout ¶
func NewFreeIPParamsWithTimeout(timeout time.Duration) *FreeIPParams
NewFreeIPParamsWithTimeout creates a new FreeIPParams object with the ability to set a timeout on a request.
func (*FreeIPParams) SetContext ¶
func (o *FreeIPParams) SetContext(ctx context.Context)
SetContext adds the context to the free IP params
func (*FreeIPParams) SetDefaults ¶ added in v0.12.1
func (o *FreeIPParams) SetDefaults()
SetDefaults hydrates default values in the free IP params (not the query body).
All values with no default are reset to their zero value.
func (*FreeIPParams) SetHTTPClient ¶
func (o *FreeIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the free IP params
func (*FreeIPParams) SetID ¶
func (o *FreeIPParams) SetID(id string)
SetID adds the id to the free IP params
func (*FreeIPParams) SetTimeout ¶
func (o *FreeIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the free IP params
func (*FreeIPParams) WithContext ¶
func (o *FreeIPParams) WithContext(ctx context.Context) *FreeIPParams
WithContext adds the context to the free IP params
func (*FreeIPParams) WithDefaults ¶ added in v0.12.1
func (o *FreeIPParams) WithDefaults() *FreeIPParams
WithDefaults hydrates default values in the free IP params (not the query body).
All values with no default are reset to their zero value.
func (*FreeIPParams) WithHTTPClient ¶
func (o *FreeIPParams) WithHTTPClient(client *http.Client) *FreeIPParams
WithHTTPClient adds the HTTPClient to the free IP params
func (*FreeIPParams) WithID ¶
func (o *FreeIPParams) WithID(id string) *FreeIPParams
WithID adds the id to the free IP params
func (*FreeIPParams) WithTimeout ¶
func (o *FreeIPParams) WithTimeout(timeout time.Duration) *FreeIPParams
WithTimeout adds the timeout to the free IP params
func (*FreeIPParams) WriteToRequest ¶
func (o *FreeIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FreeIPReader ¶
type FreeIPReader struct {
// contains filtered or unexported fields
}
FreeIPReader is a Reader for the FreeIP structure.
func (*FreeIPReader) ReadResponse ¶
func (o *FreeIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListIPsDefault ¶ added in v0.11.0
type ListIPsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListIPsDefault describes a response with status code -1, with default header values.
Error
func NewListIPsDefault ¶ added in v0.11.0
func NewListIPsDefault(code int) *ListIPsDefault
NewListIPsDefault creates a ListIPsDefault with default headers values
func (*ListIPsDefault) Code ¶ added in v0.11.0
func (o *ListIPsDefault) Code() int
Code gets the status code for the list i ps default response
func (*ListIPsDefault) Error ¶ added in v0.11.0
func (o *ListIPsDefault) Error() string
func (*ListIPsDefault) GetPayload ¶ added in v0.11.0
func (o *ListIPsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListIPsDefault) IsClientError ¶ added in v0.19.3
func (o *ListIPsDefault) IsClientError() bool
IsClientError returns true when this list i ps default response has a 4xx status code
func (*ListIPsDefault) IsCode ¶ added in v0.19.3
func (o *ListIPsDefault) IsCode(code int) bool
IsCode returns true when this list i ps default response a status code equal to that given
func (*ListIPsDefault) IsRedirect ¶ added in v0.19.3
func (o *ListIPsDefault) IsRedirect() bool
IsRedirect returns true when this list i ps default response has a 3xx status code
func (*ListIPsDefault) IsServerError ¶ added in v0.19.3
func (o *ListIPsDefault) IsServerError() bool
IsServerError returns true when this list i ps default response has a 5xx status code
func (*ListIPsDefault) IsSuccess ¶ added in v0.19.3
func (o *ListIPsDefault) IsSuccess() bool
IsSuccess returns true when this list i ps default response has a 2xx status code
func (*ListIPsDefault) String ¶ added in v0.19.3
func (o *ListIPsDefault) String() string
type ListIPsOK ¶ added in v0.11.0
type ListIPsOK struct {
Payload []*models.V1IPResponse
}
ListIPsOK describes a response with status code 200, with default header values.
OK
func NewListIPsOK ¶ added in v0.11.0
func NewListIPsOK() *ListIPsOK
NewListIPsOK creates a ListIPsOK with default headers values
func (*ListIPsOK) GetPayload ¶ added in v0.11.0
func (o *ListIPsOK) GetPayload() []*models.V1IPResponse
func (*ListIPsOK) IsClientError ¶ added in v0.19.3
IsClientError returns true when this list i ps o k response has a 4xx status code
func (*ListIPsOK) IsCode ¶ added in v0.19.3
IsCode returns true when this list i ps o k response a status code equal to that given
func (*ListIPsOK) IsRedirect ¶ added in v0.19.3
IsRedirect returns true when this list i ps o k response has a 3xx status code
func (*ListIPsOK) IsServerError ¶ added in v0.19.3
IsServerError returns true when this list i ps o k response has a 5xx status code
type ListIPsParams ¶ added in v0.11.0
type ListIPsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListIPsParams contains all the parameters to send to the API endpoint
for the list i ps operation. Typically these are written to a http.Request.
func NewListIPsParams ¶ added in v0.11.0
func NewListIPsParams() *ListIPsParams
NewListIPsParams creates a new ListIPsParams 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 NewListIPsParamsWithContext ¶ added in v0.11.0
func NewListIPsParamsWithContext(ctx context.Context) *ListIPsParams
NewListIPsParamsWithContext creates a new ListIPsParams object with the ability to set a context for a request.
func NewListIPsParamsWithHTTPClient ¶ added in v0.11.0
func NewListIPsParamsWithHTTPClient(client *http.Client) *ListIPsParams
NewListIPsParamsWithHTTPClient creates a new ListIPsParams object with the ability to set a custom HTTPClient for a request.
func NewListIPsParamsWithTimeout ¶ added in v0.11.0
func NewListIPsParamsWithTimeout(timeout time.Duration) *ListIPsParams
NewListIPsParamsWithTimeout creates a new ListIPsParams object with the ability to set a timeout on a request.
func (*ListIPsParams) SetContext ¶ added in v0.11.0
func (o *ListIPsParams) SetContext(ctx context.Context)
SetContext adds the context to the list i ps params
func (*ListIPsParams) SetDefaults ¶ added in v0.12.1
func (o *ListIPsParams) SetDefaults()
SetDefaults hydrates default values in the list i ps params (not the query body).
All values with no default are reset to their zero value.
func (*ListIPsParams) SetHTTPClient ¶ added in v0.11.0
func (o *ListIPsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list i ps params
func (*ListIPsParams) SetTimeout ¶ added in v0.11.0
func (o *ListIPsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list i ps params
func (*ListIPsParams) WithContext ¶ added in v0.11.0
func (o *ListIPsParams) WithContext(ctx context.Context) *ListIPsParams
WithContext adds the context to the list i ps params
func (*ListIPsParams) WithDefaults ¶ added in v0.12.1
func (o *ListIPsParams) WithDefaults() *ListIPsParams
WithDefaults hydrates default values in the list i ps params (not the query body).
All values with no default are reset to their zero value.
func (*ListIPsParams) WithHTTPClient ¶ added in v0.11.0
func (o *ListIPsParams) WithHTTPClient(client *http.Client) *ListIPsParams
WithHTTPClient adds the HTTPClient to the list i ps params
func (*ListIPsParams) WithTimeout ¶ added in v0.11.0
func (o *ListIPsParams) WithTimeout(timeout time.Duration) *ListIPsParams
WithTimeout adds the timeout to the list i ps params
func (*ListIPsParams) WriteToRequest ¶ added in v0.11.0
func (o *ListIPsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListIPsReader ¶ added in v0.11.0
type ListIPsReader struct {
// contains filtered or unexported fields
}
ListIPsReader is a Reader for the ListIPs structure.
func (*ListIPsReader) ReadResponse ¶ added in v0.11.0
func (o *ListIPsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIPConflict ¶
type UpdateIPConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateIPConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateIPConflict ¶
func NewUpdateIPConflict() *UpdateIPConflict
NewUpdateIPConflict creates a UpdateIPConflict with default headers values
func (*UpdateIPConflict) Code ¶ added in v0.22.1
func (o *UpdateIPConflict) Code() int
Code gets the status code for the update Ip conflict response
func (*UpdateIPConflict) Error ¶
func (o *UpdateIPConflict) Error() string
func (*UpdateIPConflict) GetPayload ¶ added in v0.11.0
func (o *UpdateIPConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateIPConflict) IsClientError ¶ added in v0.19.3
func (o *UpdateIPConflict) IsClientError() bool
IsClientError returns true when this update Ip conflict response has a 4xx status code
func (*UpdateIPConflict) IsCode ¶ added in v0.19.3
func (o *UpdateIPConflict) IsCode(code int) bool
IsCode returns true when this update Ip conflict response a status code equal to that given
func (*UpdateIPConflict) IsRedirect ¶ added in v0.19.3
func (o *UpdateIPConflict) IsRedirect() bool
IsRedirect returns true when this update Ip conflict response has a 3xx status code
func (*UpdateIPConflict) IsServerError ¶ added in v0.19.3
func (o *UpdateIPConflict) IsServerError() bool
IsServerError returns true when this update Ip conflict response has a 5xx status code
func (*UpdateIPConflict) IsSuccess ¶ added in v0.19.3
func (o *UpdateIPConflict) IsSuccess() bool
IsSuccess returns true when this update Ip conflict response has a 2xx status code
func (*UpdateIPConflict) String ¶ added in v0.19.3
func (o *UpdateIPConflict) String() string
type UpdateIPDefault ¶
type UpdateIPDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateIPDefault describes a response with status code -1, with default header values.
Error
func NewUpdateIPDefault ¶
func NewUpdateIPDefault(code int) *UpdateIPDefault
NewUpdateIPDefault creates a UpdateIPDefault with default headers values
func (*UpdateIPDefault) Code ¶
func (o *UpdateIPDefault) Code() int
Code gets the status code for the update IP default response
func (*UpdateIPDefault) Error ¶
func (o *UpdateIPDefault) Error() string
func (*UpdateIPDefault) GetPayload ¶ added in v0.11.0
func (o *UpdateIPDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateIPDefault) IsClientError ¶ added in v0.19.3
func (o *UpdateIPDefault) IsClientError() bool
IsClientError returns true when this update IP default response has a 4xx status code
func (*UpdateIPDefault) IsCode ¶ added in v0.19.3
func (o *UpdateIPDefault) IsCode(code int) bool
IsCode returns true when this update IP default response a status code equal to that given
func (*UpdateIPDefault) IsRedirect ¶ added in v0.19.3
func (o *UpdateIPDefault) IsRedirect() bool
IsRedirect returns true when this update IP default response has a 3xx status code
func (*UpdateIPDefault) IsServerError ¶ added in v0.19.3
func (o *UpdateIPDefault) IsServerError() bool
IsServerError returns true when this update IP default response has a 5xx status code
func (*UpdateIPDefault) IsSuccess ¶ added in v0.19.3
func (o *UpdateIPDefault) IsSuccess() bool
IsSuccess returns true when this update IP default response has a 2xx status code
func (*UpdateIPDefault) String ¶ added in v0.19.3
func (o *UpdateIPDefault) String() string
type UpdateIPOK ¶
type UpdateIPOK struct {
Payload *models.V1IPResponse
}
UpdateIPOK describes a response with status code 200, with default header values.
OK
func NewUpdateIPOK ¶
func NewUpdateIPOK() *UpdateIPOK
NewUpdateIPOK creates a UpdateIPOK with default headers values
func (*UpdateIPOK) Code ¶ added in v0.22.1
func (o *UpdateIPOK) Code() int
Code gets the status code for the update Ip o k response
func (*UpdateIPOK) Error ¶
func (o *UpdateIPOK) Error() string
func (*UpdateIPOK) GetPayload ¶ added in v0.11.0
func (o *UpdateIPOK) GetPayload() *models.V1IPResponse
func (*UpdateIPOK) IsClientError ¶ added in v0.19.3
func (o *UpdateIPOK) IsClientError() bool
IsClientError returns true when this update Ip o k response has a 4xx status code
func (*UpdateIPOK) IsCode ¶ added in v0.19.3
func (o *UpdateIPOK) IsCode(code int) bool
IsCode returns true when this update Ip o k response a status code equal to that given
func (*UpdateIPOK) IsRedirect ¶ added in v0.19.3
func (o *UpdateIPOK) IsRedirect() bool
IsRedirect returns true when this update Ip o k response has a 3xx status code
func (*UpdateIPOK) IsServerError ¶ added in v0.19.3
func (o *UpdateIPOK) IsServerError() bool
IsServerError returns true when this update Ip o k response has a 5xx status code
func (*UpdateIPOK) IsSuccess ¶ added in v0.19.3
func (o *UpdateIPOK) IsSuccess() bool
IsSuccess returns true when this update Ip o k response has a 2xx status code
func (*UpdateIPOK) String ¶ added in v0.19.3
func (o *UpdateIPOK) String() string
type UpdateIPParams ¶
type UpdateIPParams struct { // Body. Body *models.V1IPUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateIPParams contains all the parameters to send to the API endpoint
for the update IP operation. Typically these are written to a http.Request.
func NewUpdateIPParams ¶
func NewUpdateIPParams() *UpdateIPParams
NewUpdateIPParams creates a new UpdateIPParams 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 NewUpdateIPParamsWithContext ¶
func NewUpdateIPParamsWithContext(ctx context.Context) *UpdateIPParams
NewUpdateIPParamsWithContext creates a new UpdateIPParams object with the ability to set a context for a request.
func NewUpdateIPParamsWithHTTPClient ¶
func NewUpdateIPParamsWithHTTPClient(client *http.Client) *UpdateIPParams
NewUpdateIPParamsWithHTTPClient creates a new UpdateIPParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateIPParamsWithTimeout ¶
func NewUpdateIPParamsWithTimeout(timeout time.Duration) *UpdateIPParams
NewUpdateIPParamsWithTimeout creates a new UpdateIPParams object with the ability to set a timeout on a request.
func (*UpdateIPParams) SetBody ¶
func (o *UpdateIPParams) SetBody(body *models.V1IPUpdateRequest)
SetBody adds the body to the update IP params
func (*UpdateIPParams) SetContext ¶
func (o *UpdateIPParams) SetContext(ctx context.Context)
SetContext adds the context to the update IP params
func (*UpdateIPParams) SetDefaults ¶ added in v0.12.1
func (o *UpdateIPParams) SetDefaults()
SetDefaults hydrates default values in the update IP params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIPParams) SetHTTPClient ¶
func (o *UpdateIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update IP params
func (*UpdateIPParams) SetTimeout ¶
func (o *UpdateIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update IP params
func (*UpdateIPParams) WithBody ¶
func (o *UpdateIPParams) WithBody(body *models.V1IPUpdateRequest) *UpdateIPParams
WithBody adds the body to the update IP params
func (*UpdateIPParams) WithContext ¶
func (o *UpdateIPParams) WithContext(ctx context.Context) *UpdateIPParams
WithContext adds the context to the update IP params
func (*UpdateIPParams) WithDefaults ¶ added in v0.12.1
func (o *UpdateIPParams) WithDefaults() *UpdateIPParams
WithDefaults hydrates default values in the update IP params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIPParams) WithHTTPClient ¶
func (o *UpdateIPParams) WithHTTPClient(client *http.Client) *UpdateIPParams
WithHTTPClient adds the HTTPClient to the update IP params
func (*UpdateIPParams) WithTimeout ¶
func (o *UpdateIPParams) WithTimeout(timeout time.Duration) *UpdateIPParams
WithTimeout adds the timeout to the update IP params
func (*UpdateIPParams) WriteToRequest ¶
func (o *UpdateIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateIPReader ¶
type UpdateIPReader struct {
// contains filtered or unexported fields
}
UpdateIPReader is a Reader for the UpdateIP structure.
func (*UpdateIPReader) ReadResponse ¶
func (o *UpdateIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- allocate_ip_parameters.go
- allocate_ip_responses.go
- allocate_specific_ip_parameters.go
- allocate_specific_ip_responses.go
- find_i_ps_parameters.go
- find_i_ps_responses.go
- find_ip_parameters.go
- find_ip_responses.go
- free_ip_parameters.go
- free_ip_responses.go
- ip_client.go
- list_i_ps_parameters.go
- list_i_ps_responses.go
- update_ip_parameters.go
- update_ip_responses.go