Versions in this module Expand all Collapse all v0 v0.4.1 May 9, 2019 v0.4.0 Mar 30, 2019 Changes in this version + type BindUserRoleOK struct + Payload *models.OpenpitrixBindUserRoleResponse + func NewBindUserRoleOK() *BindUserRoleOK + func (o *BindUserRoleOK) Error() string + type BindUserRoleParams struct + Body *models.OpenpitrixBindUserRoleRequest + Context context.Context + HTTPClient *http.Client + func NewBindUserRoleParams() *BindUserRoleParams + func NewBindUserRoleParamsWithContext(ctx context.Context) *BindUserRoleParams + func NewBindUserRoleParamsWithHTTPClient(client *http.Client) *BindUserRoleParams + func NewBindUserRoleParamsWithTimeout(timeout time.Duration) *BindUserRoleParams + func (o *BindUserRoleParams) SetBody(body *models.OpenpitrixBindUserRoleRequest) + func (o *BindUserRoleParams) SetContext(ctx context.Context) + func (o *BindUserRoleParams) SetHTTPClient(client *http.Client) + func (o *BindUserRoleParams) SetTimeout(timeout time.Duration) + func (o *BindUserRoleParams) WithBody(body *models.OpenpitrixBindUserRoleRequest) *BindUserRoleParams + func (o *BindUserRoleParams) WithContext(ctx context.Context) *BindUserRoleParams + func (o *BindUserRoleParams) WithHTTPClient(client *http.Client) *BindUserRoleParams + func (o *BindUserRoleParams) WithTimeout(timeout time.Duration) *BindUserRoleParams + func (o *BindUserRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type BindUserRoleReader struct + func (o *BindUserRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CanDoOK struct + Payload *models.OpenpitrixCanDoResponse + func NewCanDoOK() *CanDoOK + func (o *CanDoOK) Error() string + type CanDoParams struct + Body *models.OpenpitrixCanDoRequest + Context context.Context + HTTPClient *http.Client + func NewCanDoParams() *CanDoParams + func NewCanDoParamsWithContext(ctx context.Context) *CanDoParams + func NewCanDoParamsWithHTTPClient(client *http.Client) *CanDoParams + func NewCanDoParamsWithTimeout(timeout time.Duration) *CanDoParams + func (o *CanDoParams) SetBody(body *models.OpenpitrixCanDoRequest) + func (o *CanDoParams) SetContext(ctx context.Context) + func (o *CanDoParams) SetHTTPClient(client *http.Client) + func (o *CanDoParams) SetTimeout(timeout time.Duration) + func (o *CanDoParams) WithBody(body *models.OpenpitrixCanDoRequest) *CanDoParams + func (o *CanDoParams) WithContext(ctx context.Context) *CanDoParams + func (o *CanDoParams) WithHTTPClient(client *http.Client) *CanDoParams + func (o *CanDoParams) WithTimeout(timeout time.Duration) *CanDoParams + func (o *CanDoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CanDoReader struct + func (o *CanDoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client + func (a *Client) BindUserRole(params *BindUserRoleParams, authInfo runtime.ClientAuthInfoWriter) (*BindUserRoleOK, error) + func (a *Client) CanDo(params *CanDoParams, authInfo runtime.ClientAuthInfoWriter) (*CanDoOK, error) + func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleOK, error) + func (a *Client) DeleteRoles(params *DeleteRolesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolesOK, error) + func (a *Client) DescribeRoles(params *DescribeRolesParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeRolesOK, error) + func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, error) + func (a *Client) GetRoleModule(params *GetRoleModuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleModuleOK, error) + func (a *Client) ModifyRole(params *ModifyRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyRoleOK, error) + func (a *Client) ModifyRoleModule(params *ModifyRoleModuleParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyRoleModuleOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UnbindUserRole(params *UnbindUserRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UnbindUserRoleOK, error) + type CreateRoleOK struct + Payload *models.OpenpitrixCreateRoleResponse + func NewCreateRoleOK() *CreateRoleOK + func (o *CreateRoleOK) Error() string + type CreateRoleParams struct + Body *models.OpenpitrixCreateRoleRequest + Context context.Context + HTTPClient *http.Client + func NewCreateRoleParams() *CreateRoleParams + func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams + func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams + func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams + func (o *CreateRoleParams) SetBody(body *models.OpenpitrixCreateRoleRequest) + func (o *CreateRoleParams) SetContext(ctx context.Context) + func (o *CreateRoleParams) SetHTTPClient(client *http.Client) + func (o *CreateRoleParams) SetTimeout(timeout time.Duration) + func (o *CreateRoleParams) WithBody(body *models.OpenpitrixCreateRoleRequest) *CreateRoleParams + func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams + func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams + func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams + func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateRoleReader struct + func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteRolesOK struct + Payload *models.OpenpitrixDeleteRolesResponse + func NewDeleteRolesOK() *DeleteRolesOK + func (o *DeleteRolesOK) Error() string + type DeleteRolesParams struct + Body *models.OpenpitrixDeleteRolesRequest + Context context.Context + HTTPClient *http.Client + func NewDeleteRolesParams() *DeleteRolesParams + func NewDeleteRolesParamsWithContext(ctx context.Context) *DeleteRolesParams + func NewDeleteRolesParamsWithHTTPClient(client *http.Client) *DeleteRolesParams + func NewDeleteRolesParamsWithTimeout(timeout time.Duration) *DeleteRolesParams + func (o *DeleteRolesParams) SetBody(body *models.OpenpitrixDeleteRolesRequest) + func (o *DeleteRolesParams) SetContext(ctx context.Context) + func (o *DeleteRolesParams) SetHTTPClient(client *http.Client) + func (o *DeleteRolesParams) SetTimeout(timeout time.Duration) + func (o *DeleteRolesParams) WithBody(body *models.OpenpitrixDeleteRolesRequest) *DeleteRolesParams + func (o *DeleteRolesParams) WithContext(ctx context.Context) *DeleteRolesParams + func (o *DeleteRolesParams) WithHTTPClient(client *http.Client) *DeleteRolesParams + func (o *DeleteRolesParams) WithTimeout(timeout time.Duration) *DeleteRolesParams + func (o *DeleteRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteRolesReader struct + func (o *DeleteRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DescribeRolesOK struct + Payload *models.OpenpitrixDescribeRolesResponse + func NewDescribeRolesOK() *DescribeRolesOK + func (o *DescribeRolesOK) Error() string + type DescribeRolesParams struct + ActionBundleID []string + Context context.Context + HTTPClient *http.Client + Limit *int64 + Offset *int64 + Portal []string + Reverse *bool + RoleID []string + RoleName []string + SearchWord *string + SortKey *string + Status []string + func NewDescribeRolesParams() *DescribeRolesParams + func NewDescribeRolesParamsWithContext(ctx context.Context) *DescribeRolesParams + func NewDescribeRolesParamsWithHTTPClient(client *http.Client) *DescribeRolesParams + func NewDescribeRolesParamsWithTimeout(timeout time.Duration) *DescribeRolesParams + func (o *DescribeRolesParams) SetActionBundleID(actionBundleID []string) + func (o *DescribeRolesParams) SetContext(ctx context.Context) + func (o *DescribeRolesParams) SetHTTPClient(client *http.Client) + func (o *DescribeRolesParams) SetLimit(limit *int64) + func (o *DescribeRolesParams) SetOffset(offset *int64) + func (o *DescribeRolesParams) SetPortal(portal []string) + func (o *DescribeRolesParams) SetReverse(reverse *bool) + func (o *DescribeRolesParams) SetRoleID(roleID []string) + func (o *DescribeRolesParams) SetRoleName(roleName []string) + func (o *DescribeRolesParams) SetSearchWord(searchWord *string) + func (o *DescribeRolesParams) SetSortKey(sortKey *string) + func (o *DescribeRolesParams) SetStatus(status []string) + func (o *DescribeRolesParams) SetTimeout(timeout time.Duration) + func (o *DescribeRolesParams) WithActionBundleID(actionBundleID []string) *DescribeRolesParams + func (o *DescribeRolesParams) WithContext(ctx context.Context) *DescribeRolesParams + func (o *DescribeRolesParams) WithHTTPClient(client *http.Client) *DescribeRolesParams + func (o *DescribeRolesParams) WithLimit(limit *int64) *DescribeRolesParams + func (o *DescribeRolesParams) WithOffset(offset *int64) *DescribeRolesParams + func (o *DescribeRolesParams) WithPortal(portal []string) *DescribeRolesParams + func (o *DescribeRolesParams) WithReverse(reverse *bool) *DescribeRolesParams + func (o *DescribeRolesParams) WithRoleID(roleID []string) *DescribeRolesParams + func (o *DescribeRolesParams) WithRoleName(roleName []string) *DescribeRolesParams + func (o *DescribeRolesParams) WithSearchWord(searchWord *string) *DescribeRolesParams + func (o *DescribeRolesParams) WithSortKey(sortKey *string) *DescribeRolesParams + func (o *DescribeRolesParams) WithStatus(status []string) *DescribeRolesParams + func (o *DescribeRolesParams) WithTimeout(timeout time.Duration) *DescribeRolesParams + func (o *DescribeRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DescribeRolesReader struct + func (o *DescribeRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetRoleModuleOK struct + Payload *models.OpenpitrixGetRoleModuleResponse + func NewGetRoleModuleOK() *GetRoleModuleOK + func (o *GetRoleModuleOK) Error() string + type GetRoleModuleParams struct + Context context.Context + HTTPClient *http.Client + RoleID *string + func NewGetRoleModuleParams() *GetRoleModuleParams + func NewGetRoleModuleParamsWithContext(ctx context.Context) *GetRoleModuleParams + func NewGetRoleModuleParamsWithHTTPClient(client *http.Client) *GetRoleModuleParams + func NewGetRoleModuleParamsWithTimeout(timeout time.Duration) *GetRoleModuleParams + func (o *GetRoleModuleParams) SetContext(ctx context.Context) + func (o *GetRoleModuleParams) SetHTTPClient(client *http.Client) + func (o *GetRoleModuleParams) SetRoleID(roleID *string) + func (o *GetRoleModuleParams) SetTimeout(timeout time.Duration) + func (o *GetRoleModuleParams) WithContext(ctx context.Context) *GetRoleModuleParams + func (o *GetRoleModuleParams) WithHTTPClient(client *http.Client) *GetRoleModuleParams + func (o *GetRoleModuleParams) WithRoleID(roleID *string) *GetRoleModuleParams + func (o *GetRoleModuleParams) WithTimeout(timeout time.Duration) *GetRoleModuleParams + func (o *GetRoleModuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetRoleModuleReader struct + func (o *GetRoleModuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetRoleOK struct + Payload *models.OpenpitrixGetRoleResponse + func NewGetRoleOK() *GetRoleOK + func (o *GetRoleOK) Error() string + type GetRoleParams struct + Context context.Context + HTTPClient *http.Client + RoleID *string + func NewGetRoleParams() *GetRoleParams + func NewGetRoleParamsWithContext(ctx context.Context) *GetRoleParams + func NewGetRoleParamsWithHTTPClient(client *http.Client) *GetRoleParams + func NewGetRoleParamsWithTimeout(timeout time.Duration) *GetRoleParams + func (o *GetRoleParams) SetContext(ctx context.Context) + func (o *GetRoleParams) SetHTTPClient(client *http.Client) + func (o *GetRoleParams) SetRoleID(roleID *string) + func (o *GetRoleParams) SetTimeout(timeout time.Duration) + func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams + func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams + func (o *GetRoleParams) WithRoleID(roleID *string) *GetRoleParams + func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams + func (o *GetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetRoleReader struct + func (o *GetRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ModifyRoleModuleOK struct + Payload *models.OpenpitrixModifyRoleModuleResponse + func NewModifyRoleModuleOK() *ModifyRoleModuleOK + func (o *ModifyRoleModuleOK) Error() string + type ModifyRoleModuleParams struct + Body *models.OpenpitrixModifyRoleModuleRequest + Context context.Context + HTTPClient *http.Client + func NewModifyRoleModuleParams() *ModifyRoleModuleParams + func NewModifyRoleModuleParamsWithContext(ctx context.Context) *ModifyRoleModuleParams + func NewModifyRoleModuleParamsWithHTTPClient(client *http.Client) *ModifyRoleModuleParams + func NewModifyRoleModuleParamsWithTimeout(timeout time.Duration) *ModifyRoleModuleParams + func (o *ModifyRoleModuleParams) SetBody(body *models.OpenpitrixModifyRoleModuleRequest) + func (o *ModifyRoleModuleParams) SetContext(ctx context.Context) + func (o *ModifyRoleModuleParams) SetHTTPClient(client *http.Client) + func (o *ModifyRoleModuleParams) SetTimeout(timeout time.Duration) + func (o *ModifyRoleModuleParams) WithBody(body *models.OpenpitrixModifyRoleModuleRequest) *ModifyRoleModuleParams + func (o *ModifyRoleModuleParams) WithContext(ctx context.Context) *ModifyRoleModuleParams + func (o *ModifyRoleModuleParams) WithHTTPClient(client *http.Client) *ModifyRoleModuleParams + func (o *ModifyRoleModuleParams) WithTimeout(timeout time.Duration) *ModifyRoleModuleParams + func (o *ModifyRoleModuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ModifyRoleModuleReader struct + func (o *ModifyRoleModuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ModifyRoleOK struct + Payload *models.OpenpitrixModifyRoleResponse + func NewModifyRoleOK() *ModifyRoleOK + func (o *ModifyRoleOK) Error() string + type ModifyRoleParams struct + Body *models.OpenpitrixModifyRoleRequest + Context context.Context + HTTPClient *http.Client + func NewModifyRoleParams() *ModifyRoleParams + func NewModifyRoleParamsWithContext(ctx context.Context) *ModifyRoleParams + func NewModifyRoleParamsWithHTTPClient(client *http.Client) *ModifyRoleParams + func NewModifyRoleParamsWithTimeout(timeout time.Duration) *ModifyRoleParams + func (o *ModifyRoleParams) SetBody(body *models.OpenpitrixModifyRoleRequest) + func (o *ModifyRoleParams) SetContext(ctx context.Context) + func (o *ModifyRoleParams) SetHTTPClient(client *http.Client) + func (o *ModifyRoleParams) SetTimeout(timeout time.Duration) + func (o *ModifyRoleParams) WithBody(body *models.OpenpitrixModifyRoleRequest) *ModifyRoleParams + func (o *ModifyRoleParams) WithContext(ctx context.Context) *ModifyRoleParams + func (o *ModifyRoleParams) WithHTTPClient(client *http.Client) *ModifyRoleParams + func (o *ModifyRoleParams) WithTimeout(timeout time.Duration) *ModifyRoleParams + func (o *ModifyRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ModifyRoleReader struct + func (o *ModifyRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UnbindUserRoleOK struct + Payload *models.OpenpitrixUnbindUserRoleResponse + func NewUnbindUserRoleOK() *UnbindUserRoleOK + func (o *UnbindUserRoleOK) Error() string + type UnbindUserRoleParams struct + Body *models.OpenpitrixUnbindUserRoleRequest + Context context.Context + HTTPClient *http.Client + func NewUnbindUserRoleParams() *UnbindUserRoleParams + func NewUnbindUserRoleParamsWithContext(ctx context.Context) *UnbindUserRoleParams + func NewUnbindUserRoleParamsWithHTTPClient(client *http.Client) *UnbindUserRoleParams + func NewUnbindUserRoleParamsWithTimeout(timeout time.Duration) *UnbindUserRoleParams + func (o *UnbindUserRoleParams) SetBody(body *models.OpenpitrixUnbindUserRoleRequest) + func (o *UnbindUserRoleParams) SetContext(ctx context.Context) + func (o *UnbindUserRoleParams) SetHTTPClient(client *http.Client) + func (o *UnbindUserRoleParams) SetTimeout(timeout time.Duration) + func (o *UnbindUserRoleParams) WithBody(body *models.OpenpitrixUnbindUserRoleRequest) *UnbindUserRoleParams + func (o *UnbindUserRoleParams) WithContext(ctx context.Context) *UnbindUserRoleParams + func (o *UnbindUserRoleParams) WithHTTPClient(client *http.Client) *UnbindUserRoleParams + func (o *UnbindUserRoleParams) WithTimeout(timeout time.Duration) *UnbindUserRoleParams + func (o *UnbindUserRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UnbindUserRoleReader struct + func (o *UnbindUserRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)