ip_a_m_public_ip_allocations

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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 (*AllocationCreateUsingPUTCreated) GetPayload

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 (*AllocationCreateUsingPUTOK) GetPayload

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

WithContext adds the context to the allocation create using p u t params

func (*AllocationCreateUsingPUTParams) WithDefaults added in v1.2.4

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

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

WithTimeout adds the timeout to the allocation create using p u t params

func (*AllocationCreateUsingPUTParams) WriteToRequest

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

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 (*AllocationDeleteUsingDELETEOK) GetPayload

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

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

WithAllocationID adds the allocationID to the allocation delete using d e l e t e params

func (*AllocationDeleteUsingDELETEParams) WithContext

WithContext adds the context to the allocation delete using d e l e t e params

func (*AllocationDeleteUsingDELETEParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the allocation delete using d e l e t e params

func (*AllocationDeleteUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the allocation delete using d e l e t e params

func (*AllocationDeleteUsingDELETEParams) WriteToRequest

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

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

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

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

WithContext adds the context to the allocation get using g e t params

func (*AllocationGetUsingGETParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the allocation get using g e t params

func (*AllocationGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the allocation get using g e t params

func (*AllocationGetUsingGETParams) WriteToRequest

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

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

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

WithContext adds the context to the allocation list using g e t params

func (*AllocationListUsingGETParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the allocation list using g e t params

func (*AllocationListUsingGETParams) WithIPAddress

WithIPAddress adds the iPAddress to the allocation list using g e t params

func (*AllocationListUsingGETParams) WithName

WithName adds the name to the allocation list using g e t params

func (*AllocationListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the allocation list using g e t params

func (*AllocationListUsingGETParams) WriteToRequest

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

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 (*AllocationUpdateUsingPUTOK) GetPayload

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

WithContext adds the context to the allocation update using p u t params

func (*AllocationUpdateUsingPUTParams) WithDefaults added in v1.2.4

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

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

WithTimeout adds the timeout to the allocation update using p u t params

func (*AllocationUpdateUsingPUTParams) WriteToRequest

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

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.

Jump to

Keyboard shortcuts

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