v20181225

package
v3.0.118+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-12-25"

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptOrganizationInvitationRequest

type AcceptOrganizationInvitationRequest struct {
	*tchttp.BaseRequest

	// 邀请ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewAcceptOrganizationInvitationRequest

func NewAcceptOrganizationInvitationRequest() (request *AcceptOrganizationInvitationRequest)

func (*AcceptOrganizationInvitationRequest) FromJsonString

func (r *AcceptOrganizationInvitationRequest) FromJsonString(s string) error

func (*AcceptOrganizationInvitationRequest) ToJsonString

func (r *AcceptOrganizationInvitationRequest) ToJsonString() string

type AcceptOrganizationInvitationResponse

type AcceptOrganizationInvitationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAcceptOrganizationInvitationResponse

func NewAcceptOrganizationInvitationResponse() (response *AcceptOrganizationInvitationResponse)

func (*AcceptOrganizationInvitationResponse) FromJsonString

func (r *AcceptOrganizationInvitationResponse) FromJsonString(s string) error

func (*AcceptOrganizationInvitationResponse) ToJsonString

func (r *AcceptOrganizationInvitationResponse) ToJsonString() string

type AddOrganizationNodeRequest

type AddOrganizationNodeRequest struct {
	*tchttp.BaseRequest

	// 父组织单元ID
	ParentNodeId *uint64 `json:"ParentNodeId,omitempty" name:"ParentNodeId"`

	// 组织单元名字
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewAddOrganizationNodeRequest

func NewAddOrganizationNodeRequest() (request *AddOrganizationNodeRequest)

func (*AddOrganizationNodeRequest) FromJsonString

func (r *AddOrganizationNodeRequest) FromJsonString(s string) error

func (*AddOrganizationNodeRequest) ToJsonString

func (r *AddOrganizationNodeRequest) ToJsonString() string

type AddOrganizationNodeResponse

type AddOrganizationNodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 组织单元ID
		NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAddOrganizationNodeResponse

func NewAddOrganizationNodeResponse() (response *AddOrganizationNodeResponse)

func (*AddOrganizationNodeResponse) FromJsonString

func (r *AddOrganizationNodeResponse) FromJsonString(s string) error

func (*AddOrganizationNodeResponse) ToJsonString

func (r *AddOrganizationNodeResponse) ToJsonString() string

type CancelOrganizationInvitationRequest

type CancelOrganizationInvitationRequest struct {
	*tchttp.BaseRequest

	// 邀请ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewCancelOrganizationInvitationRequest

func NewCancelOrganizationInvitationRequest() (request *CancelOrganizationInvitationRequest)

func (*CancelOrganizationInvitationRequest) FromJsonString

func (r *CancelOrganizationInvitationRequest) FromJsonString(s string) error

func (*CancelOrganizationInvitationRequest) ToJsonString

func (r *CancelOrganizationInvitationRequest) ToJsonString() string

type CancelOrganizationInvitationResponse

type CancelOrganizationInvitationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCancelOrganizationInvitationResponse

func NewCancelOrganizationInvitationResponse() (response *CancelOrganizationInvitationResponse)

func (*CancelOrganizationInvitationResponse) FromJsonString

func (r *CancelOrganizationInvitationResponse) FromJsonString(s string) error

func (*CancelOrganizationInvitationResponse) ToJsonString

func (r *CancelOrganizationInvitationResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AcceptOrganizationInvitation

func (c *Client) AcceptOrganizationInvitation(request *AcceptOrganizationInvitationRequest) (response *AcceptOrganizationInvitationResponse, err error)

接受加入企业组织邀请

func (*Client) AddOrganizationNode

func (c *Client) AddOrganizationNode(request *AddOrganizationNodeRequest) (response *AddOrganizationNodeResponse, err error)

添加企业组织单元

func (*Client) CancelOrganizationInvitation

func (c *Client) CancelOrganizationInvitation(request *CancelOrganizationInvitationRequest) (response *CancelOrganizationInvitationResponse, err error)

取消企业组织邀请

func (*Client) CreateOrganization

func (c *Client) CreateOrganization(request *CreateOrganizationRequest) (response *CreateOrganizationResponse, err error)

创建企业组织

func (*Client) DeleteOrganization

func (c *Client) DeleteOrganization(request *DeleteOrganizationRequest) (response *DeleteOrganizationResponse, err error)

删除企业组织

func (*Client) DeleteOrganizationMemberFromNode

func (c *Client) DeleteOrganizationMemberFromNode(request *DeleteOrganizationMemberFromNodeRequest) (response *DeleteOrganizationMemberFromNodeResponse, err error)

删除企业组织成员

func (*Client) DeleteOrganizationMembers

func (c *Client) DeleteOrganizationMembers(request *DeleteOrganizationMembersRequest) (response *DeleteOrganizationMembersResponse, err error)

批量删除企业组织成员

func (*Client) DeleteOrganizationNodes

func (c *Client) DeleteOrganizationNodes(request *DeleteOrganizationNodesRequest) (response *DeleteOrganizationNodesResponse, err error)

批量删除企业组织单元

func (*Client) DenyOrganizationInvitation

func (c *Client) DenyOrganizationInvitation(request *DenyOrganizationInvitationRequest) (response *DenyOrganizationInvitationResponse, err error)

拒绝企业组织邀请

func (*Client) GetOrganization

func (c *Client) GetOrganization(request *GetOrganizationRequest) (response *GetOrganizationResponse, err error)

获取企业组织信息

func (*Client) GetOrganizationMember

func (c *Client) GetOrganizationMember(request *GetOrganizationMemberRequest) (response *GetOrganizationMemberResponse, err error)

获取企业组织成员

func (*Client) ListOrganizationInvitations

func (c *Client) ListOrganizationInvitations(request *ListOrganizationInvitationsRequest) (response *ListOrganizationInvitationsResponse, err error)

获取邀请信息列表

func (*Client) ListOrganizationMembers

func (c *Client) ListOrganizationMembers(request *ListOrganizationMembersRequest) (response *ListOrganizationMembersResponse, err error)

获取企业组织成员列表

func (*Client) ListOrganizationNodeMembers

func (c *Client) ListOrganizationNodeMembers(request *ListOrganizationNodeMembersRequest) (response *ListOrganizationNodeMembersResponse, err error)

获取企业组织单元成员列表

func (*Client) ListOrganizationNodes

func (c *Client) ListOrganizationNodes(request *ListOrganizationNodesRequest) (response *ListOrganizationNodesResponse, err error)

获取企业组织单元列表

func (*Client) MoveOrganizationMembersToNode

func (c *Client) MoveOrganizationMembersToNode(request *MoveOrganizationMembersToNodeRequest) (response *MoveOrganizationMembersToNodeResponse, err error)

移动成员到指定企业组织单元

func (*Client) QuitOrganization

func (c *Client) QuitOrganization(request *QuitOrganizationRequest) (response *QuitOrganizationResponse, err error)

退出企业组织

func (*Client) SendOrganizationInvitation

func (c *Client) SendOrganizationInvitation(request *SendOrganizationInvitationRequest) (response *SendOrganizationInvitationResponse, err error)

发送企业组织邀请

func (*Client) UpdateOrganizationMember

func (c *Client) UpdateOrganizationMember(request *UpdateOrganizationMemberRequest) (response *UpdateOrganizationMemberResponse, err error)

更新企业成员信息

func (*Client) UpdateOrganizationNode

func (c *Client) UpdateOrganizationNode(request *UpdateOrganizationNodeRequest) (response *UpdateOrganizationNodeResponse, err error)

更新企业组织单元

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	*tchttp.BaseRequest

	// 组织类型(目前固定为1)
	OrgType *uint64 `json:"OrgType,omitempty" name:"OrgType"`
}

func NewCreateOrganizationRequest

func NewCreateOrganizationRequest() (request *CreateOrganizationRequest)

func (*CreateOrganizationRequest) FromJsonString

func (r *CreateOrganizationRequest) FromJsonString(s string) error

func (*CreateOrganizationRequest) ToJsonString

func (r *CreateOrganizationRequest) ToJsonString() string

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 企业组织ID
		OrgId *uint64 `json:"OrgId,omitempty" name:"OrgId"`

		// 创建者昵称
		Nickname *string `json:"Nickname,omitempty" name:"Nickname"`

		// 创建者邮箱
		Mail *string `json:"Mail,omitempty" name:"Mail"`

		// 组织类型
		OrgType *uint64 `json:"OrgType,omitempty" name:"OrgType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateOrganizationResponse

func NewCreateOrganizationResponse() (response *CreateOrganizationResponse)

func (*CreateOrganizationResponse) FromJsonString

func (r *CreateOrganizationResponse) FromJsonString(s string) error

func (*CreateOrganizationResponse) ToJsonString

func (r *CreateOrganizationResponse) ToJsonString() string

type DeleteOrganizationMemberFromNodeRequest

type DeleteOrganizationMemberFromNodeRequest struct {
	*tchttp.BaseRequest

	// 被删除成员UIN
	MemberUin *uint64 `json:"MemberUin,omitempty" name:"MemberUin"`

	// 组织单元ID
	NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`
}

func NewDeleteOrganizationMemberFromNodeRequest

func NewDeleteOrganizationMemberFromNodeRequest() (request *DeleteOrganizationMemberFromNodeRequest)

func (*DeleteOrganizationMemberFromNodeRequest) FromJsonString

func (*DeleteOrganizationMemberFromNodeRequest) ToJsonString

type DeleteOrganizationMemberFromNodeResponse

type DeleteOrganizationMemberFromNodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteOrganizationMemberFromNodeResponse

func NewDeleteOrganizationMemberFromNodeResponse() (response *DeleteOrganizationMemberFromNodeResponse)

func (*DeleteOrganizationMemberFromNodeResponse) FromJsonString

func (*DeleteOrganizationMemberFromNodeResponse) ToJsonString

type DeleteOrganizationMembersRequest

type DeleteOrganizationMembersRequest struct {
	*tchttp.BaseRequest

	// 被删除成员的UIN列表
	Uins []*uint64 `json:"Uins,omitempty" name:"Uins" list`
}

func NewDeleteOrganizationMembersRequest

func NewDeleteOrganizationMembersRequest() (request *DeleteOrganizationMembersRequest)

func (*DeleteOrganizationMembersRequest) FromJsonString

func (r *DeleteOrganizationMembersRequest) FromJsonString(s string) error

func (*DeleteOrganizationMembersRequest) ToJsonString

func (r *DeleteOrganizationMembersRequest) ToJsonString() string

type DeleteOrganizationMembersResponse

type DeleteOrganizationMembersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteOrganizationMembersResponse

func NewDeleteOrganizationMembersResponse() (response *DeleteOrganizationMembersResponse)

func (*DeleteOrganizationMembersResponse) FromJsonString

func (r *DeleteOrganizationMembersResponse) FromJsonString(s string) error

func (*DeleteOrganizationMembersResponse) ToJsonString

func (r *DeleteOrganizationMembersResponse) ToJsonString() string

type DeleteOrganizationNodesRequest

type DeleteOrganizationNodesRequest struct {
	*tchttp.BaseRequest

	// 组织单元ID列表
	NodeIds []*uint64 `json:"NodeIds,omitempty" name:"NodeIds" list`
}

func NewDeleteOrganizationNodesRequest

func NewDeleteOrganizationNodesRequest() (request *DeleteOrganizationNodesRequest)

func (*DeleteOrganizationNodesRequest) FromJsonString

func (r *DeleteOrganizationNodesRequest) FromJsonString(s string) error

func (*DeleteOrganizationNodesRequest) ToJsonString

func (r *DeleteOrganizationNodesRequest) ToJsonString() string

type DeleteOrganizationNodesResponse

type DeleteOrganizationNodesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteOrganizationNodesResponse

func NewDeleteOrganizationNodesResponse() (response *DeleteOrganizationNodesResponse)

func (*DeleteOrganizationNodesResponse) FromJsonString

func (r *DeleteOrganizationNodesResponse) FromJsonString(s string) error

func (*DeleteOrganizationNodesResponse) ToJsonString

func (r *DeleteOrganizationNodesResponse) ToJsonString() string

type DeleteOrganizationRequest

type DeleteOrganizationRequest struct {
	*tchttp.BaseRequest
}

func NewDeleteOrganizationRequest

func NewDeleteOrganizationRequest() (request *DeleteOrganizationRequest)

func (*DeleteOrganizationRequest) FromJsonString

func (r *DeleteOrganizationRequest) FromJsonString(s string) error

func (*DeleteOrganizationRequest) ToJsonString

func (r *DeleteOrganizationRequest) ToJsonString() string

type DeleteOrganizationResponse

type DeleteOrganizationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteOrganizationResponse

func NewDeleteOrganizationResponse() (response *DeleteOrganizationResponse)

func (*DeleteOrganizationResponse) FromJsonString

func (r *DeleteOrganizationResponse) FromJsonString(s string) error

func (*DeleteOrganizationResponse) ToJsonString

func (r *DeleteOrganizationResponse) ToJsonString() string

type DenyOrganizationInvitationRequest

type DenyOrganizationInvitationRequest struct {
	*tchttp.BaseRequest

	// 邀请ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewDenyOrganizationInvitationRequest

func NewDenyOrganizationInvitationRequest() (request *DenyOrganizationInvitationRequest)

func (*DenyOrganizationInvitationRequest) FromJsonString

func (r *DenyOrganizationInvitationRequest) FromJsonString(s string) error

func (*DenyOrganizationInvitationRequest) ToJsonString

func (r *DenyOrganizationInvitationRequest) ToJsonString() string

type DenyOrganizationInvitationResponse

type DenyOrganizationInvitationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDenyOrganizationInvitationResponse

func NewDenyOrganizationInvitationResponse() (response *DenyOrganizationInvitationResponse)

func (*DenyOrganizationInvitationResponse) FromJsonString

func (r *DenyOrganizationInvitationResponse) FromJsonString(s string) error

func (*DenyOrganizationInvitationResponse) ToJsonString

func (r *DenyOrganizationInvitationResponse) ToJsonString() string

type GetOrganizationMemberRequest

type GetOrganizationMemberRequest struct {
	*tchttp.BaseRequest

	// 组织成员UIN
	MemberUin *uint64 `json:"MemberUin,omitempty" name:"MemberUin"`
}

func NewGetOrganizationMemberRequest

func NewGetOrganizationMemberRequest() (request *GetOrganizationMemberRequest)

func (*GetOrganizationMemberRequest) FromJsonString

func (r *GetOrganizationMemberRequest) FromJsonString(s string) error

func (*GetOrganizationMemberRequest) ToJsonString

func (r *GetOrganizationMemberRequest) ToJsonString() string

type GetOrganizationMemberResponse

type GetOrganizationMemberResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 组织成员UIN
		Uin *uint64 `json:"Uin,omitempty" name:"Uin"`

		// 组织成员名称
		Name *string `json:"Name,omitempty" name:"Name"`

		// 备注
		Remark *string `json:"Remark,omitempty" name:"Remark"`

		// 加入时间
		JoinTime *string `json:"JoinTime,omitempty" name:"JoinTime"`

		// 组织单元ID
		NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`

		// 组织单元名称
		NodeName *string `json:"NodeName,omitempty" name:"NodeName"`

		// 父组织单元ID
		ParentNodeId *uint64 `json:"ParentNodeId,omitempty" name:"ParentNodeId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetOrganizationMemberResponse

func NewGetOrganizationMemberResponse() (response *GetOrganizationMemberResponse)

func (*GetOrganizationMemberResponse) FromJsonString

func (r *GetOrganizationMemberResponse) FromJsonString(s string) error

func (*GetOrganizationMemberResponse) ToJsonString

func (r *GetOrganizationMemberResponse) ToJsonString() string

type GetOrganizationRequest

type GetOrganizationRequest struct {
	*tchttp.BaseRequest
}

func NewGetOrganizationRequest

func NewGetOrganizationRequest() (request *GetOrganizationRequest)

func (*GetOrganizationRequest) FromJsonString

func (r *GetOrganizationRequest) FromJsonString(s string) error

func (*GetOrganizationRequest) ToJsonString

func (r *GetOrganizationRequest) ToJsonString() string

type GetOrganizationResponse

type GetOrganizationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 企业组织ID
		OrgId *uint64 `json:"OrgId,omitempty" name:"OrgId"`

		// 创建者UIN
		HostUin *uint64 `json:"HostUin,omitempty" name:"HostUin"`

		// 创建者昵称
		Nickname *string `json:"Nickname,omitempty" name:"Nickname"`

		// 创建者邮箱
		Mail *string `json:"Mail,omitempty" name:"Mail"`

		// 企业组织类型
		OrgType *uint64 `json:"OrgType,omitempty" name:"OrgType"`

		// 是否为空
		IsEmpty *uint64 `json:"IsEmpty,omitempty" name:"IsEmpty"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetOrganizationResponse

func NewGetOrganizationResponse() (response *GetOrganizationResponse)

func (*GetOrganizationResponse) FromJsonString

func (r *GetOrganizationResponse) FromJsonString(s string) error

func (*GetOrganizationResponse) ToJsonString

func (r *GetOrganizationResponse) ToJsonString() string

type ListOrganizationInvitationsRequest

type ListOrganizationInvitationsRequest struct {
	*tchttp.BaseRequest

	// 是否被邀请。1:被邀请,0:发出的邀请
	Invited *uint64 `json:"Invited,omitempty" name:"Invited"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewListOrganizationInvitationsRequest

func NewListOrganizationInvitationsRequest() (request *ListOrganizationInvitationsRequest)

func (*ListOrganizationInvitationsRequest) FromJsonString

func (r *ListOrganizationInvitationsRequest) FromJsonString(s string) error

func (*ListOrganizationInvitationsRequest) ToJsonString

func (r *ListOrganizationInvitationsRequest) ToJsonString() string

type ListOrganizationInvitationsResponse

type ListOrganizationInvitationsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 邀请信息列表
		Invitations []*OrgInvitation `json:"Invitations,omitempty" name:"Invitations" list`

		// 总数目
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListOrganizationInvitationsResponse

func NewListOrganizationInvitationsResponse() (response *ListOrganizationInvitationsResponse)

func (*ListOrganizationInvitationsResponse) FromJsonString

func (r *ListOrganizationInvitationsResponse) FromJsonString(s string) error

func (*ListOrganizationInvitationsResponse) ToJsonString

func (r *ListOrganizationInvitationsResponse) ToJsonString() string

type ListOrganizationMembersRequest

type ListOrganizationMembersRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewListOrganizationMembersRequest

func NewListOrganizationMembersRequest() (request *ListOrganizationMembersRequest)

func (*ListOrganizationMembersRequest) FromJsonString

func (r *ListOrganizationMembersRequest) FromJsonString(s string) error

func (*ListOrganizationMembersRequest) ToJsonString

func (r *ListOrganizationMembersRequest) ToJsonString() string

type ListOrganizationMembersResponse

type ListOrganizationMembersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 成员列表
		Members []*OrgMember `json:"Members,omitempty" name:"Members" list`

		// 总数目
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListOrganizationMembersResponse

func NewListOrganizationMembersResponse() (response *ListOrganizationMembersResponse)

func (*ListOrganizationMembersResponse) FromJsonString

func (r *ListOrganizationMembersResponse) FromJsonString(s string) error

func (*ListOrganizationMembersResponse) ToJsonString

func (r *ListOrganizationMembersResponse) ToJsonString() string

type ListOrganizationNodeMembersRequest

type ListOrganizationNodeMembersRequest struct {
	*tchttp.BaseRequest

	// 企业组织单元ID
	NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewListOrganizationNodeMembersRequest

func NewListOrganizationNodeMembersRequest() (request *ListOrganizationNodeMembersRequest)

func (*ListOrganizationNodeMembersRequest) FromJsonString

func (r *ListOrganizationNodeMembersRequest) FromJsonString(s string) error

func (*ListOrganizationNodeMembersRequest) ToJsonString

func (r *ListOrganizationNodeMembersRequest) ToJsonString() string

type ListOrganizationNodeMembersResponse

type ListOrganizationNodeMembersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 总数目
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 成员列表
		Members []*OrgMember `json:"Members,omitempty" name:"Members" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListOrganizationNodeMembersResponse

func NewListOrganizationNodeMembersResponse() (response *ListOrganizationNodeMembersResponse)

func (*ListOrganizationNodeMembersResponse) FromJsonString

func (r *ListOrganizationNodeMembersResponse) FromJsonString(s string) error

func (*ListOrganizationNodeMembersResponse) ToJsonString

func (r *ListOrganizationNodeMembersResponse) ToJsonString() string

type ListOrganizationNodesRequest

type ListOrganizationNodesRequest struct {
	*tchttp.BaseRequest
}

func NewListOrganizationNodesRequest

func NewListOrganizationNodesRequest() (request *ListOrganizationNodesRequest)

func (*ListOrganizationNodesRequest) FromJsonString

func (r *ListOrganizationNodesRequest) FromJsonString(s string) error

func (*ListOrganizationNodesRequest) ToJsonString

func (r *ListOrganizationNodesRequest) ToJsonString() string

type ListOrganizationNodesResponse

type ListOrganizationNodesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 企业组织单元列表
		Nodes []*OrgNode `json:"Nodes,omitempty" name:"Nodes" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListOrganizationNodesResponse

func NewListOrganizationNodesResponse() (response *ListOrganizationNodesResponse)

func (*ListOrganizationNodesResponse) FromJsonString

func (r *ListOrganizationNodesResponse) FromJsonString(s string) error

func (*ListOrganizationNodesResponse) ToJsonString

func (r *ListOrganizationNodesResponse) ToJsonString() string

type MoveOrganizationMembersToNodeRequest

type MoveOrganizationMembersToNodeRequest struct {
	*tchttp.BaseRequest

	// 组织单元ID
	NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`

	// 成员UIN列表
	Uins []*uint64 `json:"Uins,omitempty" name:"Uins" list`
}

func NewMoveOrganizationMembersToNodeRequest

func NewMoveOrganizationMembersToNodeRequest() (request *MoveOrganizationMembersToNodeRequest)

func (*MoveOrganizationMembersToNodeRequest) FromJsonString

func (r *MoveOrganizationMembersToNodeRequest) FromJsonString(s string) error

func (*MoveOrganizationMembersToNodeRequest) ToJsonString

func (r *MoveOrganizationMembersToNodeRequest) ToJsonString() string

type MoveOrganizationMembersToNodeResponse

type MoveOrganizationMembersToNodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMoveOrganizationMembersToNodeResponse

func NewMoveOrganizationMembersToNodeResponse() (response *MoveOrganizationMembersToNodeResponse)

func (*MoveOrganizationMembersToNodeResponse) FromJsonString

func (r *MoveOrganizationMembersToNodeResponse) FromJsonString(s string) error

func (*MoveOrganizationMembersToNodeResponse) ToJsonString

type OrgInvitation

type OrgInvitation struct {

	// 邀请ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// 被邀请UIN
	Uin *uint64 `json:"Uin,omitempty" name:"Uin"`

	// 创建者UIN
	HostUin *uint64 `json:"HostUin,omitempty" name:"HostUin"`

	// 创建者名称
	HostName *string `json:"HostName,omitempty" name:"HostName"`

	// 创建者邮箱
	HostMail *string `json:"HostMail,omitempty" name:"HostMail"`

	// 邀请状态。-1:已过期,0:正常,1:已接受,2:已失效,3:已取消
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// 企业组织类型
	OrgType *uint64 `json:"OrgType,omitempty" name:"OrgType"`

	// 邀请时间
	InviteTime *string `json:"InviteTime,omitempty" name:"InviteTime"`

	// 过期时间
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type OrgMember

type OrgMember struct {

	// UIN
	Uin *uint64 `json:"Uin,omitempty" name:"Uin"`

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// 加入时间
	JoinTime *string `json:"JoinTime,omitempty" name:"JoinTime"`
}

type OrgNode

type OrgNode struct {

	// 组织单元ID
	NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 父单元ID
	ParentNodeId *uint64 `json:"ParentNodeId,omitempty" name:"ParentNodeId"`

	// 成员数量
	MemberCount *uint64 `json:"MemberCount,omitempty" name:"MemberCount"`
}

type QuitOrganizationRequest

type QuitOrganizationRequest struct {
	*tchttp.BaseRequest

	// 企业组织ID
	OrgId *uint64 `json:"OrgId,omitempty" name:"OrgId"`
}

func NewQuitOrganizationRequest

func NewQuitOrganizationRequest() (request *QuitOrganizationRequest)

func (*QuitOrganizationRequest) FromJsonString

func (r *QuitOrganizationRequest) FromJsonString(s string) error

func (*QuitOrganizationRequest) ToJsonString

func (r *QuitOrganizationRequest) ToJsonString() string

type QuitOrganizationResponse

type QuitOrganizationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQuitOrganizationResponse

func NewQuitOrganizationResponse() (response *QuitOrganizationResponse)

func (*QuitOrganizationResponse) FromJsonString

func (r *QuitOrganizationResponse) FromJsonString(s string) error

func (*QuitOrganizationResponse) ToJsonString

func (r *QuitOrganizationResponse) ToJsonString() string

type SendOrganizationInvitationRequest

type SendOrganizationInvitationRequest struct {
	*tchttp.BaseRequest

	// 被邀请账户UIN
	InviteUin *uint64 `json:"InviteUin,omitempty" name:"InviteUin"`

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

func NewSendOrganizationInvitationRequest

func NewSendOrganizationInvitationRequest() (request *SendOrganizationInvitationRequest)

func (*SendOrganizationInvitationRequest) FromJsonString

func (r *SendOrganizationInvitationRequest) FromJsonString(s string) error

func (*SendOrganizationInvitationRequest) ToJsonString

func (r *SendOrganizationInvitationRequest) ToJsonString() string

type SendOrganizationInvitationResponse

type SendOrganizationInvitationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSendOrganizationInvitationResponse

func NewSendOrganizationInvitationResponse() (response *SendOrganizationInvitationResponse)

func (*SendOrganizationInvitationResponse) FromJsonString

func (r *SendOrganizationInvitationResponse) FromJsonString(s string) error

func (*SendOrganizationInvitationResponse) ToJsonString

func (r *SendOrganizationInvitationResponse) ToJsonString() string

type UpdateOrganizationMemberRequest

type UpdateOrganizationMemberRequest struct {
	*tchttp.BaseRequest

	// 成员UIN
	MemberUin *uint64 `json:"MemberUin,omitempty" name:"MemberUin"`

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

func NewUpdateOrganizationMemberRequest

func NewUpdateOrganizationMemberRequest() (request *UpdateOrganizationMemberRequest)

func (*UpdateOrganizationMemberRequest) FromJsonString

func (r *UpdateOrganizationMemberRequest) FromJsonString(s string) error

func (*UpdateOrganizationMemberRequest) ToJsonString

func (r *UpdateOrganizationMemberRequest) ToJsonString() string

type UpdateOrganizationMemberResponse

type UpdateOrganizationMemberResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateOrganizationMemberResponse

func NewUpdateOrganizationMemberResponse() (response *UpdateOrganizationMemberResponse)

func (*UpdateOrganizationMemberResponse) FromJsonString

func (r *UpdateOrganizationMemberResponse) FromJsonString(s string) error

func (*UpdateOrganizationMemberResponse) ToJsonString

func (r *UpdateOrganizationMemberResponse) ToJsonString() string

type UpdateOrganizationNodeRequest

type UpdateOrganizationNodeRequest struct {
	*tchttp.BaseRequest

	// 企业组织单元ID
	NodeId *uint64 `json:"NodeId,omitempty" name:"NodeId"`

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 父单元ID
	ParentNodeId *uint64 `json:"ParentNodeId,omitempty" name:"ParentNodeId"`
}

func NewUpdateOrganizationNodeRequest

func NewUpdateOrganizationNodeRequest() (request *UpdateOrganizationNodeRequest)

func (*UpdateOrganizationNodeRequest) FromJsonString

func (r *UpdateOrganizationNodeRequest) FromJsonString(s string) error

func (*UpdateOrganizationNodeRequest) ToJsonString

func (r *UpdateOrganizationNodeRequest) ToJsonString() string

type UpdateOrganizationNodeResponse

type UpdateOrganizationNodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateOrganizationNodeResponse

func NewUpdateOrganizationNodeResponse() (response *UpdateOrganizationNodeResponse)

func (*UpdateOrganizationNodeResponse) FromJsonString

func (r *UpdateOrganizationNodeResponse) FromJsonString(s string) error

func (*UpdateOrganizationNodeResponse) ToJsonString

func (r *UpdateOrganizationNodeResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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