response

package
v2.0.3-beta06 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtAttr

type ExtAttr struct {
	Attrs []struct {
		Type int    `json:"type"`
		Name string `json:"name"`
		Text struct {
			Value string `json:"value"`
		} `json:"text,omitempty"`
		Web struct {
			Url   string `json:"url"`
			Title string `json:"title"`
		} `json:"web,omitempty"`
	} `json:"attrs"`
}

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 MiniProgram struct {
	AppID    string `json:"appid"`
	PagePath string `json:"pagepath"`
	Title    string `json:"title"`
}

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 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 ResponseUserBatchGetResult

type ResponseUserBatchGetResult struct {
	*response.ResponseWork

	Status     int               `json:"status"`
	Type       string            `json:"type"`
	Total      int               `json:"total"`
	Percentage int               `json:"percentage"`
	Result     []*object.HashMap `json:"result"`
}

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 Text

type Text struct {
	Value string `json:"value"`
}

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 UserSimpleDetail struct {
	UserID     string `json:"userid"`      //  "zhangsan",
	Name       string `json:"name"`        //  "张三",
	Department []int  `json:"department"`  //  [1, 2],
	OpenUserID string `json:"open_userid"` //  "xxxxxx"
}

type Web

type Web struct {
	URL   string `json:"url"`
	Title string `json:"title"`
}

type WechatChannels

type WechatChannels struct {
	NickName string `json:"nickname"`
	Status   int    `json:"status"`
}

Jump to

Keyboard shortcuts

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