ha_group

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 ha group API

func (*Client) HaGroupCreate

func (a *Client) HaGroupCreate(params *HaGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupCreateCreated, error)
HaGroupCreate creates the h a group

Use this method to create an __HAGroup__ object.

The __HAGroup__ object represents on-prem hosts that can serve the same leases for HA.

func (*Client) HaGroupDelete

func (a *Client) HaGroupDelete(params *HaGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupDeleteNoContent, error)
HaGroupDelete deletes the h a group

Use this method to delete an __HAGroup__ object.

The __HAGroup__ (_dhcp/ha_group_) object represents on-prem hosts that can serve the same leases for HA.

func (*Client) HaGroupList

func (a *Client) HaGroupList(params *HaGroupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupListOK, error)
HaGroupList retrieves h a groups

Use this method to retrieve __HAGroup__ objects.

The __HAGroup__ (_dhcp/ha_group_) object represents on-prem hosts that can serve the same leases for HA.

func (*Client) HaGroupRead

func (a *Client) HaGroupRead(params *HaGroupReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupReadOK, error)
HaGroupRead retrieves the h a group

Use this method to retrieve an __HAGroup__ object.

The __HAGroup__ object represents on-prem hosts that can serve the same leases for HA.

func (*Client) HaGroupUpdate

func (a *Client) HaGroupUpdate(params *HaGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupUpdateCreated, error)
HaGroupUpdate updates the h a group

Use this method to update an __HAGroup__ object.

The __HAGroup__ object represents on-prem hosts that can serve the same leases for HA.

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 {
	HaGroupCreate(params *HaGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupCreateCreated, error)

	HaGroupDelete(params *HaGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupDeleteNoContent, error)

	HaGroupList(params *HaGroupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupListOK, error)

	HaGroupRead(params *HaGroupReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupReadOK, error)

	HaGroupUpdate(params *HaGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HaGroupUpdateCreated, 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 ha group API client.

type HaGroupCreateCreated

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

POST operation response

func NewHaGroupCreateCreated

func NewHaGroupCreateCreated() *HaGroupCreateCreated

NewHaGroupCreateCreated creates a HaGroupCreateCreated with default headers values

func (*HaGroupCreateCreated) Error

func (o *HaGroupCreateCreated) Error() string

func (*HaGroupCreateCreated) GetPayload

type HaGroupCreateParams

type HaGroupCreateParams struct {

	// Body.
	Body *models.IpamsvcHAGroup

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

HaGroupCreateParams contains all the parameters to send to the API endpoint

for the ha group create operation.

Typically these are written to a http.Request.

func NewHaGroupCreateParams

func NewHaGroupCreateParams() *HaGroupCreateParams

NewHaGroupCreateParams creates a new HaGroupCreateParams 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 NewHaGroupCreateParamsWithContext

func NewHaGroupCreateParamsWithContext(ctx context.Context) *HaGroupCreateParams

NewHaGroupCreateParamsWithContext creates a new HaGroupCreateParams object with the ability to set a context for a request.

func NewHaGroupCreateParamsWithHTTPClient

func NewHaGroupCreateParamsWithHTTPClient(client *http.Client) *HaGroupCreateParams

NewHaGroupCreateParamsWithHTTPClient creates a new HaGroupCreateParams object with the ability to set a custom HTTPClient for a request.

func NewHaGroupCreateParamsWithTimeout

func NewHaGroupCreateParamsWithTimeout(timeout time.Duration) *HaGroupCreateParams

NewHaGroupCreateParamsWithTimeout creates a new HaGroupCreateParams object with the ability to set a timeout on a request.

func (*HaGroupCreateParams) SetBody

func (o *HaGroupCreateParams) SetBody(body *models.IpamsvcHAGroup)

SetBody adds the body to the ha group create params

func (*HaGroupCreateParams) SetContext

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

SetContext adds the context to the ha group create params

func (*HaGroupCreateParams) SetDefaults

func (o *HaGroupCreateParams) SetDefaults()

SetDefaults hydrates default values in the ha group create params (not the query body).

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

func (*HaGroupCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ha group create params

func (*HaGroupCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ha group create params

func (*HaGroupCreateParams) WithBody

WithBody adds the body to the ha group create params

func (*HaGroupCreateParams) WithContext

WithContext adds the context to the ha group create params

func (*HaGroupCreateParams) WithDefaults

func (o *HaGroupCreateParams) WithDefaults() *HaGroupCreateParams

WithDefaults hydrates default values in the ha group create params (not the query body).

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

func (*HaGroupCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ha group create params

func (*HaGroupCreateParams) WithTimeout

func (o *HaGroupCreateParams) WithTimeout(timeout time.Duration) *HaGroupCreateParams

WithTimeout adds the timeout to the ha group create params

func (*HaGroupCreateParams) WriteToRequest

func (o *HaGroupCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HaGroupCreateReader

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

HaGroupCreateReader is a Reader for the HaGroupCreate structure.

func (*HaGroupCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HaGroupDeleteNoContent

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

No Content

func NewHaGroupDeleteNoContent

func NewHaGroupDeleteNoContent() *HaGroupDeleteNoContent

NewHaGroupDeleteNoContent creates a HaGroupDeleteNoContent with default headers values

func (*HaGroupDeleteNoContent) Error

func (o *HaGroupDeleteNoContent) Error() string

type HaGroupDeleteParams

type HaGroupDeleteParams struct {

	/* ID.

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

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

HaGroupDeleteParams contains all the parameters to send to the API endpoint

for the ha group delete operation.

Typically these are written to a http.Request.

func NewHaGroupDeleteParams

func NewHaGroupDeleteParams() *HaGroupDeleteParams

NewHaGroupDeleteParams creates a new HaGroupDeleteParams 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 NewHaGroupDeleteParamsWithContext

func NewHaGroupDeleteParamsWithContext(ctx context.Context) *HaGroupDeleteParams

NewHaGroupDeleteParamsWithContext creates a new HaGroupDeleteParams object with the ability to set a context for a request.

func NewHaGroupDeleteParamsWithHTTPClient

func NewHaGroupDeleteParamsWithHTTPClient(client *http.Client) *HaGroupDeleteParams

NewHaGroupDeleteParamsWithHTTPClient creates a new HaGroupDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewHaGroupDeleteParamsWithTimeout

func NewHaGroupDeleteParamsWithTimeout(timeout time.Duration) *HaGroupDeleteParams

NewHaGroupDeleteParamsWithTimeout creates a new HaGroupDeleteParams object with the ability to set a timeout on a request.

func (*HaGroupDeleteParams) SetContext

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

SetContext adds the context to the ha group delete params

func (*HaGroupDeleteParams) SetDefaults

func (o *HaGroupDeleteParams) SetDefaults()

SetDefaults hydrates default values in the ha group delete params (not the query body).

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

func (*HaGroupDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ha group delete params

func (*HaGroupDeleteParams) SetID

func (o *HaGroupDeleteParams) SetID(id string)

SetID adds the id to the ha group delete params

func (*HaGroupDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ha group delete params

func (*HaGroupDeleteParams) WithContext

WithContext adds the context to the ha group delete params

func (*HaGroupDeleteParams) WithDefaults

func (o *HaGroupDeleteParams) WithDefaults() *HaGroupDeleteParams

WithDefaults hydrates default values in the ha group delete params (not the query body).

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

func (*HaGroupDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ha group delete params

func (*HaGroupDeleteParams) WithID

WithID adds the id to the ha group delete params

func (*HaGroupDeleteParams) WithTimeout

func (o *HaGroupDeleteParams) WithTimeout(timeout time.Duration) *HaGroupDeleteParams

WithTimeout adds the timeout to the ha group delete params

func (*HaGroupDeleteParams) WriteToRequest

func (o *HaGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HaGroupDeleteReader

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

HaGroupDeleteReader is a Reader for the HaGroupDelete structure.

func (*HaGroupDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HaGroupListOK

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

GET operation response

func NewHaGroupListOK

func NewHaGroupListOK() *HaGroupListOK

NewHaGroupListOK creates a HaGroupListOK with default headers values

func (*HaGroupListOK) Error

func (o *HaGroupListOK) Error() string

func (*HaGroupListOK) GetPayload

type HaGroupListParams

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

HaGroupListParams contains all the parameters to send to the API endpoint

for the ha group list operation.

Typically these are written to a http.Request.

func NewHaGroupListParams

func NewHaGroupListParams() *HaGroupListParams

NewHaGroupListParams creates a new HaGroupListParams 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 NewHaGroupListParamsWithContext

func NewHaGroupListParamsWithContext(ctx context.Context) *HaGroupListParams

NewHaGroupListParamsWithContext creates a new HaGroupListParams object with the ability to set a context for a request.

func NewHaGroupListParamsWithHTTPClient

func NewHaGroupListParamsWithHTTPClient(client *http.Client) *HaGroupListParams

NewHaGroupListParamsWithHTTPClient creates a new HaGroupListParams object with the ability to set a custom HTTPClient for a request.

func NewHaGroupListParamsWithTimeout

func NewHaGroupListParamsWithTimeout(timeout time.Duration) *HaGroupListParams

NewHaGroupListParamsWithTimeout creates a new HaGroupListParams object with the ability to set a timeout on a request.

func (*HaGroupListParams) SetContext

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

SetContext adds the context to the ha group list params

func (*HaGroupListParams) SetDefaults

func (o *HaGroupListParams) SetDefaults()

SetDefaults hydrates default values in the ha group list params (not the query body).

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

func (*HaGroupListParams) SetFields

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

SetFields adds the fields to the ha group list params

func (*HaGroupListParams) SetFilter

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

SetFilter adds the filter to the ha group list params

func (*HaGroupListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ha group list params

func (*HaGroupListParams) SetLimit

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

SetLimit adds the limit to the ha group list params

func (*HaGroupListParams) SetOffset

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

SetOffset adds the offset to the ha group list params

func (*HaGroupListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the ha group list params

func (*HaGroupListParams) SetPageToken

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

SetPageToken adds the pageToken to the ha group list params

func (*HaGroupListParams) SetTfilter

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

SetTfilter adds the tfilter to the ha group list params

func (*HaGroupListParams) SetTimeout

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

SetTimeout adds the timeout to the ha group list params

func (*HaGroupListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the ha group list params

func (*HaGroupListParams) WithContext

func (o *HaGroupListParams) WithContext(ctx context.Context) *HaGroupListParams

WithContext adds the context to the ha group list params

func (*HaGroupListParams) WithDefaults

func (o *HaGroupListParams) WithDefaults() *HaGroupListParams

WithDefaults hydrates default values in the ha group list params (not the query body).

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

func (*HaGroupListParams) WithFields

func (o *HaGroupListParams) WithFields(fields *string) *HaGroupListParams

WithFields adds the fields to the ha group list params

func (*HaGroupListParams) WithFilter

func (o *HaGroupListParams) WithFilter(filter *string) *HaGroupListParams

WithFilter adds the filter to the ha group list params

func (*HaGroupListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ha group list params

func (*HaGroupListParams) WithLimit

func (o *HaGroupListParams) WithLimit(limit *int64) *HaGroupListParams

WithLimit adds the limit to the ha group list params

func (*HaGroupListParams) WithOffset

func (o *HaGroupListParams) WithOffset(offset *int64) *HaGroupListParams

WithOffset adds the offset to the ha group list params

func (*HaGroupListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the ha group list params

func (*HaGroupListParams) WithPageToken

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

WithPageToken adds the pageToken to the ha group list params

func (*HaGroupListParams) WithTfilter

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

WithTfilter adds the tfilter to the ha group list params

func (*HaGroupListParams) WithTimeout

func (o *HaGroupListParams) WithTimeout(timeout time.Duration) *HaGroupListParams

WithTimeout adds the timeout to the ha group list params

func (*HaGroupListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the ha group list params

func (*HaGroupListParams) WriteToRequest

func (o *HaGroupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HaGroupListReader

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

HaGroupListReader is a Reader for the HaGroupList structure.

func (*HaGroupListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HaGroupReadOK

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

GET operation response

func NewHaGroupReadOK

func NewHaGroupReadOK() *HaGroupReadOK

NewHaGroupReadOK creates a HaGroupReadOK with default headers values

func (*HaGroupReadOK) Error

func (o *HaGroupReadOK) Error() string

func (*HaGroupReadOK) GetPayload

type HaGroupReadParams

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

HaGroupReadParams contains all the parameters to send to the API endpoint

for the ha group read operation.

Typically these are written to a http.Request.

func NewHaGroupReadParams

func NewHaGroupReadParams() *HaGroupReadParams

NewHaGroupReadParams creates a new HaGroupReadParams 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 NewHaGroupReadParamsWithContext

func NewHaGroupReadParamsWithContext(ctx context.Context) *HaGroupReadParams

NewHaGroupReadParamsWithContext creates a new HaGroupReadParams object with the ability to set a context for a request.

func NewHaGroupReadParamsWithHTTPClient

func NewHaGroupReadParamsWithHTTPClient(client *http.Client) *HaGroupReadParams

NewHaGroupReadParamsWithHTTPClient creates a new HaGroupReadParams object with the ability to set a custom HTTPClient for a request.

func NewHaGroupReadParamsWithTimeout

func NewHaGroupReadParamsWithTimeout(timeout time.Duration) *HaGroupReadParams

NewHaGroupReadParamsWithTimeout creates a new HaGroupReadParams object with the ability to set a timeout on a request.

func (*HaGroupReadParams) SetContext

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

SetContext adds the context to the ha group read params

func (*HaGroupReadParams) SetDefaults

func (o *HaGroupReadParams) SetDefaults()

SetDefaults hydrates default values in the ha group read params (not the query body).

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

func (*HaGroupReadParams) SetFields

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

SetFields adds the fields to the ha group read params

func (*HaGroupReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ha group read params

func (*HaGroupReadParams) SetID

func (o *HaGroupReadParams) SetID(id string)

SetID adds the id to the ha group read params

func (*HaGroupReadParams) SetTimeout

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

SetTimeout adds the timeout to the ha group read params

func (*HaGroupReadParams) WithContext

func (o *HaGroupReadParams) WithContext(ctx context.Context) *HaGroupReadParams

WithContext adds the context to the ha group read params

func (*HaGroupReadParams) WithDefaults

func (o *HaGroupReadParams) WithDefaults() *HaGroupReadParams

WithDefaults hydrates default values in the ha group read params (not the query body).

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

func (*HaGroupReadParams) WithFields

func (o *HaGroupReadParams) WithFields(fields *string) *HaGroupReadParams

WithFields adds the fields to the ha group read params

func (*HaGroupReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ha group read params

func (*HaGroupReadParams) WithID

WithID adds the id to the ha group read params

func (*HaGroupReadParams) WithTimeout

func (o *HaGroupReadParams) WithTimeout(timeout time.Duration) *HaGroupReadParams

WithTimeout adds the timeout to the ha group read params

func (*HaGroupReadParams) WriteToRequest

func (o *HaGroupReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HaGroupReadReader

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

HaGroupReadReader is a Reader for the HaGroupRead structure.

func (*HaGroupReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HaGroupUpdateCreated

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

PATCH operation response

func NewHaGroupUpdateCreated

func NewHaGroupUpdateCreated() *HaGroupUpdateCreated

NewHaGroupUpdateCreated creates a HaGroupUpdateCreated with default headers values

func (*HaGroupUpdateCreated) Error

func (o *HaGroupUpdateCreated) Error() string

func (*HaGroupUpdateCreated) GetPayload

type HaGroupUpdateParams

type HaGroupUpdateParams struct {

	// Body.
	Body *models.IpamsvcHAGroup

	/* ID.

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

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

HaGroupUpdateParams contains all the parameters to send to the API endpoint

for the ha group update operation.

Typically these are written to a http.Request.

func NewHaGroupUpdateParams

func NewHaGroupUpdateParams() *HaGroupUpdateParams

NewHaGroupUpdateParams creates a new HaGroupUpdateParams 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 NewHaGroupUpdateParamsWithContext

func NewHaGroupUpdateParamsWithContext(ctx context.Context) *HaGroupUpdateParams

NewHaGroupUpdateParamsWithContext creates a new HaGroupUpdateParams object with the ability to set a context for a request.

func NewHaGroupUpdateParamsWithHTTPClient

func NewHaGroupUpdateParamsWithHTTPClient(client *http.Client) *HaGroupUpdateParams

NewHaGroupUpdateParamsWithHTTPClient creates a new HaGroupUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewHaGroupUpdateParamsWithTimeout

func NewHaGroupUpdateParamsWithTimeout(timeout time.Duration) *HaGroupUpdateParams

NewHaGroupUpdateParamsWithTimeout creates a new HaGroupUpdateParams object with the ability to set a timeout on a request.

func (*HaGroupUpdateParams) SetBody

func (o *HaGroupUpdateParams) SetBody(body *models.IpamsvcHAGroup)

SetBody adds the body to the ha group update params

func (*HaGroupUpdateParams) SetContext

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

SetContext adds the context to the ha group update params

func (*HaGroupUpdateParams) SetDefaults

func (o *HaGroupUpdateParams) SetDefaults()

SetDefaults hydrates default values in the ha group update params (not the query body).

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

func (*HaGroupUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ha group update params

func (*HaGroupUpdateParams) SetID

func (o *HaGroupUpdateParams) SetID(id string)

SetID adds the id to the ha group update params

func (*HaGroupUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the ha group update params

func (*HaGroupUpdateParams) WithBody

WithBody adds the body to the ha group update params

func (*HaGroupUpdateParams) WithContext

WithContext adds the context to the ha group update params

func (*HaGroupUpdateParams) WithDefaults

func (o *HaGroupUpdateParams) WithDefaults() *HaGroupUpdateParams

WithDefaults hydrates default values in the ha group update params (not the query body).

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

func (*HaGroupUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ha group update params

func (*HaGroupUpdateParams) WithID

WithID adds the id to the ha group update params

func (*HaGroupUpdateParams) WithTimeout

func (o *HaGroupUpdateParams) WithTimeout(timeout time.Duration) *HaGroupUpdateParams

WithTimeout adds the timeout to the ha group update params

func (*HaGroupUpdateParams) WriteToRequest

func (o *HaGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HaGroupUpdateReader

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

HaGroupUpdateReader is a Reader for the HaGroupUpdate structure.

func (*HaGroupUpdateReader) ReadResponse

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