account_manager

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

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

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

WithBody adds the body to the change password params

func (*ChangePasswordParams) WithContext

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 changes user password

func (*Client) CreateGroup

func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupOK, error)

CreateGroup creates group a group contain one more user

func (*Client) CreatePasswordReset

func (a *Client) CreatePasswordReset(params *CreatePasswordResetParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePasswordResetOK, error)

CreatePasswordReset creates a request to reset user s passwo

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserOK, error)

CreateUser creates user if user have admin permission

func (*Client) DeleteGroups

func (a *Client) DeleteGroups(params *DeleteGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupsOK, error)

DeleteGroups deletes groups

func (*Client) DeleteUsers

func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersOK, error)

DeleteUsers deletes user by user id

func (*Client) DescribeGroups

func (a *Client) DescribeGroups(params *DescribeGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeGroupsOK, error)

DescribeGroups gets groups can filter with these fields group id parent group id group path status default return all groups

func (*Client) DescribeGroupsDetail added in v0.4.0

func (a *Client) DescribeGroupsDetail(params *DescribeGroupsDetailParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeGroupsDetailOK, error)

DescribeGroupsDetail gets groups include all user in this group can filter with these fields group id parent group id group path status default return all groups

func (*Client) DescribeUsers

func (a *Client) DescribeUsers(params *DescribeUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeUsersOK, error)

DescribeUsers gets users filter with fields user id email phone number status default return all users

func (*Client) DescribeUsersDetail added in v0.4.0

func (a *Client) DescribeUsersDetail(params *DescribeUsersDetailParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeUsersDetailOK, error)

DescribeUsersDetail gets users include user info of role and group filter with fields user id email phone number status default return all users

func (*Client) GetPasswordReset

func (a *Client) GetPasswordReset(params *GetPasswordResetParams, authInfo runtime.ClientAuthInfoWriter) (*GetPasswordResetOK, error)

GetPasswordReset gets a request of reset user s password

func (*Client) IsvCreateUser added in v0.4.0

func (a *Client) IsvCreateUser(params *IsvCreateUserParams, authInfo runtime.ClientAuthInfoWriter) (*IsvCreateUserOK, error)

IsvCreateUser isvs of platform create user

func (*Client) JoinGroup

func (a *Client) JoinGroup(params *JoinGroupParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGroupOK, error)

JoinGroup joins groups user can join in groups

func (*Client) LeaveGroup

func (a *Client) LeaveGroup(params *LeaveGroupParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGroupOK, error)

LeaveGroup leaves groups user can leave from groups

func (*Client) ModifyGroup

func (a *Client) ModifyGroup(params *ModifyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyGroupOK, error)

ModifyGroup modifies group info

func (*Client) ModifyUser

func (a *Client) ModifyUser(params *ModifyUserParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyUserOK, error)

ModifyUser modifies user info

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 validates user and password

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

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

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

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

WithBody adds the body to the create password reset params

func (*CreatePasswordResetParams) WithContext

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

WithTimeout adds the timeout to the create password reset params

func (*CreatePasswordResetParams) WriteToRequest

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

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

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

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

WithBody adds the body to the delete groups params

func (*DeleteGroupsParams) WithContext

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

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

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 DescribeGroupsDetailOK added in v0.4.0

type DescribeGroupsDetailOK struct {
	Payload *models.OpenpitrixDescribeGroupsDetailResponse
}

DescribeGroupsDetailOK handles this case with default header values.

A successful response.

func NewDescribeGroupsDetailOK added in v0.4.0

func NewDescribeGroupsDetailOK() *DescribeGroupsDetailOK

NewDescribeGroupsDetailOK creates a DescribeGroupsDetailOK with default headers values

func (*DescribeGroupsDetailOK) Error added in v0.4.0

func (o *DescribeGroupsDetailOK) Error() string

type DescribeGroupsDetailParams added in v0.4.0

type DescribeGroupsDetailParams struct {

	/*GroupID
	  group ids.

	*/
	GroupID []string
	/*GroupName
	  group name.

	*/
	GroupName []string
	/*GroupPath
	  group path, a concat string gid-xxx.gid-xxx.gid...

	*/
	GroupPath []string
	/*Limit
	  data limit per page, default value 20, max value 200.

	*/
	Limit *int64
	/*Offset
	  data offset, default 0.

	*/
	Offset *int64
	/*ParentGroupID
	  parent group ids.

	*/
	ParentGroupID []string
	/*Reverse
	  value = 0 sort ASC, value = 1 sort DESC.

	*/
	Reverse *bool
	/*RootGroupID
	  use root group ids to get all groups.

	*/
	RootGroupID []string
	/*SearchWord
	  query key, support these fields(group_id, parent_group_id, group_path, status).

	*/
	SearchWord *string
	/*SortKey
	  sort key, order by sort_key, default create_time.

	*/
	SortKey *string
	/*Status
	  status eg.[active|deleted].

	*/
	Status []string

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

DescribeGroupsDetailParams contains all the parameters to send to the API endpoint for the describe groups detail operation typically these are written to a http.Request

func NewDescribeGroupsDetailParams added in v0.4.0

func NewDescribeGroupsDetailParams() *DescribeGroupsDetailParams

NewDescribeGroupsDetailParams creates a new DescribeGroupsDetailParams object with the default values initialized.

func NewDescribeGroupsDetailParamsWithContext added in v0.4.0

func NewDescribeGroupsDetailParamsWithContext(ctx context.Context) *DescribeGroupsDetailParams

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

func NewDescribeGroupsDetailParamsWithHTTPClient added in v0.4.0

func NewDescribeGroupsDetailParamsWithHTTPClient(client *http.Client) *DescribeGroupsDetailParams

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

func NewDescribeGroupsDetailParamsWithTimeout added in v0.4.0

func NewDescribeGroupsDetailParamsWithTimeout(timeout time.Duration) *DescribeGroupsDetailParams

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

func (*DescribeGroupsDetailParams) SetContext added in v0.4.0

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

SetContext adds the context to the describe groups detail params

func (*DescribeGroupsDetailParams) SetGroupID added in v0.4.0

func (o *DescribeGroupsDetailParams) SetGroupID(groupID []string)

SetGroupID adds the groupId to the describe groups detail params

func (*DescribeGroupsDetailParams) SetGroupName added in v0.4.0

func (o *DescribeGroupsDetailParams) SetGroupName(groupName []string)

SetGroupName adds the groupName to the describe groups detail params

func (*DescribeGroupsDetailParams) SetGroupPath added in v0.4.0

func (o *DescribeGroupsDetailParams) SetGroupPath(groupPath []string)

SetGroupPath adds the groupPath to the describe groups detail params

func (*DescribeGroupsDetailParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the describe groups detail params

func (*DescribeGroupsDetailParams) SetLimit added in v0.4.0

func (o *DescribeGroupsDetailParams) SetLimit(limit *int64)

SetLimit adds the limit to the describe groups detail params

func (*DescribeGroupsDetailParams) SetOffset added in v0.4.0

func (o *DescribeGroupsDetailParams) SetOffset(offset *int64)

SetOffset adds the offset to the describe groups detail params

func (*DescribeGroupsDetailParams) SetParentGroupID added in v0.4.0

func (o *DescribeGroupsDetailParams) SetParentGroupID(parentGroupID []string)

SetParentGroupID adds the parentGroupId to the describe groups detail params

func (*DescribeGroupsDetailParams) SetReverse added in v0.4.0

func (o *DescribeGroupsDetailParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the describe groups detail params

func (*DescribeGroupsDetailParams) SetRootGroupID added in v0.4.0

func (o *DescribeGroupsDetailParams) SetRootGroupID(rootGroupID []string)

SetRootGroupID adds the rootGroupId to the describe groups detail params

func (*DescribeGroupsDetailParams) SetSearchWord added in v0.4.0

func (o *DescribeGroupsDetailParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe groups detail params

func (*DescribeGroupsDetailParams) SetSortKey added in v0.4.0

func (o *DescribeGroupsDetailParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey to the describe groups detail params

func (*DescribeGroupsDetailParams) SetStatus added in v0.4.0

func (o *DescribeGroupsDetailParams) SetStatus(status []string)

SetStatus adds the status to the describe groups detail params

func (*DescribeGroupsDetailParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the describe groups detail params

func (*DescribeGroupsDetailParams) WithContext added in v0.4.0

WithContext adds the context to the describe groups detail params

func (*DescribeGroupsDetailParams) WithGroupID added in v0.4.0

WithGroupID adds the groupID to the describe groups detail params

func (*DescribeGroupsDetailParams) WithGroupName added in v0.4.0

func (o *DescribeGroupsDetailParams) WithGroupName(groupName []string) *DescribeGroupsDetailParams

WithGroupName adds the groupName to the describe groups detail params

func (*DescribeGroupsDetailParams) WithGroupPath added in v0.4.0

func (o *DescribeGroupsDetailParams) WithGroupPath(groupPath []string) *DescribeGroupsDetailParams

WithGroupPath adds the groupPath to the describe groups detail params

func (*DescribeGroupsDetailParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the describe groups detail params

func (*DescribeGroupsDetailParams) WithLimit added in v0.4.0

WithLimit adds the limit to the describe groups detail params

func (*DescribeGroupsDetailParams) WithOffset added in v0.4.0

WithOffset adds the offset to the describe groups detail params

func (*DescribeGroupsDetailParams) WithParentGroupID added in v0.4.0

func (o *DescribeGroupsDetailParams) WithParentGroupID(parentGroupID []string) *DescribeGroupsDetailParams

WithParentGroupID adds the parentGroupID to the describe groups detail params

func (*DescribeGroupsDetailParams) WithReverse added in v0.4.0

WithReverse adds the reverse to the describe groups detail params

func (*DescribeGroupsDetailParams) WithRootGroupID added in v0.4.0

func (o *DescribeGroupsDetailParams) WithRootGroupID(rootGroupID []string) *DescribeGroupsDetailParams

WithRootGroupID adds the rootGroupID to the describe groups detail params

func (*DescribeGroupsDetailParams) WithSearchWord added in v0.4.0

func (o *DescribeGroupsDetailParams) WithSearchWord(searchWord *string) *DescribeGroupsDetailParams

WithSearchWord adds the searchWord to the describe groups detail params

func (*DescribeGroupsDetailParams) WithSortKey added in v0.4.0

WithSortKey adds the sortKey to the describe groups detail params

func (*DescribeGroupsDetailParams) WithStatus added in v0.4.0

WithStatus adds the status to the describe groups detail params

func (*DescribeGroupsDetailParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the describe groups detail params

func (*DescribeGroupsDetailParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DescribeGroupsDetailReader added in v0.4.0

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

DescribeGroupsDetailReader is a Reader for the DescribeGroupsDetail structure.

func (*DescribeGroupsDetailReader) ReadResponse added in v0.4.0

func (o *DescribeGroupsDetailReader) 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
	  group ids.

	*/
	GroupID []string
	/*GroupName
	  group name.

	*/
	GroupName []string
	/*GroupPath
	  group path, a concat string gid-xxx.gid-xxx.gid...

	*/
	GroupPath []string
	/*Limit
	  data limit per page, default value 20, max value 200.

	*/
	Limit *int64
	/*Offset
	  data offset, default 0.

	*/
	Offset *int64
	/*ParentGroupID
	  parent group ids.

	*/
	ParentGroupID []string
	/*Reverse
	  value = 0 sort ASC, value = 1 sort DESC.

	*/
	Reverse *bool
	/*RootGroupID
	  use root group ids to get all groups.

	*/
	RootGroupID []string
	/*SearchWord
	  query key, support these fields(group_id, parent_group_id, group_path, status).

	*/
	SearchWord *string
	/*SortKey
	  sort key, order by sort_key, default create_time.

	*/
	SortKey *string
	/*Status
	  status eg.[active|deleted].

	*/
	Status []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) SetGroupName added in v0.4.0

func (o *DescribeGroupsParams) SetGroupName(groupName []string)

SetGroupName adds the groupName to the describe groups params

func (*DescribeGroupsParams) SetGroupPath added in v0.4.0

func (o *DescribeGroupsParams) SetGroupPath(groupPath []string)

SetGroupPath adds the groupPath 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) SetParentGroupID added in v0.4.0

func (o *DescribeGroupsParams) SetParentGroupID(parentGroupID []string)

SetParentGroupID adds the parentGroupId 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) SetRootGroupID added in v0.4.0

func (o *DescribeGroupsParams) SetRootGroupID(rootGroupID []string)

SetRootGroupID adds the rootGroupId 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) WithContext

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) WithGroupName added in v0.4.0

func (o *DescribeGroupsParams) WithGroupName(groupName []string) *DescribeGroupsParams

WithGroupName adds the groupName to the describe groups params

func (*DescribeGroupsParams) WithGroupPath added in v0.4.0

func (o *DescribeGroupsParams) WithGroupPath(groupPath []string) *DescribeGroupsParams

WithGroupPath adds the groupPath 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) WithParentGroupID added in v0.4.0

func (o *DescribeGroupsParams) WithParentGroupID(parentGroupID []string) *DescribeGroupsParams

WithParentGroupID adds the parentGroupID 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) WithRootGroupID added in v0.4.0

func (o *DescribeGroupsParams) WithRootGroupID(rootGroupID []string) *DescribeGroupsParams

WithRootGroupID adds the rootGroupID 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) 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 DescribeUsersDetailOK added in v0.4.0

type DescribeUsersDetailOK struct {
	Payload *models.OpenpitrixDescribeUsersDetailResponse
}

DescribeUsersDetailOK handles this case with default header values.

A successful response.

func NewDescribeUsersDetailOK added in v0.4.0

func NewDescribeUsersDetailOK() *DescribeUsersDetailOK

NewDescribeUsersDetailOK creates a DescribeUsersDetailOK with default headers values

func (*DescribeUsersDetailOK) Error added in v0.4.0

func (o *DescribeUsersDetailOK) Error() string

type DescribeUsersDetailParams added in v0.4.0

type DescribeUsersDetailParams struct {

	/*Email
	  email, eg.op@yunify.com.

	*/
	Email []string
	/*GroupID
	  group ids.

	*/
	GroupID []string
	/*Limit
	  data limit, default 20, max 200.

	*/
	Limit *int64
	/*Offset
	  data offset, default 0.

	*/
	Offset *int64
	/*PhoneNumber
	  phone number, string of 11 digital.

	*/
	PhoneNumber []string
	/*Reverse
	  value = 0 sort ASC, value = 1 sort DESC.

	*/
	Reverse *bool
	/*RoleID
	  role ids.

	*/
	RoleID []string
	/*RootGroupID
	  use root group ids to get all group ids.

	*/
	RootGroupID []string
	/*SearchWord
	  query key, support these fields(user_id, email, phone_number, status).

	*/
	SearchWord *string
	/*SortKey
	  sort key, order by sort_key, default create_time.

	*/
	SortKey *string
	/*Status
	  status eg.[active|deleted].

	*/
	Status []string
	/*UserID
	  user ids.

	*/
	UserID []string
	/*Username
	  username.

	*/
	Username []string

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

DescribeUsersDetailParams contains all the parameters to send to the API endpoint for the describe users detail operation typically these are written to a http.Request

func NewDescribeUsersDetailParams added in v0.4.0

func NewDescribeUsersDetailParams() *DescribeUsersDetailParams

NewDescribeUsersDetailParams creates a new DescribeUsersDetailParams object with the default values initialized.

func NewDescribeUsersDetailParamsWithContext added in v0.4.0

func NewDescribeUsersDetailParamsWithContext(ctx context.Context) *DescribeUsersDetailParams

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

func NewDescribeUsersDetailParamsWithHTTPClient added in v0.4.0

func NewDescribeUsersDetailParamsWithHTTPClient(client *http.Client) *DescribeUsersDetailParams

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

func NewDescribeUsersDetailParamsWithTimeout added in v0.4.0

func NewDescribeUsersDetailParamsWithTimeout(timeout time.Duration) *DescribeUsersDetailParams

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

func (*DescribeUsersDetailParams) SetContext added in v0.4.0

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

SetContext adds the context to the describe users detail params

func (*DescribeUsersDetailParams) SetEmail added in v0.4.0

func (o *DescribeUsersDetailParams) SetEmail(email []string)

SetEmail adds the email to the describe users detail params

func (*DescribeUsersDetailParams) SetGroupID added in v0.4.0

func (o *DescribeUsersDetailParams) SetGroupID(groupID []string)

SetGroupID adds the groupId to the describe users detail params

func (*DescribeUsersDetailParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the describe users detail params

func (*DescribeUsersDetailParams) SetLimit added in v0.4.0

func (o *DescribeUsersDetailParams) SetLimit(limit *int64)

SetLimit adds the limit to the describe users detail params

func (*DescribeUsersDetailParams) SetOffset added in v0.4.0

func (o *DescribeUsersDetailParams) SetOffset(offset *int64)

SetOffset adds the offset to the describe users detail params

func (*DescribeUsersDetailParams) SetPhoneNumber added in v0.4.0

func (o *DescribeUsersDetailParams) SetPhoneNumber(phoneNumber []string)

SetPhoneNumber adds the phoneNumber to the describe users detail params

func (*DescribeUsersDetailParams) SetReverse added in v0.4.0

func (o *DescribeUsersDetailParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the describe users detail params

func (*DescribeUsersDetailParams) SetRoleID added in v0.4.0

func (o *DescribeUsersDetailParams) SetRoleID(roleID []string)

SetRoleID adds the roleId to the describe users detail params

func (*DescribeUsersDetailParams) SetRootGroupID added in v0.4.0

func (o *DescribeUsersDetailParams) SetRootGroupID(rootGroupID []string)

SetRootGroupID adds the rootGroupId to the describe users detail params

func (*DescribeUsersDetailParams) SetSearchWord added in v0.4.0

func (o *DescribeUsersDetailParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe users detail params

func (*DescribeUsersDetailParams) SetSortKey added in v0.4.0

func (o *DescribeUsersDetailParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey to the describe users detail params

func (*DescribeUsersDetailParams) SetStatus added in v0.4.0

func (o *DescribeUsersDetailParams) SetStatus(status []string)

SetStatus adds the status to the describe users detail params

func (*DescribeUsersDetailParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the describe users detail params

func (*DescribeUsersDetailParams) SetUserID added in v0.4.0

func (o *DescribeUsersDetailParams) SetUserID(userID []string)

SetUserID adds the userId to the describe users detail params

func (*DescribeUsersDetailParams) SetUsername added in v0.4.0

func (o *DescribeUsersDetailParams) SetUsername(username []string)

SetUsername adds the username to the describe users detail params

func (*DescribeUsersDetailParams) WithContext added in v0.4.0

WithContext adds the context to the describe users detail params

func (*DescribeUsersDetailParams) WithEmail added in v0.4.0

WithEmail adds the email to the describe users detail params

func (*DescribeUsersDetailParams) WithGroupID added in v0.4.0

func (o *DescribeUsersDetailParams) WithGroupID(groupID []string) *DescribeUsersDetailParams

WithGroupID adds the groupID to the describe users detail params

func (*DescribeUsersDetailParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the describe users detail params

func (*DescribeUsersDetailParams) WithLimit added in v0.4.0

WithLimit adds the limit to the describe users detail params

func (*DescribeUsersDetailParams) WithOffset added in v0.4.0

WithOffset adds the offset to the describe users detail params

func (*DescribeUsersDetailParams) WithPhoneNumber added in v0.4.0

func (o *DescribeUsersDetailParams) WithPhoneNumber(phoneNumber []string) *DescribeUsersDetailParams

WithPhoneNumber adds the phoneNumber to the describe users detail params

func (*DescribeUsersDetailParams) WithReverse added in v0.4.0

func (o *DescribeUsersDetailParams) WithReverse(reverse *bool) *DescribeUsersDetailParams

WithReverse adds the reverse to the describe users detail params

func (*DescribeUsersDetailParams) WithRoleID added in v0.4.0

WithRoleID adds the roleID to the describe users detail params

func (*DescribeUsersDetailParams) WithRootGroupID added in v0.4.0

func (o *DescribeUsersDetailParams) WithRootGroupID(rootGroupID []string) *DescribeUsersDetailParams

WithRootGroupID adds the rootGroupID to the describe users detail params

func (*DescribeUsersDetailParams) WithSearchWord added in v0.4.0

func (o *DescribeUsersDetailParams) WithSearchWord(searchWord *string) *DescribeUsersDetailParams

WithSearchWord adds the searchWord to the describe users detail params

func (*DescribeUsersDetailParams) WithSortKey added in v0.4.0

WithSortKey adds the sortKey to the describe users detail params

func (*DescribeUsersDetailParams) WithStatus added in v0.4.0

WithStatus adds the status to the describe users detail params

func (*DescribeUsersDetailParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the describe users detail params

func (*DescribeUsersDetailParams) WithUserID added in v0.4.0

WithUserID adds the userID to the describe users detail params

func (*DescribeUsersDetailParams) WithUsername added in v0.4.0

func (o *DescribeUsersDetailParams) WithUsername(username []string) *DescribeUsersDetailParams

WithUsername adds the username to the describe users detail params

func (*DescribeUsersDetailParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DescribeUsersDetailReader added in v0.4.0

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

DescribeUsersDetailReader is a Reader for the DescribeUsersDetail structure.

func (*DescribeUsersDetailReader) ReadResponse added in v0.4.0

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

	/*Email
	  email, eg.op@yunify.com.

	*/
	Email []string
	/*GroupID
	  group ids.

	*/
	GroupID []string
	/*Limit
	  data limit, default 20, max 200.

	*/
	Limit *int64
	/*Offset
	  data offset, default 0.

	*/
	Offset *int64
	/*PhoneNumber
	  phone number, string of 11 digital.

	*/
	PhoneNumber []string
	/*Reverse
	  value = 0 sort ASC, value = 1 sort DESC.

	*/
	Reverse *bool
	/*RoleID
	  role ids.

	*/
	RoleID []string
	/*RootGroupID
	  use root group ids to get all group ids.

	*/
	RootGroupID []string
	/*SearchWord
	  query key, support these fields(user_id, email, phone_number, status).

	*/
	SearchWord *string
	/*SortKey
	  sort key, order by sort_key, default create_time.

	*/
	SortKey *string
	/*Status
	  status eg.[active|deleted].

	*/
	Status []string
	/*UserID
	  user ids.

	*/
	UserID []string
	/*Username
	  username.

	*/
	Username []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) SetEmail added in v0.4.0

func (o *DescribeUsersParams) SetEmail(email []string)

SetEmail adds the email 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) SetPhoneNumber added in v0.4.0

func (o *DescribeUsersParams) SetPhoneNumber(phoneNumber []string)

SetPhoneNumber adds the phoneNumber 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) SetRoleID added in v0.4.0

func (o *DescribeUsersParams) SetRoleID(roleID []string)

SetRoleID adds the roleId to the describe users params

func (*DescribeUsersParams) SetRootGroupID added in v0.4.0

func (o *DescribeUsersParams) SetRootGroupID(rootGroupID []string)

SetRootGroupID adds the rootGroupId 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) SetUsername added in v0.4.0

func (o *DescribeUsersParams) SetUsername(username []string)

SetUsername adds the username to the describe users params

func (*DescribeUsersParams) WithContext

WithContext adds the context to the describe users params

func (*DescribeUsersParams) WithEmail added in v0.4.0

func (o *DescribeUsersParams) WithEmail(email []string) *DescribeUsersParams

WithEmail adds the email 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) WithPhoneNumber added in v0.4.0

func (o *DescribeUsersParams) WithPhoneNumber(phoneNumber []string) *DescribeUsersParams

WithPhoneNumber adds the phoneNumber 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) WithRoleID added in v0.4.0

func (o *DescribeUsersParams) WithRoleID(roleID []string) *DescribeUsersParams

WithRoleID adds the roleID to the describe users params

func (*DescribeUsersParams) WithRootGroupID added in v0.4.0

func (o *DescribeUsersParams) WithRootGroupID(rootGroupID []string) *DescribeUsersParams

WithRootGroupID adds the rootGroupID 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) WithUsername added in v0.4.0

func (o *DescribeUsersParams) WithUsername(username []string) *DescribeUsersParams

WithUsername adds the username 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
	  required, reset id.

	*/
	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

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

WithTimeout adds the timeout to the get password reset params

func (*GetPasswordResetParams) WriteToRequest

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 IsvCreateUserOK added in v0.4.0

type IsvCreateUserOK struct {
	Payload *models.OpenpitrixCreateUserResponse
}

IsvCreateUserOK handles this case with default header values.

A successful response.

func NewIsvCreateUserOK added in v0.4.0

func NewIsvCreateUserOK() *IsvCreateUserOK

NewIsvCreateUserOK creates a IsvCreateUserOK with default headers values

func (*IsvCreateUserOK) Error added in v0.4.0

func (o *IsvCreateUserOK) Error() string

type IsvCreateUserParams added in v0.4.0

type IsvCreateUserParams struct {

	/*Body*/
	Body *models.OpenpitrixCreateUserRequest

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

IsvCreateUserParams contains all the parameters to send to the API endpoint for the isv create user operation typically these are written to a http.Request

func NewIsvCreateUserParams added in v0.4.0

func NewIsvCreateUserParams() *IsvCreateUserParams

NewIsvCreateUserParams creates a new IsvCreateUserParams object with the default values initialized.

func NewIsvCreateUserParamsWithContext added in v0.4.0

func NewIsvCreateUserParamsWithContext(ctx context.Context) *IsvCreateUserParams

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

func NewIsvCreateUserParamsWithHTTPClient added in v0.4.0

func NewIsvCreateUserParamsWithHTTPClient(client *http.Client) *IsvCreateUserParams

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

func NewIsvCreateUserParamsWithTimeout added in v0.4.0

func NewIsvCreateUserParamsWithTimeout(timeout time.Duration) *IsvCreateUserParams

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

func (*IsvCreateUserParams) SetBody added in v0.4.0

SetBody adds the body to the isv create user params

func (*IsvCreateUserParams) SetContext added in v0.4.0

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

SetContext adds the context to the isv create user params

func (*IsvCreateUserParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the isv create user params

func (*IsvCreateUserParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the isv create user params

func (*IsvCreateUserParams) WithBody added in v0.4.0

WithBody adds the body to the isv create user params

func (*IsvCreateUserParams) WithContext added in v0.4.0

WithContext adds the context to the isv create user params

func (*IsvCreateUserParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the isv create user params

func (*IsvCreateUserParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the isv create user params

func (*IsvCreateUserParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type IsvCreateUserReader added in v0.4.0

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

IsvCreateUserReader is a Reader for the IsvCreateUser structure.

func (*IsvCreateUserReader) ReadResponse added in v0.4.0

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

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

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

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

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

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

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

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

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

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

WithBody adds the body to the validate user password params

func (*ValidateUserPasswordParams) WithContext

WithContext adds the context to the validate user password params

func (*ValidateUserPasswordParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate user password params

func (*ValidateUserPasswordParams) WithTimeout

WithTimeout adds the timeout to the validate user password params

func (*ValidateUserPasswordParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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