user_group

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: GPL-3.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 user group API

func (*Client) CreateUserGroupsUsingPOST

CreateUserGroupsUsingPOST creates a user group

func (*Client) DeleteUserGroupUsingDELETE

DeleteUserGroupUsingDELETE deletes a user group

func (*Client) GetAllUserGroupsUsingGET

func (a *Client) GetAllUserGroupsUsingGET(params *GetAllUserGroupsUsingGETParams) (*GetAllUserGroupsUsingGETOK, error)

GetAllUserGroupsUsingGET retrieves all user groups

func (*Client) GetUserGroupUsingGET

func (a *Client) GetUserGroupUsingGET(params *GetUserGroupUsingGETParams) (*GetUserGroupUsingGETOK, error)

GetUserGroupUsingGET retrieves a user group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUserGroupUsingPUT

UpdateUserGroupUsingPUT updates a user group

func (*Client) UpdateUserGroupsUsingPUT

UpdateUserGroupsUsingPUT updates user groups

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new user group API client.

type CreateUserGroupsUsingPOSTCreated

type CreateUserGroupsUsingPOSTCreated struct {
}

CreateUserGroupsUsingPOSTCreated handles this case with default header values.

Created

func NewCreateUserGroupsUsingPOSTCreated

func NewCreateUserGroupsUsingPOSTCreated() *CreateUserGroupsUsingPOSTCreated

NewCreateUserGroupsUsingPOSTCreated creates a CreateUserGroupsUsingPOSTCreated with default headers values

func (*CreateUserGroupsUsingPOSTCreated) Error

type CreateUserGroupsUsingPOSTForbidden

type CreateUserGroupsUsingPOSTForbidden struct {
}

CreateUserGroupsUsingPOSTForbidden handles this case with default header values.

Forbidden

func NewCreateUserGroupsUsingPOSTForbidden

func NewCreateUserGroupsUsingPOSTForbidden() *CreateUserGroupsUsingPOSTForbidden

NewCreateUserGroupsUsingPOSTForbidden creates a CreateUserGroupsUsingPOSTForbidden with default headers values

func (*CreateUserGroupsUsingPOSTForbidden) Error

type CreateUserGroupsUsingPOSTNotFound

type CreateUserGroupsUsingPOSTNotFound struct {
}

CreateUserGroupsUsingPOSTNotFound handles this case with default header values.

Not Found

func NewCreateUserGroupsUsingPOSTNotFound

func NewCreateUserGroupsUsingPOSTNotFound() *CreateUserGroupsUsingPOSTNotFound

NewCreateUserGroupsUsingPOSTNotFound creates a CreateUserGroupsUsingPOSTNotFound with default headers values

func (*CreateUserGroupsUsingPOSTNotFound) Error

type CreateUserGroupsUsingPOSTOK

type CreateUserGroupsUsingPOSTOK struct {
	Payload *models.ListHolderDtoUserGroupDto
}

CreateUserGroupsUsingPOSTOK handles this case with default header values.

OK

func NewCreateUserGroupsUsingPOSTOK

func NewCreateUserGroupsUsingPOSTOK() *CreateUserGroupsUsingPOSTOK

NewCreateUserGroupsUsingPOSTOK creates a CreateUserGroupsUsingPOSTOK with default headers values

func (*CreateUserGroupsUsingPOSTOK) Error

func (*CreateUserGroupsUsingPOSTOK) GetPayload

type CreateUserGroupsUsingPOSTParams

type CreateUserGroupsUsingPOSTParams struct {

	/*UserGroupDto
	  userGroupDto

	*/
	UserGroupDto []*models.UserGroupDto

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

CreateUserGroupsUsingPOSTParams contains all the parameters to send to the API endpoint for the create user groups using p o s t operation typically these are written to a http.Request

func NewCreateUserGroupsUsingPOSTParams

func NewCreateUserGroupsUsingPOSTParams() *CreateUserGroupsUsingPOSTParams

NewCreateUserGroupsUsingPOSTParams creates a new CreateUserGroupsUsingPOSTParams object with the default values initialized.

func NewCreateUserGroupsUsingPOSTParamsWithContext

func NewCreateUserGroupsUsingPOSTParamsWithContext(ctx context.Context) *CreateUserGroupsUsingPOSTParams

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

func NewCreateUserGroupsUsingPOSTParamsWithHTTPClient

func NewCreateUserGroupsUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateUserGroupsUsingPOSTParams

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

func NewCreateUserGroupsUsingPOSTParamsWithTimeout

func NewCreateUserGroupsUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateUserGroupsUsingPOSTParams

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

func (*CreateUserGroupsUsingPOSTParams) SetContext

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

SetContext adds the context to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) SetTimeout

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

SetTimeout adds the timeout to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) SetUserGroupDto

func (o *CreateUserGroupsUsingPOSTParams) SetUserGroupDto(userGroupDto []*models.UserGroupDto)

SetUserGroupDto adds the userGroupDto to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) WithContext

WithContext adds the context to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) WithUserGroupDto

WithUserGroupDto adds the userGroupDto to the create user groups using p o s t params

func (*CreateUserGroupsUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateUserGroupsUsingPOSTReader

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

CreateUserGroupsUsingPOSTReader is a Reader for the CreateUserGroupsUsingPOST structure.

func (*CreateUserGroupsUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserGroupsUsingPOSTUnauthorized

type CreateUserGroupsUsingPOSTUnauthorized struct {
}

CreateUserGroupsUsingPOSTUnauthorized handles this case with default header values.

Unauthorized

func NewCreateUserGroupsUsingPOSTUnauthorized

func NewCreateUserGroupsUsingPOSTUnauthorized() *CreateUserGroupsUsingPOSTUnauthorized

NewCreateUserGroupsUsingPOSTUnauthorized creates a CreateUserGroupsUsingPOSTUnauthorized with default headers values

func (*CreateUserGroupsUsingPOSTUnauthorized) Error

type DeleteUserGroupUsingDELETEForbidden

type DeleteUserGroupUsingDELETEForbidden struct {
}

DeleteUserGroupUsingDELETEForbidden handles this case with default header values.

Forbidden

func NewDeleteUserGroupUsingDELETEForbidden

func NewDeleteUserGroupUsingDELETEForbidden() *DeleteUserGroupUsingDELETEForbidden

NewDeleteUserGroupUsingDELETEForbidden creates a DeleteUserGroupUsingDELETEForbidden with default headers values

func (*DeleteUserGroupUsingDELETEForbidden) Error

type DeleteUserGroupUsingDELETENoContent

type DeleteUserGroupUsingDELETENoContent struct {
}

DeleteUserGroupUsingDELETENoContent handles this case with default header values.

No Content

func NewDeleteUserGroupUsingDELETENoContent

func NewDeleteUserGroupUsingDELETENoContent() *DeleteUserGroupUsingDELETENoContent

NewDeleteUserGroupUsingDELETENoContent creates a DeleteUserGroupUsingDELETENoContent with default headers values

func (*DeleteUserGroupUsingDELETENoContent) Error

type DeleteUserGroupUsingDELETEOK

type DeleteUserGroupUsingDELETEOK struct {
}

DeleteUserGroupUsingDELETEOK handles this case with default header values.

OK

func NewDeleteUserGroupUsingDELETEOK

func NewDeleteUserGroupUsingDELETEOK() *DeleteUserGroupUsingDELETEOK

NewDeleteUserGroupUsingDELETEOK creates a DeleteUserGroupUsingDELETEOK with default headers values

func (*DeleteUserGroupUsingDELETEOK) Error

type DeleteUserGroupUsingDELETEParams

type DeleteUserGroupUsingDELETEParams struct {

	/*UserGroupID
	  userId

	*/
	UserGroupID int64

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

DeleteUserGroupUsingDELETEParams contains all the parameters to send to the API endpoint for the delete user group using d e l e t e operation typically these are written to a http.Request

func NewDeleteUserGroupUsingDELETEParams

func NewDeleteUserGroupUsingDELETEParams() *DeleteUserGroupUsingDELETEParams

NewDeleteUserGroupUsingDELETEParams creates a new DeleteUserGroupUsingDELETEParams object with the default values initialized.

func NewDeleteUserGroupUsingDELETEParamsWithContext

func NewDeleteUserGroupUsingDELETEParamsWithContext(ctx context.Context) *DeleteUserGroupUsingDELETEParams

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

func NewDeleteUserGroupUsingDELETEParamsWithHTTPClient

func NewDeleteUserGroupUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteUserGroupUsingDELETEParams

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

func NewDeleteUserGroupUsingDELETEParamsWithTimeout

func NewDeleteUserGroupUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteUserGroupUsingDELETEParams

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

func (*DeleteUserGroupUsingDELETEParams) SetContext

SetContext adds the context to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) SetTimeout

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

SetTimeout adds the timeout to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) SetUserGroupID

func (o *DeleteUserGroupUsingDELETEParams) SetUserGroupID(userGroupID int64)

SetUserGroupID adds the userGroupId to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) WithContext

WithContext adds the context to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) WithUserGroupID

WithUserGroupID adds the userGroupID to the delete user group using d e l e t e params

func (*DeleteUserGroupUsingDELETEParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserGroupUsingDELETEReader

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

DeleteUserGroupUsingDELETEReader is a Reader for the DeleteUserGroupUsingDELETE structure.

func (*DeleteUserGroupUsingDELETEReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserGroupUsingDELETEUnauthorized

type DeleteUserGroupUsingDELETEUnauthorized struct {
}

DeleteUserGroupUsingDELETEUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteUserGroupUsingDELETEUnauthorized

func NewDeleteUserGroupUsingDELETEUnauthorized() *DeleteUserGroupUsingDELETEUnauthorized

NewDeleteUserGroupUsingDELETEUnauthorized creates a DeleteUserGroupUsingDELETEUnauthorized with default headers values

func (*DeleteUserGroupUsingDELETEUnauthorized) Error

type GetAllUserGroupsUsingGETForbidden

type GetAllUserGroupsUsingGETForbidden struct {
}

GetAllUserGroupsUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetAllUserGroupsUsingGETForbidden

func NewGetAllUserGroupsUsingGETForbidden() *GetAllUserGroupsUsingGETForbidden

NewGetAllUserGroupsUsingGETForbidden creates a GetAllUserGroupsUsingGETForbidden with default headers values

func (*GetAllUserGroupsUsingGETForbidden) Error

type GetAllUserGroupsUsingGETNotFound

type GetAllUserGroupsUsingGETNotFound struct {
}

GetAllUserGroupsUsingGETNotFound handles this case with default header values.

Not Found

func NewGetAllUserGroupsUsingGETNotFound

func NewGetAllUserGroupsUsingGETNotFound() *GetAllUserGroupsUsingGETNotFound

NewGetAllUserGroupsUsingGETNotFound creates a GetAllUserGroupsUsingGETNotFound with default headers values

func (*GetAllUserGroupsUsingGETNotFound) Error

type GetAllUserGroupsUsingGETOK

type GetAllUserGroupsUsingGETOK struct {
	Payload *models.PagedResultDtoUserGroupDto
}

GetAllUserGroupsUsingGETOK handles this case with default header values.

OK

func NewGetAllUserGroupsUsingGETOK

func NewGetAllUserGroupsUsingGETOK() *GetAllUserGroupsUsingGETOK

NewGetAllUserGroupsUsingGETOK creates a GetAllUserGroupsUsingGETOK with default headers values

func (*GetAllUserGroupsUsingGETOK) Error

func (*GetAllUserGroupsUsingGETOK) GetPayload

type GetAllUserGroupsUsingGETParams

type GetAllUserGroupsUsingGETParams struct {

	/*Filter
	  freeTextFilter

	*/
	Filter *string
	/*PageNumber
	  pageNumber

	*/
	PageNumber *int32
	/*PageSize
	  pageSize

	*/
	PageSize *int32

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

GetAllUserGroupsUsingGETParams contains all the parameters to send to the API endpoint for the get all user groups using g e t operation typically these are written to a http.Request

func NewGetAllUserGroupsUsingGETParams

func NewGetAllUserGroupsUsingGETParams() *GetAllUserGroupsUsingGETParams

NewGetAllUserGroupsUsingGETParams creates a new GetAllUserGroupsUsingGETParams object with the default values initialized.

func NewGetAllUserGroupsUsingGETParamsWithContext

func NewGetAllUserGroupsUsingGETParamsWithContext(ctx context.Context) *GetAllUserGroupsUsingGETParams

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

func NewGetAllUserGroupsUsingGETParamsWithHTTPClient

func NewGetAllUserGroupsUsingGETParamsWithHTTPClient(client *http.Client) *GetAllUserGroupsUsingGETParams

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

func NewGetAllUserGroupsUsingGETParamsWithTimeout

func NewGetAllUserGroupsUsingGETParamsWithTimeout(timeout time.Duration) *GetAllUserGroupsUsingGETParams

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

func (*GetAllUserGroupsUsingGETParams) SetContext

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

SetContext adds the context to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) SetFilter

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

SetFilter adds the filter to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) SetPageNumber

func (o *GetAllUserGroupsUsingGETParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) SetPageSize

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

SetPageSize adds the pageSize to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WithContext

WithContext adds the context to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WithFilter

WithFilter adds the filter to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WithPageNumber

WithPageNumber adds the pageNumber to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WithPageSize

WithPageSize adds the pageSize to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get all user groups using g e t params

func (*GetAllUserGroupsUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllUserGroupsUsingGETReader

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

GetAllUserGroupsUsingGETReader is a Reader for the GetAllUserGroupsUsingGET structure.

func (*GetAllUserGroupsUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllUserGroupsUsingGETUnauthorized

type GetAllUserGroupsUsingGETUnauthorized struct {
}

GetAllUserGroupsUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetAllUserGroupsUsingGETUnauthorized

func NewGetAllUserGroupsUsingGETUnauthorized() *GetAllUserGroupsUsingGETUnauthorized

NewGetAllUserGroupsUsingGETUnauthorized creates a GetAllUserGroupsUsingGETUnauthorized with default headers values

func (*GetAllUserGroupsUsingGETUnauthorized) Error

type GetUserGroupUsingGETForbidden

type GetUserGroupUsingGETForbidden struct {
}

GetUserGroupUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetUserGroupUsingGETForbidden

func NewGetUserGroupUsingGETForbidden() *GetUserGroupUsingGETForbidden

NewGetUserGroupUsingGETForbidden creates a GetUserGroupUsingGETForbidden with default headers values

func (*GetUserGroupUsingGETForbidden) Error

type GetUserGroupUsingGETNotFound

type GetUserGroupUsingGETNotFound struct {
}

GetUserGroupUsingGETNotFound handles this case with default header values.

Not Found

func NewGetUserGroupUsingGETNotFound

func NewGetUserGroupUsingGETNotFound() *GetUserGroupUsingGETNotFound

NewGetUserGroupUsingGETNotFound creates a GetUserGroupUsingGETNotFound with default headers values

func (*GetUserGroupUsingGETNotFound) Error

type GetUserGroupUsingGETOK

type GetUserGroupUsingGETOK struct {
	Payload *models.UserGroupDto
}

GetUserGroupUsingGETOK handles this case with default header values.

OK

func NewGetUserGroupUsingGETOK

func NewGetUserGroupUsingGETOK() *GetUserGroupUsingGETOK

NewGetUserGroupUsingGETOK creates a GetUserGroupUsingGETOK with default headers values

func (*GetUserGroupUsingGETOK) Error

func (o *GetUserGroupUsingGETOK) Error() string

func (*GetUserGroupUsingGETOK) GetPayload

func (o *GetUserGroupUsingGETOK) GetPayload() *models.UserGroupDto

type GetUserGroupUsingGETParams

type GetUserGroupUsingGETParams struct {

	/*UserGroupID
	  userGroupId

	*/
	UserGroupID int64

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

GetUserGroupUsingGETParams contains all the parameters to send to the API endpoint for the get user group using g e t operation typically these are written to a http.Request

func NewGetUserGroupUsingGETParams

func NewGetUserGroupUsingGETParams() *GetUserGroupUsingGETParams

NewGetUserGroupUsingGETParams creates a new GetUserGroupUsingGETParams object with the default values initialized.

func NewGetUserGroupUsingGETParamsWithContext

func NewGetUserGroupUsingGETParamsWithContext(ctx context.Context) *GetUserGroupUsingGETParams

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

func NewGetUserGroupUsingGETParamsWithHTTPClient

func NewGetUserGroupUsingGETParamsWithHTTPClient(client *http.Client) *GetUserGroupUsingGETParams

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

func NewGetUserGroupUsingGETParamsWithTimeout

func NewGetUserGroupUsingGETParamsWithTimeout(timeout time.Duration) *GetUserGroupUsingGETParams

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

func (*GetUserGroupUsingGETParams) SetContext

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

SetContext adds the context to the get user group using g e t params

func (*GetUserGroupUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user group using g e t params

func (*GetUserGroupUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get user group using g e t params

func (*GetUserGroupUsingGETParams) SetUserGroupID

func (o *GetUserGroupUsingGETParams) SetUserGroupID(userGroupID int64)

SetUserGroupID adds the userGroupId to the get user group using g e t params

func (*GetUserGroupUsingGETParams) WithContext

WithContext adds the context to the get user group using g e t params

func (*GetUserGroupUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user group using g e t params

func (*GetUserGroupUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get user group using g e t params

func (*GetUserGroupUsingGETParams) WithUserGroupID

func (o *GetUserGroupUsingGETParams) WithUserGroupID(userGroupID int64) *GetUserGroupUsingGETParams

WithUserGroupID adds the userGroupID to the get user group using g e t params

func (*GetUserGroupUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserGroupUsingGETReader

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

GetUserGroupUsingGETReader is a Reader for the GetUserGroupUsingGET structure.

func (*GetUserGroupUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserGroupUsingGETUnauthorized

type GetUserGroupUsingGETUnauthorized struct {
}

GetUserGroupUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetUserGroupUsingGETUnauthorized

func NewGetUserGroupUsingGETUnauthorized() *GetUserGroupUsingGETUnauthorized

NewGetUserGroupUsingGETUnauthorized creates a GetUserGroupUsingGETUnauthorized with default headers values

func (*GetUserGroupUsingGETUnauthorized) Error

type UpdateUserGroupUsingPUTCreated

type UpdateUserGroupUsingPUTCreated struct {
}

UpdateUserGroupUsingPUTCreated handles this case with default header values.

Created

func NewUpdateUserGroupUsingPUTCreated

func NewUpdateUserGroupUsingPUTCreated() *UpdateUserGroupUsingPUTCreated

NewUpdateUserGroupUsingPUTCreated creates a UpdateUserGroupUsingPUTCreated with default headers values

func (*UpdateUserGroupUsingPUTCreated) Error

type UpdateUserGroupUsingPUTForbidden

type UpdateUserGroupUsingPUTForbidden struct {
}

UpdateUserGroupUsingPUTForbidden handles this case with default header values.

Forbidden

func NewUpdateUserGroupUsingPUTForbidden

func NewUpdateUserGroupUsingPUTForbidden() *UpdateUserGroupUsingPUTForbidden

NewUpdateUserGroupUsingPUTForbidden creates a UpdateUserGroupUsingPUTForbidden with default headers values

func (*UpdateUserGroupUsingPUTForbidden) Error

type UpdateUserGroupUsingPUTNotFound

type UpdateUserGroupUsingPUTNotFound struct {
}

UpdateUserGroupUsingPUTNotFound handles this case with default header values.

Not Found

func NewUpdateUserGroupUsingPUTNotFound

func NewUpdateUserGroupUsingPUTNotFound() *UpdateUserGroupUsingPUTNotFound

NewUpdateUserGroupUsingPUTNotFound creates a UpdateUserGroupUsingPUTNotFound with default headers values

func (*UpdateUserGroupUsingPUTNotFound) Error

type UpdateUserGroupUsingPUTOK

type UpdateUserGroupUsingPUTOK struct {
	Payload *models.UserGroupDto
}

UpdateUserGroupUsingPUTOK handles this case with default header values.

OK

func NewUpdateUserGroupUsingPUTOK

func NewUpdateUserGroupUsingPUTOK() *UpdateUserGroupUsingPUTOK

NewUpdateUserGroupUsingPUTOK creates a UpdateUserGroupUsingPUTOK with default headers values

func (*UpdateUserGroupUsingPUTOK) Error

func (o *UpdateUserGroupUsingPUTOK) Error() string

func (*UpdateUserGroupUsingPUTOK) GetPayload

type UpdateUserGroupUsingPUTParams

type UpdateUserGroupUsingPUTParams struct {

	/*UserGroupDto
	  userGroupDto

	*/
	UserGroupDto *models.UserGroupDto
	/*UserGroupID
	  userGroupId

	*/
	UserGroupID int64

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

UpdateUserGroupUsingPUTParams contains all the parameters to send to the API endpoint for the update user group using p u t operation typically these are written to a http.Request

func NewUpdateUserGroupUsingPUTParams

func NewUpdateUserGroupUsingPUTParams() *UpdateUserGroupUsingPUTParams

NewUpdateUserGroupUsingPUTParams creates a new UpdateUserGroupUsingPUTParams object with the default values initialized.

func NewUpdateUserGroupUsingPUTParamsWithContext

func NewUpdateUserGroupUsingPUTParamsWithContext(ctx context.Context) *UpdateUserGroupUsingPUTParams

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

func NewUpdateUserGroupUsingPUTParamsWithHTTPClient

func NewUpdateUserGroupUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateUserGroupUsingPUTParams

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

func NewUpdateUserGroupUsingPUTParamsWithTimeout

func NewUpdateUserGroupUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateUserGroupUsingPUTParams

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

func (*UpdateUserGroupUsingPUTParams) SetContext

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

SetContext adds the context to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) SetTimeout

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

SetTimeout adds the timeout to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) SetUserGroupDto

func (o *UpdateUserGroupUsingPUTParams) SetUserGroupDto(userGroupDto *models.UserGroupDto)

SetUserGroupDto adds the userGroupDto to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) SetUserGroupID

func (o *UpdateUserGroupUsingPUTParams) SetUserGroupID(userGroupID int64)

SetUserGroupID adds the userGroupId to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) WithContext

WithContext adds the context to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) WithUserGroupDto

WithUserGroupDto adds the userGroupDto to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) WithUserGroupID

func (o *UpdateUserGroupUsingPUTParams) WithUserGroupID(userGroupID int64) *UpdateUserGroupUsingPUTParams

WithUserGroupID adds the userGroupID to the update user group using p u t params

func (*UpdateUserGroupUsingPUTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserGroupUsingPUTReader

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

UpdateUserGroupUsingPUTReader is a Reader for the UpdateUserGroupUsingPUT structure.

func (*UpdateUserGroupUsingPUTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserGroupUsingPUTUnauthorized

type UpdateUserGroupUsingPUTUnauthorized struct {
}

UpdateUserGroupUsingPUTUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateUserGroupUsingPUTUnauthorized

func NewUpdateUserGroupUsingPUTUnauthorized() *UpdateUserGroupUsingPUTUnauthorized

NewUpdateUserGroupUsingPUTUnauthorized creates a UpdateUserGroupUsingPUTUnauthorized with default headers values

func (*UpdateUserGroupUsingPUTUnauthorized) Error

type UpdateUserGroupsUsingPUTCreated

type UpdateUserGroupsUsingPUTCreated struct {
}

UpdateUserGroupsUsingPUTCreated handles this case with default header values.

Created

func NewUpdateUserGroupsUsingPUTCreated

func NewUpdateUserGroupsUsingPUTCreated() *UpdateUserGroupsUsingPUTCreated

NewUpdateUserGroupsUsingPUTCreated creates a UpdateUserGroupsUsingPUTCreated with default headers values

func (*UpdateUserGroupsUsingPUTCreated) Error

type UpdateUserGroupsUsingPUTForbidden

type UpdateUserGroupsUsingPUTForbidden struct {
}

UpdateUserGroupsUsingPUTForbidden handles this case with default header values.

Forbidden

func NewUpdateUserGroupsUsingPUTForbidden

func NewUpdateUserGroupsUsingPUTForbidden() *UpdateUserGroupsUsingPUTForbidden

NewUpdateUserGroupsUsingPUTForbidden creates a UpdateUserGroupsUsingPUTForbidden with default headers values

func (*UpdateUserGroupsUsingPUTForbidden) Error

type UpdateUserGroupsUsingPUTNotFound

type UpdateUserGroupsUsingPUTNotFound struct {
}

UpdateUserGroupsUsingPUTNotFound handles this case with default header values.

Not Found

func NewUpdateUserGroupsUsingPUTNotFound

func NewUpdateUserGroupsUsingPUTNotFound() *UpdateUserGroupsUsingPUTNotFound

NewUpdateUserGroupsUsingPUTNotFound creates a UpdateUserGroupsUsingPUTNotFound with default headers values

func (*UpdateUserGroupsUsingPUTNotFound) Error

type UpdateUserGroupsUsingPUTOK

type UpdateUserGroupsUsingPUTOK struct {
	Payload *models.ListHolderDtoUserGroupDto
}

UpdateUserGroupsUsingPUTOK handles this case with default header values.

OK

func NewUpdateUserGroupsUsingPUTOK

func NewUpdateUserGroupsUsingPUTOK() *UpdateUserGroupsUsingPUTOK

NewUpdateUserGroupsUsingPUTOK creates a UpdateUserGroupsUsingPUTOK with default headers values

func (*UpdateUserGroupsUsingPUTOK) Error

func (*UpdateUserGroupsUsingPUTOK) GetPayload

type UpdateUserGroupsUsingPUTParams

type UpdateUserGroupsUsingPUTParams struct {

	/*Groups
	  userGroupsIds

	*/
	Groups []int64
	/*UsersIdsDto
	  usersIdsDto

	*/
	UsersIdsDto []*models.IdentifiableDto

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

UpdateUserGroupsUsingPUTParams contains all the parameters to send to the API endpoint for the update user groups using p u t operation typically these are written to a http.Request

func NewUpdateUserGroupsUsingPUTParams

func NewUpdateUserGroupsUsingPUTParams() *UpdateUserGroupsUsingPUTParams

NewUpdateUserGroupsUsingPUTParams creates a new UpdateUserGroupsUsingPUTParams object with the default values initialized.

func NewUpdateUserGroupsUsingPUTParamsWithContext

func NewUpdateUserGroupsUsingPUTParamsWithContext(ctx context.Context) *UpdateUserGroupsUsingPUTParams

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

func NewUpdateUserGroupsUsingPUTParamsWithHTTPClient

func NewUpdateUserGroupsUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateUserGroupsUsingPUTParams

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

func NewUpdateUserGroupsUsingPUTParamsWithTimeout

func NewUpdateUserGroupsUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateUserGroupsUsingPUTParams

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

func (*UpdateUserGroupsUsingPUTParams) SetContext

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

SetContext adds the context to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) SetGroups

func (o *UpdateUserGroupsUsingPUTParams) SetGroups(groups []int64)

SetGroups adds the groups to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) SetTimeout

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

SetTimeout adds the timeout to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) SetUsersIdsDto

func (o *UpdateUserGroupsUsingPUTParams) SetUsersIdsDto(usersIdsDto []*models.IdentifiableDto)

SetUsersIdsDto adds the usersIdsDto to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) WithContext

WithContext adds the context to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) WithGroups

WithGroups adds the groups to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) WithUsersIdsDto

WithUsersIdsDto adds the usersIdsDto to the update user groups using p u t params

func (*UpdateUserGroupsUsingPUTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserGroupsUsingPUTReader

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

UpdateUserGroupsUsingPUTReader is a Reader for the UpdateUserGroupsUsingPUT structure.

func (*UpdateUserGroupsUsingPUTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserGroupsUsingPUTUnauthorized

type UpdateUserGroupsUsingPUTUnauthorized struct {
}

UpdateUserGroupsUsingPUTUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateUserGroupsUsingPUTUnauthorized

func NewUpdateUserGroupsUsingPUTUnauthorized() *UpdateUserGroupsUsingPUTUnauthorized

NewUpdateUserGroupsUsingPUTUnauthorized creates a UpdateUserGroupsUsingPUTUnauthorized with default headers values

func (*UpdateUserGroupsUsingPUTUnauthorized) Error

Jump to

Keyboard shortcuts

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