Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRole(params *CreateRoleParams, opts ...ClientOption) (*CreateRoleOK, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams, opts ...ClientOption) (*DeleteRoleOK, error)
- func (a *Client) GetUserRoleNexts(params *GetUserRoleNextsParams, opts ...ClientOption) (*GetUserRoleNextsOK, error)
- func (a *Client) GetUserRoleNextsConnection(params *GetUserRoleNextsConnectionParams, opts ...ClientOption) (*GetUserRoleNextsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRole(params *UpdateRoleParams, opts ...ClientOption) (*UpdateRoleOK, error)
- type ClientOption
- type ClientService
- type CreateRoleBadRequest
- type CreateRoleInternalServerError
- type CreateRoleNotFound
- type CreateRoleOK
- type CreateRoleParams
- func (o *CreateRoleParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateRoleParams) SetContext(ctx context.Context)
- func (o *CreateRoleParams) SetDefaults()
- func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleParams) SetRequestBody(requestBody []*models.RoleCreationParams)
- func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleParams) WithContentLanguage(contentLanguage *string) *CreateRoleParams
- func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
- func (o *CreateRoleParams) WithDefaults() *CreateRoleParams
- func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
- func (o *CreateRoleParams) WithRequestBody(requestBody []*models.RoleCreationParams) *CreateRoleParams
- func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
- func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleReader
- type DeleteRoleBadRequest
- type DeleteRoleInternalServerError
- type DeleteRoleNotFound
- type DeleteRoleOK
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetDefaults()
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetRequestBody(requestBody *models.RoleDeletionParams)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContentLanguage(contentLanguage *string) *DeleteRoleParams
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithRequestBody(requestBody *models.RoleDeletionParams) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleReader
- type GetUserRoleNextsBadRequest
- type GetUserRoleNextsConnectionBadRequest
- type GetUserRoleNextsConnectionInternalServerError
- type GetUserRoleNextsConnectionNotFound
- type GetUserRoleNextsConnectionOK
- type GetUserRoleNextsConnectionParams
- func NewGetUserRoleNextsConnectionParams() *GetUserRoleNextsConnectionParams
- func NewGetUserRoleNextsConnectionParamsWithContext(ctx context.Context) *GetUserRoleNextsConnectionParams
- func NewGetUserRoleNextsConnectionParamsWithHTTPClient(client *http.Client) *GetUserRoleNextsConnectionParams
- func NewGetUserRoleNextsConnectionParamsWithTimeout(timeout time.Duration) *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUserRoleNextsConnectionParams) SetContext(ctx context.Context)
- func (o *GetUserRoleNextsConnectionParams) SetDefaults()
- func (o *GetUserRoleNextsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRoleNextsConnectionParams) SetRequestBody(requestBody *models.GetUserRoleNextsConnectionRequestBody)
- func (o *GetUserRoleNextsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRoleNextsConnectionParams) WithContentLanguage(contentLanguage *string) *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) WithContext(ctx context.Context) *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) WithDefaults() *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) WithHTTPClient(client *http.Client) *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) WithRequestBody(requestBody *models.GetUserRoleNextsConnectionRequestBody) *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) WithTimeout(timeout time.Duration) *GetUserRoleNextsConnectionParams
- func (o *GetUserRoleNextsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRoleNextsConnectionReader
- type GetUserRoleNextsInternalServerError
- type GetUserRoleNextsNotFound
- type GetUserRoleNextsOK
- type GetUserRoleNextsParams
- func NewGetUserRoleNextsParams() *GetUserRoleNextsParams
- func NewGetUserRoleNextsParamsWithContext(ctx context.Context) *GetUserRoleNextsParams
- func NewGetUserRoleNextsParamsWithHTTPClient(client *http.Client) *GetUserRoleNextsParams
- func NewGetUserRoleNextsParamsWithTimeout(timeout time.Duration) *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUserRoleNextsParams) SetContext(ctx context.Context)
- func (o *GetUserRoleNextsParams) SetDefaults()
- func (o *GetUserRoleNextsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRoleNextsParams) SetRequestBody(requestBody *models.GetUserRoleNextsRequestBody)
- func (o *GetUserRoleNextsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRoleNextsParams) WithContentLanguage(contentLanguage *string) *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) WithContext(ctx context.Context) *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) WithDefaults() *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) WithHTTPClient(client *http.Client) *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) WithRequestBody(requestBody *models.GetUserRoleNextsRequestBody) *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) WithTimeout(timeout time.Duration) *GetUserRoleNextsParams
- func (o *GetUserRoleNextsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRoleNextsReader
- type UpdateRoleBadRequest
- type UpdateRoleInternalServerError
- type UpdateRoleNotFound
- type UpdateRoleOK
- type UpdateRoleParams
- func (o *UpdateRoleParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateRoleParams) SetContext(ctx context.Context)
- func (o *UpdateRoleParams) SetDefaults()
- func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleParams) SetRequestBody(requestBody *models.RoleUpdationParams)
- func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleParams) WithContentLanguage(contentLanguage *string) *UpdateRoleParams
- func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
- func (o *UpdateRoleParams) WithDefaults() *UpdateRoleParams
- func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
- func (o *UpdateRoleParams) WithRequestBody(requestBody *models.RoleUpdationParams) *UpdateRoleParams
- func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
- func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRoleReader
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 ¶
CreateRoleBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type CreateRoleInternalServerError ¶
CreateRoleInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateRoleInternalServerError ¶
func NewCreateRoleInternalServerError() *CreateRoleInternalServerError
NewCreateRoleInternalServerError creates a CreateRoleInternalServerError with default headers values
func (*CreateRoleInternalServerError) Error ¶
func (o *CreateRoleInternalServerError) Error() string
func (*CreateRoleInternalServerError) GetPayload ¶
func (o *CreateRoleInternalServerError) GetPayload() *models.ErrorBody
type CreateRoleNotFound ¶
CreateRoleNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateRoleNotFound ¶
func NewCreateRoleNotFound() *CreateRoleNotFound
NewCreateRoleNotFound creates a CreateRoleNotFound with default headers values
func (*CreateRoleNotFound) Error ¶
func (o *CreateRoleNotFound) Error() string
func (*CreateRoleNotFound) GetPayload ¶
func (o *CreateRoleNotFound) GetPayload() *models.ErrorBody
type CreateRoleOK ¶
type CreateRoleOK struct { XTowerRequestID string Payload []*models.WithTaskUserRoleNext }
CreateRoleOK describes a response with status code 200, with default header values.
CreateRoleOK create role o k
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 ¶
DeleteRoleBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type DeleteRoleInternalServerError ¶
DeleteRoleInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteRoleInternalServerError ¶
func NewDeleteRoleInternalServerError() *DeleteRoleInternalServerError
NewDeleteRoleInternalServerError creates a DeleteRoleInternalServerError with default headers values
func (*DeleteRoleInternalServerError) Error ¶
func (o *DeleteRoleInternalServerError) Error() string
func (*DeleteRoleInternalServerError) GetPayload ¶
func (o *DeleteRoleInternalServerError) GetPayload() *models.ErrorBody
type DeleteRoleNotFound ¶
DeleteRoleNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteRoleNotFound ¶
func NewDeleteRoleNotFound() *DeleteRoleNotFound
NewDeleteRoleNotFound creates a DeleteRoleNotFound with default headers values
func (*DeleteRoleNotFound) Error ¶
func (o *DeleteRoleNotFound) Error() string
func (*DeleteRoleNotFound) GetPayload ¶
func (o *DeleteRoleNotFound) GetPayload() *models.ErrorBody
type DeleteRoleOK ¶
type DeleteRoleOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteRole }
DeleteRoleOK describes a response with status code 200, with default header values.
DeleteRoleOK delete role o k
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 ¶
GetUserRoleNextsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUserRoleNextsBadRequest ¶
func NewGetUserRoleNextsBadRequest() *GetUserRoleNextsBadRequest
NewGetUserRoleNextsBadRequest creates a GetUserRoleNextsBadRequest with default headers values
func (*GetUserRoleNextsBadRequest) Error ¶
func (o *GetUserRoleNextsBadRequest) Error() string
func (*GetUserRoleNextsBadRequest) GetPayload ¶
func (o *GetUserRoleNextsBadRequest) GetPayload() *models.ErrorBody
type GetUserRoleNextsConnectionBadRequest ¶
type GetUserRoleNextsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetUserRoleNextsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUserRoleNextsConnectionBadRequest ¶
func NewGetUserRoleNextsConnectionBadRequest() *GetUserRoleNextsConnectionBadRequest
NewGetUserRoleNextsConnectionBadRequest creates a GetUserRoleNextsConnectionBadRequest with default headers values
func (*GetUserRoleNextsConnectionBadRequest) Error ¶
func (o *GetUserRoleNextsConnectionBadRequest) Error() string
func (*GetUserRoleNextsConnectionBadRequest) GetPayload ¶
func (o *GetUserRoleNextsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetUserRoleNextsConnectionInternalServerError ¶
type GetUserRoleNextsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetUserRoleNextsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUserRoleNextsConnectionInternalServerError ¶
func NewGetUserRoleNextsConnectionInternalServerError() *GetUserRoleNextsConnectionInternalServerError
NewGetUserRoleNextsConnectionInternalServerError creates a GetUserRoleNextsConnectionInternalServerError with default headers values
func (*GetUserRoleNextsConnectionInternalServerError) Error ¶
func (o *GetUserRoleNextsConnectionInternalServerError) Error() string
func (*GetUserRoleNextsConnectionInternalServerError) GetPayload ¶
func (o *GetUserRoleNextsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetUserRoleNextsConnectionNotFound ¶
GetUserRoleNextsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUserRoleNextsConnectionNotFound ¶
func NewGetUserRoleNextsConnectionNotFound() *GetUserRoleNextsConnectionNotFound
NewGetUserRoleNextsConnectionNotFound creates a GetUserRoleNextsConnectionNotFound with default headers values
func (*GetUserRoleNextsConnectionNotFound) Error ¶
func (o *GetUserRoleNextsConnectionNotFound) Error() string
func (*GetUserRoleNextsConnectionNotFound) GetPayload ¶
func (o *GetUserRoleNextsConnectionNotFound) GetPayload() *models.ErrorBody
type GetUserRoleNextsConnectionOK ¶
type GetUserRoleNextsConnectionOK struct { XTowerRequestID string Payload *models.UserRoleNextConnection }
GetUserRoleNextsConnectionOK describes a response with status code 200, with default header values.
GetUserRoleNextsConnectionOK get user role nexts connection o k
func NewGetUserRoleNextsConnectionOK ¶
func NewGetUserRoleNextsConnectionOK() *GetUserRoleNextsConnectionOK
NewGetUserRoleNextsConnectionOK creates a GetUserRoleNextsConnectionOK with default headers values
func (*GetUserRoleNextsConnectionOK) Error ¶
func (o *GetUserRoleNextsConnectionOK) Error() string
func (*GetUserRoleNextsConnectionOK) GetPayload ¶
func (o *GetUserRoleNextsConnectionOK) GetPayload() *models.UserRoleNextConnection
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 ¶
func (o *GetUserRoleNextsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetUserRoleNextsConnectionParams) SetRequestBody(requestBody *models.GetUserRoleNextsConnectionRequestBody)
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 ¶
func (o *GetUserRoleNextsConnectionParams) WithContext(ctx context.Context) *GetUserRoleNextsConnectionParams
WithContext adds the context to the get user role nexts connection params
func (*GetUserRoleNextsConnectionParams) WithDefaults ¶
func (o *GetUserRoleNextsConnectionParams) WithDefaults() *GetUserRoleNextsConnectionParams
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 ¶
func (o *GetUserRoleNextsConnectionParams) WithHTTPClient(client *http.Client) *GetUserRoleNextsConnectionParams
WithHTTPClient adds the HTTPClient to the get user role nexts connection params
func (*GetUserRoleNextsConnectionParams) WithRequestBody ¶
func (o *GetUserRoleNextsConnectionParams) WithRequestBody(requestBody *models.GetUserRoleNextsConnectionRequestBody) *GetUserRoleNextsConnectionParams
WithRequestBody adds the requestBody to the get user role nexts connection params
func (*GetUserRoleNextsConnectionParams) WithTimeout ¶
func (o *GetUserRoleNextsConnectionParams) WithTimeout(timeout time.Duration) *GetUserRoleNextsConnectionParams
WithTimeout adds the timeout to the get user role nexts connection params
func (*GetUserRoleNextsConnectionParams) WriteToRequest ¶
func (o *GetUserRoleNextsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetUserRoleNextsInternalServerError ¶
type GetUserRoleNextsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetUserRoleNextsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUserRoleNextsInternalServerError ¶
func NewGetUserRoleNextsInternalServerError() *GetUserRoleNextsInternalServerError
NewGetUserRoleNextsInternalServerError creates a GetUserRoleNextsInternalServerError with default headers values
func (*GetUserRoleNextsInternalServerError) Error ¶
func (o *GetUserRoleNextsInternalServerError) Error() string
func (*GetUserRoleNextsInternalServerError) GetPayload ¶
func (o *GetUserRoleNextsInternalServerError) GetPayload() *models.ErrorBody
type GetUserRoleNextsNotFound ¶
GetUserRoleNextsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUserRoleNextsNotFound ¶
func NewGetUserRoleNextsNotFound() *GetUserRoleNextsNotFound
NewGetUserRoleNextsNotFound creates a GetUserRoleNextsNotFound with default headers values
func (*GetUserRoleNextsNotFound) Error ¶
func (o *GetUserRoleNextsNotFound) Error() string
func (*GetUserRoleNextsNotFound) GetPayload ¶
func (o *GetUserRoleNextsNotFound) GetPayload() *models.ErrorBody
type GetUserRoleNextsOK ¶
type GetUserRoleNextsOK struct { XTowerRequestID string Payload []*models.UserRoleNext }
GetUserRoleNextsOK describes a response with status code 200, with default header values.
GetUserRoleNextsOK get user role nexts o k
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 ¶
func (o *GetUserRoleNextsParams) WithContext(ctx context.Context) *GetUserRoleNextsParams
WithContext adds the context to the get user role nexts params
func (*GetUserRoleNextsParams) WithDefaults ¶
func (o *GetUserRoleNextsParams) WithDefaults() *GetUserRoleNextsParams
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 ¶
func (o *GetUserRoleNextsParams) WithRequestBody(requestBody *models.GetUserRoleNextsRequestBody) *GetUserRoleNextsParams
WithRequestBody adds the requestBody to the get user role nexts params
func (*GetUserRoleNextsParams) WithTimeout ¶
func (o *GetUserRoleNextsParams) WithTimeout(timeout time.Duration) *GetUserRoleNextsParams
WithTimeout adds the timeout to the get user role nexts params
func (*GetUserRoleNextsParams) WriteToRequest ¶
func (o *GetUserRoleNextsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
UpdateRoleBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type UpdateRoleInternalServerError ¶
UpdateRoleInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateRoleInternalServerError ¶
func NewUpdateRoleInternalServerError() *UpdateRoleInternalServerError
NewUpdateRoleInternalServerError creates a UpdateRoleInternalServerError with default headers values
func (*UpdateRoleInternalServerError) Error ¶
func (o *UpdateRoleInternalServerError) Error() string
func (*UpdateRoleInternalServerError) GetPayload ¶
func (o *UpdateRoleInternalServerError) GetPayload() *models.ErrorBody
type UpdateRoleNotFound ¶
UpdateRoleNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateRoleNotFound ¶
func NewUpdateRoleNotFound() *UpdateRoleNotFound
NewUpdateRoleNotFound creates a UpdateRoleNotFound with default headers values
func (*UpdateRoleNotFound) Error ¶
func (o *UpdateRoleNotFound) Error() string
func (*UpdateRoleNotFound) GetPayload ¶
func (o *UpdateRoleNotFound) GetPayload() *models.ErrorBody
type UpdateRoleOK ¶
type UpdateRoleOK struct { XTowerRequestID string Payload []*models.WithTaskUserRoleNext }
UpdateRoleOK describes a response with status code 200, with default header values.
UpdateRoleOK update role o k
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.
Source Files ¶
- create_role_parameters.go
- create_role_responses.go
- delete_role_parameters.go
- delete_role_responses.go
- get_user_role_nexts_connection_parameters.go
- get_user_role_nexts_connection_responses.go
- get_user_role_nexts_parameters.go
- get_user_role_nexts_responses.go
- update_role_parameters.go
- update_role_responses.go
- user_role_next_client.go