groupings

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 11 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 groupings API

func (*Client) DeleteGrouping

func (a *Client) DeleteGrouping(params *DeleteGroupingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupingOK, error)

DeleteGrouping delete grouping API

func (*Client) GetGroupingByID

func (a *Client) GetGroupingByID(params *GetGroupingByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupingByIDOK, error)

GetGroupingByID get grouping by Id API

func (*Client) GetGroupings

func (a *Client) GetGroupings(params *GetGroupingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupingsOK, error)

GetGroupings get groupings API

func (*Client) PostGrouping

func (a *Client) PostGrouping(params *PostGroupingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGroupingOK, error)

PostGrouping post grouping API

func (*Client) PutGrouping

func (a *Client) PutGrouping(params *PutGroupingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutGroupingOK, error)

PutGrouping put grouping API

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 {
	DeleteGrouping(params *DeleteGroupingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupingOK, error)

	GetGroupingByID(params *GetGroupingByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupingByIDOK, error)

	GetGroupings(params *GetGroupingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupingsOK, error)

	PostGrouping(params *PostGroupingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGroupingOK, error)

	PutGrouping(params *PutGroupingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutGroupingOK, 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 groupings API client.

type DeleteGroupingOK

type DeleteGroupingOK struct {
}
DeleteGroupingOK describes a response with status code 200, with default header values.

Success

func NewDeleteGroupingOK

func NewDeleteGroupingOK() *DeleteGroupingOK

NewDeleteGroupingOK creates a DeleteGroupingOK with default headers values

func (*DeleteGroupingOK) Error

func (o *DeleteGroupingOK) Error() string

type DeleteGroupingParams

type DeleteGroupingParams struct {

	// ID.
	//
	// Format: int32
	ID int32

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

DeleteGroupingParams contains all the parameters to send to the API endpoint

for the delete grouping operation.

Typically these are written to a http.Request.

func NewDeleteGroupingParams

func NewDeleteGroupingParams() *DeleteGroupingParams

NewDeleteGroupingParams creates a new DeleteGroupingParams 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 NewDeleteGroupingParamsWithContext

func NewDeleteGroupingParamsWithContext(ctx context.Context) *DeleteGroupingParams

NewDeleteGroupingParamsWithContext creates a new DeleteGroupingParams object with the ability to set a context for a request.

func NewDeleteGroupingParamsWithHTTPClient

func NewDeleteGroupingParamsWithHTTPClient(client *http.Client) *DeleteGroupingParams

NewDeleteGroupingParamsWithHTTPClient creates a new DeleteGroupingParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGroupingParamsWithTimeout

func NewDeleteGroupingParamsWithTimeout(timeout time.Duration) *DeleteGroupingParams

NewDeleteGroupingParamsWithTimeout creates a new DeleteGroupingParams object with the ability to set a timeout on a request.

func (*DeleteGroupingParams) SetContext

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

SetContext adds the context to the delete grouping params

func (*DeleteGroupingParams) SetDefaults

func (o *DeleteGroupingParams) SetDefaults()

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

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

func (*DeleteGroupingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete grouping params

func (*DeleteGroupingParams) SetID

func (o *DeleteGroupingParams) SetID(id int32)

SetID adds the id to the delete grouping params

func (*DeleteGroupingParams) SetTimeout

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

SetTimeout adds the timeout to the delete grouping params

func (*DeleteGroupingParams) WithContext

WithContext adds the context to the delete grouping params

func (*DeleteGroupingParams) WithDefaults

func (o *DeleteGroupingParams) WithDefaults() *DeleteGroupingParams

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

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

func (*DeleteGroupingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete grouping params

func (*DeleteGroupingParams) WithID

WithID adds the id to the delete grouping params

func (*DeleteGroupingParams) WithTimeout

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

WithTimeout adds the timeout to the delete grouping params

func (*DeleteGroupingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteGroupingReader

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

DeleteGroupingReader is a Reader for the DeleteGrouping structure.

func (*DeleteGroupingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupingByIDOK

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

Success

func NewGetGroupingByIDOK

func NewGetGroupingByIDOK() *GetGroupingByIDOK

NewGetGroupingByIDOK creates a GetGroupingByIDOK with default headers values

func (*GetGroupingByIDOK) Error

func (o *GetGroupingByIDOK) Error() string

func (*GetGroupingByIDOK) GetPayload

func (o *GetGroupingByIDOK) GetPayload() *models.Grouping

type GetGroupingByIDParams

type GetGroupingByIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

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

GetGroupingByIDParams contains all the parameters to send to the API endpoint

for the get grouping by Id operation.

Typically these are written to a http.Request.

func NewGetGroupingByIDParams

func NewGetGroupingByIDParams() *GetGroupingByIDParams

NewGetGroupingByIDParams creates a new GetGroupingByIDParams 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 NewGetGroupingByIDParamsWithContext

func NewGetGroupingByIDParamsWithContext(ctx context.Context) *GetGroupingByIDParams

NewGetGroupingByIDParamsWithContext creates a new GetGroupingByIDParams object with the ability to set a context for a request.

func NewGetGroupingByIDParamsWithHTTPClient

func NewGetGroupingByIDParamsWithHTTPClient(client *http.Client) *GetGroupingByIDParams

NewGetGroupingByIDParamsWithHTTPClient creates a new GetGroupingByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupingByIDParamsWithTimeout

func NewGetGroupingByIDParamsWithTimeout(timeout time.Duration) *GetGroupingByIDParams

NewGetGroupingByIDParamsWithTimeout creates a new GetGroupingByIDParams object with the ability to set a timeout on a request.

func (*GetGroupingByIDParams) SetContext

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

SetContext adds the context to the get grouping by Id params

func (*GetGroupingByIDParams) SetDefaults

func (o *GetGroupingByIDParams) SetDefaults()

SetDefaults hydrates default values in the get grouping by Id params (not the query body).

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

func (*GetGroupingByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get grouping by Id params

func (*GetGroupingByIDParams) SetID

func (o *GetGroupingByIDParams) SetID(id int32)

SetID adds the id to the get grouping by Id params

func (*GetGroupingByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get grouping by Id params

func (*GetGroupingByIDParams) WithContext

WithContext adds the context to the get grouping by Id params

func (*GetGroupingByIDParams) WithDefaults

func (o *GetGroupingByIDParams) WithDefaults() *GetGroupingByIDParams

WithDefaults hydrates default values in the get grouping by Id params (not the query body).

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

func (*GetGroupingByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get grouping by Id params

func (*GetGroupingByIDParams) WithID

WithID adds the id to the get grouping by Id params

func (*GetGroupingByIDParams) WithTimeout

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

WithTimeout adds the timeout to the get grouping by Id params

func (*GetGroupingByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupingByIDReader

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

GetGroupingByIDReader is a Reader for the GetGroupingByID structure.

func (*GetGroupingByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupingsOK

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

Success

func NewGetGroupingsOK

func NewGetGroupingsOK() *GetGroupingsOK

NewGetGroupingsOK creates a GetGroupingsOK with default headers values

func (*GetGroupingsOK) Error

func (o *GetGroupingsOK) Error() string

func (*GetGroupingsOK) GetPayload

type GetGroupingsParams

type GetGroupingsParams struct {

	// IncludeRemoved.
	IncludeRemoved *bool

	// OrganizationID.
	//
	// Format: int32
	OrganizationID *int32

	// Page.
	//
	// Format: int32
	Page *int32

	// PageSize.
	//
	// Format: int32
	PageSize *int32

	// Search.
	Search *string

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

GetGroupingsParams contains all the parameters to send to the API endpoint

for the get groupings operation.

Typically these are written to a http.Request.

func NewGetGroupingsParams

func NewGetGroupingsParams() *GetGroupingsParams

NewGetGroupingsParams creates a new GetGroupingsParams 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 NewGetGroupingsParamsWithContext

func NewGetGroupingsParamsWithContext(ctx context.Context) *GetGroupingsParams

NewGetGroupingsParamsWithContext creates a new GetGroupingsParams object with the ability to set a context for a request.

func NewGetGroupingsParamsWithHTTPClient

func NewGetGroupingsParamsWithHTTPClient(client *http.Client) *GetGroupingsParams

NewGetGroupingsParamsWithHTTPClient creates a new GetGroupingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupingsParamsWithTimeout

func NewGetGroupingsParamsWithTimeout(timeout time.Duration) *GetGroupingsParams

NewGetGroupingsParamsWithTimeout creates a new GetGroupingsParams object with the ability to set a timeout on a request.

func (*GetGroupingsParams) SetContext

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

SetContext adds the context to the get groupings params

func (*GetGroupingsParams) SetDefaults

func (o *GetGroupingsParams) SetDefaults()

SetDefaults hydrates default values in the get groupings params (not the query body).

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

func (*GetGroupingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get groupings params

func (*GetGroupingsParams) SetIncludeRemoved

func (o *GetGroupingsParams) SetIncludeRemoved(includeRemoved *bool)

SetIncludeRemoved adds the includeRemoved to the get groupings params

func (*GetGroupingsParams) SetOrganizationID

func (o *GetGroupingsParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get groupings params

func (*GetGroupingsParams) SetPage

func (o *GetGroupingsParams) SetPage(page *int32)

SetPage adds the page to the get groupings params

func (*GetGroupingsParams) SetPageSize

func (o *GetGroupingsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get groupings params

func (*GetGroupingsParams) SetSearch

func (o *GetGroupingsParams) SetSearch(search *string)

SetSearch adds the search to the get groupings params

func (*GetGroupingsParams) SetTimeout

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

SetTimeout adds the timeout to the get groupings params

func (*GetGroupingsParams) WithContext

WithContext adds the context to the get groupings params

func (*GetGroupingsParams) WithDefaults

func (o *GetGroupingsParams) WithDefaults() *GetGroupingsParams

WithDefaults hydrates default values in the get groupings params (not the query body).

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

func (*GetGroupingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get groupings params

func (*GetGroupingsParams) WithIncludeRemoved

func (o *GetGroupingsParams) WithIncludeRemoved(includeRemoved *bool) *GetGroupingsParams

WithIncludeRemoved adds the includeRemoved to the get groupings params

func (*GetGroupingsParams) WithOrganizationID

func (o *GetGroupingsParams) WithOrganizationID(organizationID *int32) *GetGroupingsParams

WithOrganizationID adds the organizationID to the get groupings params

func (*GetGroupingsParams) WithPage

func (o *GetGroupingsParams) WithPage(page *int32) *GetGroupingsParams

WithPage adds the page to the get groupings params

func (*GetGroupingsParams) WithPageSize

func (o *GetGroupingsParams) WithPageSize(pageSize *int32) *GetGroupingsParams

WithPageSize adds the pageSize to the get groupings params

func (*GetGroupingsParams) WithSearch

func (o *GetGroupingsParams) WithSearch(search *string) *GetGroupingsParams

WithSearch adds the search to the get groupings params

func (*GetGroupingsParams) WithTimeout

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

WithTimeout adds the timeout to the get groupings params

func (*GetGroupingsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupingsReader

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

GetGroupingsReader is a Reader for the GetGroupings structure.

func (*GetGroupingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostGroupingOK

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

Success

func NewPostGroupingOK

func NewPostGroupingOK() *PostGroupingOK

NewPostGroupingOK creates a PostGroupingOK with default headers values

func (*PostGroupingOK) Error

func (o *PostGroupingOK) Error() string

func (*PostGroupingOK) GetPayload

func (o *PostGroupingOK) GetPayload() *models.Grouping

type PostGroupingParams

type PostGroupingParams struct {

	// Grouping.
	Grouping *models.Grouping

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

PostGroupingParams contains all the parameters to send to the API endpoint

for the post grouping operation.

Typically these are written to a http.Request.

func NewPostGroupingParams

func NewPostGroupingParams() *PostGroupingParams

NewPostGroupingParams creates a new PostGroupingParams 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 NewPostGroupingParamsWithContext

func NewPostGroupingParamsWithContext(ctx context.Context) *PostGroupingParams

NewPostGroupingParamsWithContext creates a new PostGroupingParams object with the ability to set a context for a request.

func NewPostGroupingParamsWithHTTPClient

func NewPostGroupingParamsWithHTTPClient(client *http.Client) *PostGroupingParams

NewPostGroupingParamsWithHTTPClient creates a new PostGroupingParams object with the ability to set a custom HTTPClient for a request.

func NewPostGroupingParamsWithTimeout

func NewPostGroupingParamsWithTimeout(timeout time.Duration) *PostGroupingParams

NewPostGroupingParamsWithTimeout creates a new PostGroupingParams object with the ability to set a timeout on a request.

func (*PostGroupingParams) SetContext

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

SetContext adds the context to the post grouping params

func (*PostGroupingParams) SetDefaults

func (o *PostGroupingParams) SetDefaults()

SetDefaults hydrates default values in the post grouping params (not the query body).

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

func (*PostGroupingParams) SetGrouping

func (o *PostGroupingParams) SetGrouping(grouping *models.Grouping)

SetGrouping adds the grouping to the post grouping params

func (*PostGroupingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post grouping params

func (*PostGroupingParams) SetTimeout

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

SetTimeout adds the timeout to the post grouping params

func (*PostGroupingParams) WithContext

WithContext adds the context to the post grouping params

func (*PostGroupingParams) WithDefaults

func (o *PostGroupingParams) WithDefaults() *PostGroupingParams

WithDefaults hydrates default values in the post grouping params (not the query body).

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

func (*PostGroupingParams) WithGrouping

func (o *PostGroupingParams) WithGrouping(grouping *models.Grouping) *PostGroupingParams

WithGrouping adds the grouping to the post grouping params

func (*PostGroupingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post grouping params

func (*PostGroupingParams) WithTimeout

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

WithTimeout adds the timeout to the post grouping params

func (*PostGroupingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostGroupingReader

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

PostGroupingReader is a Reader for the PostGrouping structure.

func (*PostGroupingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGroupingOK

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

Success

func NewPutGroupingOK

func NewPutGroupingOK() *PutGroupingOK

NewPutGroupingOK creates a PutGroupingOK with default headers values

func (*PutGroupingOK) Error

func (o *PutGroupingOK) Error() string

func (*PutGroupingOK) GetPayload

func (o *PutGroupingOK) GetPayload() *models.Grouping

type PutGroupingParams

type PutGroupingParams struct {

	// Grouping.
	Grouping *models.Grouping

	// ID.
	//
	// Format: int32
	ID int32

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

PutGroupingParams contains all the parameters to send to the API endpoint

for the put grouping operation.

Typically these are written to a http.Request.

func NewPutGroupingParams

func NewPutGroupingParams() *PutGroupingParams

NewPutGroupingParams creates a new PutGroupingParams 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 NewPutGroupingParamsWithContext

func NewPutGroupingParamsWithContext(ctx context.Context) *PutGroupingParams

NewPutGroupingParamsWithContext creates a new PutGroupingParams object with the ability to set a context for a request.

func NewPutGroupingParamsWithHTTPClient

func NewPutGroupingParamsWithHTTPClient(client *http.Client) *PutGroupingParams

NewPutGroupingParamsWithHTTPClient creates a new PutGroupingParams object with the ability to set a custom HTTPClient for a request.

func NewPutGroupingParamsWithTimeout

func NewPutGroupingParamsWithTimeout(timeout time.Duration) *PutGroupingParams

NewPutGroupingParamsWithTimeout creates a new PutGroupingParams object with the ability to set a timeout on a request.

func (*PutGroupingParams) SetContext

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

SetContext adds the context to the put grouping params

func (*PutGroupingParams) SetDefaults

func (o *PutGroupingParams) SetDefaults()

SetDefaults hydrates default values in the put grouping params (not the query body).

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

func (*PutGroupingParams) SetGrouping

func (o *PutGroupingParams) SetGrouping(grouping *models.Grouping)

SetGrouping adds the grouping to the put grouping params

func (*PutGroupingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put grouping params

func (*PutGroupingParams) SetID

func (o *PutGroupingParams) SetID(id int32)

SetID adds the id to the put grouping params

func (*PutGroupingParams) SetTimeout

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

SetTimeout adds the timeout to the put grouping params

func (*PutGroupingParams) WithContext

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

WithContext adds the context to the put grouping params

func (*PutGroupingParams) WithDefaults

func (o *PutGroupingParams) WithDefaults() *PutGroupingParams

WithDefaults hydrates default values in the put grouping params (not the query body).

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

func (*PutGroupingParams) WithGrouping

func (o *PutGroupingParams) WithGrouping(grouping *models.Grouping) *PutGroupingParams

WithGrouping adds the grouping to the put grouping params

func (*PutGroupingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put grouping params

func (*PutGroupingParams) WithID

func (o *PutGroupingParams) WithID(id int32) *PutGroupingParams

WithID adds the id to the put grouping params

func (*PutGroupingParams) WithTimeout

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

WithTimeout adds the timeout to the put grouping params

func (*PutGroupingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutGroupingReader

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

PutGroupingReader is a Reader for the PutGrouping structure.

func (*PutGroupingReader) ReadResponse

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