Documentation ¶
Index ¶
- type Client
- 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) GetIP(params *GetIPParams, authInfo runtime.ClientAuthInfoWriter) (*GetIPOK, 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 FindIpsDefault
- type FindIpsOK
- type FindIpsParams
- func (o *FindIpsParams) SetBody(body *models.V1IPFindRequest)
- func (o *FindIpsParams) SetContext(ctx context.Context)
- 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) 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
- type FreeIPOK
- type FreeIPParams
- func (o *FreeIPParams) SetContext(ctx context.Context)
- func (o *FreeIPParams) SetHTTPClient(client *http.Client)
- func (o *FreeIPParams) SetIP(ip string)
- func (o *FreeIPParams) SetTimeout(timeout time.Duration)
- func (o *FreeIPParams) WithContext(ctx context.Context) *FreeIPParams
- func (o *FreeIPParams) WithHTTPClient(client *http.Client) *FreeIPParams
- func (o *FreeIPParams) WithIP(ip string) *FreeIPParams
- func (o *FreeIPParams) WithTimeout(timeout time.Duration) *FreeIPParams
- func (o *FreeIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FreeIPReader
- type GetIPDefault
- type GetIPOK
- type GetIPParams
- func (o *GetIPParams) SetContext(ctx context.Context)
- func (o *GetIPParams) SetHTTPClient(client *http.Client)
- func (o *GetIPParams) SetIP(ip string)
- func (o *GetIPParams) SetTimeout(timeout time.Duration)
- func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParams
- func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams
- func (o *GetIPParams) WithIP(ip string) *GetIPParams
- func (o *GetIPParams) WithTimeout(timeout time.Duration) *GetIPParams
- func (o *GetIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIPReader
- type ListIpsDefault
- type ListIpsOK
- type ListIpsParams
- func (o *ListIpsParams) SetContext(ctx context.Context)
- 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) 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 UpdateIPDefault
- type UpdateIPOK
- type UpdateIPParams
- func (o *UpdateIPParams) SetBody(body *models.V1IPUpdateRequest)
- func (o *UpdateIPParams) SetContext(ctx context.Context)
- 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) 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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for ip API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new ip API client.
func (*Client) FindIps ¶
func (a *Client) FindIps(params *FindIpsParams, authInfo runtime.ClientAuthInfoWriter) (*FindIpsOK, error)
FindIps finds ips by multiple criteria
func (*Client) FreeIP ¶
func (a *Client) FreeIP(params *FreeIPParams, authInfo runtime.ClientAuthInfoWriter) (*FreeIPOK, error)
FreeIP frees an ip and returns the freed entity
func (*Client) GetIP ¶
func (a *Client) GetIP(params *GetIPParams, authInfo runtime.ClientAuthInfoWriter) (*GetIPOK, error)
GetIP gets ip by address
func (*Client) ListIps ¶
func (a *Client) ListIps(params *ListIpsParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*UpdateIPOK, error)
UpdateIP updates an ip
type FindIpsDefault ¶
type FindIpsDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
FindIpsDefault handles this case with default header values.
Error
func NewFindIpsDefault ¶
func NewFindIpsDefault(code int) *FindIpsDefault
NewFindIpsDefault creates a FindIpsDefault with default headers values
func (*FindIpsDefault) Code ¶
func (o *FindIpsDefault) Code() int
Code gets the status code for the find ips default response
func (*FindIpsDefault) Error ¶
func (o *FindIpsDefault) Error() string
type FindIpsOK ¶
type FindIpsOK struct {
Payload []*models.ModelsV1IPResponse
}
FindIpsOK handles this case with default header values.
OK
func NewFindIpsOK ¶
func NewFindIpsOK() *FindIpsOK
NewFindIpsOK creates a FindIpsOK with default headers values
type FindIpsParams ¶
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 ips operation typically these are written to a http.Request
func NewFindIpsParams ¶
func NewFindIpsParams() *FindIpsParams
NewFindIpsParams creates a new FindIpsParams object with the default values initialized.
func NewFindIpsParamsWithContext ¶
func NewFindIpsParamsWithContext(ctx context.Context) *FindIpsParams
NewFindIpsParamsWithContext creates a new FindIpsParams object with the default values initialized, and the ability to set a context for a request
func NewFindIpsParamsWithHTTPClient ¶
func NewFindIpsParamsWithHTTPClient(client *http.Client) *FindIpsParams
NewFindIpsParamsWithHTTPClient creates a new FindIpsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFindIpsParamsWithTimeout ¶
func NewFindIpsParamsWithTimeout(timeout time.Duration) *FindIpsParams
NewFindIpsParamsWithTimeout creates a new FindIpsParams object with the default values initialized, and the ability to set a timeout on a request
func (*FindIpsParams) SetBody ¶
func (o *FindIpsParams) SetBody(body *models.V1IPFindRequest)
SetBody adds the body to the find ips params
func (*FindIpsParams) SetContext ¶
func (o *FindIpsParams) SetContext(ctx context.Context)
SetContext adds the context to the find ips params
func (*FindIpsParams) SetHTTPClient ¶
func (o *FindIpsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find ips params
func (*FindIpsParams) SetTimeout ¶
func (o *FindIpsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find ips params
func (*FindIpsParams) WithBody ¶
func (o *FindIpsParams) WithBody(body *models.V1IPFindRequest) *FindIpsParams
WithBody adds the body to the find ips params
func (*FindIpsParams) WithContext ¶
func (o *FindIpsParams) WithContext(ctx context.Context) *FindIpsParams
WithContext adds the context to the find ips params
func (*FindIpsParams) WithHTTPClient ¶
func (o *FindIpsParams) WithHTTPClient(client *http.Client) *FindIpsParams
WithHTTPClient adds the HTTPClient to the find ips params
func (*FindIpsParams) WithTimeout ¶
func (o *FindIpsParams) WithTimeout(timeout time.Duration) *FindIpsParams
WithTimeout adds the timeout to the find ips params
func (*FindIpsParams) WriteToRequest ¶
func (o *FindIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindIpsReader ¶
type FindIpsReader struct {
// contains filtered or unexported fields
}
FindIpsReader is a Reader for the FindIps structure.
func (*FindIpsReader) ReadResponse ¶
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 *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
FreeIPDefault handles this case 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
type FreeIPOK ¶
type FreeIPOK struct {
Payload *models.ModelsV1IPResponse
}
FreeIPOK handles this case with default header values.
OK
func NewFreeIPOK ¶
func NewFreeIPOK() *FreeIPOK
NewFreeIPOK creates a FreeIPOK with default headers values
type FreeIPParams ¶
type FreeIPParams struct { /*IP address of the ip */ IP 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 values initialized.
func NewFreeIPParamsWithContext ¶
func NewFreeIPParamsWithContext(ctx context.Context) *FreeIPParams
NewFreeIPParamsWithContext creates a new FreeIPParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *FreeIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the free IP params
func (*FreeIPParams) SetIP ¶
func (o *FreeIPParams) SetIP(ip string)
SetIP adds the ip 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) WithHTTPClient ¶
func (o *FreeIPParams) WithHTTPClient(client *http.Client) *FreeIPParams
WithHTTPClient adds the HTTPClient to the free IP params
func (*FreeIPParams) WithIP ¶
func (o *FreeIPParams) WithIP(ip string) *FreeIPParams
WithIP adds the ip 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 GetIPDefault ¶
type GetIPDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
GetIPDefault handles this case with default header values.
Error
func NewGetIPDefault ¶
func NewGetIPDefault(code int) *GetIPDefault
NewGetIPDefault creates a GetIPDefault with default headers values
func (*GetIPDefault) Code ¶
func (o *GetIPDefault) Code() int
Code gets the status code for the get IP default response
func (*GetIPDefault) Error ¶
func (o *GetIPDefault) Error() string
type GetIPOK ¶
type GetIPOK struct {
Payload *models.ModelsV1IPResponse
}
GetIPOK handles this case with default header values.
OK
func NewGetIPOK ¶
func NewGetIPOK() *GetIPOK
NewGetIPOK creates a GetIPOK with default headers values
type GetIPParams ¶
type GetIPParams struct { /*IP address of the ip */ IP string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIPParams contains all the parameters to send to the API endpoint for the get IP operation typically these are written to a http.Request
func NewGetIPParams ¶
func NewGetIPParams() *GetIPParams
NewGetIPParams creates a new GetIPParams object with the default values initialized.
func NewGetIPParamsWithContext ¶
func NewGetIPParamsWithContext(ctx context.Context) *GetIPParams
NewGetIPParamsWithContext creates a new GetIPParams object with the default values initialized, and the ability to set a context for a request
func NewGetIPParamsWithHTTPClient ¶
func NewGetIPParamsWithHTTPClient(client *http.Client) *GetIPParams
NewGetIPParamsWithHTTPClient creates a new GetIPParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIPParamsWithTimeout ¶
func NewGetIPParamsWithTimeout(timeout time.Duration) *GetIPParams
NewGetIPParamsWithTimeout creates a new GetIPParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIPParams) SetContext ¶
func (o *GetIPParams) SetContext(ctx context.Context)
SetContext adds the context to the get IP params
func (*GetIPParams) SetHTTPClient ¶
func (o *GetIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get IP params
func (*GetIPParams) SetIP ¶
func (o *GetIPParams) SetIP(ip string)
SetIP adds the ip to the get IP params
func (*GetIPParams) SetTimeout ¶
func (o *GetIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get IP params
func (*GetIPParams) WithContext ¶
func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParams
WithContext adds the context to the get IP params
func (*GetIPParams) WithHTTPClient ¶
func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams
WithHTTPClient adds the HTTPClient to the get IP params
func (*GetIPParams) WithIP ¶
func (o *GetIPParams) WithIP(ip string) *GetIPParams
WithIP adds the ip to the get IP params
func (*GetIPParams) WithTimeout ¶
func (o *GetIPParams) WithTimeout(timeout time.Duration) *GetIPParams
WithTimeout adds the timeout to the get IP params
func (*GetIPParams) WriteToRequest ¶
func (o *GetIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIPReader ¶
type GetIPReader struct {
// contains filtered or unexported fields
}
GetIPReader is a Reader for the GetIP structure.
func (*GetIPReader) ReadResponse ¶
func (o *GetIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListIpsDefault ¶
type ListIpsDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
ListIpsDefault handles this case with default header values.
Error
func NewListIpsDefault ¶
func NewListIpsDefault(code int) *ListIpsDefault
NewListIpsDefault creates a ListIpsDefault with default headers values
func (*ListIpsDefault) Code ¶
func (o *ListIpsDefault) Code() int
Code gets the status code for the list ips default response
func (*ListIpsDefault) Error ¶
func (o *ListIpsDefault) Error() string
type ListIpsOK ¶
type ListIpsOK struct {
Payload []*models.ModelsV1IPResponse
}
ListIpsOK handles this case with default header values.
OK
func NewListIpsOK ¶
func NewListIpsOK() *ListIpsOK
NewListIpsOK creates a ListIpsOK with default headers values
type ListIpsParams ¶
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 ips operation typically these are written to a http.Request
func NewListIpsParams ¶
func NewListIpsParams() *ListIpsParams
NewListIpsParams creates a new ListIpsParams object with the default values initialized.
func NewListIpsParamsWithContext ¶
func NewListIpsParamsWithContext(ctx context.Context) *ListIpsParams
NewListIpsParamsWithContext creates a new ListIpsParams object with the default values initialized, and the ability to set a context for a request
func NewListIpsParamsWithHTTPClient ¶
func NewListIpsParamsWithHTTPClient(client *http.Client) *ListIpsParams
NewListIpsParamsWithHTTPClient creates a new ListIpsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListIpsParamsWithTimeout ¶
func NewListIpsParamsWithTimeout(timeout time.Duration) *ListIpsParams
NewListIpsParamsWithTimeout creates a new ListIpsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListIpsParams) SetContext ¶
func (o *ListIpsParams) SetContext(ctx context.Context)
SetContext adds the context to the list ips params
func (*ListIpsParams) SetHTTPClient ¶
func (o *ListIpsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list ips params
func (*ListIpsParams) SetTimeout ¶
func (o *ListIpsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list ips params
func (*ListIpsParams) WithContext ¶
func (o *ListIpsParams) WithContext(ctx context.Context) *ListIpsParams
WithContext adds the context to the list ips params
func (*ListIpsParams) WithHTTPClient ¶
func (o *ListIpsParams) WithHTTPClient(client *http.Client) *ListIpsParams
WithHTTPClient adds the HTTPClient to the list ips params
func (*ListIpsParams) WithTimeout ¶
func (o *ListIpsParams) WithTimeout(timeout time.Duration) *ListIpsParams
WithTimeout adds the timeout to the list ips params
func (*ListIpsParams) WriteToRequest ¶
func (o *ListIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListIpsReader ¶
type ListIpsReader struct {
// contains filtered or unexported fields
}
ListIpsReader is a Reader for the ListIps structure.
func (*ListIpsReader) ReadResponse ¶
func (o *ListIpsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIPDefault ¶
type UpdateIPDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
UpdateIPDefault handles this case 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
type UpdateIPOK ¶
type UpdateIPOK struct {
Payload *models.ModelsV1IPResponse
}
UpdateIPOK handles this case with default header values.
OK
func NewUpdateIPOK ¶
func NewUpdateIPOK() *UpdateIPOK
NewUpdateIPOK creates a UpdateIPOK with default headers values
func (*UpdateIPOK) Error ¶
func (o *UpdateIPOK) Error() 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 values initialized.
func NewUpdateIPParamsWithContext ¶
func NewUpdateIPParamsWithContext(ctx context.Context) *UpdateIPParams
NewUpdateIPParamsWithContext creates a new UpdateIPParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.