ip_space

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 Client

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

Client for ip space API

func (*Client) IPSpaceBulkCopy

func (a *Client) IPSpaceBulkCopy(params *IPSpaceBulkCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceBulkCopyCreated, error)
IPSpaceBulkCopy copies the specified address block and subnets in the IP space

Use this method to bulk copy __AddressBlock__ and __Subnet__ objects from one __IPSpace__ object to another __IPSpace__ object.

The __IPSpace__ object represents an entire address space. The __AddressBlock__ object allows a uniform representation of the address space segmentation, supporting functions such as administrative grouping, routing aggregation, delegation etc. The __Subnet__ object represents a set of addresses from which addresses are assigned to network equipment interfaces.

The _copy_objects_ specifies the list of objects (_ipam/address_block_ and _ipam/subnet_ only) in the _ipam/ip_space_ object to copy. The _target_ specifies the _ipam/ip_space_ object to which the objects must be copied.

func (*Client) IPSpaceCopy

func (a *Client) IPSpaceCopy(params *IPSpaceCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceCopyCreated, error)
IPSpaceCopy copies the IP space

Use this method to copy an __IPSpace__ object.

The __IPSpace__ object represents an entire address space.

func (*Client) IPSpaceCreate

func (a *Client) IPSpaceCreate(params *IPSpaceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceCreateCreated, error)
IPSpaceCreate creates the IP space

Use this method to create an __IPSpace__ object.

The __IPSpace__ object represents an entire address space.

func (*Client) IPSpaceDelete

func (a *Client) IPSpaceDelete(params *IPSpaceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceDeleteNoContent, error)
IPSpaceDelete moves the IP space to the recycle bin

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

The __IPSpace__ object represents an entire address space.

func (*Client) IPSpaceList

func (a *Client) IPSpaceList(params *IPSpaceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceListOK, error)
IPSpaceList retrieves IP spaces

Use this method to retrieve __IPSpace__ objects.

The __IPSpace__ object represents an entire address space.

func (*Client) IPSpaceRead

func (a *Client) IPSpaceRead(params *IPSpaceReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceReadOK, error)
IPSpaceRead retrieves the IP space

Use this method to retrieve an __IPSpace__ object.

The __IPSpace__ object represents an entire address space.

func (*Client) IPSpaceUpdate

func (a *Client) IPSpaceUpdate(params *IPSpaceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceUpdateCreated, error)
IPSpaceUpdate updates the IP space

Use this method to update an __IPSpace__ object.

The __IPSpace__ object represents an entire address 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 {
	IPSpaceBulkCopy(params *IPSpaceBulkCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceBulkCopyCreated, error)

	IPSpaceCopy(params *IPSpaceCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceCopyCreated, error)

	IPSpaceCreate(params *IPSpaceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceCreateCreated, error)

	IPSpaceDelete(params *IPSpaceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceDeleteNoContent, error)

	IPSpaceList(params *IPSpaceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceListOK, error)

	IPSpaceRead(params *IPSpaceReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceReadOK, error)

	IPSpaceUpdate(params *IPSpaceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPSpaceUpdateCreated, 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 space API client.

type IPSpaceBulkCopyCreated

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

POST operation response

func NewIPSpaceBulkCopyCreated

func NewIPSpaceBulkCopyCreated() *IPSpaceBulkCopyCreated

NewIPSpaceBulkCopyCreated creates a IPSpaceBulkCopyCreated with default headers values

func (*IPSpaceBulkCopyCreated) Error

func (o *IPSpaceBulkCopyCreated) Error() string

func (*IPSpaceBulkCopyCreated) GetPayload

type IPSpaceBulkCopyParams

type IPSpaceBulkCopyParams struct {

	// Body.
	Body *models.IpamsvcBulkCopyIPSpace

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

IPSpaceBulkCopyParams contains all the parameters to send to the API endpoint

for the ip space bulk copy operation.

Typically these are written to a http.Request.

func NewIPSpaceBulkCopyParams

func NewIPSpaceBulkCopyParams() *IPSpaceBulkCopyParams

NewIPSpaceBulkCopyParams creates a new IPSpaceBulkCopyParams 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 NewIPSpaceBulkCopyParamsWithContext

func NewIPSpaceBulkCopyParamsWithContext(ctx context.Context) *IPSpaceBulkCopyParams

NewIPSpaceBulkCopyParamsWithContext creates a new IPSpaceBulkCopyParams object with the ability to set a context for a request.

func NewIPSpaceBulkCopyParamsWithHTTPClient

func NewIPSpaceBulkCopyParamsWithHTTPClient(client *http.Client) *IPSpaceBulkCopyParams

NewIPSpaceBulkCopyParamsWithHTTPClient creates a new IPSpaceBulkCopyParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceBulkCopyParamsWithTimeout

func NewIPSpaceBulkCopyParamsWithTimeout(timeout time.Duration) *IPSpaceBulkCopyParams

NewIPSpaceBulkCopyParamsWithTimeout creates a new IPSpaceBulkCopyParams object with the ability to set a timeout on a request.

func (*IPSpaceBulkCopyParams) SetBody

SetBody adds the body to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) SetContext

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

SetContext adds the context to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) SetDefaults

func (o *IPSpaceBulkCopyParams) SetDefaults()

SetDefaults hydrates default values in the ip space bulk copy params (not the query body).

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

func (*IPSpaceBulkCopyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) SetTimeout

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

SetTimeout adds the timeout to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) WithBody

WithBody adds the body to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) WithContext

WithContext adds the context to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) WithDefaults

func (o *IPSpaceBulkCopyParams) WithDefaults() *IPSpaceBulkCopyParams

WithDefaults hydrates default values in the ip space bulk copy params (not the query body).

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

func (*IPSpaceBulkCopyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) WithTimeout

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

WithTimeout adds the timeout to the ip space bulk copy params

func (*IPSpaceBulkCopyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceBulkCopyReader

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

IPSpaceBulkCopyReader is a Reader for the IPSpaceBulkCopy structure.

func (*IPSpaceBulkCopyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPSpaceCopyCreated

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

POST operation response

func NewIPSpaceCopyCreated

func NewIPSpaceCopyCreated() *IPSpaceCopyCreated

NewIPSpaceCopyCreated creates a IPSpaceCopyCreated with default headers values

func (*IPSpaceCopyCreated) Error

func (o *IPSpaceCopyCreated) Error() string

func (*IPSpaceCopyCreated) GetPayload

type IPSpaceCopyParams

type IPSpaceCopyParams struct {

	// Body.
	Body *models.IpamsvcCopyIPSpace

	/* ID.

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

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

IPSpaceCopyParams contains all the parameters to send to the API endpoint

for the ip space copy operation.

Typically these are written to a http.Request.

func NewIPSpaceCopyParams

func NewIPSpaceCopyParams() *IPSpaceCopyParams

NewIPSpaceCopyParams creates a new IPSpaceCopyParams 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 NewIPSpaceCopyParamsWithContext

func NewIPSpaceCopyParamsWithContext(ctx context.Context) *IPSpaceCopyParams

NewIPSpaceCopyParamsWithContext creates a new IPSpaceCopyParams object with the ability to set a context for a request.

func NewIPSpaceCopyParamsWithHTTPClient

func NewIPSpaceCopyParamsWithHTTPClient(client *http.Client) *IPSpaceCopyParams

NewIPSpaceCopyParamsWithHTTPClient creates a new IPSpaceCopyParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceCopyParamsWithTimeout

func NewIPSpaceCopyParamsWithTimeout(timeout time.Duration) *IPSpaceCopyParams

NewIPSpaceCopyParamsWithTimeout creates a new IPSpaceCopyParams object with the ability to set a timeout on a request.

func (*IPSpaceCopyParams) SetBody

func (o *IPSpaceCopyParams) SetBody(body *models.IpamsvcCopyIPSpace)

SetBody adds the body to the ip space copy params

func (*IPSpaceCopyParams) SetContext

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

SetContext adds the context to the ip space copy params

func (*IPSpaceCopyParams) SetDefaults

func (o *IPSpaceCopyParams) SetDefaults()

SetDefaults hydrates default values in the ip space copy params (not the query body).

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

func (*IPSpaceCopyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space copy params

func (*IPSpaceCopyParams) SetID

func (o *IPSpaceCopyParams) SetID(id string)

SetID adds the id to the ip space copy params

func (*IPSpaceCopyParams) SetTimeout

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

SetTimeout adds the timeout to the ip space copy params

func (*IPSpaceCopyParams) WithBody

WithBody adds the body to the ip space copy params

func (*IPSpaceCopyParams) WithContext

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

WithContext adds the context to the ip space copy params

func (*IPSpaceCopyParams) WithDefaults

func (o *IPSpaceCopyParams) WithDefaults() *IPSpaceCopyParams

WithDefaults hydrates default values in the ip space copy params (not the query body).

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

func (*IPSpaceCopyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space copy params

func (*IPSpaceCopyParams) WithID

WithID adds the id to the ip space copy params

func (*IPSpaceCopyParams) WithTimeout

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

WithTimeout adds the timeout to the ip space copy params

func (*IPSpaceCopyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceCopyReader

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

IPSpaceCopyReader is a Reader for the IPSpaceCopy structure.

func (*IPSpaceCopyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPSpaceCreateCreated

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

POST operation response

func NewIPSpaceCreateCreated

func NewIPSpaceCreateCreated() *IPSpaceCreateCreated

NewIPSpaceCreateCreated creates a IPSpaceCreateCreated with default headers values

func (*IPSpaceCreateCreated) Error

func (o *IPSpaceCreateCreated) Error() string

func (*IPSpaceCreateCreated) GetPayload

type IPSpaceCreateParams

type IPSpaceCreateParams struct {

	// Body.
	Body *models.IpamsvcIPSpace

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

IPSpaceCreateParams contains all the parameters to send to the API endpoint

for the ip space create operation.

Typically these are written to a http.Request.

func NewIPSpaceCreateParams

func NewIPSpaceCreateParams() *IPSpaceCreateParams

NewIPSpaceCreateParams creates a new IPSpaceCreateParams 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 NewIPSpaceCreateParamsWithContext

func NewIPSpaceCreateParamsWithContext(ctx context.Context) *IPSpaceCreateParams

NewIPSpaceCreateParamsWithContext creates a new IPSpaceCreateParams object with the ability to set a context for a request.

func NewIPSpaceCreateParamsWithHTTPClient

func NewIPSpaceCreateParamsWithHTTPClient(client *http.Client) *IPSpaceCreateParams

NewIPSpaceCreateParamsWithHTTPClient creates a new IPSpaceCreateParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceCreateParamsWithTimeout

func NewIPSpaceCreateParamsWithTimeout(timeout time.Duration) *IPSpaceCreateParams

NewIPSpaceCreateParamsWithTimeout creates a new IPSpaceCreateParams object with the ability to set a timeout on a request.

func (*IPSpaceCreateParams) SetBody

func (o *IPSpaceCreateParams) SetBody(body *models.IpamsvcIPSpace)

SetBody adds the body to the ip space create params

func (*IPSpaceCreateParams) SetContext

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

SetContext adds the context to the ip space create params

func (*IPSpaceCreateParams) SetDefaults

func (o *IPSpaceCreateParams) SetDefaults()

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

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

func (*IPSpaceCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space create params

func (*IPSpaceCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ip space create params

func (*IPSpaceCreateParams) WithBody

WithBody adds the body to the ip space create params

func (*IPSpaceCreateParams) WithContext

WithContext adds the context to the ip space create params

func (*IPSpaceCreateParams) WithDefaults

func (o *IPSpaceCreateParams) WithDefaults() *IPSpaceCreateParams

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

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

func (*IPSpaceCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space create params

func (*IPSpaceCreateParams) WithTimeout

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

WithTimeout adds the timeout to the ip space create params

func (*IPSpaceCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceCreateReader

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

IPSpaceCreateReader is a Reader for the IPSpaceCreate structure.

func (*IPSpaceCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPSpaceDeleteNoContent

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

No Content

func NewIPSpaceDeleteNoContent

func NewIPSpaceDeleteNoContent() *IPSpaceDeleteNoContent

NewIPSpaceDeleteNoContent creates a IPSpaceDeleteNoContent with default headers values

func (*IPSpaceDeleteNoContent) Error

func (o *IPSpaceDeleteNoContent) Error() string

type IPSpaceDeleteParams

type IPSpaceDeleteParams struct {

	/* ID.

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

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

IPSpaceDeleteParams contains all the parameters to send to the API endpoint

for the ip space delete operation.

Typically these are written to a http.Request.

func NewIPSpaceDeleteParams

func NewIPSpaceDeleteParams() *IPSpaceDeleteParams

NewIPSpaceDeleteParams creates a new IPSpaceDeleteParams 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 NewIPSpaceDeleteParamsWithContext

func NewIPSpaceDeleteParamsWithContext(ctx context.Context) *IPSpaceDeleteParams

NewIPSpaceDeleteParamsWithContext creates a new IPSpaceDeleteParams object with the ability to set a context for a request.

func NewIPSpaceDeleteParamsWithHTTPClient

func NewIPSpaceDeleteParamsWithHTTPClient(client *http.Client) *IPSpaceDeleteParams

NewIPSpaceDeleteParamsWithHTTPClient creates a new IPSpaceDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceDeleteParamsWithTimeout

func NewIPSpaceDeleteParamsWithTimeout(timeout time.Duration) *IPSpaceDeleteParams

NewIPSpaceDeleteParamsWithTimeout creates a new IPSpaceDeleteParams object with the ability to set a timeout on a request.

func (*IPSpaceDeleteParams) SetContext

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

SetContext adds the context to the ip space delete params

func (*IPSpaceDeleteParams) SetDefaults

func (o *IPSpaceDeleteParams) SetDefaults()

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

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

func (*IPSpaceDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space delete params

func (*IPSpaceDeleteParams) SetID

func (o *IPSpaceDeleteParams) SetID(id string)

SetID adds the id to the ip space delete params

func (*IPSpaceDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ip space delete params

func (*IPSpaceDeleteParams) WithContext

WithContext adds the context to the ip space delete params

func (*IPSpaceDeleteParams) WithDefaults

func (o *IPSpaceDeleteParams) WithDefaults() *IPSpaceDeleteParams

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

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

func (*IPSpaceDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space delete params

func (*IPSpaceDeleteParams) WithID

WithID adds the id to the ip space delete params

func (*IPSpaceDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the ip space delete params

func (*IPSpaceDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceDeleteReader

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

IPSpaceDeleteReader is a Reader for the IPSpaceDelete structure.

func (*IPSpaceDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPSpaceListOK

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

GET operation response

func NewIPSpaceListOK

func NewIPSpaceListOK() *IPSpaceListOK

NewIPSpaceListOK creates a IPSpaceListOK with default headers values

func (*IPSpaceListOK) Error

func (o *IPSpaceListOK) Error() string

func (*IPSpaceListOK) GetPayload

type IPSpaceListParams

type IPSpaceListParams 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

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

IPSpaceListParams contains all the parameters to send to the API endpoint

for the ip space list operation.

Typically these are written to a http.Request.

func NewIPSpaceListParams

func NewIPSpaceListParams() *IPSpaceListParams

NewIPSpaceListParams creates a new IPSpaceListParams 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 NewIPSpaceListParamsWithContext

func NewIPSpaceListParamsWithContext(ctx context.Context) *IPSpaceListParams

NewIPSpaceListParamsWithContext creates a new IPSpaceListParams object with the ability to set a context for a request.

func NewIPSpaceListParamsWithHTTPClient

func NewIPSpaceListParamsWithHTTPClient(client *http.Client) *IPSpaceListParams

NewIPSpaceListParamsWithHTTPClient creates a new IPSpaceListParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceListParamsWithTimeout

func NewIPSpaceListParamsWithTimeout(timeout time.Duration) *IPSpaceListParams

NewIPSpaceListParamsWithTimeout creates a new IPSpaceListParams object with the ability to set a timeout on a request.

func (*IPSpaceListParams) SetContext

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

SetContext adds the context to the ip space list params

func (*IPSpaceListParams) SetDefaults

func (o *IPSpaceListParams) SetDefaults()

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

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

func (*IPSpaceListParams) SetFields

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

SetFields adds the fields to the ip space list params

func (*IPSpaceListParams) SetFilter

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

SetFilter adds the filter to the ip space list params

func (*IPSpaceListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space list params

func (*IPSpaceListParams) SetLimit

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

SetLimit adds the limit to the ip space list params

func (*IPSpaceListParams) SetOffset

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

SetOffset adds the offset to the ip space list params

func (*IPSpaceListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the ip space list params

func (*IPSpaceListParams) SetPageToken

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

SetPageToken adds the pageToken to the ip space list params

func (*IPSpaceListParams) SetTfilter

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

SetTfilter adds the tfilter to the ip space list params

func (*IPSpaceListParams) SetTimeout

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

SetTimeout adds the timeout to the ip space list params

func (*IPSpaceListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the ip space list params

func (*IPSpaceListParams) WithContext

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

WithContext adds the context to the ip space list params

func (*IPSpaceListParams) WithDefaults

func (o *IPSpaceListParams) WithDefaults() *IPSpaceListParams

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

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

func (*IPSpaceListParams) WithFields

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

WithFields adds the fields to the ip space list params

func (*IPSpaceListParams) WithFilter

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

WithFilter adds the filter to the ip space list params

func (*IPSpaceListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space list params

func (*IPSpaceListParams) WithLimit

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

WithLimit adds the limit to the ip space list params

func (*IPSpaceListParams) WithOffset

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

WithOffset adds the offset to the ip space list params

func (*IPSpaceListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the ip space list params

func (*IPSpaceListParams) WithPageToken

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

WithPageToken adds the pageToken to the ip space list params

func (*IPSpaceListParams) WithTfilter

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

WithTfilter adds the tfilter to the ip space list params

func (*IPSpaceListParams) WithTimeout

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

WithTimeout adds the timeout to the ip space list params

func (*IPSpaceListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the ip space list params

func (*IPSpaceListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceListReader

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

IPSpaceListReader is a Reader for the IPSpaceList structure.

func (*IPSpaceListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPSpaceReadOK

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

GET operation response

func NewIPSpaceReadOK

func NewIPSpaceReadOK() *IPSpaceReadOK

NewIPSpaceReadOK creates a IPSpaceReadOK with default headers values

func (*IPSpaceReadOK) Error

func (o *IPSpaceReadOK) Error() string

func (*IPSpaceReadOK) GetPayload

type IPSpaceReadParams

type IPSpaceReadParams 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
}

IPSpaceReadParams contains all the parameters to send to the API endpoint

for the ip space read operation.

Typically these are written to a http.Request.

func NewIPSpaceReadParams

func NewIPSpaceReadParams() *IPSpaceReadParams

NewIPSpaceReadParams creates a new IPSpaceReadParams 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 NewIPSpaceReadParamsWithContext

func NewIPSpaceReadParamsWithContext(ctx context.Context) *IPSpaceReadParams

NewIPSpaceReadParamsWithContext creates a new IPSpaceReadParams object with the ability to set a context for a request.

func NewIPSpaceReadParamsWithHTTPClient

func NewIPSpaceReadParamsWithHTTPClient(client *http.Client) *IPSpaceReadParams

NewIPSpaceReadParamsWithHTTPClient creates a new IPSpaceReadParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceReadParamsWithTimeout

func NewIPSpaceReadParamsWithTimeout(timeout time.Duration) *IPSpaceReadParams

NewIPSpaceReadParamsWithTimeout creates a new IPSpaceReadParams object with the ability to set a timeout on a request.

func (*IPSpaceReadParams) SetContext

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

SetContext adds the context to the ip space read params

func (*IPSpaceReadParams) SetDefaults

func (o *IPSpaceReadParams) SetDefaults()

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

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

func (*IPSpaceReadParams) SetFields

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

SetFields adds the fields to the ip space read params

func (*IPSpaceReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space read params

func (*IPSpaceReadParams) SetID

func (o *IPSpaceReadParams) SetID(id string)

SetID adds the id to the ip space read params

func (*IPSpaceReadParams) SetTimeout

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

SetTimeout adds the timeout to the ip space read params

func (*IPSpaceReadParams) WithContext

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

WithContext adds the context to the ip space read params

func (*IPSpaceReadParams) WithDefaults

func (o *IPSpaceReadParams) WithDefaults() *IPSpaceReadParams

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

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

func (*IPSpaceReadParams) WithFields

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

WithFields adds the fields to the ip space read params

func (*IPSpaceReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space read params

func (*IPSpaceReadParams) WithID

WithID adds the id to the ip space read params

func (*IPSpaceReadParams) WithTimeout

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

WithTimeout adds the timeout to the ip space read params

func (*IPSpaceReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceReadReader

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

IPSpaceReadReader is a Reader for the IPSpaceRead structure.

func (*IPSpaceReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPSpaceUpdateCreated

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

PATCH operation response

func NewIPSpaceUpdateCreated

func NewIPSpaceUpdateCreated() *IPSpaceUpdateCreated

NewIPSpaceUpdateCreated creates a IPSpaceUpdateCreated with default headers values

func (*IPSpaceUpdateCreated) Error

func (o *IPSpaceUpdateCreated) Error() string

func (*IPSpaceUpdateCreated) GetPayload

type IPSpaceUpdateParams

type IPSpaceUpdateParams struct {

	// Body.
	Body *models.IpamsvcIPSpace

	/* ID.

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

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

IPSpaceUpdateParams contains all the parameters to send to the API endpoint

for the ip space update operation.

Typically these are written to a http.Request.

func NewIPSpaceUpdateParams

func NewIPSpaceUpdateParams() *IPSpaceUpdateParams

NewIPSpaceUpdateParams creates a new IPSpaceUpdateParams 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 NewIPSpaceUpdateParamsWithContext

func NewIPSpaceUpdateParamsWithContext(ctx context.Context) *IPSpaceUpdateParams

NewIPSpaceUpdateParamsWithContext creates a new IPSpaceUpdateParams object with the ability to set a context for a request.

func NewIPSpaceUpdateParamsWithHTTPClient

func NewIPSpaceUpdateParamsWithHTTPClient(client *http.Client) *IPSpaceUpdateParams

NewIPSpaceUpdateParamsWithHTTPClient creates a new IPSpaceUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewIPSpaceUpdateParamsWithTimeout

func NewIPSpaceUpdateParamsWithTimeout(timeout time.Duration) *IPSpaceUpdateParams

NewIPSpaceUpdateParamsWithTimeout creates a new IPSpaceUpdateParams object with the ability to set a timeout on a request.

func (*IPSpaceUpdateParams) SetBody

func (o *IPSpaceUpdateParams) SetBody(body *models.IpamsvcIPSpace)

SetBody adds the body to the ip space update params

func (*IPSpaceUpdateParams) SetContext

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

SetContext adds the context to the ip space update params

func (*IPSpaceUpdateParams) SetDefaults

func (o *IPSpaceUpdateParams) SetDefaults()

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

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

func (*IPSpaceUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip space update params

func (*IPSpaceUpdateParams) SetID

func (o *IPSpaceUpdateParams) SetID(id string)

SetID adds the id to the ip space update params

func (*IPSpaceUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the ip space update params

func (*IPSpaceUpdateParams) WithBody

WithBody adds the body to the ip space update params

func (*IPSpaceUpdateParams) WithContext

WithContext adds the context to the ip space update params

func (*IPSpaceUpdateParams) WithDefaults

func (o *IPSpaceUpdateParams) WithDefaults() *IPSpaceUpdateParams

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

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

func (*IPSpaceUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ip space update params

func (*IPSpaceUpdateParams) WithID

WithID adds the id to the ip space update params

func (*IPSpaceUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the ip space update params

func (*IPSpaceUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IPSpaceUpdateReader

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

IPSpaceUpdateReader is a Reader for the IPSpaceUpdate structure.

func (*IPSpaceUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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