Documentation
¶
Index ¶
- type Client
- func (a *Client) HardwareFilterCreate(params *HardwareFilterCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*HardwareFilterCreateCreated, error)
- func (a *Client) HardwareFilterDelete(params *HardwareFilterDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*HardwareFilterDeleteNoContent, error)
- func (a *Client) HardwareFilterList(params *HardwareFilterListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*HardwareFilterListOK, error)
- func (a *Client) HardwareFilterRead(params *HardwareFilterReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*HardwareFilterReadOK, error)
- func (a *Client) HardwareFilterUpdate(params *HardwareFilterUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*HardwareFilterUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type HardwareFilterCreateCreated
- type HardwareFilterCreateParams
- func NewHardwareFilterCreateParams() *HardwareFilterCreateParams
- func NewHardwareFilterCreateParamsWithContext(ctx context.Context) *HardwareFilterCreateParams
- func NewHardwareFilterCreateParamsWithHTTPClient(client *http.Client) *HardwareFilterCreateParams
- func NewHardwareFilterCreateParamsWithTimeout(timeout time.Duration) *HardwareFilterCreateParams
- func (o *HardwareFilterCreateParams) SetBody(body *models.IpamsvcHardwareFilter)
- func (o *HardwareFilterCreateParams) SetContext(ctx context.Context)
- func (o *HardwareFilterCreateParams) SetDefaults()
- func (o *HardwareFilterCreateParams) SetHTTPClient(client *http.Client)
- func (o *HardwareFilterCreateParams) SetTimeout(timeout time.Duration)
- func (o *HardwareFilterCreateParams) WithBody(body *models.IpamsvcHardwareFilter) *HardwareFilterCreateParams
- func (o *HardwareFilterCreateParams) WithContext(ctx context.Context) *HardwareFilterCreateParams
- func (o *HardwareFilterCreateParams) WithDefaults() *HardwareFilterCreateParams
- func (o *HardwareFilterCreateParams) WithHTTPClient(client *http.Client) *HardwareFilterCreateParams
- func (o *HardwareFilterCreateParams) WithTimeout(timeout time.Duration) *HardwareFilterCreateParams
- func (o *HardwareFilterCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareFilterCreateReader
- type HardwareFilterDeleteNoContent
- type HardwareFilterDeleteParams
- func NewHardwareFilterDeleteParams() *HardwareFilterDeleteParams
- func NewHardwareFilterDeleteParamsWithContext(ctx context.Context) *HardwareFilterDeleteParams
- func NewHardwareFilterDeleteParamsWithHTTPClient(client *http.Client) *HardwareFilterDeleteParams
- func NewHardwareFilterDeleteParamsWithTimeout(timeout time.Duration) *HardwareFilterDeleteParams
- func (o *HardwareFilterDeleteParams) SetContext(ctx context.Context)
- func (o *HardwareFilterDeleteParams) SetDefaults()
- func (o *HardwareFilterDeleteParams) SetHTTPClient(client *http.Client)
- func (o *HardwareFilterDeleteParams) SetID(id string)
- func (o *HardwareFilterDeleteParams) SetTimeout(timeout time.Duration)
- func (o *HardwareFilterDeleteParams) WithContext(ctx context.Context) *HardwareFilterDeleteParams
- func (o *HardwareFilterDeleteParams) WithDefaults() *HardwareFilterDeleteParams
- func (o *HardwareFilterDeleteParams) WithHTTPClient(client *http.Client) *HardwareFilterDeleteParams
- func (o *HardwareFilterDeleteParams) WithID(id string) *HardwareFilterDeleteParams
- func (o *HardwareFilterDeleteParams) WithTimeout(timeout time.Duration) *HardwareFilterDeleteParams
- func (o *HardwareFilterDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareFilterDeleteReader
- type HardwareFilterListOK
- type HardwareFilterListParams
- func NewHardwareFilterListParams() *HardwareFilterListParams
- func NewHardwareFilterListParamsWithContext(ctx context.Context) *HardwareFilterListParams
- func NewHardwareFilterListParamsWithHTTPClient(client *http.Client) *HardwareFilterListParams
- func NewHardwareFilterListParamsWithTimeout(timeout time.Duration) *HardwareFilterListParams
- func (o *HardwareFilterListParams) SetContext(ctx context.Context)
- func (o *HardwareFilterListParams) SetDefaults()
- func (o *HardwareFilterListParams) SetFields(fields *string)
- func (o *HardwareFilterListParams) SetFilter(filter *string)
- func (o *HardwareFilterListParams) SetHTTPClient(client *http.Client)
- func (o *HardwareFilterListParams) SetLimit(limit *int64)
- func (o *HardwareFilterListParams) SetOffset(offset *int64)
- func (o *HardwareFilterListParams) SetOrderBy(orderBy *string)
- func (o *HardwareFilterListParams) SetPageToken(pageToken *string)
- func (o *HardwareFilterListParams) SetTfilter(tfilter *string)
- func (o *HardwareFilterListParams) SetTimeout(timeout time.Duration)
- func (o *HardwareFilterListParams) SetTorderBy(torderBy *string)
- func (o *HardwareFilterListParams) WithContext(ctx context.Context) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithDefaults() *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithFields(fields *string) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithFilter(filter *string) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithHTTPClient(client *http.Client) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithLimit(limit *int64) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithOffset(offset *int64) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithOrderBy(orderBy *string) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithPageToken(pageToken *string) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithTfilter(tfilter *string) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithTimeout(timeout time.Duration) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WithTorderBy(torderBy *string) *HardwareFilterListParams
- func (o *HardwareFilterListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareFilterListReader
- type HardwareFilterReadOK
- type HardwareFilterReadParams
- func NewHardwareFilterReadParams() *HardwareFilterReadParams
- func NewHardwareFilterReadParamsWithContext(ctx context.Context) *HardwareFilterReadParams
- func NewHardwareFilterReadParamsWithHTTPClient(client *http.Client) *HardwareFilterReadParams
- func NewHardwareFilterReadParamsWithTimeout(timeout time.Duration) *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) SetContext(ctx context.Context)
- func (o *HardwareFilterReadParams) SetDefaults()
- func (o *HardwareFilterReadParams) SetFields(fields *string)
- func (o *HardwareFilterReadParams) SetHTTPClient(client *http.Client)
- func (o *HardwareFilterReadParams) SetID(id string)
- func (o *HardwareFilterReadParams) SetTimeout(timeout time.Duration)
- func (o *HardwareFilterReadParams) WithContext(ctx context.Context) *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) WithDefaults() *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) WithFields(fields *string) *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) WithHTTPClient(client *http.Client) *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) WithID(id string) *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) WithTimeout(timeout time.Duration) *HardwareFilterReadParams
- func (o *HardwareFilterReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareFilterReadReader
- type HardwareFilterUpdateCreated
- type HardwareFilterUpdateParams
- func NewHardwareFilterUpdateParams() *HardwareFilterUpdateParams
- func NewHardwareFilterUpdateParamsWithContext(ctx context.Context) *HardwareFilterUpdateParams
- func NewHardwareFilterUpdateParamsWithHTTPClient(client *http.Client) *HardwareFilterUpdateParams
- func NewHardwareFilterUpdateParamsWithTimeout(timeout time.Duration) *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) SetBody(body *models.IpamsvcHardwareFilter)
- func (o *HardwareFilterUpdateParams) SetContext(ctx context.Context)
- func (o *HardwareFilterUpdateParams) SetDefaults()
- func (o *HardwareFilterUpdateParams) SetHTTPClient(client *http.Client)
- func (o *HardwareFilterUpdateParams) SetID(id string)
- func (o *HardwareFilterUpdateParams) SetTimeout(timeout time.Duration)
- func (o *HardwareFilterUpdateParams) WithBody(body *models.IpamsvcHardwareFilter) *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) WithContext(ctx context.Context) *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) WithDefaults() *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) WithHTTPClient(client *http.Client) *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) WithID(id string) *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) WithTimeout(timeout time.Duration) *HardwareFilterUpdateParams
- func (o *HardwareFilterUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareFilterUpdateReader
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 (o *HardwareFilterCreateCreated) Error() string
func (*HardwareFilterCreateCreated) GetPayload ¶
func (o *HardwareFilterCreateCreated) GetPayload() *models.IpamsvcCreateHardwareFilterResponse
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 ¶
func (o *HardwareFilterCreateParams) SetBody(body *models.IpamsvcHardwareFilter)
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 ¶
func (o *HardwareFilterCreateParams) WithBody(body *models.IpamsvcHardwareFilter) *HardwareFilterCreateParams
WithBody adds the body to the hardware filter create params
func (*HardwareFilterCreateParams) WithContext ¶
func (o *HardwareFilterCreateParams) WithContext(ctx context.Context) *HardwareFilterCreateParams
WithContext adds the context to the hardware filter create params
func (*HardwareFilterCreateParams) WithDefaults ¶
func (o *HardwareFilterCreateParams) WithDefaults() *HardwareFilterCreateParams
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 ¶
func (o *HardwareFilterCreateParams) WithHTTPClient(client *http.Client) *HardwareFilterCreateParams
WithHTTPClient adds the HTTPClient to the hardware filter create params
func (*HardwareFilterCreateParams) WithTimeout ¶
func (o *HardwareFilterCreateParams) WithTimeout(timeout time.Duration) *HardwareFilterCreateParams
WithTimeout adds the timeout to the hardware filter create params
func (*HardwareFilterCreateParams) WriteToRequest ¶
func (o *HardwareFilterCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HardwareFilterDeleteNoContent) Error() string
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 ¶
func (o *HardwareFilterDeleteParams) WithContext(ctx context.Context) *HardwareFilterDeleteParams
WithContext adds the context to the hardware filter delete params
func (*HardwareFilterDeleteParams) WithDefaults ¶
func (o *HardwareFilterDeleteParams) WithDefaults() *HardwareFilterDeleteParams
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 ¶
func (o *HardwareFilterDeleteParams) WithHTTPClient(client *http.Client) *HardwareFilterDeleteParams
WithHTTPClient adds the HTTPClient to the hardware filter delete params
func (*HardwareFilterDeleteParams) WithID ¶
func (o *HardwareFilterDeleteParams) WithID(id string) *HardwareFilterDeleteParams
WithID adds the id to the hardware filter delete params
func (*HardwareFilterDeleteParams) WithTimeout ¶
func (o *HardwareFilterDeleteParams) WithTimeout(timeout time.Duration) *HardwareFilterDeleteParams
WithTimeout adds the timeout to the hardware filter delete params
func (*HardwareFilterDeleteParams) WriteToRequest ¶
func (o *HardwareFilterDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HardwareFilterListOK) GetPayload() *models.IpamsvcListHardwareFilterResponse
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 ¶
func (o *HardwareFilterListParams) WithContext(ctx context.Context) *HardwareFilterListParams
WithContext adds the context to the hardware filter list params
func (*HardwareFilterListParams) WithDefaults ¶
func (o *HardwareFilterListParams) WithDefaults() *HardwareFilterListParams
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 ¶
func (o *HardwareFilterListParams) WithFields(fields *string) *HardwareFilterListParams
WithFields adds the fields to the hardware filter list params
func (*HardwareFilterListParams) WithFilter ¶
func (o *HardwareFilterListParams) WithFilter(filter *string) *HardwareFilterListParams
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 ¶
func (o *HardwareFilterListParams) WithLimit(limit *int64) *HardwareFilterListParams
WithLimit adds the limit to the hardware filter list params
func (*HardwareFilterListParams) WithOffset ¶
func (o *HardwareFilterListParams) WithOffset(offset *int64) *HardwareFilterListParams
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 ¶
func (o *HardwareFilterListParams) WithTimeout(timeout time.Duration) *HardwareFilterListParams
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 ¶
func (o *HardwareFilterListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HardwareFilterReadOK) GetPayload() *models.IpamsvcReadHardwareFilterResponse
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 ¶
func (o *HardwareFilterReadParams) WithContext(ctx context.Context) *HardwareFilterReadParams
WithContext adds the context to the hardware filter read params
func (*HardwareFilterReadParams) WithDefaults ¶
func (o *HardwareFilterReadParams) WithDefaults() *HardwareFilterReadParams
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 ¶
func (o *HardwareFilterReadParams) WithFields(fields *string) *HardwareFilterReadParams
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 ¶
func (o *HardwareFilterReadParams) WithID(id string) *HardwareFilterReadParams
WithID adds the id to the hardware filter read params
func (*HardwareFilterReadParams) WithTimeout ¶
func (o *HardwareFilterReadParams) WithTimeout(timeout time.Duration) *HardwareFilterReadParams
WithTimeout adds the timeout to the hardware filter read params
func (*HardwareFilterReadParams) WriteToRequest ¶
func (o *HardwareFilterReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *HardwareFilterUpdateCreated) Error() string
func (*HardwareFilterUpdateCreated) GetPayload ¶
func (o *HardwareFilterUpdateCreated) GetPayload() *models.IpamsvcUpdateHardwareFilterResponse
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 ¶
func (o *HardwareFilterUpdateParams) SetBody(body *models.IpamsvcHardwareFilter)
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 ¶
func (o *HardwareFilterUpdateParams) WithBody(body *models.IpamsvcHardwareFilter) *HardwareFilterUpdateParams
WithBody adds the body to the hardware filter update params
func (*HardwareFilterUpdateParams) WithContext ¶
func (o *HardwareFilterUpdateParams) WithContext(ctx context.Context) *HardwareFilterUpdateParams
WithContext adds the context to the hardware filter update params
func (*HardwareFilterUpdateParams) WithDefaults ¶
func (o *HardwareFilterUpdateParams) WithDefaults() *HardwareFilterUpdateParams
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 ¶
func (o *HardwareFilterUpdateParams) WithHTTPClient(client *http.Client) *HardwareFilterUpdateParams
WithHTTPClient adds the HTTPClient to the hardware filter update params
func (*HardwareFilterUpdateParams) WithID ¶
func (o *HardwareFilterUpdateParams) WithID(id string) *HardwareFilterUpdateParams
WithID adds the id to the hardware filter update params
func (*HardwareFilterUpdateParams) WithTimeout ¶
func (o *HardwareFilterUpdateParams) WithTimeout(timeout time.Duration) *HardwareFilterUpdateParams
WithTimeout adds the timeout to the hardware filter update params
func (*HardwareFilterUpdateParams) WriteToRequest ¶
func (o *HardwareFilterUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- hardware_filter_client.go
- hardware_filter_create_parameters.go
- hardware_filter_create_responses.go
- hardware_filter_delete_parameters.go
- hardware_filter_delete_responses.go
- hardware_filter_list_parameters.go
- hardware_filter_list_responses.go
- hardware_filter_read_parameters.go
- hardware_filter_read_responses.go
- hardware_filter_update_parameters.go
- hardware_filter_update_responses.go