user_role_next

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 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 role next API

func (*Client) CreateRole

func (a *Client) CreateRole(params *CreateRoleParams, opts ...ClientOption) (*CreateRoleOK, error)

CreateRole create role API

func (*Client) DeleteRole

func (a *Client) DeleteRole(params *DeleteRoleParams, opts ...ClientOption) (*DeleteRoleOK, error)

DeleteRole delete role API

func (*Client) GetUserRoleNexts

func (a *Client) GetUserRoleNexts(params *GetUserRoleNextsParams, opts ...ClientOption) (*GetUserRoleNextsOK, error)

GetUserRoleNexts get user role nexts API

func (*Client) GetUserRoleNextsConnection

func (a *Client) GetUserRoleNextsConnection(params *GetUserRoleNextsConnectionParams, opts ...ClientOption) (*GetUserRoleNextsConnectionOK, error)

GetUserRoleNextsConnection get user role nexts connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRole

func (a *Client) UpdateRole(params *UpdateRoleParams, opts ...ClientOption) (*UpdateRoleOK, error)

UpdateRole update role API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateRole(params *CreateRoleParams, opts ...ClientOption) (*CreateRoleOK, error)

	DeleteRole(params *DeleteRoleParams, opts ...ClientOption) (*DeleteRoleOK, error)

	GetUserRoleNexts(params *GetUserRoleNextsParams, opts ...ClientOption) (*GetUserRoleNextsOK, error)

	GetUserRoleNextsConnection(params *GetUserRoleNextsConnectionParams, opts ...ClientOption) (*GetUserRoleNextsConnectionOK, error)

	UpdateRole(params *UpdateRoleParams, opts ...ClientOption) (*UpdateRoleOK, 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 user role next API client.

type CreateRoleBadRequest

type CreateRoleBadRequest struct {
	Payload string
}
CreateRoleBadRequest describes a response with status code 400, with default header values.

CreateRoleBadRequest create role bad request

func NewCreateRoleBadRequest

func NewCreateRoleBadRequest() *CreateRoleBadRequest

NewCreateRoleBadRequest creates a CreateRoleBadRequest with default headers values

func (*CreateRoleBadRequest) Error

func (o *CreateRoleBadRequest) Error() string

func (*CreateRoleBadRequest) GetPayload

func (o *CreateRoleBadRequest) GetPayload() string

type CreateRoleOK

type CreateRoleOK struct {
	Payload []*models.WithTaskUserRoleNext
}
CreateRoleOK describes a response with status code 200, with default header values.

Ok

func NewCreateRoleOK

func NewCreateRoleOK() *CreateRoleOK

NewCreateRoleOK creates a CreateRoleOK with default headers values

func (*CreateRoleOK) Error

func (o *CreateRoleOK) Error() string

func (*CreateRoleOK) GetPayload

func (o *CreateRoleOK) GetPayload() []*models.WithTaskUserRoleNext

type CreateRoleParams

type CreateRoleParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.RoleCreationParams

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

CreateRoleParams contains all the parameters to send to the API endpoint

for the create role operation.

Typically these are written to a http.Request.

func NewCreateRoleParams

func NewCreateRoleParams() *CreateRoleParams

NewCreateRoleParams creates a new CreateRoleParams 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 NewCreateRoleParamsWithContext

func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams

NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the ability to set a context for a request.

func NewCreateRoleParamsWithHTTPClient

func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams

NewCreateRoleParamsWithHTTPClient creates a new CreateRoleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRoleParamsWithTimeout

func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams

NewCreateRoleParamsWithTimeout creates a new CreateRoleParams object with the ability to set a timeout on a request.

func (*CreateRoleParams) SetContentLanguage

func (o *CreateRoleParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create role params

func (*CreateRoleParams) SetContext

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

SetContext adds the context to the create role params

func (*CreateRoleParams) SetDefaults

func (o *CreateRoleParams) SetDefaults()

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

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

func (*CreateRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create role params

func (*CreateRoleParams) SetRequestBody

func (o *CreateRoleParams) SetRequestBody(requestBody []*models.RoleCreationParams)

SetRequestBody adds the requestBody to the create role params

func (*CreateRoleParams) SetTimeout

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

SetTimeout adds the timeout to the create role params

func (*CreateRoleParams) WithContentLanguage

func (o *CreateRoleParams) WithContentLanguage(contentLanguage *string) *CreateRoleParams

WithContentLanguage adds the contentLanguage to the create role params

func (*CreateRoleParams) WithContext

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

WithContext adds the context to the create role params

func (*CreateRoleParams) WithDefaults

func (o *CreateRoleParams) WithDefaults() *CreateRoleParams

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

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

func (*CreateRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create role params

func (*CreateRoleParams) WithRequestBody

func (o *CreateRoleParams) WithRequestBody(requestBody []*models.RoleCreationParams) *CreateRoleParams

WithRequestBody adds the requestBody to the create role params

func (*CreateRoleParams) WithTimeout

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

WithTimeout adds the timeout to the create role params

func (*CreateRoleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateRoleReader

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

CreateRoleReader is a Reader for the CreateRole structure.

func (*CreateRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRoleBadRequest

type DeleteRoleBadRequest struct {
	Payload string
}
DeleteRoleBadRequest describes a response with status code 400, with default header values.

DeleteRoleBadRequest delete role bad request

func NewDeleteRoleBadRequest

func NewDeleteRoleBadRequest() *DeleteRoleBadRequest

NewDeleteRoleBadRequest creates a DeleteRoleBadRequest with default headers values

func (*DeleteRoleBadRequest) Error

func (o *DeleteRoleBadRequest) Error() string

func (*DeleteRoleBadRequest) GetPayload

func (o *DeleteRoleBadRequest) GetPayload() string

type DeleteRoleOK

type DeleteRoleOK struct {
	Payload []*models.WithTaskDeleteRole
}
DeleteRoleOK describes a response with status code 200, with default header values.

Ok

func NewDeleteRoleOK

func NewDeleteRoleOK() *DeleteRoleOK

NewDeleteRoleOK creates a DeleteRoleOK with default headers values

func (*DeleteRoleOK) Error

func (o *DeleteRoleOK) Error() string

func (*DeleteRoleOK) GetPayload

func (o *DeleteRoleOK) GetPayload() []*models.WithTaskDeleteRole

type DeleteRoleParams

type DeleteRoleParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.RoleDeletionParams

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

DeleteRoleParams contains all the parameters to send to the API endpoint

for the delete role operation.

Typically these are written to a http.Request.

func NewDeleteRoleParams

func NewDeleteRoleParams() *DeleteRoleParams

NewDeleteRoleParams creates a new DeleteRoleParams 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 NewDeleteRoleParamsWithContext

func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams

NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the ability to set a context for a request.

func NewDeleteRoleParamsWithHTTPClient

func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams

NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRoleParamsWithTimeout

func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams

NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the ability to set a timeout on a request.

func (*DeleteRoleParams) SetContentLanguage

func (o *DeleteRoleParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete role params

func (*DeleteRoleParams) SetContext

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

SetContext adds the context to the delete role params

func (*DeleteRoleParams) SetDefaults

func (o *DeleteRoleParams) SetDefaults()

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

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

func (*DeleteRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete role params

func (*DeleteRoleParams) SetRequestBody

func (o *DeleteRoleParams) SetRequestBody(requestBody *models.RoleDeletionParams)

SetRequestBody adds the requestBody to the delete role params

func (*DeleteRoleParams) SetTimeout

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

SetTimeout adds the timeout to the delete role params

func (*DeleteRoleParams) WithContentLanguage

func (o *DeleteRoleParams) WithContentLanguage(contentLanguage *string) *DeleteRoleParams

WithContentLanguage adds the contentLanguage to the delete role params

func (*DeleteRoleParams) WithContext

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

WithContext adds the context to the delete role params

func (*DeleteRoleParams) WithDefaults

func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams

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

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

func (*DeleteRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete role params

func (*DeleteRoleParams) WithRequestBody

func (o *DeleteRoleParams) WithRequestBody(requestBody *models.RoleDeletionParams) *DeleteRoleParams

WithRequestBody adds the requestBody to the delete role params

func (*DeleteRoleParams) WithTimeout

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

WithTimeout adds the timeout to the delete role params

func (*DeleteRoleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRoleReader

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

DeleteRoleReader is a Reader for the DeleteRole structure.

func (*DeleteRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserRoleNextsBadRequest

type GetUserRoleNextsBadRequest struct {
	Payload string
}
GetUserRoleNextsBadRequest describes a response with status code 400, with default header values.

GetUserRoleNextsBadRequest get user role nexts bad request

func NewGetUserRoleNextsBadRequest

func NewGetUserRoleNextsBadRequest() *GetUserRoleNextsBadRequest

NewGetUserRoleNextsBadRequest creates a GetUserRoleNextsBadRequest with default headers values

func (*GetUserRoleNextsBadRequest) Error

func (*GetUserRoleNextsBadRequest) GetPayload

func (o *GetUserRoleNextsBadRequest) GetPayload() string

type GetUserRoleNextsConnectionBadRequest

type GetUserRoleNextsConnectionBadRequest struct {
	Payload string
}
GetUserRoleNextsConnectionBadRequest describes a response with status code 400, with default header values.

GetUserRoleNextsConnectionBadRequest get user role nexts connection bad request

func NewGetUserRoleNextsConnectionBadRequest

func NewGetUserRoleNextsConnectionBadRequest() *GetUserRoleNextsConnectionBadRequest

NewGetUserRoleNextsConnectionBadRequest creates a GetUserRoleNextsConnectionBadRequest with default headers values

func (*GetUserRoleNextsConnectionBadRequest) Error

func (*GetUserRoleNextsConnectionBadRequest) GetPayload

type GetUserRoleNextsConnectionOK

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

Ok

func NewGetUserRoleNextsConnectionOK

func NewGetUserRoleNextsConnectionOK() *GetUserRoleNextsConnectionOK

NewGetUserRoleNextsConnectionOK creates a GetUserRoleNextsConnectionOK with default headers values

func (*GetUserRoleNextsConnectionOK) Error

func (*GetUserRoleNextsConnectionOK) GetPayload

type GetUserRoleNextsConnectionParams

type GetUserRoleNextsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUserRoleNextsConnectionRequestBody

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

GetUserRoleNextsConnectionParams contains all the parameters to send to the API endpoint

for the get user role nexts connection operation.

Typically these are written to a http.Request.

func NewGetUserRoleNextsConnectionParams

func NewGetUserRoleNextsConnectionParams() *GetUserRoleNextsConnectionParams

NewGetUserRoleNextsConnectionParams creates a new GetUserRoleNextsConnectionParams 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 NewGetUserRoleNextsConnectionParamsWithContext

func NewGetUserRoleNextsConnectionParamsWithContext(ctx context.Context) *GetUserRoleNextsConnectionParams

NewGetUserRoleNextsConnectionParamsWithContext creates a new GetUserRoleNextsConnectionParams object with the ability to set a context for a request.

func NewGetUserRoleNextsConnectionParamsWithHTTPClient

func NewGetUserRoleNextsConnectionParamsWithHTTPClient(client *http.Client) *GetUserRoleNextsConnectionParams

NewGetUserRoleNextsConnectionParamsWithHTTPClient creates a new GetUserRoleNextsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserRoleNextsConnectionParamsWithTimeout

func NewGetUserRoleNextsConnectionParamsWithTimeout(timeout time.Duration) *GetUserRoleNextsConnectionParams

NewGetUserRoleNextsConnectionParamsWithTimeout creates a new GetUserRoleNextsConnectionParams object with the ability to set a timeout on a request.

func (*GetUserRoleNextsConnectionParams) SetContentLanguage

func (o *GetUserRoleNextsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) SetContext

SetContext adds the context to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) SetDefaults

func (o *GetUserRoleNextsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get user role nexts connection params (not the query body).

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

func (*GetUserRoleNextsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) WithContentLanguage

func (o *GetUserRoleNextsConnectionParams) WithContentLanguage(contentLanguage *string) *GetUserRoleNextsConnectionParams

WithContentLanguage adds the contentLanguage to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) WithContext

WithContext adds the context to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get user role nexts connection params (not the query body).

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

func (*GetUserRoleNextsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get user role nexts connection params

func (*GetUserRoleNextsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserRoleNextsConnectionReader

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

GetUserRoleNextsConnectionReader is a Reader for the GetUserRoleNextsConnection structure.

func (*GetUserRoleNextsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserRoleNextsOK

type GetUserRoleNextsOK struct {
	Payload []*models.UserRoleNext
}
GetUserRoleNextsOK describes a response with status code 200, with default header values.

Ok

func NewGetUserRoleNextsOK

func NewGetUserRoleNextsOK() *GetUserRoleNextsOK

NewGetUserRoleNextsOK creates a GetUserRoleNextsOK with default headers values

func (*GetUserRoleNextsOK) Error

func (o *GetUserRoleNextsOK) Error() string

func (*GetUserRoleNextsOK) GetPayload

func (o *GetUserRoleNextsOK) GetPayload() []*models.UserRoleNext

type GetUserRoleNextsParams

type GetUserRoleNextsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUserRoleNextsRequestBody

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

GetUserRoleNextsParams contains all the parameters to send to the API endpoint

for the get user role nexts operation.

Typically these are written to a http.Request.

func NewGetUserRoleNextsParams

func NewGetUserRoleNextsParams() *GetUserRoleNextsParams

NewGetUserRoleNextsParams creates a new GetUserRoleNextsParams 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 NewGetUserRoleNextsParamsWithContext

func NewGetUserRoleNextsParamsWithContext(ctx context.Context) *GetUserRoleNextsParams

NewGetUserRoleNextsParamsWithContext creates a new GetUserRoleNextsParams object with the ability to set a context for a request.

func NewGetUserRoleNextsParamsWithHTTPClient

func NewGetUserRoleNextsParamsWithHTTPClient(client *http.Client) *GetUserRoleNextsParams

NewGetUserRoleNextsParamsWithHTTPClient creates a new GetUserRoleNextsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserRoleNextsParamsWithTimeout

func NewGetUserRoleNextsParamsWithTimeout(timeout time.Duration) *GetUserRoleNextsParams

NewGetUserRoleNextsParamsWithTimeout creates a new GetUserRoleNextsParams object with the ability to set a timeout on a request.

func (*GetUserRoleNextsParams) SetContentLanguage

func (o *GetUserRoleNextsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get user role nexts params

func (*GetUserRoleNextsParams) SetContext

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

SetContext adds the context to the get user role nexts params

func (*GetUserRoleNextsParams) SetDefaults

func (o *GetUserRoleNextsParams) SetDefaults()

SetDefaults hydrates default values in the get user role nexts params (not the query body).

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

func (*GetUserRoleNextsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user role nexts params

func (*GetUserRoleNextsParams) SetRequestBody

func (o *GetUserRoleNextsParams) SetRequestBody(requestBody *models.GetUserRoleNextsRequestBody)

SetRequestBody adds the requestBody to the get user role nexts params

func (*GetUserRoleNextsParams) SetTimeout

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

SetTimeout adds the timeout to the get user role nexts params

func (*GetUserRoleNextsParams) WithContentLanguage

func (o *GetUserRoleNextsParams) WithContentLanguage(contentLanguage *string) *GetUserRoleNextsParams

WithContentLanguage adds the contentLanguage to the get user role nexts params

func (*GetUserRoleNextsParams) WithContext

WithContext adds the context to the get user role nexts params

func (*GetUserRoleNextsParams) WithDefaults

WithDefaults hydrates default values in the get user role nexts params (not the query body).

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

func (*GetUserRoleNextsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user role nexts params

func (*GetUserRoleNextsParams) WithRequestBody

WithRequestBody adds the requestBody to the get user role nexts params

func (*GetUserRoleNextsParams) WithTimeout

WithTimeout adds the timeout to the get user role nexts params

func (*GetUserRoleNextsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserRoleNextsReader

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

GetUserRoleNextsReader is a Reader for the GetUserRoleNexts structure.

func (*GetUserRoleNextsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRoleBadRequest

type UpdateRoleBadRequest struct {
	Payload string
}
UpdateRoleBadRequest describes a response with status code 400, with default header values.

UpdateRoleBadRequest update role bad request

func NewUpdateRoleBadRequest

func NewUpdateRoleBadRequest() *UpdateRoleBadRequest

NewUpdateRoleBadRequest creates a UpdateRoleBadRequest with default headers values

func (*UpdateRoleBadRequest) Error

func (o *UpdateRoleBadRequest) Error() string

func (*UpdateRoleBadRequest) GetPayload

func (o *UpdateRoleBadRequest) GetPayload() string

type UpdateRoleOK

type UpdateRoleOK struct {
	Payload []*models.WithTaskUserRoleNext
}
UpdateRoleOK describes a response with status code 200, with default header values.

Ok

func NewUpdateRoleOK

func NewUpdateRoleOK() *UpdateRoleOK

NewUpdateRoleOK creates a UpdateRoleOK with default headers values

func (*UpdateRoleOK) Error

func (o *UpdateRoleOK) Error() string

func (*UpdateRoleOK) GetPayload

func (o *UpdateRoleOK) GetPayload() []*models.WithTaskUserRoleNext

type UpdateRoleParams

type UpdateRoleParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.RoleUpdationParams

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

UpdateRoleParams contains all the parameters to send to the API endpoint

for the update role operation.

Typically these are written to a http.Request.

func NewUpdateRoleParams

func NewUpdateRoleParams() *UpdateRoleParams

NewUpdateRoleParams creates a new UpdateRoleParams 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 NewUpdateRoleParamsWithContext

func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams

NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with the ability to set a context for a request.

func NewUpdateRoleParamsWithHTTPClient

func NewUpdateRoleParamsWithHTTPClient(client *http.Client) *UpdateRoleParams

NewUpdateRoleParamsWithHTTPClient creates a new UpdateRoleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRoleParamsWithTimeout

func NewUpdateRoleParamsWithTimeout(timeout time.Duration) *UpdateRoleParams

NewUpdateRoleParamsWithTimeout creates a new UpdateRoleParams object with the ability to set a timeout on a request.

func (*UpdateRoleParams) SetContentLanguage

func (o *UpdateRoleParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update role params

func (*UpdateRoleParams) SetContext

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

SetContext adds the context to the update role params

func (*UpdateRoleParams) SetDefaults

func (o *UpdateRoleParams) SetDefaults()

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

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

func (*UpdateRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update role params

func (*UpdateRoleParams) SetRequestBody

func (o *UpdateRoleParams) SetRequestBody(requestBody *models.RoleUpdationParams)

SetRequestBody adds the requestBody to the update role params

func (*UpdateRoleParams) SetTimeout

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

SetTimeout adds the timeout to the update role params

func (*UpdateRoleParams) WithContentLanguage

func (o *UpdateRoleParams) WithContentLanguage(contentLanguage *string) *UpdateRoleParams

WithContentLanguage adds the contentLanguage to the update role params

func (*UpdateRoleParams) WithContext

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

WithContext adds the context to the update role params

func (*UpdateRoleParams) WithDefaults

func (o *UpdateRoleParams) WithDefaults() *UpdateRoleParams

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

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

func (*UpdateRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update role params

func (*UpdateRoleParams) WithRequestBody

func (o *UpdateRoleParams) WithRequestBody(requestBody *models.RoleUpdationParams) *UpdateRoleParams

WithRequestBody adds the requestBody to the update role params

func (*UpdateRoleParams) WithTimeout

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

WithTimeout adds the timeout to the update role params

func (*UpdateRoleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateRoleReader

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

UpdateRoleReader is a Reader for the UpdateRole structure.

func (*UpdateRoleReader) ReadResponse

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