Documentation ¶
Index ¶
- type AddDepartmentUsersRequest
- type DepartmentListRequest
- type LoginByDingtalkCodeRequest
- type ResourceListRequest
- type RoleDispatchResourcesRequest
- type RoleListRequest
- type ThirdSourceListRequest
- type ThirdSourcePublic
- type UserDispatchRolesRequest
- type UserListRequest
- type UserResourceCodesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDepartmentUsersRequest ¶
type AddDepartmentUsersRequest struct { DepartmentID uint64 `json:"departmentId,string"` UserIDs []uint64 `json:"userIds"` }
func (*AddDepartmentUsersRequest) UnmarshalJSON ¶
func (r *AddDepartmentUsersRequest) UnmarshalJSON(b []byte) error
type DepartmentListRequest ¶
type DepartmentListRequest struct { model.Department OnlyParent bool `json:"onlyParent"` CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"` UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"` OrderBy string `json:"orderBy"` }
type ResourceListRequest ¶
type ResourceListRequest struct { model.Resource CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"` UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"` OrderBy string `json:"orderBy"` }
type RoleListRequest ¶
type RoleListRequest struct { model.Role CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"` UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"` OrderBy string `json:"orderBy"` }
type ThirdSourceListRequest ¶
type ThirdSourceListRequest struct { model.ThirdSource CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"` OrderBy string `json:"orderBy"` }
type ThirdSourcePublic ¶
type UserDispatchRolesRequest ¶
type UserDispatchRolesRequest struct { UserID uint64 `json:"userId,string"` RoleIDList []uint64 `json:"roleIdList"` }
func (*UserDispatchRolesRequest) UnmarshalJSON ¶
func (r *UserDispatchRolesRequest) UnmarshalJSON(b []byte) error
type UserListRequest ¶
type UserListRequest struct { model.User DepartmentID uint64 `json:"departmentId,string"` CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"` UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"` OrderBy string `json:"orderBy"` }
Click to show internal directories.
Click to hide internal directories.