hardware_filter

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 hardware filter API

func (*Client) HardwareFilterCreate

func (a *Client) HardwareFilterCreate(params *HardwareFilterCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterCreateCreated, error)
HardwareFilterCreate creates the hardware filter

Use this method to create a __HardwareFilter__ object.

The __HardwareFilter__ object applies options to clients with matching hardware addresses. It must be configured in the _filters_ list of a scope to be effective.

func (*Client) HardwareFilterDelete

func (a *Client) HardwareFilterDelete(params *HardwareFilterDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterDeleteNoContent, error)
HardwareFilterDelete moves the hardware filter to the recycle bin

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

The __HardwareFilter__ object applies options to clients with matching hardware addresses. It must be configured in the _filters_ list of a scope to be effective.

func (*Client) HardwareFilterList

func (a *Client) HardwareFilterList(params *HardwareFilterListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterListOK, error)
HardwareFilterList retrieves hardware filters

Use this method to retrieve __HardwareFilter__ objects.

The __HardwareFilter__ object applies options to clients with matching hardware addresses. It must be configured in the _filters_ list of a scope to be effective.

func (*Client) HardwareFilterRead

func (a *Client) HardwareFilterRead(params *HardwareFilterReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterReadOK, error)
HardwareFilterRead retrieves the hardware filter

Use this method to retrieve a __HardwareFilter__ object.

The __HardwareFilter__ object applies options to clients with matching hardware addresses. It must be configured in the _filters_ list of a scope to be effective.

func (*Client) HardwareFilterUpdate

func (a *Client) HardwareFilterUpdate(params *HardwareFilterUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterUpdateCreated, error)
HardwareFilterUpdate updates the hardware filter

Use this method to update a __HardwareFilter__ object.

The __HardwareFilter__ object applies options to clients with matching hardware addresses. It must be configured in the _filters_ list of a scope to be effective.

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 {
	HardwareFilterCreate(params *HardwareFilterCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterCreateCreated, error)

	HardwareFilterDelete(params *HardwareFilterDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterDeleteNoContent, error)

	HardwareFilterList(params *HardwareFilterListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterListOK, error)

	HardwareFilterRead(params *HardwareFilterReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterReadOK, error)

	HardwareFilterUpdate(params *HardwareFilterUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareFilterUpdateCreated, 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 hardware filter API client.

type HardwareFilterCreateCreated

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

POST operation response

func NewHardwareFilterCreateCreated

func NewHardwareFilterCreateCreated() *HardwareFilterCreateCreated

NewHardwareFilterCreateCreated creates a HardwareFilterCreateCreated with default headers values

func (*HardwareFilterCreateCreated) Error

func (*HardwareFilterCreateCreated) GetPayload

type HardwareFilterCreateParams

type HardwareFilterCreateParams struct {

	// Body.
	Body *models.IpamsvcHardwareFilter

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

HardwareFilterCreateParams contains all the parameters to send to the API endpoint

for the hardware filter create operation.

Typically these are written to a http.Request.

func NewHardwareFilterCreateParams

func NewHardwareFilterCreateParams() *HardwareFilterCreateParams

NewHardwareFilterCreateParams creates a new HardwareFilterCreateParams 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 NewHardwareFilterCreateParamsWithContext

func NewHardwareFilterCreateParamsWithContext(ctx context.Context) *HardwareFilterCreateParams

NewHardwareFilterCreateParamsWithContext creates a new HardwareFilterCreateParams object with the ability to set a context for a request.

func NewHardwareFilterCreateParamsWithHTTPClient

func NewHardwareFilterCreateParamsWithHTTPClient(client *http.Client) *HardwareFilterCreateParams

NewHardwareFilterCreateParamsWithHTTPClient creates a new HardwareFilterCreateParams object with the ability to set a custom HTTPClient for a request.

func NewHardwareFilterCreateParamsWithTimeout

func NewHardwareFilterCreateParamsWithTimeout(timeout time.Duration) *HardwareFilterCreateParams

NewHardwareFilterCreateParamsWithTimeout creates a new HardwareFilterCreateParams object with the ability to set a timeout on a request.

func (*HardwareFilterCreateParams) SetBody

SetBody adds the body to the hardware filter create params

func (*HardwareFilterCreateParams) SetContext

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

SetContext adds the context to the hardware filter create params

func (*HardwareFilterCreateParams) SetDefaults

func (o *HardwareFilterCreateParams) SetDefaults()

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

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

func (*HardwareFilterCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hardware filter create params

func (*HardwareFilterCreateParams) SetTimeout

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

SetTimeout adds the timeout to the hardware filter create params

func (*HardwareFilterCreateParams) WithBody

WithBody adds the body to the hardware filter create params

func (*HardwareFilterCreateParams) WithContext

WithContext adds the context to the hardware filter create params

func (*HardwareFilterCreateParams) WithDefaults

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

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

func (*HardwareFilterCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware filter create params

func (*HardwareFilterCreateParams) WithTimeout

WithTimeout adds the timeout to the hardware filter create params

func (*HardwareFilterCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HardwareFilterCreateReader

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

HardwareFilterCreateReader is a Reader for the HardwareFilterCreate structure.

func (*HardwareFilterCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HardwareFilterDeleteNoContent

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

No Content

func NewHardwareFilterDeleteNoContent

func NewHardwareFilterDeleteNoContent() *HardwareFilterDeleteNoContent

NewHardwareFilterDeleteNoContent creates a HardwareFilterDeleteNoContent with default headers values

func (*HardwareFilterDeleteNoContent) Error

type HardwareFilterDeleteParams

type HardwareFilterDeleteParams struct {

	/* ID.

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

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

HardwareFilterDeleteParams contains all the parameters to send to the API endpoint

for the hardware filter delete operation.

Typically these are written to a http.Request.

func NewHardwareFilterDeleteParams

func NewHardwareFilterDeleteParams() *HardwareFilterDeleteParams

NewHardwareFilterDeleteParams creates a new HardwareFilterDeleteParams 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 NewHardwareFilterDeleteParamsWithContext

func NewHardwareFilterDeleteParamsWithContext(ctx context.Context) *HardwareFilterDeleteParams

NewHardwareFilterDeleteParamsWithContext creates a new HardwareFilterDeleteParams object with the ability to set a context for a request.

func NewHardwareFilterDeleteParamsWithHTTPClient

func NewHardwareFilterDeleteParamsWithHTTPClient(client *http.Client) *HardwareFilterDeleteParams

NewHardwareFilterDeleteParamsWithHTTPClient creates a new HardwareFilterDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewHardwareFilterDeleteParamsWithTimeout

func NewHardwareFilterDeleteParamsWithTimeout(timeout time.Duration) *HardwareFilterDeleteParams

NewHardwareFilterDeleteParamsWithTimeout creates a new HardwareFilterDeleteParams object with the ability to set a timeout on a request.

func (*HardwareFilterDeleteParams) SetContext

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

SetContext adds the context to the hardware filter delete params

func (*HardwareFilterDeleteParams) SetDefaults

func (o *HardwareFilterDeleteParams) SetDefaults()

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

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

func (*HardwareFilterDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hardware filter delete params

func (*HardwareFilterDeleteParams) SetID

func (o *HardwareFilterDeleteParams) SetID(id string)

SetID adds the id to the hardware filter delete params

func (*HardwareFilterDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the hardware filter delete params

func (*HardwareFilterDeleteParams) WithContext

WithContext adds the context to the hardware filter delete params

func (*HardwareFilterDeleteParams) WithDefaults

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

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

func (*HardwareFilterDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware filter delete params

func (*HardwareFilterDeleteParams) WithID

WithID adds the id to the hardware filter delete params

func (*HardwareFilterDeleteParams) WithTimeout

WithTimeout adds the timeout to the hardware filter delete params

func (*HardwareFilterDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HardwareFilterDeleteReader

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

HardwareFilterDeleteReader is a Reader for the HardwareFilterDelete structure.

func (*HardwareFilterDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HardwareFilterListOK

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

GET operation response

func NewHardwareFilterListOK

func NewHardwareFilterListOK() *HardwareFilterListOK

NewHardwareFilterListOK creates a HardwareFilterListOK with default headers values

func (*HardwareFilterListOK) Error

func (o *HardwareFilterListOK) Error() string

func (*HardwareFilterListOK) GetPayload

type HardwareFilterListParams

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

HardwareFilterListParams contains all the parameters to send to the API endpoint

for the hardware filter list operation.

Typically these are written to a http.Request.

func NewHardwareFilterListParams

func NewHardwareFilterListParams() *HardwareFilterListParams

NewHardwareFilterListParams creates a new HardwareFilterListParams 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 NewHardwareFilterListParamsWithContext

func NewHardwareFilterListParamsWithContext(ctx context.Context) *HardwareFilterListParams

NewHardwareFilterListParamsWithContext creates a new HardwareFilterListParams object with the ability to set a context for a request.

func NewHardwareFilterListParamsWithHTTPClient

func NewHardwareFilterListParamsWithHTTPClient(client *http.Client) *HardwareFilterListParams

NewHardwareFilterListParamsWithHTTPClient creates a new HardwareFilterListParams object with the ability to set a custom HTTPClient for a request.

func NewHardwareFilterListParamsWithTimeout

func NewHardwareFilterListParamsWithTimeout(timeout time.Duration) *HardwareFilterListParams

NewHardwareFilterListParamsWithTimeout creates a new HardwareFilterListParams object with the ability to set a timeout on a request.

func (*HardwareFilterListParams) SetContext

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

SetContext adds the context to the hardware filter list params

func (*HardwareFilterListParams) SetDefaults

func (o *HardwareFilterListParams) SetDefaults()

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

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

func (*HardwareFilterListParams) SetFields

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

SetFields adds the fields to the hardware filter list params

func (*HardwareFilterListParams) SetFilter

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

SetFilter adds the filter to the hardware filter list params

func (*HardwareFilterListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hardware filter list params

func (*HardwareFilterListParams) SetLimit

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

SetLimit adds the limit to the hardware filter list params

func (*HardwareFilterListParams) SetOffset

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

SetOffset adds the offset to the hardware filter list params

func (*HardwareFilterListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the hardware filter list params

func (*HardwareFilterListParams) SetPageToken

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

SetPageToken adds the pageToken to the hardware filter list params

func (*HardwareFilterListParams) SetTfilter

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

SetTfilter adds the tfilter to the hardware filter list params

func (*HardwareFilterListParams) SetTimeout

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

SetTimeout adds the timeout to the hardware filter list params

func (*HardwareFilterListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the hardware filter list params

func (*HardwareFilterListParams) WithContext

WithContext adds the context to the hardware filter list params

func (*HardwareFilterListParams) WithDefaults

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

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

func (*HardwareFilterListParams) WithFields

WithFields adds the fields to the hardware filter list params

func (*HardwareFilterListParams) WithFilter

WithFilter adds the filter to the hardware filter list params

func (*HardwareFilterListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the hardware filter list params

func (*HardwareFilterListParams) WithLimit

WithLimit adds the limit to the hardware filter list params

func (*HardwareFilterListParams) WithOffset

WithOffset adds the offset to the hardware filter list params

func (*HardwareFilterListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the hardware filter list params

func (*HardwareFilterListParams) WithPageToken

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

WithPageToken adds the pageToken to the hardware filter list params

func (*HardwareFilterListParams) WithTfilter

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

WithTfilter adds the tfilter to the hardware filter list params

func (*HardwareFilterListParams) WithTimeout

WithTimeout adds the timeout to the hardware filter list params

func (*HardwareFilterListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the hardware filter list params

func (*HardwareFilterListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HardwareFilterListReader

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

HardwareFilterListReader is a Reader for the HardwareFilterList structure.

func (*HardwareFilterListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HardwareFilterReadOK

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

GET operation response

func NewHardwareFilterReadOK

func NewHardwareFilterReadOK() *HardwareFilterReadOK

NewHardwareFilterReadOK creates a HardwareFilterReadOK with default headers values

func (*HardwareFilterReadOK) Error

func (o *HardwareFilterReadOK) Error() string

func (*HardwareFilterReadOK) GetPayload

type HardwareFilterReadParams

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

HardwareFilterReadParams contains all the parameters to send to the API endpoint

for the hardware filter read operation.

Typically these are written to a http.Request.

func NewHardwareFilterReadParams

func NewHardwareFilterReadParams() *HardwareFilterReadParams

NewHardwareFilterReadParams creates a new HardwareFilterReadParams 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 NewHardwareFilterReadParamsWithContext

func NewHardwareFilterReadParamsWithContext(ctx context.Context) *HardwareFilterReadParams

NewHardwareFilterReadParamsWithContext creates a new HardwareFilterReadParams object with the ability to set a context for a request.

func NewHardwareFilterReadParamsWithHTTPClient

func NewHardwareFilterReadParamsWithHTTPClient(client *http.Client) *HardwareFilterReadParams

NewHardwareFilterReadParamsWithHTTPClient creates a new HardwareFilterReadParams object with the ability to set a custom HTTPClient for a request.

func NewHardwareFilterReadParamsWithTimeout

func NewHardwareFilterReadParamsWithTimeout(timeout time.Duration) *HardwareFilterReadParams

NewHardwareFilterReadParamsWithTimeout creates a new HardwareFilterReadParams object with the ability to set a timeout on a request.

func (*HardwareFilterReadParams) SetContext

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

SetContext adds the context to the hardware filter read params

func (*HardwareFilterReadParams) SetDefaults

func (o *HardwareFilterReadParams) SetDefaults()

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

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

func (*HardwareFilterReadParams) SetFields

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

SetFields adds the fields to the hardware filter read params

func (*HardwareFilterReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hardware filter read params

func (*HardwareFilterReadParams) SetID

func (o *HardwareFilterReadParams) SetID(id string)

SetID adds the id to the hardware filter read params

func (*HardwareFilterReadParams) SetTimeout

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

SetTimeout adds the timeout to the hardware filter read params

func (*HardwareFilterReadParams) WithContext

WithContext adds the context to the hardware filter read params

func (*HardwareFilterReadParams) WithDefaults

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

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

func (*HardwareFilterReadParams) WithFields

WithFields adds the fields to the hardware filter read params

func (*HardwareFilterReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the hardware filter read params

func (*HardwareFilterReadParams) WithID

WithID adds the id to the hardware filter read params

func (*HardwareFilterReadParams) WithTimeout

WithTimeout adds the timeout to the hardware filter read params

func (*HardwareFilterReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HardwareFilterReadReader

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

HardwareFilterReadReader is a Reader for the HardwareFilterRead structure.

func (*HardwareFilterReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HardwareFilterUpdateCreated

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

PATCH operation response

func NewHardwareFilterUpdateCreated

func NewHardwareFilterUpdateCreated() *HardwareFilterUpdateCreated

NewHardwareFilterUpdateCreated creates a HardwareFilterUpdateCreated with default headers values

func (*HardwareFilterUpdateCreated) Error

func (*HardwareFilterUpdateCreated) GetPayload

type HardwareFilterUpdateParams

type HardwareFilterUpdateParams struct {

	// Body.
	Body *models.IpamsvcHardwareFilter

	/* ID.

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

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

HardwareFilterUpdateParams contains all the parameters to send to the API endpoint

for the hardware filter update operation.

Typically these are written to a http.Request.

func NewHardwareFilterUpdateParams

func NewHardwareFilterUpdateParams() *HardwareFilterUpdateParams

NewHardwareFilterUpdateParams creates a new HardwareFilterUpdateParams 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 NewHardwareFilterUpdateParamsWithContext

func NewHardwareFilterUpdateParamsWithContext(ctx context.Context) *HardwareFilterUpdateParams

NewHardwareFilterUpdateParamsWithContext creates a new HardwareFilterUpdateParams object with the ability to set a context for a request.

func NewHardwareFilterUpdateParamsWithHTTPClient

func NewHardwareFilterUpdateParamsWithHTTPClient(client *http.Client) *HardwareFilterUpdateParams

NewHardwareFilterUpdateParamsWithHTTPClient creates a new HardwareFilterUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewHardwareFilterUpdateParamsWithTimeout

func NewHardwareFilterUpdateParamsWithTimeout(timeout time.Duration) *HardwareFilterUpdateParams

NewHardwareFilterUpdateParamsWithTimeout creates a new HardwareFilterUpdateParams object with the ability to set a timeout on a request.

func (*HardwareFilterUpdateParams) SetBody

SetBody adds the body to the hardware filter update params

func (*HardwareFilterUpdateParams) SetContext

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

SetContext adds the context to the hardware filter update params

func (*HardwareFilterUpdateParams) SetDefaults

func (o *HardwareFilterUpdateParams) SetDefaults()

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

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

func (*HardwareFilterUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hardware filter update params

func (*HardwareFilterUpdateParams) SetID

func (o *HardwareFilterUpdateParams) SetID(id string)

SetID adds the id to the hardware filter update params

func (*HardwareFilterUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the hardware filter update params

func (*HardwareFilterUpdateParams) WithBody

WithBody adds the body to the hardware filter update params

func (*HardwareFilterUpdateParams) WithContext

WithContext adds the context to the hardware filter update params

func (*HardwareFilterUpdateParams) WithDefaults

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

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

func (*HardwareFilterUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware filter update params

func (*HardwareFilterUpdateParams) WithID

WithID adds the id to the hardware filter update params

func (*HardwareFilterUpdateParams) WithTimeout

WithTimeout adds the timeout to the hardware filter update params

func (*HardwareFilterUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HardwareFilterUpdateReader

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

HardwareFilterUpdateReader is a Reader for the HardwareFilterUpdate structure.

func (*HardwareFilterUpdateReader) ReadResponse

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