roles

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 roles API

func (*Client) CreateRoleUsingPOST

CreateRoleUsingPOST creates a role

func (*Client) DeleteRoleUsingDELETE

DeleteRoleUsingDELETE deletes a role

func (*Client) GetRoleUsingGET

func (a *Client) GetRoleUsingGET(params *GetRoleUsingGETParams) (*GetRoleUsingGETOK, error)

GetRoleUsingGET gets a role

func (*Client) GetRolesUsingGET

func (a *Client) GetRolesUsingGET(params *GetRolesUsingGETParams) (*GetRolesUsingGETOK, error)

GetRolesUsingGET gets roles

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRoleUsingPUT

UpdateRoleUsingPUT updates a role

type ClientService

type ClientService interface {
	CreateRoleUsingPOST(params *CreateRoleUsingPOSTParams) (*CreateRoleUsingPOSTOK, *CreateRoleUsingPOSTCreated, error)

	DeleteRoleUsingDELETE(params *DeleteRoleUsingDELETEParams) (*DeleteRoleUsingDELETEOK, *DeleteRoleUsingDELETENoContent, error)

	GetRoleUsingGET(params *GetRoleUsingGETParams) (*GetRoleUsingGETOK, error)

	GetRolesUsingGET(params *GetRolesUsingGETParams) (*GetRolesUsingGETOK, error)

	UpdateRoleUsingPUT(params *UpdateRoleUsingPUTParams) (*UpdateRoleUsingPUTOK, *UpdateRoleUsingPUTCreated, 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 roles API client.

type CreateRoleUsingPOSTCreated

type CreateRoleUsingPOSTCreated struct {
}

CreateRoleUsingPOSTCreated handles this case with default header values.

Created

func NewCreateRoleUsingPOSTCreated

func NewCreateRoleUsingPOSTCreated() *CreateRoleUsingPOSTCreated

NewCreateRoleUsingPOSTCreated creates a CreateRoleUsingPOSTCreated with default headers values

func (*CreateRoleUsingPOSTCreated) Error

type CreateRoleUsingPOSTForbidden

type CreateRoleUsingPOSTForbidden struct {
}

CreateRoleUsingPOSTForbidden handles this case with default header values.

Forbidden

func NewCreateRoleUsingPOSTForbidden

func NewCreateRoleUsingPOSTForbidden() *CreateRoleUsingPOSTForbidden

NewCreateRoleUsingPOSTForbidden creates a CreateRoleUsingPOSTForbidden with default headers values

func (*CreateRoleUsingPOSTForbidden) Error

type CreateRoleUsingPOSTNotFound

type CreateRoleUsingPOSTNotFound struct {
}

CreateRoleUsingPOSTNotFound handles this case with default header values.

Not Found

func NewCreateRoleUsingPOSTNotFound

func NewCreateRoleUsingPOSTNotFound() *CreateRoleUsingPOSTNotFound

NewCreateRoleUsingPOSTNotFound creates a CreateRoleUsingPOSTNotFound with default headers values

func (*CreateRoleUsingPOSTNotFound) Error

type CreateRoleUsingPOSTOK

type CreateRoleUsingPOSTOK struct {
	Payload *models.RoleDto
}

CreateRoleUsingPOSTOK handles this case with default header values.

OK

func NewCreateRoleUsingPOSTOK

func NewCreateRoleUsingPOSTOK() *CreateRoleUsingPOSTOK

NewCreateRoleUsingPOSTOK creates a CreateRoleUsingPOSTOK with default headers values

func (*CreateRoleUsingPOSTOK) Error

func (o *CreateRoleUsingPOSTOK) Error() string

func (*CreateRoleUsingPOSTOK) GetPayload

func (o *CreateRoleUsingPOSTOK) GetPayload() *models.RoleDto

type CreateRoleUsingPOSTParams

type CreateRoleUsingPOSTParams struct {

	/*RoleDto
	  roleDto

	*/
	RoleDto *models.RoleDto

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

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

func NewCreateRoleUsingPOSTParams

func NewCreateRoleUsingPOSTParams() *CreateRoleUsingPOSTParams

NewCreateRoleUsingPOSTParams creates a new CreateRoleUsingPOSTParams object with the default values initialized.

func NewCreateRoleUsingPOSTParamsWithContext

func NewCreateRoleUsingPOSTParamsWithContext(ctx context.Context) *CreateRoleUsingPOSTParams

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

func NewCreateRoleUsingPOSTParamsWithHTTPClient

func NewCreateRoleUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateRoleUsingPOSTParams

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

func NewCreateRoleUsingPOSTParamsWithTimeout

func NewCreateRoleUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateRoleUsingPOSTParams

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

func (*CreateRoleUsingPOSTParams) SetContext

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

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

func (*CreateRoleUsingPOSTParams) SetHTTPClient

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

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

func (*CreateRoleUsingPOSTParams) SetRoleDto

func (o *CreateRoleUsingPOSTParams) SetRoleDto(roleDto *models.RoleDto)

SetRoleDto adds the roleDto to the create role using p o s t params

func (*CreateRoleUsingPOSTParams) SetTimeout

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

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

func (*CreateRoleUsingPOSTParams) WithContext

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

func (*CreateRoleUsingPOSTParams) WithHTTPClient

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

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

func (*CreateRoleUsingPOSTParams) WithRoleDto

WithRoleDto adds the roleDto to the create role using p o s t params

func (*CreateRoleUsingPOSTParams) WithTimeout

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

func (*CreateRoleUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRoleUsingPOSTReader

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

CreateRoleUsingPOSTReader is a Reader for the CreateRoleUsingPOST structure.

func (*CreateRoleUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRoleUsingPOSTUnauthorized

type CreateRoleUsingPOSTUnauthorized struct {
}

CreateRoleUsingPOSTUnauthorized handles this case with default header values.

Unauthorized

func NewCreateRoleUsingPOSTUnauthorized

func NewCreateRoleUsingPOSTUnauthorized() *CreateRoleUsingPOSTUnauthorized

NewCreateRoleUsingPOSTUnauthorized creates a CreateRoleUsingPOSTUnauthorized with default headers values

func (*CreateRoleUsingPOSTUnauthorized) Error

type DeleteRoleUsingDELETEForbidden

type DeleteRoleUsingDELETEForbidden struct {
}

DeleteRoleUsingDELETEForbidden handles this case with default header values.

Forbidden

func NewDeleteRoleUsingDELETEForbidden

func NewDeleteRoleUsingDELETEForbidden() *DeleteRoleUsingDELETEForbidden

NewDeleteRoleUsingDELETEForbidden creates a DeleteRoleUsingDELETEForbidden with default headers values

func (*DeleteRoleUsingDELETEForbidden) Error

type DeleteRoleUsingDELETENoContent

type DeleteRoleUsingDELETENoContent struct {
}

DeleteRoleUsingDELETENoContent handles this case with default header values.

No Content

func NewDeleteRoleUsingDELETENoContent

func NewDeleteRoleUsingDELETENoContent() *DeleteRoleUsingDELETENoContent

NewDeleteRoleUsingDELETENoContent creates a DeleteRoleUsingDELETENoContent with default headers values

func (*DeleteRoleUsingDELETENoContent) Error

type DeleteRoleUsingDELETEOK

type DeleteRoleUsingDELETEOK struct {
}

DeleteRoleUsingDELETEOK handles this case with default header values.

OK

func NewDeleteRoleUsingDELETEOK

func NewDeleteRoleUsingDELETEOK() *DeleteRoleUsingDELETEOK

NewDeleteRoleUsingDELETEOK creates a DeleteRoleUsingDELETEOK with default headers values

func (*DeleteRoleUsingDELETEOK) Error

func (o *DeleteRoleUsingDELETEOK) Error() string

type DeleteRoleUsingDELETEParams

type DeleteRoleUsingDELETEParams struct {

	/*RoleID
	  roleId

	*/
	RoleID int64

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

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

func NewDeleteRoleUsingDELETEParams

func NewDeleteRoleUsingDELETEParams() *DeleteRoleUsingDELETEParams

NewDeleteRoleUsingDELETEParams creates a new DeleteRoleUsingDELETEParams object with the default values initialized.

func NewDeleteRoleUsingDELETEParamsWithContext

func NewDeleteRoleUsingDELETEParamsWithContext(ctx context.Context) *DeleteRoleUsingDELETEParams

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

func NewDeleteRoleUsingDELETEParamsWithHTTPClient

func NewDeleteRoleUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteRoleUsingDELETEParams

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

func NewDeleteRoleUsingDELETEParamsWithTimeout

func NewDeleteRoleUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteRoleUsingDELETEParams

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

func (*DeleteRoleUsingDELETEParams) SetContext

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

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

func (*DeleteRoleUsingDELETEParams) SetHTTPClient

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

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

func (*DeleteRoleUsingDELETEParams) SetRoleID

func (o *DeleteRoleUsingDELETEParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the delete role using d e l e t e params

func (*DeleteRoleUsingDELETEParams) SetTimeout

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

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

func (*DeleteRoleUsingDELETEParams) WithContext

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

func (*DeleteRoleUsingDELETEParams) WithHTTPClient

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

func (*DeleteRoleUsingDELETEParams) WithRoleID

WithRoleID adds the roleID to the delete role using d e l e t e params

func (*DeleteRoleUsingDELETEParams) WithTimeout

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

func (*DeleteRoleUsingDELETEParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRoleUsingDELETEReader

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

DeleteRoleUsingDELETEReader is a Reader for the DeleteRoleUsingDELETE structure.

func (*DeleteRoleUsingDELETEReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRoleUsingDELETEUnauthorized

type DeleteRoleUsingDELETEUnauthorized struct {
}

DeleteRoleUsingDELETEUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteRoleUsingDELETEUnauthorized

func NewDeleteRoleUsingDELETEUnauthorized() *DeleteRoleUsingDELETEUnauthorized

NewDeleteRoleUsingDELETEUnauthorized creates a DeleteRoleUsingDELETEUnauthorized with default headers values

func (*DeleteRoleUsingDELETEUnauthorized) Error

type GetRoleUsingGETForbidden

type GetRoleUsingGETForbidden struct {
}

GetRoleUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetRoleUsingGETForbidden

func NewGetRoleUsingGETForbidden() *GetRoleUsingGETForbidden

NewGetRoleUsingGETForbidden creates a GetRoleUsingGETForbidden with default headers values

func (*GetRoleUsingGETForbidden) Error

func (o *GetRoleUsingGETForbidden) Error() string

type GetRoleUsingGETNotFound

type GetRoleUsingGETNotFound struct {
}

GetRoleUsingGETNotFound handles this case with default header values.

Not Found

func NewGetRoleUsingGETNotFound

func NewGetRoleUsingGETNotFound() *GetRoleUsingGETNotFound

NewGetRoleUsingGETNotFound creates a GetRoleUsingGETNotFound with default headers values

func (*GetRoleUsingGETNotFound) Error

func (o *GetRoleUsingGETNotFound) Error() string

type GetRoleUsingGETOK

type GetRoleUsingGETOK struct {
	Payload *models.RoleDto
}

GetRoleUsingGETOK handles this case with default header values.

OK

func NewGetRoleUsingGETOK

func NewGetRoleUsingGETOK() *GetRoleUsingGETOK

NewGetRoleUsingGETOK creates a GetRoleUsingGETOK with default headers values

func (*GetRoleUsingGETOK) Error

func (o *GetRoleUsingGETOK) Error() string

func (*GetRoleUsingGETOK) GetPayload

func (o *GetRoleUsingGETOK) GetPayload() *models.RoleDto

type GetRoleUsingGETParams

type GetRoleUsingGETParams struct {

	/*RoleID
	  roleId

	*/
	RoleID int64

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

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

func NewGetRoleUsingGETParams

func NewGetRoleUsingGETParams() *GetRoleUsingGETParams

NewGetRoleUsingGETParams creates a new GetRoleUsingGETParams object with the default values initialized.

func NewGetRoleUsingGETParamsWithContext

func NewGetRoleUsingGETParamsWithContext(ctx context.Context) *GetRoleUsingGETParams

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

func NewGetRoleUsingGETParamsWithHTTPClient

func NewGetRoleUsingGETParamsWithHTTPClient(client *http.Client) *GetRoleUsingGETParams

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

func NewGetRoleUsingGETParamsWithTimeout

func NewGetRoleUsingGETParamsWithTimeout(timeout time.Duration) *GetRoleUsingGETParams

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

func (*GetRoleUsingGETParams) SetContext

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

SetContext adds the context to the get role using g e t params

func (*GetRoleUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get role using g e t params

func (*GetRoleUsingGETParams) SetRoleID

func (o *GetRoleUsingGETParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the get role using g e t params

func (*GetRoleUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get role using g e t params

func (*GetRoleUsingGETParams) WithContext

WithContext adds the context to the get role using g e t params

func (*GetRoleUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get role using g e t params

func (*GetRoleUsingGETParams) WithRoleID

func (o *GetRoleUsingGETParams) WithRoleID(roleID int64) *GetRoleUsingGETParams

WithRoleID adds the roleID to the get role using g e t params

func (*GetRoleUsingGETParams) WithTimeout

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

WithTimeout adds the timeout to the get role using g e t params

func (*GetRoleUsingGETParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRoleUsingGETReader

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

GetRoleUsingGETReader is a Reader for the GetRoleUsingGET structure.

func (*GetRoleUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoleUsingGETUnauthorized

type GetRoleUsingGETUnauthorized struct {
}

GetRoleUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetRoleUsingGETUnauthorized

func NewGetRoleUsingGETUnauthorized() *GetRoleUsingGETUnauthorized

NewGetRoleUsingGETUnauthorized creates a GetRoleUsingGETUnauthorized with default headers values

func (*GetRoleUsingGETUnauthorized) Error

type GetRolesUsingGETForbidden

type GetRolesUsingGETForbidden struct {
}

GetRolesUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetRolesUsingGETForbidden

func NewGetRolesUsingGETForbidden() *GetRolesUsingGETForbidden

NewGetRolesUsingGETForbidden creates a GetRolesUsingGETForbidden with default headers values

func (*GetRolesUsingGETForbidden) Error

func (o *GetRolesUsingGETForbidden) Error() string

type GetRolesUsingGETNotFound

type GetRolesUsingGETNotFound struct {
}

GetRolesUsingGETNotFound handles this case with default header values.

Not Found

func NewGetRolesUsingGETNotFound

func NewGetRolesUsingGETNotFound() *GetRolesUsingGETNotFound

NewGetRolesUsingGETNotFound creates a GetRolesUsingGETNotFound with default headers values

func (*GetRolesUsingGETNotFound) Error

func (o *GetRolesUsingGETNotFound) Error() string

type GetRolesUsingGETOK

type GetRolesUsingGETOK struct {
	Payload *models.ListHolderDtoRoleDto
}

GetRolesUsingGETOK handles this case with default header values.

OK

func NewGetRolesUsingGETOK

func NewGetRolesUsingGETOK() *GetRolesUsingGETOK

NewGetRolesUsingGETOK creates a GetRolesUsingGETOK with default headers values

func (*GetRolesUsingGETOK) Error

func (o *GetRolesUsingGETOK) Error() string

func (*GetRolesUsingGETOK) GetPayload

type GetRolesUsingGETParams

type GetRolesUsingGETParams struct {

	/*IsProjectSpecific
	  isProjectSpecific

	*/
	IsProjectSpecific *bool

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

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

func NewGetRolesUsingGETParams

func NewGetRolesUsingGETParams() *GetRolesUsingGETParams

NewGetRolesUsingGETParams creates a new GetRolesUsingGETParams object with the default values initialized.

func NewGetRolesUsingGETParamsWithContext

func NewGetRolesUsingGETParamsWithContext(ctx context.Context) *GetRolesUsingGETParams

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

func NewGetRolesUsingGETParamsWithHTTPClient

func NewGetRolesUsingGETParamsWithHTTPClient(client *http.Client) *GetRolesUsingGETParams

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

func NewGetRolesUsingGETParamsWithTimeout

func NewGetRolesUsingGETParamsWithTimeout(timeout time.Duration) *GetRolesUsingGETParams

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

func (*GetRolesUsingGETParams) SetContext

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

SetContext adds the context to the get roles using g e t params

func (*GetRolesUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get roles using g e t params

func (*GetRolesUsingGETParams) SetIsProjectSpecific

func (o *GetRolesUsingGETParams) SetIsProjectSpecific(isProjectSpecific *bool)

SetIsProjectSpecific adds the isProjectSpecific to the get roles using g e t params

func (*GetRolesUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get roles using g e t params

func (*GetRolesUsingGETParams) WithContext

WithContext adds the context to the get roles using g e t params

func (*GetRolesUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get roles using g e t params

func (*GetRolesUsingGETParams) WithIsProjectSpecific

func (o *GetRolesUsingGETParams) WithIsProjectSpecific(isProjectSpecific *bool) *GetRolesUsingGETParams

WithIsProjectSpecific adds the isProjectSpecific to the get roles using g e t params

func (*GetRolesUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get roles using g e t params

func (*GetRolesUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRolesUsingGETReader

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

GetRolesUsingGETReader is a Reader for the GetRolesUsingGET structure.

func (*GetRolesUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRolesUsingGETUnauthorized

type GetRolesUsingGETUnauthorized struct {
}

GetRolesUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetRolesUsingGETUnauthorized

func NewGetRolesUsingGETUnauthorized() *GetRolesUsingGETUnauthorized

NewGetRolesUsingGETUnauthorized creates a GetRolesUsingGETUnauthorized with default headers values

func (*GetRolesUsingGETUnauthorized) Error

type UpdateRoleUsingPUTCreated

type UpdateRoleUsingPUTCreated struct {
}

UpdateRoleUsingPUTCreated handles this case with default header values.

Created

func NewUpdateRoleUsingPUTCreated

func NewUpdateRoleUsingPUTCreated() *UpdateRoleUsingPUTCreated

NewUpdateRoleUsingPUTCreated creates a UpdateRoleUsingPUTCreated with default headers values

func (*UpdateRoleUsingPUTCreated) Error

func (o *UpdateRoleUsingPUTCreated) Error() string

type UpdateRoleUsingPUTForbidden

type UpdateRoleUsingPUTForbidden struct {
}

UpdateRoleUsingPUTForbidden handles this case with default header values.

Forbidden

func NewUpdateRoleUsingPUTForbidden

func NewUpdateRoleUsingPUTForbidden() *UpdateRoleUsingPUTForbidden

NewUpdateRoleUsingPUTForbidden creates a UpdateRoleUsingPUTForbidden with default headers values

func (*UpdateRoleUsingPUTForbidden) Error

type UpdateRoleUsingPUTNotFound

type UpdateRoleUsingPUTNotFound struct {
}

UpdateRoleUsingPUTNotFound handles this case with default header values.

Not Found

func NewUpdateRoleUsingPUTNotFound

func NewUpdateRoleUsingPUTNotFound() *UpdateRoleUsingPUTNotFound

NewUpdateRoleUsingPUTNotFound creates a UpdateRoleUsingPUTNotFound with default headers values

func (*UpdateRoleUsingPUTNotFound) Error

type UpdateRoleUsingPUTOK

type UpdateRoleUsingPUTOK struct {
	Payload *models.RoleDto
}

UpdateRoleUsingPUTOK handles this case with default header values.

OK

func NewUpdateRoleUsingPUTOK

func NewUpdateRoleUsingPUTOK() *UpdateRoleUsingPUTOK

NewUpdateRoleUsingPUTOK creates a UpdateRoleUsingPUTOK with default headers values

func (*UpdateRoleUsingPUTOK) Error

func (o *UpdateRoleUsingPUTOK) Error() string

func (*UpdateRoleUsingPUTOK) GetPayload

func (o *UpdateRoleUsingPUTOK) GetPayload() *models.RoleDto

type UpdateRoleUsingPUTParams

type UpdateRoleUsingPUTParams struct {

	/*RoleDto
	  roleDto

	*/
	RoleDto *models.RoleDto
	/*RoleID
	  roleId

	*/
	RoleID int64

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

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

func NewUpdateRoleUsingPUTParams

func NewUpdateRoleUsingPUTParams() *UpdateRoleUsingPUTParams

NewUpdateRoleUsingPUTParams creates a new UpdateRoleUsingPUTParams object with the default values initialized.

func NewUpdateRoleUsingPUTParamsWithContext

func NewUpdateRoleUsingPUTParamsWithContext(ctx context.Context) *UpdateRoleUsingPUTParams

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

func NewUpdateRoleUsingPUTParamsWithHTTPClient

func NewUpdateRoleUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateRoleUsingPUTParams

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

func NewUpdateRoleUsingPUTParamsWithTimeout

func NewUpdateRoleUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateRoleUsingPUTParams

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

func (*UpdateRoleUsingPUTParams) SetContext

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

SetContext adds the context to the update role using p u t params

func (*UpdateRoleUsingPUTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update role using p u t params

func (*UpdateRoleUsingPUTParams) SetRoleDto

func (o *UpdateRoleUsingPUTParams) SetRoleDto(roleDto *models.RoleDto)

SetRoleDto adds the roleDto to the update role using p u t params

func (*UpdateRoleUsingPUTParams) SetRoleID

func (o *UpdateRoleUsingPUTParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the update role using p u t params

func (*UpdateRoleUsingPUTParams) SetTimeout

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

SetTimeout adds the timeout to the update role using p u t params

func (*UpdateRoleUsingPUTParams) WithContext

WithContext adds the context to the update role using p u t params

func (*UpdateRoleUsingPUTParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update role using p u t params

func (*UpdateRoleUsingPUTParams) WithRoleDto

WithRoleDto adds the roleDto to the update role using p u t params

func (*UpdateRoleUsingPUTParams) WithRoleID

WithRoleID adds the roleID to the update role using p u t params

func (*UpdateRoleUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the update role using p u t params

func (*UpdateRoleUsingPUTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRoleUsingPUTReader

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

UpdateRoleUsingPUTReader is a Reader for the UpdateRoleUsingPUT structure.

func (*UpdateRoleUsingPUTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRoleUsingPUTUnauthorized

type UpdateRoleUsingPUTUnauthorized struct {
}

UpdateRoleUsingPUTUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateRoleUsingPUTUnauthorized

func NewUpdateRoleUsingPUTUnauthorized() *UpdateRoleUsingPUTUnauthorized

NewUpdateRoleUsingPUTUnauthorized creates a UpdateRoleUsingPUTUnauthorized with default headers values

func (*UpdateRoleUsingPUTUnauthorized) Error

Jump to

Keyboard shortcuts

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