Documentation ¶
Index ¶
- type AllocationCreateUsingPUTBadRequest
- type AllocationCreateUsingPUTCreated
- type AllocationCreateUsingPUTOK
- type AllocationCreateUsingPUTParams
- func NewAllocationCreateUsingPUTParams() *AllocationCreateUsingPUTParams
- func NewAllocationCreateUsingPUTParamsWithContext(ctx context.Context) *AllocationCreateUsingPUTParams
- func NewAllocationCreateUsingPUTParamsWithHTTPClient(client *http.Client) *AllocationCreateUsingPUTParams
- func NewAllocationCreateUsingPUTParamsWithTimeout(timeout time.Duration) *AllocationCreateUsingPUTParams
- func (o *AllocationCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *AllocationCreateUsingPUTParams) SetDefaults()
- func (o *AllocationCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *AllocationCreateUsingPUTParams) SetPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation)
- func (o *AllocationCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *AllocationCreateUsingPUTParams) WithContext(ctx context.Context) *AllocationCreateUsingPUTParams
- func (o *AllocationCreateUsingPUTParams) WithDefaults() *AllocationCreateUsingPUTParams
- func (o *AllocationCreateUsingPUTParams) WithHTTPClient(client *http.Client) *AllocationCreateUsingPUTParams
- func (o *AllocationCreateUsingPUTParams) WithPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation) *AllocationCreateUsingPUTParams
- func (o *AllocationCreateUsingPUTParams) WithTimeout(timeout time.Duration) *AllocationCreateUsingPUTParams
- func (o *AllocationCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocationCreateUsingPUTReader
- type AllocationDeleteUsingDELETEBadRequest
- type AllocationDeleteUsingDELETEOK
- type AllocationDeleteUsingDELETEParams
- func NewAllocationDeleteUsingDELETEParams() *AllocationDeleteUsingDELETEParams
- func NewAllocationDeleteUsingDELETEParamsWithContext(ctx context.Context) *AllocationDeleteUsingDELETEParams
- func NewAllocationDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *AllocationDeleteUsingDELETEParams
- func NewAllocationDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *AllocationDeleteUsingDELETEParams
- func (o *AllocationDeleteUsingDELETEParams) SetAllocationID(allocationID int32)
- func (o *AllocationDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *AllocationDeleteUsingDELETEParams) SetDefaults()
- func (o *AllocationDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *AllocationDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *AllocationDeleteUsingDELETEParams) WithAllocationID(allocationID int32) *AllocationDeleteUsingDELETEParams
- func (o *AllocationDeleteUsingDELETEParams) WithContext(ctx context.Context) *AllocationDeleteUsingDELETEParams
- func (o *AllocationDeleteUsingDELETEParams) WithDefaults() *AllocationDeleteUsingDELETEParams
- func (o *AllocationDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *AllocationDeleteUsingDELETEParams
- func (o *AllocationDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *AllocationDeleteUsingDELETEParams
- func (o *AllocationDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocationDeleteUsingDELETEReader
- type AllocationGetUsingGETBadRequest
- type AllocationGetUsingGETNotFound
- type AllocationGetUsingGETOK
- type AllocationGetUsingGETParams
- func NewAllocationGetUsingGETParams() *AllocationGetUsingGETParams
- func NewAllocationGetUsingGETParamsWithContext(ctx context.Context) *AllocationGetUsingGETParams
- func NewAllocationGetUsingGETParamsWithHTTPClient(client *http.Client) *AllocationGetUsingGETParams
- func NewAllocationGetUsingGETParamsWithTimeout(timeout time.Duration) *AllocationGetUsingGETParams
- func (o *AllocationGetUsingGETParams) SetAllocationID(allocationID int32)
- func (o *AllocationGetUsingGETParams) SetContext(ctx context.Context)
- func (o *AllocationGetUsingGETParams) SetDefaults()
- func (o *AllocationGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *AllocationGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *AllocationGetUsingGETParams) WithAllocationID(allocationID int32) *AllocationGetUsingGETParams
- func (o *AllocationGetUsingGETParams) WithContext(ctx context.Context) *AllocationGetUsingGETParams
- func (o *AllocationGetUsingGETParams) WithDefaults() *AllocationGetUsingGETParams
- func (o *AllocationGetUsingGETParams) WithHTTPClient(client *http.Client) *AllocationGetUsingGETParams
- func (o *AllocationGetUsingGETParams) WithTimeout(timeout time.Duration) *AllocationGetUsingGETParams
- func (o *AllocationGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocationGetUsingGETReader
- type AllocationListUsingGETBadRequest
- type AllocationListUsingGETOK
- type AllocationListUsingGETParams
- func NewAllocationListUsingGETParams() *AllocationListUsingGETParams
- func NewAllocationListUsingGETParamsWithContext(ctx context.Context) *AllocationListUsingGETParams
- func NewAllocationListUsingGETParamsWithHTTPClient(client *http.Client) *AllocationListUsingGETParams
- func NewAllocationListUsingGETParamsWithTimeout(timeout time.Duration) *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) SetContext(ctx context.Context)
- func (o *AllocationListUsingGETParams) SetDefaults()
- func (o *AllocationListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *AllocationListUsingGETParams) SetIPAddress(iPAddress *string)
- func (o *AllocationListUsingGETParams) SetName(name *string)
- func (o *AllocationListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *AllocationListUsingGETParams) WithContext(ctx context.Context) *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) WithDefaults() *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) WithHTTPClient(client *http.Client) *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) WithIPAddress(iPAddress *string) *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) WithName(name *string) *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) WithTimeout(timeout time.Duration) *AllocationListUsingGETParams
- func (o *AllocationListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocationListUsingGETReader
- type AllocationUpdateUsingPUTBadRequest
- type AllocationUpdateUsingPUTOK
- type AllocationUpdateUsingPUTParams
- func NewAllocationUpdateUsingPUTParams() *AllocationUpdateUsingPUTParams
- func NewAllocationUpdateUsingPUTParamsWithContext(ctx context.Context) *AllocationUpdateUsingPUTParams
- func NewAllocationUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *AllocationUpdateUsingPUTParams
- func NewAllocationUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) SetAllocationID(allocationID int32)
- func (o *AllocationUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *AllocationUpdateUsingPUTParams) SetDefaults()
- func (o *AllocationUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *AllocationUpdateUsingPUTParams) SetPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation)
- func (o *AllocationUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *AllocationUpdateUsingPUTParams) WithAllocationID(allocationID int32) *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) WithContext(ctx context.Context) *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) WithDefaults() *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) WithPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation) *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *AllocationUpdateUsingPUTParams
- func (o *AllocationUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocationUpdateUsingPUTReader
- type Client
- func (a *Client) AllocationCreateUsingPUT(params *AllocationCreateUsingPUTParams, opts ...ClientOption) (*AllocationCreateUsingPUTOK, *AllocationCreateUsingPUTCreated, error)
- func (a *Client) AllocationDeleteUsingDELETE(params *AllocationDeleteUsingDELETEParams, opts ...ClientOption) (*AllocationDeleteUsingDELETEOK, error)
- func (a *Client) AllocationGetUsingGET(params *AllocationGetUsingGETParams, opts ...ClientOption) (*AllocationGetUsingGETOK, error)
- func (a *Client) AllocationListUsingGET(params *AllocationListUsingGETParams, opts ...ClientOption) (*AllocationListUsingGETOK, error)
- func (a *Client) AllocationUpdateUsingPUT(params *AllocationUpdateUsingPUTParams, opts ...ClientOption) (*AllocationUpdateUsingPUTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocationCreateUsingPUTBadRequest ¶
type AllocationCreateUsingPUTBadRequest struct { }
AllocationCreateUsingPUTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewAllocationCreateUsingPUTBadRequest ¶
func NewAllocationCreateUsingPUTBadRequest() *AllocationCreateUsingPUTBadRequest
NewAllocationCreateUsingPUTBadRequest creates a AllocationCreateUsingPUTBadRequest with default headers values
func (*AllocationCreateUsingPUTBadRequest) Error ¶
func (o *AllocationCreateUsingPUTBadRequest) Error() string
type AllocationCreateUsingPUTCreated ¶
type AllocationCreateUsingPUTCreated struct {
Payload *models.CreatePublicIPAllocationResponse
}
AllocationCreateUsingPUTCreated describes a response with status code 201, with default header values.
Entity has been created
func NewAllocationCreateUsingPUTCreated ¶
func NewAllocationCreateUsingPUTCreated() *AllocationCreateUsingPUTCreated
NewAllocationCreateUsingPUTCreated creates a AllocationCreateUsingPUTCreated with default headers values
func (*AllocationCreateUsingPUTCreated) Error ¶
func (o *AllocationCreateUsingPUTCreated) Error() string
func (*AllocationCreateUsingPUTCreated) GetPayload ¶
func (o *AllocationCreateUsingPUTCreated) GetPayload() *models.CreatePublicIPAllocationResponse
type AllocationCreateUsingPUTOK ¶
type AllocationCreateUsingPUTOK struct {
Payload *models.CreatePublicIPAllocationResponse
}
AllocationCreateUsingPUTOK describes a response with status code 200, with default header values.
OK
func NewAllocationCreateUsingPUTOK ¶
func NewAllocationCreateUsingPUTOK() *AllocationCreateUsingPUTOK
NewAllocationCreateUsingPUTOK creates a AllocationCreateUsingPUTOK with default headers values
func (*AllocationCreateUsingPUTOK) Error ¶
func (o *AllocationCreateUsingPUTOK) Error() string
func (*AllocationCreateUsingPUTOK) GetPayload ¶
func (o *AllocationCreateUsingPUTOK) GetPayload() *models.CreatePublicIPAllocationResponse
type AllocationCreateUsingPUTParams ¶
type AllocationCreateUsingPUTParams struct { /* PublicIPAllocation. publicIpAllocation */ PublicIPAllocation *models.PublicIPAllocation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocationCreateUsingPUTParams contains all the parameters to send to the API endpoint
for the allocation create using p u t operation. Typically these are written to a http.Request.
func NewAllocationCreateUsingPUTParams ¶
func NewAllocationCreateUsingPUTParams() *AllocationCreateUsingPUTParams
NewAllocationCreateUsingPUTParams creates a new AllocationCreateUsingPUTParams 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 NewAllocationCreateUsingPUTParamsWithContext ¶
func NewAllocationCreateUsingPUTParamsWithContext(ctx context.Context) *AllocationCreateUsingPUTParams
NewAllocationCreateUsingPUTParamsWithContext creates a new AllocationCreateUsingPUTParams object with the ability to set a context for a request.
func NewAllocationCreateUsingPUTParamsWithHTTPClient ¶
func NewAllocationCreateUsingPUTParamsWithHTTPClient(client *http.Client) *AllocationCreateUsingPUTParams
NewAllocationCreateUsingPUTParamsWithHTTPClient creates a new AllocationCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewAllocationCreateUsingPUTParamsWithTimeout ¶
func NewAllocationCreateUsingPUTParamsWithTimeout(timeout time.Duration) *AllocationCreateUsingPUTParams
NewAllocationCreateUsingPUTParamsWithTimeout creates a new AllocationCreateUsingPUTParams object with the ability to set a timeout on a request.
func (*AllocationCreateUsingPUTParams) SetContext ¶
func (o *AllocationCreateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *AllocationCreateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the allocation create using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationCreateUsingPUTParams) SetHTTPClient ¶
func (o *AllocationCreateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) SetPublicIPAllocation ¶
func (o *AllocationCreateUsingPUTParams) SetPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation)
SetPublicIPAllocation adds the publicIpAllocation to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) SetTimeout ¶
func (o *AllocationCreateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) WithContext ¶
func (o *AllocationCreateUsingPUTParams) WithContext(ctx context.Context) *AllocationCreateUsingPUTParams
WithContext adds the context to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *AllocationCreateUsingPUTParams) WithDefaults() *AllocationCreateUsingPUTParams
WithDefaults hydrates default values in the allocation create using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationCreateUsingPUTParams) WithHTTPClient ¶
func (o *AllocationCreateUsingPUTParams) WithHTTPClient(client *http.Client) *AllocationCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) WithPublicIPAllocation ¶
func (o *AllocationCreateUsingPUTParams) WithPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation) *AllocationCreateUsingPUTParams
WithPublicIPAllocation adds the publicIPAllocation to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) WithTimeout ¶
func (o *AllocationCreateUsingPUTParams) WithTimeout(timeout time.Duration) *AllocationCreateUsingPUTParams
WithTimeout adds the timeout to the allocation create using p u t params
func (*AllocationCreateUsingPUTParams) WriteToRequest ¶
func (o *AllocationCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocationCreateUsingPUTReader ¶
type AllocationCreateUsingPUTReader struct {
// contains filtered or unexported fields
}
AllocationCreateUsingPUTReader is a Reader for the AllocationCreateUsingPUT structure.
func (*AllocationCreateUsingPUTReader) ReadResponse ¶
func (o *AllocationCreateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllocationDeleteUsingDELETEBadRequest ¶
type AllocationDeleteUsingDELETEBadRequest struct { }
AllocationDeleteUsingDELETEBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewAllocationDeleteUsingDELETEBadRequest ¶
func NewAllocationDeleteUsingDELETEBadRequest() *AllocationDeleteUsingDELETEBadRequest
NewAllocationDeleteUsingDELETEBadRequest creates a AllocationDeleteUsingDELETEBadRequest with default headers values
func (*AllocationDeleteUsingDELETEBadRequest) Error ¶
func (o *AllocationDeleteUsingDELETEBadRequest) Error() string
type AllocationDeleteUsingDELETEOK ¶
type AllocationDeleteUsingDELETEOK struct {
Payload *models.DeletePublicIPAllocationResponse
}
AllocationDeleteUsingDELETEOK describes a response with status code 200, with default header values.
OK
func NewAllocationDeleteUsingDELETEOK ¶
func NewAllocationDeleteUsingDELETEOK() *AllocationDeleteUsingDELETEOK
NewAllocationDeleteUsingDELETEOK creates a AllocationDeleteUsingDELETEOK with default headers values
func (*AllocationDeleteUsingDELETEOK) Error ¶
func (o *AllocationDeleteUsingDELETEOK) Error() string
func (*AllocationDeleteUsingDELETEOK) GetPayload ¶
func (o *AllocationDeleteUsingDELETEOK) GetPayload() *models.DeletePublicIPAllocationResponse
type AllocationDeleteUsingDELETEParams ¶
type AllocationDeleteUsingDELETEParams struct { /* AllocationID. allocationId Format: int32 */ AllocationID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocationDeleteUsingDELETEParams contains all the parameters to send to the API endpoint
for the allocation delete using d e l e t e operation. Typically these are written to a http.Request.
func NewAllocationDeleteUsingDELETEParams ¶
func NewAllocationDeleteUsingDELETEParams() *AllocationDeleteUsingDELETEParams
NewAllocationDeleteUsingDELETEParams creates a new AllocationDeleteUsingDELETEParams 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 NewAllocationDeleteUsingDELETEParamsWithContext ¶
func NewAllocationDeleteUsingDELETEParamsWithContext(ctx context.Context) *AllocationDeleteUsingDELETEParams
NewAllocationDeleteUsingDELETEParamsWithContext creates a new AllocationDeleteUsingDELETEParams object with the ability to set a context for a request.
func NewAllocationDeleteUsingDELETEParamsWithHTTPClient ¶
func NewAllocationDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *AllocationDeleteUsingDELETEParams
NewAllocationDeleteUsingDELETEParamsWithHTTPClient creates a new AllocationDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewAllocationDeleteUsingDELETEParamsWithTimeout ¶
func NewAllocationDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *AllocationDeleteUsingDELETEParams
NewAllocationDeleteUsingDELETEParamsWithTimeout creates a new AllocationDeleteUsingDELETEParams object with the ability to set a timeout on a request.
func (*AllocationDeleteUsingDELETEParams) SetAllocationID ¶
func (o *AllocationDeleteUsingDELETEParams) SetAllocationID(allocationID int32)
SetAllocationID adds the allocationId to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) SetContext ¶
func (o *AllocationDeleteUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) SetDefaults ¶ added in v1.2.4
func (o *AllocationDeleteUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the allocation delete using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationDeleteUsingDELETEParams) SetHTTPClient ¶
func (o *AllocationDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) SetTimeout ¶
func (o *AllocationDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) WithAllocationID ¶
func (o *AllocationDeleteUsingDELETEParams) WithAllocationID(allocationID int32) *AllocationDeleteUsingDELETEParams
WithAllocationID adds the allocationID to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) WithContext ¶
func (o *AllocationDeleteUsingDELETEParams) WithContext(ctx context.Context) *AllocationDeleteUsingDELETEParams
WithContext adds the context to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) WithDefaults ¶ added in v1.2.4
func (o *AllocationDeleteUsingDELETEParams) WithDefaults() *AllocationDeleteUsingDELETEParams
WithDefaults hydrates default values in the allocation delete using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationDeleteUsingDELETEParams) WithHTTPClient ¶
func (o *AllocationDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *AllocationDeleteUsingDELETEParams
WithHTTPClient adds the HTTPClient to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) WithTimeout ¶
func (o *AllocationDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *AllocationDeleteUsingDELETEParams
WithTimeout adds the timeout to the allocation delete using d e l e t e params
func (*AllocationDeleteUsingDELETEParams) WriteToRequest ¶
func (o *AllocationDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocationDeleteUsingDELETEReader ¶
type AllocationDeleteUsingDELETEReader struct {
// contains filtered or unexported fields
}
AllocationDeleteUsingDELETEReader is a Reader for the AllocationDeleteUsingDELETE structure.
func (*AllocationDeleteUsingDELETEReader) ReadResponse ¶
func (o *AllocationDeleteUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllocationGetUsingGETBadRequest ¶
type AllocationGetUsingGETBadRequest struct { }
AllocationGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewAllocationGetUsingGETBadRequest ¶
func NewAllocationGetUsingGETBadRequest() *AllocationGetUsingGETBadRequest
NewAllocationGetUsingGETBadRequest creates a AllocationGetUsingGETBadRequest with default headers values
func (*AllocationGetUsingGETBadRequest) Error ¶
func (o *AllocationGetUsingGETBadRequest) Error() string
type AllocationGetUsingGETNotFound ¶
type AllocationGetUsingGETNotFound struct { }
AllocationGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewAllocationGetUsingGETNotFound ¶
func NewAllocationGetUsingGETNotFound() *AllocationGetUsingGETNotFound
NewAllocationGetUsingGETNotFound creates a AllocationGetUsingGETNotFound with default headers values
func (*AllocationGetUsingGETNotFound) Error ¶
func (o *AllocationGetUsingGETNotFound) Error() string
type AllocationGetUsingGETOK ¶
type AllocationGetUsingGETOK struct {
Payload *models.PublicIPAllocationGetResponse
}
AllocationGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewAllocationGetUsingGETOK ¶
func NewAllocationGetUsingGETOK() *AllocationGetUsingGETOK
NewAllocationGetUsingGETOK creates a AllocationGetUsingGETOK with default headers values
func (*AllocationGetUsingGETOK) Error ¶
func (o *AllocationGetUsingGETOK) Error() string
func (*AllocationGetUsingGETOK) GetPayload ¶
func (o *AllocationGetUsingGETOK) GetPayload() *models.PublicIPAllocationGetResponse
type AllocationGetUsingGETParams ¶
type AllocationGetUsingGETParams struct { /* AllocationID. allocationId Format: int32 */ AllocationID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocationGetUsingGETParams contains all the parameters to send to the API endpoint
for the allocation get using g e t operation. Typically these are written to a http.Request.
func NewAllocationGetUsingGETParams ¶
func NewAllocationGetUsingGETParams() *AllocationGetUsingGETParams
NewAllocationGetUsingGETParams creates a new AllocationGetUsingGETParams 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 NewAllocationGetUsingGETParamsWithContext ¶
func NewAllocationGetUsingGETParamsWithContext(ctx context.Context) *AllocationGetUsingGETParams
NewAllocationGetUsingGETParamsWithContext creates a new AllocationGetUsingGETParams object with the ability to set a context for a request.
func NewAllocationGetUsingGETParamsWithHTTPClient ¶
func NewAllocationGetUsingGETParamsWithHTTPClient(client *http.Client) *AllocationGetUsingGETParams
NewAllocationGetUsingGETParamsWithHTTPClient creates a new AllocationGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewAllocationGetUsingGETParamsWithTimeout ¶
func NewAllocationGetUsingGETParamsWithTimeout(timeout time.Duration) *AllocationGetUsingGETParams
NewAllocationGetUsingGETParamsWithTimeout creates a new AllocationGetUsingGETParams object with the ability to set a timeout on a request.
func (*AllocationGetUsingGETParams) SetAllocationID ¶
func (o *AllocationGetUsingGETParams) SetAllocationID(allocationID int32)
SetAllocationID adds the allocationId to the allocation get using g e t params
func (*AllocationGetUsingGETParams) SetContext ¶
func (o *AllocationGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the allocation get using g e t params
func (*AllocationGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *AllocationGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the allocation get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationGetUsingGETParams) SetHTTPClient ¶
func (o *AllocationGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocation get using g e t params
func (*AllocationGetUsingGETParams) SetTimeout ¶
func (o *AllocationGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocation get using g e t params
func (*AllocationGetUsingGETParams) WithAllocationID ¶
func (o *AllocationGetUsingGETParams) WithAllocationID(allocationID int32) *AllocationGetUsingGETParams
WithAllocationID adds the allocationID to the allocation get using g e t params
func (*AllocationGetUsingGETParams) WithContext ¶
func (o *AllocationGetUsingGETParams) WithContext(ctx context.Context) *AllocationGetUsingGETParams
WithContext adds the context to the allocation get using g e t params
func (*AllocationGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *AllocationGetUsingGETParams) WithDefaults() *AllocationGetUsingGETParams
WithDefaults hydrates default values in the allocation get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationGetUsingGETParams) WithHTTPClient ¶
func (o *AllocationGetUsingGETParams) WithHTTPClient(client *http.Client) *AllocationGetUsingGETParams
WithHTTPClient adds the HTTPClient to the allocation get using g e t params
func (*AllocationGetUsingGETParams) WithTimeout ¶
func (o *AllocationGetUsingGETParams) WithTimeout(timeout time.Duration) *AllocationGetUsingGETParams
WithTimeout adds the timeout to the allocation get using g e t params
func (*AllocationGetUsingGETParams) WriteToRequest ¶
func (o *AllocationGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocationGetUsingGETReader ¶
type AllocationGetUsingGETReader struct {
// contains filtered or unexported fields
}
AllocationGetUsingGETReader is a Reader for the AllocationGetUsingGET structure.
func (*AllocationGetUsingGETReader) ReadResponse ¶
func (o *AllocationGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllocationListUsingGETBadRequest ¶
type AllocationListUsingGETBadRequest struct { }
AllocationListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewAllocationListUsingGETBadRequest ¶
func NewAllocationListUsingGETBadRequest() *AllocationListUsingGETBadRequest
NewAllocationListUsingGETBadRequest creates a AllocationListUsingGETBadRequest with default headers values
func (*AllocationListUsingGETBadRequest) Error ¶
func (o *AllocationListUsingGETBadRequest) Error() string
type AllocationListUsingGETOK ¶
type AllocationListUsingGETOK struct {
Payload *models.PublicIPAllocationListResponse
}
AllocationListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewAllocationListUsingGETOK ¶
func NewAllocationListUsingGETOK() *AllocationListUsingGETOK
NewAllocationListUsingGETOK creates a AllocationListUsingGETOK with default headers values
func (*AllocationListUsingGETOK) Error ¶
func (o *AllocationListUsingGETOK) Error() string
func (*AllocationListUsingGETOK) GetPayload ¶
func (o *AllocationListUsingGETOK) GetPayload() *models.PublicIPAllocationListResponse
type AllocationListUsingGETParams ¶
type AllocationListUsingGETParams struct { /* IPAddress. ipAddress */ IPAddress *string /* Name. name */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocationListUsingGETParams contains all the parameters to send to the API endpoint
for the allocation list using g e t operation. Typically these are written to a http.Request.
func NewAllocationListUsingGETParams ¶
func NewAllocationListUsingGETParams() *AllocationListUsingGETParams
NewAllocationListUsingGETParams creates a new AllocationListUsingGETParams 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 NewAllocationListUsingGETParamsWithContext ¶
func NewAllocationListUsingGETParamsWithContext(ctx context.Context) *AllocationListUsingGETParams
NewAllocationListUsingGETParamsWithContext creates a new AllocationListUsingGETParams object with the ability to set a context for a request.
func NewAllocationListUsingGETParamsWithHTTPClient ¶
func NewAllocationListUsingGETParamsWithHTTPClient(client *http.Client) *AllocationListUsingGETParams
NewAllocationListUsingGETParamsWithHTTPClient creates a new AllocationListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewAllocationListUsingGETParamsWithTimeout ¶
func NewAllocationListUsingGETParamsWithTimeout(timeout time.Duration) *AllocationListUsingGETParams
NewAllocationListUsingGETParamsWithTimeout creates a new AllocationListUsingGETParams object with the ability to set a timeout on a request.
func (*AllocationListUsingGETParams) SetContext ¶
func (o *AllocationListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the allocation list using g e t params
func (*AllocationListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *AllocationListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the allocation list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationListUsingGETParams) SetHTTPClient ¶
func (o *AllocationListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocation list using g e t params
func (*AllocationListUsingGETParams) SetIPAddress ¶
func (o *AllocationListUsingGETParams) SetIPAddress(iPAddress *string)
SetIPAddress adds the ipAddress to the allocation list using g e t params
func (*AllocationListUsingGETParams) SetName ¶
func (o *AllocationListUsingGETParams) SetName(name *string)
SetName adds the name to the allocation list using g e t params
func (*AllocationListUsingGETParams) SetTimeout ¶
func (o *AllocationListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocation list using g e t params
func (*AllocationListUsingGETParams) WithContext ¶
func (o *AllocationListUsingGETParams) WithContext(ctx context.Context) *AllocationListUsingGETParams
WithContext adds the context to the allocation list using g e t params
func (*AllocationListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *AllocationListUsingGETParams) WithDefaults() *AllocationListUsingGETParams
WithDefaults hydrates default values in the allocation list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationListUsingGETParams) WithHTTPClient ¶
func (o *AllocationListUsingGETParams) WithHTTPClient(client *http.Client) *AllocationListUsingGETParams
WithHTTPClient adds the HTTPClient to the allocation list using g e t params
func (*AllocationListUsingGETParams) WithIPAddress ¶
func (o *AllocationListUsingGETParams) WithIPAddress(iPAddress *string) *AllocationListUsingGETParams
WithIPAddress adds the iPAddress to the allocation list using g e t params
func (*AllocationListUsingGETParams) WithName ¶
func (o *AllocationListUsingGETParams) WithName(name *string) *AllocationListUsingGETParams
WithName adds the name to the allocation list using g e t params
func (*AllocationListUsingGETParams) WithTimeout ¶
func (o *AllocationListUsingGETParams) WithTimeout(timeout time.Duration) *AllocationListUsingGETParams
WithTimeout adds the timeout to the allocation list using g e t params
func (*AllocationListUsingGETParams) WriteToRequest ¶
func (o *AllocationListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocationListUsingGETReader ¶
type AllocationListUsingGETReader struct {
// contains filtered or unexported fields
}
AllocationListUsingGETReader is a Reader for the AllocationListUsingGET structure.
func (*AllocationListUsingGETReader) ReadResponse ¶
func (o *AllocationListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllocationUpdateUsingPUTBadRequest ¶
type AllocationUpdateUsingPUTBadRequest struct { }
AllocationUpdateUsingPUTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewAllocationUpdateUsingPUTBadRequest ¶
func NewAllocationUpdateUsingPUTBadRequest() *AllocationUpdateUsingPUTBadRequest
NewAllocationUpdateUsingPUTBadRequest creates a AllocationUpdateUsingPUTBadRequest with default headers values
func (*AllocationUpdateUsingPUTBadRequest) Error ¶
func (o *AllocationUpdateUsingPUTBadRequest) Error() string
type AllocationUpdateUsingPUTOK ¶
type AllocationUpdateUsingPUTOK struct {
Payload *models.UpdatePublicIPAllocationResponse
}
AllocationUpdateUsingPUTOK describes a response with status code 200, with default header values.
Entity has been created
func NewAllocationUpdateUsingPUTOK ¶
func NewAllocationUpdateUsingPUTOK() *AllocationUpdateUsingPUTOK
NewAllocationUpdateUsingPUTOK creates a AllocationUpdateUsingPUTOK with default headers values
func (*AllocationUpdateUsingPUTOK) Error ¶
func (o *AllocationUpdateUsingPUTOK) Error() string
func (*AllocationUpdateUsingPUTOK) GetPayload ¶
func (o *AllocationUpdateUsingPUTOK) GetPayload() *models.UpdatePublicIPAllocationResponse
type AllocationUpdateUsingPUTParams ¶
type AllocationUpdateUsingPUTParams struct { /* AllocationID. allocationId Format: int32 */ AllocationID int32 /* PublicIPAllocation. publicIpAllocation */ PublicIPAllocation *models.PublicIPAllocation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocationUpdateUsingPUTParams contains all the parameters to send to the API endpoint
for the allocation update using p u t operation. Typically these are written to a http.Request.
func NewAllocationUpdateUsingPUTParams ¶
func NewAllocationUpdateUsingPUTParams() *AllocationUpdateUsingPUTParams
NewAllocationUpdateUsingPUTParams creates a new AllocationUpdateUsingPUTParams 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 NewAllocationUpdateUsingPUTParamsWithContext ¶
func NewAllocationUpdateUsingPUTParamsWithContext(ctx context.Context) *AllocationUpdateUsingPUTParams
NewAllocationUpdateUsingPUTParamsWithContext creates a new AllocationUpdateUsingPUTParams object with the ability to set a context for a request.
func NewAllocationUpdateUsingPUTParamsWithHTTPClient ¶
func NewAllocationUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *AllocationUpdateUsingPUTParams
NewAllocationUpdateUsingPUTParamsWithHTTPClient creates a new AllocationUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewAllocationUpdateUsingPUTParamsWithTimeout ¶
func NewAllocationUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *AllocationUpdateUsingPUTParams
NewAllocationUpdateUsingPUTParamsWithTimeout creates a new AllocationUpdateUsingPUTParams object with the ability to set a timeout on a request.
func (*AllocationUpdateUsingPUTParams) SetAllocationID ¶
func (o *AllocationUpdateUsingPUTParams) SetAllocationID(allocationID int32)
SetAllocationID adds the allocationId to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) SetContext ¶
func (o *AllocationUpdateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *AllocationUpdateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the allocation update using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationUpdateUsingPUTParams) SetHTTPClient ¶
func (o *AllocationUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) SetPublicIPAllocation ¶
func (o *AllocationUpdateUsingPUTParams) SetPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation)
SetPublicIPAllocation adds the publicIpAllocation to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) SetTimeout ¶
func (o *AllocationUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) WithAllocationID ¶
func (o *AllocationUpdateUsingPUTParams) WithAllocationID(allocationID int32) *AllocationUpdateUsingPUTParams
WithAllocationID adds the allocationID to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) WithContext ¶
func (o *AllocationUpdateUsingPUTParams) WithContext(ctx context.Context) *AllocationUpdateUsingPUTParams
WithContext adds the context to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *AllocationUpdateUsingPUTParams) WithDefaults() *AllocationUpdateUsingPUTParams
WithDefaults hydrates default values in the allocation update using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*AllocationUpdateUsingPUTParams) WithHTTPClient ¶
func (o *AllocationUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *AllocationUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) WithPublicIPAllocation ¶
func (o *AllocationUpdateUsingPUTParams) WithPublicIPAllocation(publicIPAllocation *models.PublicIPAllocation) *AllocationUpdateUsingPUTParams
WithPublicIPAllocation adds the publicIPAllocation to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) WithTimeout ¶
func (o *AllocationUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *AllocationUpdateUsingPUTParams
WithTimeout adds the timeout to the allocation update using p u t params
func (*AllocationUpdateUsingPUTParams) WriteToRequest ¶
func (o *AllocationUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocationUpdateUsingPUTReader ¶
type AllocationUpdateUsingPUTReader struct {
// contains filtered or unexported fields
}
AllocationUpdateUsingPUTReader is a Reader for the AllocationUpdateUsingPUT structure.
func (*AllocationUpdateUsingPUTReader) ReadResponse ¶
func (o *AllocationUpdateUsingPUTReader) 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 a m public ip allocations API
func (*Client) AllocationCreateUsingPUT ¶
func (a *Client) AllocationCreateUsingPUT(params *AllocationCreateUsingPUTParams, opts ...ClientOption) (*AllocationCreateUsingPUTOK, *AllocationCreateUsingPUTCreated, error)
AllocationCreateUsingPUT creates
Create public IP allocation object
func (*Client) AllocationDeleteUsingDELETE ¶
func (a *Client) AllocationDeleteUsingDELETE(params *AllocationDeleteUsingDELETEParams, opts ...ClientOption) (*AllocationDeleteUsingDELETEOK, error)
AllocationDeleteUsingDELETE deletes
Delete public IP allocation object
func (*Client) AllocationGetUsingGET ¶
func (a *Client) AllocationGetUsingGET(params *AllocationGetUsingGETParams, opts ...ClientOption) (*AllocationGetUsingGETOK, error)
AllocationGetUsingGET gets
Get allocation of public IP
func (*Client) AllocationListUsingGET ¶
func (a *Client) AllocationListUsingGET(params *AllocationListUsingGETParams, opts ...ClientOption) (*AllocationListUsingGETOK, error)
AllocationListUsingGET lists
List allocations of public IPs
func (*Client) AllocationUpdateUsingPUT ¶
func (a *Client) AllocationUpdateUsingPUT(params *AllocationUpdateUsingPUTParams, opts ...ClientOption) (*AllocationUpdateUsingPUTOK, error)
AllocationUpdateUsingPUT updates
Update public IP allocation object
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AllocationCreateUsingPUT(params *AllocationCreateUsingPUTParams, opts ...ClientOption) (*AllocationCreateUsingPUTOK, *AllocationCreateUsingPUTCreated, error) AllocationDeleteUsingDELETE(params *AllocationDeleteUsingDELETEParams, opts ...ClientOption) (*AllocationDeleteUsingDELETEOK, error) AllocationGetUsingGET(params *AllocationGetUsingGETParams, opts ...ClientOption) (*AllocationGetUsingGETOK, error) AllocationListUsingGET(params *AllocationListUsingGETParams, opts ...ClientOption) (*AllocationListUsingGETOK, error) AllocationUpdateUsingPUT(params *AllocationUpdateUsingPUTParams, opts ...ClientOption) (*AllocationUpdateUsingPUTOK, 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 a m public ip allocations API client.
Source Files ¶
- allocation_create_using_p_u_t_parameters.go
- allocation_create_using_p_u_t_responses.go
- allocation_delete_using_d_e_l_e_t_e_parameters.go
- allocation_delete_using_d_e_l_e_t_e_responses.go
- allocation_get_using_g_e_t_parameters.go
- allocation_get_using_g_e_t_responses.go
- allocation_list_using_g_e_t_parameters.go
- allocation_list_using_g_e_t_responses.go
- allocation_update_using_p_u_t_parameters.go
- allocation_update_using_p_u_t_responses.go
- i_pam_public_ip_allocations_client.go