Documentation ¶
Index ¶
- type Client
- func (a *Client) OptionSpaceCreate(params *OptionSpaceCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionSpaceCreateCreated, error)
- func (a *Client) OptionSpaceDelete(params *OptionSpaceDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionSpaceDeleteNoContent, error)
- func (a *Client) OptionSpaceList(params *OptionSpaceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionSpaceListOK, error)
- func (a *Client) OptionSpaceRead(params *OptionSpaceReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionSpaceReadOK, error)
- func (a *Client) OptionSpaceUpdate(params *OptionSpaceUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OptionSpaceUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type OptionSpaceCreateCreated
- type OptionSpaceCreateParams
- func NewOptionSpaceCreateParams() *OptionSpaceCreateParams
- func NewOptionSpaceCreateParamsWithContext(ctx context.Context) *OptionSpaceCreateParams
- func NewOptionSpaceCreateParamsWithHTTPClient(client *http.Client) *OptionSpaceCreateParams
- func NewOptionSpaceCreateParamsWithTimeout(timeout time.Duration) *OptionSpaceCreateParams
- func (o *OptionSpaceCreateParams) SetBody(body *models.IpamsvcOptionSpace)
- func (o *OptionSpaceCreateParams) SetContext(ctx context.Context)
- func (o *OptionSpaceCreateParams) SetDefaults()
- func (o *OptionSpaceCreateParams) SetHTTPClient(client *http.Client)
- func (o *OptionSpaceCreateParams) SetTimeout(timeout time.Duration)
- func (o *OptionSpaceCreateParams) WithBody(body *models.IpamsvcOptionSpace) *OptionSpaceCreateParams
- func (o *OptionSpaceCreateParams) WithContext(ctx context.Context) *OptionSpaceCreateParams
- func (o *OptionSpaceCreateParams) WithDefaults() *OptionSpaceCreateParams
- func (o *OptionSpaceCreateParams) WithHTTPClient(client *http.Client) *OptionSpaceCreateParams
- func (o *OptionSpaceCreateParams) WithTimeout(timeout time.Duration) *OptionSpaceCreateParams
- func (o *OptionSpaceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionSpaceCreateReader
- type OptionSpaceDeleteNoContent
- type OptionSpaceDeleteParams
- func NewOptionSpaceDeleteParams() *OptionSpaceDeleteParams
- func NewOptionSpaceDeleteParamsWithContext(ctx context.Context) *OptionSpaceDeleteParams
- func NewOptionSpaceDeleteParamsWithHTTPClient(client *http.Client) *OptionSpaceDeleteParams
- func NewOptionSpaceDeleteParamsWithTimeout(timeout time.Duration) *OptionSpaceDeleteParams
- func (o *OptionSpaceDeleteParams) SetContext(ctx context.Context)
- func (o *OptionSpaceDeleteParams) SetDefaults()
- func (o *OptionSpaceDeleteParams) SetHTTPClient(client *http.Client)
- func (o *OptionSpaceDeleteParams) SetID(id string)
- func (o *OptionSpaceDeleteParams) SetTimeout(timeout time.Duration)
- func (o *OptionSpaceDeleteParams) WithContext(ctx context.Context) *OptionSpaceDeleteParams
- func (o *OptionSpaceDeleteParams) WithDefaults() *OptionSpaceDeleteParams
- func (o *OptionSpaceDeleteParams) WithHTTPClient(client *http.Client) *OptionSpaceDeleteParams
- func (o *OptionSpaceDeleteParams) WithID(id string) *OptionSpaceDeleteParams
- func (o *OptionSpaceDeleteParams) WithTimeout(timeout time.Duration) *OptionSpaceDeleteParams
- func (o *OptionSpaceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionSpaceDeleteReader
- type OptionSpaceListOK
- type OptionSpaceListParams
- func NewOptionSpaceListParams() *OptionSpaceListParams
- func NewOptionSpaceListParamsWithContext(ctx context.Context) *OptionSpaceListParams
- func NewOptionSpaceListParamsWithHTTPClient(client *http.Client) *OptionSpaceListParams
- func NewOptionSpaceListParamsWithTimeout(timeout time.Duration) *OptionSpaceListParams
- func (o *OptionSpaceListParams) SetContext(ctx context.Context)
- func (o *OptionSpaceListParams) SetDefaults()
- func (o *OptionSpaceListParams) SetFields(fields *string)
- func (o *OptionSpaceListParams) SetFilter(filter *string)
- func (o *OptionSpaceListParams) SetHTTPClient(client *http.Client)
- func (o *OptionSpaceListParams) SetLimit(limit *int64)
- func (o *OptionSpaceListParams) SetOffset(offset *int64)
- func (o *OptionSpaceListParams) SetOrderBy(orderBy *string)
- func (o *OptionSpaceListParams) SetPageToken(pageToken *string)
- func (o *OptionSpaceListParams) SetTfilter(tfilter *string)
- func (o *OptionSpaceListParams) SetTimeout(timeout time.Duration)
- func (o *OptionSpaceListParams) SetTorderBy(torderBy *string)
- func (o *OptionSpaceListParams) WithContext(ctx context.Context) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithDefaults() *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithFields(fields *string) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithFilter(filter *string) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithHTTPClient(client *http.Client) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithLimit(limit *int64) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithOffset(offset *int64) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithOrderBy(orderBy *string) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithPageToken(pageToken *string) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithTfilter(tfilter *string) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithTimeout(timeout time.Duration) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WithTorderBy(torderBy *string) *OptionSpaceListParams
- func (o *OptionSpaceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionSpaceListReader
- type OptionSpaceReadOK
- type OptionSpaceReadParams
- func NewOptionSpaceReadParams() *OptionSpaceReadParams
- func NewOptionSpaceReadParamsWithContext(ctx context.Context) *OptionSpaceReadParams
- func NewOptionSpaceReadParamsWithHTTPClient(client *http.Client) *OptionSpaceReadParams
- func NewOptionSpaceReadParamsWithTimeout(timeout time.Duration) *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) SetContext(ctx context.Context)
- func (o *OptionSpaceReadParams) SetDefaults()
- func (o *OptionSpaceReadParams) SetFields(fields *string)
- func (o *OptionSpaceReadParams) SetHTTPClient(client *http.Client)
- func (o *OptionSpaceReadParams) SetID(id string)
- func (o *OptionSpaceReadParams) SetTimeout(timeout time.Duration)
- func (o *OptionSpaceReadParams) WithContext(ctx context.Context) *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) WithDefaults() *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) WithFields(fields *string) *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) WithHTTPClient(client *http.Client) *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) WithID(id string) *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) WithTimeout(timeout time.Duration) *OptionSpaceReadParams
- func (o *OptionSpaceReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionSpaceReadReader
- type OptionSpaceUpdateCreated
- type OptionSpaceUpdateParams
- func NewOptionSpaceUpdateParams() *OptionSpaceUpdateParams
- func NewOptionSpaceUpdateParamsWithContext(ctx context.Context) *OptionSpaceUpdateParams
- func NewOptionSpaceUpdateParamsWithHTTPClient(client *http.Client) *OptionSpaceUpdateParams
- func NewOptionSpaceUpdateParamsWithTimeout(timeout time.Duration) *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) SetBody(body *models.IpamsvcOptionSpace)
- func (o *OptionSpaceUpdateParams) SetContext(ctx context.Context)
- func (o *OptionSpaceUpdateParams) SetDefaults()
- func (o *OptionSpaceUpdateParams) SetHTTPClient(client *http.Client)
- func (o *OptionSpaceUpdateParams) SetID(id string)
- func (o *OptionSpaceUpdateParams) SetTimeout(timeout time.Duration)
- func (o *OptionSpaceUpdateParams) WithBody(body *models.IpamsvcOptionSpace) *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) WithContext(ctx context.Context) *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) WithDefaults() *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) WithHTTPClient(client *http.Client) *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) WithID(id string) *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) WithTimeout(timeout time.Duration) *OptionSpaceUpdateParams
- func (o *OptionSpaceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionSpaceUpdateReader
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 space API
func (*Client) OptionSpaceCreate ¶
func (a *Client) OptionSpaceCreate(params *OptionSpaceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceCreateCreated, error)
OptionSpaceCreate creates the d h c p option space Use this method to create an __OptionSpace__ object.
The __OptionSpace__ object represents a set of DHCP option codes.
func (*Client) OptionSpaceDelete ¶
func (a *Client) OptionSpaceDelete(params *OptionSpaceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceDeleteNoContent, error)
OptionSpaceDelete moves the d h c p option space to the recycle bin Use this method to move an __OptionSpace__ object to the recycle bin.
The __OptionSpace__ object represents a set of DHCP option codes.
func (*Client) OptionSpaceList ¶
func (a *Client) OptionSpaceList(params *OptionSpaceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceListOK, error)
OptionSpaceList retrieves d h c p option spaces Use this method to retrieve __OptionSpace__ objects.
The __OptionSpace__ object represents a set of DHCP option codes.
func (*Client) OptionSpaceRead ¶
func (a *Client) OptionSpaceRead(params *OptionSpaceReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceReadOK, error)
OptionSpaceRead retrieves the d h c p option space Use this method to retrieve an __OptionSpace__ object.
The __OptionSpace__ object represents a set of DHCP option codes.
func (*Client) OptionSpaceUpdate ¶
func (a *Client) OptionSpaceUpdate(params *OptionSpaceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceUpdateCreated, error)
OptionSpaceUpdate updates the d h c p option space Use this method to update an __OptionSpace__ object.
The __OptionSpace__ object represents a set of DHCP option codes.
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 { OptionSpaceCreate(params *OptionSpaceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceCreateCreated, error) OptionSpaceDelete(params *OptionSpaceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceDeleteNoContent, error) OptionSpaceList(params *OptionSpaceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceListOK, error) OptionSpaceRead(params *OptionSpaceReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceReadOK, error) OptionSpaceUpdate(params *OptionSpaceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OptionSpaceUpdateCreated, 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 space API client.
type OptionSpaceCreateCreated ¶
type OptionSpaceCreateCreated struct {
Payload *models.IpamsvcCreateOptionSpaceResponse
}
OptionSpaceCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewOptionSpaceCreateCreated ¶
func NewOptionSpaceCreateCreated() *OptionSpaceCreateCreated
NewOptionSpaceCreateCreated creates a OptionSpaceCreateCreated with default headers values
func (*OptionSpaceCreateCreated) Error ¶
func (o *OptionSpaceCreateCreated) Error() string
func (*OptionSpaceCreateCreated) GetPayload ¶
func (o *OptionSpaceCreateCreated) GetPayload() *models.IpamsvcCreateOptionSpaceResponse
type OptionSpaceCreateParams ¶
type OptionSpaceCreateParams struct { // Body. Body *models.IpamsvcOptionSpace Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OptionSpaceCreateParams contains all the parameters to send to the API endpoint
for the option space create operation. Typically these are written to a http.Request.
func NewOptionSpaceCreateParams ¶
func NewOptionSpaceCreateParams() *OptionSpaceCreateParams
NewOptionSpaceCreateParams creates a new OptionSpaceCreateParams 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 NewOptionSpaceCreateParamsWithContext ¶
func NewOptionSpaceCreateParamsWithContext(ctx context.Context) *OptionSpaceCreateParams
NewOptionSpaceCreateParamsWithContext creates a new OptionSpaceCreateParams object with the ability to set a context for a request.
func NewOptionSpaceCreateParamsWithHTTPClient ¶
func NewOptionSpaceCreateParamsWithHTTPClient(client *http.Client) *OptionSpaceCreateParams
NewOptionSpaceCreateParamsWithHTTPClient creates a new OptionSpaceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewOptionSpaceCreateParamsWithTimeout ¶
func NewOptionSpaceCreateParamsWithTimeout(timeout time.Duration) *OptionSpaceCreateParams
NewOptionSpaceCreateParamsWithTimeout creates a new OptionSpaceCreateParams object with the ability to set a timeout on a request.
func (*OptionSpaceCreateParams) SetBody ¶
func (o *OptionSpaceCreateParams) SetBody(body *models.IpamsvcOptionSpace)
SetBody adds the body to the option space create params
func (*OptionSpaceCreateParams) SetContext ¶
func (o *OptionSpaceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the option space create params
func (*OptionSpaceCreateParams) SetDefaults ¶
func (o *OptionSpaceCreateParams) SetDefaults()
SetDefaults hydrates default values in the option space create params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceCreateParams) SetHTTPClient ¶
func (o *OptionSpaceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option space create params
func (*OptionSpaceCreateParams) SetTimeout ¶
func (o *OptionSpaceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option space create params
func (*OptionSpaceCreateParams) WithBody ¶
func (o *OptionSpaceCreateParams) WithBody(body *models.IpamsvcOptionSpace) *OptionSpaceCreateParams
WithBody adds the body to the option space create params
func (*OptionSpaceCreateParams) WithContext ¶
func (o *OptionSpaceCreateParams) WithContext(ctx context.Context) *OptionSpaceCreateParams
WithContext adds the context to the option space create params
func (*OptionSpaceCreateParams) WithDefaults ¶
func (o *OptionSpaceCreateParams) WithDefaults() *OptionSpaceCreateParams
WithDefaults hydrates default values in the option space create params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceCreateParams) WithHTTPClient ¶
func (o *OptionSpaceCreateParams) WithHTTPClient(client *http.Client) *OptionSpaceCreateParams
WithHTTPClient adds the HTTPClient to the option space create params
func (*OptionSpaceCreateParams) WithTimeout ¶
func (o *OptionSpaceCreateParams) WithTimeout(timeout time.Duration) *OptionSpaceCreateParams
WithTimeout adds the timeout to the option space create params
func (*OptionSpaceCreateParams) WriteToRequest ¶
func (o *OptionSpaceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionSpaceCreateReader ¶
type OptionSpaceCreateReader struct {
// contains filtered or unexported fields
}
OptionSpaceCreateReader is a Reader for the OptionSpaceCreate structure.
func (*OptionSpaceCreateReader) ReadResponse ¶
func (o *OptionSpaceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionSpaceDeleteNoContent ¶
type OptionSpaceDeleteNoContent struct { }
OptionSpaceDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewOptionSpaceDeleteNoContent ¶
func NewOptionSpaceDeleteNoContent() *OptionSpaceDeleteNoContent
NewOptionSpaceDeleteNoContent creates a OptionSpaceDeleteNoContent with default headers values
func (*OptionSpaceDeleteNoContent) Error ¶
func (o *OptionSpaceDeleteNoContent) Error() string
type OptionSpaceDeleteParams ¶
type OptionSpaceDeleteParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OptionSpaceDeleteParams contains all the parameters to send to the API endpoint
for the option space delete operation. Typically these are written to a http.Request.
func NewOptionSpaceDeleteParams ¶
func NewOptionSpaceDeleteParams() *OptionSpaceDeleteParams
NewOptionSpaceDeleteParams creates a new OptionSpaceDeleteParams 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 NewOptionSpaceDeleteParamsWithContext ¶
func NewOptionSpaceDeleteParamsWithContext(ctx context.Context) *OptionSpaceDeleteParams
NewOptionSpaceDeleteParamsWithContext creates a new OptionSpaceDeleteParams object with the ability to set a context for a request.
func NewOptionSpaceDeleteParamsWithHTTPClient ¶
func NewOptionSpaceDeleteParamsWithHTTPClient(client *http.Client) *OptionSpaceDeleteParams
NewOptionSpaceDeleteParamsWithHTTPClient creates a new OptionSpaceDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewOptionSpaceDeleteParamsWithTimeout ¶
func NewOptionSpaceDeleteParamsWithTimeout(timeout time.Duration) *OptionSpaceDeleteParams
NewOptionSpaceDeleteParamsWithTimeout creates a new OptionSpaceDeleteParams object with the ability to set a timeout on a request.
func (*OptionSpaceDeleteParams) SetContext ¶
func (o *OptionSpaceDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the option space delete params
func (*OptionSpaceDeleteParams) SetDefaults ¶
func (o *OptionSpaceDeleteParams) SetDefaults()
SetDefaults hydrates default values in the option space delete params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceDeleteParams) SetHTTPClient ¶
func (o *OptionSpaceDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option space delete params
func (*OptionSpaceDeleteParams) SetID ¶
func (o *OptionSpaceDeleteParams) SetID(id string)
SetID adds the id to the option space delete params
func (*OptionSpaceDeleteParams) SetTimeout ¶
func (o *OptionSpaceDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option space delete params
func (*OptionSpaceDeleteParams) WithContext ¶
func (o *OptionSpaceDeleteParams) WithContext(ctx context.Context) *OptionSpaceDeleteParams
WithContext adds the context to the option space delete params
func (*OptionSpaceDeleteParams) WithDefaults ¶
func (o *OptionSpaceDeleteParams) WithDefaults() *OptionSpaceDeleteParams
WithDefaults hydrates default values in the option space delete params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceDeleteParams) WithHTTPClient ¶
func (o *OptionSpaceDeleteParams) WithHTTPClient(client *http.Client) *OptionSpaceDeleteParams
WithHTTPClient adds the HTTPClient to the option space delete params
func (*OptionSpaceDeleteParams) WithID ¶
func (o *OptionSpaceDeleteParams) WithID(id string) *OptionSpaceDeleteParams
WithID adds the id to the option space delete params
func (*OptionSpaceDeleteParams) WithTimeout ¶
func (o *OptionSpaceDeleteParams) WithTimeout(timeout time.Duration) *OptionSpaceDeleteParams
WithTimeout adds the timeout to the option space delete params
func (*OptionSpaceDeleteParams) WriteToRequest ¶
func (o *OptionSpaceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionSpaceDeleteReader ¶
type OptionSpaceDeleteReader struct {
// contains filtered or unexported fields
}
OptionSpaceDeleteReader is a Reader for the OptionSpaceDelete structure.
func (*OptionSpaceDeleteReader) ReadResponse ¶
func (o *OptionSpaceDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionSpaceListOK ¶
type OptionSpaceListOK struct {
Payload *models.IpamsvcListOptionSpaceResponse
}
OptionSpaceListOK describes a response with status code 200, with default header values.
GET operation response
func NewOptionSpaceListOK ¶
func NewOptionSpaceListOK() *OptionSpaceListOK
NewOptionSpaceListOK creates a OptionSpaceListOK with default headers values
func (*OptionSpaceListOK) Error ¶
func (o *OptionSpaceListOK) Error() string
func (*OptionSpaceListOK) GetPayload ¶
func (o *OptionSpaceListOK) GetPayload() *models.IpamsvcListOptionSpaceResponse
type OptionSpaceListParams ¶
type OptionSpaceListParams 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 }
OptionSpaceListParams contains all the parameters to send to the API endpoint
for the option space list operation. Typically these are written to a http.Request.
func NewOptionSpaceListParams ¶
func NewOptionSpaceListParams() *OptionSpaceListParams
NewOptionSpaceListParams creates a new OptionSpaceListParams 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 NewOptionSpaceListParamsWithContext ¶
func NewOptionSpaceListParamsWithContext(ctx context.Context) *OptionSpaceListParams
NewOptionSpaceListParamsWithContext creates a new OptionSpaceListParams object with the ability to set a context for a request.
func NewOptionSpaceListParamsWithHTTPClient ¶
func NewOptionSpaceListParamsWithHTTPClient(client *http.Client) *OptionSpaceListParams
NewOptionSpaceListParamsWithHTTPClient creates a new OptionSpaceListParams object with the ability to set a custom HTTPClient for a request.
func NewOptionSpaceListParamsWithTimeout ¶
func NewOptionSpaceListParamsWithTimeout(timeout time.Duration) *OptionSpaceListParams
NewOptionSpaceListParamsWithTimeout creates a new OptionSpaceListParams object with the ability to set a timeout on a request.
func (*OptionSpaceListParams) SetContext ¶
func (o *OptionSpaceListParams) SetContext(ctx context.Context)
SetContext adds the context to the option space list params
func (*OptionSpaceListParams) SetDefaults ¶
func (o *OptionSpaceListParams) SetDefaults()
SetDefaults hydrates default values in the option space list params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceListParams) SetFields ¶
func (o *OptionSpaceListParams) SetFields(fields *string)
SetFields adds the fields to the option space list params
func (*OptionSpaceListParams) SetFilter ¶
func (o *OptionSpaceListParams) SetFilter(filter *string)
SetFilter adds the filter to the option space list params
func (*OptionSpaceListParams) SetHTTPClient ¶
func (o *OptionSpaceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option space list params
func (*OptionSpaceListParams) SetLimit ¶
func (o *OptionSpaceListParams) SetLimit(limit *int64)
SetLimit adds the limit to the option space list params
func (*OptionSpaceListParams) SetOffset ¶
func (o *OptionSpaceListParams) SetOffset(offset *int64)
SetOffset adds the offset to the option space list params
func (*OptionSpaceListParams) SetOrderBy ¶
func (o *OptionSpaceListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the option space list params
func (*OptionSpaceListParams) SetPageToken ¶
func (o *OptionSpaceListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the option space list params
func (*OptionSpaceListParams) SetTfilter ¶
func (o *OptionSpaceListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the option space list params
func (*OptionSpaceListParams) SetTimeout ¶
func (o *OptionSpaceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option space list params
func (*OptionSpaceListParams) SetTorderBy ¶
func (o *OptionSpaceListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the option space list params
func (*OptionSpaceListParams) WithContext ¶
func (o *OptionSpaceListParams) WithContext(ctx context.Context) *OptionSpaceListParams
WithContext adds the context to the option space list params
func (*OptionSpaceListParams) WithDefaults ¶
func (o *OptionSpaceListParams) WithDefaults() *OptionSpaceListParams
WithDefaults hydrates default values in the option space list params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceListParams) WithFields ¶
func (o *OptionSpaceListParams) WithFields(fields *string) *OptionSpaceListParams
WithFields adds the fields to the option space list params
func (*OptionSpaceListParams) WithFilter ¶
func (o *OptionSpaceListParams) WithFilter(filter *string) *OptionSpaceListParams
WithFilter adds the filter to the option space list params
func (*OptionSpaceListParams) WithHTTPClient ¶
func (o *OptionSpaceListParams) WithHTTPClient(client *http.Client) *OptionSpaceListParams
WithHTTPClient adds the HTTPClient to the option space list params
func (*OptionSpaceListParams) WithLimit ¶
func (o *OptionSpaceListParams) WithLimit(limit *int64) *OptionSpaceListParams
WithLimit adds the limit to the option space list params
func (*OptionSpaceListParams) WithOffset ¶
func (o *OptionSpaceListParams) WithOffset(offset *int64) *OptionSpaceListParams
WithOffset adds the offset to the option space list params
func (*OptionSpaceListParams) WithOrderBy ¶
func (o *OptionSpaceListParams) WithOrderBy(orderBy *string) *OptionSpaceListParams
WithOrderBy adds the orderBy to the option space list params
func (*OptionSpaceListParams) WithPageToken ¶
func (o *OptionSpaceListParams) WithPageToken(pageToken *string) *OptionSpaceListParams
WithPageToken adds the pageToken to the option space list params
func (*OptionSpaceListParams) WithTfilter ¶
func (o *OptionSpaceListParams) WithTfilter(tfilter *string) *OptionSpaceListParams
WithTfilter adds the tfilter to the option space list params
func (*OptionSpaceListParams) WithTimeout ¶
func (o *OptionSpaceListParams) WithTimeout(timeout time.Duration) *OptionSpaceListParams
WithTimeout adds the timeout to the option space list params
func (*OptionSpaceListParams) WithTorderBy ¶
func (o *OptionSpaceListParams) WithTorderBy(torderBy *string) *OptionSpaceListParams
WithTorderBy adds the torderBy to the option space list params
func (*OptionSpaceListParams) WriteToRequest ¶
func (o *OptionSpaceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionSpaceListReader ¶
type OptionSpaceListReader struct {
// contains filtered or unexported fields
}
OptionSpaceListReader is a Reader for the OptionSpaceList structure.
func (*OptionSpaceListReader) ReadResponse ¶
func (o *OptionSpaceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionSpaceReadOK ¶
type OptionSpaceReadOK struct {
Payload *models.IpamsvcReadOptionSpaceResponse
}
OptionSpaceReadOK describes a response with status code 200, with default header values.
GET operation response
func NewOptionSpaceReadOK ¶
func NewOptionSpaceReadOK() *OptionSpaceReadOK
NewOptionSpaceReadOK creates a OptionSpaceReadOK with default headers values
func (*OptionSpaceReadOK) Error ¶
func (o *OptionSpaceReadOK) Error() string
func (*OptionSpaceReadOK) GetPayload ¶
func (o *OptionSpaceReadOK) GetPayload() *models.IpamsvcReadOptionSpaceResponse
type OptionSpaceReadParams ¶
type OptionSpaceReadParams 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 }
OptionSpaceReadParams contains all the parameters to send to the API endpoint
for the option space read operation. Typically these are written to a http.Request.
func NewOptionSpaceReadParams ¶
func NewOptionSpaceReadParams() *OptionSpaceReadParams
NewOptionSpaceReadParams creates a new OptionSpaceReadParams 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 NewOptionSpaceReadParamsWithContext ¶
func NewOptionSpaceReadParamsWithContext(ctx context.Context) *OptionSpaceReadParams
NewOptionSpaceReadParamsWithContext creates a new OptionSpaceReadParams object with the ability to set a context for a request.
func NewOptionSpaceReadParamsWithHTTPClient ¶
func NewOptionSpaceReadParamsWithHTTPClient(client *http.Client) *OptionSpaceReadParams
NewOptionSpaceReadParamsWithHTTPClient creates a new OptionSpaceReadParams object with the ability to set a custom HTTPClient for a request.
func NewOptionSpaceReadParamsWithTimeout ¶
func NewOptionSpaceReadParamsWithTimeout(timeout time.Duration) *OptionSpaceReadParams
NewOptionSpaceReadParamsWithTimeout creates a new OptionSpaceReadParams object with the ability to set a timeout on a request.
func (*OptionSpaceReadParams) SetContext ¶
func (o *OptionSpaceReadParams) SetContext(ctx context.Context)
SetContext adds the context to the option space read params
func (*OptionSpaceReadParams) SetDefaults ¶
func (o *OptionSpaceReadParams) SetDefaults()
SetDefaults hydrates default values in the option space read params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceReadParams) SetFields ¶
func (o *OptionSpaceReadParams) SetFields(fields *string)
SetFields adds the fields to the option space read params
func (*OptionSpaceReadParams) SetHTTPClient ¶
func (o *OptionSpaceReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option space read params
func (*OptionSpaceReadParams) SetID ¶
func (o *OptionSpaceReadParams) SetID(id string)
SetID adds the id to the option space read params
func (*OptionSpaceReadParams) SetTimeout ¶
func (o *OptionSpaceReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option space read params
func (*OptionSpaceReadParams) WithContext ¶
func (o *OptionSpaceReadParams) WithContext(ctx context.Context) *OptionSpaceReadParams
WithContext adds the context to the option space read params
func (*OptionSpaceReadParams) WithDefaults ¶
func (o *OptionSpaceReadParams) WithDefaults() *OptionSpaceReadParams
WithDefaults hydrates default values in the option space read params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceReadParams) WithFields ¶
func (o *OptionSpaceReadParams) WithFields(fields *string) *OptionSpaceReadParams
WithFields adds the fields to the option space read params
func (*OptionSpaceReadParams) WithHTTPClient ¶
func (o *OptionSpaceReadParams) WithHTTPClient(client *http.Client) *OptionSpaceReadParams
WithHTTPClient adds the HTTPClient to the option space read params
func (*OptionSpaceReadParams) WithID ¶
func (o *OptionSpaceReadParams) WithID(id string) *OptionSpaceReadParams
WithID adds the id to the option space read params
func (*OptionSpaceReadParams) WithTimeout ¶
func (o *OptionSpaceReadParams) WithTimeout(timeout time.Duration) *OptionSpaceReadParams
WithTimeout adds the timeout to the option space read params
func (*OptionSpaceReadParams) WriteToRequest ¶
func (o *OptionSpaceReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionSpaceReadReader ¶
type OptionSpaceReadReader struct {
// contains filtered or unexported fields
}
OptionSpaceReadReader is a Reader for the OptionSpaceRead structure.
func (*OptionSpaceReadReader) ReadResponse ¶
func (o *OptionSpaceReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionSpaceUpdateCreated ¶
type OptionSpaceUpdateCreated struct {
Payload *models.IpamsvcUpdateOptionSpaceResponse
}
OptionSpaceUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewOptionSpaceUpdateCreated ¶
func NewOptionSpaceUpdateCreated() *OptionSpaceUpdateCreated
NewOptionSpaceUpdateCreated creates a OptionSpaceUpdateCreated with default headers values
func (*OptionSpaceUpdateCreated) Error ¶
func (o *OptionSpaceUpdateCreated) Error() string
func (*OptionSpaceUpdateCreated) GetPayload ¶
func (o *OptionSpaceUpdateCreated) GetPayload() *models.IpamsvcUpdateOptionSpaceResponse
type OptionSpaceUpdateParams ¶
type OptionSpaceUpdateParams struct { // Body. Body *models.IpamsvcOptionSpace /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OptionSpaceUpdateParams contains all the parameters to send to the API endpoint
for the option space update operation. Typically these are written to a http.Request.
func NewOptionSpaceUpdateParams ¶
func NewOptionSpaceUpdateParams() *OptionSpaceUpdateParams
NewOptionSpaceUpdateParams creates a new OptionSpaceUpdateParams 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 NewOptionSpaceUpdateParamsWithContext ¶
func NewOptionSpaceUpdateParamsWithContext(ctx context.Context) *OptionSpaceUpdateParams
NewOptionSpaceUpdateParamsWithContext creates a new OptionSpaceUpdateParams object with the ability to set a context for a request.
func NewOptionSpaceUpdateParamsWithHTTPClient ¶
func NewOptionSpaceUpdateParamsWithHTTPClient(client *http.Client) *OptionSpaceUpdateParams
NewOptionSpaceUpdateParamsWithHTTPClient creates a new OptionSpaceUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewOptionSpaceUpdateParamsWithTimeout ¶
func NewOptionSpaceUpdateParamsWithTimeout(timeout time.Duration) *OptionSpaceUpdateParams
NewOptionSpaceUpdateParamsWithTimeout creates a new OptionSpaceUpdateParams object with the ability to set a timeout on a request.
func (*OptionSpaceUpdateParams) SetBody ¶
func (o *OptionSpaceUpdateParams) SetBody(body *models.IpamsvcOptionSpace)
SetBody adds the body to the option space update params
func (*OptionSpaceUpdateParams) SetContext ¶
func (o *OptionSpaceUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the option space update params
func (*OptionSpaceUpdateParams) SetDefaults ¶
func (o *OptionSpaceUpdateParams) SetDefaults()
SetDefaults hydrates default values in the option space update params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceUpdateParams) SetHTTPClient ¶
func (o *OptionSpaceUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the option space update params
func (*OptionSpaceUpdateParams) SetID ¶
func (o *OptionSpaceUpdateParams) SetID(id string)
SetID adds the id to the option space update params
func (*OptionSpaceUpdateParams) SetTimeout ¶
func (o *OptionSpaceUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the option space update params
func (*OptionSpaceUpdateParams) WithBody ¶
func (o *OptionSpaceUpdateParams) WithBody(body *models.IpamsvcOptionSpace) *OptionSpaceUpdateParams
WithBody adds the body to the option space update params
func (*OptionSpaceUpdateParams) WithContext ¶
func (o *OptionSpaceUpdateParams) WithContext(ctx context.Context) *OptionSpaceUpdateParams
WithContext adds the context to the option space update params
func (*OptionSpaceUpdateParams) WithDefaults ¶
func (o *OptionSpaceUpdateParams) WithDefaults() *OptionSpaceUpdateParams
WithDefaults hydrates default values in the option space update params (not the query body).
All values with no default are reset to their zero value.
func (*OptionSpaceUpdateParams) WithHTTPClient ¶
func (o *OptionSpaceUpdateParams) WithHTTPClient(client *http.Client) *OptionSpaceUpdateParams
WithHTTPClient adds the HTTPClient to the option space update params
func (*OptionSpaceUpdateParams) WithID ¶
func (o *OptionSpaceUpdateParams) WithID(id string) *OptionSpaceUpdateParams
WithID adds the id to the option space update params
func (*OptionSpaceUpdateParams) WithTimeout ¶
func (o *OptionSpaceUpdateParams) WithTimeout(timeout time.Duration) *OptionSpaceUpdateParams
WithTimeout adds the timeout to the option space update params
func (*OptionSpaceUpdateParams) WriteToRequest ¶
func (o *OptionSpaceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionSpaceUpdateReader ¶
type OptionSpaceUpdateReader struct {
// contains filtered or unexported fields
}
OptionSpaceUpdateReader is a Reader for the OptionSpaceUpdate structure.
func (*OptionSpaceUpdateReader) ReadResponse ¶
func (o *OptionSpaceUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- option_space_client.go
- option_space_create_parameters.go
- option_space_create_responses.go
- option_space_delete_parameters.go
- option_space_delete_responses.go
- option_space_list_parameters.go
- option_space_list_responses.go
- option_space_read_parameters.go
- option_space_read_responses.go
- option_space_update_parameters.go
- option_space_update_responses.go