fixed_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 Client

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

Client for fixed address API

func (*Client) FixedAddressCreate

func (a *Client) FixedAddressCreate(params *FixedAddressCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressCreateCreated, error)
FixedAddressCreate creates the fixed address

Use this method to create a __FixedAddress__ object.

The __FixedAddress__ object reserves an address for a specific client. It must have a _match_type_ and a valid corresponding _match_value_ so that it can match that client.

func (*Client) FixedAddressDelete

func (a *Client) FixedAddressDelete(params *FixedAddressDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressDeleteNoContent, error)
FixedAddressDelete moves the fixed address to the recycle bin

Use this method to move a __FixedAddress__ object to the recycle bin.

The __FixedAddress__ object reserves an address for a specific client. It must have a _match_type_ and a valid corresponding _match_value_ so that it can match that client.

func (*Client) FixedAddressList

func (a *Client) FixedAddressList(params *FixedAddressListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressListOK, error)
FixedAddressList retrieves fixed addresses

Use this method to retrieve __FixedAddress__ objects.

The __FixedAddress__ object reserves an address for a specific client. It must have a _match_type_ and a valid corresponding _match_value_ so that it can match that client.

func (*Client) FixedAddressRead

func (a *Client) FixedAddressRead(params *FixedAddressReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressReadOK, error)
FixedAddressRead retrieves the fixed address

Use this method to retrieve a __FixedAddress__ object.

The __FixedAddress__ object reserves an address for a specific client. It must have a _match_type_ and a valid corresponding _match_value_ so that it can match that client.

func (*Client) FixedAddressUpdate

func (a *Client) FixedAddressUpdate(params *FixedAddressUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressUpdateCreated, error)
FixedAddressUpdate updates the fixed address

Use this method to update a __FixedAddress__ object.

The __FixedAddress__ object reserves an address for a specific client. It must have a _match_type_ and a valid corresponding _match_value_ so that it can match that client.

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 {
	FixedAddressCreate(params *FixedAddressCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressCreateCreated, error)

	FixedAddressDelete(params *FixedAddressDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressDeleteNoContent, error)

	FixedAddressList(params *FixedAddressListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressListOK, error)

	FixedAddressRead(params *FixedAddressReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressReadOK, error)

	FixedAddressUpdate(params *FixedAddressUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixedAddressUpdateCreated, 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 fixed address API client.

type FixedAddressCreateCreated

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

POST operation response

func NewFixedAddressCreateCreated

func NewFixedAddressCreateCreated() *FixedAddressCreateCreated

NewFixedAddressCreateCreated creates a FixedAddressCreateCreated with default headers values

func (*FixedAddressCreateCreated) Error

func (o *FixedAddressCreateCreated) Error() string

func (*FixedAddressCreateCreated) GetPayload

type FixedAddressCreateParams

type FixedAddressCreateParams struct {

	// Body.
	Body *models.IpamsvcFixedAddress

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

FixedAddressCreateParams contains all the parameters to send to the API endpoint

for the fixed address create operation.

Typically these are written to a http.Request.

func NewFixedAddressCreateParams

func NewFixedAddressCreateParams() *FixedAddressCreateParams

NewFixedAddressCreateParams creates a new FixedAddressCreateParams 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 NewFixedAddressCreateParamsWithContext

func NewFixedAddressCreateParamsWithContext(ctx context.Context) *FixedAddressCreateParams

NewFixedAddressCreateParamsWithContext creates a new FixedAddressCreateParams object with the ability to set a context for a request.

func NewFixedAddressCreateParamsWithHTTPClient

func NewFixedAddressCreateParamsWithHTTPClient(client *http.Client) *FixedAddressCreateParams

NewFixedAddressCreateParamsWithHTTPClient creates a new FixedAddressCreateParams object with the ability to set a custom HTTPClient for a request.

func NewFixedAddressCreateParamsWithTimeout

func NewFixedAddressCreateParamsWithTimeout(timeout time.Duration) *FixedAddressCreateParams

NewFixedAddressCreateParamsWithTimeout creates a new FixedAddressCreateParams object with the ability to set a timeout on a request.

func (*FixedAddressCreateParams) SetBody

SetBody adds the body to the fixed address create params

func (*FixedAddressCreateParams) SetContext

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

SetContext adds the context to the fixed address create params

func (*FixedAddressCreateParams) SetDefaults

func (o *FixedAddressCreateParams) SetDefaults()

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

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

func (*FixedAddressCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fixed address create params

func (*FixedAddressCreateParams) SetTimeout

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

SetTimeout adds the timeout to the fixed address create params

func (*FixedAddressCreateParams) WithBody

WithBody adds the body to the fixed address create params

func (*FixedAddressCreateParams) WithContext

WithContext adds the context to the fixed address create params

func (*FixedAddressCreateParams) WithDefaults

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

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

func (*FixedAddressCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fixed address create params

func (*FixedAddressCreateParams) WithTimeout

WithTimeout adds the timeout to the fixed address create params

func (*FixedAddressCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FixedAddressCreateReader

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

FixedAddressCreateReader is a Reader for the FixedAddressCreate structure.

func (*FixedAddressCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FixedAddressDeleteNoContent

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

No Content

func NewFixedAddressDeleteNoContent

func NewFixedAddressDeleteNoContent() *FixedAddressDeleteNoContent

NewFixedAddressDeleteNoContent creates a FixedAddressDeleteNoContent with default headers values

func (*FixedAddressDeleteNoContent) Error

type FixedAddressDeleteParams

type FixedAddressDeleteParams struct {

	/* ID.

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

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

FixedAddressDeleteParams contains all the parameters to send to the API endpoint

for the fixed address delete operation.

Typically these are written to a http.Request.

func NewFixedAddressDeleteParams

func NewFixedAddressDeleteParams() *FixedAddressDeleteParams

NewFixedAddressDeleteParams creates a new FixedAddressDeleteParams 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 NewFixedAddressDeleteParamsWithContext

func NewFixedAddressDeleteParamsWithContext(ctx context.Context) *FixedAddressDeleteParams

NewFixedAddressDeleteParamsWithContext creates a new FixedAddressDeleteParams object with the ability to set a context for a request.

func NewFixedAddressDeleteParamsWithHTTPClient

func NewFixedAddressDeleteParamsWithHTTPClient(client *http.Client) *FixedAddressDeleteParams

NewFixedAddressDeleteParamsWithHTTPClient creates a new FixedAddressDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewFixedAddressDeleteParamsWithTimeout

func NewFixedAddressDeleteParamsWithTimeout(timeout time.Duration) *FixedAddressDeleteParams

NewFixedAddressDeleteParamsWithTimeout creates a new FixedAddressDeleteParams object with the ability to set a timeout on a request.

func (*FixedAddressDeleteParams) SetContext

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

SetContext adds the context to the fixed address delete params

func (*FixedAddressDeleteParams) SetDefaults

func (o *FixedAddressDeleteParams) SetDefaults()

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

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

func (*FixedAddressDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fixed address delete params

func (*FixedAddressDeleteParams) SetID

func (o *FixedAddressDeleteParams) SetID(id string)

SetID adds the id to the fixed address delete params

func (*FixedAddressDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the fixed address delete params

func (*FixedAddressDeleteParams) WithContext

WithContext adds the context to the fixed address delete params

func (*FixedAddressDeleteParams) WithDefaults

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

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

func (*FixedAddressDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fixed address delete params

func (*FixedAddressDeleteParams) WithID

WithID adds the id to the fixed address delete params

func (*FixedAddressDeleteParams) WithTimeout

WithTimeout adds the timeout to the fixed address delete params

func (*FixedAddressDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FixedAddressDeleteReader

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

FixedAddressDeleteReader is a Reader for the FixedAddressDelete structure.

func (*FixedAddressDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FixedAddressListOK

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

GET operation response

func NewFixedAddressListOK

func NewFixedAddressListOK() *FixedAddressListOK

NewFixedAddressListOK creates a FixedAddressListOK with default headers values

func (*FixedAddressListOK) Error

func (o *FixedAddressListOK) Error() string

func (*FixedAddressListOK) GetPayload

type FixedAddressListParams

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

FixedAddressListParams contains all the parameters to send to the API endpoint

for the fixed address list operation.

Typically these are written to a http.Request.

func NewFixedAddressListParams

func NewFixedAddressListParams() *FixedAddressListParams

NewFixedAddressListParams creates a new FixedAddressListParams 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 NewFixedAddressListParamsWithContext

func NewFixedAddressListParamsWithContext(ctx context.Context) *FixedAddressListParams

NewFixedAddressListParamsWithContext creates a new FixedAddressListParams object with the ability to set a context for a request.

func NewFixedAddressListParamsWithHTTPClient

func NewFixedAddressListParamsWithHTTPClient(client *http.Client) *FixedAddressListParams

NewFixedAddressListParamsWithHTTPClient creates a new FixedAddressListParams object with the ability to set a custom HTTPClient for a request.

func NewFixedAddressListParamsWithTimeout

func NewFixedAddressListParamsWithTimeout(timeout time.Duration) *FixedAddressListParams

NewFixedAddressListParamsWithTimeout creates a new FixedAddressListParams object with the ability to set a timeout on a request.

func (*FixedAddressListParams) SetContext

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

SetContext adds the context to the fixed address list params

func (*FixedAddressListParams) SetDefaults

func (o *FixedAddressListParams) SetDefaults()

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

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

func (*FixedAddressListParams) SetFields

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

SetFields adds the fields to the fixed address list params

func (*FixedAddressListParams) SetFilter

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

SetFilter adds the filter to the fixed address list params

func (*FixedAddressListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fixed address list params

func (*FixedAddressListParams) SetLimit

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

SetLimit adds the limit to the fixed address list params

func (*FixedAddressListParams) SetOffset

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

SetOffset adds the offset to the fixed address list params

func (*FixedAddressListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the fixed address list params

func (*FixedAddressListParams) SetPageToken

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

SetPageToken adds the pageToken to the fixed address list params

func (*FixedAddressListParams) SetTfilter

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

SetTfilter adds the tfilter to the fixed address list params

func (*FixedAddressListParams) SetTimeout

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

SetTimeout adds the timeout to the fixed address list params

func (*FixedAddressListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the fixed address list params

func (*FixedAddressListParams) WithContext

WithContext adds the context to the fixed address list params

func (*FixedAddressListParams) WithDefaults

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

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

func (*FixedAddressListParams) WithFields

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

WithFields adds the fields to the fixed address list params

func (*FixedAddressListParams) WithFilter

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

WithFilter adds the filter to the fixed address list params

func (*FixedAddressListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fixed address list params

func (*FixedAddressListParams) WithLimit

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

WithLimit adds the limit to the fixed address list params

func (*FixedAddressListParams) WithOffset

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

WithOffset adds the offset to the fixed address list params

func (*FixedAddressListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the fixed address list params

func (*FixedAddressListParams) WithPageToken

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

WithPageToken adds the pageToken to the fixed address list params

func (*FixedAddressListParams) WithTfilter

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

WithTfilter adds the tfilter to the fixed address list params

func (*FixedAddressListParams) WithTimeout

WithTimeout adds the timeout to the fixed address list params

func (*FixedAddressListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the fixed address list params

func (*FixedAddressListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FixedAddressListReader

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

FixedAddressListReader is a Reader for the FixedAddressList structure.

func (*FixedAddressListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FixedAddressReadOK

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

GET operation response

func NewFixedAddressReadOK

func NewFixedAddressReadOK() *FixedAddressReadOK

NewFixedAddressReadOK creates a FixedAddressReadOK with default headers values

func (*FixedAddressReadOK) Error

func (o *FixedAddressReadOK) Error() string

func (*FixedAddressReadOK) GetPayload

type FixedAddressReadParams

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

FixedAddressReadParams contains all the parameters to send to the API endpoint

for the fixed address read operation.

Typically these are written to a http.Request.

func NewFixedAddressReadParams

func NewFixedAddressReadParams() *FixedAddressReadParams

NewFixedAddressReadParams creates a new FixedAddressReadParams 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 NewFixedAddressReadParamsWithContext

func NewFixedAddressReadParamsWithContext(ctx context.Context) *FixedAddressReadParams

NewFixedAddressReadParamsWithContext creates a new FixedAddressReadParams object with the ability to set a context for a request.

func NewFixedAddressReadParamsWithHTTPClient

func NewFixedAddressReadParamsWithHTTPClient(client *http.Client) *FixedAddressReadParams

NewFixedAddressReadParamsWithHTTPClient creates a new FixedAddressReadParams object with the ability to set a custom HTTPClient for a request.

func NewFixedAddressReadParamsWithTimeout

func NewFixedAddressReadParamsWithTimeout(timeout time.Duration) *FixedAddressReadParams

NewFixedAddressReadParamsWithTimeout creates a new FixedAddressReadParams object with the ability to set a timeout on a request.

func (*FixedAddressReadParams) SetContext

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

SetContext adds the context to the fixed address read params

func (*FixedAddressReadParams) SetDefaults

func (o *FixedAddressReadParams) SetDefaults()

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

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

func (*FixedAddressReadParams) SetFields

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

SetFields adds the fields to the fixed address read params

func (*FixedAddressReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fixed address read params

func (*FixedAddressReadParams) SetID

func (o *FixedAddressReadParams) SetID(id string)

SetID adds the id to the fixed address read params

func (*FixedAddressReadParams) SetTimeout

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

SetTimeout adds the timeout to the fixed address read params

func (*FixedAddressReadParams) WithContext

WithContext adds the context to the fixed address read params

func (*FixedAddressReadParams) WithDefaults

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

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

func (*FixedAddressReadParams) WithFields

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

WithFields adds the fields to the fixed address read params

func (*FixedAddressReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fixed address read params

func (*FixedAddressReadParams) WithID

WithID adds the id to the fixed address read params

func (*FixedAddressReadParams) WithTimeout

WithTimeout adds the timeout to the fixed address read params

func (*FixedAddressReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FixedAddressReadReader

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

FixedAddressReadReader is a Reader for the FixedAddressRead structure.

func (*FixedAddressReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FixedAddressUpdateCreated

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

PATCH operation response

func NewFixedAddressUpdateCreated

func NewFixedAddressUpdateCreated() *FixedAddressUpdateCreated

NewFixedAddressUpdateCreated creates a FixedAddressUpdateCreated with default headers values

func (*FixedAddressUpdateCreated) Error

func (o *FixedAddressUpdateCreated) Error() string

func (*FixedAddressUpdateCreated) GetPayload

type FixedAddressUpdateParams

type FixedAddressUpdateParams struct {

	// Body.
	Body *models.IpamsvcFixedAddress

	/* ID.

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

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

FixedAddressUpdateParams contains all the parameters to send to the API endpoint

for the fixed address update operation.

Typically these are written to a http.Request.

func NewFixedAddressUpdateParams

func NewFixedAddressUpdateParams() *FixedAddressUpdateParams

NewFixedAddressUpdateParams creates a new FixedAddressUpdateParams 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 NewFixedAddressUpdateParamsWithContext

func NewFixedAddressUpdateParamsWithContext(ctx context.Context) *FixedAddressUpdateParams

NewFixedAddressUpdateParamsWithContext creates a new FixedAddressUpdateParams object with the ability to set a context for a request.

func NewFixedAddressUpdateParamsWithHTTPClient

func NewFixedAddressUpdateParamsWithHTTPClient(client *http.Client) *FixedAddressUpdateParams

NewFixedAddressUpdateParamsWithHTTPClient creates a new FixedAddressUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewFixedAddressUpdateParamsWithTimeout

func NewFixedAddressUpdateParamsWithTimeout(timeout time.Duration) *FixedAddressUpdateParams

NewFixedAddressUpdateParamsWithTimeout creates a new FixedAddressUpdateParams object with the ability to set a timeout on a request.

func (*FixedAddressUpdateParams) SetBody

SetBody adds the body to the fixed address update params

func (*FixedAddressUpdateParams) SetContext

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

SetContext adds the context to the fixed address update params

func (*FixedAddressUpdateParams) SetDefaults

func (o *FixedAddressUpdateParams) SetDefaults()

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

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

func (*FixedAddressUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fixed address update params

func (*FixedAddressUpdateParams) SetID

func (o *FixedAddressUpdateParams) SetID(id string)

SetID adds the id to the fixed address update params

func (*FixedAddressUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the fixed address update params

func (*FixedAddressUpdateParams) WithBody

WithBody adds the body to the fixed address update params

func (*FixedAddressUpdateParams) WithContext

WithContext adds the context to the fixed address update params

func (*FixedAddressUpdateParams) WithDefaults

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

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

func (*FixedAddressUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fixed address update params

func (*FixedAddressUpdateParams) WithID

WithID adds the id to the fixed address update params

func (*FixedAddressUpdateParams) WithTimeout

WithTimeout adds the timeout to the fixed address update params

func (*FixedAddressUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FixedAddressUpdateReader

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

FixedAddressUpdateReader is a Reader for the FixedAddressUpdate structure.

func (*FixedAddressUpdateReader) ReadResponse

func (o *FixedAddressUpdateReader) 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