Documentation ¶
Index ¶
- type DepartmentUser
- type ExtAttr
- type ExternalAttr
- type ExternalProfile
- type MiniProgram
- type ResponseConvertToUserID
- type ResponseGetSimpleUserList
- type ResponseGetUserDetail
- type ResponseGetUserList
- type ResponseJoinCode
- type ResponseLinkCorpGetDepartmentList
- type ResponseLinkCorpGetPermList
- type ResponseLinkCorpGetUser
- type ResponseLinkCorpGetUserList
- type ResponseLinkCorpGetUserSimpleList
- type ResponseListID
- type ResponseMobileToUserID
- type ResponseOpenIDToUserID
- type ResponseTagCreate
- type ResponseTagCreateUser
- type ResponseTagDetail
- type ResponseTagList
- type ResponseUserActiveCount
- type ResponseUserBatchGetResult
- type ResponseUserBatchJobs
- type ResponseUserExportGetResult
- type ResponseUserExportJobs
- type ResponseUserIDToOpenID
- type Text
- type UserDetail
- type UserSimpleDetail
- type Web
- type WechatChannels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepartmentUser ¶ added in v2.0.7
type ExternalAttr ¶
type ExternalAttr struct { Type int `json:"type"` Name string `json:"name"` Text *Text `json:"text,omitempty"` Web *Web `json:"web,omitempty"` MiniProgram *MiniProgram `json:"miniprogram,omitempty"` }
type ExternalProfile ¶
type ExternalProfile struct { ExternalCorpName string `json:"external_corp_name"` WechatChannels *WechatChannels `json:"wechat_channels"` ExternalAttr []*ExternalAttr `json:"external_attr"` }
type MiniProgram ¶
type ResponseConvertToUserID ¶ added in v2.0.7
type ResponseConvertToUserID struct { *response.ResponseWork UserID string `json:"userid"` }
type ResponseGetSimpleUserList ¶
type ResponseGetSimpleUserList struct { *response.ResponseWork UserList []*UserSimpleDetail `json:"userlist"` }
type ResponseGetUserDetail ¶
type ResponseGetUserDetail struct { *response.ResponseWork *UserDetail }
type ResponseGetUserList ¶
type ResponseGetUserList struct { response.ResponseWork //UserList []*response2.RequestUserDetail `json:"userlist"` UserList []*models.Employee `json:"userlist"` }
type ResponseJoinCode ¶
type ResponseJoinCode struct { *response.ResponseWork JoinCode string `json:"join_qrcode"` }
type ResponseLinkCorpGetDepartmentList ¶
type ResponseLinkCorpGetDepartmentList struct { *response.ResponseWork // contains filtered or unexported fields }
type ResponseLinkCorpGetPermList ¶
type ResponseLinkCorpGetPermList struct { *response.ResponseWork UserIDs []string `json:"userids"` DepartmentIDs []string `json:"department_ids"` }
type ResponseLinkCorpGetUser ¶
type ResponseLinkCorpGetUser struct { *response.ResponseWork UserInfo *power.HashMap `json:"user_info"` }
type ResponseLinkCorpGetUserList ¶
type ResponseLinkCorpGetUserList struct { *response.ResponseWork UserList []*power.HashMap `json:"userlist"` }
type ResponseLinkCorpGetUserSimpleList ¶
type ResponseLinkCorpGetUserSimpleList struct { *response.ResponseWork UserList []*power.HashMap `json:"userlist"` }
type ResponseListID ¶ added in v2.0.7
type ResponseListID struct { response.ResponseWork NextCursor string `json:"next_cursor"` DeptUser []*DepartmentUser `json:"dept_user"` }
type ResponseMobileToUserID ¶
type ResponseMobileToUserID struct { *response.ResponseWork UserID string `json:"userid"` }
type ResponseOpenIDToUserID ¶
type ResponseOpenIDToUserID struct { *response.ResponseWork UserID string `json:"userid"` }
type ResponseTagCreate ¶
type ResponseTagCreate struct { *response.ResponseWork TagID string `json:"tagid"` }
type ResponseTagCreateUser ¶
type ResponseTagCreateUser struct { *response.ResponseWork InvalidUser string `json:"invaliduser"` // "userid1|userid2", InvalidParty string `json:"invalidparty"` // "partyid1|partyid2", }
type ResponseTagDetail ¶
type ResponseTagDetail struct { *response.ResponseWork TagName string `json:"tagname"` UserList []*UserSimpleDetail `json:"userlist"` PartyList []int `json:"partylist"` }
type ResponseTagList ¶
type ResponseTagList struct { *response.ResponseWork TagName string `json:"tagname"` TagList []*request.RequestTag `json:"taglist"` }
type ResponseUserActiveCount ¶
type ResponseUserActiveCount struct { *response.ResponseWork ActiveCount string `json:"active_cnt"` }
type ResponseUserBatchJobs ¶
type ResponseUserBatchJobs struct { *response.ResponseWork JobID string `json:"jobid"` }
type ResponseUserExportGetResult ¶
type ResponseUserExportGetResult struct { *response.ResponseWork Status int `json:"status"` DataList []*object.HashMap `json:"data_list"` }
type ResponseUserExportJobs ¶
type ResponseUserExportJobs struct { *response.ResponseWork JobID string `json:"jobid"` }
type ResponseUserIDToOpenID ¶
type ResponseUserIDToOpenID struct { *response.ResponseWork OpenID string `json:"openid"` }
type UserDetail ¶
type UserDetail struct { UserID string `json:"userid"` Name string `json:"name"` Department []int `json:"department"` Order []int `json:"order"` Position string `json:"position"` Mobile string `json:"mobile"` Gender string `json:"gender"` Email string `json:"email"` BizMail string `json:"biz_mail"` IsLeaderInDept []int `json:"is_leader_in_dept"` DirectLeader []string `json:"direct_leader"` Avatar string `json:"avatar"` ThumbAvatar string `json:"thumb_avatar"` Telephone string `json:"telephone"` Alias string `json:"alias"` Address string `json:"address"` OpenUserid string `json:"open_userid"` MainDepartment int `json:"main_department"` ExtAttr *ExtAttr `json:"extattr"` Status int `json:"status"` QrCode string `json:"qr_code"` ExternalPosition string `json:"external_position"` ExternalProfile *ExternalProfile `json:"external_profile"` }
type UserSimpleDetail ¶
type WechatChannels ¶
Source Files ¶
- responseActiveUserNum.go
- responseGetUserDetail.go
- responseGetUserList.go
- responseGetUserSimpleList.go
- responseLinkCorpGetDepartmentList.go
- responseLinkCorpGetPermList.go
- responseLinkCorpGetUser.go
- responseLinkCorpGetUserList.go
- responseLinkCorpGetUserSimpleList.go
- responseMobileToUserID.go
- responseOpenIDToUserID.go
- responseTagCreate.go
- responseTagCreateUser.go
- responseTagDetail.go
- responseTagList.go
- responseUserActiveCount.go
- responseUserBatchGetResult.go
- responseUserBatchJobs.go
- responseUserExportGetResult.go
- responseUserExportJobs.go
- responseUserIDToOpenID.go
Click to show internal directories.
Click to hide internal directories.