request

package
v3.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attrs

type Attrs struct {
	Type int    `json:"type"`
	Name string `json:"name"`
	Text Text   `json:"text,omitempty"`
	Web  Web    `json:"web,omitempty"`
}

type Extattr

type Extattr struct {
	Attrs []Attrs `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 RequestTag

type RequestTag struct {
	TagName string `json:"tagname"`
	TagID   int    `json:"tagid"`
}

type RequestUserDetail

type RequestUserDetail struct {
	Userid           string          `json:"userid"`
	Name             string          `json:"name"`
	Alias            string          `json:"alias"`
	Mobile           string          `json:"mobile"`
	Department       []int           `json:"department"`
	Order            []int           `json:"order"`
	Position         string          `json:"position"`
	Gender           uint32          `json:"gender"`
	Email            string          `json:"email"`
	BizMail          string          `json:"biz_mail"`
	IsLeaderInDept   []int           `json:"is_leader_in_dept"`
	DirectLeader     []string        `json:"direct_leader"`
	Enable           int             `json:"enable"`
	AvatarMediaid    string          `json:"avatar_mediaid"`
	Telephone        string          `json:"telephone"`
	Address          string          `json:"address"`
	MainDepartment   int             `json:"main_department"`
	Extattr          Extattr         `json:"extattr"`
	ToInvite         bool            `json:"to_invite"`
	ExternalPosition string          `json:"external_position"`
	ExternalProfile  ExternalProfile `json:"external_profile"`
}

type Text

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

type Web

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

type WechatChannels

type WechatChannels struct {
	Nickname string `json:"nickname"`
}

Jump to

Keyboard shortcuts

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