village_1_0

package
v1.5.36 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) GetDept

func (client *Client) GetDept(departmentId *string, request *GetDeptRequest) (_result *GetDeptResponse, _err error)

func (*Client) GetDeptWithOptions

func (client *Client) GetDeptWithOptions(departmentId *string, request *GetDeptRequest, headers *GetDeptHeaders, runtime *util.RuntimeOptions) (_result *GetDeptResponse, _err error)

func (*Client) GetResidentDept

func (client *Client) GetResidentDept(departmentId *string, request *GetResidentDeptRequest) (_result *GetResidentDeptResponse, _err error)

func (*Client) GetResidentDeptWithOptions

func (client *Client) GetResidentDeptWithOptions(departmentId *string, request *GetResidentDeptRequest, headers *GetResidentDeptHeaders, runtime *util.RuntimeOptions) (_result *GetResidentDeptResponse, _err error)

func (*Client) GetResidentUserInfo

func (client *Client) GetResidentUserInfo(departmentId *string, userId *string, request *GetResidentUserInfoRequest) (_result *GetResidentUserInfoResponse, _err error)

func (*Client) GetResidentUserInfoWithOptions

func (client *Client) GetResidentUserInfoWithOptions(departmentId *string, userId *string, request *GetResidentUserInfoRequest, headers *GetResidentUserInfoHeaders, runtime *util.RuntimeOptions) (_result *GetResidentUserInfoResponse, _err error)

func (*Client) GetUser

func (client *Client) GetUser(userId *string, request *GetUserRequest) (_result *GetUserResponse, _err error)

func (*Client) GetUserByUnionId

func (client *Client) GetUserByUnionId(request *GetUserByUnionIdRequest) (_result *GetUserByUnionIdResponse, _err error)

func (*Client) GetUserByUnionIdWithOptions

func (client *Client) GetUserByUnionIdWithOptions(request *GetUserByUnionIdRequest, headers *GetUserByUnionIdHeaders, runtime *util.RuntimeOptions) (_result *GetUserByUnionIdResponse, _err error)

func (*Client) GetUserWithOptions

func (client *Client) GetUserWithOptions(userId *string, request *GetUserRequest, headers *GetUserHeaders, runtime *util.RuntimeOptions) (_result *GetUserResponse, _err error)

func (*Client) GetVillageOrgInfo

func (client *Client) GetVillageOrgInfo(subCorpId *string) (_result *GetVillageOrgInfoResponse, _err error)

func (*Client) GetVillageOrgInfoWithOptions

func (client *Client) GetVillageOrgInfoWithOptions(subCorpId *string, headers *GetVillageOrgInfoHeaders, runtime *util.RuntimeOptions) (_result *GetVillageOrgInfoResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListDeptSimpleUsers

func (client *Client) ListDeptSimpleUsers(departmentId *string, request *ListDeptSimpleUsersRequest) (_result *ListDeptSimpleUsersResponse, _err error)

func (*Client) ListDeptSimpleUsersWithOptions

func (client *Client) ListDeptSimpleUsersWithOptions(departmentId *string, request *ListDeptSimpleUsersRequest, headers *ListDeptSimpleUsersHeaders, runtime *util.RuntimeOptions) (_result *ListDeptSimpleUsersResponse, _err error)

func (*Client) ListDeptUserIds

func (client *Client) ListDeptUserIds(departmentId *string, request *ListDeptUserIdsRequest) (_result *ListDeptUserIdsResponse, _err error)

func (*Client) ListDeptUserIdsWithOptions

func (client *Client) ListDeptUserIdsWithOptions(departmentId *string, request *ListDeptUserIdsRequest, headers *ListDeptUserIdsHeaders, runtime *util.RuntimeOptions) (_result *ListDeptUserIdsResponse, _err error)

func (*Client) ListDeptUsers

func (client *Client) ListDeptUsers(departmentId *string, request *ListDeptUsersRequest) (_result *ListDeptUsersResponse, _err error)

func (*Client) ListDeptUsersWithOptions

func (client *Client) ListDeptUsersWithOptions(departmentId *string, request *ListDeptUsersRequest, headers *ListDeptUsersHeaders, runtime *util.RuntimeOptions) (_result *ListDeptUsersResponse, _err error)

func (*Client) ListParentByDept

func (client *Client) ListParentByDept(request *ListParentByDeptRequest) (_result *ListParentByDeptResponse, _err error)

func (*Client) ListParentByDeptWithOptions

func (client *Client) ListParentByDeptWithOptions(request *ListParentByDeptRequest, headers *ListParentByDeptHeaders, runtime *util.RuntimeOptions) (_result *ListParentByDeptResponse, _err error)

func (*Client) ListParentByUser

func (client *Client) ListParentByUser(request *ListParentByUserRequest) (_result *ListParentByUserResponse, _err error)

func (*Client) ListParentByUserWithOptions

func (client *Client) ListParentByUserWithOptions(request *ListParentByUserRequest, headers *ListParentByUserHeaders, runtime *util.RuntimeOptions) (_result *ListParentByUserResponse, _err error)

func (*Client) ListResidentDeptUsers

func (client *Client) ListResidentDeptUsers(departmentId *string, request *ListResidentDeptUsersRequest) (_result *ListResidentDeptUsersResponse, _err error)

func (*Client) ListResidentDeptUsersWithOptions

func (client *Client) ListResidentDeptUsersWithOptions(departmentId *string, request *ListResidentDeptUsersRequest, headers *ListResidentDeptUsersHeaders, runtime *util.RuntimeOptions) (_result *ListResidentDeptUsersResponse, _err error)

func (*Client) ListResidentSubDepts

func (client *Client) ListResidentSubDepts(departmentId *string, request *ListResidentSubDeptsRequest) (_result *ListResidentSubDeptsResponse, _err error)

func (*Client) ListResidentSubDeptsWithOptions

func (client *Client) ListResidentSubDeptsWithOptions(departmentId *string, request *ListResidentSubDeptsRequest, headers *ListResidentSubDeptsHeaders, runtime *util.RuntimeOptions) (_result *ListResidentSubDeptsResponse, _err error)

func (*Client) ListResidentUserInfos

func (client *Client) ListResidentUserInfos(request *ListResidentUserInfosRequest) (_result *ListResidentUserInfosResponse, _err error)

func (*Client) ListResidentUserInfosWithOptions

func (client *Client) ListResidentUserInfosWithOptions(tmpReq *ListResidentUserInfosRequest, headers *ListResidentUserInfosHeaders, runtime *util.RuntimeOptions) (_result *ListResidentUserInfosResponse, _err error)

func (*Client) ListSimpleUsersByRole

func (client *Client) ListSimpleUsersByRole(request *ListSimpleUsersByRoleRequest) (_result *ListSimpleUsersByRoleResponse, _err error)

func (*Client) ListSimpleUsersByRoleWithOptions

func (client *Client) ListSimpleUsersByRoleWithOptions(request *ListSimpleUsersByRoleRequest, headers *ListSimpleUsersByRoleHeaders, runtime *util.RuntimeOptions) (_result *ListSimpleUsersByRoleResponse, _err error)

func (*Client) ListSubCorps

func (client *Client) ListSubCorps(request *ListSubCorpsRequest) (_result *ListSubCorpsResponse, _err error)

func (*Client) ListSubCorpsWithOptions

func (client *Client) ListSubCorpsWithOptions(request *ListSubCorpsRequest, headers *ListSubCorpsHeaders, runtime *util.RuntimeOptions) (_result *ListSubCorpsResponse, _err error)

func (*Client) ListSubDept

func (client *Client) ListSubDept(departmentId *string, request *ListSubDeptRequest) (_result *ListSubDeptResponse, _err error)

func (*Client) ListSubDeptIds

func (client *Client) ListSubDeptIds(departmentId *string, request *ListSubDeptIdsRequest) (_result *ListSubDeptIdsResponse, _err error)

func (*Client) ListSubDeptIdsWithOptions

func (client *Client) ListSubDeptIdsWithOptions(departmentId *string, request *ListSubDeptIdsRequest, headers *ListSubDeptIdsHeaders, runtime *util.RuntimeOptions) (_result *ListSubDeptIdsResponse, _err error)

func (*Client) ListSubDeptWithOptions

func (client *Client) ListSubDeptWithOptions(departmentId *string, request *ListSubDeptRequest, headers *ListSubDeptHeaders, runtime *util.RuntimeOptions) (_result *ListSubDeptResponse, _err error)

type GetDeptHeaders

type GetDeptHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetDeptHeaders) GoString

func (s GetDeptHeaders) GoString() string

func (*GetDeptHeaders) SetCommonHeaders

func (s *GetDeptHeaders) SetCommonHeaders(v map[string]*string) *GetDeptHeaders

func (*GetDeptHeaders) SetXAcsDingtalkAccessToken

func (s *GetDeptHeaders) SetXAcsDingtalkAccessToken(v string) *GetDeptHeaders

func (GetDeptHeaders) String

func (s GetDeptHeaders) String() string

type GetDeptRequest

type GetDeptRequest struct {
	// 通讯录语言(默认zh_CN另外支持en_US)
	Language *string `json:"language,omitempty" xml:"language,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (GetDeptRequest) GoString

func (s GetDeptRequest) GoString() string

func (*GetDeptRequest) SetLanguage

func (s *GetDeptRequest) SetLanguage(v string) *GetDeptRequest

func (*GetDeptRequest) SetSubCorpId

func (s *GetDeptRequest) SetSubCorpId(v string) *GetDeptRequest

func (GetDeptRequest) String

func (s GetDeptRequest) String() string

type GetDeptResponse

type GetDeptResponse struct {
	Headers map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetDeptResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetDeptResponse) GoString

func (s GetDeptResponse) GoString() string

func (*GetDeptResponse) SetBody

func (*GetDeptResponse) SetHeaders

func (s *GetDeptResponse) SetHeaders(v map[string]*string) *GetDeptResponse

func (GetDeptResponse) String

func (s GetDeptResponse) String() string

type GetDeptResponseBody

type GetDeptResponseBody struct {
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 部门名称
	DepartmentName *string `json:"departmentName,omitempty" xml:"departmentName,omitempty"`
	// 部门是否来自关联组织
	FromUnionOrg *bool `json:"fromUnionOrg,omitempty" xml:"fromUnionOrg,omitempty"`
	// 在父部门中的次序值
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
	// 父部门id
	ParentDepartmentId *int64 `json:"parentDepartmentId,omitempty" xml:"parentDepartmentId,omitempty"`
}

func (GetDeptResponseBody) GoString

func (s GetDeptResponseBody) GoString() string

func (*GetDeptResponseBody) SetDepartmentId

func (s *GetDeptResponseBody) SetDepartmentId(v int64) *GetDeptResponseBody

func (*GetDeptResponseBody) SetDepartmentName

func (s *GetDeptResponseBody) SetDepartmentName(v string) *GetDeptResponseBody

func (*GetDeptResponseBody) SetFromUnionOrg

func (s *GetDeptResponseBody) SetFromUnionOrg(v bool) *GetDeptResponseBody

func (*GetDeptResponseBody) SetOrder

func (*GetDeptResponseBody) SetParentDepartmentId

func (s *GetDeptResponseBody) SetParentDepartmentId(v int64) *GetDeptResponseBody

func (GetDeptResponseBody) String

func (s GetDeptResponseBody) String() string

type GetResidentDeptHeaders

type GetResidentDeptHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetResidentDeptHeaders) GoString

func (s GetResidentDeptHeaders) GoString() string

func (*GetResidentDeptHeaders) SetCommonHeaders

func (s *GetResidentDeptHeaders) SetCommonHeaders(v map[string]*string) *GetResidentDeptHeaders

func (*GetResidentDeptHeaders) SetXAcsDingtalkAccessToken

func (s *GetResidentDeptHeaders) SetXAcsDingtalkAccessToken(v string) *GetResidentDeptHeaders

func (GetResidentDeptHeaders) String

func (s GetResidentDeptHeaders) String() string

type GetResidentDeptRequest

type GetResidentDeptRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (GetResidentDeptRequest) GoString

func (s GetResidentDeptRequest) GoString() string

func (*GetResidentDeptRequest) SetSubCorpId

func (GetResidentDeptRequest) String

func (s GetResidentDeptRequest) String() string

type GetResidentDeptResponse

type GetResidentDeptResponse struct {
	Headers map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetResidentDeptResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetResidentDeptResponse) GoString

func (s GetResidentDeptResponse) GoString() string

func (*GetResidentDeptResponse) SetBody

func (*GetResidentDeptResponse) SetHeaders

func (GetResidentDeptResponse) String

func (s GetResidentDeptResponse) String() string

type GetResidentDeptResponseBody

type GetResidentDeptResponseBody struct {
	// 通讯录架构类型
	ContactType *string `json:"contactType,omitempty" xml:"contactType,omitempty"`
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 部门名称
	DepartmentName *string `json:"departmentName,omitempty" xml:"departmentName,omitempty"`
	// 部门类型
	DeptType *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
	// 部门属性
	Feature *string `json:"feature,omitempty" xml:"feature,omitempty"`
}

func (GetResidentDeptResponseBody) GoString

func (s GetResidentDeptResponseBody) GoString() string

func (*GetResidentDeptResponseBody) SetContactType

func (*GetResidentDeptResponseBody) SetDepartmentId

func (*GetResidentDeptResponseBody) SetDepartmentName

func (*GetResidentDeptResponseBody) SetDeptType

func (*GetResidentDeptResponseBody) SetFeature

func (GetResidentDeptResponseBody) String

type GetResidentUserInfoHeaders

type GetResidentUserInfoHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetResidentUserInfoHeaders) GoString

func (s GetResidentUserInfoHeaders) GoString() string

func (*GetResidentUserInfoHeaders) SetCommonHeaders

func (*GetResidentUserInfoHeaders) SetXAcsDingtalkAccessToken

func (s *GetResidentUserInfoHeaders) SetXAcsDingtalkAccessToken(v string) *GetResidentUserInfoHeaders

func (GetResidentUserInfoHeaders) String

type GetResidentUserInfoRequest

type GetResidentUserInfoRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (GetResidentUserInfoRequest) GoString

func (s GetResidentUserInfoRequest) GoString() string

func (*GetResidentUserInfoRequest) SetSubCorpId

func (GetResidentUserInfoRequest) String

type GetResidentUserInfoResponse

type GetResidentUserInfoResponse struct {
	Headers map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetResidentUserInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetResidentUserInfoResponse) GoString

func (s GetResidentUserInfoResponse) GoString() string

func (*GetResidentUserInfoResponse) SetBody

func (*GetResidentUserInfoResponse) SetHeaders

func (GetResidentUserInfoResponse) String

type GetResidentUserInfoResponseBody

type GetResidentUserInfoResponseBody struct {
	// 员工特征
	Feature *string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 员工名字
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 标签列表
	Roles []*GetResidentUserInfoResponseBodyRoles `json:"roles,omitempty" xml:"roles,omitempty" type:"Repeated"`
	// 钉钉唯一标识
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 员工id
	Userid *string `json:"userid,omitempty" xml:"userid,omitempty"`
}

func (GetResidentUserInfoResponseBody) GoString

func (*GetResidentUserInfoResponseBody) SetFeature

func (*GetResidentUserInfoResponseBody) SetName

func (*GetResidentUserInfoResponseBody) SetRoles

func (*GetResidentUserInfoResponseBody) SetUnionId

func (*GetResidentUserInfoResponseBody) SetUserid

func (GetResidentUserInfoResponseBody) String

type GetResidentUserInfoResponseBodyRoles

type GetResidentUserInfoResponseBodyRoles struct {
	// 标签id
	RoleId *int64 `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// 标签名称
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
	// 标签名称 tagCode
	TagCode *string `json:"tagCode,omitempty" xml:"tagCode,omitempty"`
}

func (GetResidentUserInfoResponseBodyRoles) GoString

func (*GetResidentUserInfoResponseBodyRoles) SetRoleId

func (*GetResidentUserInfoResponseBodyRoles) SetRoleName

func (*GetResidentUserInfoResponseBodyRoles) SetTagCode

func (GetResidentUserInfoResponseBodyRoles) String

type GetUserByUnionIdHeaders

type GetUserByUnionIdHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetUserByUnionIdHeaders) GoString

func (s GetUserByUnionIdHeaders) GoString() string

func (*GetUserByUnionIdHeaders) SetCommonHeaders

func (s *GetUserByUnionIdHeaders) SetCommonHeaders(v map[string]*string) *GetUserByUnionIdHeaders

func (*GetUserByUnionIdHeaders) SetXAcsDingtalkAccessToken

func (s *GetUserByUnionIdHeaders) SetXAcsDingtalkAccessToken(v string) *GetUserByUnionIdHeaders

func (GetUserByUnionIdHeaders) String

func (s GetUserByUnionIdHeaders) String() string

type GetUserByUnionIdRequest

type GetUserByUnionIdRequest struct {
	// 通讯录语言(默认zh_CN另外支持en_US)
	Language *string `json:"language,omitempty" xml:"language,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
	// 人员 id
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (GetUserByUnionIdRequest) GoString

func (s GetUserByUnionIdRequest) GoString() string

func (*GetUserByUnionIdRequest) SetLanguage

func (*GetUserByUnionIdRequest) SetSubCorpId

func (*GetUserByUnionIdRequest) SetUnionId

func (GetUserByUnionIdRequest) String

func (s GetUserByUnionIdRequest) String() string

type GetUserByUnionIdResponse

type GetUserByUnionIdResponse struct {
	Headers map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetUserByUnionIdResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetUserByUnionIdResponse) GoString

func (s GetUserByUnionIdResponse) GoString() string

func (*GetUserByUnionIdResponse) SetBody

func (*GetUserByUnionIdResponse) SetHeaders

func (GetUserByUnionIdResponse) String

func (s GetUserByUnionIdResponse) String() string

type GetUserByUnionIdResponseBody

type GetUserByUnionIdResponseBody struct {
	// 联系类型,0表示企业内部员工,1表示企业外部联系人
	ContactType *int32 `json:"contactType,omitempty" xml:"contactType,omitempty"`
	// 用户id
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (GetUserByUnionIdResponseBody) GoString

func (s GetUserByUnionIdResponseBody) GoString() string

func (*GetUserByUnionIdResponseBody) SetContactType

func (*GetUserByUnionIdResponseBody) SetUserId

func (GetUserByUnionIdResponseBody) String

type GetUserHeaders

type GetUserHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetUserHeaders) GoString

func (s GetUserHeaders) GoString() string

func (*GetUserHeaders) SetCommonHeaders

func (s *GetUserHeaders) SetCommonHeaders(v map[string]*string) *GetUserHeaders

func (*GetUserHeaders) SetXAcsDingtalkAccessToken

func (s *GetUserHeaders) SetXAcsDingtalkAccessToken(v string) *GetUserHeaders

func (GetUserHeaders) String

func (s GetUserHeaders) String() string

type GetUserRequest

type GetUserRequest struct {
	// 通讯录语言(默认zh_CN另外支持en_US)
	Language *string `json:"language,omitempty" xml:"language,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (GetUserRequest) GoString

func (s GetUserRequest) GoString() string

func (*GetUserRequest) SetLanguage

func (s *GetUserRequest) SetLanguage(v string) *GetUserRequest

func (*GetUserRequest) SetSubCorpId

func (s *GetUserRequest) SetSubCorpId(v string) *GetUserRequest

func (GetUserRequest) String

func (s GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	Headers map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetUserResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetUserResponse) GoString

func (s GetUserResponse) GoString() string

func (*GetUserResponse) SetBody

func (*GetUserResponse) SetHeaders

func (s *GetUserResponse) SetHeaders(v map[string]*string) *GetUserResponse

func (GetUserResponse) String

func (s GetUserResponse) String() string

type GetUserResponseBody

type GetUserResponseBody struct {
	// 是否激活
	Active *bool `json:"active,omitempty" xml:"active,omitempty"`
	// 是否管理员
	Admin *bool `json:"admin,omitempty" xml:"admin,omitempty"`
	// 是否老板
	Boss *bool `json:"boss,omitempty" xml:"boss,omitempty"`
	// 所属部门id列表
	DepartmentIdList []*int64 `json:"departmentIdList,omitempty" xml:"departmentIdList,omitempty" type:"Repeated"`
	// 员工在对应的部门中的排序。
	DepartmentOrderSet []*GetUserResponseBodyDepartmentOrderSet `json:"departmentOrderSet,omitempty" xml:"departmentOrderSet,omitempty" type:"Repeated"`
	// 是否专属帐号
	ExclusiveAccount *bool `json:"exclusiveAccount,omitempty" xml:"exclusiveAccount,omitempty"`
	// 专属帐号类型:{sso: 企业自定义idp;dingtalk: 钉钉idp}
	ExclusiveAccountType *string `json:"exclusiveAccountType,omitempty" xml:"exclusiveAccountType,omitempty"`
	// 扩展属性,长度最大2000个字符。可以设置多种属性(手机上最多显示10个扩展属性,具体显示哪些属性,请到OA管理后台->设置->通讯录信息设置和OA管理后台->设置->手机端显示信息设置)。 该字段的值支持链接类型填写,同时链接支持变量通配符自动替换,目前支持通配符有:userid,corpid。示例: [工位地址](http://www.dingtalk.com?userid=#userid#&corpid=#corpid#)
	Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 入职时间,Unix时间戳,单位ms。
	HiredDate *int64 `json:"hiredDate,omitempty" xml:"hiredDate,omitempty"`
	// 员工工号
	JobNumber *string `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	// 员工在对应的部门中是否领导。
	LeaderInDepartment []*GetUserResponseBodyLeaderInDepartment `json:"leaderInDepartment,omitempty" xml:"leaderInDepartment,omitempty" type:"Repeated"`
	// 主管的ID,仅限企业内部开发调用
	ManagerUserId *string `json:"managerUserId,omitempty" xml:"managerUserId,omitempty"`
	// 姓名
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 是否实名认证
	RealAuthed *bool `json:"realAuthed,omitempty" xml:"realAuthed,omitempty"`
	// 备注
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 角色列表
	RoleList []*GetUserResponseBodyRoleList `json:"roleList,omitempty" xml:"roleList,omitempty" type:"Repeated"`
	// 是否高管
	Senior *bool `json:"senior,omitempty" xml:"senior,omitempty"`
	// 职位
	Title *string `json:"title,omitempty" xml:"title,omitempty"`
	// 关联信息
	UnionEmpExt *GetUserResponseBodyUnionEmpExt `json:"unionEmpExt,omitempty" xml:"unionEmpExt,omitempty" type:"Struct"`
	// 员工在当前开发者企业账号范围内的唯一标识
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 用户id
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
	// 办公地点
	WorkPlace *string `json:"workPlace,omitempty" xml:"workPlace,omitempty"`
}

func (GetUserResponseBody) GoString

func (s GetUserResponseBody) GoString() string

func (*GetUserResponseBody) SetActive

func (s *GetUserResponseBody) SetActive(v bool) *GetUserResponseBody

func (*GetUserResponseBody) SetAdmin

func (*GetUserResponseBody) SetBoss

func (*GetUserResponseBody) SetDepartmentIdList

func (s *GetUserResponseBody) SetDepartmentIdList(v []*int64) *GetUserResponseBody

func (*GetUserResponseBody) SetDepartmentOrderSet

func (*GetUserResponseBody) SetExclusiveAccount

func (s *GetUserResponseBody) SetExclusiveAccount(v bool) *GetUserResponseBody

func (*GetUserResponseBody) SetExclusiveAccountType

func (s *GetUserResponseBody) SetExclusiveAccountType(v string) *GetUserResponseBody

func (*GetUserResponseBody) SetExtension

func (s *GetUserResponseBody) SetExtension(v string) *GetUserResponseBody

func (*GetUserResponseBody) SetHiredDate

func (s *GetUserResponseBody) SetHiredDate(v int64) *GetUserResponseBody

func (*GetUserResponseBody) SetJobNumber

func (s *GetUserResponseBody) SetJobNumber(v string) *GetUserResponseBody

func (*GetUserResponseBody) SetLeaderInDepartment

func (*GetUserResponseBody) SetManagerUserId

func (s *GetUserResponseBody) SetManagerUserId(v string) *GetUserResponseBody

func (*GetUserResponseBody) SetName

func (*GetUserResponseBody) SetRealAuthed

func (s *GetUserResponseBody) SetRealAuthed(v bool) *GetUserResponseBody

func (*GetUserResponseBody) SetRemark

func (*GetUserResponseBody) SetRoleList

func (*GetUserResponseBody) SetSenior

func (s *GetUserResponseBody) SetSenior(v bool) *GetUserResponseBody

func (*GetUserResponseBody) SetTitle

func (*GetUserResponseBody) SetUnionEmpExt

func (*GetUserResponseBody) SetUnionId

func (*GetUserResponseBody) SetUserId

func (*GetUserResponseBody) SetWorkPlace

func (s *GetUserResponseBody) SetWorkPlace(v string) *GetUserResponseBody

func (GetUserResponseBody) String

func (s GetUserResponseBody) String() string

type GetUserResponseBodyDepartmentOrderSet

type GetUserResponseBodyDepartmentOrderSet struct {
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 员工在部门中的排序。
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
}

func (GetUserResponseBodyDepartmentOrderSet) GoString

func (*GetUserResponseBodyDepartmentOrderSet) SetDepartmentId

func (*GetUserResponseBodyDepartmentOrderSet) SetOrder

func (GetUserResponseBodyDepartmentOrderSet) String

type GetUserResponseBodyLeaderInDepartment

type GetUserResponseBodyLeaderInDepartment struct {
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 员工在对应的部门中是否领导
	Leader *bool `json:"leader,omitempty" xml:"leader,omitempty"`
}

func (GetUserResponseBodyLeaderInDepartment) GoString

func (*GetUserResponseBodyLeaderInDepartment) SetDepartmentId

func (*GetUserResponseBodyLeaderInDepartment) SetLeader

func (GetUserResponseBodyLeaderInDepartment) String

type GetUserResponseBodyRoleList

type GetUserResponseBodyRoleList struct {
	// 角色组名称
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	// 角色id
	RoleId *int64 `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// 角色名称
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
}

func (GetUserResponseBodyRoleList) GoString

func (s GetUserResponseBodyRoleList) GoString() string

func (*GetUserResponseBodyRoleList) SetGroupName

func (*GetUserResponseBodyRoleList) SetRoleId

func (*GetUserResponseBodyRoleList) SetRoleName

func (GetUserResponseBodyRoleList) String

type GetUserResponseBodyUnionEmpExt

type GetUserResponseBodyUnionEmpExt struct {
	// 企业id
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// 员工id
	StaffId *string `json:"staffId,omitempty" xml:"staffId,omitempty"`
	// 关联映射关系
	UnionEmpMapList []*GetUserResponseBodyUnionEmpExtUnionEmpMapList `json:"unionEmpMapList,omitempty" xml:"unionEmpMapList,omitempty" type:"Repeated"`
}

func (GetUserResponseBodyUnionEmpExt) GoString

func (*GetUserResponseBodyUnionEmpExt) SetCorpId

func (*GetUserResponseBodyUnionEmpExt) SetStaffId

func (GetUserResponseBodyUnionEmpExt) String

type GetUserResponseBodyUnionEmpExtUnionEmpMapList

type GetUserResponseBodyUnionEmpExtUnionEmpMapList struct {
	// 企业 id
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// 员工 id
	StaffId *string `json:"staffId,omitempty" xml:"staffId,omitempty"`
}

func (GetUserResponseBodyUnionEmpExtUnionEmpMapList) GoString

func (*GetUserResponseBodyUnionEmpExtUnionEmpMapList) SetCorpId

func (*GetUserResponseBodyUnionEmpExtUnionEmpMapList) SetStaffId

func (GetUserResponseBodyUnionEmpExtUnionEmpMapList) String

type GetVillageOrgInfoHeaders

type GetVillageOrgInfoHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetVillageOrgInfoHeaders) GoString

func (s GetVillageOrgInfoHeaders) GoString() string

func (*GetVillageOrgInfoHeaders) SetCommonHeaders

func (s *GetVillageOrgInfoHeaders) SetCommonHeaders(v map[string]*string) *GetVillageOrgInfoHeaders

func (*GetVillageOrgInfoHeaders) SetXAcsDingtalkAccessToken

func (s *GetVillageOrgInfoHeaders) SetXAcsDingtalkAccessToken(v string) *GetVillageOrgInfoHeaders

func (GetVillageOrgInfoHeaders) String

func (s GetVillageOrgInfoHeaders) String() string

type GetVillageOrgInfoResponse

type GetVillageOrgInfoResponse struct {
	Headers map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetVillageOrgInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetVillageOrgInfoResponse) GoString

func (s GetVillageOrgInfoResponse) GoString() string

func (*GetVillageOrgInfoResponse) SetBody

func (*GetVillageOrgInfoResponse) SetHeaders

func (GetVillageOrgInfoResponse) String

func (s GetVillageOrgInfoResponse) String() string

type GetVillageOrgInfoResponseBody

type GetVillageOrgInfoResponseBody struct {
	// 行政区ID
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// 具体的企业区域位置信息
	RegionLocation *string `json:"regionLocation,omitempty" xml:"regionLocation,omitempty"`
	// 区域类型
	RegionType *string `json:"regionType,omitempty" xml:"regionType,omitempty"`
}

func (GetVillageOrgInfoResponseBody) GoString

func (*GetVillageOrgInfoResponseBody) SetRegionId

func (*GetVillageOrgInfoResponseBody) SetRegionLocation

func (*GetVillageOrgInfoResponseBody) SetRegionType

func (GetVillageOrgInfoResponseBody) String

type ListDeptSimpleUsersHeaders

type ListDeptSimpleUsersHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListDeptSimpleUsersHeaders) GoString

func (s ListDeptSimpleUsersHeaders) GoString() string

func (*ListDeptSimpleUsersHeaders) SetCommonHeaders

func (*ListDeptSimpleUsersHeaders) SetXAcsDingtalkAccessToken

func (s *ListDeptSimpleUsersHeaders) SetXAcsDingtalkAccessToken(v string) *ListDeptSimpleUsersHeaders

func (ListDeptSimpleUsersHeaders) String

type ListDeptSimpleUsersRequest

type ListDeptSimpleUsersRequest struct {
	// containAccessLimit
	ContainAccessLimit *bool `json:"containAccessLimit,omitempty" xml:"containAccessLimit,omitempty"`
	// cursor
	Cursor *int64 `json:"cursor,omitempty" xml:"cursor,omitempty"`
	// language
	Language *string `json:"language,omitempty" xml:"language,omitempty"`
	// orderField
	OrderField *string `json:"orderField,omitempty" xml:"orderField,omitempty"`
	// size
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListDeptSimpleUsersRequest) GoString

func (s ListDeptSimpleUsersRequest) GoString() string

func (*ListDeptSimpleUsersRequest) SetContainAccessLimit

func (s *ListDeptSimpleUsersRequest) SetContainAccessLimit(v bool) *ListDeptSimpleUsersRequest

func (*ListDeptSimpleUsersRequest) SetCursor

func (*ListDeptSimpleUsersRequest) SetLanguage

func (*ListDeptSimpleUsersRequest) SetOrderField

func (*ListDeptSimpleUsersRequest) SetSize

func (*ListDeptSimpleUsersRequest) SetSubCorpId

func (ListDeptSimpleUsersRequest) String

type ListDeptSimpleUsersResponse

type ListDeptSimpleUsersResponse struct {
	Headers map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListDeptSimpleUsersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListDeptSimpleUsersResponse) GoString

func (s ListDeptSimpleUsersResponse) GoString() string

func (*ListDeptSimpleUsersResponse) SetBody

func (*ListDeptSimpleUsersResponse) SetHeaders

func (ListDeptSimpleUsersResponse) String

type ListDeptSimpleUsersResponseBody

type ListDeptSimpleUsersResponseBody struct {
	HasMore    *bool  `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// 用户列表
	UserList []*ListDeptSimpleUsersResponseBodyUserList `json:"userList,omitempty" xml:"userList,omitempty" type:"Repeated"`
}

func (ListDeptSimpleUsersResponseBody) GoString

func (*ListDeptSimpleUsersResponseBody) SetHasMore

func (*ListDeptSimpleUsersResponseBody) SetNextCursor

func (*ListDeptSimpleUsersResponseBody) SetTotalCount

func (ListDeptSimpleUsersResponseBody) String

type ListDeptSimpleUsersResponseBodyUserList

type ListDeptSimpleUsersResponseBodyUserList struct {
	// 用户姓名
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户ID
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (ListDeptSimpleUsersResponseBodyUserList) GoString

func (*ListDeptSimpleUsersResponseBodyUserList) SetName

func (*ListDeptSimpleUsersResponseBodyUserList) SetUserId

func (ListDeptSimpleUsersResponseBodyUserList) String

type ListDeptUserIdsHeaders

type ListDeptUserIdsHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListDeptUserIdsHeaders) GoString

func (s ListDeptUserIdsHeaders) GoString() string

func (*ListDeptUserIdsHeaders) SetCommonHeaders

func (s *ListDeptUserIdsHeaders) SetCommonHeaders(v map[string]*string) *ListDeptUserIdsHeaders

func (*ListDeptUserIdsHeaders) SetXAcsDingtalkAccessToken

func (s *ListDeptUserIdsHeaders) SetXAcsDingtalkAccessToken(v string) *ListDeptUserIdsHeaders

func (ListDeptUserIdsHeaders) String

func (s ListDeptUserIdsHeaders) String() string

type ListDeptUserIdsRequest

type ListDeptUserIdsRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListDeptUserIdsRequest) GoString

func (s ListDeptUserIdsRequest) GoString() string

func (*ListDeptUserIdsRequest) SetSubCorpId

func (ListDeptUserIdsRequest) String

func (s ListDeptUserIdsRequest) String() string

type ListDeptUserIdsResponse

type ListDeptUserIdsResponse struct {
	Headers map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListDeptUserIdsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListDeptUserIdsResponse) GoString

func (s ListDeptUserIdsResponse) GoString() string

func (*ListDeptUserIdsResponse) SetBody

func (*ListDeptUserIdsResponse) SetHeaders

func (ListDeptUserIdsResponse) String

func (s ListDeptUserIdsResponse) String() string

type ListDeptUserIdsResponseBody

type ListDeptUserIdsResponseBody struct {
	// 用户ID列表
	UserIdList []*string `json:"userIdList,omitempty" xml:"userIdList,omitempty" type:"Repeated"`
}

func (ListDeptUserIdsResponseBody) GoString

func (s ListDeptUserIdsResponseBody) GoString() string

func (*ListDeptUserIdsResponseBody) SetUserIdList

func (ListDeptUserIdsResponseBody) String

type ListDeptUsersHeaders

type ListDeptUsersHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListDeptUsersHeaders) GoString

func (s ListDeptUsersHeaders) GoString() string

func (*ListDeptUsersHeaders) SetCommonHeaders

func (s *ListDeptUsersHeaders) SetCommonHeaders(v map[string]*string) *ListDeptUsersHeaders

func (*ListDeptUsersHeaders) SetXAcsDingtalkAccessToken

func (s *ListDeptUsersHeaders) SetXAcsDingtalkAccessToken(v string) *ListDeptUsersHeaders

func (ListDeptUsersHeaders) String

func (s ListDeptUsersHeaders) String() string

type ListDeptUsersRequest

type ListDeptUsersRequest struct {
	// containAccessLimit
	ContainAccessLimit *bool `json:"containAccessLimit,omitempty" xml:"containAccessLimit,omitempty"`
	// cursor
	Cursor *int64 `json:"cursor,omitempty" xml:"cursor,omitempty"`
	// language
	Language *string `json:"language,omitempty" xml:"language,omitempty"`
	// orderField
	OrderField *string `json:"orderField,omitempty" xml:"orderField,omitempty"`
	// size
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListDeptUsersRequest) GoString

func (s ListDeptUsersRequest) GoString() string

func (*ListDeptUsersRequest) SetContainAccessLimit

func (s *ListDeptUsersRequest) SetContainAccessLimit(v bool) *ListDeptUsersRequest

func (*ListDeptUsersRequest) SetCursor

func (*ListDeptUsersRequest) SetLanguage

func (*ListDeptUsersRequest) SetOrderField

func (s *ListDeptUsersRequest) SetOrderField(v string) *ListDeptUsersRequest

func (*ListDeptUsersRequest) SetSize

func (*ListDeptUsersRequest) SetSubCorpId

func (s *ListDeptUsersRequest) SetSubCorpId(v string) *ListDeptUsersRequest

func (ListDeptUsersRequest) String

func (s ListDeptUsersRequest) String() string

type ListDeptUsersResponse

type ListDeptUsersResponse struct {
	Headers map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListDeptUsersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListDeptUsersResponse) GoString

func (s ListDeptUsersResponse) GoString() string

func (*ListDeptUsersResponse) SetBody

func (*ListDeptUsersResponse) SetHeaders

func (ListDeptUsersResponse) String

func (s ListDeptUsersResponse) String() string

type ListDeptUsersResponseBody

type ListDeptUsersResponseBody struct {
	HasMore    *bool  `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// 用户列表
	UserList []*ListDeptUsersResponseBodyUserList `json:"userList,omitempty" xml:"userList,omitempty" type:"Repeated"`
}

func (ListDeptUsersResponseBody) GoString

func (s ListDeptUsersResponseBody) GoString() string

func (*ListDeptUsersResponseBody) SetHasMore

func (*ListDeptUsersResponseBody) SetNextCursor

func (*ListDeptUsersResponseBody) SetUserList

func (ListDeptUsersResponseBody) String

func (s ListDeptUsersResponseBody) String() string

type ListDeptUsersResponseBodyUserList

type ListDeptUsersResponseBodyUserList struct {
	Active *bool `json:"active,omitempty" xml:"active,omitempty"`
	// 部门ID列表
	DepartmentList []*int64 `json:"departmentList,omitempty" xml:"departmentList,omitempty" type:"Repeated"`
	JobNumber      *string  `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	Name           *string  `json:"name,omitempty" xml:"name,omitempty"`
	// unionId
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 用户ID
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (ListDeptUsersResponseBodyUserList) GoString

func (*ListDeptUsersResponseBodyUserList) SetActive

func (*ListDeptUsersResponseBodyUserList) SetDepartmentList

func (*ListDeptUsersResponseBodyUserList) SetJobNumber

func (*ListDeptUsersResponseBodyUserList) SetName

func (*ListDeptUsersResponseBodyUserList) SetUnionId

func (*ListDeptUsersResponseBodyUserList) SetUserId

func (ListDeptUsersResponseBodyUserList) String

type ListParentByDeptHeaders

type ListParentByDeptHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListParentByDeptHeaders) GoString

func (s ListParentByDeptHeaders) GoString() string

func (*ListParentByDeptHeaders) SetCommonHeaders

func (s *ListParentByDeptHeaders) SetCommonHeaders(v map[string]*string) *ListParentByDeptHeaders

func (*ListParentByDeptHeaders) SetXAcsDingtalkAccessToken

func (s *ListParentByDeptHeaders) SetXAcsDingtalkAccessToken(v string) *ListParentByDeptHeaders

func (ListParentByDeptHeaders) String

func (s ListParentByDeptHeaders) String() string

type ListParentByDeptRequest

type ListParentByDeptRequest struct {
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListParentByDeptRequest) GoString

func (s ListParentByDeptRequest) GoString() string

func (*ListParentByDeptRequest) SetDepartmentId

func (s *ListParentByDeptRequest) SetDepartmentId(v int64) *ListParentByDeptRequest

func (*ListParentByDeptRequest) SetSubCorpId

func (ListParentByDeptRequest) String

func (s ListParentByDeptRequest) String() string

type ListParentByDeptResponse

type ListParentByDeptResponse struct {
	Headers map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListParentByDeptResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListParentByDeptResponse) GoString

func (s ListParentByDeptResponse) GoString() string

func (*ListParentByDeptResponse) SetBody

func (*ListParentByDeptResponse) SetHeaders

func (ListParentByDeptResponse) String

func (s ListParentByDeptResponse) String() string

type ListParentByDeptResponseBody

type ListParentByDeptResponseBody struct {
	// 父部门ID列表
	DepartmentIdList []*int64 `json:"departmentIdList,omitempty" xml:"departmentIdList,omitempty" type:"Repeated"`
}

func (ListParentByDeptResponseBody) GoString

func (s ListParentByDeptResponseBody) GoString() string

func (*ListParentByDeptResponseBody) SetDepartmentIdList

func (s *ListParentByDeptResponseBody) SetDepartmentIdList(v []*int64) *ListParentByDeptResponseBody

func (ListParentByDeptResponseBody) String

type ListParentByUserHeaders

type ListParentByUserHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListParentByUserHeaders) GoString

func (s ListParentByUserHeaders) GoString() string

func (*ListParentByUserHeaders) SetCommonHeaders

func (s *ListParentByUserHeaders) SetCommonHeaders(v map[string]*string) *ListParentByUserHeaders

func (*ListParentByUserHeaders) SetXAcsDingtalkAccessToken

func (s *ListParentByUserHeaders) SetXAcsDingtalkAccessToken(v string) *ListParentByUserHeaders

func (ListParentByUserHeaders) String

func (s ListParentByUserHeaders) String() string

type ListParentByUserRequest

type ListParentByUserRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
	// 用户userId
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (ListParentByUserRequest) GoString

func (s ListParentByUserRequest) GoString() string

func (*ListParentByUserRequest) SetSubCorpId

func (*ListParentByUserRequest) SetUserId

func (ListParentByUserRequest) String

func (s ListParentByUserRequest) String() string

type ListParentByUserResponse

type ListParentByUserResponse struct {
	Headers map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListParentByUserResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListParentByUserResponse) GoString

func (s ListParentByUserResponse) GoString() string

func (*ListParentByUserResponse) SetBody

func (*ListParentByUserResponse) SetHeaders

func (ListParentByUserResponse) String

func (s ListParentByUserResponse) String() string

type ListParentByUserResponseBody

type ListParentByUserResponseBody struct {
	// 上级部门ID列表
	DepartmentIdList []*int64 `json:"departmentIdList,omitempty" xml:"departmentIdList,omitempty" type:"Repeated"`
}

func (ListParentByUserResponseBody) GoString

func (s ListParentByUserResponseBody) GoString() string

func (*ListParentByUserResponseBody) SetDepartmentIdList

func (s *ListParentByUserResponseBody) SetDepartmentIdList(v []*int64) *ListParentByUserResponseBody

func (ListParentByUserResponseBody) String

type ListResidentDeptUsersHeaders

type ListResidentDeptUsersHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListResidentDeptUsersHeaders) GoString

func (s ListResidentDeptUsersHeaders) GoString() string

func (*ListResidentDeptUsersHeaders) SetCommonHeaders

func (*ListResidentDeptUsersHeaders) SetXAcsDingtalkAccessToken

func (s *ListResidentDeptUsersHeaders) SetXAcsDingtalkAccessToken(v string) *ListResidentDeptUsersHeaders

func (ListResidentDeptUsersHeaders) String

type ListResidentDeptUsersRequest

type ListResidentDeptUsersRequest struct {
	// 游标,不传默认1
	Cursor *int64 `json:"cursor,omitempty" xml:"cursor,omitempty"`
	// 角色标签
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// 大小
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListResidentDeptUsersRequest) GoString

func (s ListResidentDeptUsersRequest) GoString() string

func (*ListResidentDeptUsersRequest) SetCursor

func (*ListResidentDeptUsersRequest) SetRole

func (*ListResidentDeptUsersRequest) SetSize

func (*ListResidentDeptUsersRequest) SetSubCorpId

func (ListResidentDeptUsersRequest) String

type ListResidentDeptUsersResponse

type ListResidentDeptUsersResponse struct {
	Headers map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListResidentDeptUsersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListResidentDeptUsersResponse) GoString

func (*ListResidentDeptUsersResponse) SetBody

func (*ListResidentDeptUsersResponse) SetHeaders

func (ListResidentDeptUsersResponse) String

type ListResidentDeptUsersResponseBody

type ListResidentDeptUsersResponseBody struct {
	// 是否还有更多数据
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 下一个游标
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// 用户列表
	UserList []*ListResidentDeptUsersResponseBodyUserList `json:"userList,omitempty" xml:"userList,omitempty" type:"Repeated"`
}

func (ListResidentDeptUsersResponseBody) GoString

func (*ListResidentDeptUsersResponseBody) SetHasMore

func (*ListResidentDeptUsersResponseBody) SetNextCursor

func (ListResidentDeptUsersResponseBody) String

type ListResidentDeptUsersResponseBodyUserList

type ListResidentDeptUsersResponseBodyUserList struct {
	// 员工特征
	Feature *string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 员工名字
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 标签列表
	Roles []*ListResidentDeptUsersResponseBodyUserListRoles `json:"roles,omitempty" xml:"roles,omitempty" type:"Repeated"`
	// 钉钉唯一标识
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 员工id
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (ListResidentDeptUsersResponseBodyUserList) GoString

func (*ListResidentDeptUsersResponseBodyUserList) SetFeature

func (*ListResidentDeptUsersResponseBodyUserList) SetName

func (*ListResidentDeptUsersResponseBodyUserList) SetUnionId

func (*ListResidentDeptUsersResponseBodyUserList) SetUserId

func (ListResidentDeptUsersResponseBodyUserList) String

type ListResidentDeptUsersResponseBodyUserListRoles

type ListResidentDeptUsersResponseBodyUserListRoles struct {
	// 标签名称 tagCode
	TagCode *string `json:"tagCode,omitempty" xml:"tagCode,omitempty"`
	// 标签id
	TagId *int64 `json:"tagId,omitempty" xml:"tagId,omitempty"`
	// 标签名称
	TagName *string `json:"tagName,omitempty" xml:"tagName,omitempty"`
}

func (ListResidentDeptUsersResponseBodyUserListRoles) GoString

func (*ListResidentDeptUsersResponseBodyUserListRoles) SetTagCode

func (*ListResidentDeptUsersResponseBodyUserListRoles) SetTagId

func (*ListResidentDeptUsersResponseBodyUserListRoles) SetTagName

func (ListResidentDeptUsersResponseBodyUserListRoles) String

type ListResidentSubDeptsHeaders

type ListResidentSubDeptsHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListResidentSubDeptsHeaders) GoString

func (s ListResidentSubDeptsHeaders) GoString() string

func (*ListResidentSubDeptsHeaders) SetCommonHeaders

func (*ListResidentSubDeptsHeaders) SetXAcsDingtalkAccessToken

func (s *ListResidentSubDeptsHeaders) SetXAcsDingtalkAccessToken(v string) *ListResidentSubDeptsHeaders

func (ListResidentSubDeptsHeaders) String

type ListResidentSubDeptsRequest

type ListResidentSubDeptsRequest struct {
	// 游标,不传默认1
	Cursor *int64 `json:"cursor,omitempty" xml:"cursor,omitempty"`
	// 大小
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListResidentSubDeptsRequest) GoString

func (s ListResidentSubDeptsRequest) GoString() string

func (*ListResidentSubDeptsRequest) SetCursor

func (*ListResidentSubDeptsRequest) SetSize

func (*ListResidentSubDeptsRequest) SetSubCorpId

func (ListResidentSubDeptsRequest) String

type ListResidentSubDeptsResponse

type ListResidentSubDeptsResponse struct {
	Headers map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListResidentSubDeptsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListResidentSubDeptsResponse) GoString

func (s ListResidentSubDeptsResponse) GoString() string

func (*ListResidentSubDeptsResponse) SetBody

func (*ListResidentSubDeptsResponse) SetHeaders

func (ListResidentSubDeptsResponse) String

type ListResidentSubDeptsResponseBody

type ListResidentSubDeptsResponseBody struct {
	// 组户列表
	DepartmentList []*ListResidentSubDeptsResponseBodyDepartmentList `json:"departmentList,omitempty" xml:"departmentList,omitempty" type:"Repeated"`
	// 是否还有记录
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 游标
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// 总数
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListResidentSubDeptsResponseBody) GoString

func (*ListResidentSubDeptsResponseBody) SetHasMore

func (*ListResidentSubDeptsResponseBody) SetNextCursor

func (*ListResidentSubDeptsResponseBody) SetTotal

func (ListResidentSubDeptsResponseBody) String

type ListResidentSubDeptsResponseBodyDepartmentList

type ListResidentSubDeptsResponseBodyDepartmentList struct {
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 组户名称
	DepartmentName *string `json:"departmentName,omitempty" xml:"departmentName,omitempty"`
	// 父部门ID
	SuperDepartmentId *int64 `json:"superDepartmentId,omitempty" xml:"superDepartmentId,omitempty"`
}

func (ListResidentSubDeptsResponseBodyDepartmentList) GoString

func (*ListResidentSubDeptsResponseBodyDepartmentList) SetDepartmentId

func (*ListResidentSubDeptsResponseBodyDepartmentList) SetDepartmentName

func (*ListResidentSubDeptsResponseBodyDepartmentList) SetSuperDepartmentId

func (ListResidentSubDeptsResponseBodyDepartmentList) String

type ListResidentUserInfosHeaders

type ListResidentUserInfosHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListResidentUserInfosHeaders) GoString

func (s ListResidentUserInfosHeaders) GoString() string

func (*ListResidentUserInfosHeaders) SetCommonHeaders

func (*ListResidentUserInfosHeaders) SetXAcsDingtalkAccessToken

func (s *ListResidentUserInfosHeaders) SetXAcsDingtalkAccessToken(v string) *ListResidentUserInfosHeaders

func (ListResidentUserInfosHeaders) String

type ListResidentUserInfosRequest

type ListResidentUserInfosRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
	// 用户id列表
	UserIds []*string `json:"userIds,omitempty" xml:"userIds,omitempty" type:"Repeated"`
}

func (ListResidentUserInfosRequest) GoString

func (s ListResidentUserInfosRequest) GoString() string

func (*ListResidentUserInfosRequest) SetSubCorpId

func (*ListResidentUserInfosRequest) SetUserIds

func (ListResidentUserInfosRequest) String

type ListResidentUserInfosResponse

type ListResidentUserInfosResponse struct {
	Headers map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListResidentUserInfosResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListResidentUserInfosResponse) GoString

func (*ListResidentUserInfosResponse) SetBody

func (*ListResidentUserInfosResponse) SetHeaders

func (ListResidentUserInfosResponse) String

type ListResidentUserInfosResponseBody

type ListResidentUserInfosResponseBody struct {
	// 员工信息列表
	UserList []*ListResidentUserInfosResponseBodyUserList `json:"userList,omitempty" xml:"userList,omitempty" type:"Repeated"`
}

func (ListResidentUserInfosResponseBody) GoString

func (ListResidentUserInfosResponseBody) String

type ListResidentUserInfosResponseBodyUserList

type ListResidentUserInfosResponseBodyUserList struct {
	// 员工特征
	Feature *string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 标签列表
	Roles []*ListResidentUserInfosResponseBodyUserListRoles `json:"roles,omitempty" xml:"roles,omitempty" type:"Repeated"`
	// 钉钉唯一标识
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 员工 ID
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
	// 员工名字
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (ListResidentUserInfosResponseBodyUserList) GoString

func (*ListResidentUserInfosResponseBodyUserList) SetFeature

func (*ListResidentUserInfosResponseBodyUserList) SetUnionId

func (*ListResidentUserInfosResponseBodyUserList) SetUserId

func (*ListResidentUserInfosResponseBodyUserList) SetUserName

func (ListResidentUserInfosResponseBodyUserList) String

type ListResidentUserInfosResponseBodyUserListRoles

type ListResidentUserInfosResponseBodyUserListRoles struct {
	// 标签名称 tagCode
	TagCode *string `json:"tagCode,omitempty" xml:"tagCode,omitempty"`
	// 标签id
	TagId *int64 `json:"tagId,omitempty" xml:"tagId,omitempty"`
	// 标签名称
	TagName *string `json:"tagName,omitempty" xml:"tagName,omitempty"`
}

func (ListResidentUserInfosResponseBodyUserListRoles) GoString

func (*ListResidentUserInfosResponseBodyUserListRoles) SetTagCode

func (*ListResidentUserInfosResponseBodyUserListRoles) SetTagId

func (*ListResidentUserInfosResponseBodyUserListRoles) SetTagName

func (ListResidentUserInfosResponseBodyUserListRoles) String

type ListResidentUserInfosShrinkRequest

type ListResidentUserInfosShrinkRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
	// 用户id列表
	UserIdsShrink *string `json:"userIds,omitempty" xml:"userIds,omitempty"`
}

func (ListResidentUserInfosShrinkRequest) GoString

func (*ListResidentUserInfosShrinkRequest) SetSubCorpId

func (*ListResidentUserInfosShrinkRequest) SetUserIdsShrink

func (ListResidentUserInfosShrinkRequest) String

type ListSimpleUsersByRoleHeaders

type ListSimpleUsersByRoleHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListSimpleUsersByRoleHeaders) GoString

func (s ListSimpleUsersByRoleHeaders) GoString() string

func (*ListSimpleUsersByRoleHeaders) SetCommonHeaders

func (*ListSimpleUsersByRoleHeaders) SetXAcsDingtalkAccessToken

func (s *ListSimpleUsersByRoleHeaders) SetXAcsDingtalkAccessToken(v string) *ListSimpleUsersByRoleHeaders

func (ListSimpleUsersByRoleHeaders) String

type ListSimpleUsersByRoleRequest

type ListSimpleUsersByRoleRequest struct {
	// 起始位置
	Offset *int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// 角色ID
	RoleId *int64 `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// 查询数量
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListSimpleUsersByRoleRequest) GoString

func (s ListSimpleUsersByRoleRequest) GoString() string

func (*ListSimpleUsersByRoleRequest) SetOffset

func (*ListSimpleUsersByRoleRequest) SetRoleId

func (*ListSimpleUsersByRoleRequest) SetSize

func (*ListSimpleUsersByRoleRequest) SetSubCorpId

func (ListSimpleUsersByRoleRequest) String

type ListSimpleUsersByRoleResponse

type ListSimpleUsersByRoleResponse struct {
	Headers map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListSimpleUsersByRoleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSimpleUsersByRoleResponse) GoString

func (*ListSimpleUsersByRoleResponse) SetBody

func (*ListSimpleUsersByRoleResponse) SetHeaders

func (ListSimpleUsersByRoleResponse) String

type ListSimpleUsersByRoleResponseBody

type ListSimpleUsersByRoleResponseBody struct {
	// 是否还有记录
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 下一条记录
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// 用户列表
	UserList []*ListSimpleUsersByRoleResponseBodyUserList `json:"userList,omitempty" xml:"userList,omitempty" type:"Repeated"`
}

func (ListSimpleUsersByRoleResponseBody) GoString

func (*ListSimpleUsersByRoleResponseBody) SetHasMore

func (*ListSimpleUsersByRoleResponseBody) SetNextCursor

func (ListSimpleUsersByRoleResponseBody) String

type ListSimpleUsersByRoleResponseBodyUserList

type ListSimpleUsersByRoleResponseBodyUserList struct {
	// 工号
	JobNumber *string `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	// 姓名
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// unionId
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 用户ID
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (ListSimpleUsersByRoleResponseBodyUserList) GoString

func (*ListSimpleUsersByRoleResponseBodyUserList) SetJobNumber

func (*ListSimpleUsersByRoleResponseBodyUserList) SetName

func (*ListSimpleUsersByRoleResponseBodyUserList) SetUnionId

func (*ListSimpleUsersByRoleResponseBodyUserList) SetUserId

func (ListSimpleUsersByRoleResponseBodyUserList) String

type ListSubCorpsHeaders

type ListSubCorpsHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListSubCorpsHeaders) GoString

func (s ListSubCorpsHeaders) GoString() string

func (*ListSubCorpsHeaders) SetCommonHeaders

func (s *ListSubCorpsHeaders) SetCommonHeaders(v map[string]*string) *ListSubCorpsHeaders

func (*ListSubCorpsHeaders) SetXAcsDingtalkAccessToken

func (s *ListSubCorpsHeaders) SetXAcsDingtalkAccessToken(v string) *ListSubCorpsHeaders

func (ListSubCorpsHeaders) String

func (s ListSubCorpsHeaders) String() string

type ListSubCorpsRequest

type ListSubCorpsRequest struct {
	// 是否查询直接下级
	IsOnlyDirect *bool `json:"isOnlyDirect,omitempty" xml:"isOnlyDirect,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
	// 下级指定组织层级列表,组织层级为county,town,community,residential,依次为区/县、乡/镇/街道、社区/村、小区,如果查多个用 '|' 分隔
	Types *string `json:"types,omitempty" xml:"types,omitempty"`
}

func (ListSubCorpsRequest) GoString

func (s ListSubCorpsRequest) GoString() string

func (*ListSubCorpsRequest) SetIsOnlyDirect

func (s *ListSubCorpsRequest) SetIsOnlyDirect(v bool) *ListSubCorpsRequest

func (*ListSubCorpsRequest) SetSubCorpId

func (s *ListSubCorpsRequest) SetSubCorpId(v string) *ListSubCorpsRequest

func (*ListSubCorpsRequest) SetTypes

func (ListSubCorpsRequest) String

func (s ListSubCorpsRequest) String() string

type ListSubCorpsResponse

type ListSubCorpsResponse struct {
	Headers map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListSubCorpsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSubCorpsResponse) GoString

func (s ListSubCorpsResponse) GoString() string

func (*ListSubCorpsResponse) SetBody

func (*ListSubCorpsResponse) SetHeaders

func (s *ListSubCorpsResponse) SetHeaders(v map[string]*string) *ListSubCorpsResponse

func (ListSubCorpsResponse) String

func (s ListSubCorpsResponse) String() string

type ListSubCorpsResponseBody

type ListSubCorpsResponseBody struct {
	// result
	CorpList []*ListSubCorpsResponseBodyCorpList `json:"corpList,omitempty" xml:"corpList,omitempty" type:"Repeated"`
}

func (ListSubCorpsResponseBody) GoString

func (s ListSubCorpsResponseBody) GoString() string

func (*ListSubCorpsResponseBody) SetCorpList

func (ListSubCorpsResponseBody) String

func (s ListSubCorpsResponseBody) String() string

type ListSubCorpsResponseBodyCorpList

type ListSubCorpsResponseBodyCorpList struct {
	// 组织corpid
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// 组织名字
	CorpName *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
	// 组织行业名称
	Industry *string `json:"industry,omitempty" xml:"industry,omitempty"`
	// 组织行业码
	IndustryCode *int32 `json:"industryCode,omitempty" xml:"industryCode,omitempty"`
	// 区域码
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// 区域详细信息
	RegionLocation *string `json:"regionLocation,omitempty" xml:"regionLocation,omitempty"`
	// 区域类型,值为county,town,community,residential,依次为区/县、乡/镇/街道、社区/村、小区
	RegionType *string `json:"regionType,omitempty" xml:"regionType,omitempty"`
}

func (ListSubCorpsResponseBodyCorpList) GoString

func (*ListSubCorpsResponseBodyCorpList) SetCorpId

func (*ListSubCorpsResponseBodyCorpList) SetCorpName

func (*ListSubCorpsResponseBodyCorpList) SetIndustry

func (*ListSubCorpsResponseBodyCorpList) SetIndustryCode

func (*ListSubCorpsResponseBodyCorpList) SetRegionId

func (*ListSubCorpsResponseBodyCorpList) SetRegionLocation

func (*ListSubCorpsResponseBodyCorpList) SetRegionType

func (ListSubCorpsResponseBodyCorpList) String

type ListSubDeptHeaders

type ListSubDeptHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListSubDeptHeaders) GoString

func (s ListSubDeptHeaders) GoString() string

func (*ListSubDeptHeaders) SetCommonHeaders

func (s *ListSubDeptHeaders) SetCommonHeaders(v map[string]*string) *ListSubDeptHeaders

func (*ListSubDeptHeaders) SetXAcsDingtalkAccessToken

func (s *ListSubDeptHeaders) SetXAcsDingtalkAccessToken(v string) *ListSubDeptHeaders

func (ListSubDeptHeaders) String

func (s ListSubDeptHeaders) String() string

type ListSubDeptIdsHeaders

type ListSubDeptIdsHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListSubDeptIdsHeaders) GoString

func (s ListSubDeptIdsHeaders) GoString() string

func (*ListSubDeptIdsHeaders) SetCommonHeaders

func (s *ListSubDeptIdsHeaders) SetCommonHeaders(v map[string]*string) *ListSubDeptIdsHeaders

func (*ListSubDeptIdsHeaders) SetXAcsDingtalkAccessToken

func (s *ListSubDeptIdsHeaders) SetXAcsDingtalkAccessToken(v string) *ListSubDeptIdsHeaders

func (ListSubDeptIdsHeaders) String

func (s ListSubDeptIdsHeaders) String() string

type ListSubDeptIdsRequest

type ListSubDeptIdsRequest struct {
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListSubDeptIdsRequest) GoString

func (s ListSubDeptIdsRequest) GoString() string

func (*ListSubDeptIdsRequest) SetSubCorpId

func (ListSubDeptIdsRequest) String

func (s ListSubDeptIdsRequest) String() string

type ListSubDeptIdsResponse

type ListSubDeptIdsResponse struct {
	Headers map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListSubDeptIdsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSubDeptIdsResponse) GoString

func (s ListSubDeptIdsResponse) GoString() string

func (*ListSubDeptIdsResponse) SetBody

func (*ListSubDeptIdsResponse) SetHeaders

func (ListSubDeptIdsResponse) String

func (s ListSubDeptIdsResponse) String() string

type ListSubDeptIdsResponseBody

type ListSubDeptIdsResponseBody struct {
	// 下属组织的子部门 ID 列表
	DepartmentIdList []*int64 `json:"departmentIdList,omitempty" xml:"departmentIdList,omitempty" type:"Repeated"`
}

func (ListSubDeptIdsResponseBody) GoString

func (s ListSubDeptIdsResponseBody) GoString() string

func (*ListSubDeptIdsResponseBody) SetDepartmentIdList

func (s *ListSubDeptIdsResponseBody) SetDepartmentIdList(v []*int64) *ListSubDeptIdsResponseBody

func (ListSubDeptIdsResponseBody) String

type ListSubDeptRequest

type ListSubDeptRequest struct {
	// 通讯录语言(默认zh_CN另外支持en_US)
	Language *string `json:"language,omitempty" xml:"language,omitempty"`
	// 下属组织的组织ID,比如下属镇、村的corpId
	SubCorpId *string `json:"subCorpId,omitempty" xml:"subCorpId,omitempty"`
}

func (ListSubDeptRequest) GoString

func (s ListSubDeptRequest) GoString() string

func (*ListSubDeptRequest) SetLanguage

func (s *ListSubDeptRequest) SetLanguage(v string) *ListSubDeptRequest

func (*ListSubDeptRequest) SetSubCorpId

func (s *ListSubDeptRequest) SetSubCorpId(v string) *ListSubDeptRequest

func (ListSubDeptRequest) String

func (s ListSubDeptRequest) String() string

type ListSubDeptResponse

type ListSubDeptResponse struct {
	Headers map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListSubDeptResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSubDeptResponse) GoString

func (s ListSubDeptResponse) GoString() string

func (*ListSubDeptResponse) SetBody

func (*ListSubDeptResponse) SetHeaders

func (s *ListSubDeptResponse) SetHeaders(v map[string]*string) *ListSubDeptResponse

func (ListSubDeptResponse) String

func (s ListSubDeptResponse) String() string

type ListSubDeptResponseBody

type ListSubDeptResponseBody struct {
	// 返回列表
	Result []*ListSubDeptResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (ListSubDeptResponseBody) GoString

func (s ListSubDeptResponseBody) GoString() string

func (*ListSubDeptResponseBody) SetResult

func (ListSubDeptResponseBody) String

func (s ListSubDeptResponseBody) String() string

type ListSubDeptResponseBodyResult

type ListSubDeptResponseBodyResult struct {
	// 下属组织的部门ID
	DepartmentId *int64 `json:"departmentId,omitempty" xml:"departmentId,omitempty"`
	// 部门名称
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (ListSubDeptResponseBodyResult) GoString

func (*ListSubDeptResponseBodyResult) SetDepartmentId

func (*ListSubDeptResponseBodyResult) SetName

func (ListSubDeptResponseBodyResult) String

Jump to

Keyboard shortcuts

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