Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error)
- func (a *Client) PostIpam(params *PostIpamParams, opts ...ClientOption) (*PostIpamCreated, error)
- func (a *Client) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteIpamIPDisabled
- func (o *DeleteIpamIPDisabled) Error() string
- func (o *DeleteIpamIPDisabled) IsClientError() bool
- func (o *DeleteIpamIPDisabled) IsCode(code int) bool
- func (o *DeleteIpamIPDisabled) IsRedirect() bool
- func (o *DeleteIpamIPDisabled) IsServerError() bool
- func (o *DeleteIpamIPDisabled) IsSuccess() bool
- func (o *DeleteIpamIPDisabled) String() string
- type DeleteIpamIPFailure
- func (o *DeleteIpamIPFailure) Error() string
- func (o *DeleteIpamIPFailure) GetPayload() models.Error
- func (o *DeleteIpamIPFailure) IsClientError() bool
- func (o *DeleteIpamIPFailure) IsCode(code int) bool
- func (o *DeleteIpamIPFailure) IsRedirect() bool
- func (o *DeleteIpamIPFailure) IsServerError() bool
- func (o *DeleteIpamIPFailure) IsSuccess() bool
- func (o *DeleteIpamIPFailure) String() string
- type DeleteIpamIPForbidden
- func (o *DeleteIpamIPForbidden) Error() string
- func (o *DeleteIpamIPForbidden) IsClientError() bool
- func (o *DeleteIpamIPForbidden) IsCode(code int) bool
- func (o *DeleteIpamIPForbidden) IsRedirect() bool
- func (o *DeleteIpamIPForbidden) IsServerError() bool
- func (o *DeleteIpamIPForbidden) IsSuccess() bool
- func (o *DeleteIpamIPForbidden) String() string
- type DeleteIpamIPInvalid
- func (o *DeleteIpamIPInvalid) Error() string
- func (o *DeleteIpamIPInvalid) IsClientError() bool
- func (o *DeleteIpamIPInvalid) IsCode(code int) bool
- func (o *DeleteIpamIPInvalid) IsRedirect() bool
- func (o *DeleteIpamIPInvalid) IsServerError() bool
- func (o *DeleteIpamIPInvalid) IsSuccess() bool
- func (o *DeleteIpamIPInvalid) String() string
- type DeleteIpamIPNotFound
- func (o *DeleteIpamIPNotFound) Error() string
- func (o *DeleteIpamIPNotFound) IsClientError() bool
- func (o *DeleteIpamIPNotFound) IsCode(code int) bool
- func (o *DeleteIpamIPNotFound) IsRedirect() bool
- func (o *DeleteIpamIPNotFound) IsServerError() bool
- func (o *DeleteIpamIPNotFound) IsSuccess() bool
- func (o *DeleteIpamIPNotFound) String() string
- type DeleteIpamIPOK
- func (o *DeleteIpamIPOK) Error() string
- func (o *DeleteIpamIPOK) IsClientError() bool
- func (o *DeleteIpamIPOK) IsCode(code int) bool
- func (o *DeleteIpamIPOK) IsRedirect() bool
- func (o *DeleteIpamIPOK) IsServerError() bool
- func (o *DeleteIpamIPOK) IsSuccess() bool
- func (o *DeleteIpamIPOK) String() string
- type DeleteIpamIPParams
- func (o *DeleteIpamIPParams) SetContext(ctx context.Context)
- func (o *DeleteIpamIPParams) SetDefaults()
- func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIpamIPParams) SetIP(ip string)
- func (o *DeleteIpamIPParams) SetPool(pool *string)
- func (o *DeleteIpamIPParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIpamIPParams) WithContext(ctx context.Context) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithDefaults() *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithIP(ip string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithPool(pool *string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithTimeout(timeout time.Duration) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIpamIPReader
- type PostIpamCreated
- func (o *PostIpamCreated) Error() string
- func (o *PostIpamCreated) GetPayload() *models.IPAMResponse
- func (o *PostIpamCreated) IsClientError() bool
- func (o *PostIpamCreated) IsCode(code int) bool
- func (o *PostIpamCreated) IsRedirect() bool
- func (o *PostIpamCreated) IsServerError() bool
- func (o *PostIpamCreated) IsSuccess() bool
- func (o *PostIpamCreated) String() string
- type PostIpamFailure
- func (o *PostIpamFailure) Error() string
- func (o *PostIpamFailure) GetPayload() models.Error
- func (o *PostIpamFailure) IsClientError() bool
- func (o *PostIpamFailure) IsCode(code int) bool
- func (o *PostIpamFailure) IsRedirect() bool
- func (o *PostIpamFailure) IsServerError() bool
- func (o *PostIpamFailure) IsSuccess() bool
- func (o *PostIpamFailure) String() string
- type PostIpamForbidden
- func (o *PostIpamForbidden) Error() string
- func (o *PostIpamForbidden) IsClientError() bool
- func (o *PostIpamForbidden) IsCode(code int) bool
- func (o *PostIpamForbidden) IsRedirect() bool
- func (o *PostIpamForbidden) IsServerError() bool
- func (o *PostIpamForbidden) IsSuccess() bool
- func (o *PostIpamForbidden) String() string
- type PostIpamIPDisabled
- func (o *PostIpamIPDisabled) Error() string
- func (o *PostIpamIPDisabled) IsClientError() bool
- func (o *PostIpamIPDisabled) IsCode(code int) bool
- func (o *PostIpamIPDisabled) IsRedirect() bool
- func (o *PostIpamIPDisabled) IsServerError() bool
- func (o *PostIpamIPDisabled) IsSuccess() bool
- func (o *PostIpamIPDisabled) String() string
- type PostIpamIPExists
- func (o *PostIpamIPExists) Error() string
- func (o *PostIpamIPExists) IsClientError() bool
- func (o *PostIpamIPExists) IsCode(code int) bool
- func (o *PostIpamIPExists) IsRedirect() bool
- func (o *PostIpamIPExists) IsServerError() bool
- func (o *PostIpamIPExists) IsSuccess() bool
- func (o *PostIpamIPExists) String() string
- type PostIpamIPFailure
- func (o *PostIpamIPFailure) Error() string
- func (o *PostIpamIPFailure) GetPayload() models.Error
- func (o *PostIpamIPFailure) IsClientError() bool
- func (o *PostIpamIPFailure) IsCode(code int) bool
- func (o *PostIpamIPFailure) IsRedirect() bool
- func (o *PostIpamIPFailure) IsServerError() bool
- func (o *PostIpamIPFailure) IsSuccess() bool
- func (o *PostIpamIPFailure) String() string
- type PostIpamIPForbidden
- func (o *PostIpamIPForbidden) Error() string
- func (o *PostIpamIPForbidden) IsClientError() bool
- func (o *PostIpamIPForbidden) IsCode(code int) bool
- func (o *PostIpamIPForbidden) IsRedirect() bool
- func (o *PostIpamIPForbidden) IsServerError() bool
- func (o *PostIpamIPForbidden) IsSuccess() bool
- func (o *PostIpamIPForbidden) String() string
- type PostIpamIPInvalid
- func (o *PostIpamIPInvalid) Error() string
- func (o *PostIpamIPInvalid) IsClientError() bool
- func (o *PostIpamIPInvalid) IsCode(code int) bool
- func (o *PostIpamIPInvalid) IsRedirect() bool
- func (o *PostIpamIPInvalid) IsServerError() bool
- func (o *PostIpamIPInvalid) IsSuccess() bool
- func (o *PostIpamIPInvalid) String() string
- type PostIpamIPOK
- type PostIpamIPParams
- func (o *PostIpamIPParams) SetContext(ctx context.Context)
- func (o *PostIpamIPParams) SetDefaults()
- func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)
- func (o *PostIpamIPParams) SetIP(ip string)
- func (o *PostIpamIPParams) SetOwner(owner *string)
- func (o *PostIpamIPParams) SetPool(pool *string)
- func (o *PostIpamIPParams) SetTimeout(timeout time.Duration)
- func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams
- func (o *PostIpamIPParams) WithDefaults() *PostIpamIPParams
- func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams
- func (o *PostIpamIPParams) WithIP(ip string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithOwner(owner *string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithPool(pool *string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithTimeout(timeout time.Duration) *PostIpamIPParams
- func (o *PostIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIpamIPReader
- type PostIpamParams
- func (o *PostIpamParams) SetContext(ctx context.Context)
- func (o *PostIpamParams) SetDefaults()
- func (o *PostIpamParams) SetExpiration(expiration *bool)
- func (o *PostIpamParams) SetFamily(family *string)
- func (o *PostIpamParams) SetHTTPClient(client *http.Client)
- func (o *PostIpamParams) SetOwner(owner *string)
- func (o *PostIpamParams) SetPool(pool *string)
- func (o *PostIpamParams) SetTimeout(timeout time.Duration)
- func (o *PostIpamParams) WithContext(ctx context.Context) *PostIpamParams
- func (o *PostIpamParams) WithDefaults() *PostIpamParams
- func (o *PostIpamParams) WithExpiration(expiration *bool) *PostIpamParams
- func (o *PostIpamParams) WithFamily(family *string) *PostIpamParams
- func (o *PostIpamParams) WithHTTPClient(client *http.Client) *PostIpamParams
- func (o *PostIpamParams) WithOwner(owner *string) *PostIpamParams
- func (o *PostIpamParams) WithPool(pool *string) *PostIpamParams
- func (o *PostIpamParams) WithTimeout(timeout time.Duration) *PostIpamParams
- func (o *PostIpamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIpamReader
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 ipam API
func (*Client) DeleteIpamIP ¶
func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error)
DeleteIpamIP releases an allocated IP address
func (*Client) PostIpam ¶
func (a *Client) PostIpam(params *PostIpamParams, opts ...ClientOption) (*PostIpamCreated, error)
PostIpam allocates an IP address
func (*Client) PostIpamIP ¶
func (a *Client) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, error)
PostIpamIP allocates an IP address
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error) PostIpam(params *PostIpamParams, opts ...ClientOption) (*PostIpamCreated, error) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, 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 ipam API client.
type DeleteIpamIPDisabled ¶
type DeleteIpamIPDisabled struct { }
DeleteIpamIPDisabled describes a response with status code 501, with default header values.
Allocation for address family disabled
func NewDeleteIpamIPDisabled ¶
func NewDeleteIpamIPDisabled() *DeleteIpamIPDisabled
NewDeleteIpamIPDisabled creates a DeleteIpamIPDisabled with default headers values
func (*DeleteIpamIPDisabled) Error ¶
func (o *DeleteIpamIPDisabled) Error() string
func (*DeleteIpamIPDisabled) IsClientError ¶
func (o *DeleteIpamIPDisabled) IsClientError() bool
IsClientError returns true when this delete ipam Ip disabled response has a 4xx status code
func (*DeleteIpamIPDisabled) IsCode ¶
func (o *DeleteIpamIPDisabled) IsCode(code int) bool
IsCode returns true when this delete ipam Ip disabled response a status code equal to that given
func (*DeleteIpamIPDisabled) IsRedirect ¶
func (o *DeleteIpamIPDisabled) IsRedirect() bool
IsRedirect returns true when this delete ipam Ip disabled response has a 3xx status code
func (*DeleteIpamIPDisabled) IsServerError ¶
func (o *DeleteIpamIPDisabled) IsServerError() bool
IsServerError returns true when this delete ipam Ip disabled response has a 5xx status code
func (*DeleteIpamIPDisabled) IsSuccess ¶
func (o *DeleteIpamIPDisabled) IsSuccess() bool
IsSuccess returns true when this delete ipam Ip disabled response has a 2xx status code
func (*DeleteIpamIPDisabled) String ¶
func (o *DeleteIpamIPDisabled) String() string
type DeleteIpamIPFailure ¶
DeleteIpamIPFailure describes a response with status code 500, with default header values.
Address release failure
func NewDeleteIpamIPFailure ¶
func NewDeleteIpamIPFailure() *DeleteIpamIPFailure
NewDeleteIpamIPFailure creates a DeleteIpamIPFailure with default headers values
func (*DeleteIpamIPFailure) Error ¶
func (o *DeleteIpamIPFailure) Error() string
func (*DeleteIpamIPFailure) GetPayload ¶
func (o *DeleteIpamIPFailure) GetPayload() models.Error
func (*DeleteIpamIPFailure) IsClientError ¶
func (o *DeleteIpamIPFailure) IsClientError() bool
IsClientError returns true when this delete ipam Ip failure response has a 4xx status code
func (*DeleteIpamIPFailure) IsCode ¶
func (o *DeleteIpamIPFailure) IsCode(code int) bool
IsCode returns true when this delete ipam Ip failure response a status code equal to that given
func (*DeleteIpamIPFailure) IsRedirect ¶
func (o *DeleteIpamIPFailure) IsRedirect() bool
IsRedirect returns true when this delete ipam Ip failure response has a 3xx status code
func (*DeleteIpamIPFailure) IsServerError ¶
func (o *DeleteIpamIPFailure) IsServerError() bool
IsServerError returns true when this delete ipam Ip failure response has a 5xx status code
func (*DeleteIpamIPFailure) IsSuccess ¶
func (o *DeleteIpamIPFailure) IsSuccess() bool
IsSuccess returns true when this delete ipam Ip failure response has a 2xx status code
func (*DeleteIpamIPFailure) String ¶
func (o *DeleteIpamIPFailure) String() string
type DeleteIpamIPForbidden ¶
type DeleteIpamIPForbidden struct { }
DeleteIpamIPForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteIpamIPForbidden ¶
func NewDeleteIpamIPForbidden() *DeleteIpamIPForbidden
NewDeleteIpamIPForbidden creates a DeleteIpamIPForbidden with default headers values
func (*DeleteIpamIPForbidden) Error ¶
func (o *DeleteIpamIPForbidden) Error() string
func (*DeleteIpamIPForbidden) IsClientError ¶
func (o *DeleteIpamIPForbidden) IsClientError() bool
IsClientError returns true when this delete ipam Ip forbidden response has a 4xx status code
func (*DeleteIpamIPForbidden) IsCode ¶
func (o *DeleteIpamIPForbidden) IsCode(code int) bool
IsCode returns true when this delete ipam Ip forbidden response a status code equal to that given
func (*DeleteIpamIPForbidden) IsRedirect ¶
func (o *DeleteIpamIPForbidden) IsRedirect() bool
IsRedirect returns true when this delete ipam Ip forbidden response has a 3xx status code
func (*DeleteIpamIPForbidden) IsServerError ¶
func (o *DeleteIpamIPForbidden) IsServerError() bool
IsServerError returns true when this delete ipam Ip forbidden response has a 5xx status code
func (*DeleteIpamIPForbidden) IsSuccess ¶
func (o *DeleteIpamIPForbidden) IsSuccess() bool
IsSuccess returns true when this delete ipam Ip forbidden response has a 2xx status code
func (*DeleteIpamIPForbidden) String ¶
func (o *DeleteIpamIPForbidden) String() string
type DeleteIpamIPInvalid ¶
type DeleteIpamIPInvalid struct { }
DeleteIpamIPInvalid describes a response with status code 400, with default header values.
Invalid IP address
func NewDeleteIpamIPInvalid ¶
func NewDeleteIpamIPInvalid() *DeleteIpamIPInvalid
NewDeleteIpamIPInvalid creates a DeleteIpamIPInvalid with default headers values
func (*DeleteIpamIPInvalid) Error ¶
func (o *DeleteIpamIPInvalid) Error() string
func (*DeleteIpamIPInvalid) IsClientError ¶
func (o *DeleteIpamIPInvalid) IsClientError() bool
IsClientError returns true when this delete ipam Ip invalid response has a 4xx status code
func (*DeleteIpamIPInvalid) IsCode ¶
func (o *DeleteIpamIPInvalid) IsCode(code int) bool
IsCode returns true when this delete ipam Ip invalid response a status code equal to that given
func (*DeleteIpamIPInvalid) IsRedirect ¶
func (o *DeleteIpamIPInvalid) IsRedirect() bool
IsRedirect returns true when this delete ipam Ip invalid response has a 3xx status code
func (*DeleteIpamIPInvalid) IsServerError ¶
func (o *DeleteIpamIPInvalid) IsServerError() bool
IsServerError returns true when this delete ipam Ip invalid response has a 5xx status code
func (*DeleteIpamIPInvalid) IsSuccess ¶
func (o *DeleteIpamIPInvalid) IsSuccess() bool
IsSuccess returns true when this delete ipam Ip invalid response has a 2xx status code
func (*DeleteIpamIPInvalid) String ¶
func (o *DeleteIpamIPInvalid) String() string
type DeleteIpamIPNotFound ¶
type DeleteIpamIPNotFound struct { }
DeleteIpamIPNotFound describes a response with status code 404, with default header values.
IP address not found
func NewDeleteIpamIPNotFound ¶
func NewDeleteIpamIPNotFound() *DeleteIpamIPNotFound
NewDeleteIpamIPNotFound creates a DeleteIpamIPNotFound with default headers values
func (*DeleteIpamIPNotFound) Error ¶
func (o *DeleteIpamIPNotFound) Error() string
func (*DeleteIpamIPNotFound) IsClientError ¶
func (o *DeleteIpamIPNotFound) IsClientError() bool
IsClientError returns true when this delete ipam Ip not found response has a 4xx status code
func (*DeleteIpamIPNotFound) IsCode ¶
func (o *DeleteIpamIPNotFound) IsCode(code int) bool
IsCode returns true when this delete ipam Ip not found response a status code equal to that given
func (*DeleteIpamIPNotFound) IsRedirect ¶
func (o *DeleteIpamIPNotFound) IsRedirect() bool
IsRedirect returns true when this delete ipam Ip not found response has a 3xx status code
func (*DeleteIpamIPNotFound) IsServerError ¶
func (o *DeleteIpamIPNotFound) IsServerError() bool
IsServerError returns true when this delete ipam Ip not found response has a 5xx status code
func (*DeleteIpamIPNotFound) IsSuccess ¶
func (o *DeleteIpamIPNotFound) IsSuccess() bool
IsSuccess returns true when this delete ipam Ip not found response has a 2xx status code
func (*DeleteIpamIPNotFound) String ¶
func (o *DeleteIpamIPNotFound) String() string
type DeleteIpamIPOK ¶
type DeleteIpamIPOK struct { }
DeleteIpamIPOK describes a response with status code 200, with default header values.
Success
func NewDeleteIpamIPOK ¶
func NewDeleteIpamIPOK() *DeleteIpamIPOK
NewDeleteIpamIPOK creates a DeleteIpamIPOK with default headers values
func (*DeleteIpamIPOK) Error ¶
func (o *DeleteIpamIPOK) Error() string
func (*DeleteIpamIPOK) IsClientError ¶
func (o *DeleteIpamIPOK) IsClientError() bool
IsClientError returns true when this delete ipam Ip o k response has a 4xx status code
func (*DeleteIpamIPOK) IsCode ¶
func (o *DeleteIpamIPOK) IsCode(code int) bool
IsCode returns true when this delete ipam Ip o k response a status code equal to that given
func (*DeleteIpamIPOK) IsRedirect ¶
func (o *DeleteIpamIPOK) IsRedirect() bool
IsRedirect returns true when this delete ipam Ip o k response has a 3xx status code
func (*DeleteIpamIPOK) IsServerError ¶
func (o *DeleteIpamIPOK) IsServerError() bool
IsServerError returns true when this delete ipam Ip o k response has a 5xx status code
func (*DeleteIpamIPOK) IsSuccess ¶
func (o *DeleteIpamIPOK) IsSuccess() bool
IsSuccess returns true when this delete ipam Ip o k response has a 2xx status code
func (*DeleteIpamIPOK) String ¶
func (o *DeleteIpamIPOK) String() string
type DeleteIpamIPParams ¶
type DeleteIpamIPParams struct { /* IP. IP address */ IP string // Pool. Pool *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIpamIPParams contains all the parameters to send to the API endpoint
for the delete ipam IP operation. Typically these are written to a http.Request.
func NewDeleteIpamIPParams ¶
func NewDeleteIpamIPParams() *DeleteIpamIPParams
NewDeleteIpamIPParams creates a new DeleteIpamIPParams 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 NewDeleteIpamIPParamsWithContext ¶
func NewDeleteIpamIPParamsWithContext(ctx context.Context) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithContext creates a new DeleteIpamIPParams object with the ability to set a context for a request.
func NewDeleteIpamIPParamsWithHTTPClient ¶
func NewDeleteIpamIPParamsWithHTTPClient(client *http.Client) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithHTTPClient creates a new DeleteIpamIPParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIpamIPParamsWithTimeout ¶
func NewDeleteIpamIPParamsWithTimeout(timeout time.Duration) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithTimeout creates a new DeleteIpamIPParams object with the ability to set a timeout on a request.
func (*DeleteIpamIPParams) SetContext ¶
func (o *DeleteIpamIPParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ipam IP params
func (*DeleteIpamIPParams) SetDefaults ¶
func (o *DeleteIpamIPParams) SetDefaults()
SetDefaults hydrates default values in the delete ipam IP params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIpamIPParams) SetHTTPClient ¶
func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ipam IP params
func (*DeleteIpamIPParams) SetIP ¶
func (o *DeleteIpamIPParams) SetIP(ip string)
SetIP adds the ip to the delete ipam IP params
func (*DeleteIpamIPParams) SetPool ¶
func (o *DeleteIpamIPParams) SetPool(pool *string)
SetPool adds the pool to the delete ipam IP params
func (*DeleteIpamIPParams) SetTimeout ¶
func (o *DeleteIpamIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ipam IP params
func (*DeleteIpamIPParams) WithContext ¶
func (o *DeleteIpamIPParams) WithContext(ctx context.Context) *DeleteIpamIPParams
WithContext adds the context to the delete ipam IP params
func (*DeleteIpamIPParams) WithDefaults ¶
func (o *DeleteIpamIPParams) WithDefaults() *DeleteIpamIPParams
WithDefaults hydrates default values in the delete ipam IP params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIpamIPParams) WithHTTPClient ¶
func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams
WithHTTPClient adds the HTTPClient to the delete ipam IP params
func (*DeleteIpamIPParams) WithIP ¶
func (o *DeleteIpamIPParams) WithIP(ip string) *DeleteIpamIPParams
WithIP adds the ip to the delete ipam IP params
func (*DeleteIpamIPParams) WithPool ¶
func (o *DeleteIpamIPParams) WithPool(pool *string) *DeleteIpamIPParams
WithPool adds the pool to the delete ipam IP params
func (*DeleteIpamIPParams) WithTimeout ¶
func (o *DeleteIpamIPParams) WithTimeout(timeout time.Duration) *DeleteIpamIPParams
WithTimeout adds the timeout to the delete ipam IP params
func (*DeleteIpamIPParams) WriteToRequest ¶
func (o *DeleteIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIpamIPReader ¶
type DeleteIpamIPReader struct {
// contains filtered or unexported fields
}
DeleteIpamIPReader is a Reader for the DeleteIpamIP structure.
func (*DeleteIpamIPReader) ReadResponse ¶
func (o *DeleteIpamIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIpamCreated ¶
type PostIpamCreated struct {
Payload *models.IPAMResponse
}
PostIpamCreated describes a response with status code 201, with default header values.
Success
func NewPostIpamCreated ¶
func NewPostIpamCreated() *PostIpamCreated
NewPostIpamCreated creates a PostIpamCreated with default headers values
func (*PostIpamCreated) Error ¶
func (o *PostIpamCreated) Error() string
func (*PostIpamCreated) GetPayload ¶
func (o *PostIpamCreated) GetPayload() *models.IPAMResponse
func (*PostIpamCreated) IsClientError ¶
func (o *PostIpamCreated) IsClientError() bool
IsClientError returns true when this post ipam created response has a 4xx status code
func (*PostIpamCreated) IsCode ¶
func (o *PostIpamCreated) IsCode(code int) bool
IsCode returns true when this post ipam created response a status code equal to that given
func (*PostIpamCreated) IsRedirect ¶
func (o *PostIpamCreated) IsRedirect() bool
IsRedirect returns true when this post ipam created response has a 3xx status code
func (*PostIpamCreated) IsServerError ¶
func (o *PostIpamCreated) IsServerError() bool
IsServerError returns true when this post ipam created response has a 5xx status code
func (*PostIpamCreated) IsSuccess ¶
func (o *PostIpamCreated) IsSuccess() bool
IsSuccess returns true when this post ipam created response has a 2xx status code
func (*PostIpamCreated) String ¶
func (o *PostIpamCreated) String() string
type PostIpamFailure ¶
PostIpamFailure describes a response with status code 502, with default header values.
Allocation failure
func NewPostIpamFailure ¶
func NewPostIpamFailure() *PostIpamFailure
NewPostIpamFailure creates a PostIpamFailure with default headers values
func (*PostIpamFailure) Error ¶
func (o *PostIpamFailure) Error() string
func (*PostIpamFailure) GetPayload ¶
func (o *PostIpamFailure) GetPayload() models.Error
func (*PostIpamFailure) IsClientError ¶
func (o *PostIpamFailure) IsClientError() bool
IsClientError returns true when this post ipam failure response has a 4xx status code
func (*PostIpamFailure) IsCode ¶
func (o *PostIpamFailure) IsCode(code int) bool
IsCode returns true when this post ipam failure response a status code equal to that given
func (*PostIpamFailure) IsRedirect ¶
func (o *PostIpamFailure) IsRedirect() bool
IsRedirect returns true when this post ipam failure response has a 3xx status code
func (*PostIpamFailure) IsServerError ¶
func (o *PostIpamFailure) IsServerError() bool
IsServerError returns true when this post ipam failure response has a 5xx status code
func (*PostIpamFailure) IsSuccess ¶
func (o *PostIpamFailure) IsSuccess() bool
IsSuccess returns true when this post ipam failure response has a 2xx status code
func (*PostIpamFailure) String ¶
func (o *PostIpamFailure) String() string
type PostIpamForbidden ¶
type PostIpamForbidden struct { }
PostIpamForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostIpamForbidden ¶
func NewPostIpamForbidden() *PostIpamForbidden
NewPostIpamForbidden creates a PostIpamForbidden with default headers values
func (*PostIpamForbidden) Error ¶
func (o *PostIpamForbidden) Error() string
func (*PostIpamForbidden) IsClientError ¶
func (o *PostIpamForbidden) IsClientError() bool
IsClientError returns true when this post ipam forbidden response has a 4xx status code
func (*PostIpamForbidden) IsCode ¶
func (o *PostIpamForbidden) IsCode(code int) bool
IsCode returns true when this post ipam forbidden response a status code equal to that given
func (*PostIpamForbidden) IsRedirect ¶
func (o *PostIpamForbidden) IsRedirect() bool
IsRedirect returns true when this post ipam forbidden response has a 3xx status code
func (*PostIpamForbidden) IsServerError ¶
func (o *PostIpamForbidden) IsServerError() bool
IsServerError returns true when this post ipam forbidden response has a 5xx status code
func (*PostIpamForbidden) IsSuccess ¶
func (o *PostIpamForbidden) IsSuccess() bool
IsSuccess returns true when this post ipam forbidden response has a 2xx status code
func (*PostIpamForbidden) String ¶
func (o *PostIpamForbidden) String() string
type PostIpamIPDisabled ¶
type PostIpamIPDisabled struct { }
PostIpamIPDisabled describes a response with status code 501, with default header values.
Allocation for address family disabled
func NewPostIpamIPDisabled ¶
func NewPostIpamIPDisabled() *PostIpamIPDisabled
NewPostIpamIPDisabled creates a PostIpamIPDisabled with default headers values
func (*PostIpamIPDisabled) Error ¶
func (o *PostIpamIPDisabled) Error() string
func (*PostIpamIPDisabled) IsClientError ¶
func (o *PostIpamIPDisabled) IsClientError() bool
IsClientError returns true when this post ipam Ip disabled response has a 4xx status code
func (*PostIpamIPDisabled) IsCode ¶
func (o *PostIpamIPDisabled) IsCode(code int) bool
IsCode returns true when this post ipam Ip disabled response a status code equal to that given
func (*PostIpamIPDisabled) IsRedirect ¶
func (o *PostIpamIPDisabled) IsRedirect() bool
IsRedirect returns true when this post ipam Ip disabled response has a 3xx status code
func (*PostIpamIPDisabled) IsServerError ¶
func (o *PostIpamIPDisabled) IsServerError() bool
IsServerError returns true when this post ipam Ip disabled response has a 5xx status code
func (*PostIpamIPDisabled) IsSuccess ¶
func (o *PostIpamIPDisabled) IsSuccess() bool
IsSuccess returns true when this post ipam Ip disabled response has a 2xx status code
func (*PostIpamIPDisabled) String ¶
func (o *PostIpamIPDisabled) String() string
type PostIpamIPExists ¶
type PostIpamIPExists struct { }
PostIpamIPExists describes a response with status code 409, with default header values.
IP already allocated
func NewPostIpamIPExists ¶
func NewPostIpamIPExists() *PostIpamIPExists
NewPostIpamIPExists creates a PostIpamIPExists with default headers values
func (*PostIpamIPExists) Error ¶
func (o *PostIpamIPExists) Error() string
func (*PostIpamIPExists) IsClientError ¶
func (o *PostIpamIPExists) IsClientError() bool
IsClientError returns true when this post ipam Ip exists response has a 4xx status code
func (*PostIpamIPExists) IsCode ¶
func (o *PostIpamIPExists) IsCode(code int) bool
IsCode returns true when this post ipam Ip exists response a status code equal to that given
func (*PostIpamIPExists) IsRedirect ¶
func (o *PostIpamIPExists) IsRedirect() bool
IsRedirect returns true when this post ipam Ip exists response has a 3xx status code
func (*PostIpamIPExists) IsServerError ¶
func (o *PostIpamIPExists) IsServerError() bool
IsServerError returns true when this post ipam Ip exists response has a 5xx status code
func (*PostIpamIPExists) IsSuccess ¶
func (o *PostIpamIPExists) IsSuccess() bool
IsSuccess returns true when this post ipam Ip exists response has a 2xx status code
func (*PostIpamIPExists) String ¶
func (o *PostIpamIPExists) String() string
type PostIpamIPFailure ¶
PostIpamIPFailure describes a response with status code 500, with default header values.
IP allocation failure. Details in message.
func NewPostIpamIPFailure ¶
func NewPostIpamIPFailure() *PostIpamIPFailure
NewPostIpamIPFailure creates a PostIpamIPFailure with default headers values
func (*PostIpamIPFailure) Error ¶
func (o *PostIpamIPFailure) Error() string
func (*PostIpamIPFailure) GetPayload ¶
func (o *PostIpamIPFailure) GetPayload() models.Error
func (*PostIpamIPFailure) IsClientError ¶
func (o *PostIpamIPFailure) IsClientError() bool
IsClientError returns true when this post ipam Ip failure response has a 4xx status code
func (*PostIpamIPFailure) IsCode ¶
func (o *PostIpamIPFailure) IsCode(code int) bool
IsCode returns true when this post ipam Ip failure response a status code equal to that given
func (*PostIpamIPFailure) IsRedirect ¶
func (o *PostIpamIPFailure) IsRedirect() bool
IsRedirect returns true when this post ipam Ip failure response has a 3xx status code
func (*PostIpamIPFailure) IsServerError ¶
func (o *PostIpamIPFailure) IsServerError() bool
IsServerError returns true when this post ipam Ip failure response has a 5xx status code
func (*PostIpamIPFailure) IsSuccess ¶
func (o *PostIpamIPFailure) IsSuccess() bool
IsSuccess returns true when this post ipam Ip failure response has a 2xx status code
func (*PostIpamIPFailure) String ¶
func (o *PostIpamIPFailure) String() string
type PostIpamIPForbidden ¶
type PostIpamIPForbidden struct { }
PostIpamIPForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostIpamIPForbidden ¶
func NewPostIpamIPForbidden() *PostIpamIPForbidden
NewPostIpamIPForbidden creates a PostIpamIPForbidden with default headers values
func (*PostIpamIPForbidden) Error ¶
func (o *PostIpamIPForbidden) Error() string
func (*PostIpamIPForbidden) IsClientError ¶
func (o *PostIpamIPForbidden) IsClientError() bool
IsClientError returns true when this post ipam Ip forbidden response has a 4xx status code
func (*PostIpamIPForbidden) IsCode ¶
func (o *PostIpamIPForbidden) IsCode(code int) bool
IsCode returns true when this post ipam Ip forbidden response a status code equal to that given
func (*PostIpamIPForbidden) IsRedirect ¶
func (o *PostIpamIPForbidden) IsRedirect() bool
IsRedirect returns true when this post ipam Ip forbidden response has a 3xx status code
func (*PostIpamIPForbidden) IsServerError ¶
func (o *PostIpamIPForbidden) IsServerError() bool
IsServerError returns true when this post ipam Ip forbidden response has a 5xx status code
func (*PostIpamIPForbidden) IsSuccess ¶
func (o *PostIpamIPForbidden) IsSuccess() bool
IsSuccess returns true when this post ipam Ip forbidden response has a 2xx status code
func (*PostIpamIPForbidden) String ¶
func (o *PostIpamIPForbidden) String() string
type PostIpamIPInvalid ¶
type PostIpamIPInvalid struct { }
PostIpamIPInvalid describes a response with status code 400, with default header values.
Invalid IP address
func NewPostIpamIPInvalid ¶
func NewPostIpamIPInvalid() *PostIpamIPInvalid
NewPostIpamIPInvalid creates a PostIpamIPInvalid with default headers values
func (*PostIpamIPInvalid) Error ¶
func (o *PostIpamIPInvalid) Error() string
func (*PostIpamIPInvalid) IsClientError ¶
func (o *PostIpamIPInvalid) IsClientError() bool
IsClientError returns true when this post ipam Ip invalid response has a 4xx status code
func (*PostIpamIPInvalid) IsCode ¶
func (o *PostIpamIPInvalid) IsCode(code int) bool
IsCode returns true when this post ipam Ip invalid response a status code equal to that given
func (*PostIpamIPInvalid) IsRedirect ¶
func (o *PostIpamIPInvalid) IsRedirect() bool
IsRedirect returns true when this post ipam Ip invalid response has a 3xx status code
func (*PostIpamIPInvalid) IsServerError ¶
func (o *PostIpamIPInvalid) IsServerError() bool
IsServerError returns true when this post ipam Ip invalid response has a 5xx status code
func (*PostIpamIPInvalid) IsSuccess ¶
func (o *PostIpamIPInvalid) IsSuccess() bool
IsSuccess returns true when this post ipam Ip invalid response has a 2xx status code
func (*PostIpamIPInvalid) String ¶
func (o *PostIpamIPInvalid) String() string
type PostIpamIPOK ¶
type PostIpamIPOK struct { }
PostIpamIPOK describes a response with status code 200, with default header values.
Success
func NewPostIpamIPOK ¶
func NewPostIpamIPOK() *PostIpamIPOK
NewPostIpamIPOK creates a PostIpamIPOK with default headers values
func (*PostIpamIPOK) Error ¶
func (o *PostIpamIPOK) Error() string
func (*PostIpamIPOK) IsClientError ¶
func (o *PostIpamIPOK) IsClientError() bool
IsClientError returns true when this post ipam Ip o k response has a 4xx status code
func (*PostIpamIPOK) IsCode ¶
func (o *PostIpamIPOK) IsCode(code int) bool
IsCode returns true when this post ipam Ip o k response a status code equal to that given
func (*PostIpamIPOK) IsRedirect ¶
func (o *PostIpamIPOK) IsRedirect() bool
IsRedirect returns true when this post ipam Ip o k response has a 3xx status code
func (*PostIpamIPOK) IsServerError ¶
func (o *PostIpamIPOK) IsServerError() bool
IsServerError returns true when this post ipam Ip o k response has a 5xx status code
func (*PostIpamIPOK) IsSuccess ¶
func (o *PostIpamIPOK) IsSuccess() bool
IsSuccess returns true when this post ipam Ip o k response has a 2xx status code
func (*PostIpamIPOK) String ¶
func (o *PostIpamIPOK) String() string
type PostIpamIPParams ¶
type PostIpamIPParams struct { /* IP. IP address */ IP string // Owner. Owner *string // Pool. Pool *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostIpamIPParams contains all the parameters to send to the API endpoint
for the post ipam IP operation. Typically these are written to a http.Request.
func NewPostIpamIPParams ¶
func NewPostIpamIPParams() *PostIpamIPParams
NewPostIpamIPParams creates a new PostIpamIPParams 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 NewPostIpamIPParamsWithContext ¶
func NewPostIpamIPParamsWithContext(ctx context.Context) *PostIpamIPParams
NewPostIpamIPParamsWithContext creates a new PostIpamIPParams object with the ability to set a context for a request.
func NewPostIpamIPParamsWithHTTPClient ¶
func NewPostIpamIPParamsWithHTTPClient(client *http.Client) *PostIpamIPParams
NewPostIpamIPParamsWithHTTPClient creates a new PostIpamIPParams object with the ability to set a custom HTTPClient for a request.
func NewPostIpamIPParamsWithTimeout ¶
func NewPostIpamIPParamsWithTimeout(timeout time.Duration) *PostIpamIPParams
NewPostIpamIPParamsWithTimeout creates a new PostIpamIPParams object with the ability to set a timeout on a request.
func (*PostIpamIPParams) SetContext ¶
func (o *PostIpamIPParams) SetContext(ctx context.Context)
SetContext adds the context to the post ipam IP params
func (*PostIpamIPParams) SetDefaults ¶
func (o *PostIpamIPParams) SetDefaults()
SetDefaults hydrates default values in the post ipam IP params (not the query body).
All values with no default are reset to their zero value.
func (*PostIpamIPParams) SetHTTPClient ¶
func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post ipam IP params
func (*PostIpamIPParams) SetIP ¶
func (o *PostIpamIPParams) SetIP(ip string)
SetIP adds the ip to the post ipam IP params
func (*PostIpamIPParams) SetOwner ¶
func (o *PostIpamIPParams) SetOwner(owner *string)
SetOwner adds the owner to the post ipam IP params
func (*PostIpamIPParams) SetPool ¶
func (o *PostIpamIPParams) SetPool(pool *string)
SetPool adds the pool to the post ipam IP params
func (*PostIpamIPParams) SetTimeout ¶
func (o *PostIpamIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post ipam IP params
func (*PostIpamIPParams) WithContext ¶
func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams
WithContext adds the context to the post ipam IP params
func (*PostIpamIPParams) WithDefaults ¶
func (o *PostIpamIPParams) WithDefaults() *PostIpamIPParams
WithDefaults hydrates default values in the post ipam IP params (not the query body).
All values with no default are reset to their zero value.
func (*PostIpamIPParams) WithHTTPClient ¶
func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams
WithHTTPClient adds the HTTPClient to the post ipam IP params
func (*PostIpamIPParams) WithIP ¶
func (o *PostIpamIPParams) WithIP(ip string) *PostIpamIPParams
WithIP adds the ip to the post ipam IP params
func (*PostIpamIPParams) WithOwner ¶
func (o *PostIpamIPParams) WithOwner(owner *string) *PostIpamIPParams
WithOwner adds the owner to the post ipam IP params
func (*PostIpamIPParams) WithPool ¶
func (o *PostIpamIPParams) WithPool(pool *string) *PostIpamIPParams
WithPool adds the pool to the post ipam IP params
func (*PostIpamIPParams) WithTimeout ¶
func (o *PostIpamIPParams) WithTimeout(timeout time.Duration) *PostIpamIPParams
WithTimeout adds the timeout to the post ipam IP params
func (*PostIpamIPParams) WriteToRequest ¶
func (o *PostIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIpamIPReader ¶
type PostIpamIPReader struct {
// contains filtered or unexported fields
}
PostIpamIPReader is a Reader for the PostIpamIP structure.
func (*PostIpamIPReader) ReadResponse ¶
func (o *PostIpamIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIpamParams ¶
type PostIpamParams struct { // Expiration. Expiration *bool // Family. Family *string // Owner. Owner *string // Pool. Pool *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostIpamParams contains all the parameters to send to the API endpoint
for the post ipam operation. Typically these are written to a http.Request.
func NewPostIpamParams ¶
func NewPostIpamParams() *PostIpamParams
NewPostIpamParams creates a new PostIpamParams 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 NewPostIpamParamsWithContext ¶
func NewPostIpamParamsWithContext(ctx context.Context) *PostIpamParams
NewPostIpamParamsWithContext creates a new PostIpamParams object with the ability to set a context for a request.
func NewPostIpamParamsWithHTTPClient ¶
func NewPostIpamParamsWithHTTPClient(client *http.Client) *PostIpamParams
NewPostIpamParamsWithHTTPClient creates a new PostIpamParams object with the ability to set a custom HTTPClient for a request.
func NewPostIpamParamsWithTimeout ¶
func NewPostIpamParamsWithTimeout(timeout time.Duration) *PostIpamParams
NewPostIpamParamsWithTimeout creates a new PostIpamParams object with the ability to set a timeout on a request.
func (*PostIpamParams) SetContext ¶
func (o *PostIpamParams) SetContext(ctx context.Context)
SetContext adds the context to the post ipam params
func (*PostIpamParams) SetDefaults ¶
func (o *PostIpamParams) SetDefaults()
SetDefaults hydrates default values in the post ipam params (not the query body).
All values with no default are reset to their zero value.
func (*PostIpamParams) SetExpiration ¶
func (o *PostIpamParams) SetExpiration(expiration *bool)
SetExpiration adds the expiration to the post ipam params
func (*PostIpamParams) SetFamily ¶
func (o *PostIpamParams) SetFamily(family *string)
SetFamily adds the family to the post ipam params
func (*PostIpamParams) SetHTTPClient ¶
func (o *PostIpamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post ipam params
func (*PostIpamParams) SetOwner ¶
func (o *PostIpamParams) SetOwner(owner *string)
SetOwner adds the owner to the post ipam params
func (*PostIpamParams) SetPool ¶
func (o *PostIpamParams) SetPool(pool *string)
SetPool adds the pool to the post ipam params
func (*PostIpamParams) SetTimeout ¶
func (o *PostIpamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post ipam params
func (*PostIpamParams) WithContext ¶
func (o *PostIpamParams) WithContext(ctx context.Context) *PostIpamParams
WithContext adds the context to the post ipam params
func (*PostIpamParams) WithDefaults ¶
func (o *PostIpamParams) WithDefaults() *PostIpamParams
WithDefaults hydrates default values in the post ipam params (not the query body).
All values with no default are reset to their zero value.
func (*PostIpamParams) WithExpiration ¶
func (o *PostIpamParams) WithExpiration(expiration *bool) *PostIpamParams
WithExpiration adds the expiration to the post ipam params
func (*PostIpamParams) WithFamily ¶
func (o *PostIpamParams) WithFamily(family *string) *PostIpamParams
WithFamily adds the family to the post ipam params
func (*PostIpamParams) WithHTTPClient ¶
func (o *PostIpamParams) WithHTTPClient(client *http.Client) *PostIpamParams
WithHTTPClient adds the HTTPClient to the post ipam params
func (*PostIpamParams) WithOwner ¶
func (o *PostIpamParams) WithOwner(owner *string) *PostIpamParams
WithOwner adds the owner to the post ipam params
func (*PostIpamParams) WithPool ¶
func (o *PostIpamParams) WithPool(pool *string) *PostIpamParams
WithPool adds the pool to the post ipam params
func (*PostIpamParams) WithTimeout ¶
func (o *PostIpamParams) WithTimeout(timeout time.Duration) *PostIpamParams
WithTimeout adds the timeout to the post ipam params
func (*PostIpamParams) WriteToRequest ¶
func (o *PostIpamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIpamReader ¶
type PostIpamReader struct {
// contains filtered or unexported fields
}
PostIpamReader is a Reader for the PostIpam structure.
func (*PostIpamReader) ReadResponse ¶
func (o *PostIpamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.