Documentation
¶
Index ¶
- type Client
- func (a *Client) OptionGroupCreate(params *OptionGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionGroupCreateCreated, error)
- func (a *Client) OptionGroupDelete(params *OptionGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionGroupDeleteNoContent, error)
- func (a *Client) OptionGroupList(params *OptionGroupListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionGroupListOK, error)
- func (a *Client) OptionGroupRead(params *OptionGroupReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionGroupReadOK, error)
- func (a *Client) OptionGroupUpdate(params *OptionGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionGroupUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type OptionGroupCreateCreated
- type OptionGroupCreateParams
- func NewOptionGroupCreateParams() *OptionGroupCreateParams
- func NewOptionGroupCreateParamsWithContext(ctx context.Context) *OptionGroupCreateParams
- func NewOptionGroupCreateParamsWithHTTPClient(client *http.Client) *OptionGroupCreateParams
- func NewOptionGroupCreateParamsWithTimeout(timeout time.Duration) *OptionGroupCreateParams
- func (o *OptionGroupCreateParams) SetBody(body *models.IpamsvcOptionGroup)
- func (o *OptionGroupCreateParams) SetContext(ctx context.Context)
- func (o *OptionGroupCreateParams) SetDefaults()
- func (o *OptionGroupCreateParams) SetHTTPClient(client *http.Client)
- func (o *OptionGroupCreateParams) SetTimeout(timeout time.Duration)
- func (o *OptionGroupCreateParams) WithBody(body *models.IpamsvcOptionGroup) *OptionGroupCreateParams
- func (o *OptionGroupCreateParams) WithContext(ctx context.Context) *OptionGroupCreateParams
- func (o *OptionGroupCreateParams) WithDefaults() *OptionGroupCreateParams
- func (o *OptionGroupCreateParams) WithHTTPClient(client *http.Client) *OptionGroupCreateParams
- func (o *OptionGroupCreateParams) WithTimeout(timeout time.Duration) *OptionGroupCreateParams
- func (o *OptionGroupCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionGroupCreateReader
- type OptionGroupDeleteNoContent
- type OptionGroupDeleteParams
- func NewOptionGroupDeleteParams() *OptionGroupDeleteParams
- func NewOptionGroupDeleteParamsWithContext(ctx context.Context) *OptionGroupDeleteParams
- func NewOptionGroupDeleteParamsWithHTTPClient(client *http.Client) *OptionGroupDeleteParams
- func NewOptionGroupDeleteParamsWithTimeout(timeout time.Duration) *OptionGroupDeleteParams
- func (o *OptionGroupDeleteParams) SetContext(ctx context.Context)
- func (o *OptionGroupDeleteParams) SetDefaults()
- func (o *OptionGroupDeleteParams) SetHTTPClient(client *http.Client)
- func (o *OptionGroupDeleteParams) SetID(id string)
- func (o *OptionGroupDeleteParams) SetTimeout(timeout time.Duration)
- func (o *OptionGroupDeleteParams) WithContext(ctx context.Context) *OptionGroupDeleteParams
- func (o *OptionGroupDeleteParams) WithDefaults() *OptionGroupDeleteParams
- func (o *OptionGroupDeleteParams) WithHTTPClient(client *http.Client) *OptionGroupDeleteParams
- func (o *OptionGroupDeleteParams) WithID(id string) *OptionGroupDeleteParams
- func (o *OptionGroupDeleteParams) WithTimeout(timeout time.Duration) *OptionGroupDeleteParams
- func (o *OptionGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionGroupDeleteReader
- type OptionGroupListOK
- type OptionGroupListParams
- func NewOptionGroupListParams() *OptionGroupListParams
- func NewOptionGroupListParamsWithContext(ctx context.Context) *OptionGroupListParams
- func NewOptionGroupListParamsWithHTTPClient(client *http.Client) *OptionGroupListParams
- func NewOptionGroupListParamsWithTimeout(timeout time.Duration) *OptionGroupListParams
- func (o *OptionGroupListParams) SetContext(ctx context.Context)
- func (o *OptionGroupListParams) SetDefaults()
- func (o *OptionGroupListParams) SetFields(fields *string)
- func (o *OptionGroupListParams) SetFilter(filter *string)
- func (o *OptionGroupListParams) SetHTTPClient(client *http.Client)
- func (o *OptionGroupListParams) SetLimit(limit *int64)
- func (o *OptionGroupListParams) SetOffset(offset *int64)
- func (o *OptionGroupListParams) SetOrderBy(orderBy *string)
- func (o *OptionGroupListParams) SetPageToken(pageToken *string)
- func (o *OptionGroupListParams) SetTfilter(tfilter *string)
- func (o *OptionGroupListParams) SetTimeout(timeout time.Duration)
- func (o *OptionGroupListParams) SetTorderBy(torderBy *string)
- func (o *OptionGroupListParams) WithContext(ctx context.Context) *OptionGroupListParams
- func (o *OptionGroupListParams) WithDefaults() *OptionGroupListParams
- func (o *OptionGroupListParams) WithFields(fields *string) *OptionGroupListParams
- func (o *OptionGroupListParams) WithFilter(filter *string) *OptionGroupListParams
- func (o *OptionGroupListParams) WithHTTPClient(client *http.Client) *OptionGroupListParams
- func (o *OptionGroupListParams) WithLimit(limit *int64) *OptionGroupListParams
- func (o *OptionGroupListParams) WithOffset(offset *int64) *OptionGroupListParams
- func (o *OptionGroupListParams) WithOrderBy(orderBy *string) *OptionGroupListParams
- func (o *OptionGroupListParams) WithPageToken(pageToken *string) *OptionGroupListParams
- func (o *OptionGroupListParams) WithTfilter(tfilter *string) *OptionGroupListParams
- func (o *OptionGroupListParams) WithTimeout(timeout time.Duration) *OptionGroupListParams
- func (o *OptionGroupListParams) WithTorderBy(torderBy *string) *OptionGroupListParams
- func (o *OptionGroupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionGroupListReader
- type OptionGroupReadOK
- type OptionGroupReadParams
- func NewOptionGroupReadParams() *OptionGroupReadParams
- func NewOptionGroupReadParamsWithContext(ctx context.Context) *OptionGroupReadParams
- func NewOptionGroupReadParamsWithHTTPClient(client *http.Client) *OptionGroupReadParams
- func NewOptionGroupReadParamsWithTimeout(timeout time.Duration) *OptionGroupReadParams
- func (o *OptionGroupReadParams) SetContext(ctx context.Context)
- func (o *OptionGroupReadParams) SetDefaults()
- func (o *OptionGroupReadParams) SetFields(fields *string)
- func (o *OptionGroupReadParams) SetHTTPClient(client *http.Client)
- func (o *OptionGroupReadParams) SetID(id string)
- func (o *OptionGroupReadParams) SetTimeout(timeout time.Duration)
- func (o *OptionGroupReadParams) WithContext(ctx context.Context) *OptionGroupReadParams
- func (o *OptionGroupReadParams) WithDefaults() *OptionGroupReadParams
- func (o *OptionGroupReadParams) WithFields(fields *string) *OptionGroupReadParams
- func (o *OptionGroupReadParams) WithHTTPClient(client *http.Client) *OptionGroupReadParams
- func (o *OptionGroupReadParams) WithID(id string) *OptionGroupReadParams
- func (o *OptionGroupReadParams) WithTimeout(timeout time.Duration) *OptionGroupReadParams
- func (o *OptionGroupReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionGroupReadReader
- type OptionGroupUpdateCreated
- type OptionGroupUpdateParams
- func NewOptionGroupUpdateParams() *OptionGroupUpdateParams
- func NewOptionGroupUpdateParamsWithContext(ctx context.Context) *OptionGroupUpdateParams
- func NewOptionGroupUpdateParamsWithHTTPClient(client *http.Client) *OptionGroupUpdateParams
- func NewOptionGroupUpdateParamsWithTimeout(timeout time.Duration) *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) SetBody(body *models.IpamsvcOptionGroup)
- func (o *OptionGroupUpdateParams) SetContext(ctx context.Context)
- func (o *OptionGroupUpdateParams) SetDefaults()
- func (o *OptionGroupUpdateParams) SetHTTPClient(client *http.Client)
- func (o *OptionGroupUpdateParams) SetID(id string)
- func (o *OptionGroupUpdateParams) SetTimeout(timeout time.Duration)
- func (o *OptionGroupUpdateParams) WithBody(body *models.IpamsvcOptionGroup) *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) WithContext(ctx context.Context) *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) WithDefaults() *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) WithHTTPClient(client *http.Client) *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) WithID(id string) *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) WithTimeout(timeout time.Duration) *OptionGroupUpdateParams
- func (o *OptionGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionGroupUpdateReader
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 option group API
func (*Client) OptionGroupCreate ¶
func (a *Client) OptionGroupCreate(params *OptionGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupCreateCreated, error)
OptionGroupCreate creates the d h c p option group Use this method to create an __OptionGroup__ object.
The __OptionGroup__ object is a named collection of options.
func (*Client) OptionGroupDelete ¶
func (a *Client) OptionGroupDelete(params *OptionGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupDeleteNoContent, error)
OptionGroupDelete moves the d h c p option group to the recycle bin Use this method to move an __OptionGroup__ object to the recycle bin.
The __OptionGroup__ object is a named collection of options.
func (*Client) OptionGroupList ¶
func (a *Client) OptionGroupList(params *OptionGroupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupListOK, error)
OptionGroupList retrieves d h c p option groups Use this method to retrieve __OptionGroup__ objects.
The __OptionGroup__ object is a named collection of options.
func (*Client) OptionGroupRead ¶
func (a *Client) OptionGroupRead(params *OptionGroupReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupReadOK, error)
OptionGroupRead retrieves the d h c p option group Use this method to retrieve an __OptionGroup__ object.
The __OptionGroup__ object is a named collection of options.
func (*Client) OptionGroupUpdate ¶
func (a *Client) OptionGroupUpdate(params *OptionGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupUpdateCreated, error)
OptionGroupUpdate updates the d h c p option group Use this method to update an __OptionGroup__ object.
The __OptionGroup__ object is a named collection of options.
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 { OptionGroupCreate(params *OptionGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupCreateCreated, error) OptionGroupDelete(params *OptionGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupDeleteNoContent, error) OptionGroupList(params *OptionGroupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupListOK, error) OptionGroupRead(params *OptionGroupReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupReadOK, error) OptionGroupUpdate(params *OptionGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionGroupUpdateCreated, 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 option group API client.
type OptionGroupCreateCreated ¶
type OptionGroupCreateCreated struct {
Payload *models.IpamsvcCreateOptionGroupResponse
}
OptionGroupCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewOptionGroupCreateCreated ¶
func NewOptionGroupCreateCreated() *OptionGroupCreateCreated
NewOptionGroupCreateCreated creates a OptionGroupCreateCreated with default headers values
func (*OptionGroupCreateCreated) Error ¶
func (o *OptionGroupCreateCreated) Error() string
func (*OptionGroupCreateCreated) GetPayload ¶
func (o *OptionGroupCreateCreated) GetPayload() *models.IpamsvcCreateOptionGroupResponse
type OptionGroupCreateParams ¶
type OptionGroupCreateParams struct { // Body. Body *models.IpamsvcOptionGroup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OptionGroupCreateParams contains all the parameters to send to the API endpoint
for the option group create operation. Typically these are written to a http.Request.
func NewOptionGroupCreateParams ¶
func NewOptionGroupCreateParams() *OptionGroupCreateParams
NewOptionGroupCreateParams creates a new OptionGroupCreateParams 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 NewOptionGroupCreateParamsWithContext ¶
func NewOptionGroupCreateParamsWithContext(ctx context.Context) *OptionGroupCreateParams
NewOptionGroupCreateParamsWithContext creates a new OptionGroupCreateParams object with the ability to set a context for a request.
func NewOptionGroupCreateParamsWithHTTPClient ¶
func NewOptionGroupCreateParamsWithHTTPClient(client *http.Client) *OptionGroupCreateParams
NewOptionGroupCreateParamsWithHTTPClient creates a new OptionGroupCreateParams object with the ability to set a custom HTTPClient for a request.
func NewOptionGroupCreateParamsWithTimeout ¶
func NewOptionGroupCreateParamsWithTimeout(timeout time.Duration) *OptionGroupCreateParams
NewOptionGroupCreateParamsWithTimeout creates a new OptionGroupCreateParams object with the ability to set a timeout on a request.
func (*OptionGroupCreateParams) SetBody ¶
func (o *OptionGroupCreateParams) SetBody(body *models.IpamsvcOptionGroup)
SetBody adds the body to the option group create params
func (*OptionGroupCreateParams) SetContext ¶
func (o *OptionGroupCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the option group create params
func (*OptionGroupCreateParams) SetDefaults ¶
func (o *OptionGroupCreateParams) SetDefaults()
SetDefaults hydrates default values in the option group create params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupCreateParams) SetHTTPClient ¶
func (o *OptionGroupCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option group create params
func (*OptionGroupCreateParams) SetTimeout ¶
func (o *OptionGroupCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option group create params
func (*OptionGroupCreateParams) WithBody ¶
func (o *OptionGroupCreateParams) WithBody(body *models.IpamsvcOptionGroup) *OptionGroupCreateParams
WithBody adds the body to the option group create params
func (*OptionGroupCreateParams) WithContext ¶
func (o *OptionGroupCreateParams) WithContext(ctx context.Context) *OptionGroupCreateParams
WithContext adds the context to the option group create params
func (*OptionGroupCreateParams) WithDefaults ¶
func (o *OptionGroupCreateParams) WithDefaults() *OptionGroupCreateParams
WithDefaults hydrates default values in the option group create params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupCreateParams) WithHTTPClient ¶
func (o *OptionGroupCreateParams) WithHTTPClient(client *http.Client) *OptionGroupCreateParams
WithHTTPClient adds the HTTPClient to the option group create params
func (*OptionGroupCreateParams) WithTimeout ¶
func (o *OptionGroupCreateParams) WithTimeout(timeout time.Duration) *OptionGroupCreateParams
WithTimeout adds the timeout to the option group create params
func (*OptionGroupCreateParams) WriteToRequest ¶
func (o *OptionGroupCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionGroupCreateReader ¶
type OptionGroupCreateReader struct {
// contains filtered or unexported fields
}
OptionGroupCreateReader is a Reader for the OptionGroupCreate structure.
func (*OptionGroupCreateReader) ReadResponse ¶
func (o *OptionGroupCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionGroupDeleteNoContent ¶
type OptionGroupDeleteNoContent struct { }
OptionGroupDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewOptionGroupDeleteNoContent ¶
func NewOptionGroupDeleteNoContent() *OptionGroupDeleteNoContent
NewOptionGroupDeleteNoContent creates a OptionGroupDeleteNoContent with default headers values
func (*OptionGroupDeleteNoContent) Error ¶
func (o *OptionGroupDeleteNoContent) Error() string
type OptionGroupDeleteParams ¶
type OptionGroupDeleteParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OptionGroupDeleteParams contains all the parameters to send to the API endpoint
for the option group delete operation. Typically these are written to a http.Request.
func NewOptionGroupDeleteParams ¶
func NewOptionGroupDeleteParams() *OptionGroupDeleteParams
NewOptionGroupDeleteParams creates a new OptionGroupDeleteParams 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 NewOptionGroupDeleteParamsWithContext ¶
func NewOptionGroupDeleteParamsWithContext(ctx context.Context) *OptionGroupDeleteParams
NewOptionGroupDeleteParamsWithContext creates a new OptionGroupDeleteParams object with the ability to set a context for a request.
func NewOptionGroupDeleteParamsWithHTTPClient ¶
func NewOptionGroupDeleteParamsWithHTTPClient(client *http.Client) *OptionGroupDeleteParams
NewOptionGroupDeleteParamsWithHTTPClient creates a new OptionGroupDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewOptionGroupDeleteParamsWithTimeout ¶
func NewOptionGroupDeleteParamsWithTimeout(timeout time.Duration) *OptionGroupDeleteParams
NewOptionGroupDeleteParamsWithTimeout creates a new OptionGroupDeleteParams object with the ability to set a timeout on a request.
func (*OptionGroupDeleteParams) SetContext ¶
func (o *OptionGroupDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the option group delete params
func (*OptionGroupDeleteParams) SetDefaults ¶
func (o *OptionGroupDeleteParams) SetDefaults()
SetDefaults hydrates default values in the option group delete params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupDeleteParams) SetHTTPClient ¶
func (o *OptionGroupDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option group delete params
func (*OptionGroupDeleteParams) SetID ¶
func (o *OptionGroupDeleteParams) SetID(id string)
SetID adds the id to the option group delete params
func (*OptionGroupDeleteParams) SetTimeout ¶
func (o *OptionGroupDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option group delete params
func (*OptionGroupDeleteParams) WithContext ¶
func (o *OptionGroupDeleteParams) WithContext(ctx context.Context) *OptionGroupDeleteParams
WithContext adds the context to the option group delete params
func (*OptionGroupDeleteParams) WithDefaults ¶
func (o *OptionGroupDeleteParams) WithDefaults() *OptionGroupDeleteParams
WithDefaults hydrates default values in the option group delete params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupDeleteParams) WithHTTPClient ¶
func (o *OptionGroupDeleteParams) WithHTTPClient(client *http.Client) *OptionGroupDeleteParams
WithHTTPClient adds the HTTPClient to the option group delete params
func (*OptionGroupDeleteParams) WithID ¶
func (o *OptionGroupDeleteParams) WithID(id string) *OptionGroupDeleteParams
WithID adds the id to the option group delete params
func (*OptionGroupDeleteParams) WithTimeout ¶
func (o *OptionGroupDeleteParams) WithTimeout(timeout time.Duration) *OptionGroupDeleteParams
WithTimeout adds the timeout to the option group delete params
func (*OptionGroupDeleteParams) WriteToRequest ¶
func (o *OptionGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionGroupDeleteReader ¶
type OptionGroupDeleteReader struct {
// contains filtered or unexported fields
}
OptionGroupDeleteReader is a Reader for the OptionGroupDelete structure.
func (*OptionGroupDeleteReader) ReadResponse ¶
func (o *OptionGroupDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionGroupListOK ¶
type OptionGroupListOK struct {
Payload *models.IpamsvcListOptionGroupResponse
}
OptionGroupListOK describes a response with status code 200, with default header values.
GET operation response
func NewOptionGroupListOK ¶
func NewOptionGroupListOK() *OptionGroupListOK
NewOptionGroupListOK creates a OptionGroupListOK with default headers values
func (*OptionGroupListOK) Error ¶
func (o *OptionGroupListOK) Error() string
func (*OptionGroupListOK) GetPayload ¶
func (o *OptionGroupListOK) GetPayload() *models.IpamsvcListOptionGroupResponse
type OptionGroupListParams ¶
type OptionGroupListParams 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 }
OptionGroupListParams contains all the parameters to send to the API endpoint
for the option group list operation. Typically these are written to a http.Request.
func NewOptionGroupListParams ¶
func NewOptionGroupListParams() *OptionGroupListParams
NewOptionGroupListParams creates a new OptionGroupListParams 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 NewOptionGroupListParamsWithContext ¶
func NewOptionGroupListParamsWithContext(ctx context.Context) *OptionGroupListParams
NewOptionGroupListParamsWithContext creates a new OptionGroupListParams object with the ability to set a context for a request.
func NewOptionGroupListParamsWithHTTPClient ¶
func NewOptionGroupListParamsWithHTTPClient(client *http.Client) *OptionGroupListParams
NewOptionGroupListParamsWithHTTPClient creates a new OptionGroupListParams object with the ability to set a custom HTTPClient for a request.
func NewOptionGroupListParamsWithTimeout ¶
func NewOptionGroupListParamsWithTimeout(timeout time.Duration) *OptionGroupListParams
NewOptionGroupListParamsWithTimeout creates a new OptionGroupListParams object with the ability to set a timeout on a request.
func (*OptionGroupListParams) SetContext ¶
func (o *OptionGroupListParams) SetContext(ctx context.Context)
SetContext adds the context to the option group list params
func (*OptionGroupListParams) SetDefaults ¶
func (o *OptionGroupListParams) SetDefaults()
SetDefaults hydrates default values in the option group list params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupListParams) SetFields ¶
func (o *OptionGroupListParams) SetFields(fields *string)
SetFields adds the fields to the option group list params
func (*OptionGroupListParams) SetFilter ¶
func (o *OptionGroupListParams) SetFilter(filter *string)
SetFilter adds the filter to the option group list params
func (*OptionGroupListParams) SetHTTPClient ¶
func (o *OptionGroupListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option group list params
func (*OptionGroupListParams) SetLimit ¶
func (o *OptionGroupListParams) SetLimit(limit *int64)
SetLimit adds the limit to the option group list params
func (*OptionGroupListParams) SetOffset ¶
func (o *OptionGroupListParams) SetOffset(offset *int64)
SetOffset adds the offset to the option group list params
func (*OptionGroupListParams) SetOrderBy ¶
func (o *OptionGroupListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the option group list params
func (*OptionGroupListParams) SetPageToken ¶
func (o *OptionGroupListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the option group list params
func (*OptionGroupListParams) SetTfilter ¶
func (o *OptionGroupListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the option group list params
func (*OptionGroupListParams) SetTimeout ¶
func (o *OptionGroupListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option group list params
func (*OptionGroupListParams) SetTorderBy ¶
func (o *OptionGroupListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the option group list params
func (*OptionGroupListParams) WithContext ¶
func (o *OptionGroupListParams) WithContext(ctx context.Context) *OptionGroupListParams
WithContext adds the context to the option group list params
func (*OptionGroupListParams) WithDefaults ¶
func (o *OptionGroupListParams) WithDefaults() *OptionGroupListParams
WithDefaults hydrates default values in the option group list params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupListParams) WithFields ¶
func (o *OptionGroupListParams) WithFields(fields *string) *OptionGroupListParams
WithFields adds the fields to the option group list params
func (*OptionGroupListParams) WithFilter ¶
func (o *OptionGroupListParams) WithFilter(filter *string) *OptionGroupListParams
WithFilter adds the filter to the option group list params
func (*OptionGroupListParams) WithHTTPClient ¶
func (o *OptionGroupListParams) WithHTTPClient(client *http.Client) *OptionGroupListParams
WithHTTPClient adds the HTTPClient to the option group list params
func (*OptionGroupListParams) WithLimit ¶
func (o *OptionGroupListParams) WithLimit(limit *int64) *OptionGroupListParams
WithLimit adds the limit to the option group list params
func (*OptionGroupListParams) WithOffset ¶
func (o *OptionGroupListParams) WithOffset(offset *int64) *OptionGroupListParams
WithOffset adds the offset to the option group list params
func (*OptionGroupListParams) WithOrderBy ¶
func (o *OptionGroupListParams) WithOrderBy(orderBy *string) *OptionGroupListParams
WithOrderBy adds the orderBy to the option group list params
func (*OptionGroupListParams) WithPageToken ¶
func (o *OptionGroupListParams) WithPageToken(pageToken *string) *OptionGroupListParams
WithPageToken adds the pageToken to the option group list params
func (*OptionGroupListParams) WithTfilter ¶
func (o *OptionGroupListParams) WithTfilter(tfilter *string) *OptionGroupListParams
WithTfilter adds the tfilter to the option group list params
func (*OptionGroupListParams) WithTimeout ¶
func (o *OptionGroupListParams) WithTimeout(timeout time.Duration) *OptionGroupListParams
WithTimeout adds the timeout to the option group list params
func (*OptionGroupListParams) WithTorderBy ¶
func (o *OptionGroupListParams) WithTorderBy(torderBy *string) *OptionGroupListParams
WithTorderBy adds the torderBy to the option group list params
func (*OptionGroupListParams) WriteToRequest ¶
func (o *OptionGroupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionGroupListReader ¶
type OptionGroupListReader struct {
// contains filtered or unexported fields
}
OptionGroupListReader is a Reader for the OptionGroupList structure.
func (*OptionGroupListReader) ReadResponse ¶
func (o *OptionGroupListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionGroupReadOK ¶
type OptionGroupReadOK struct {
Payload *models.IpamsvcReadOptionGroupResponse
}
OptionGroupReadOK describes a response with status code 200, with default header values.
GET operation response
func NewOptionGroupReadOK ¶
func NewOptionGroupReadOK() *OptionGroupReadOK
NewOptionGroupReadOK creates a OptionGroupReadOK with default headers values
func (*OptionGroupReadOK) Error ¶
func (o *OptionGroupReadOK) Error() string
func (*OptionGroupReadOK) GetPayload ¶
func (o *OptionGroupReadOK) GetPayload() *models.IpamsvcReadOptionGroupResponse
type OptionGroupReadParams ¶
type OptionGroupReadParams 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 }
OptionGroupReadParams contains all the parameters to send to the API endpoint
for the option group read operation. Typically these are written to a http.Request.
func NewOptionGroupReadParams ¶
func NewOptionGroupReadParams() *OptionGroupReadParams
NewOptionGroupReadParams creates a new OptionGroupReadParams 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 NewOptionGroupReadParamsWithContext ¶
func NewOptionGroupReadParamsWithContext(ctx context.Context) *OptionGroupReadParams
NewOptionGroupReadParamsWithContext creates a new OptionGroupReadParams object with the ability to set a context for a request.
func NewOptionGroupReadParamsWithHTTPClient ¶
func NewOptionGroupReadParamsWithHTTPClient(client *http.Client) *OptionGroupReadParams
NewOptionGroupReadParamsWithHTTPClient creates a new OptionGroupReadParams object with the ability to set a custom HTTPClient for a request.
func NewOptionGroupReadParamsWithTimeout ¶
func NewOptionGroupReadParamsWithTimeout(timeout time.Duration) *OptionGroupReadParams
NewOptionGroupReadParamsWithTimeout creates a new OptionGroupReadParams object with the ability to set a timeout on a request.
func (*OptionGroupReadParams) SetContext ¶
func (o *OptionGroupReadParams) SetContext(ctx context.Context)
SetContext adds the context to the option group read params
func (*OptionGroupReadParams) SetDefaults ¶
func (o *OptionGroupReadParams) SetDefaults()
SetDefaults hydrates default values in the option group read params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupReadParams) SetFields ¶
func (o *OptionGroupReadParams) SetFields(fields *string)
SetFields adds the fields to the option group read params
func (*OptionGroupReadParams) SetHTTPClient ¶
func (o *OptionGroupReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option group read params
func (*OptionGroupReadParams) SetID ¶
func (o *OptionGroupReadParams) SetID(id string)
SetID adds the id to the option group read params
func (*OptionGroupReadParams) SetTimeout ¶
func (o *OptionGroupReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option group read params
func (*OptionGroupReadParams) WithContext ¶
func (o *OptionGroupReadParams) WithContext(ctx context.Context) *OptionGroupReadParams
WithContext adds the context to the option group read params
func (*OptionGroupReadParams) WithDefaults ¶
func (o *OptionGroupReadParams) WithDefaults() *OptionGroupReadParams
WithDefaults hydrates default values in the option group read params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupReadParams) WithFields ¶
func (o *OptionGroupReadParams) WithFields(fields *string) *OptionGroupReadParams
WithFields adds the fields to the option group read params
func (*OptionGroupReadParams) WithHTTPClient ¶
func (o *OptionGroupReadParams) WithHTTPClient(client *http.Client) *OptionGroupReadParams
WithHTTPClient adds the HTTPClient to the option group read params
func (*OptionGroupReadParams) WithID ¶
func (o *OptionGroupReadParams) WithID(id string) *OptionGroupReadParams
WithID adds the id to the option group read params
func (*OptionGroupReadParams) WithTimeout ¶
func (o *OptionGroupReadParams) WithTimeout(timeout time.Duration) *OptionGroupReadParams
WithTimeout adds the timeout to the option group read params
func (*OptionGroupReadParams) WriteToRequest ¶
func (o *OptionGroupReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionGroupReadReader ¶
type OptionGroupReadReader struct {
// contains filtered or unexported fields
}
OptionGroupReadReader is a Reader for the OptionGroupRead structure.
func (*OptionGroupReadReader) ReadResponse ¶
func (o *OptionGroupReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionGroupUpdateCreated ¶
type OptionGroupUpdateCreated struct {
Payload *models.IpamsvcUpdateOptionGroupResponse
}
OptionGroupUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewOptionGroupUpdateCreated ¶
func NewOptionGroupUpdateCreated() *OptionGroupUpdateCreated
NewOptionGroupUpdateCreated creates a OptionGroupUpdateCreated with default headers values
func (*OptionGroupUpdateCreated) Error ¶
func (o *OptionGroupUpdateCreated) Error() string
func (*OptionGroupUpdateCreated) GetPayload ¶
func (o *OptionGroupUpdateCreated) GetPayload() *models.IpamsvcUpdateOptionGroupResponse
type OptionGroupUpdateParams ¶
type OptionGroupUpdateParams struct { // Body. Body *models.IpamsvcOptionGroup /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OptionGroupUpdateParams contains all the parameters to send to the API endpoint
for the option group update operation. Typically these are written to a http.Request.
func NewOptionGroupUpdateParams ¶
func NewOptionGroupUpdateParams() *OptionGroupUpdateParams
NewOptionGroupUpdateParams creates a new OptionGroupUpdateParams 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 NewOptionGroupUpdateParamsWithContext ¶
func NewOptionGroupUpdateParamsWithContext(ctx context.Context) *OptionGroupUpdateParams
NewOptionGroupUpdateParamsWithContext creates a new OptionGroupUpdateParams object with the ability to set a context for a request.
func NewOptionGroupUpdateParamsWithHTTPClient ¶
func NewOptionGroupUpdateParamsWithHTTPClient(client *http.Client) *OptionGroupUpdateParams
NewOptionGroupUpdateParamsWithHTTPClient creates a new OptionGroupUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewOptionGroupUpdateParamsWithTimeout ¶
func NewOptionGroupUpdateParamsWithTimeout(timeout time.Duration) *OptionGroupUpdateParams
NewOptionGroupUpdateParamsWithTimeout creates a new OptionGroupUpdateParams object with the ability to set a timeout on a request.
func (*OptionGroupUpdateParams) SetBody ¶
func (o *OptionGroupUpdateParams) SetBody(body *models.IpamsvcOptionGroup)
SetBody adds the body to the option group update params
func (*OptionGroupUpdateParams) SetContext ¶
func (o *OptionGroupUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the option group update params
func (*OptionGroupUpdateParams) SetDefaults ¶
func (o *OptionGroupUpdateParams) SetDefaults()
SetDefaults hydrates default values in the option group update params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupUpdateParams) SetHTTPClient ¶
func (o *OptionGroupUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option group update params
func (*OptionGroupUpdateParams) SetID ¶
func (o *OptionGroupUpdateParams) SetID(id string)
SetID adds the id to the option group update params
func (*OptionGroupUpdateParams) SetTimeout ¶
func (o *OptionGroupUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option group update params
func (*OptionGroupUpdateParams) WithBody ¶
func (o *OptionGroupUpdateParams) WithBody(body *models.IpamsvcOptionGroup) *OptionGroupUpdateParams
WithBody adds the body to the option group update params
func (*OptionGroupUpdateParams) WithContext ¶
func (o *OptionGroupUpdateParams) WithContext(ctx context.Context) *OptionGroupUpdateParams
WithContext adds the context to the option group update params
func (*OptionGroupUpdateParams) WithDefaults ¶
func (o *OptionGroupUpdateParams) WithDefaults() *OptionGroupUpdateParams
WithDefaults hydrates default values in the option group update params (not the query body).
All values with no default are reset to their zero value.
func (*OptionGroupUpdateParams) WithHTTPClient ¶
func (o *OptionGroupUpdateParams) WithHTTPClient(client *http.Client) *OptionGroupUpdateParams
WithHTTPClient adds the HTTPClient to the option group update params
func (*OptionGroupUpdateParams) WithID ¶
func (o *OptionGroupUpdateParams) WithID(id string) *OptionGroupUpdateParams
WithID adds the id to the option group update params
func (*OptionGroupUpdateParams) WithTimeout ¶
func (o *OptionGroupUpdateParams) WithTimeout(timeout time.Duration) *OptionGroupUpdateParams
WithTimeout adds the timeout to the option group update params
func (*OptionGroupUpdateParams) WriteToRequest ¶
func (o *OptionGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionGroupUpdateReader ¶
type OptionGroupUpdateReader struct {
// contains filtered or unexported fields
}
OptionGroupUpdateReader is a Reader for the OptionGroupUpdate structure.
func (*OptionGroupUpdateReader) ReadResponse ¶
func (o *OptionGroupUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- option_group_client.go
- option_group_create_parameters.go
- option_group_create_responses.go
- option_group_delete_parameters.go
- option_group_delete_responses.go
- option_group_list_parameters.go
- option_group_list_responses.go
- option_group_read_parameters.go
- option_group_read_responses.go
- option_group_update_parameters.go
- option_group_update_responses.go