Documentation ¶
Index ¶
- type ChangePasswordOK
- type ChangePasswordParams
- func NewChangePasswordParams() *ChangePasswordParams
- func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
- func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
- func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) SetBody(body *models.OpenpitrixChangePasswordRequest)
- func (o *ChangePasswordParams) SetContext(ctx context.Context)
- func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
- func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
- func (o *ChangePasswordParams) WithBody(body *models.OpenpitrixChangePasswordRequest) *ChangePasswordParams
- func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
- func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
- func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePasswordReader
- type Client
- func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePasswordOK, error)
- func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupOK, error)
- func (a *Client) CreatePasswordReset(params *CreatePasswordResetParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePasswordResetOK, error)
- func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserOK, error)
- func (a *Client) DeleteGroups(params *DeleteGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupsOK, error)
- func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersOK, error)
- func (a *Client) DescribeGroups(params *DescribeGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeGroupsOK, error)
- func (a *Client) DescribeUsers(params *DescribeUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeUsersOK, error)
- func (a *Client) GetPasswordReset(params *GetPasswordResetParams, authInfo runtime.ClientAuthInfoWriter) (*GetPasswordResetOK, error)
- func (a *Client) JoinGroup(params *JoinGroupParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGroupOK, error)
- func (a *Client) LeaveGroup(params *LeaveGroupParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGroupOK, error)
- func (a *Client) ModifyGroup(params *ModifyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyGroupOK, error)
- func (a *Client) ModifyUser(params *ModifyUserParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ValidateUserPassword(params *ValidateUserPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUserPasswordOK, error)
- type CreateGroupOK
- type CreateGroupParams
- func (o *CreateGroupParams) SetBody(body *models.OpenpitrixCreateGroupRequest)
- func (o *CreateGroupParams) SetContext(ctx context.Context)
- func (o *CreateGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateGroupParams) WithBody(body *models.OpenpitrixCreateGroupRequest) *CreateGroupParams
- func (o *CreateGroupParams) WithContext(ctx context.Context) *CreateGroupParams
- func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
- func (o *CreateGroupParams) WithTimeout(timeout time.Duration) *CreateGroupParams
- func (o *CreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGroupReader
- type CreatePasswordResetOK
- type CreatePasswordResetParams
- func NewCreatePasswordResetParams() *CreatePasswordResetParams
- func NewCreatePasswordResetParamsWithContext(ctx context.Context) *CreatePasswordResetParams
- func NewCreatePasswordResetParamsWithHTTPClient(client *http.Client) *CreatePasswordResetParams
- func NewCreatePasswordResetParamsWithTimeout(timeout time.Duration) *CreatePasswordResetParams
- func (o *CreatePasswordResetParams) SetBody(body *models.OpenpitrixCreatePasswordResetRequest)
- func (o *CreatePasswordResetParams) SetContext(ctx context.Context)
- func (o *CreatePasswordResetParams) SetHTTPClient(client *http.Client)
- func (o *CreatePasswordResetParams) SetTimeout(timeout time.Duration)
- func (o *CreatePasswordResetParams) WithBody(body *models.OpenpitrixCreatePasswordResetRequest) *CreatePasswordResetParams
- func (o *CreatePasswordResetParams) WithContext(ctx context.Context) *CreatePasswordResetParams
- func (o *CreatePasswordResetParams) WithHTTPClient(client *http.Client) *CreatePasswordResetParams
- func (o *CreatePasswordResetParams) WithTimeout(timeout time.Duration) *CreatePasswordResetParams
- func (o *CreatePasswordResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePasswordResetReader
- type CreateUserOK
- type CreateUserParams
- func (o *CreateUserParams) SetBody(body *models.OpenpitrixCreateUserRequest)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) WithBody(body *models.OpenpitrixCreateUserRequest) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type DeleteGroupsOK
- type DeleteGroupsParams
- func (o *DeleteGroupsParams) SetBody(body *models.OpenpitrixDeleteGroupsRequest)
- func (o *DeleteGroupsParams) SetContext(ctx context.Context)
- func (o *DeleteGroupsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGroupsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGroupsParams) WithBody(body *models.OpenpitrixDeleteGroupsRequest) *DeleteGroupsParams
- func (o *DeleteGroupsParams) WithContext(ctx context.Context) *DeleteGroupsParams
- func (o *DeleteGroupsParams) WithHTTPClient(client *http.Client) *DeleteGroupsParams
- func (o *DeleteGroupsParams) WithTimeout(timeout time.Duration) *DeleteGroupsParams
- func (o *DeleteGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGroupsReader
- type DeleteUsersOK
- type DeleteUsersParams
- func (o *DeleteUsersParams) SetBody(body *models.OpenpitrixDeleteUsersRequest)
- func (o *DeleteUsersParams) SetContext(ctx context.Context)
- func (o *DeleteUsersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUsersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUsersParams) WithBody(body *models.OpenpitrixDeleteUsersRequest) *DeleteUsersParams
- func (o *DeleteUsersParams) WithContext(ctx context.Context) *DeleteUsersParams
- func (o *DeleteUsersParams) WithHTTPClient(client *http.Client) *DeleteUsersParams
- func (o *DeleteUsersParams) WithTimeout(timeout time.Duration) *DeleteUsersParams
- func (o *DeleteUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsersReader
- type DescribeGroupsOK
- type DescribeGroupsParams
- func NewDescribeGroupsParams() *DescribeGroupsParams
- func NewDescribeGroupsParamsWithContext(ctx context.Context) *DescribeGroupsParams
- func NewDescribeGroupsParamsWithHTTPClient(client *http.Client) *DescribeGroupsParams
- func NewDescribeGroupsParamsWithTimeout(timeout time.Duration) *DescribeGroupsParams
- func (o *DescribeGroupsParams) SetContext(ctx context.Context)
- func (o *DescribeGroupsParams) SetGroupID(groupID []string)
- func (o *DescribeGroupsParams) SetHTTPClient(client *http.Client)
- func (o *DescribeGroupsParams) SetLimit(limit *int64)
- func (o *DescribeGroupsParams) SetOffset(offset *int64)
- func (o *DescribeGroupsParams) SetReverse(reverse *bool)
- func (o *DescribeGroupsParams) SetSearchWord(searchWord *string)
- func (o *DescribeGroupsParams) SetSortKey(sortKey *string)
- func (o *DescribeGroupsParams) SetStatus(status []string)
- func (o *DescribeGroupsParams) SetTimeout(timeout time.Duration)
- func (o *DescribeGroupsParams) SetUserID(userID []string)
- func (o *DescribeGroupsParams) WithContext(ctx context.Context) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithGroupID(groupID []string) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithHTTPClient(client *http.Client) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithLimit(limit *int64) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithOffset(offset *int64) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithReverse(reverse *bool) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithSearchWord(searchWord *string) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithSortKey(sortKey *string) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithStatus(status []string) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithTimeout(timeout time.Duration) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WithUserID(userID []string) *DescribeGroupsParams
- func (o *DescribeGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeGroupsReader
- type DescribeUsersOK
- type DescribeUsersParams
- func (o *DescribeUsersParams) SetContext(ctx context.Context)
- func (o *DescribeUsersParams) SetGroupID(groupID []string)
- func (o *DescribeUsersParams) SetHTTPClient(client *http.Client)
- func (o *DescribeUsersParams) SetLimit(limit *int64)
- func (o *DescribeUsersParams) SetOffset(offset *int64)
- func (o *DescribeUsersParams) SetReverse(reverse *bool)
- func (o *DescribeUsersParams) SetRole(role []string)
- func (o *DescribeUsersParams) SetSearchWord(searchWord *string)
- func (o *DescribeUsersParams) SetSortKey(sortKey *string)
- func (o *DescribeUsersParams) SetStatus(status []string)
- func (o *DescribeUsersParams) SetTimeout(timeout time.Duration)
- func (o *DescribeUsersParams) SetUserID(userID []string)
- func (o *DescribeUsersParams) WithContext(ctx context.Context) *DescribeUsersParams
- func (o *DescribeUsersParams) WithGroupID(groupID []string) *DescribeUsersParams
- func (o *DescribeUsersParams) WithHTTPClient(client *http.Client) *DescribeUsersParams
- func (o *DescribeUsersParams) WithLimit(limit *int64) *DescribeUsersParams
- func (o *DescribeUsersParams) WithOffset(offset *int64) *DescribeUsersParams
- func (o *DescribeUsersParams) WithReverse(reverse *bool) *DescribeUsersParams
- func (o *DescribeUsersParams) WithRole(role []string) *DescribeUsersParams
- func (o *DescribeUsersParams) WithSearchWord(searchWord *string) *DescribeUsersParams
- func (o *DescribeUsersParams) WithSortKey(sortKey *string) *DescribeUsersParams
- func (o *DescribeUsersParams) WithStatus(status []string) *DescribeUsersParams
- func (o *DescribeUsersParams) WithTimeout(timeout time.Duration) *DescribeUsersParams
- func (o *DescribeUsersParams) WithUserID(userID []string) *DescribeUsersParams
- func (o *DescribeUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeUsersReader
- type GetPasswordResetOK
- type GetPasswordResetParams
- func NewGetPasswordResetParams() *GetPasswordResetParams
- func NewGetPasswordResetParamsWithContext(ctx context.Context) *GetPasswordResetParams
- func NewGetPasswordResetParamsWithHTTPClient(client *http.Client) *GetPasswordResetParams
- func NewGetPasswordResetParamsWithTimeout(timeout time.Duration) *GetPasswordResetParams
- func (o *GetPasswordResetParams) SetContext(ctx context.Context)
- func (o *GetPasswordResetParams) SetHTTPClient(client *http.Client)
- func (o *GetPasswordResetParams) SetResetID(resetID string)
- func (o *GetPasswordResetParams) SetTimeout(timeout time.Duration)
- func (o *GetPasswordResetParams) WithContext(ctx context.Context) *GetPasswordResetParams
- func (o *GetPasswordResetParams) WithHTTPClient(client *http.Client) *GetPasswordResetParams
- func (o *GetPasswordResetParams) WithResetID(resetID string) *GetPasswordResetParams
- func (o *GetPasswordResetParams) WithTimeout(timeout time.Duration) *GetPasswordResetParams
- func (o *GetPasswordResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPasswordResetReader
- type JoinGroupOK
- type JoinGroupParams
- func (o *JoinGroupParams) SetBody(body *models.OpenpitrixJoinGroupRequest)
- func (o *JoinGroupParams) SetContext(ctx context.Context)
- func (o *JoinGroupParams) SetHTTPClient(client *http.Client)
- func (o *JoinGroupParams) SetTimeout(timeout time.Duration)
- func (o *JoinGroupParams) WithBody(body *models.OpenpitrixJoinGroupRequest) *JoinGroupParams
- func (o *JoinGroupParams) WithContext(ctx context.Context) *JoinGroupParams
- func (o *JoinGroupParams) WithHTTPClient(client *http.Client) *JoinGroupParams
- func (o *JoinGroupParams) WithTimeout(timeout time.Duration) *JoinGroupParams
- func (o *JoinGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JoinGroupReader
- type LeaveGroupOK
- type LeaveGroupParams
- func (o *LeaveGroupParams) SetBody(body *models.OpenpitrixLeaveGroupRequest)
- func (o *LeaveGroupParams) SetContext(ctx context.Context)
- func (o *LeaveGroupParams) SetHTTPClient(client *http.Client)
- func (o *LeaveGroupParams) SetTimeout(timeout time.Duration)
- func (o *LeaveGroupParams) WithBody(body *models.OpenpitrixLeaveGroupRequest) *LeaveGroupParams
- func (o *LeaveGroupParams) WithContext(ctx context.Context) *LeaveGroupParams
- func (o *LeaveGroupParams) WithHTTPClient(client *http.Client) *LeaveGroupParams
- func (o *LeaveGroupParams) WithTimeout(timeout time.Duration) *LeaveGroupParams
- func (o *LeaveGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LeaveGroupReader
- type ModifyGroupOK
- type ModifyGroupParams
- func (o *ModifyGroupParams) SetBody(body *models.OpenpitrixModifyGroupRequest)
- func (o *ModifyGroupParams) SetContext(ctx context.Context)
- func (o *ModifyGroupParams) SetHTTPClient(client *http.Client)
- func (o *ModifyGroupParams) SetTimeout(timeout time.Duration)
- func (o *ModifyGroupParams) WithBody(body *models.OpenpitrixModifyGroupRequest) *ModifyGroupParams
- func (o *ModifyGroupParams) WithContext(ctx context.Context) *ModifyGroupParams
- func (o *ModifyGroupParams) WithHTTPClient(client *http.Client) *ModifyGroupParams
- func (o *ModifyGroupParams) WithTimeout(timeout time.Duration) *ModifyGroupParams
- func (o *ModifyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyGroupReader
- type ModifyUserOK
- type ModifyUserParams
- func (o *ModifyUserParams) SetBody(body *models.OpenpitrixModifyUserRequest)
- func (o *ModifyUserParams) SetContext(ctx context.Context)
- func (o *ModifyUserParams) SetHTTPClient(client *http.Client)
- func (o *ModifyUserParams) SetTimeout(timeout time.Duration)
- func (o *ModifyUserParams) WithBody(body *models.OpenpitrixModifyUserRequest) *ModifyUserParams
- func (o *ModifyUserParams) WithContext(ctx context.Context) *ModifyUserParams
- func (o *ModifyUserParams) WithHTTPClient(client *http.Client) *ModifyUserParams
- func (o *ModifyUserParams) WithTimeout(timeout time.Duration) *ModifyUserParams
- func (o *ModifyUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyUserReader
- type ValidateUserPasswordOK
- type ValidateUserPasswordParams
- func NewValidateUserPasswordParams() *ValidateUserPasswordParams
- func NewValidateUserPasswordParamsWithContext(ctx context.Context) *ValidateUserPasswordParams
- func NewValidateUserPasswordParamsWithHTTPClient(client *http.Client) *ValidateUserPasswordParams
- func NewValidateUserPasswordParamsWithTimeout(timeout time.Duration) *ValidateUserPasswordParams
- func (o *ValidateUserPasswordParams) SetBody(body *models.OpenpitrixValidateUserPasswordRequest)
- func (o *ValidateUserPasswordParams) SetContext(ctx context.Context)
- func (o *ValidateUserPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUserPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUserPasswordParams) WithBody(body *models.OpenpitrixValidateUserPasswordRequest) *ValidateUserPasswordParams
- func (o *ValidateUserPasswordParams) WithContext(ctx context.Context) *ValidateUserPasswordParams
- func (o *ValidateUserPasswordParams) WithHTTPClient(client *http.Client) *ValidateUserPasswordParams
- func (o *ValidateUserPasswordParams) WithTimeout(timeout time.Duration) *ValidateUserPasswordParams
- func (o *ValidateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUserPasswordReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordOK ¶
type ChangePasswordOK struct {
Payload *models.OpenpitrixChangePasswordResponse
}
ChangePasswordOK handles this case with default header values.
A successful response.
func NewChangePasswordOK ¶
func NewChangePasswordOK() *ChangePasswordOK
NewChangePasswordOK creates a ChangePasswordOK with default headers values
func (*ChangePasswordOK) Error ¶
func (o *ChangePasswordOK) Error() string
type ChangePasswordParams ¶
type ChangePasswordParams struct { /*Body*/ Body *models.OpenpitrixChangePasswordRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangePasswordParams contains all the parameters to send to the API endpoint for the change password operation typically these are written to a http.Request
func NewChangePasswordParams ¶
func NewChangePasswordParams() *ChangePasswordParams
NewChangePasswordParams creates a new ChangePasswordParams object with the default values initialized.
func NewChangePasswordParamsWithContext ¶
func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the default values initialized, and the ability to set a context for a request
func NewChangePasswordParamsWithHTTPClient ¶
func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangePasswordParamsWithTimeout ¶
func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangePasswordParams) SetBody ¶
func (o *ChangePasswordParams) SetBody(body *models.OpenpitrixChangePasswordRequest)
SetBody adds the body to the change password params
func (*ChangePasswordParams) SetContext ¶
func (o *ChangePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the change password params
func (*ChangePasswordParams) SetHTTPClient ¶
func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) SetTimeout ¶
func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WithBody ¶
func (o *ChangePasswordParams) WithBody(body *models.OpenpitrixChangePasswordRequest) *ChangePasswordParams
WithBody adds the body to the change password params
func (*ChangePasswordParams) WithContext ¶
func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
WithContext adds the context to the change password params
func (*ChangePasswordParams) WithHTTPClient ¶
func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
WithHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) WithTimeout ¶
func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
WithTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WriteToRequest ¶
func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordReader ¶
type ChangePasswordReader struct {
// contains filtered or unexported fields
}
ChangePasswordReader is a Reader for the ChangePassword structure.
func (*ChangePasswordReader) ReadResponse ¶
func (o *ChangePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for account manager API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new account manager API client.
func (*Client) ChangePassword ¶
func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePasswordOK, error)
ChangePassword change password API
func (*Client) CreateGroup ¶
func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupOK, error)
CreateGroup groups
func (*Client) CreatePasswordReset ¶
func (a *Client) CreatePasswordReset(params *CreatePasswordResetParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePasswordResetOK, error)
CreatePasswordReset create password reset API
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserOK, error)
CreateUser admins permission
func (*Client) DeleteGroups ¶
func (a *Client) DeleteGroups(params *DeleteGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupsOK, error)
DeleteGroups delete groups API
func (*Client) DeleteUsers ¶
func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersOK, error)
DeleteUsers delete users API
func (*Client) DescribeGroups ¶
func (a *Client) DescribeGroups(params *DescribeGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeGroupsOK, error)
DescribeGroups describe groups API
func (*Client) DescribeUsers ¶
func (a *Client) DescribeUsers(params *DescribeUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeUsersOK, error)
DescribeUsers describe users API
func (*Client) GetPasswordReset ¶
func (a *Client) GetPasswordReset(params *GetPasswordResetParams, authInfo runtime.ClientAuthInfoWriter) (*GetPasswordResetOK, error)
GetPasswordReset get password reset API
func (*Client) JoinGroup ¶
func (a *Client) JoinGroup(params *JoinGroupParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGroupOK, error)
JoinGroup join group API
func (*Client) LeaveGroup ¶
func (a *Client) LeaveGroup(params *LeaveGroupParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGroupOK, error)
LeaveGroup leave group API
func (*Client) ModifyGroup ¶
func (a *Client) ModifyGroup(params *ModifyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyGroupOK, error)
ModifyGroup modify group API
func (*Client) ModifyUser ¶
func (a *Client) ModifyUser(params *ModifyUserParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyUserOK, error)
ModifyUser modify user API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ValidateUserPassword ¶
func (a *Client) ValidateUserPassword(params *ValidateUserPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUserPasswordOK, error)
ValidateUserPassword validate user password API
type CreateGroupOK ¶
type CreateGroupOK struct {
Payload *models.OpenpitrixCreateGroupResponse
}
CreateGroupOK handles this case with default header values.
A successful response.
func NewCreateGroupOK ¶
func NewCreateGroupOK() *CreateGroupOK
NewCreateGroupOK creates a CreateGroupOK with default headers values
func (*CreateGroupOK) Error ¶
func (o *CreateGroupOK) Error() string
type CreateGroupParams ¶
type CreateGroupParams struct { /*Body*/ Body *models.OpenpitrixCreateGroupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGroupParams contains all the parameters to send to the API endpoint for the create group operation typically these are written to a http.Request
func NewCreateGroupParams ¶
func NewCreateGroupParams() *CreateGroupParams
NewCreateGroupParams creates a new CreateGroupParams object with the default values initialized.
func NewCreateGroupParamsWithContext ¶
func NewCreateGroupParamsWithContext(ctx context.Context) *CreateGroupParams
NewCreateGroupParamsWithContext creates a new CreateGroupParams object with the default values initialized, and the ability to set a context for a request
func NewCreateGroupParamsWithHTTPClient ¶
func NewCreateGroupParamsWithHTTPClient(client *http.Client) *CreateGroupParams
NewCreateGroupParamsWithHTTPClient creates a new CreateGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateGroupParamsWithTimeout ¶
func NewCreateGroupParamsWithTimeout(timeout time.Duration) *CreateGroupParams
NewCreateGroupParamsWithTimeout creates a new CreateGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateGroupParams) SetBody ¶
func (o *CreateGroupParams) SetBody(body *models.OpenpitrixCreateGroupRequest)
SetBody adds the body to the create group params
func (*CreateGroupParams) SetContext ¶
func (o *CreateGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create group params
func (*CreateGroupParams) SetHTTPClient ¶
func (o *CreateGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create group params
func (*CreateGroupParams) SetTimeout ¶
func (o *CreateGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create group params
func (*CreateGroupParams) WithBody ¶
func (o *CreateGroupParams) WithBody(body *models.OpenpitrixCreateGroupRequest) *CreateGroupParams
WithBody adds the body to the create group params
func (*CreateGroupParams) WithContext ¶
func (o *CreateGroupParams) WithContext(ctx context.Context) *CreateGroupParams
WithContext adds the context to the create group params
func (*CreateGroupParams) WithHTTPClient ¶
func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
WithHTTPClient adds the HTTPClient to the create group params
func (*CreateGroupParams) WithTimeout ¶
func (o *CreateGroupParams) WithTimeout(timeout time.Duration) *CreateGroupParams
WithTimeout adds the timeout to the create group params
func (*CreateGroupParams) WriteToRequest ¶
func (o *CreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGroupReader ¶
type CreateGroupReader struct {
// contains filtered or unexported fields
}
CreateGroupReader is a Reader for the CreateGroup structure.
func (*CreateGroupReader) ReadResponse ¶
func (o *CreateGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePasswordResetOK ¶
type CreatePasswordResetOK struct {
Payload *models.OpenpitrixCreatePasswordResetResponse
}
CreatePasswordResetOK handles this case with default header values.
A successful response.
func NewCreatePasswordResetOK ¶
func NewCreatePasswordResetOK() *CreatePasswordResetOK
NewCreatePasswordResetOK creates a CreatePasswordResetOK with default headers values
func (*CreatePasswordResetOK) Error ¶
func (o *CreatePasswordResetOK) Error() string
type CreatePasswordResetParams ¶
type CreatePasswordResetParams struct { /*Body*/ Body *models.OpenpitrixCreatePasswordResetRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePasswordResetParams contains all the parameters to send to the API endpoint for the create password reset operation typically these are written to a http.Request
func NewCreatePasswordResetParams ¶
func NewCreatePasswordResetParams() *CreatePasswordResetParams
NewCreatePasswordResetParams creates a new CreatePasswordResetParams object with the default values initialized.
func NewCreatePasswordResetParamsWithContext ¶
func NewCreatePasswordResetParamsWithContext(ctx context.Context) *CreatePasswordResetParams
NewCreatePasswordResetParamsWithContext creates a new CreatePasswordResetParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePasswordResetParamsWithHTTPClient ¶
func NewCreatePasswordResetParamsWithHTTPClient(client *http.Client) *CreatePasswordResetParams
NewCreatePasswordResetParamsWithHTTPClient creates a new CreatePasswordResetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePasswordResetParamsWithTimeout ¶
func NewCreatePasswordResetParamsWithTimeout(timeout time.Duration) *CreatePasswordResetParams
NewCreatePasswordResetParamsWithTimeout creates a new CreatePasswordResetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePasswordResetParams) SetBody ¶
func (o *CreatePasswordResetParams) SetBody(body *models.OpenpitrixCreatePasswordResetRequest)
SetBody adds the body to the create password reset params
func (*CreatePasswordResetParams) SetContext ¶
func (o *CreatePasswordResetParams) SetContext(ctx context.Context)
SetContext adds the context to the create password reset params
func (*CreatePasswordResetParams) SetHTTPClient ¶
func (o *CreatePasswordResetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create password reset params
func (*CreatePasswordResetParams) SetTimeout ¶
func (o *CreatePasswordResetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create password reset params
func (*CreatePasswordResetParams) WithBody ¶
func (o *CreatePasswordResetParams) WithBody(body *models.OpenpitrixCreatePasswordResetRequest) *CreatePasswordResetParams
WithBody adds the body to the create password reset params
func (*CreatePasswordResetParams) WithContext ¶
func (o *CreatePasswordResetParams) WithContext(ctx context.Context) *CreatePasswordResetParams
WithContext adds the context to the create password reset params
func (*CreatePasswordResetParams) WithHTTPClient ¶
func (o *CreatePasswordResetParams) WithHTTPClient(client *http.Client) *CreatePasswordResetParams
WithHTTPClient adds the HTTPClient to the create password reset params
func (*CreatePasswordResetParams) WithTimeout ¶
func (o *CreatePasswordResetParams) WithTimeout(timeout time.Duration) *CreatePasswordResetParams
WithTimeout adds the timeout to the create password reset params
func (*CreatePasswordResetParams) WriteToRequest ¶
func (o *CreatePasswordResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePasswordResetReader ¶
type CreatePasswordResetReader struct {
// contains filtered or unexported fields
}
CreatePasswordResetReader is a Reader for the CreatePasswordReset structure.
func (*CreatePasswordResetReader) ReadResponse ¶
func (o *CreatePasswordResetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserOK ¶
type CreateUserOK struct {
Payload *models.OpenpitrixCreateUserResponse
}
CreateUserOK handles this case with default header values.
A successful response.
func NewCreateUserOK ¶
func NewCreateUserOK() *CreateUserOK
NewCreateUserOK creates a CreateUserOK with default headers values
func (*CreateUserOK) Error ¶
func (o *CreateUserOK) Error() string
type CreateUserParams ¶
type CreateUserParams struct { /*Body*/ Body *models.OpenpitrixCreateUserRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint for the create user operation typically these are written to a http.Request
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams object with the default values initialized.
func NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the default values initialized, and the ability to set a context for a request
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateUserParams) SetBody ¶
func (o *CreateUserParams) SetBody(body *models.OpenpitrixCreateUserRequest)
SetBody adds the body to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) WithBody ¶
func (o *CreateUserParams) WithBody(body *models.OpenpitrixCreateUserRequest) *CreateUserParams
WithBody adds the body to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGroupsOK ¶
type DeleteGroupsOK struct {
Payload *models.OpenpitrixDeleteGroupsResponse
}
DeleteGroupsOK handles this case with default header values.
A successful response.
func NewDeleteGroupsOK ¶
func NewDeleteGroupsOK() *DeleteGroupsOK
NewDeleteGroupsOK creates a DeleteGroupsOK with default headers values
func (*DeleteGroupsOK) Error ¶
func (o *DeleteGroupsOK) Error() string
type DeleteGroupsParams ¶
type DeleteGroupsParams struct { /*Body*/ Body *models.OpenpitrixDeleteGroupsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteGroupsParams contains all the parameters to send to the API endpoint for the delete groups operation typically these are written to a http.Request
func NewDeleteGroupsParams ¶
func NewDeleteGroupsParams() *DeleteGroupsParams
NewDeleteGroupsParams creates a new DeleteGroupsParams object with the default values initialized.
func NewDeleteGroupsParamsWithContext ¶
func NewDeleteGroupsParamsWithContext(ctx context.Context) *DeleteGroupsParams
NewDeleteGroupsParamsWithContext creates a new DeleteGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteGroupsParamsWithHTTPClient ¶
func NewDeleteGroupsParamsWithHTTPClient(client *http.Client) *DeleteGroupsParams
NewDeleteGroupsParamsWithHTTPClient creates a new DeleteGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteGroupsParamsWithTimeout ¶
func NewDeleteGroupsParamsWithTimeout(timeout time.Duration) *DeleteGroupsParams
NewDeleteGroupsParamsWithTimeout creates a new DeleteGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteGroupsParams) SetBody ¶
func (o *DeleteGroupsParams) SetBody(body *models.OpenpitrixDeleteGroupsRequest)
SetBody adds the body to the delete groups params
func (*DeleteGroupsParams) SetContext ¶
func (o *DeleteGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete groups params
func (*DeleteGroupsParams) SetHTTPClient ¶
func (o *DeleteGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete groups params
func (*DeleteGroupsParams) SetTimeout ¶
func (o *DeleteGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete groups params
func (*DeleteGroupsParams) WithBody ¶
func (o *DeleteGroupsParams) WithBody(body *models.OpenpitrixDeleteGroupsRequest) *DeleteGroupsParams
WithBody adds the body to the delete groups params
func (*DeleteGroupsParams) WithContext ¶
func (o *DeleteGroupsParams) WithContext(ctx context.Context) *DeleteGroupsParams
WithContext adds the context to the delete groups params
func (*DeleteGroupsParams) WithHTTPClient ¶
func (o *DeleteGroupsParams) WithHTTPClient(client *http.Client) *DeleteGroupsParams
WithHTTPClient adds the HTTPClient to the delete groups params
func (*DeleteGroupsParams) WithTimeout ¶
func (o *DeleteGroupsParams) WithTimeout(timeout time.Duration) *DeleteGroupsParams
WithTimeout adds the timeout to the delete groups params
func (*DeleteGroupsParams) WriteToRequest ¶
func (o *DeleteGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGroupsReader ¶
type DeleteGroupsReader struct {
// contains filtered or unexported fields
}
DeleteGroupsReader is a Reader for the DeleteGroups structure.
func (*DeleteGroupsReader) ReadResponse ¶
func (o *DeleteGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUsersOK ¶
type DeleteUsersOK struct {
Payload *models.OpenpitrixDeleteUsersResponse
}
DeleteUsersOK handles this case with default header values.
A successful response.
func NewDeleteUsersOK ¶
func NewDeleteUsersOK() *DeleteUsersOK
NewDeleteUsersOK creates a DeleteUsersOK with default headers values
func (*DeleteUsersOK) Error ¶
func (o *DeleteUsersOK) Error() string
type DeleteUsersParams ¶
type DeleteUsersParams struct { /*Body*/ Body *models.OpenpitrixDeleteUsersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUsersParams contains all the parameters to send to the API endpoint for the delete users operation typically these are written to a http.Request
func NewDeleteUsersParams ¶
func NewDeleteUsersParams() *DeleteUsersParams
NewDeleteUsersParams creates a new DeleteUsersParams object with the default values initialized.
func NewDeleteUsersParamsWithContext ¶
func NewDeleteUsersParamsWithContext(ctx context.Context) *DeleteUsersParams
NewDeleteUsersParamsWithContext creates a new DeleteUsersParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUsersParamsWithHTTPClient ¶
func NewDeleteUsersParamsWithHTTPClient(client *http.Client) *DeleteUsersParams
NewDeleteUsersParamsWithHTTPClient creates a new DeleteUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUsersParamsWithTimeout ¶
func NewDeleteUsersParamsWithTimeout(timeout time.Duration) *DeleteUsersParams
NewDeleteUsersParamsWithTimeout creates a new DeleteUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUsersParams) SetBody ¶
func (o *DeleteUsersParams) SetBody(body *models.OpenpitrixDeleteUsersRequest)
SetBody adds the body to the delete users params
func (*DeleteUsersParams) SetContext ¶
func (o *DeleteUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete users params
func (*DeleteUsersParams) SetHTTPClient ¶
func (o *DeleteUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete users params
func (*DeleteUsersParams) SetTimeout ¶
func (o *DeleteUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete users params
func (*DeleteUsersParams) WithBody ¶
func (o *DeleteUsersParams) WithBody(body *models.OpenpitrixDeleteUsersRequest) *DeleteUsersParams
WithBody adds the body to the delete users params
func (*DeleteUsersParams) WithContext ¶
func (o *DeleteUsersParams) WithContext(ctx context.Context) *DeleteUsersParams
WithContext adds the context to the delete users params
func (*DeleteUsersParams) WithHTTPClient ¶
func (o *DeleteUsersParams) WithHTTPClient(client *http.Client) *DeleteUsersParams
WithHTTPClient adds the HTTPClient to the delete users params
func (*DeleteUsersParams) WithTimeout ¶
func (o *DeleteUsersParams) WithTimeout(timeout time.Duration) *DeleteUsersParams
WithTimeout adds the timeout to the delete users params
func (*DeleteUsersParams) WriteToRequest ¶
func (o *DeleteUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUsersReader ¶
type DeleteUsersReader struct {
// contains filtered or unexported fields
}
DeleteUsersReader is a Reader for the DeleteUsers structure.
func (*DeleteUsersReader) ReadResponse ¶
func (o *DeleteUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeGroupsOK ¶
type DescribeGroupsOK struct {
Payload *models.OpenpitrixDescribeGroupsResponse
}
DescribeGroupsOK handles this case with default header values.
A successful response.
func NewDescribeGroupsOK ¶
func NewDescribeGroupsOK() *DescribeGroupsOK
NewDescribeGroupsOK creates a DescribeGroupsOK with default headers values
func (*DescribeGroupsOK) Error ¶
func (o *DescribeGroupsOK) Error() string
type DescribeGroupsParams ¶
type DescribeGroupsParams struct { /*GroupID*/ GroupID []string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 /*Reverse*/ Reverse *bool /*SearchWord*/ SearchWord *string /*SortKey*/ SortKey *string /*Status*/ Status []string /*UserID*/ UserID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeGroupsParams contains all the parameters to send to the API endpoint for the describe groups operation typically these are written to a http.Request
func NewDescribeGroupsParams ¶
func NewDescribeGroupsParams() *DescribeGroupsParams
NewDescribeGroupsParams creates a new DescribeGroupsParams object with the default values initialized.
func NewDescribeGroupsParamsWithContext ¶
func NewDescribeGroupsParamsWithContext(ctx context.Context) *DescribeGroupsParams
NewDescribeGroupsParamsWithContext creates a new DescribeGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeGroupsParamsWithHTTPClient ¶
func NewDescribeGroupsParamsWithHTTPClient(client *http.Client) *DescribeGroupsParams
NewDescribeGroupsParamsWithHTTPClient creates a new DescribeGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeGroupsParamsWithTimeout ¶
func NewDescribeGroupsParamsWithTimeout(timeout time.Duration) *DescribeGroupsParams
NewDescribeGroupsParamsWithTimeout creates a new DescribeGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeGroupsParams) SetContext ¶
func (o *DescribeGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the describe groups params
func (*DescribeGroupsParams) SetGroupID ¶
func (o *DescribeGroupsParams) SetGroupID(groupID []string)
SetGroupID adds the groupId to the describe groups params
func (*DescribeGroupsParams) SetHTTPClient ¶
func (o *DescribeGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe groups params
func (*DescribeGroupsParams) SetLimit ¶
func (o *DescribeGroupsParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe groups params
func (*DescribeGroupsParams) SetOffset ¶
func (o *DescribeGroupsParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe groups params
func (*DescribeGroupsParams) SetReverse ¶
func (o *DescribeGroupsParams) SetReverse(reverse *bool)
SetReverse adds the reverse to the describe groups params
func (*DescribeGroupsParams) SetSearchWord ¶
func (o *DescribeGroupsParams) SetSearchWord(searchWord *string)
SetSearchWord adds the searchWord to the describe groups params
func (*DescribeGroupsParams) SetSortKey ¶
func (o *DescribeGroupsParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the describe groups params
func (*DescribeGroupsParams) SetStatus ¶
func (o *DescribeGroupsParams) SetStatus(status []string)
SetStatus adds the status to the describe groups params
func (*DescribeGroupsParams) SetTimeout ¶
func (o *DescribeGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe groups params
func (*DescribeGroupsParams) SetUserID ¶
func (o *DescribeGroupsParams) SetUserID(userID []string)
SetUserID adds the userId to the describe groups params
func (*DescribeGroupsParams) WithContext ¶
func (o *DescribeGroupsParams) WithContext(ctx context.Context) *DescribeGroupsParams
WithContext adds the context to the describe groups params
func (*DescribeGroupsParams) WithGroupID ¶
func (o *DescribeGroupsParams) WithGroupID(groupID []string) *DescribeGroupsParams
WithGroupID adds the groupID to the describe groups params
func (*DescribeGroupsParams) WithHTTPClient ¶
func (o *DescribeGroupsParams) WithHTTPClient(client *http.Client) *DescribeGroupsParams
WithHTTPClient adds the HTTPClient to the describe groups params
func (*DescribeGroupsParams) WithLimit ¶
func (o *DescribeGroupsParams) WithLimit(limit *int64) *DescribeGroupsParams
WithLimit adds the limit to the describe groups params
func (*DescribeGroupsParams) WithOffset ¶
func (o *DescribeGroupsParams) WithOffset(offset *int64) *DescribeGroupsParams
WithOffset adds the offset to the describe groups params
func (*DescribeGroupsParams) WithReverse ¶
func (o *DescribeGroupsParams) WithReverse(reverse *bool) *DescribeGroupsParams
WithReverse adds the reverse to the describe groups params
func (*DescribeGroupsParams) WithSearchWord ¶
func (o *DescribeGroupsParams) WithSearchWord(searchWord *string) *DescribeGroupsParams
WithSearchWord adds the searchWord to the describe groups params
func (*DescribeGroupsParams) WithSortKey ¶
func (o *DescribeGroupsParams) WithSortKey(sortKey *string) *DescribeGroupsParams
WithSortKey adds the sortKey to the describe groups params
func (*DescribeGroupsParams) WithStatus ¶
func (o *DescribeGroupsParams) WithStatus(status []string) *DescribeGroupsParams
WithStatus adds the status to the describe groups params
func (*DescribeGroupsParams) WithTimeout ¶
func (o *DescribeGroupsParams) WithTimeout(timeout time.Duration) *DescribeGroupsParams
WithTimeout adds the timeout to the describe groups params
func (*DescribeGroupsParams) WithUserID ¶
func (o *DescribeGroupsParams) WithUserID(userID []string) *DescribeGroupsParams
WithUserID adds the userID to the describe groups params
func (*DescribeGroupsParams) WriteToRequest ¶
func (o *DescribeGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeGroupsReader ¶
type DescribeGroupsReader struct {
// contains filtered or unexported fields
}
DescribeGroupsReader is a Reader for the DescribeGroups structure.
func (*DescribeGroupsReader) ReadResponse ¶
func (o *DescribeGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeUsersOK ¶
type DescribeUsersOK struct {
Payload *models.OpenpitrixDescribeUsersResponse
}
DescribeUsersOK handles this case with default header values.
A successful response.
func NewDescribeUsersOK ¶
func NewDescribeUsersOK() *DescribeUsersOK
NewDescribeUsersOK creates a DescribeUsersOK with default headers values
func (*DescribeUsersOK) Error ¶
func (o *DescribeUsersOK) Error() string
type DescribeUsersParams ¶
type DescribeUsersParams struct { /*GroupID*/ GroupID []string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 /*Reverse*/ Reverse *bool /*Role*/ Role []string /*SearchWord*/ SearchWord *string /*SortKey*/ SortKey *string /*Status*/ Status []string /*UserID*/ UserID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeUsersParams contains all the parameters to send to the API endpoint for the describe users operation typically these are written to a http.Request
func NewDescribeUsersParams ¶
func NewDescribeUsersParams() *DescribeUsersParams
NewDescribeUsersParams creates a new DescribeUsersParams object with the default values initialized.
func NewDescribeUsersParamsWithContext ¶
func NewDescribeUsersParamsWithContext(ctx context.Context) *DescribeUsersParams
NewDescribeUsersParamsWithContext creates a new DescribeUsersParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeUsersParamsWithHTTPClient ¶
func NewDescribeUsersParamsWithHTTPClient(client *http.Client) *DescribeUsersParams
NewDescribeUsersParamsWithHTTPClient creates a new DescribeUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeUsersParamsWithTimeout ¶
func NewDescribeUsersParamsWithTimeout(timeout time.Duration) *DescribeUsersParams
NewDescribeUsersParamsWithTimeout creates a new DescribeUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeUsersParams) SetContext ¶
func (o *DescribeUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the describe users params
func (*DescribeUsersParams) SetGroupID ¶
func (o *DescribeUsersParams) SetGroupID(groupID []string)
SetGroupID adds the groupId to the describe users params
func (*DescribeUsersParams) SetHTTPClient ¶
func (o *DescribeUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe users params
func (*DescribeUsersParams) SetLimit ¶
func (o *DescribeUsersParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe users params
func (*DescribeUsersParams) SetOffset ¶
func (o *DescribeUsersParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe users params
func (*DescribeUsersParams) SetReverse ¶
func (o *DescribeUsersParams) SetReverse(reverse *bool)
SetReverse adds the reverse to the describe users params
func (*DescribeUsersParams) SetRole ¶
func (o *DescribeUsersParams) SetRole(role []string)
SetRole adds the role to the describe users params
func (*DescribeUsersParams) SetSearchWord ¶
func (o *DescribeUsersParams) SetSearchWord(searchWord *string)
SetSearchWord adds the searchWord to the describe users params
func (*DescribeUsersParams) SetSortKey ¶
func (o *DescribeUsersParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the describe users params
func (*DescribeUsersParams) SetStatus ¶
func (o *DescribeUsersParams) SetStatus(status []string)
SetStatus adds the status to the describe users params
func (*DescribeUsersParams) SetTimeout ¶
func (o *DescribeUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe users params
func (*DescribeUsersParams) SetUserID ¶
func (o *DescribeUsersParams) SetUserID(userID []string)
SetUserID adds the userId to the describe users params
func (*DescribeUsersParams) WithContext ¶
func (o *DescribeUsersParams) WithContext(ctx context.Context) *DescribeUsersParams
WithContext adds the context to the describe users params
func (*DescribeUsersParams) WithGroupID ¶
func (o *DescribeUsersParams) WithGroupID(groupID []string) *DescribeUsersParams
WithGroupID adds the groupID to the describe users params
func (*DescribeUsersParams) WithHTTPClient ¶
func (o *DescribeUsersParams) WithHTTPClient(client *http.Client) *DescribeUsersParams
WithHTTPClient adds the HTTPClient to the describe users params
func (*DescribeUsersParams) WithLimit ¶
func (o *DescribeUsersParams) WithLimit(limit *int64) *DescribeUsersParams
WithLimit adds the limit to the describe users params
func (*DescribeUsersParams) WithOffset ¶
func (o *DescribeUsersParams) WithOffset(offset *int64) *DescribeUsersParams
WithOffset adds the offset to the describe users params
func (*DescribeUsersParams) WithReverse ¶
func (o *DescribeUsersParams) WithReverse(reverse *bool) *DescribeUsersParams
WithReverse adds the reverse to the describe users params
func (*DescribeUsersParams) WithRole ¶
func (o *DescribeUsersParams) WithRole(role []string) *DescribeUsersParams
WithRole adds the role to the describe users params
func (*DescribeUsersParams) WithSearchWord ¶
func (o *DescribeUsersParams) WithSearchWord(searchWord *string) *DescribeUsersParams
WithSearchWord adds the searchWord to the describe users params
func (*DescribeUsersParams) WithSortKey ¶
func (o *DescribeUsersParams) WithSortKey(sortKey *string) *DescribeUsersParams
WithSortKey adds the sortKey to the describe users params
func (*DescribeUsersParams) WithStatus ¶
func (o *DescribeUsersParams) WithStatus(status []string) *DescribeUsersParams
WithStatus adds the status to the describe users params
func (*DescribeUsersParams) WithTimeout ¶
func (o *DescribeUsersParams) WithTimeout(timeout time.Duration) *DescribeUsersParams
WithTimeout adds the timeout to the describe users params
func (*DescribeUsersParams) WithUserID ¶
func (o *DescribeUsersParams) WithUserID(userID []string) *DescribeUsersParams
WithUserID adds the userID to the describe users params
func (*DescribeUsersParams) WriteToRequest ¶
func (o *DescribeUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeUsersReader ¶
type DescribeUsersReader struct {
// contains filtered or unexported fields
}
DescribeUsersReader is a Reader for the DescribeUsers structure.
func (*DescribeUsersReader) ReadResponse ¶
func (o *DescribeUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPasswordResetOK ¶
type GetPasswordResetOK struct {
Payload *models.OpenpitrixGetPasswordResetResponse
}
GetPasswordResetOK handles this case with default header values.
A successful response.
func NewGetPasswordResetOK ¶
func NewGetPasswordResetOK() *GetPasswordResetOK
NewGetPasswordResetOK creates a GetPasswordResetOK with default headers values
func (*GetPasswordResetOK) Error ¶
func (o *GetPasswordResetOK) Error() string
type GetPasswordResetParams ¶
type GetPasswordResetParams struct { /*ResetID*/ ResetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPasswordResetParams contains all the parameters to send to the API endpoint for the get password reset operation typically these are written to a http.Request
func NewGetPasswordResetParams ¶
func NewGetPasswordResetParams() *GetPasswordResetParams
NewGetPasswordResetParams creates a new GetPasswordResetParams object with the default values initialized.
func NewGetPasswordResetParamsWithContext ¶
func NewGetPasswordResetParamsWithContext(ctx context.Context) *GetPasswordResetParams
NewGetPasswordResetParamsWithContext creates a new GetPasswordResetParams object with the default values initialized, and the ability to set a context for a request
func NewGetPasswordResetParamsWithHTTPClient ¶
func NewGetPasswordResetParamsWithHTTPClient(client *http.Client) *GetPasswordResetParams
NewGetPasswordResetParamsWithHTTPClient creates a new GetPasswordResetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPasswordResetParamsWithTimeout ¶
func NewGetPasswordResetParamsWithTimeout(timeout time.Duration) *GetPasswordResetParams
NewGetPasswordResetParamsWithTimeout creates a new GetPasswordResetParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPasswordResetParams) SetContext ¶
func (o *GetPasswordResetParams) SetContext(ctx context.Context)
SetContext adds the context to the get password reset params
func (*GetPasswordResetParams) SetHTTPClient ¶
func (o *GetPasswordResetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get password reset params
func (*GetPasswordResetParams) SetResetID ¶
func (o *GetPasswordResetParams) SetResetID(resetID string)
SetResetID adds the resetId to the get password reset params
func (*GetPasswordResetParams) SetTimeout ¶
func (o *GetPasswordResetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get password reset params
func (*GetPasswordResetParams) WithContext ¶
func (o *GetPasswordResetParams) WithContext(ctx context.Context) *GetPasswordResetParams
WithContext adds the context to the get password reset params
func (*GetPasswordResetParams) WithHTTPClient ¶
func (o *GetPasswordResetParams) WithHTTPClient(client *http.Client) *GetPasswordResetParams
WithHTTPClient adds the HTTPClient to the get password reset params
func (*GetPasswordResetParams) WithResetID ¶
func (o *GetPasswordResetParams) WithResetID(resetID string) *GetPasswordResetParams
WithResetID adds the resetID to the get password reset params
func (*GetPasswordResetParams) WithTimeout ¶
func (o *GetPasswordResetParams) WithTimeout(timeout time.Duration) *GetPasswordResetParams
WithTimeout adds the timeout to the get password reset params
func (*GetPasswordResetParams) WriteToRequest ¶
func (o *GetPasswordResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPasswordResetReader ¶
type GetPasswordResetReader struct {
// contains filtered or unexported fields
}
GetPasswordResetReader is a Reader for the GetPasswordReset structure.
func (*GetPasswordResetReader) ReadResponse ¶
func (o *GetPasswordResetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JoinGroupOK ¶
type JoinGroupOK struct {
Payload *models.OpenpitrixJoinGroupResponse
}
JoinGroupOK handles this case with default header values.
A successful response.
func NewJoinGroupOK ¶
func NewJoinGroupOK() *JoinGroupOK
NewJoinGroupOK creates a JoinGroupOK with default headers values
func (*JoinGroupOK) Error ¶
func (o *JoinGroupOK) Error() string
type JoinGroupParams ¶
type JoinGroupParams struct { /*Body*/ Body *models.OpenpitrixJoinGroupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JoinGroupParams contains all the parameters to send to the API endpoint for the join group operation typically these are written to a http.Request
func NewJoinGroupParams ¶
func NewJoinGroupParams() *JoinGroupParams
NewJoinGroupParams creates a new JoinGroupParams object with the default values initialized.
func NewJoinGroupParamsWithContext ¶
func NewJoinGroupParamsWithContext(ctx context.Context) *JoinGroupParams
NewJoinGroupParamsWithContext creates a new JoinGroupParams object with the default values initialized, and the ability to set a context for a request
func NewJoinGroupParamsWithHTTPClient ¶
func NewJoinGroupParamsWithHTTPClient(client *http.Client) *JoinGroupParams
NewJoinGroupParamsWithHTTPClient creates a new JoinGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewJoinGroupParamsWithTimeout ¶
func NewJoinGroupParamsWithTimeout(timeout time.Duration) *JoinGroupParams
NewJoinGroupParamsWithTimeout creates a new JoinGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*JoinGroupParams) SetBody ¶
func (o *JoinGroupParams) SetBody(body *models.OpenpitrixJoinGroupRequest)
SetBody adds the body to the join group params
func (*JoinGroupParams) SetContext ¶
func (o *JoinGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the join group params
func (*JoinGroupParams) SetHTTPClient ¶
func (o *JoinGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the join group params
func (*JoinGroupParams) SetTimeout ¶
func (o *JoinGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the join group params
func (*JoinGroupParams) WithBody ¶
func (o *JoinGroupParams) WithBody(body *models.OpenpitrixJoinGroupRequest) *JoinGroupParams
WithBody adds the body to the join group params
func (*JoinGroupParams) WithContext ¶
func (o *JoinGroupParams) WithContext(ctx context.Context) *JoinGroupParams
WithContext adds the context to the join group params
func (*JoinGroupParams) WithHTTPClient ¶
func (o *JoinGroupParams) WithHTTPClient(client *http.Client) *JoinGroupParams
WithHTTPClient adds the HTTPClient to the join group params
func (*JoinGroupParams) WithTimeout ¶
func (o *JoinGroupParams) WithTimeout(timeout time.Duration) *JoinGroupParams
WithTimeout adds the timeout to the join group params
func (*JoinGroupParams) WriteToRequest ¶
func (o *JoinGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JoinGroupReader ¶
type JoinGroupReader struct {
// contains filtered or unexported fields
}
JoinGroupReader is a Reader for the JoinGroup structure.
func (*JoinGroupReader) ReadResponse ¶
func (o *JoinGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LeaveGroupOK ¶
type LeaveGroupOK struct {
Payload *models.OpenpitrixLeaveGroupResponse
}
LeaveGroupOK handles this case with default header values.
A successful response.
func NewLeaveGroupOK ¶
func NewLeaveGroupOK() *LeaveGroupOK
NewLeaveGroupOK creates a LeaveGroupOK with default headers values
func (*LeaveGroupOK) Error ¶
func (o *LeaveGroupOK) Error() string
type LeaveGroupParams ¶
type LeaveGroupParams struct { /*Body*/ Body *models.OpenpitrixLeaveGroupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LeaveGroupParams contains all the parameters to send to the API endpoint for the leave group operation typically these are written to a http.Request
func NewLeaveGroupParams ¶
func NewLeaveGroupParams() *LeaveGroupParams
NewLeaveGroupParams creates a new LeaveGroupParams object with the default values initialized.
func NewLeaveGroupParamsWithContext ¶
func NewLeaveGroupParamsWithContext(ctx context.Context) *LeaveGroupParams
NewLeaveGroupParamsWithContext creates a new LeaveGroupParams object with the default values initialized, and the ability to set a context for a request
func NewLeaveGroupParamsWithHTTPClient ¶
func NewLeaveGroupParamsWithHTTPClient(client *http.Client) *LeaveGroupParams
NewLeaveGroupParamsWithHTTPClient creates a new LeaveGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLeaveGroupParamsWithTimeout ¶
func NewLeaveGroupParamsWithTimeout(timeout time.Duration) *LeaveGroupParams
NewLeaveGroupParamsWithTimeout creates a new LeaveGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*LeaveGroupParams) SetBody ¶
func (o *LeaveGroupParams) SetBody(body *models.OpenpitrixLeaveGroupRequest)
SetBody adds the body to the leave group params
func (*LeaveGroupParams) SetContext ¶
func (o *LeaveGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the leave group params
func (*LeaveGroupParams) SetHTTPClient ¶
func (o *LeaveGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the leave group params
func (*LeaveGroupParams) SetTimeout ¶
func (o *LeaveGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the leave group params
func (*LeaveGroupParams) WithBody ¶
func (o *LeaveGroupParams) WithBody(body *models.OpenpitrixLeaveGroupRequest) *LeaveGroupParams
WithBody adds the body to the leave group params
func (*LeaveGroupParams) WithContext ¶
func (o *LeaveGroupParams) WithContext(ctx context.Context) *LeaveGroupParams
WithContext adds the context to the leave group params
func (*LeaveGroupParams) WithHTTPClient ¶
func (o *LeaveGroupParams) WithHTTPClient(client *http.Client) *LeaveGroupParams
WithHTTPClient adds the HTTPClient to the leave group params
func (*LeaveGroupParams) WithTimeout ¶
func (o *LeaveGroupParams) WithTimeout(timeout time.Duration) *LeaveGroupParams
WithTimeout adds the timeout to the leave group params
func (*LeaveGroupParams) WriteToRequest ¶
func (o *LeaveGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LeaveGroupReader ¶
type LeaveGroupReader struct {
// contains filtered or unexported fields
}
LeaveGroupReader is a Reader for the LeaveGroup structure.
func (*LeaveGroupReader) ReadResponse ¶
func (o *LeaveGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyGroupOK ¶
type ModifyGroupOK struct {
Payload *models.OpenpitrixModifyGroupResponse
}
ModifyGroupOK handles this case with default header values.
A successful response.
func NewModifyGroupOK ¶
func NewModifyGroupOK() *ModifyGroupOK
NewModifyGroupOK creates a ModifyGroupOK with default headers values
func (*ModifyGroupOK) Error ¶
func (o *ModifyGroupOK) Error() string
type ModifyGroupParams ¶
type ModifyGroupParams struct { /*Body*/ Body *models.OpenpitrixModifyGroupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyGroupParams contains all the parameters to send to the API endpoint for the modify group operation typically these are written to a http.Request
func NewModifyGroupParams ¶
func NewModifyGroupParams() *ModifyGroupParams
NewModifyGroupParams creates a new ModifyGroupParams object with the default values initialized.
func NewModifyGroupParamsWithContext ¶
func NewModifyGroupParamsWithContext(ctx context.Context) *ModifyGroupParams
NewModifyGroupParamsWithContext creates a new ModifyGroupParams object with the default values initialized, and the ability to set a context for a request
func NewModifyGroupParamsWithHTTPClient ¶
func NewModifyGroupParamsWithHTTPClient(client *http.Client) *ModifyGroupParams
NewModifyGroupParamsWithHTTPClient creates a new ModifyGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyGroupParamsWithTimeout ¶
func NewModifyGroupParamsWithTimeout(timeout time.Duration) *ModifyGroupParams
NewModifyGroupParamsWithTimeout creates a new ModifyGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyGroupParams) SetBody ¶
func (o *ModifyGroupParams) SetBody(body *models.OpenpitrixModifyGroupRequest)
SetBody adds the body to the modify group params
func (*ModifyGroupParams) SetContext ¶
func (o *ModifyGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the modify group params
func (*ModifyGroupParams) SetHTTPClient ¶
func (o *ModifyGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify group params
func (*ModifyGroupParams) SetTimeout ¶
func (o *ModifyGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify group params
func (*ModifyGroupParams) WithBody ¶
func (o *ModifyGroupParams) WithBody(body *models.OpenpitrixModifyGroupRequest) *ModifyGroupParams
WithBody adds the body to the modify group params
func (*ModifyGroupParams) WithContext ¶
func (o *ModifyGroupParams) WithContext(ctx context.Context) *ModifyGroupParams
WithContext adds the context to the modify group params
func (*ModifyGroupParams) WithHTTPClient ¶
func (o *ModifyGroupParams) WithHTTPClient(client *http.Client) *ModifyGroupParams
WithHTTPClient adds the HTTPClient to the modify group params
func (*ModifyGroupParams) WithTimeout ¶
func (o *ModifyGroupParams) WithTimeout(timeout time.Duration) *ModifyGroupParams
WithTimeout adds the timeout to the modify group params
func (*ModifyGroupParams) WriteToRequest ¶
func (o *ModifyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyGroupReader ¶
type ModifyGroupReader struct {
// contains filtered or unexported fields
}
ModifyGroupReader is a Reader for the ModifyGroup structure.
func (*ModifyGroupReader) ReadResponse ¶
func (o *ModifyGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyUserOK ¶
type ModifyUserOK struct {
Payload *models.OpenpitrixModifyUserResponse
}
ModifyUserOK handles this case with default header values.
A successful response.
func NewModifyUserOK ¶
func NewModifyUserOK() *ModifyUserOK
NewModifyUserOK creates a ModifyUserOK with default headers values
func (*ModifyUserOK) Error ¶
func (o *ModifyUserOK) Error() string
type ModifyUserParams ¶
type ModifyUserParams struct { /*Body*/ Body *models.OpenpitrixModifyUserRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyUserParams contains all the parameters to send to the API endpoint for the modify user operation typically these are written to a http.Request
func NewModifyUserParams ¶
func NewModifyUserParams() *ModifyUserParams
NewModifyUserParams creates a new ModifyUserParams object with the default values initialized.
func NewModifyUserParamsWithContext ¶
func NewModifyUserParamsWithContext(ctx context.Context) *ModifyUserParams
NewModifyUserParamsWithContext creates a new ModifyUserParams object with the default values initialized, and the ability to set a context for a request
func NewModifyUserParamsWithHTTPClient ¶
func NewModifyUserParamsWithHTTPClient(client *http.Client) *ModifyUserParams
NewModifyUserParamsWithHTTPClient creates a new ModifyUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyUserParamsWithTimeout ¶
func NewModifyUserParamsWithTimeout(timeout time.Duration) *ModifyUserParams
NewModifyUserParamsWithTimeout creates a new ModifyUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyUserParams) SetBody ¶
func (o *ModifyUserParams) SetBody(body *models.OpenpitrixModifyUserRequest)
SetBody adds the body to the modify user params
func (*ModifyUserParams) SetContext ¶
func (o *ModifyUserParams) SetContext(ctx context.Context)
SetContext adds the context to the modify user params
func (*ModifyUserParams) SetHTTPClient ¶
func (o *ModifyUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify user params
func (*ModifyUserParams) SetTimeout ¶
func (o *ModifyUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify user params
func (*ModifyUserParams) WithBody ¶
func (o *ModifyUserParams) WithBody(body *models.OpenpitrixModifyUserRequest) *ModifyUserParams
WithBody adds the body to the modify user params
func (*ModifyUserParams) WithContext ¶
func (o *ModifyUserParams) WithContext(ctx context.Context) *ModifyUserParams
WithContext adds the context to the modify user params
func (*ModifyUserParams) WithHTTPClient ¶
func (o *ModifyUserParams) WithHTTPClient(client *http.Client) *ModifyUserParams
WithHTTPClient adds the HTTPClient to the modify user params
func (*ModifyUserParams) WithTimeout ¶
func (o *ModifyUserParams) WithTimeout(timeout time.Duration) *ModifyUserParams
WithTimeout adds the timeout to the modify user params
func (*ModifyUserParams) WriteToRequest ¶
func (o *ModifyUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyUserReader ¶
type ModifyUserReader struct {
// contains filtered or unexported fields
}
ModifyUserReader is a Reader for the ModifyUser structure.
func (*ModifyUserReader) ReadResponse ¶
func (o *ModifyUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateUserPasswordOK ¶
type ValidateUserPasswordOK struct {
Payload *models.OpenpitrixValidateUserPasswordResponse
}
ValidateUserPasswordOK handles this case with default header values.
A successful response.
func NewValidateUserPasswordOK ¶
func NewValidateUserPasswordOK() *ValidateUserPasswordOK
NewValidateUserPasswordOK creates a ValidateUserPasswordOK with default headers values
func (*ValidateUserPasswordOK) Error ¶
func (o *ValidateUserPasswordOK) Error() string
type ValidateUserPasswordParams ¶
type ValidateUserPasswordParams struct { /*Body*/ Body *models.OpenpitrixValidateUserPasswordRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateUserPasswordParams contains all the parameters to send to the API endpoint for the validate user password operation typically these are written to a http.Request
func NewValidateUserPasswordParams ¶
func NewValidateUserPasswordParams() *ValidateUserPasswordParams
NewValidateUserPasswordParams creates a new ValidateUserPasswordParams object with the default values initialized.
func NewValidateUserPasswordParamsWithContext ¶
func NewValidateUserPasswordParamsWithContext(ctx context.Context) *ValidateUserPasswordParams
NewValidateUserPasswordParamsWithContext creates a new ValidateUserPasswordParams object with the default values initialized, and the ability to set a context for a request
func NewValidateUserPasswordParamsWithHTTPClient ¶
func NewValidateUserPasswordParamsWithHTTPClient(client *http.Client) *ValidateUserPasswordParams
NewValidateUserPasswordParamsWithHTTPClient creates a new ValidateUserPasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateUserPasswordParamsWithTimeout ¶
func NewValidateUserPasswordParamsWithTimeout(timeout time.Duration) *ValidateUserPasswordParams
NewValidateUserPasswordParamsWithTimeout creates a new ValidateUserPasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateUserPasswordParams) SetBody ¶
func (o *ValidateUserPasswordParams) SetBody(body *models.OpenpitrixValidateUserPasswordRequest)
SetBody adds the body to the validate user password params
func (*ValidateUserPasswordParams) SetContext ¶
func (o *ValidateUserPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the validate user password params
func (*ValidateUserPasswordParams) SetHTTPClient ¶
func (o *ValidateUserPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate user password params
func (*ValidateUserPasswordParams) SetTimeout ¶
func (o *ValidateUserPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate user password params
func (*ValidateUserPasswordParams) WithBody ¶
func (o *ValidateUserPasswordParams) WithBody(body *models.OpenpitrixValidateUserPasswordRequest) *ValidateUserPasswordParams
WithBody adds the body to the validate user password params
func (*ValidateUserPasswordParams) WithContext ¶
func (o *ValidateUserPasswordParams) WithContext(ctx context.Context) *ValidateUserPasswordParams
WithContext adds the context to the validate user password params
func (*ValidateUserPasswordParams) WithHTTPClient ¶
func (o *ValidateUserPasswordParams) WithHTTPClient(client *http.Client) *ValidateUserPasswordParams
WithHTTPClient adds the HTTPClient to the validate user password params
func (*ValidateUserPasswordParams) WithTimeout ¶
func (o *ValidateUserPasswordParams) WithTimeout(timeout time.Duration) *ValidateUserPasswordParams
WithTimeout adds the timeout to the validate user password params
func (*ValidateUserPasswordParams) WriteToRequest ¶
func (o *ValidateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateUserPasswordReader ¶
type ValidateUserPasswordReader struct {
// contains filtered or unexported fields
}
ValidateUserPasswordReader is a Reader for the ValidateUserPassword structure.
func (*ValidateUserPasswordReader) ReadResponse ¶
func (o *ValidateUserPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- account_manager_client.go
- change_password_parameters.go
- change_password_responses.go
- create_group_parameters.go
- create_group_responses.go
- create_password_reset_parameters.go
- create_password_reset_responses.go
- create_user_parameters.go
- create_user_responses.go
- delete_groups_parameters.go
- delete_groups_responses.go
- delete_users_parameters.go
- delete_users_responses.go
- describe_groups_parameters.go
- describe_groups_responses.go
- describe_users_parameters.go
- describe_users_responses.go
- get_password_reset_parameters.go
- get_password_reset_responses.go
- join_group_parameters.go
- join_group_responses.go
- leave_group_parameters.go
- leave_group_responses.go
- modify_group_parameters.go
- modify_group_responses.go
- modify_user_parameters.go
- modify_user_responses.go
- validate_user_password_parameters.go
- validate_user_password_responses.go