option_space

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

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

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

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

WithBody adds the body to the option space create params

func (*OptionSpaceCreateParams) WithContext

WithContext adds the context to the option space create params

func (*OptionSpaceCreateParams) WithDefaults

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

WithTimeout adds the timeout to the option space create params

func (*OptionSpaceCreateParams) WriteToRequest

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

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

WithContext adds the context to the option space delete params

func (*OptionSpaceDeleteParams) WithDefaults

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

WithID adds the id to the option space delete params

func (*OptionSpaceDeleteParams) WithTimeout

WithTimeout adds the timeout to the option space delete params

func (*OptionSpaceDeleteParams) WriteToRequest

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

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

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

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

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

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

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

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

WithBody adds the body to the option space update params

func (*OptionSpaceUpdateParams) WithContext

WithContext adds the context to the option space update params

func (*OptionSpaceUpdateParams) WithDefaults

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

WithID adds the id to the option space update params

func (*OptionSpaceUpdateParams) WithTimeout

WithTimeout adds the timeout to the option space update params

func (*OptionSpaceUpdateParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL