groupings

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 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) CreateGroupings added in v1.2.0

func (a *Client) CreateGroupings(params *CreateGroupingsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupingsOK, error)

CreateGroupings create groupings API

func (*Client) DeleteGroupings

func (a *Client) DeleteGroupings(params *DeleteGroupingsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupingsOK, error)

DeleteGroupings delete groupings API

func (*Client) GetGroupings

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

GetGroupings get groupings API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateGroupings added in v1.2.0

func (a *Client) UpdateGroupings(params *UpdateGroupingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupingsOK, error)

UpdateGroupings update groupings API

type ClientService

type ClientService interface {
	CreateGroupings(params *CreateGroupingsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupingsOK, error)

	DeleteGroupings(params *DeleteGroupingsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupingsOK, error)

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

	UpdateGroupings(params *UpdateGroupingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupingsOK, 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 CreateGroupingsOK added in v1.2.0

type CreateGroupingsOK struct {
	Payload *models.Grouping
}

CreateGroupingsOK handles this case with default header values.

Success

func NewCreateGroupingsOK added in v1.2.0

func NewCreateGroupingsOK() *CreateGroupingsOK

NewCreateGroupingsOK creates a CreateGroupingsOK with default headers values

func (*CreateGroupingsOK) Error added in v1.2.0

func (o *CreateGroupingsOK) Error() string

func (*CreateGroupingsOK) GetPayload added in v1.2.0

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

type CreateGroupingsParams added in v1.2.0

type CreateGroupingsParams struct {

	/*Grouping*/
	Grouping *models.Grouping

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

CreateGroupingsParams contains all the parameters to send to the API endpoint for the create groupings operation typically these are written to a http.Request

func NewCreateGroupingsParams added in v1.2.0

func NewCreateGroupingsParams() *CreateGroupingsParams

NewCreateGroupingsParams creates a new CreateGroupingsParams object with the default values initialized.

func NewCreateGroupingsParamsWithContext added in v1.2.0

func NewCreateGroupingsParamsWithContext(ctx context.Context) *CreateGroupingsParams

NewCreateGroupingsParamsWithContext creates a new CreateGroupingsParams object with the default values initialized, and the ability to set a context for a request

func NewCreateGroupingsParamsWithHTTPClient added in v1.2.0

func NewCreateGroupingsParamsWithHTTPClient(client *http.Client) *CreateGroupingsParams

NewCreateGroupingsParamsWithHTTPClient creates a new CreateGroupingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateGroupingsParamsWithTimeout added in v1.2.0

func NewCreateGroupingsParamsWithTimeout(timeout time.Duration) *CreateGroupingsParams

NewCreateGroupingsParamsWithTimeout creates a new CreateGroupingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateGroupingsParams) SetContext added in v1.2.0

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

SetContext adds the context to the create groupings params

func (*CreateGroupingsParams) SetGrouping added in v1.2.0

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

SetGrouping adds the grouping to the create groupings params

func (*CreateGroupingsParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the create groupings params

func (*CreateGroupingsParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the create groupings params

func (*CreateGroupingsParams) WithContext added in v1.2.0

WithContext adds the context to the create groupings params

func (*CreateGroupingsParams) WithGrouping added in v1.2.0

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

WithGrouping adds the grouping to the create groupings params

func (*CreateGroupingsParams) WithHTTPClient added in v1.2.0

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

WithHTTPClient adds the HTTPClient to the create groupings params

func (*CreateGroupingsParams) WithTimeout added in v1.2.0

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

WithTimeout adds the timeout to the create groupings params

func (*CreateGroupingsParams) WriteToRequest added in v1.2.0

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

WriteToRequest writes these params to a swagger request

type CreateGroupingsReader added in v1.2.0

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

CreateGroupingsReader is a Reader for the CreateGroupings structure.

func (*CreateGroupingsReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type DeleteGroupingsOK

type DeleteGroupingsOK struct {
}

DeleteGroupingsOK handles this case with default header values.

Success

func NewDeleteGroupingsOK

func NewDeleteGroupingsOK() *DeleteGroupingsOK

NewDeleteGroupingsOK creates a DeleteGroupingsOK with default headers values

func (*DeleteGroupingsOK) Error

func (o *DeleteGroupingsOK) Error() string

type DeleteGroupingsParams

type DeleteGroupingsParams struct {

	/*ID*/
	ID int32

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

DeleteGroupingsParams contains all the parameters to send to the API endpoint for the delete groupings operation typically these are written to a http.Request

func NewDeleteGroupingsParams

func NewDeleteGroupingsParams() *DeleteGroupingsParams

NewDeleteGroupingsParams creates a new DeleteGroupingsParams object with the default values initialized.

func NewDeleteGroupingsParamsWithContext

func NewDeleteGroupingsParamsWithContext(ctx context.Context) *DeleteGroupingsParams

NewDeleteGroupingsParamsWithContext creates a new DeleteGroupingsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteGroupingsParamsWithHTTPClient

func NewDeleteGroupingsParamsWithHTTPClient(client *http.Client) *DeleteGroupingsParams

NewDeleteGroupingsParamsWithHTTPClient creates a new DeleteGroupingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteGroupingsParamsWithTimeout

func NewDeleteGroupingsParamsWithTimeout(timeout time.Duration) *DeleteGroupingsParams

NewDeleteGroupingsParamsWithTimeout creates a new DeleteGroupingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteGroupingsParams) SetContext

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

SetContext adds the context to the delete groupings params

func (*DeleteGroupingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete groupings params

func (*DeleteGroupingsParams) SetID

func (o *DeleteGroupingsParams) SetID(id int32)

SetID adds the id to the delete groupings params

func (*DeleteGroupingsParams) SetTimeout

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

SetTimeout adds the timeout to the delete groupings params

func (*DeleteGroupingsParams) WithContext

WithContext adds the context to the delete groupings params

func (*DeleteGroupingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete groupings params

func (*DeleteGroupingsParams) WithID

WithID adds the id to the delete groupings params

func (*DeleteGroupingsParams) WithTimeout

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

WithTimeout adds the timeout to the delete groupings params

func (*DeleteGroupingsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteGroupingsReader

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

DeleteGroupingsReader is a Reader for the DeleteGroupings structure.

func (*DeleteGroupingsReader) ReadResponse

func (o *DeleteGroupingsReader) 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 handles this case 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*/
	OrganizationID *int32
	/*Page*/
	Page *int32
	/*PageSize*/
	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 values initialized.

func NewGetGroupingsParamsWithContext

func NewGetGroupingsParamsWithContext(ctx context.Context) *GetGroupingsParams

NewGetGroupingsParamsWithContext creates a new GetGroupingsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateGroupingsOK added in v1.2.0

type UpdateGroupingsOK struct {
	Payload *models.Grouping
}

UpdateGroupingsOK handles this case with default header values.

Success

func NewUpdateGroupingsOK added in v1.2.0

func NewUpdateGroupingsOK() *UpdateGroupingsOK

NewUpdateGroupingsOK creates a UpdateGroupingsOK with default headers values

func (*UpdateGroupingsOK) Error added in v1.2.0

func (o *UpdateGroupingsOK) Error() string

func (*UpdateGroupingsOK) GetPayload added in v1.2.0

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

type UpdateGroupingsParams added in v1.2.0

type UpdateGroupingsParams struct {

	/*Grouping*/
	Grouping *models.Grouping
	/*ID*/
	ID int32

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

UpdateGroupingsParams contains all the parameters to send to the API endpoint for the update groupings operation typically these are written to a http.Request

func NewUpdateGroupingsParams added in v1.2.0

func NewUpdateGroupingsParams() *UpdateGroupingsParams

NewUpdateGroupingsParams creates a new UpdateGroupingsParams object with the default values initialized.

func NewUpdateGroupingsParamsWithContext added in v1.2.0

func NewUpdateGroupingsParamsWithContext(ctx context.Context) *UpdateGroupingsParams

NewUpdateGroupingsParamsWithContext creates a new UpdateGroupingsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateGroupingsParamsWithHTTPClient added in v1.2.0

func NewUpdateGroupingsParamsWithHTTPClient(client *http.Client) *UpdateGroupingsParams

NewUpdateGroupingsParamsWithHTTPClient creates a new UpdateGroupingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateGroupingsParamsWithTimeout added in v1.2.0

func NewUpdateGroupingsParamsWithTimeout(timeout time.Duration) *UpdateGroupingsParams

NewUpdateGroupingsParamsWithTimeout creates a new UpdateGroupingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateGroupingsParams) SetContext added in v1.2.0

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

SetContext adds the context to the update groupings params

func (*UpdateGroupingsParams) SetGrouping added in v1.2.0

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

SetGrouping adds the grouping to the update groupings params

func (*UpdateGroupingsParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the update groupings params

func (*UpdateGroupingsParams) SetID added in v1.2.0

func (o *UpdateGroupingsParams) SetID(id int32)

SetID adds the id to the update groupings params

func (*UpdateGroupingsParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the update groupings params

func (*UpdateGroupingsParams) WithContext added in v1.2.0

WithContext adds the context to the update groupings params

func (*UpdateGroupingsParams) WithGrouping added in v1.2.0

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

WithGrouping adds the grouping to the update groupings params

func (*UpdateGroupingsParams) WithHTTPClient added in v1.2.0

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

WithHTTPClient adds the HTTPClient to the update groupings params

func (*UpdateGroupingsParams) WithID added in v1.2.0

WithID adds the id to the update groupings params

func (*UpdateGroupingsParams) WithTimeout added in v1.2.0

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

WithTimeout adds the timeout to the update groupings params

func (*UpdateGroupingsParams) WriteToRequest added in v1.2.0

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

WriteToRequest writes these params to a swagger request

type UpdateGroupingsReader added in v1.2.0

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

UpdateGroupingsReader is a Reader for the UpdateGroupings structure.

func (*UpdateGroupingsReader) ReadResponse added in v1.2.0

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