address

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressCreateCreated

type AddressCreateCreated struct {
	Payload *models.IpamsvcCreateAddressResponse
}
AddressCreateCreated describes a response with status code 201, with default header values.

POST operation response

func NewAddressCreateCreated

func NewAddressCreateCreated() *AddressCreateCreated

NewAddressCreateCreated creates a AddressCreateCreated with default headers values

func (*AddressCreateCreated) Error

func (o *AddressCreateCreated) Error() string

func (*AddressCreateCreated) GetPayload

type AddressCreateParams

type AddressCreateParams struct {

	// Body.
	Body *models.IpamsvcAddress

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressCreateParams contains all the parameters to send to the API endpoint

for the address create operation.

Typically these are written to a http.Request.

func NewAddressCreateParams

func NewAddressCreateParams() *AddressCreateParams

NewAddressCreateParams creates a new AddressCreateParams 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 NewAddressCreateParamsWithContext

func NewAddressCreateParamsWithContext(ctx context.Context) *AddressCreateParams

NewAddressCreateParamsWithContext creates a new AddressCreateParams object with the ability to set a context for a request.

func NewAddressCreateParamsWithHTTPClient

func NewAddressCreateParamsWithHTTPClient(client *http.Client) *AddressCreateParams

NewAddressCreateParamsWithHTTPClient creates a new AddressCreateParams object with the ability to set a custom HTTPClient for a request.

func NewAddressCreateParamsWithTimeout

func NewAddressCreateParamsWithTimeout(timeout time.Duration) *AddressCreateParams

NewAddressCreateParamsWithTimeout creates a new AddressCreateParams object with the ability to set a timeout on a request.

func (*AddressCreateParams) SetBody

func (o *AddressCreateParams) SetBody(body *models.IpamsvcAddress)

SetBody adds the body to the address create params

func (*AddressCreateParams) SetContext

func (o *AddressCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the address create params

func (*AddressCreateParams) SetDefaults

func (o *AddressCreateParams) SetDefaults()

SetDefaults hydrates default values in the address create params (not the query body).

All values with no default are reset to their zero value.

func (*AddressCreateParams) SetHTTPClient

func (o *AddressCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address create params

func (*AddressCreateParams) SetTimeout

func (o *AddressCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address create params

func (*AddressCreateParams) WithBody

WithBody adds the body to the address create params

func (*AddressCreateParams) WithContext

WithContext adds the context to the address create params

func (*AddressCreateParams) WithDefaults

func (o *AddressCreateParams) WithDefaults() *AddressCreateParams

WithDefaults hydrates default values in the address create params (not the query body).

All values with no default are reset to their zero value.

func (*AddressCreateParams) WithHTTPClient

func (o *AddressCreateParams) WithHTTPClient(client *http.Client) *AddressCreateParams

WithHTTPClient adds the HTTPClient to the address create params

func (*AddressCreateParams) WithTimeout

func (o *AddressCreateParams) WithTimeout(timeout time.Duration) *AddressCreateParams

WithTimeout adds the timeout to the address create params

func (*AddressCreateParams) WriteToRequest

func (o *AddressCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddressCreateReader

type AddressCreateReader struct {
	// contains filtered or unexported fields
}

AddressCreateReader is a Reader for the AddressCreate structure.

func (*AddressCreateReader) ReadResponse

func (o *AddressCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressDeleteNoContent

type AddressDeleteNoContent struct {
}
AddressDeleteNoContent describes a response with status code 204, with default header values.

No Content

func NewAddressDeleteNoContent

func NewAddressDeleteNoContent() *AddressDeleteNoContent

NewAddressDeleteNoContent creates a AddressDeleteNoContent with default headers values

func (*AddressDeleteNoContent) Error

func (o *AddressDeleteNoContent) Error() string

type AddressDeleteParams

type AddressDeleteParams struct {

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressDeleteParams contains all the parameters to send to the API endpoint

for the address delete operation.

Typically these are written to a http.Request.

func NewAddressDeleteParams

func NewAddressDeleteParams() *AddressDeleteParams

NewAddressDeleteParams creates a new AddressDeleteParams 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 NewAddressDeleteParamsWithContext

func NewAddressDeleteParamsWithContext(ctx context.Context) *AddressDeleteParams

NewAddressDeleteParamsWithContext creates a new AddressDeleteParams object with the ability to set a context for a request.

func NewAddressDeleteParamsWithHTTPClient

func NewAddressDeleteParamsWithHTTPClient(client *http.Client) *AddressDeleteParams

NewAddressDeleteParamsWithHTTPClient creates a new AddressDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAddressDeleteParamsWithTimeout

func NewAddressDeleteParamsWithTimeout(timeout time.Duration) *AddressDeleteParams

NewAddressDeleteParamsWithTimeout creates a new AddressDeleteParams object with the ability to set a timeout on a request.

func (*AddressDeleteParams) SetContext

func (o *AddressDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the address delete params

func (*AddressDeleteParams) SetDefaults

func (o *AddressDeleteParams) SetDefaults()

SetDefaults hydrates default values in the address delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressDeleteParams) SetHTTPClient

func (o *AddressDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address delete params

func (*AddressDeleteParams) SetID

func (o *AddressDeleteParams) SetID(id string)

SetID adds the id to the address delete params

func (*AddressDeleteParams) SetTimeout

func (o *AddressDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address delete params

func (*AddressDeleteParams) WithContext

WithContext adds the context to the address delete params

func (*AddressDeleteParams) WithDefaults

func (o *AddressDeleteParams) WithDefaults() *AddressDeleteParams

WithDefaults hydrates default values in the address delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressDeleteParams) WithHTTPClient

func (o *AddressDeleteParams) WithHTTPClient(client *http.Client) *AddressDeleteParams

WithHTTPClient adds the HTTPClient to the address delete params

func (*AddressDeleteParams) WithID

WithID adds the id to the address delete params

func (*AddressDeleteParams) WithTimeout

func (o *AddressDeleteParams) WithTimeout(timeout time.Duration) *AddressDeleteParams

WithTimeout adds the timeout to the address delete params

func (*AddressDeleteParams) WriteToRequest

func (o *AddressDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddressDeleteReader

type AddressDeleteReader struct {
	// contains filtered or unexported fields
}

AddressDeleteReader is a Reader for the AddressDelete structure.

func (*AddressDeleteReader) ReadResponse

func (o *AddressDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressListOK

type AddressListOK struct {
	Payload *models.IpamsvcListAddressResponse
}
AddressListOK describes a response with status code 200, with default header values.

GET operation response

func NewAddressListOK

func NewAddressListOK() *AddressListOK

NewAddressListOK creates a AddressListOK with default headers values

func (*AddressListOK) Error

func (o *AddressListOK) Error() string

func (*AddressListOK) GetPayload

type AddressListParams

type AddressListParams struct {

	/* Fields.



	A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource.

	Specify this parameter as a comma-separated list of JSON tag names.


	*/
	Fields *string

	/* Filter.



	A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null.

	Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions:

	|  Op   |  Description               |
	|  --   |  -----------               |
	|  ==   |  Equal                     |
	|  !=   |  Not Equal                 |
	|  >    |  Greater Than              |
	|   >=  |  Greater Than or Equal To  |
	|  <    |  Less Than                 |
	|  <=   |  Less Than or Equal To     |
	|  and  |  Logical AND               |
	|  ~    |  Matches Regex             |
	|  !~   |  Does Not Match Regex      |
	|  or   |  Logical OR                |
	|  not  |  Logical NOT               |
	|  ()   |  Groupping Operators       |


	*/
	Filter *string

	/* Limit.



	The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.


	*/
	Limit *int64

	/* Offset.



	The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.


	*/
	Offset *int64

	/* OrderBy.



	A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.)

	Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.


	*/
	OrderBy *string

	/* PageToken.



	The service-defined string used to identify a page of resources. A null value indicates the first page.


	*/
	PageToken *string

	/* Tfilter.

	   This parameter is used for filtering by tags.
	*/
	Tfilter *string

	/* TorderBy.

	   This parameter is used for sorting by tags.
	*/
	TorderBy *string

	// AddressState.
	AddressState *string

	// Scope.
	Scope *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressListParams contains all the parameters to send to the API endpoint

for the address list operation.

Typically these are written to a http.Request.

func NewAddressListParams

func NewAddressListParams() *AddressListParams

NewAddressListParams creates a new AddressListParams 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 NewAddressListParamsWithContext

func NewAddressListParamsWithContext(ctx context.Context) *AddressListParams

NewAddressListParamsWithContext creates a new AddressListParams object with the ability to set a context for a request.

func NewAddressListParamsWithHTTPClient

func NewAddressListParamsWithHTTPClient(client *http.Client) *AddressListParams

NewAddressListParamsWithHTTPClient creates a new AddressListParams object with the ability to set a custom HTTPClient for a request.

func NewAddressListParamsWithTimeout

func NewAddressListParamsWithTimeout(timeout time.Duration) *AddressListParams

NewAddressListParamsWithTimeout creates a new AddressListParams object with the ability to set a timeout on a request.

func (*AddressListParams) SetAddressState

func (o *AddressListParams) SetAddressState(addressState *string)

SetAddressState adds the addressState to the address list params

func (*AddressListParams) SetContext

func (o *AddressListParams) SetContext(ctx context.Context)

SetContext adds the context to the address list params

func (*AddressListParams) SetDefaults

func (o *AddressListParams) SetDefaults()

SetDefaults hydrates default values in the address list params (not the query body).

All values with no default are reset to their zero value.

func (*AddressListParams) SetFields

func (o *AddressListParams) SetFields(fields *string)

SetFields adds the fields to the address list params

func (*AddressListParams) SetFilter

func (o *AddressListParams) SetFilter(filter *string)

SetFilter adds the filter to the address list params

func (*AddressListParams) SetHTTPClient

func (o *AddressListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address list params

func (*AddressListParams) SetLimit

func (o *AddressListParams) SetLimit(limit *int64)

SetLimit adds the limit to the address list params

func (*AddressListParams) SetOffset

func (o *AddressListParams) SetOffset(offset *int64)

SetOffset adds the offset to the address list params

func (*AddressListParams) SetOrderBy

func (o *AddressListParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the address list params

func (*AddressListParams) SetPageToken

func (o *AddressListParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the address list params

func (*AddressListParams) SetScope

func (o *AddressListParams) SetScope(scope *string)

SetScope adds the scope to the address list params

func (*AddressListParams) SetTfilter

func (o *AddressListParams) SetTfilter(tfilter *string)

SetTfilter adds the tfilter to the address list params

func (*AddressListParams) SetTimeout

func (o *AddressListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address list params

func (*AddressListParams) SetTorderBy

func (o *AddressListParams) SetTorderBy(torderBy *string)

SetTorderBy adds the torderBy to the address list params

func (*AddressListParams) WithAddressState

func (o *AddressListParams) WithAddressState(addressState *string) *AddressListParams

WithAddressState adds the addressState to the address list params

func (*AddressListParams) WithContext

func (o *AddressListParams) WithContext(ctx context.Context) *AddressListParams

WithContext adds the context to the address list params

func (*AddressListParams) WithDefaults

func (o *AddressListParams) WithDefaults() *AddressListParams

WithDefaults hydrates default values in the address list params (not the query body).

All values with no default are reset to their zero value.

func (*AddressListParams) WithFields

func (o *AddressListParams) WithFields(fields *string) *AddressListParams

WithFields adds the fields to the address list params

func (*AddressListParams) WithFilter

func (o *AddressListParams) WithFilter(filter *string) *AddressListParams

WithFilter adds the filter to the address list params

func (*AddressListParams) WithHTTPClient

func (o *AddressListParams) WithHTTPClient(client *http.Client) *AddressListParams

WithHTTPClient adds the HTTPClient to the address list params

func (*AddressListParams) WithLimit

func (o *AddressListParams) WithLimit(limit *int64) *AddressListParams

WithLimit adds the limit to the address list params

func (*AddressListParams) WithOffset

func (o *AddressListParams) WithOffset(offset *int64) *AddressListParams

WithOffset adds the offset to the address list params

func (*AddressListParams) WithOrderBy

func (o *AddressListParams) WithOrderBy(orderBy *string) *AddressListParams

WithOrderBy adds the orderBy to the address list params

func (*AddressListParams) WithPageToken

func (o *AddressListParams) WithPageToken(pageToken *string) *AddressListParams

WithPageToken adds the pageToken to the address list params

func (*AddressListParams) WithScope

func (o *AddressListParams) WithScope(scope *string) *AddressListParams

WithScope adds the scope to the address list params

func (*AddressListParams) WithTfilter

func (o *AddressListParams) WithTfilter(tfilter *string) *AddressListParams

WithTfilter adds the tfilter to the address list params

func (*AddressListParams) WithTimeout

func (o *AddressListParams) WithTimeout(timeout time.Duration) *AddressListParams

WithTimeout adds the timeout to the address list params

func (*AddressListParams) WithTorderBy

func (o *AddressListParams) WithTorderBy(torderBy *string) *AddressListParams

WithTorderBy adds the torderBy to the address list params

func (*AddressListParams) WriteToRequest

func (o *AddressListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddressListReader

type AddressListReader struct {
	// contains filtered or unexported fields
}

AddressListReader is a Reader for the AddressList structure.

func (*AddressListReader) ReadResponse

func (o *AddressListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressReadOK

type AddressReadOK struct {
	Payload *models.IpamsvcReadAddressResponse
}
AddressReadOK describes a response with status code 200, with default header values.

GET operation response

func NewAddressReadOK

func NewAddressReadOK() *AddressReadOK

NewAddressReadOK creates a AddressReadOK with default headers values

func (*AddressReadOK) Error

func (o *AddressReadOK) Error() string

func (*AddressReadOK) GetPayload

type AddressReadParams

type AddressReadParams struct {

	/* Fields.



	A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource.

	Specify this parameter as a comma-separated list of JSON tag names.


	*/
	Fields *string

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressReadParams contains all the parameters to send to the API endpoint

for the address read operation.

Typically these are written to a http.Request.

func NewAddressReadParams

func NewAddressReadParams() *AddressReadParams

NewAddressReadParams creates a new AddressReadParams 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 NewAddressReadParamsWithContext

func NewAddressReadParamsWithContext(ctx context.Context) *AddressReadParams

NewAddressReadParamsWithContext creates a new AddressReadParams object with the ability to set a context for a request.

func NewAddressReadParamsWithHTTPClient

func NewAddressReadParamsWithHTTPClient(client *http.Client) *AddressReadParams

NewAddressReadParamsWithHTTPClient creates a new AddressReadParams object with the ability to set a custom HTTPClient for a request.

func NewAddressReadParamsWithTimeout

func NewAddressReadParamsWithTimeout(timeout time.Duration) *AddressReadParams

NewAddressReadParamsWithTimeout creates a new AddressReadParams object with the ability to set a timeout on a request.

func (*AddressReadParams) SetContext

func (o *AddressReadParams) SetContext(ctx context.Context)

SetContext adds the context to the address read params

func (*AddressReadParams) SetDefaults

func (o *AddressReadParams) SetDefaults()

SetDefaults hydrates default values in the address read params (not the query body).

All values with no default are reset to their zero value.

func (*AddressReadParams) SetFields

func (o *AddressReadParams) SetFields(fields *string)

SetFields adds the fields to the address read params

func (*AddressReadParams) SetHTTPClient

func (o *AddressReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address read params

func (*AddressReadParams) SetID

func (o *AddressReadParams) SetID(id string)

SetID adds the id to the address read params

func (*AddressReadParams) SetTimeout

func (o *AddressReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address read params

func (*AddressReadParams) WithContext

func (o *AddressReadParams) WithContext(ctx context.Context) *AddressReadParams

WithContext adds the context to the address read params

func (*AddressReadParams) WithDefaults

func (o *AddressReadParams) WithDefaults() *AddressReadParams

WithDefaults hydrates default values in the address read params (not the query body).

All values with no default are reset to their zero value.

func (*AddressReadParams) WithFields

func (o *AddressReadParams) WithFields(fields *string) *AddressReadParams

WithFields adds the fields to the address read params

func (*AddressReadParams) WithHTTPClient

func (o *AddressReadParams) WithHTTPClient(client *http.Client) *AddressReadParams

WithHTTPClient adds the HTTPClient to the address read params

func (*AddressReadParams) WithID

WithID adds the id to the address read params

func (*AddressReadParams) WithTimeout

func (o *AddressReadParams) WithTimeout(timeout time.Duration) *AddressReadParams

WithTimeout adds the timeout to the address read params

func (*AddressReadParams) WriteToRequest

func (o *AddressReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddressReadReader

type AddressReadReader struct {
	// contains filtered or unexported fields
}

AddressReadReader is a Reader for the AddressRead structure.

func (*AddressReadReader) ReadResponse

func (o *AddressReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressUpdateCreated

type AddressUpdateCreated struct {
	Payload *models.IpamsvcUpdateAddressResponse
}
AddressUpdateCreated describes a response with status code 201, with default header values.

PATCH operation response

func NewAddressUpdateCreated

func NewAddressUpdateCreated() *AddressUpdateCreated

NewAddressUpdateCreated creates a AddressUpdateCreated with default headers values

func (*AddressUpdateCreated) Error

func (o *AddressUpdateCreated) Error() string

func (*AddressUpdateCreated) GetPayload

type AddressUpdateParams

type AddressUpdateParams struct {

	// Body.
	Body *models.IpamsvcAddress

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressUpdateParams contains all the parameters to send to the API endpoint

for the address update operation.

Typically these are written to a http.Request.

func NewAddressUpdateParams

func NewAddressUpdateParams() *AddressUpdateParams

NewAddressUpdateParams creates a new AddressUpdateParams 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 NewAddressUpdateParamsWithContext

func NewAddressUpdateParamsWithContext(ctx context.Context) *AddressUpdateParams

NewAddressUpdateParamsWithContext creates a new AddressUpdateParams object with the ability to set a context for a request.

func NewAddressUpdateParamsWithHTTPClient

func NewAddressUpdateParamsWithHTTPClient(client *http.Client) *AddressUpdateParams

NewAddressUpdateParamsWithHTTPClient creates a new AddressUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewAddressUpdateParamsWithTimeout

func NewAddressUpdateParamsWithTimeout(timeout time.Duration) *AddressUpdateParams

NewAddressUpdateParamsWithTimeout creates a new AddressUpdateParams object with the ability to set a timeout on a request.

func (*AddressUpdateParams) SetBody

func (o *AddressUpdateParams) SetBody(body *models.IpamsvcAddress)

SetBody adds the body to the address update params

func (*AddressUpdateParams) SetContext

func (o *AddressUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the address update params

func (*AddressUpdateParams) SetDefaults

func (o *AddressUpdateParams) SetDefaults()

SetDefaults hydrates default values in the address update params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUpdateParams) SetHTTPClient

func (o *AddressUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address update params

func (*AddressUpdateParams) SetID

func (o *AddressUpdateParams) SetID(id string)

SetID adds the id to the address update params

func (*AddressUpdateParams) SetTimeout

func (o *AddressUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address update params

func (*AddressUpdateParams) WithBody

WithBody adds the body to the address update params

func (*AddressUpdateParams) WithContext

WithContext adds the context to the address update params

func (*AddressUpdateParams) WithDefaults

func (o *AddressUpdateParams) WithDefaults() *AddressUpdateParams

WithDefaults hydrates default values in the address update params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUpdateParams) WithHTTPClient

func (o *AddressUpdateParams) WithHTTPClient(client *http.Client) *AddressUpdateParams

WithHTTPClient adds the HTTPClient to the address update params

func (*AddressUpdateParams) WithID

WithID adds the id to the address update params

func (*AddressUpdateParams) WithTimeout

func (o *AddressUpdateParams) WithTimeout(timeout time.Duration) *AddressUpdateParams

WithTimeout adds the timeout to the address update params

func (*AddressUpdateParams) WriteToRequest

func (o *AddressUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddressUpdateReader

type AddressUpdateReader struct {
	// contains filtered or unexported fields
}

AddressUpdateReader is a Reader for the AddressUpdate structure.

func (*AddressUpdateReader) ReadResponse

func (o *AddressUpdateReader) 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 address API

func (*Client) AddressCreate

func (a *Client) AddressCreate(params *AddressCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressCreateCreated, error)
AddressCreate creates the IP address

Use this method to create an __Address__ object.

The __Address__ object represents any single IP address within a given IP space.

func (*Client) AddressDelete

func (a *Client) AddressDelete(params *AddressDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressDeleteNoContent, error)
AddressDelete moves the IP address to the recycle bin

Use this method to move an __Address__ object to the recycle bin.

The __Address__ object represents any single IP address within a given IP space.

func (*Client) AddressList

func (a *Client) AddressList(params *AddressListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressListOK, error)
AddressList retrieves IP addresses

Use this method to retrieve __Address__ objects.

The __Address__ object represents any single IP address within a given IP space.

func (*Client) AddressRead

func (a *Client) AddressRead(params *AddressReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReadOK, error)
AddressRead retrieves the IP address

Use this method to retrieve an __Address__ object.

The __Address__ object represents any single IP address within a given IP space.

func (*Client) AddressUpdate

func (a *Client) AddressUpdate(params *AddressUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUpdateCreated, error)
AddressUpdate updates the IP address

Use this method to update an __Address__ object.

The __Address__ object represents any single IP address within a given IP space.

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 {
	AddressCreate(params *AddressCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressCreateCreated, error)

	AddressDelete(params *AddressDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressDeleteNoContent, error)

	AddressList(params *AddressListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressListOK, error)

	AddressRead(params *AddressReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReadOK, error)

	AddressUpdate(params *AddressUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUpdateCreated, 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 address API client.

Jump to

Keyboard shortcuts

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