// This file is auto-generated, don't edit it. Thanks.
package industry_1_0

import (
	openapi "github.com/alibabacloud-go/darabonba-openapi/v2/client"
	gatewayclient "github.com/alibabacloud-go/gateway-dingtalk/client"
	openapiutil "github.com/alibabacloud-go/openapi-util/service"
	util "github.com/alibabacloud-go/tea-utils/v2/service"
	"github.com/alibabacloud-go/tea/tea"
)

type AiRetailProductAddHeaders 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 (s AiRetailProductAddHeaders) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductAddHeaders) GoString() string {
	return s.String()
}

func (s *AiRetailProductAddHeaders) SetCommonHeaders(v map[string]*string) *AiRetailProductAddHeaders {
	s.CommonHeaders = v
	return s
}

func (s *AiRetailProductAddHeaders) SetXAcsDingtalkAccessToken(v string) *AiRetailProductAddHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type AiRetailProductAddRequest struct {
	Attribute    map[string]*string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	Barcodes     []*string          `json:"barcodes,omitempty" xml:"barcodes,omitempty" type:"Repeated"`
	Brand        *string            `json:"brand,omitempty" xml:"brand,omitempty"`
	Category     *string            `json:"category,omitempty" xml:"category,omitempty"`
	ImageFileIds []*string          `json:"imageFileIds,omitempty" xml:"imageFileIds,omitempty" type:"Repeated"`
	ItemNumbers  []*string          `json:"itemNumbers,omitempty" xml:"itemNumbers,omitempty" type:"Repeated"`
	Price        *float32           `json:"price,omitempty" xml:"price,omitempty"`
	// This parameter is required.
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 办公室的电话是：13222333232
	ProductFab *string `json:"productFab,omitempty" xml:"productFab,omitempty"`
	// example:
	//
	// https://xxxxxxx.com/xxxxxx
	ProductInfo *string `json:"productInfo,omitempty" xml:"productInfo,omitempty"`
	// example:
	//
	// 办公室的电话是多少
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
}

func (s AiRetailProductAddRequest) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductAddRequest) GoString() string {
	return s.String()
}

func (s *AiRetailProductAddRequest) SetAttribute(v map[string]*string) *AiRetailProductAddRequest {
	s.Attribute = v
	return s
}

func (s *AiRetailProductAddRequest) SetBarcodes(v []*string) *AiRetailProductAddRequest {
	s.Barcodes = v
	return s
}

func (s *AiRetailProductAddRequest) SetBrand(v string) *AiRetailProductAddRequest {
	s.Brand = &v
	return s
}

func (s *AiRetailProductAddRequest) SetCategory(v string) *AiRetailProductAddRequest {
	s.Category = &v
	return s
}

func (s *AiRetailProductAddRequest) SetImageFileIds(v []*string) *AiRetailProductAddRequest {
	s.ImageFileIds = v
	return s
}

func (s *AiRetailProductAddRequest) SetItemNumbers(v []*string) *AiRetailProductAddRequest {
	s.ItemNumbers = v
	return s
}

func (s *AiRetailProductAddRequest) SetPrice(v float32) *AiRetailProductAddRequest {
	s.Price = &v
	return s
}

func (s *AiRetailProductAddRequest) SetProductCode(v string) *AiRetailProductAddRequest {
	s.ProductCode = &v
	return s
}

func (s *AiRetailProductAddRequest) SetProductFab(v string) *AiRetailProductAddRequest {
	s.ProductFab = &v
	return s
}

func (s *AiRetailProductAddRequest) SetProductInfo(v string) *AiRetailProductAddRequest {
	s.ProductInfo = &v
	return s
}

func (s *AiRetailProductAddRequest) SetProductName(v string) *AiRetailProductAddRequest {
	s.ProductName = &v
	return s
}

type AiRetailProductAddResponseBody struct {
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
}

func (s AiRetailProductAddResponseBody) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductAddResponseBody) GoString() string {
	return s.String()
}

func (s *AiRetailProductAddResponseBody) SetProductId(v int64) *AiRetailProductAddResponseBody {
	s.ProductId = &v
	return s
}

type AiRetailProductAddResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AiRetailProductAddResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s AiRetailProductAddResponse) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductAddResponse) GoString() string {
	return s.String()
}

func (s *AiRetailProductAddResponse) SetHeaders(v map[string]*string) *AiRetailProductAddResponse {
	s.Headers = v
	return s
}

func (s *AiRetailProductAddResponse) SetStatusCode(v int32) *AiRetailProductAddResponse {
	s.StatusCode = &v
	return s
}

func (s *AiRetailProductAddResponse) SetBody(v *AiRetailProductAddResponseBody) *AiRetailProductAddResponse {
	s.Body = v
	return s
}

type AiRetailProductDeleteHeaders 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 (s AiRetailProductDeleteHeaders) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductDeleteHeaders) GoString() string {
	return s.String()
}

func (s *AiRetailProductDeleteHeaders) SetCommonHeaders(v map[string]*string) *AiRetailProductDeleteHeaders {
	s.CommonHeaders = v
	return s
}

func (s *AiRetailProductDeleteHeaders) SetXAcsDingtalkAccessToken(v string) *AiRetailProductDeleteHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type AiRetailProductDeleteRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
}

func (s AiRetailProductDeleteRequest) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductDeleteRequest) GoString() string {
	return s.String()
}

func (s *AiRetailProductDeleteRequest) SetProductId(v int64) *AiRetailProductDeleteRequest {
	s.ProductId = &v
	return s
}

type AiRetailProductDeleteResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *bool              `json:"body,omitempty" xml:"body,omitempty"`
}

func (s AiRetailProductDeleteResponse) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductDeleteResponse) GoString() string {
	return s.String()
}

func (s *AiRetailProductDeleteResponse) SetHeaders(v map[string]*string) *AiRetailProductDeleteResponse {
	s.Headers = v
	return s
}

func (s *AiRetailProductDeleteResponse) SetStatusCode(v int32) *AiRetailProductDeleteResponse {
	s.StatusCode = &v
	return s
}

func (s *AiRetailProductDeleteResponse) SetBody(v bool) *AiRetailProductDeleteResponse {
	s.Body = &v
	return s
}

type AiRetailProductImgUploadHeaders 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 (s AiRetailProductImgUploadHeaders) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductImgUploadHeaders) GoString() string {
	return s.String()
}

func (s *AiRetailProductImgUploadHeaders) SetCommonHeaders(v map[string]*string) *AiRetailProductImgUploadHeaders {
	s.CommonHeaders = v
	return s
}

func (s *AiRetailProductImgUploadHeaders) SetXAcsDingtalkAccessToken(v string) *AiRetailProductImgUploadHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type AiRetailProductImgUploadRequest struct {
	// This parameter is required.
	BizCode *string `json:"bizCode,omitempty" xml:"bizCode,omitempty"`
}

func (s AiRetailProductImgUploadRequest) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductImgUploadRequest) GoString() string {
	return s.String()
}

func (s *AiRetailProductImgUploadRequest) SetBizCode(v string) *AiRetailProductImgUploadRequest {
	s.BizCode = &v
	return s
}

type AiRetailProductImgUploadResponseBody struct {
	Result *AiRetailProductImgUploadResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s AiRetailProductImgUploadResponseBody) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductImgUploadResponseBody) GoString() string {
	return s.String()
}

func (s *AiRetailProductImgUploadResponseBody) SetResult(v *AiRetailProductImgUploadResponseBodyResult) *AiRetailProductImgUploadResponseBody {
	s.Result = v
	return s
}

type AiRetailProductImgUploadResponseBodyResult struct {
	OssFileId    *string `json:"ossFileId,omitempty" xml:"ossFileId,omitempty"`
	OssUploadUrl *string `json:"ossUploadUrl,omitempty" xml:"ossUploadUrl,omitempty"`
}

func (s AiRetailProductImgUploadResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductImgUploadResponseBodyResult) GoString() string {
	return s.String()
}

func (s *AiRetailProductImgUploadResponseBodyResult) SetOssFileId(v string) *AiRetailProductImgUploadResponseBodyResult {
	s.OssFileId = &v
	return s
}

func (s *AiRetailProductImgUploadResponseBodyResult) SetOssUploadUrl(v string) *AiRetailProductImgUploadResponseBodyResult {
	s.OssUploadUrl = &v
	return s
}

type AiRetailProductImgUploadResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AiRetailProductImgUploadResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s AiRetailProductImgUploadResponse) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductImgUploadResponse) GoString() string {
	return s.String()
}

func (s *AiRetailProductImgUploadResponse) SetHeaders(v map[string]*string) *AiRetailProductImgUploadResponse {
	s.Headers = v
	return s
}

func (s *AiRetailProductImgUploadResponse) SetStatusCode(v int32) *AiRetailProductImgUploadResponse {
	s.StatusCode = &v
	return s
}

func (s *AiRetailProductImgUploadResponse) SetBody(v *AiRetailProductImgUploadResponseBody) *AiRetailProductImgUploadResponse {
	s.Body = v
	return s
}

type AiRetailProductQueryHeaders 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 (s AiRetailProductQueryHeaders) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductQueryHeaders) GoString() string {
	return s.String()
}

func (s *AiRetailProductQueryHeaders) SetCommonHeaders(v map[string]*string) *AiRetailProductQueryHeaders {
	s.CommonHeaders = v
	return s
}

func (s *AiRetailProductQueryHeaders) SetXAcsDingtalkAccessToken(v string) *AiRetailProductQueryHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type AiRetailProductQueryRequest struct {
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	ProductId   *int64  `json:"productId,omitempty" xml:"productId,omitempty"`
}

func (s AiRetailProductQueryRequest) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductQueryRequest) GoString() string {
	return s.String()
}

func (s *AiRetailProductQueryRequest) SetProductCode(v string) *AiRetailProductQueryRequest {
	s.ProductCode = &v
	return s
}

func (s *AiRetailProductQueryRequest) SetProductId(v int64) *AiRetailProductQueryRequest {
	s.ProductId = &v
	return s
}

type AiRetailProductQueryResponseBody struct {
	Data []*AiRetailProductQueryResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
}

func (s AiRetailProductQueryResponseBody) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductQueryResponseBody) GoString() string {
	return s.String()
}

func (s *AiRetailProductQueryResponseBody) SetData(v []*AiRetailProductQueryResponseBodyData) *AiRetailProductQueryResponseBody {
	s.Data = v
	return s
}

type AiRetailProductQueryResponseBodyData struct {
	Attribute    *string  `json:"attribute,omitempty" xml:"attribute,omitempty"`
	Barcodes     *string  `json:"barcodes,omitempty" xml:"barcodes,omitempty"`
	Brand        *string  `json:"brand,omitempty" xml:"brand,omitempty"`
	Category     *string  `json:"category,omitempty" xml:"category,omitempty"`
	ImageFileIds *string  `json:"imageFileIds,omitempty" xml:"imageFileIds,omitempty"`
	ItemNumbers  *string  `json:"itemNumbers,omitempty" xml:"itemNumbers,omitempty"`
	Price        *float32 `json:"price,omitempty" xml:"price,omitempty"`
	ProductCode  *string  `json:"productCode,omitempty" xml:"productCode,omitempty"`
	ProductFab   *string  `json:"productFab,omitempty" xml:"productFab,omitempty"`
	ProductId    *int64   `json:"productId,omitempty" xml:"productId,omitempty"`
	ProductInfo  *string  `json:"productInfo,omitempty" xml:"productInfo,omitempty"`
	ProductName  *string  `json:"productName,omitempty" xml:"productName,omitempty"`
}

func (s AiRetailProductQueryResponseBodyData) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductQueryResponseBodyData) GoString() string {
	return s.String()
}

func (s *AiRetailProductQueryResponseBodyData) SetAttribute(v string) *AiRetailProductQueryResponseBodyData {
	s.Attribute = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetBarcodes(v string) *AiRetailProductQueryResponseBodyData {
	s.Barcodes = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetBrand(v string) *AiRetailProductQueryResponseBodyData {
	s.Brand = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetCategory(v string) *AiRetailProductQueryResponseBodyData {
	s.Category = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetImageFileIds(v string) *AiRetailProductQueryResponseBodyData {
	s.ImageFileIds = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetItemNumbers(v string) *AiRetailProductQueryResponseBodyData {
	s.ItemNumbers = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetPrice(v float32) *AiRetailProductQueryResponseBodyData {
	s.Price = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetProductCode(v string) *AiRetailProductQueryResponseBodyData {
	s.ProductCode = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetProductFab(v string) *AiRetailProductQueryResponseBodyData {
	s.ProductFab = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetProductId(v int64) *AiRetailProductQueryResponseBodyData {
	s.ProductId = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetProductInfo(v string) *AiRetailProductQueryResponseBodyData {
	s.ProductInfo = &v
	return s
}

func (s *AiRetailProductQueryResponseBodyData) SetProductName(v string) *AiRetailProductQueryResponseBodyData {
	s.ProductName = &v
	return s
}

type AiRetailProductQueryResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AiRetailProductQueryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s AiRetailProductQueryResponse) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductQueryResponse) GoString() string {
	return s.String()
}

func (s *AiRetailProductQueryResponse) SetHeaders(v map[string]*string) *AiRetailProductQueryResponse {
	s.Headers = v
	return s
}

func (s *AiRetailProductQueryResponse) SetStatusCode(v int32) *AiRetailProductQueryResponse {
	s.StatusCode = &v
	return s
}

func (s *AiRetailProductQueryResponse) SetBody(v *AiRetailProductQueryResponseBody) *AiRetailProductQueryResponse {
	s.Body = v
	return s
}

type AiRetailProductUpdateHeaders 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 (s AiRetailProductUpdateHeaders) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductUpdateHeaders) GoString() string {
	return s.String()
}

func (s *AiRetailProductUpdateHeaders) SetCommonHeaders(v map[string]*string) *AiRetailProductUpdateHeaders {
	s.CommonHeaders = v
	return s
}

func (s *AiRetailProductUpdateHeaders) SetXAcsDingtalkAccessToken(v string) *AiRetailProductUpdateHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type AiRetailProductUpdateRequest struct {
	Attribute    map[string]*string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	Barcodes     []*string          `json:"barcodes,omitempty" xml:"barcodes,omitempty" type:"Repeated"`
	Brand        *string            `json:"brand,omitempty" xml:"brand,omitempty"`
	Category     *string            `json:"category,omitempty" xml:"category,omitempty"`
	ImageFileIds []*string          `json:"imageFileIds,omitempty" xml:"imageFileIds,omitempty" type:"Repeated"`
	ItemNumbers  []*string          `json:"itemNumbers,omitempty" xml:"itemNumbers,omitempty" type:"Repeated"`
	Price        *float32           `json:"price,omitempty" xml:"price,omitempty"`
	ProductCode  *string            `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 办公室的电话是：13222333232
	ProductFab *string `json:"productFab,omitempty" xml:"productFab,omitempty"`
	// This parameter is required.
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// example:
	//
	// https://xxxxxxx.com/xxxxxx
	ProductInfo *string `json:"productInfo,omitempty" xml:"productInfo,omitempty"`
	// example:
	//
	// 办公室的电话是多少
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
}

func (s AiRetailProductUpdateRequest) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductUpdateRequest) GoString() string {
	return s.String()
}

func (s *AiRetailProductUpdateRequest) SetAttribute(v map[string]*string) *AiRetailProductUpdateRequest {
	s.Attribute = v
	return s
}

func (s *AiRetailProductUpdateRequest) SetBarcodes(v []*string) *AiRetailProductUpdateRequest {
	s.Barcodes = v
	return s
}

func (s *AiRetailProductUpdateRequest) SetBrand(v string) *AiRetailProductUpdateRequest {
	s.Brand = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetCategory(v string) *AiRetailProductUpdateRequest {
	s.Category = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetImageFileIds(v []*string) *AiRetailProductUpdateRequest {
	s.ImageFileIds = v
	return s
}

func (s *AiRetailProductUpdateRequest) SetItemNumbers(v []*string) *AiRetailProductUpdateRequest {
	s.ItemNumbers = v
	return s
}

func (s *AiRetailProductUpdateRequest) SetPrice(v float32) *AiRetailProductUpdateRequest {
	s.Price = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetProductCode(v string) *AiRetailProductUpdateRequest {
	s.ProductCode = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetProductFab(v string) *AiRetailProductUpdateRequest {
	s.ProductFab = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetProductId(v int64) *AiRetailProductUpdateRequest {
	s.ProductId = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetProductInfo(v string) *AiRetailProductUpdateRequest {
	s.ProductInfo = &v
	return s
}

func (s *AiRetailProductUpdateRequest) SetProductName(v string) *AiRetailProductUpdateRequest {
	s.ProductName = &v
	return s
}

type AiRetailProductUpdateResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *bool              `json:"body,omitempty" xml:"body,omitempty"`
}

func (s AiRetailProductUpdateResponse) String() string {
	return tea.Prettify(s)
}

func (s AiRetailProductUpdateResponse) GoString() string {
	return s.String()
}

func (s *AiRetailProductUpdateResponse) SetHeaders(v map[string]*string) *AiRetailProductUpdateResponse {
	s.Headers = v
	return s
}

func (s *AiRetailProductUpdateResponse) SetStatusCode(v int32) *AiRetailProductUpdateResponse {
	s.StatusCode = &v
	return s
}

func (s *AiRetailProductUpdateResponse) SetBody(v bool) *AiRetailProductUpdateResponse {
	s.Body = &v
	return s
}

type BatchGetTaskResultHeaders 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 (s BatchGetTaskResultHeaders) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultHeaders) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultHeaders) SetCommonHeaders(v map[string]*string) *BatchGetTaskResultHeaders {
	s.CommonHeaders = v
	return s
}

func (s *BatchGetTaskResultHeaders) SetXAcsDingtalkAccessToken(v string) *BatchGetTaskResultHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type BatchGetTaskResultRequest struct {
	TaskIds []*string `json:"taskIds,omitempty" xml:"taskIds,omitempty" type:"Repeated"`
}

func (s BatchGetTaskResultRequest) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultRequest) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultRequest) SetTaskIds(v []*string) *BatchGetTaskResultRequest {
	s.TaskIds = v
	return s
}

type BatchGetTaskResultResponseBody struct {
	Tasks []*BatchGetTaskResultResponseBodyTasks `json:"tasks,omitempty" xml:"tasks,omitempty" type:"Repeated"`
}

func (s BatchGetTaskResultResponseBody) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultResponseBody) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultResponseBody) SetTasks(v []*BatchGetTaskResultResponseBodyTasks) *BatchGetTaskResultResponseBody {
	s.Tasks = v
	return s
}

type BatchGetTaskResultResponseBodyTasks struct {
	Result *BatchGetTaskResultResponseBodyTasksResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	// example:
	//
	// COMPLETED
	Status     *string `json:"status,omitempty" xml:"status,omitempty"`
	StatusInfo *string `json:"statusInfo,omitempty" xml:"statusInfo,omitempty"`
	// example:
	//
	// 4beae5155406457291fcbdd76c4e8da8
	TaskId *string `json:"taskId,omitempty" xml:"taskId,omitempty"`
}

func (s BatchGetTaskResultResponseBodyTasks) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultResponseBodyTasks) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultResponseBodyTasks) SetResult(v *BatchGetTaskResultResponseBodyTasksResult) *BatchGetTaskResultResponseBodyTasks {
	s.Result = v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasks) SetStatus(v string) *BatchGetTaskResultResponseBodyTasks {
	s.Status = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasks) SetStatusInfo(v string) *BatchGetTaskResultResponseBodyTasks {
	s.StatusInfo = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasks) SetTaskId(v string) *BatchGetTaskResultResponseBodyTasks {
	s.TaskId = &v
	return s
}

type BatchGetTaskResultResponseBodyTasksResult struct {
	// example:
	//
	// https://industry-ai-prod.oss-cn-zhangjiakou.aliyuncs.com/4beae5155406457291fcbdd76c4e8da8.txt
	AudioText          *string `json:"audioText,omitempty" xml:"audioText,omitempty"`
	AudioTextFormatted *string `json:"audioTextFormatted,omitempty" xml:"audioTextFormatted,omitempty"`
	// example:
	//
	// 2024-05-14
	Date *string `json:"date,omitempty" xml:"date,omitempty"`
	// example:
	//
	// xxx项目
	Desc *string `json:"desc,omitempty" xml:"desc,omitempty"`
	// example:
	//
	// 1001
	Id    *int64                                            `json:"id,omitempty" xml:"id,omitempty"`
	Items []*BatchGetTaskResultResponseBodyTasksResultItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// example:
	//
	// xxx项目会议
	Name    *string `json:"name,omitempty" xml:"name,omitempty"`
	Summary *string `json:"summary,omitempty" xml:"summary,omitempty"`
	// example:
	//
	// 100
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
}

func (s BatchGetTaskResultResponseBodyTasksResult) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultResponseBodyTasksResult) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetAudioText(v string) *BatchGetTaskResultResponseBodyTasksResult {
	s.AudioText = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetAudioTextFormatted(v string) *BatchGetTaskResultResponseBodyTasksResult {
	s.AudioTextFormatted = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetDate(v string) *BatchGetTaskResultResponseBodyTasksResult {
	s.Date = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetDesc(v string) *BatchGetTaskResultResponseBodyTasksResult {
	s.Desc = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetId(v int64) *BatchGetTaskResultResponseBodyTasksResult {
	s.Id = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetItems(v []*BatchGetTaskResultResponseBodyTasksResultItems) *BatchGetTaskResultResponseBodyTasksResult {
	s.Items = v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetName(v string) *BatchGetTaskResultResponseBodyTasksResult {
	s.Name = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetSummary(v string) *BatchGetTaskResultResponseBodyTasksResult {
	s.Summary = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResult) SetTotal(v int64) *BatchGetTaskResultResponseBodyTasksResult {
	s.Total = &v
	return s
}

type BatchGetTaskResultResponseBodyTasksResultItems struct {
	// example:
	//
	// 主持人有问好，并得到积极回应
	Info *string `json:"info,omitempty" xml:"info,omitempty"`
	// example:
	//
	// 是否有问好
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 10
	Point          *int64                                                `json:"point,omitempty" xml:"point,omitempty"`
	Reference      *string                                               `json:"reference,omitempty" xml:"reference,omitempty"`
	ReferenceFrame []*string                                             `json:"referenceFrame,omitempty" xml:"referenceFrame,omitempty" type:"Repeated"`
	Subs           []*BatchGetTaskResultResponseBodyTasksResultItemsSubs `json:"subs,omitempty" xml:"subs,omitempty" type:"Repeated"`
}

func (s BatchGetTaskResultResponseBodyTasksResultItems) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultResponseBodyTasksResultItems) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultResponseBodyTasksResultItems) SetInfo(v string) *BatchGetTaskResultResponseBodyTasksResultItems {
	s.Info = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItems) SetName(v string) *BatchGetTaskResultResponseBodyTasksResultItems {
	s.Name = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItems) SetPoint(v int64) *BatchGetTaskResultResponseBodyTasksResultItems {
	s.Point = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItems) SetReference(v string) *BatchGetTaskResultResponseBodyTasksResultItems {
	s.Reference = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItems) SetReferenceFrame(v []*string) *BatchGetTaskResultResponseBodyTasksResultItems {
	s.ReferenceFrame = v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItems) SetSubs(v []*BatchGetTaskResultResponseBodyTasksResultItemsSubs) *BatchGetTaskResultResponseBodyTasksResultItems {
	s.Subs = v
	return s
}

type BatchGetTaskResultResponseBodyTasksResultItemsSubs struct {
	Point          *int64    `json:"point,omitempty" xml:"point,omitempty"`
	Reference      *string   `json:"reference,omitempty" xml:"reference,omitempty"`
	ReferenceFrame []*string `json:"referenceFrame,omitempty" xml:"referenceFrame,omitempty" type:"Repeated"`
	SubInfo        *string   `json:"subInfo,omitempty" xml:"subInfo,omitempty"`
	SubName        *string   `json:"subName,omitempty" xml:"subName,omitempty"`
}

func (s BatchGetTaskResultResponseBodyTasksResultItemsSubs) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultResponseBodyTasksResultItemsSubs) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultResponseBodyTasksResultItemsSubs) SetPoint(v int64) *BatchGetTaskResultResponseBodyTasksResultItemsSubs {
	s.Point = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItemsSubs) SetReference(v string) *BatchGetTaskResultResponseBodyTasksResultItemsSubs {
	s.Reference = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItemsSubs) SetReferenceFrame(v []*string) *BatchGetTaskResultResponseBodyTasksResultItemsSubs {
	s.ReferenceFrame = v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItemsSubs) SetSubInfo(v string) *BatchGetTaskResultResponseBodyTasksResultItemsSubs {
	s.SubInfo = &v
	return s
}

func (s *BatchGetTaskResultResponseBodyTasksResultItemsSubs) SetSubName(v string) *BatchGetTaskResultResponseBodyTasksResultItemsSubs {
	s.SubName = &v
	return s
}

type BatchGetTaskResultResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BatchGetTaskResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s BatchGetTaskResultResponse) String() string {
	return tea.Prettify(s)
}

func (s BatchGetTaskResultResponse) GoString() string {
	return s.String()
}

func (s *BatchGetTaskResultResponse) SetHeaders(v map[string]*string) *BatchGetTaskResultResponse {
	s.Headers = v
	return s
}

func (s *BatchGetTaskResultResponse) SetStatusCode(v int32) *BatchGetTaskResultResponse {
	s.StatusCode = &v
	return s
}

func (s *BatchGetTaskResultResponse) SetBody(v *BatchGetTaskResultResponseBody) *BatchGetTaskResultResponse {
	s.Body = v
	return s
}

type BusinessMatchHeaders 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 (s BusinessMatchHeaders) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchHeaders) GoString() string {
	return s.String()
}

func (s *BusinessMatchHeaders) SetCommonHeaders(v map[string]*string) *BusinessMatchHeaders {
	s.CommonHeaders = v
	return s
}

func (s *BusinessMatchHeaders) SetXAcsDingtalkAccessToken(v string) *BusinessMatchHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type BusinessMatchRequest struct {
	// This parameter is required.
	BusinessInfo *string `json:"businessInfo,omitempty" xml:"businessInfo,omitempty"`
	// This parameter is required.
	CorpName *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
	// This parameter is required.
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s BusinessMatchRequest) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchRequest) GoString() string {
	return s.String()
}

func (s *BusinessMatchRequest) SetBusinessInfo(v string) *BusinessMatchRequest {
	s.BusinessInfo = &v
	return s
}

func (s *BusinessMatchRequest) SetCorpName(v string) *BusinessMatchRequest {
	s.CorpName = &v
	return s
}

func (s *BusinessMatchRequest) SetUserId(v string) *BusinessMatchRequest {
	s.UserId = &v
	return s
}

type BusinessMatchResponseBody struct {
	TaskId *string `json:"taskId,omitempty" xml:"taskId,omitempty"`
}

func (s BusinessMatchResponseBody) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchResponseBody) GoString() string {
	return s.String()
}

func (s *BusinessMatchResponseBody) SetTaskId(v string) *BusinessMatchResponseBody {
	s.TaskId = &v
	return s
}

type BusinessMatchResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BusinessMatchResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s BusinessMatchResponse) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchResponse) GoString() string {
	return s.String()
}

func (s *BusinessMatchResponse) SetHeaders(v map[string]*string) *BusinessMatchResponse {
	s.Headers = v
	return s
}

func (s *BusinessMatchResponse) SetStatusCode(v int32) *BusinessMatchResponse {
	s.StatusCode = &v
	return s
}

func (s *BusinessMatchResponse) SetBody(v *BusinessMatchResponseBody) *BusinessMatchResponse {
	s.Body = v
	return s
}

type BusinessMatchResultHeaders 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 (s BusinessMatchResultHeaders) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchResultHeaders) GoString() string {
	return s.String()
}

func (s *BusinessMatchResultHeaders) SetCommonHeaders(v map[string]*string) *BusinessMatchResultHeaders {
	s.CommonHeaders = v
	return s
}

func (s *BusinessMatchResultHeaders) SetXAcsDingtalkAccessToken(v string) *BusinessMatchResultHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type BusinessMatchResultRequest struct {
	// This parameter is required.
	TaskId *string `json:"taskId,omitempty" xml:"taskId,omitempty"`
	// This parameter is required.
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s BusinessMatchResultRequest) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchResultRequest) GoString() string {
	return s.String()
}

func (s *BusinessMatchResultRequest) SetTaskId(v string) *BusinessMatchResultRequest {
	s.TaskId = &v
	return s
}

func (s *BusinessMatchResultRequest) SetUserId(v string) *BusinessMatchResultRequest {
	s.UserId = &v
	return s
}

type BusinessMatchResultResponseBody struct {
	Content   *string `json:"content,omitempty" xml:"content,omitempty"`
	IsMatched *bool   `json:"isMatched,omitempty" xml:"isMatched,omitempty"`
	Status    *int32  `json:"status,omitempty" xml:"status,omitempty"`
}

func (s BusinessMatchResultResponseBody) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchResultResponseBody) GoString() string {
	return s.String()
}

func (s *BusinessMatchResultResponseBody) SetContent(v string) *BusinessMatchResultResponseBody {
	s.Content = &v
	return s
}

func (s *BusinessMatchResultResponseBody) SetIsMatched(v bool) *BusinessMatchResultResponseBody {
	s.IsMatched = &v
	return s
}

func (s *BusinessMatchResultResponseBody) SetStatus(v int32) *BusinessMatchResultResponseBody {
	s.Status = &v
	return s
}

type BusinessMatchResultResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BusinessMatchResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s BusinessMatchResultResponse) String() string {
	return tea.Prettify(s)
}

func (s BusinessMatchResultResponse) GoString() string {
	return s.String()
}

func (s *BusinessMatchResultResponse) SetHeaders(v map[string]*string) *BusinessMatchResultResponse {
	s.Headers = v
	return s
}

func (s *BusinessMatchResultResponse) SetStatusCode(v int32) *BusinessMatchResultResponse {
	s.StatusCode = &v
	return s
}

func (s *BusinessMatchResultResponse) SetBody(v *BusinessMatchResultResponseBody) *BusinessMatchResultResponse {
	s.Body = v
	return s
}

type CampusAddRenterMemberHeaders 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 (s CampusAddRenterMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusAddRenterMemberHeaders) GoString() string {
	return s.String()
}

func (s *CampusAddRenterMemberHeaders) SetCommonHeaders(v map[string]*string) *CampusAddRenterMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusAddRenterMemberHeaders) SetXAcsDingtalkAccessToken(v string) *CampusAddRenterMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusAddRenterMemberRequest struct {
	// example:
	//
	// {"age":8}
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 158********
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 张三组
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 612355
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
	// example:
	//
	// admin
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (s CampusAddRenterMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusAddRenterMemberRequest) GoString() string {
	return s.String()
}

func (s *CampusAddRenterMemberRequest) SetExtend(v string) *CampusAddRenterMemberRequest {
	s.Extend = &v
	return s
}

func (s *CampusAddRenterMemberRequest) SetMobile(v string) *CampusAddRenterMemberRequest {
	s.Mobile = &v
	return s
}

func (s *CampusAddRenterMemberRequest) SetName(v string) *CampusAddRenterMemberRequest {
	s.Name = &v
	return s
}

func (s *CampusAddRenterMemberRequest) SetRenterId(v int64) *CampusAddRenterMemberRequest {
	s.RenterId = &v
	return s
}

func (s *CampusAddRenterMemberRequest) SetType(v string) *CampusAddRenterMemberRequest {
	s.Type = &v
	return s
}

type CampusAddRenterMemberResponseBody struct {
	UnionId   *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	UserId    *string `json:"userId,omitempty" xml:"userId,omitempty"`
	UserState *string `json:"userState,omitempty" xml:"userState,omitempty"`
}

func (s CampusAddRenterMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusAddRenterMemberResponseBody) GoString() string {
	return s.String()
}

func (s *CampusAddRenterMemberResponseBody) SetUnionId(v string) *CampusAddRenterMemberResponseBody {
	s.UnionId = &v
	return s
}

func (s *CampusAddRenterMemberResponseBody) SetUserId(v string) *CampusAddRenterMemberResponseBody {
	s.UserId = &v
	return s
}

func (s *CampusAddRenterMemberResponseBody) SetUserState(v string) *CampusAddRenterMemberResponseBody {
	s.UserState = &v
	return s
}

type CampusAddRenterMemberResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusAddRenterMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusAddRenterMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusAddRenterMemberResponse) GoString() string {
	return s.String()
}

func (s *CampusAddRenterMemberResponse) SetHeaders(v map[string]*string) *CampusAddRenterMemberResponse {
	s.Headers = v
	return s
}

func (s *CampusAddRenterMemberResponse) SetStatusCode(v int32) *CampusAddRenterMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusAddRenterMemberResponse) SetBody(v *CampusAddRenterMemberResponseBody) *CampusAddRenterMemberResponse {
	s.Body = v
	return s
}

type CampusCreateCampusHeaders 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 (s CampusCreateCampusHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusHeaders) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusHeaders) SetCommonHeaders(v map[string]*string) *CampusCreateCampusHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusCreateCampusHeaders) SetXAcsDingtalkAccessToken(v string) *CampusCreateCampusHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusCreateCampusRequest struct {
	// example:
	//
	// 锦城街道和谐社区101号
	Address *string `json:"address,omitempty" xml:"address,omitempty"`
	// example:
	//
	// 5200.13（平方千米）
	Area *float64 `json:"area,omitempty" xml:"area,omitempty"`
	// example:
	//
	// 0
	BelongProjectGroupId *int64 `json:"belongProjectGroupId,omitempty" xml:"belongProjectGroupId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 绿城未来park
	CampusName *string `json:"campusName,omitempty" xml:"campusName,omitempty"`
	// example:
	//
	// 1000
	Capacity *int32 `json:"capacity,omitempty" xml:"capacity,omitempty"`
	// example:
	//
	// 371500
	CityId *int32 `json:"cityId,omitempty" xml:"cityId,omitempty"`
	// example:
	//
	// 中国
	Country *string `json:"country,omitempty" xml:"country,omitempty"`
	// example:
	//
	// 371502
	CountyId *int32 `json:"countyId,omitempty" xml:"countyId,omitempty"`
	// This parameter is required.
	CreatorUnionId *string `json:"creatorUnionId,omitempty" xml:"creatorUnionId,omitempty"`
	// example:
	//
	// 绿城未来park项目
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// example:
	//
	// {"creator":"dsy"}
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 123,456
	Location     *string `json:"location,omitempty" xml:"location,omitempty"`
	OrderEndTime *int64  `json:"orderEndTime,omitempty" xml:"orderEndTime,omitempty"`
	OrderInfo    *string `json:"orderInfo,omitempty" xml:"orderInfo,omitempty"`
	// example:
	//
	// 1655704317794
	OrderStartTime *int64 `json:"orderStartTime,omitempty" xml:"orderStartTime,omitempty"`
	// example:
	//
	// 370000（山东）
	ProvId *int32 `json:"provId,omitempty" xml:"provId,omitempty"`
	// example:
	//
	// 156xxxx4338
	Telephone *string `json:"telephone,omitempty" xml:"telephone,omitempty"`
}

func (s CampusCreateCampusRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusRequest) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusRequest) SetAddress(v string) *CampusCreateCampusRequest {
	s.Address = &v
	return s
}

func (s *CampusCreateCampusRequest) SetArea(v float64) *CampusCreateCampusRequest {
	s.Area = &v
	return s
}

func (s *CampusCreateCampusRequest) SetBelongProjectGroupId(v int64) *CampusCreateCampusRequest {
	s.BelongProjectGroupId = &v
	return s
}

func (s *CampusCreateCampusRequest) SetCampusName(v string) *CampusCreateCampusRequest {
	s.CampusName = &v
	return s
}

func (s *CampusCreateCampusRequest) SetCapacity(v int32) *CampusCreateCampusRequest {
	s.Capacity = &v
	return s
}

func (s *CampusCreateCampusRequest) SetCityId(v int32) *CampusCreateCampusRequest {
	s.CityId = &v
	return s
}

func (s *CampusCreateCampusRequest) SetCountry(v string) *CampusCreateCampusRequest {
	s.Country = &v
	return s
}

func (s *CampusCreateCampusRequest) SetCountyId(v int32) *CampusCreateCampusRequest {
	s.CountyId = &v
	return s
}

func (s *CampusCreateCampusRequest) SetCreatorUnionId(v string) *CampusCreateCampusRequest {
	s.CreatorUnionId = &v
	return s
}

func (s *CampusCreateCampusRequest) SetDescription(v string) *CampusCreateCampusRequest {
	s.Description = &v
	return s
}

func (s *CampusCreateCampusRequest) SetExtend(v string) *CampusCreateCampusRequest {
	s.Extend = &v
	return s
}

func (s *CampusCreateCampusRequest) SetLocation(v string) *CampusCreateCampusRequest {
	s.Location = &v
	return s
}

func (s *CampusCreateCampusRequest) SetOrderEndTime(v int64) *CampusCreateCampusRequest {
	s.OrderEndTime = &v
	return s
}

func (s *CampusCreateCampusRequest) SetOrderInfo(v string) *CampusCreateCampusRequest {
	s.OrderInfo = &v
	return s
}

func (s *CampusCreateCampusRequest) SetOrderStartTime(v int64) *CampusCreateCampusRequest {
	s.OrderStartTime = &v
	return s
}

func (s *CampusCreateCampusRequest) SetProvId(v int32) *CampusCreateCampusRequest {
	s.ProvId = &v
	return s
}

func (s *CampusCreateCampusRequest) SetTelephone(v string) *CampusCreateCampusRequest {
	s.Telephone = &v
	return s
}

type CampusCreateCampusResponseBody struct {
	CampusCorpId *string `json:"campusCorpId,omitempty" xml:"campusCorpId,omitempty"`
	CampusDeptId *string `json:"campusDeptId,omitempty" xml:"campusDeptId,omitempty"`
}

func (s CampusCreateCampusResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusResponseBody) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusResponseBody) SetCampusCorpId(v string) *CampusCreateCampusResponseBody {
	s.CampusCorpId = &v
	return s
}

func (s *CampusCreateCampusResponseBody) SetCampusDeptId(v string) *CampusCreateCampusResponseBody {
	s.CampusDeptId = &v
	return s
}

type CampusCreateCampusResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusCreateCampusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusCreateCampusResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusResponse) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusResponse) SetHeaders(v map[string]*string) *CampusCreateCampusResponse {
	s.Headers = v
	return s
}

func (s *CampusCreateCampusResponse) SetStatusCode(v int32) *CampusCreateCampusResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusCreateCampusResponse) SetBody(v *CampusCreateCampusResponseBody) *CampusCreateCampusResponse {
	s.Body = v
	return s
}

type CampusCreateCampusGroupHeaders 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 (s CampusCreateCampusGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusGroupHeaders) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusGroupHeaders) SetCommonHeaders(v map[string]*string) *CampusCreateCampusGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusCreateCampusGroupHeaders) SetXAcsDingtalkAccessToken(v string) *CampusCreateCampusGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusCreateCampusGroupRequest struct {
	// example:
	//
	// 扩展信息
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 测试项目组
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (s CampusCreateCampusGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusGroupRequest) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusGroupRequest) SetExtend(v string) *CampusCreateCampusGroupRequest {
	s.Extend = &v
	return s
}

func (s *CampusCreateCampusGroupRequest) SetName(v string) *CampusCreateCampusGroupRequest {
	s.Name = &v
	return s
}

type CampusCreateCampusGroupResponseBody struct {
	GroupId *int64 `json:"groupId,omitempty" xml:"groupId,omitempty"`
}

func (s CampusCreateCampusGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusGroupResponseBody) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusGroupResponseBody) SetGroupId(v int64) *CampusCreateCampusGroupResponseBody {
	s.GroupId = &v
	return s
}

type CampusCreateCampusGroupResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusCreateCampusGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusCreateCampusGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateCampusGroupResponse) GoString() string {
	return s.String()
}

func (s *CampusCreateCampusGroupResponse) SetHeaders(v map[string]*string) *CampusCreateCampusGroupResponse {
	s.Headers = v
	return s
}

func (s *CampusCreateCampusGroupResponse) SetStatusCode(v int32) *CampusCreateCampusGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusCreateCampusGroupResponse) SetBody(v *CampusCreateCampusGroupResponseBody) *CampusCreateCampusGroupResponse {
	s.Body = v
	return s
}

type CampusCreateRenterHeaders 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 (s CampusCreateRenterHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateRenterHeaders) GoString() string {
	return s.String()
}

func (s *CampusCreateRenterHeaders) SetCommonHeaders(v map[string]*string) *CampusCreateRenterHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusCreateRenterHeaders) SetXAcsDingtalkAccessToken(v string) *CampusCreateRenterHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusCreateRenterRequest struct {
	// example:
	//
	// 231313
	CreditCode *string `json:"creditCode,omitempty" xml:"creditCode,omitempty"`
	// example:
	//
	// 1655704317794
	EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 钉钉
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1655704317794
	StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// example:
	//
	// 1
	State *int32 `json:"state,omitempty" xml:"state,omitempty"`
}

func (s CampusCreateRenterRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateRenterRequest) GoString() string {
	return s.String()
}

func (s *CampusCreateRenterRequest) SetCreditCode(v string) *CampusCreateRenterRequest {
	s.CreditCode = &v
	return s
}

func (s *CampusCreateRenterRequest) SetEndTime(v int64) *CampusCreateRenterRequest {
	s.EndTime = &v
	return s
}

func (s *CampusCreateRenterRequest) SetExtend(v string) *CampusCreateRenterRequest {
	s.Extend = &v
	return s
}

func (s *CampusCreateRenterRequest) SetName(v string) *CampusCreateRenterRequest {
	s.Name = &v
	return s
}

func (s *CampusCreateRenterRequest) SetStartTime(v int64) *CampusCreateRenterRequest {
	s.StartTime = &v
	return s
}

func (s *CampusCreateRenterRequest) SetState(v int32) *CampusCreateRenterRequest {
	s.State = &v
	return s
}

type CampusCreateRenterResponseBody struct {
	// example:
	//
	// 1001
	RenterId *string `json:"renterId,omitempty" xml:"renterId,omitempty"`
}

func (s CampusCreateRenterResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateRenterResponseBody) GoString() string {
	return s.String()
}

func (s *CampusCreateRenterResponseBody) SetRenterId(v string) *CampusCreateRenterResponseBody {
	s.RenterId = &v
	return s
}

type CampusCreateRenterResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusCreateRenterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusCreateRenterResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusCreateRenterResponse) GoString() string {
	return s.String()
}

func (s *CampusCreateRenterResponse) SetHeaders(v map[string]*string) *CampusCreateRenterResponse {
	s.Headers = v
	return s
}

func (s *CampusCreateRenterResponse) SetStatusCode(v int32) *CampusCreateRenterResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusCreateRenterResponse) SetBody(v *CampusCreateRenterResponseBody) *CampusCreateRenterResponse {
	s.Body = v
	return s
}

type CampusDelRenterMemberHeaders 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 (s CampusDelRenterMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusDelRenterMemberHeaders) GoString() string {
	return s.String()
}

func (s *CampusDelRenterMemberHeaders) SetCommonHeaders(v map[string]*string) *CampusDelRenterMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusDelRenterMemberHeaders) SetXAcsDingtalkAccessToken(v string) *CampusDelRenterMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusDelRenterMemberRequest struct {
	// example:
	//
	// 124353123
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
	// example:
	//
	// kindg****
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (s CampusDelRenterMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusDelRenterMemberRequest) GoString() string {
	return s.String()
}

func (s *CampusDelRenterMemberRequest) SetRenterId(v int64) *CampusDelRenterMemberRequest {
	s.RenterId = &v
	return s
}

func (s *CampusDelRenterMemberRequest) SetUnionId(v string) *CampusDelRenterMemberRequest {
	s.UnionId = &v
	return s
}

type CampusDelRenterMemberResponseBody struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CampusDelRenterMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusDelRenterMemberResponseBody) GoString() string {
	return s.String()
}

func (s *CampusDelRenterMemberResponseBody) SetContent(v string) *CampusDelRenterMemberResponseBody {
	s.Content = &v
	return s
}

type CampusDelRenterMemberResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusDelRenterMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusDelRenterMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusDelRenterMemberResponse) GoString() string {
	return s.String()
}

func (s *CampusDelRenterMemberResponse) SetHeaders(v map[string]*string) *CampusDelRenterMemberResponse {
	s.Headers = v
	return s
}

func (s *CampusDelRenterMemberResponse) SetStatusCode(v int32) *CampusDelRenterMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusDelRenterMemberResponse) SetBody(v *CampusDelRenterMemberResponseBody) *CampusDelRenterMemberResponse {
	s.Body = v
	return s
}

type CampusDeleteCampusGroupHeaders 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 (s CampusDeleteCampusGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteCampusGroupHeaders) GoString() string {
	return s.String()
}

func (s *CampusDeleteCampusGroupHeaders) SetCommonHeaders(v map[string]*string) *CampusDeleteCampusGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusDeleteCampusGroupHeaders) SetXAcsDingtalkAccessToken(v string) *CampusDeleteCampusGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusDeleteCampusGroupRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 12345
	CampusProjectGroupId *int64 `json:"campusProjectGroupId,omitempty" xml:"campusProjectGroupId,omitempty"`
}

func (s CampusDeleteCampusGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteCampusGroupRequest) GoString() string {
	return s.String()
}

func (s *CampusDeleteCampusGroupRequest) SetCampusProjectGroupId(v int64) *CampusDeleteCampusGroupRequest {
	s.CampusProjectGroupId = &v
	return s
}

type CampusDeleteCampusGroupResponseBody struct {
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (s CampusDeleteCampusGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteCampusGroupResponseBody) GoString() string {
	return s.String()
}

func (s *CampusDeleteCampusGroupResponseBody) SetSuccess(v bool) *CampusDeleteCampusGroupResponseBody {
	s.Success = &v
	return s
}

type CampusDeleteCampusGroupResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusDeleteCampusGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusDeleteCampusGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteCampusGroupResponse) GoString() string {
	return s.String()
}

func (s *CampusDeleteCampusGroupResponse) SetHeaders(v map[string]*string) *CampusDeleteCampusGroupResponse {
	s.Headers = v
	return s
}

func (s *CampusDeleteCampusGroupResponse) SetStatusCode(v int32) *CampusDeleteCampusGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusDeleteCampusGroupResponse) SetBody(v *CampusDeleteCampusGroupResponseBody) *CampusDeleteCampusGroupResponse {
	s.Body = v
	return s
}

type CampusDeleteRenterHeaders 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 (s CampusDeleteRenterHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteRenterHeaders) GoString() string {
	return s.String()
}

func (s *CampusDeleteRenterHeaders) SetCommonHeaders(v map[string]*string) *CampusDeleteRenterHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusDeleteRenterHeaders) SetXAcsDingtalkAccessToken(v string) *CampusDeleteRenterHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusDeleteRenterRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1001
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
}

func (s CampusDeleteRenterRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteRenterRequest) GoString() string {
	return s.String()
}

func (s *CampusDeleteRenterRequest) SetRenterId(v int64) *CampusDeleteRenterRequest {
	s.RenterId = &v
	return s
}

type CampusDeleteRenterResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (s CampusDeleteRenterResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusDeleteRenterResponse) GoString() string {
	return s.String()
}

func (s *CampusDeleteRenterResponse) SetHeaders(v map[string]*string) *CampusDeleteRenterResponse {
	s.Headers = v
	return s
}

func (s *CampusDeleteRenterResponse) SetStatusCode(v int32) *CampusDeleteRenterResponse {
	s.StatusCode = &v
	return s
}

type CampusGetCampusHeaders 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 (s CampusGetCampusHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusHeaders) GoString() string {
	return s.String()
}

func (s *CampusGetCampusHeaders) SetCommonHeaders(v map[string]*string) *CampusGetCampusHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusGetCampusHeaders) SetXAcsDingtalkAccessToken(v string) *CampusGetCampusHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusGetCampusRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11
	CampusDeptId *int64 `json:"campusDeptId,omitempty" xml:"campusDeptId,omitempty"`
}

func (s CampusGetCampusRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusRequest) GoString() string {
	return s.String()
}

func (s *CampusGetCampusRequest) SetCampusDeptId(v int64) *CampusGetCampusRequest {
	s.CampusDeptId = &v
	return s
}

type CampusGetCampusResponseBody struct {
	// example:
	//
	// ##街道
	Address *string `json:"address,omitempty" xml:"address,omitempty"`
	// example:
	//
	// 1000
	Area *float64 `json:"area,omitempty" xml:"area,omitempty"`
	// example:
	//
	// 1011
	BelongProjectGroupId *string `json:"belongProjectGroupId,omitempty" xml:"belongProjectGroupId,omitempty"`
	// example:
	//
	// ding121212
	CampusCorpId *string `json:"campusCorpId,omitempty" xml:"campusCorpId,omitempty"`
	// example:
	//
	// 1001
	CampusDeptId *int64 `json:"campusDeptId,omitempty" xml:"campusDeptId,omitempty"`
	// example:
	//
	// 测试园区
	CampusName *string `json:"campusName,omitempty" xml:"campusName,omitempty"`
	// example:
	//
	// 100
	Capacity *string `json:"capacity,omitempty" xml:"capacity,omitempty"`
	// example:
	//
	// 2030
	CityId *int32 `json:"cityId,omitempty" xml:"cityId,omitempty"`
	// example:
	//
	// 中国
	Country *string `json:"country,omitempty" xml:"country,omitempty"`
	// example:
	//
	// 203040
	CountyId *int32 `json:"countyId,omitempty" xml:"countyId,omitempty"`
	// example:
	//
	// 描述
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 120.1,28.1
	Location *string `json:"location,omitempty" xml:"location,omitempty"`
	// example:
	//
	// 1655704317794
	OrderEndTime *int64 `json:"orderEndTime,omitempty" xml:"orderEndTime,omitempty"`
	// example:
	//
	// 购买信息
	OrderInfo *string `json:"orderInfo,omitempty" xml:"orderInfo,omitempty"`
	// example:
	//
	// 1655704317794
	OrderStartTime *int64 `json:"orderStartTime,omitempty" xml:"orderStartTime,omitempty"`
	// example:
	//
	// 20
	ProvId *int32 `json:"provId,omitempty" xml:"provId,omitempty"`
	// example:
	//
	// 13914772123
	Telephone *string `json:"telephone,omitempty" xml:"telephone,omitempty"`
}

func (s CampusGetCampusResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusResponseBody) GoString() string {
	return s.String()
}

func (s *CampusGetCampusResponseBody) SetAddress(v string) *CampusGetCampusResponseBody {
	s.Address = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetArea(v float64) *CampusGetCampusResponseBody {
	s.Area = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetBelongProjectGroupId(v string) *CampusGetCampusResponseBody {
	s.BelongProjectGroupId = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCampusCorpId(v string) *CampusGetCampusResponseBody {
	s.CampusCorpId = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCampusDeptId(v int64) *CampusGetCampusResponseBody {
	s.CampusDeptId = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCampusName(v string) *CampusGetCampusResponseBody {
	s.CampusName = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCapacity(v string) *CampusGetCampusResponseBody {
	s.Capacity = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCityId(v int32) *CampusGetCampusResponseBody {
	s.CityId = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCountry(v string) *CampusGetCampusResponseBody {
	s.Country = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetCountyId(v int32) *CampusGetCampusResponseBody {
	s.CountyId = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetDescription(v string) *CampusGetCampusResponseBody {
	s.Description = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetExtend(v string) *CampusGetCampusResponseBody {
	s.Extend = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetLocation(v string) *CampusGetCampusResponseBody {
	s.Location = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetOrderEndTime(v int64) *CampusGetCampusResponseBody {
	s.OrderEndTime = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetOrderInfo(v string) *CampusGetCampusResponseBody {
	s.OrderInfo = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetOrderStartTime(v int64) *CampusGetCampusResponseBody {
	s.OrderStartTime = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetProvId(v int32) *CampusGetCampusResponseBody {
	s.ProvId = &v
	return s
}

func (s *CampusGetCampusResponseBody) SetTelephone(v string) *CampusGetCampusResponseBody {
	s.Telephone = &v
	return s
}

type CampusGetCampusResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusGetCampusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusGetCampusResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusResponse) GoString() string {
	return s.String()
}

func (s *CampusGetCampusResponse) SetHeaders(v map[string]*string) *CampusGetCampusResponse {
	s.Headers = v
	return s
}

func (s *CampusGetCampusResponse) SetStatusCode(v int32) *CampusGetCampusResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusGetCampusResponse) SetBody(v *CampusGetCampusResponseBody) *CampusGetCampusResponse {
	s.Body = v
	return s
}

type CampusGetCampusGroupHeaders 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 (s CampusGetCampusGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusGroupHeaders) GoString() string {
	return s.String()
}

func (s *CampusGetCampusGroupHeaders) SetCommonHeaders(v map[string]*string) *CampusGetCampusGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusGetCampusGroupHeaders) SetXAcsDingtalkAccessToken(v string) *CampusGetCampusGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusGetCampusGroupRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11
	GroupId *int64 `json:"groupId,omitempty" xml:"groupId,omitempty"`
}

func (s CampusGetCampusGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusGroupRequest) GoString() string {
	return s.String()
}

func (s *CampusGetCampusGroupRequest) SetGroupId(v int64) *CampusGetCampusGroupRequest {
	s.GroupId = &v
	return s
}

type CampusGetCampusGroupResponseBody struct {
	// example:
	//
	// 项目扩展信息
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 测试项目组
	ProjectGroupName *string `json:"projectGroupName,omitempty" xml:"projectGroupName,omitempty"`
}

func (s CampusGetCampusGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusGroupResponseBody) GoString() string {
	return s.String()
}

func (s *CampusGetCampusGroupResponseBody) SetExtend(v string) *CampusGetCampusGroupResponseBody {
	s.Extend = &v
	return s
}

func (s *CampusGetCampusGroupResponseBody) SetProjectGroupName(v string) *CampusGetCampusGroupResponseBody {
	s.ProjectGroupName = &v
	return s
}

type CampusGetCampusGroupResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusGetCampusGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusGetCampusGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusGetCampusGroupResponse) GoString() string {
	return s.String()
}

func (s *CampusGetCampusGroupResponse) SetHeaders(v map[string]*string) *CampusGetCampusGroupResponse {
	s.Headers = v
	return s
}

func (s *CampusGetCampusGroupResponse) SetStatusCode(v int32) *CampusGetCampusGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusGetCampusGroupResponse) SetBody(v *CampusGetCampusGroupResponseBody) *CampusGetCampusGroupResponse {
	s.Body = v
	return s
}

type CampusGetRenterHeaders 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 (s CampusGetRenterHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterHeaders) GoString() string {
	return s.String()
}

func (s *CampusGetRenterHeaders) SetCommonHeaders(v map[string]*string) *CampusGetRenterHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusGetRenterHeaders) SetXAcsDingtalkAccessToken(v string) *CampusGetRenterHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusGetRenterRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1001
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
}

func (s CampusGetRenterRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterRequest) GoString() string {
	return s.String()
}

func (s *CampusGetRenterRequest) SetRenterId(v int64) *CampusGetRenterRequest {
	s.RenterId = &v
	return s
}

type CampusGetRenterResponseBody struct {
	// example:
	//
	// ding121313
	BindRenterCorpId *string `json:"bindRenterCorpId,omitempty" xml:"bindRenterCorpId,omitempty"`
	// example:
	//
	// 1655704317794
	BindTime *int64 `json:"bindTime,omitempty" xml:"bindTime,omitempty"`
	// example:
	//
	// 231313
	CreditCode *string `json:"creditCode,omitempty" xml:"creditCode,omitempty"`
	// example:
	//
	// 1655704317794
	EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 名称
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 101
	RenterDeptId *int64 `json:"renterDeptId,omitempty" xml:"renterDeptId,omitempty"`
	// example:
	//
	// 1655704317794
	StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// example:
	//
	// 1
	State *int32 `json:"state,omitempty" xml:"state,omitempty"`
}

func (s CampusGetRenterResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterResponseBody) GoString() string {
	return s.String()
}

func (s *CampusGetRenterResponseBody) SetBindRenterCorpId(v string) *CampusGetRenterResponseBody {
	s.BindRenterCorpId = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetBindTime(v int64) *CampusGetRenterResponseBody {
	s.BindTime = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetCreditCode(v string) *CampusGetRenterResponseBody {
	s.CreditCode = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetEndTime(v int64) *CampusGetRenterResponseBody {
	s.EndTime = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetExtend(v string) *CampusGetRenterResponseBody {
	s.Extend = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetName(v string) *CampusGetRenterResponseBody {
	s.Name = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetRenterDeptId(v int64) *CampusGetRenterResponseBody {
	s.RenterDeptId = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetStartTime(v int64) *CampusGetRenterResponseBody {
	s.StartTime = &v
	return s
}

func (s *CampusGetRenterResponseBody) SetState(v int32) *CampusGetRenterResponseBody {
	s.State = &v
	return s
}

type CampusGetRenterResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusGetRenterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusGetRenterResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterResponse) GoString() string {
	return s.String()
}

func (s *CampusGetRenterResponse) SetHeaders(v map[string]*string) *CampusGetRenterResponse {
	s.Headers = v
	return s
}

func (s *CampusGetRenterResponse) SetStatusCode(v int32) *CampusGetRenterResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusGetRenterResponse) SetBody(v *CampusGetRenterResponseBody) *CampusGetRenterResponse {
	s.Body = v
	return s
}

type CampusGetRenterMemberHeaders 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 (s CampusGetRenterMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterMemberHeaders) GoString() string {
	return s.String()
}

func (s *CampusGetRenterMemberHeaders) SetCommonHeaders(v map[string]*string) *CampusGetRenterMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusGetRenterMemberHeaders) SetXAcsDingtalkAccessToken(v string) *CampusGetRenterMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusGetRenterMemberRequest struct {
	// example:
	//
	// 1987215
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1iasndkjas8
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (s CampusGetRenterMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterMemberRequest) GoString() string {
	return s.String()
}

func (s *CampusGetRenterMemberRequest) SetRenterId(v int64) *CampusGetRenterMemberRequest {
	s.RenterId = &v
	return s
}

func (s *CampusGetRenterMemberRequest) SetUnionId(v string) *CampusGetRenterMemberRequest {
	s.UnionId = &v
	return s
}

type CampusGetRenterMemberResponseBody struct {
	Extend      *string `json:"extend,omitempty" xml:"extend,omitempty"`
	InviteState *int32  `json:"inviteState,omitempty" xml:"inviteState,omitempty"`
	Name        *string `json:"name,omitempty" xml:"name,omitempty"`
	State       *string `json:"state,omitempty" xml:"state,omitempty"`
	Type        *string `json:"type,omitempty" xml:"type,omitempty"`
	UserId      *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CampusGetRenterMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterMemberResponseBody) GoString() string {
	return s.String()
}

func (s *CampusGetRenterMemberResponseBody) SetExtend(v string) *CampusGetRenterMemberResponseBody {
	s.Extend = &v
	return s
}

func (s *CampusGetRenterMemberResponseBody) SetInviteState(v int32) *CampusGetRenterMemberResponseBody {
	s.InviteState = &v
	return s
}

func (s *CampusGetRenterMemberResponseBody) SetName(v string) *CampusGetRenterMemberResponseBody {
	s.Name = &v
	return s
}

func (s *CampusGetRenterMemberResponseBody) SetState(v string) *CampusGetRenterMemberResponseBody {
	s.State = &v
	return s
}

func (s *CampusGetRenterMemberResponseBody) SetType(v string) *CampusGetRenterMemberResponseBody {
	s.Type = &v
	return s
}

func (s *CampusGetRenterMemberResponseBody) SetUserId(v string) *CampusGetRenterMemberResponseBody {
	s.UserId = &v
	return s
}

type CampusGetRenterMemberResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusGetRenterMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusGetRenterMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusGetRenterMemberResponse) GoString() string {
	return s.String()
}

func (s *CampusGetRenterMemberResponse) SetHeaders(v map[string]*string) *CampusGetRenterMemberResponse {
	s.Headers = v
	return s
}

func (s *CampusGetRenterMemberResponse) SetStatusCode(v int32) *CampusGetRenterMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusGetRenterMemberResponse) SetBody(v *CampusGetRenterMemberResponseBody) *CampusGetRenterMemberResponse {
	s.Body = v
	return s
}

type CampusListCampusHeaders 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 (s CampusListCampusHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusHeaders) GoString() string {
	return s.String()
}

func (s *CampusListCampusHeaders) SetCommonHeaders(v map[string]*string) *CampusListCampusHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusListCampusHeaders) SetXAcsDingtalkAccessToken(v string) *CampusListCampusHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusListCampusRequest struct {
	// example:
	//
	// 12345
	GroupDeptId *int64 `json:"groupDeptId,omitempty" xml:"groupDeptId,omitempty"`
}

func (s CampusListCampusRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusRequest) GoString() string {
	return s.String()
}

func (s *CampusListCampusRequest) SetGroupDeptId(v int64) *CampusListCampusRequest {
	s.GroupDeptId = &v
	return s
}

type CampusListCampusResponseBody struct {
	Result []*CampusListCampusResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s CampusListCampusResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusResponseBody) GoString() string {
	return s.String()
}

func (s *CampusListCampusResponseBody) SetResult(v []*CampusListCampusResponseBodyResult) *CampusListCampusResponseBody {
	s.Result = v
	return s
}

type CampusListCampusResponseBodyResult struct {
	// example:
	//
	// 杭州市余杭区
	Address *string `json:"address,omitempty" xml:"address,omitempty"`
	// example:
	//
	// 121212.1
	Area *float64 `json:"area,omitempty" xml:"area,omitempty"`
	// example:
	//
	// 1
	BelongProjectGroupId *int64 `json:"belongProjectGroupId,omitempty" xml:"belongProjectGroupId,omitempty"`
	// example:
	//
	// ding121212
	CampusCorpId *string `json:"campusCorpId,omitempty" xml:"campusCorpId,omitempty"`
	// example:
	//
	// 1
	CampusDeptId *int64 `json:"campusDeptId,omitempty" xml:"campusDeptId,omitempty"`
	// example:
	//
	// 测试园区
	CampusName *string `json:"campusName,omitempty" xml:"campusName,omitempty"`
	// example:
	//
	// 30450
	CityId *int32 `json:"cityId,omitempty" xml:"cityId,omitempty"`
	// example:
	//
	// 中国
	Country *string `json:"country,omitempty" xml:"country,omitempty"`
	// example:
	//
	// 304501
	CountyId *int32 `json:"countyId,omitempty" xml:"countyId,omitempty"`
	// example:
	//
	// 测试
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 120.1321,28.1213
	Location *string `json:"location,omitempty" xml:"location,omitempty"`
	// example:
	//
	// 1655704317794
	OrderEndTime *int64 `json:"orderEndTime,omitempty" xml:"orderEndTime,omitempty"`
	// example:
	//
	// 规格1
	OrderInfo *string `json:"orderInfo,omitempty" xml:"orderInfo,omitempty"`
	// example:
	//
	// 1655704317794
	OrderStartTime *int64 `json:"orderStartTime,omitempty" xml:"orderStartTime,omitempty"`
	// example:
	//
	// 304
	ProvId *int32 `json:"provId,omitempty" xml:"provId,omitempty"`
	// example:
	//
	// 13914773133
	Telephone *string `json:"telephone,omitempty" xml:"telephone,omitempty"`
}

func (s CampusListCampusResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusResponseBodyResult) GoString() string {
	return s.String()
}

func (s *CampusListCampusResponseBodyResult) SetAddress(v string) *CampusListCampusResponseBodyResult {
	s.Address = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetArea(v float64) *CampusListCampusResponseBodyResult {
	s.Area = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetBelongProjectGroupId(v int64) *CampusListCampusResponseBodyResult {
	s.BelongProjectGroupId = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetCampusCorpId(v string) *CampusListCampusResponseBodyResult {
	s.CampusCorpId = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetCampusDeptId(v int64) *CampusListCampusResponseBodyResult {
	s.CampusDeptId = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetCampusName(v string) *CampusListCampusResponseBodyResult {
	s.CampusName = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetCityId(v int32) *CampusListCampusResponseBodyResult {
	s.CityId = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetCountry(v string) *CampusListCampusResponseBodyResult {
	s.Country = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetCountyId(v int32) *CampusListCampusResponseBodyResult {
	s.CountyId = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetDescription(v string) *CampusListCampusResponseBodyResult {
	s.Description = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetExtend(v string) *CampusListCampusResponseBodyResult {
	s.Extend = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetLocation(v string) *CampusListCampusResponseBodyResult {
	s.Location = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetOrderEndTime(v int64) *CampusListCampusResponseBodyResult {
	s.OrderEndTime = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetOrderInfo(v string) *CampusListCampusResponseBodyResult {
	s.OrderInfo = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetOrderStartTime(v int64) *CampusListCampusResponseBodyResult {
	s.OrderStartTime = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetProvId(v int32) *CampusListCampusResponseBodyResult {
	s.ProvId = &v
	return s
}

func (s *CampusListCampusResponseBodyResult) SetTelephone(v string) *CampusListCampusResponseBodyResult {
	s.Telephone = &v
	return s
}

type CampusListCampusResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusListCampusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusListCampusResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusResponse) GoString() string {
	return s.String()
}

func (s *CampusListCampusResponse) SetHeaders(v map[string]*string) *CampusListCampusResponse {
	s.Headers = v
	return s
}

func (s *CampusListCampusResponse) SetStatusCode(v int32) *CampusListCampusResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusListCampusResponse) SetBody(v *CampusListCampusResponseBody) *CampusListCampusResponse {
	s.Body = v
	return s
}

type CampusListCampusGroupHeaders 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 (s CampusListCampusGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusGroupHeaders) GoString() string {
	return s.String()
}

func (s *CampusListCampusGroupHeaders) SetCommonHeaders(v map[string]*string) *CampusListCampusGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusListCampusGroupHeaders) SetXAcsDingtalkAccessToken(v string) *CampusListCampusGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusListCampusGroupResponseBody struct {
	Result []*CampusListCampusGroupResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s CampusListCampusGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusGroupResponseBody) GoString() string {
	return s.String()
}

func (s *CampusListCampusGroupResponseBody) SetResult(v []*CampusListCampusGroupResponseBodyResult) *CampusListCampusGroupResponseBody {
	s.Result = v
	return s
}

type CampusListCampusGroupResponseBodyResult struct {
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 10101
	GroupDeptId *int64 `json:"groupDeptId,omitempty" xml:"groupDeptId,omitempty"`
	// example:
	//
	// 测试项目组
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
}

func (s CampusListCampusGroupResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusGroupResponseBodyResult) GoString() string {
	return s.String()
}

func (s *CampusListCampusGroupResponseBodyResult) SetExtend(v string) *CampusListCampusGroupResponseBodyResult {
	s.Extend = &v
	return s
}

func (s *CampusListCampusGroupResponseBodyResult) SetGroupDeptId(v int64) *CampusListCampusGroupResponseBodyResult {
	s.GroupDeptId = &v
	return s
}

func (s *CampusListCampusGroupResponseBodyResult) SetGroupName(v string) *CampusListCampusGroupResponseBodyResult {
	s.GroupName = &v
	return s
}

type CampusListCampusGroupResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusListCampusGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusListCampusGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusListCampusGroupResponse) GoString() string {
	return s.String()
}

func (s *CampusListCampusGroupResponse) SetHeaders(v map[string]*string) *CampusListCampusGroupResponse {
	s.Headers = v
	return s
}

func (s *CampusListCampusGroupResponse) SetStatusCode(v int32) *CampusListCampusGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusListCampusGroupResponse) SetBody(v *CampusListCampusGroupResponseBody) *CampusListCampusGroupResponse {
	s.Body = v
	return s
}

type CampusListRenterHeaders 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 (s CampusListRenterHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterHeaders) GoString() string {
	return s.String()
}

func (s *CampusListRenterHeaders) SetCommonHeaders(v map[string]*string) *CampusListRenterHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusListRenterHeaders) SetXAcsDingtalkAccessToken(v string) *CampusListRenterHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusListRenterResponseBody struct {
	Result []*CampusListRenterResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s CampusListRenterResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterResponseBody) GoString() string {
	return s.String()
}

func (s *CampusListRenterResponseBody) SetResult(v []*CampusListRenterResponseBodyResult) *CampusListRenterResponseBody {
	s.Result = v
	return s
}

type CampusListRenterResponseBodyResult struct {
	// example:
	//
	// ding3242423
	BindRenterCorpId *string `json:"bindRenterCorpId,omitempty" xml:"bindRenterCorpId,omitempty"`
	// example:
	//
	// 1655704317794
	BindTime *int64 `json:"bindTime,omitempty" xml:"bindTime,omitempty"`
	// example:
	//
	// 1313131414
	CreditCode *string `json:"creditCode,omitempty" xml:"creditCode,omitempty"`
	// example:
	//
	// 1655704317794
	EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// example:
	//
	// 扩展信息
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 测试租客
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 100
	RenterDeptId *int64 `json:"renterDeptId,omitempty" xml:"renterDeptId,omitempty"`
	// example:
	//
	// 1655704317794
	StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// example:
	//
	// 1
	State *int32 `json:"state,omitempty" xml:"state,omitempty"`
}

func (s CampusListRenterResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterResponseBodyResult) GoString() string {
	return s.String()
}

func (s *CampusListRenterResponseBodyResult) SetBindRenterCorpId(v string) *CampusListRenterResponseBodyResult {
	s.BindRenterCorpId = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetBindTime(v int64) *CampusListRenterResponseBodyResult {
	s.BindTime = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetCreditCode(v string) *CampusListRenterResponseBodyResult {
	s.CreditCode = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetEndTime(v int64) *CampusListRenterResponseBodyResult {
	s.EndTime = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetExtend(v string) *CampusListRenterResponseBodyResult {
	s.Extend = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetName(v string) *CampusListRenterResponseBodyResult {
	s.Name = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetRenterDeptId(v int64) *CampusListRenterResponseBodyResult {
	s.RenterDeptId = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetStartTime(v int64) *CampusListRenterResponseBodyResult {
	s.StartTime = &v
	return s
}

func (s *CampusListRenterResponseBodyResult) SetState(v int32) *CampusListRenterResponseBodyResult {
	s.State = &v
	return s
}

type CampusListRenterResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusListRenterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusListRenterResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterResponse) GoString() string {
	return s.String()
}

func (s *CampusListRenterResponse) SetHeaders(v map[string]*string) *CampusListRenterResponse {
	s.Headers = v
	return s
}

func (s *CampusListRenterResponse) SetStatusCode(v int32) *CampusListRenterResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusListRenterResponse) SetBody(v *CampusListRenterResponseBody) *CampusListRenterResponse {
	s.Body = v
	return s
}

type CampusListRenterMembersHeaders 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 (s CampusListRenterMembersHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterMembersHeaders) GoString() string {
	return s.String()
}

func (s *CampusListRenterMembersHeaders) SetCommonHeaders(v map[string]*string) *CampusListRenterMembersHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusListRenterMembersHeaders) SetXAcsDingtalkAccessToken(v string) *CampusListRenterMembersHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusListRenterMembersRequest struct {
	// example:
	//
	// 836213123
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
}

func (s CampusListRenterMembersRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterMembersRequest) GoString() string {
	return s.String()
}

func (s *CampusListRenterMembersRequest) SetRenterId(v int64) *CampusListRenterMembersRequest {
	s.RenterId = &v
	return s
}

type CampusListRenterMembersResponseBody struct {
	Result []*CampusListRenterMembersResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s CampusListRenterMembersResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterMembersResponseBody) GoString() string {
	return s.String()
}

func (s *CampusListRenterMembersResponseBody) SetResult(v []*CampusListRenterMembersResponseBodyResult) *CampusListRenterMembersResponseBody {
	s.Result = v
	return s
}

type CampusListRenterMembersResponseBodyResult struct {
	Extend      *string `json:"extend,omitempty" xml:"extend,omitempty"`
	InviteState *string `json:"inviteState,omitempty" xml:"inviteState,omitempty"`
	Name        *string `json:"name,omitempty" xml:"name,omitempty"`
	State       *string `json:"state,omitempty" xml:"state,omitempty"`
	Type        *string `json:"type,omitempty" xml:"type,omitempty"`
	UnionId     *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	UserId      *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CampusListRenterMembersResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterMembersResponseBodyResult) GoString() string {
	return s.String()
}

func (s *CampusListRenterMembersResponseBodyResult) SetExtend(v string) *CampusListRenterMembersResponseBodyResult {
	s.Extend = &v
	return s
}

func (s *CampusListRenterMembersResponseBodyResult) SetInviteState(v string) *CampusListRenterMembersResponseBodyResult {
	s.InviteState = &v
	return s
}

func (s *CampusListRenterMembersResponseBodyResult) SetName(v string) *CampusListRenterMembersResponseBodyResult {
	s.Name = &v
	return s
}

func (s *CampusListRenterMembersResponseBodyResult) SetState(v string) *CampusListRenterMembersResponseBodyResult {
	s.State = &v
	return s
}

func (s *CampusListRenterMembersResponseBodyResult) SetType(v string) *CampusListRenterMembersResponseBodyResult {
	s.Type = &v
	return s
}

func (s *CampusListRenterMembersResponseBodyResult) SetUnionId(v string) *CampusListRenterMembersResponseBodyResult {
	s.UnionId = &v
	return s
}

func (s *CampusListRenterMembersResponseBodyResult) SetUserId(v string) *CampusListRenterMembersResponseBodyResult {
	s.UserId = &v
	return s
}

type CampusListRenterMembersResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusListRenterMembersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusListRenterMembersResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusListRenterMembersResponse) GoString() string {
	return s.String()
}

func (s *CampusListRenterMembersResponse) SetHeaders(v map[string]*string) *CampusListRenterMembersResponse {
	s.Headers = v
	return s
}

func (s *CampusListRenterMembersResponse) SetStatusCode(v int32) *CampusListRenterMembersResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusListRenterMembersResponse) SetBody(v *CampusListRenterMembersResponseBody) *CampusListRenterMembersResponse {
	s.Body = v
	return s
}

type CampusUpdateCampusHeaders 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 (s CampusUpdateCampusHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusHeaders) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusHeaders) SetCommonHeaders(v map[string]*string) *CampusUpdateCampusHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusUpdateCampusHeaders) SetXAcsDingtalkAccessToken(v string) *CampusUpdateCampusHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusUpdateCampusRequest struct {
	// example:
	//
	// 锦城街道和谐社区101号
	Address *string `json:"address,omitempty" xml:"address,omitempty"`
	// example:
	//
	// 5200.13（平方米）
	Area *float64 `json:"area,omitempty" xml:"area,omitempty"`
	// example:
	//
	// 0
	BelongProjectGroupId *int64 `json:"belongProjectGroupId,omitempty" xml:"belongProjectGroupId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 12345
	CampusDeptId *int64 `json:"campusDeptId,omitempty" xml:"campusDeptId,omitempty"`
	// example:
	//
	// 绿城未来park
	CampusName *string `json:"campusName,omitempty" xml:"campusName,omitempty"`
	// example:
	//
	// 10000
	Capacity *int32 `json:"capacity,omitempty" xml:"capacity,omitempty"`
	// example:
	//
	// 371500
	CityId *int32 `json:"cityId,omitempty" xml:"cityId,omitempty"`
	// example:
	//
	// 中国
	Country *string `json:"country,omitempty" xml:"country,omitempty"`
	// example:
	//
	// 371502
	CountyId *int32 `json:"countyId,omitempty" xml:"countyId,omitempty"`
	// example:
	//
	// 绿城产业
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// example:
	//
	// {"creator":"dsy"}
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 1655704317794
	OrderEndTime *int64 `json:"orderEndTime,omitempty" xml:"orderEndTime,omitempty"`
	// example:
	//
	// 线下付款
	OrderInfo *int64 `json:"orderInfo,omitempty" xml:"orderInfo,omitempty"`
	// example:
	//
	// 1655704317794
	OrderStartTime *int64 `json:"orderStartTime,omitempty" xml:"orderStartTime,omitempty"`
	// example:
	//
	// 370000（山东）
	ProvId *int32 `json:"provId,omitempty" xml:"provId,omitempty"`
	// example:
	//
	// 156XXXX338
	Telephone *string `json:"telephone,omitempty" xml:"telephone,omitempty"`
}

func (s CampusUpdateCampusRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusRequest) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusRequest) SetAddress(v string) *CampusUpdateCampusRequest {
	s.Address = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetArea(v float64) *CampusUpdateCampusRequest {
	s.Area = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetBelongProjectGroupId(v int64) *CampusUpdateCampusRequest {
	s.BelongProjectGroupId = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetCampusDeptId(v int64) *CampusUpdateCampusRequest {
	s.CampusDeptId = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetCampusName(v string) *CampusUpdateCampusRequest {
	s.CampusName = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetCapacity(v int32) *CampusUpdateCampusRequest {
	s.Capacity = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetCityId(v int32) *CampusUpdateCampusRequest {
	s.CityId = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetCountry(v string) *CampusUpdateCampusRequest {
	s.Country = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetCountyId(v int32) *CampusUpdateCampusRequest {
	s.CountyId = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetDescription(v string) *CampusUpdateCampusRequest {
	s.Description = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetExtend(v string) *CampusUpdateCampusRequest {
	s.Extend = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetOrderEndTime(v int64) *CampusUpdateCampusRequest {
	s.OrderEndTime = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetOrderInfo(v int64) *CampusUpdateCampusRequest {
	s.OrderInfo = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetOrderStartTime(v int64) *CampusUpdateCampusRequest {
	s.OrderStartTime = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetProvId(v int32) *CampusUpdateCampusRequest {
	s.ProvId = &v
	return s
}

func (s *CampusUpdateCampusRequest) SetTelephone(v string) *CampusUpdateCampusRequest {
	s.Telephone = &v
	return s
}

type CampusUpdateCampusResponseBody struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CampusUpdateCampusResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusResponseBody) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusResponseBody) SetContent(v string) *CampusUpdateCampusResponseBody {
	s.Content = &v
	return s
}

type CampusUpdateCampusResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusUpdateCampusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusUpdateCampusResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusResponse) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusResponse) SetHeaders(v map[string]*string) *CampusUpdateCampusResponse {
	s.Headers = v
	return s
}

func (s *CampusUpdateCampusResponse) SetStatusCode(v int32) *CampusUpdateCampusResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusUpdateCampusResponse) SetBody(v *CampusUpdateCampusResponseBody) *CampusUpdateCampusResponse {
	s.Body = v
	return s
}

type CampusUpdateCampusGroupHeaders 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 (s CampusUpdateCampusGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusGroupHeaders) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusGroupHeaders) SetCommonHeaders(v map[string]*string) *CampusUpdateCampusGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusUpdateCampusGroupHeaders) SetXAcsDingtalkAccessToken(v string) *CampusUpdateCampusGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusUpdateCampusGroupRequest struct {
	// This parameter is required.
	CampusProjectGroupId *int64 `json:"campusProjectGroupId,omitempty" xml:"campusProjectGroupId,omitempty"`
	// example:
	//
	// 扩展信息
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 绿城未来park
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (s CampusUpdateCampusGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusGroupRequest) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusGroupRequest) SetCampusProjectGroupId(v int64) *CampusUpdateCampusGroupRequest {
	s.CampusProjectGroupId = &v
	return s
}

func (s *CampusUpdateCampusGroupRequest) SetExtend(v string) *CampusUpdateCampusGroupRequest {
	s.Extend = &v
	return s
}

func (s *CampusUpdateCampusGroupRequest) SetName(v string) *CampusUpdateCampusGroupRequest {
	s.Name = &v
	return s
}

type CampusUpdateCampusGroupResponseBody struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CampusUpdateCampusGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusGroupResponseBody) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusGroupResponseBody) SetContent(v string) *CampusUpdateCampusGroupResponseBody {
	s.Content = &v
	return s
}

type CampusUpdateCampusGroupResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusUpdateCampusGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusUpdateCampusGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateCampusGroupResponse) GoString() string {
	return s.String()
}

func (s *CampusUpdateCampusGroupResponse) SetHeaders(v map[string]*string) *CampusUpdateCampusGroupResponse {
	s.Headers = v
	return s
}

func (s *CampusUpdateCampusGroupResponse) SetStatusCode(v int32) *CampusUpdateCampusGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusUpdateCampusGroupResponse) SetBody(v *CampusUpdateCampusGroupResponseBody) *CampusUpdateCampusGroupResponse {
	s.Body = v
	return s
}

type CampusUpdateRenterHeaders 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 (s CampusUpdateRenterHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterHeaders) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterHeaders) SetCommonHeaders(v map[string]*string) *CampusUpdateRenterHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusUpdateRenterHeaders) SetXAcsDingtalkAccessToken(v string) *CampusUpdateRenterHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusUpdateRenterRequest struct {
	// example:
	//
	// 231313
	CreditCode *string `json:"creditCode,omitempty" xml:"creditCode,omitempty"`
	// example:
	//
	// 16123523124
	EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 钉钉
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 12352335
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
	// example:
	//
	// 2183478412
	StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// example:
	//
	// 0
	State *int32 `json:"state,omitempty" xml:"state,omitempty"`
}

func (s CampusUpdateRenterRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterRequest) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterRequest) SetCreditCode(v string) *CampusUpdateRenterRequest {
	s.CreditCode = &v
	return s
}

func (s *CampusUpdateRenterRequest) SetEndTime(v int64) *CampusUpdateRenterRequest {
	s.EndTime = &v
	return s
}

func (s *CampusUpdateRenterRequest) SetExtend(v string) *CampusUpdateRenterRequest {
	s.Extend = &v
	return s
}

func (s *CampusUpdateRenterRequest) SetName(v string) *CampusUpdateRenterRequest {
	s.Name = &v
	return s
}

func (s *CampusUpdateRenterRequest) SetRenterId(v int64) *CampusUpdateRenterRequest {
	s.RenterId = &v
	return s
}

func (s *CampusUpdateRenterRequest) SetStartTime(v int64) *CampusUpdateRenterRequest {
	s.StartTime = &v
	return s
}

func (s *CampusUpdateRenterRequest) SetState(v int32) *CampusUpdateRenterRequest {
	s.State = &v
	return s
}

type CampusUpdateRenterResponseBody struct {
	// example:
	//
	// 1001
	RenterId *string `json:"renterId,omitempty" xml:"renterId,omitempty"`
}

func (s CampusUpdateRenterResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterResponseBody) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterResponseBody) SetRenterId(v string) *CampusUpdateRenterResponseBody {
	s.RenterId = &v
	return s
}

type CampusUpdateRenterResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusUpdateRenterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusUpdateRenterResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterResponse) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterResponse) SetHeaders(v map[string]*string) *CampusUpdateRenterResponse {
	s.Headers = v
	return s
}

func (s *CampusUpdateRenterResponse) SetStatusCode(v int32) *CampusUpdateRenterResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusUpdateRenterResponse) SetBody(v *CampusUpdateRenterResponseBody) *CampusUpdateRenterResponse {
	s.Body = v
	return s
}

type CampusUpdateRenterMemberHeaders 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 (s CampusUpdateRenterMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterMemberHeaders) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterMemberHeaders) SetCommonHeaders(v map[string]*string) *CampusUpdateRenterMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CampusUpdateRenterMemberHeaders) SetXAcsDingtalkAccessToken(v string) *CampusUpdateRenterMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CampusUpdateRenterMemberRequest struct {
	// example:
	//
	// 扩展
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
	// example:
	//
	// 张三组
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 41239123
	RenterId *int64 `json:"renterId,omitempty" xml:"renterId,omitempty"`
	// example:
	//
	// 1
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// fksif91273
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (s CampusUpdateRenterMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterMemberRequest) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterMemberRequest) SetExtend(v string) *CampusUpdateRenterMemberRequest {
	s.Extend = &v
	return s
}

func (s *CampusUpdateRenterMemberRequest) SetName(v string) *CampusUpdateRenterMemberRequest {
	s.Name = &v
	return s
}

func (s *CampusUpdateRenterMemberRequest) SetRenterId(v int64) *CampusUpdateRenterMemberRequest {
	s.RenterId = &v
	return s
}

func (s *CampusUpdateRenterMemberRequest) SetType(v string) *CampusUpdateRenterMemberRequest {
	s.Type = &v
	return s
}

func (s *CampusUpdateRenterMemberRequest) SetUnionId(v string) *CampusUpdateRenterMemberRequest {
	s.UnionId = &v
	return s
}

type CampusUpdateRenterMemberResponseBody struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CampusUpdateRenterMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterMemberResponseBody) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterMemberResponseBody) SetContent(v string) *CampusUpdateRenterMemberResponseBody {
	s.Content = &v
	return s
}

type CampusUpdateRenterMemberResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CampusUpdateRenterMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CampusUpdateRenterMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s CampusUpdateRenterMemberResponse) GoString() string {
	return s.String()
}

func (s *CampusUpdateRenterMemberResponse) SetHeaders(v map[string]*string) *CampusUpdateRenterMemberResponse {
	s.Headers = v
	return s
}

func (s *CampusUpdateRenterMemberResponse) SetStatusCode(v int32) *CampusUpdateRenterMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *CampusUpdateRenterMemberResponse) SetBody(v *CampusUpdateRenterMemberResponseBody) *CampusUpdateRenterMemberResponse {
	s.Body = v
	return s
}

type ChatAIAddDatasetPermissionHeaders 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 (s ChatAIAddDatasetPermissionHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAIAddDatasetPermissionHeaders) GoString() string {
	return s.String()
}

func (s *ChatAIAddDatasetPermissionHeaders) SetCommonHeaders(v map[string]*string) *ChatAIAddDatasetPermissionHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAIAddDatasetPermissionHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAIAddDatasetPermissionHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAIAddDatasetPermissionRequest struct {
	// example:
	//
	// user
	AuthorizationType  *string   `json:"authorizationType,omitempty" xml:"authorizationType,omitempty"`
	AuthorizedObjectId []*string `json:"authorizedObjectId,omitempty" xml:"authorizedObjectId,omitempty" type:"Repeated"`
	DatasetId          *int64    `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// example:
	//
	// 操作人id
	OptUser *string `json:"optUser,omitempty" xml:"optUser,omitempty"`
}

func (s ChatAIAddDatasetPermissionRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAIAddDatasetPermissionRequest) GoString() string {
	return s.String()
}

func (s *ChatAIAddDatasetPermissionRequest) SetAuthorizationType(v string) *ChatAIAddDatasetPermissionRequest {
	s.AuthorizationType = &v
	return s
}

func (s *ChatAIAddDatasetPermissionRequest) SetAuthorizedObjectId(v []*string) *ChatAIAddDatasetPermissionRequest {
	s.AuthorizedObjectId = v
	return s
}

func (s *ChatAIAddDatasetPermissionRequest) SetDatasetId(v int64) *ChatAIAddDatasetPermissionRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatAIAddDatasetPermissionRequest) SetOptUser(v string) *ChatAIAddDatasetPermissionRequest {
	s.OptUser = &v
	return s
}

type ChatAIAddDatasetPermissionResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s ChatAIAddDatasetPermissionResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAIAddDatasetPermissionResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAIAddDatasetPermissionResponseBody) SetResult(v bool) *ChatAIAddDatasetPermissionResponseBody {
	s.Result = &v
	return s
}

type ChatAIAddDatasetPermissionResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAIAddDatasetPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAIAddDatasetPermissionResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAIAddDatasetPermissionResponse) GoString() string {
	return s.String()
}

func (s *ChatAIAddDatasetPermissionResponse) SetHeaders(v map[string]*string) *ChatAIAddDatasetPermissionResponse {
	s.Headers = v
	return s
}

func (s *ChatAIAddDatasetPermissionResponse) SetStatusCode(v int32) *ChatAIAddDatasetPermissionResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAIAddDatasetPermissionResponse) SetBody(v *ChatAIAddDatasetPermissionResponseBody) *ChatAIAddDatasetPermissionResponse {
	s.Body = v
	return s
}

type ChatAIListDatasetHeaders 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 (s ChatAIListDatasetHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAIListDatasetHeaders) GoString() string {
	return s.String()
}

func (s *ChatAIListDatasetHeaders) SetCommonHeaders(v map[string]*string) *ChatAIListDatasetHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAIListDatasetHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAIListDatasetHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAIListDatasetRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	AppId *int64 `json:"appId,omitempty" xml:"appId,omitempty"`
}

func (s ChatAIListDatasetRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAIListDatasetRequest) GoString() string {
	return s.String()
}

func (s *ChatAIListDatasetRequest) SetAppId(v int64) *ChatAIListDatasetRequest {
	s.AppId = &v
	return s
}

type ChatAIListDatasetResponseBody struct {
	Result []*ChatAIListDatasetResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s ChatAIListDatasetResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAIListDatasetResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAIListDatasetResponseBody) SetResult(v []*ChatAIListDatasetResponseBodyResult) *ChatAIListDatasetResponseBody {
	s.Result = v
	return s
}

type ChatAIListDatasetResponseBodyResult struct {
	DatasetDesc  *string `json:"datasetDesc,omitempty" xml:"datasetDesc,omitempty"`
	DatasetId    *int64  `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	DatasetName  *string `json:"datasetName,omitempty" xml:"datasetName,omitempty"`
	MemoType     *string `json:"memoType,omitempty" xml:"memoType,omitempty"`
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
}

func (s ChatAIListDatasetResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s ChatAIListDatasetResponseBodyResult) GoString() string {
	return s.String()
}

func (s *ChatAIListDatasetResponseBodyResult) SetDatasetDesc(v string) *ChatAIListDatasetResponseBodyResult {
	s.DatasetDesc = &v
	return s
}

func (s *ChatAIListDatasetResponseBodyResult) SetDatasetId(v int64) *ChatAIListDatasetResponseBodyResult {
	s.DatasetId = &v
	return s
}

func (s *ChatAIListDatasetResponseBodyResult) SetDatasetName(v string) *ChatAIListDatasetResponseBodyResult {
	s.DatasetName = &v
	return s
}

func (s *ChatAIListDatasetResponseBodyResult) SetMemoType(v string) *ChatAIListDatasetResponseBodyResult {
	s.MemoType = &v
	return s
}

func (s *ChatAIListDatasetResponseBodyResult) SetResourceType(v string) *ChatAIListDatasetResponseBodyResult {
	s.ResourceType = &v
	return s
}

type ChatAIListDatasetResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAIListDatasetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAIListDatasetResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAIListDatasetResponse) GoString() string {
	return s.String()
}

func (s *ChatAIListDatasetResponse) SetHeaders(v map[string]*string) *ChatAIListDatasetResponse {
	s.Headers = v
	return s
}

func (s *ChatAIListDatasetResponse) SetStatusCode(v int32) *ChatAIListDatasetResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAIListDatasetResponse) SetBody(v *ChatAIListDatasetResponseBody) *ChatAIListDatasetResponse {
	s.Body = v
	return s
}

type ChatAIQueryDatasetPermissionHeaders 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 (s ChatAIQueryDatasetPermissionHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAIQueryDatasetPermissionHeaders) GoString() string {
	return s.String()
}

func (s *ChatAIQueryDatasetPermissionHeaders) SetCommonHeaders(v map[string]*string) *ChatAIQueryDatasetPermissionHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAIQueryDatasetPermissionHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAIQueryDatasetPermissionHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAIQueryDatasetPermissionRequest struct {
	// example:
	//
	// 数据集Id
	DatasetId *string `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
}

func (s ChatAIQueryDatasetPermissionRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAIQueryDatasetPermissionRequest) GoString() string {
	return s.String()
}

func (s *ChatAIQueryDatasetPermissionRequest) SetDatasetId(v string) *ChatAIQueryDatasetPermissionRequest {
	s.DatasetId = &v
	return s
}

type ChatAIQueryDatasetPermissionResponseBody struct {
	PermissionInfos []*ChatAIQueryDatasetPermissionResponseBodyPermissionInfos `json:"permissionInfos,omitempty" xml:"permissionInfos,omitempty" type:"Repeated"`
}

func (s ChatAIQueryDatasetPermissionResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAIQueryDatasetPermissionResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAIQueryDatasetPermissionResponseBody) SetPermissionInfos(v []*ChatAIQueryDatasetPermissionResponseBodyPermissionInfos) *ChatAIQueryDatasetPermissionResponseBody {
	s.PermissionInfos = v
	return s
}

type ChatAIQueryDatasetPermissionResponseBodyPermissionInfos struct {
	PermissionType   *string   `json:"permissionType,omitempty" xml:"permissionType,omitempty"`
	PermissionValues []*string `json:"permissionValues,omitempty" xml:"permissionValues,omitempty" type:"Repeated"`
}

func (s ChatAIQueryDatasetPermissionResponseBodyPermissionInfos) String() string {
	return tea.Prettify(s)
}

func (s ChatAIQueryDatasetPermissionResponseBodyPermissionInfos) GoString() string {
	return s.String()
}

func (s *ChatAIQueryDatasetPermissionResponseBodyPermissionInfos) SetPermissionType(v string) *ChatAIQueryDatasetPermissionResponseBodyPermissionInfos {
	s.PermissionType = &v
	return s
}

func (s *ChatAIQueryDatasetPermissionResponseBodyPermissionInfos) SetPermissionValues(v []*string) *ChatAIQueryDatasetPermissionResponseBodyPermissionInfos {
	s.PermissionValues = v
	return s
}

type ChatAIQueryDatasetPermissionResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAIQueryDatasetPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAIQueryDatasetPermissionResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAIQueryDatasetPermissionResponse) GoString() string {
	return s.String()
}

func (s *ChatAIQueryDatasetPermissionResponse) SetHeaders(v map[string]*string) *ChatAIQueryDatasetPermissionResponse {
	s.Headers = v
	return s
}

func (s *ChatAIQueryDatasetPermissionResponse) SetStatusCode(v int32) *ChatAIQueryDatasetPermissionResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAIQueryDatasetPermissionResponse) SetBody(v *ChatAIQueryDatasetPermissionResponseBody) *ChatAIQueryDatasetPermissionResponse {
	s.Body = v
	return s
}

type ChatAIRemoveDatasetPermissionHeaders 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 (s ChatAIRemoveDatasetPermissionHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAIRemoveDatasetPermissionHeaders) GoString() string {
	return s.String()
}

func (s *ChatAIRemoveDatasetPermissionHeaders) SetCommonHeaders(v map[string]*string) *ChatAIRemoveDatasetPermissionHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAIRemoveDatasetPermissionHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAIRemoveDatasetPermissionHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAIRemoveDatasetPermissionRequest struct {
	// example:
	//
	// user
	AuthorizationType  *string   `json:"authorizationType,omitempty" xml:"authorizationType,omitempty"`
	AuthorizedObjectId []*string `json:"authorizedObjectId,omitempty" xml:"authorizedObjectId,omitempty" type:"Repeated"`
	DatasetId          *int64    `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// example:
	//
	// 操作人id
	OptUser *string `json:"optUser,omitempty" xml:"optUser,omitempty"`
}

func (s ChatAIRemoveDatasetPermissionRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAIRemoveDatasetPermissionRequest) GoString() string {
	return s.String()
}

func (s *ChatAIRemoveDatasetPermissionRequest) SetAuthorizationType(v string) *ChatAIRemoveDatasetPermissionRequest {
	s.AuthorizationType = &v
	return s
}

func (s *ChatAIRemoveDatasetPermissionRequest) SetAuthorizedObjectId(v []*string) *ChatAIRemoveDatasetPermissionRequest {
	s.AuthorizedObjectId = v
	return s
}

func (s *ChatAIRemoveDatasetPermissionRequest) SetDatasetId(v int64) *ChatAIRemoveDatasetPermissionRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatAIRemoveDatasetPermissionRequest) SetOptUser(v string) *ChatAIRemoveDatasetPermissionRequest {
	s.OptUser = &v
	return s
}

type ChatAIRemoveDatasetPermissionResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s ChatAIRemoveDatasetPermissionResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAIRemoveDatasetPermissionResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAIRemoveDatasetPermissionResponseBody) SetResult(v bool) *ChatAIRemoveDatasetPermissionResponseBody {
	s.Result = &v
	return s
}

type ChatAIRemoveDatasetPermissionResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAIRemoveDatasetPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAIRemoveDatasetPermissionResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAIRemoveDatasetPermissionResponse) GoString() string {
	return s.String()
}

func (s *ChatAIRemoveDatasetPermissionResponse) SetHeaders(v map[string]*string) *ChatAIRemoveDatasetPermissionResponse {
	s.Headers = v
	return s
}

func (s *ChatAIRemoveDatasetPermissionResponse) SetStatusCode(v int32) *ChatAIRemoveDatasetPermissionResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAIRemoveDatasetPermissionResponse) SetBody(v *ChatAIRemoveDatasetPermissionResponseBody) *ChatAIRemoveDatasetPermissionResponse {
	s.Body = v
	return s
}

type ChatAITextSentimentAnalysisHeaders 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 (s ChatAITextSentimentAnalysisHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAITextSentimentAnalysisHeaders) GoString() string {
	return s.String()
}

func (s *ChatAITextSentimentAnalysisHeaders) SetCommonHeaders(v map[string]*string) *ChatAITextSentimentAnalysisHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAITextSentimentAnalysisHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAITextSentimentAnalysisHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAITextSentimentAnalysisRequest struct {
	History []*string `json:"history,omitempty" xml:"history,omitempty" type:"Repeated"`
	// This parameter is required.
	Text *string `json:"text,omitempty" xml:"text,omitempty"`
}

func (s ChatAITextSentimentAnalysisRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAITextSentimentAnalysisRequest) GoString() string {
	return s.String()
}

func (s *ChatAITextSentimentAnalysisRequest) SetHistory(v []*string) *ChatAITextSentimentAnalysisRequest {
	s.History = v
	return s
}

func (s *ChatAITextSentimentAnalysisRequest) SetText(v string) *ChatAITextSentimentAnalysisRequest {
	s.Text = &v
	return s
}

type ChatAITextSentimentAnalysisResponseBody struct {
	Result *ChatAITextSentimentAnalysisResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s ChatAITextSentimentAnalysisResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAITextSentimentAnalysisResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAITextSentimentAnalysisResponseBody) SetResult(v *ChatAITextSentimentAnalysisResponseBodyResult) *ChatAITextSentimentAnalysisResponseBody {
	s.Result = v
	return s
}

type ChatAITextSentimentAnalysisResponseBodyResult struct {
	Sentiment *string `json:"sentiment,omitempty" xml:"sentiment,omitempty"`
}

func (s ChatAITextSentimentAnalysisResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s ChatAITextSentimentAnalysisResponseBodyResult) GoString() string {
	return s.String()
}

func (s *ChatAITextSentimentAnalysisResponseBodyResult) SetSentiment(v string) *ChatAITextSentimentAnalysisResponseBodyResult {
	s.Sentiment = &v
	return s
}

type ChatAITextSentimentAnalysisResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAITextSentimentAnalysisResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAITextSentimentAnalysisResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAITextSentimentAnalysisResponse) GoString() string {
	return s.String()
}

func (s *ChatAITextSentimentAnalysisResponse) SetHeaders(v map[string]*string) *ChatAITextSentimentAnalysisResponse {
	s.Headers = v
	return s
}

func (s *ChatAITextSentimentAnalysisResponse) SetStatusCode(v int32) *ChatAITextSentimentAnalysisResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAITextSentimentAnalysisResponse) SetBody(v *ChatAITextSentimentAnalysisResponseBody) *ChatAITextSentimentAnalysisResponse {
	s.Body = v
	return s
}

type ChatAiQueryLogsHeaders 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 (s ChatAiQueryLogsHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAiQueryLogsHeaders) GoString() string {
	return s.String()
}

func (s *ChatAiQueryLogsHeaders) SetCommonHeaders(v map[string]*string) *ChatAiQueryLogsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAiQueryLogsHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAiQueryLogsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAiQueryLogsRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 123
	AppId *int64 `json:"appId,omitempty" xml:"appId,omitempty"`
	// example:
	//
	// 1744124223000
	EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 20
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// example:
	//
	// 123
	ScenceId *int64 `json:"scenceId,omitempty" xml:"scenceId,omitempty"`
	// example:
	//
	// 1744124223000
	StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
}

func (s ChatAiQueryLogsRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAiQueryLogsRequest) GoString() string {
	return s.String()
}

func (s *ChatAiQueryLogsRequest) SetAppId(v int64) *ChatAiQueryLogsRequest {
	s.AppId = &v
	return s
}

func (s *ChatAiQueryLogsRequest) SetEndTime(v int64) *ChatAiQueryLogsRequest {
	s.EndTime = &v
	return s
}

func (s *ChatAiQueryLogsRequest) SetPageNumber(v int64) *ChatAiQueryLogsRequest {
	s.PageNumber = &v
	return s
}

func (s *ChatAiQueryLogsRequest) SetPageSize(v int64) *ChatAiQueryLogsRequest {
	s.PageSize = &v
	return s
}

func (s *ChatAiQueryLogsRequest) SetScenceId(v int64) *ChatAiQueryLogsRequest {
	s.ScenceId = &v
	return s
}

func (s *ChatAiQueryLogsRequest) SetStartTime(v int64) *ChatAiQueryLogsRequest {
	s.StartTime = &v
	return s
}

type ChatAiQueryLogsResponseBody struct {
	Data []*ChatAiQueryLogsResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 20
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// example:
	//
	// 200
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
	// example:
	//
	// 50
	TotalPage *int32 `json:"totalPage,omitempty" xml:"totalPage,omitempty"`
}

func (s ChatAiQueryLogsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAiQueryLogsResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAiQueryLogsResponseBody) SetData(v []*ChatAiQueryLogsResponseBodyData) *ChatAiQueryLogsResponseBody {
	s.Data = v
	return s
}

func (s *ChatAiQueryLogsResponseBody) SetPageNumber(v int32) *ChatAiQueryLogsResponseBody {
	s.PageNumber = &v
	return s
}

func (s *ChatAiQueryLogsResponseBody) SetPageSize(v int32) *ChatAiQueryLogsResponseBody {
	s.PageSize = &v
	return s
}

func (s *ChatAiQueryLogsResponseBody) SetTotal(v int32) *ChatAiQueryLogsResponseBody {
	s.Total = &v
	return s
}

func (s *ChatAiQueryLogsResponseBody) SetTotalPage(v int32) *ChatAiQueryLogsResponseBody {
	s.TotalPage = &v
	return s
}

type ChatAiQueryLogsResponseBodyData struct {
	AppName           *string `json:"appName,omitempty" xml:"appName,omitempty"`
	ExtendInfo        *string `json:"extendInfo,omitempty" xml:"extendInfo,omitempty"`
	FeedbackState     *int32  `json:"feedbackState,omitempty" xml:"feedbackState,omitempty"`
	FeedbackStateDesc *string `json:"feedbackStateDesc,omitempty" xml:"feedbackStateDesc,omitempty"`
	Question          *string `json:"question,omitempty" xml:"question,omitempty"`
	QuestionTime      *int64  `json:"questionTime,omitempty" xml:"questionTime,omitempty"`
	Response          *string `json:"response,omitempty" xml:"response,omitempty"`
	Runtime           *int64  `json:"runtime,omitempty" xml:"runtime,omitempty"`
	Scene             *string `json:"scene,omitempty" xml:"scene,omitempty"`
	SessionType       *string `json:"sessionType,omitempty" xml:"sessionType,omitempty"`
	UserId            *string `json:"userId,omitempty" xml:"userId,omitempty"`
	UserName          *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s ChatAiQueryLogsResponseBodyData) String() string {
	return tea.Prettify(s)
}

func (s ChatAiQueryLogsResponseBodyData) GoString() string {
	return s.String()
}

func (s *ChatAiQueryLogsResponseBodyData) SetAppName(v string) *ChatAiQueryLogsResponseBodyData {
	s.AppName = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetExtendInfo(v string) *ChatAiQueryLogsResponseBodyData {
	s.ExtendInfo = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetFeedbackState(v int32) *ChatAiQueryLogsResponseBodyData {
	s.FeedbackState = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetFeedbackStateDesc(v string) *ChatAiQueryLogsResponseBodyData {
	s.FeedbackStateDesc = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetQuestion(v string) *ChatAiQueryLogsResponseBodyData {
	s.Question = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetQuestionTime(v int64) *ChatAiQueryLogsResponseBodyData {
	s.QuestionTime = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetResponse(v string) *ChatAiQueryLogsResponseBodyData {
	s.Response = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetRuntime(v int64) *ChatAiQueryLogsResponseBodyData {
	s.Runtime = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetScene(v string) *ChatAiQueryLogsResponseBodyData {
	s.Scene = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetSessionType(v string) *ChatAiQueryLogsResponseBodyData {
	s.SessionType = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetUserId(v string) *ChatAiQueryLogsResponseBodyData {
	s.UserId = &v
	return s
}

func (s *ChatAiQueryLogsResponseBodyData) SetUserName(v string) *ChatAiQueryLogsResponseBodyData {
	s.UserName = &v
	return s
}

type ChatAiQueryLogsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAiQueryLogsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAiQueryLogsResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAiQueryLogsResponse) GoString() string {
	return s.String()
}

func (s *ChatAiQueryLogsResponse) SetHeaders(v map[string]*string) *ChatAiQueryLogsResponse {
	s.Headers = v
	return s
}

func (s *ChatAiQueryLogsResponse) SetStatusCode(v int32) *ChatAiQueryLogsResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAiQueryLogsResponse) SetBody(v *ChatAiQueryLogsResponseBody) *ChatAiQueryLogsResponse {
	s.Body = v
	return s
}

type ChatAiTravelListHeaders 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 (s ChatAiTravelListHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatAiTravelListHeaders) GoString() string {
	return s.String()
}

func (s *ChatAiTravelListHeaders) SetCommonHeaders(v map[string]*string) *ChatAiTravelListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatAiTravelListHeaders) SetXAcsDingtalkAccessToken(v string) *ChatAiTravelListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatAiTravelListRequest struct {
	ParamList []*ChatAiTravelListRequestParamList `json:"paramList,omitempty" xml:"paramList,omitempty" type:"Repeated"`
	// example:
	//
	// qaz12345900
	TravelId *string `json:"travelId,omitempty" xml:"travelId,omitempty"`
}

func (s ChatAiTravelListRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatAiTravelListRequest) GoString() string {
	return s.String()
}

func (s *ChatAiTravelListRequest) SetParamList(v []*ChatAiTravelListRequestParamList) *ChatAiTravelListRequest {
	s.ParamList = v
	return s
}

func (s *ChatAiTravelListRequest) SetTravelId(v string) *ChatAiTravelListRequest {
	s.TravelId = &v
	return s
}

type ChatAiTravelListRequestParamList struct {
	// example:
	//
	// qaz1234567
	ItineraryId *string `json:"itineraryId,omitempty" xml:"itineraryId,omitempty"`
	// example:
	//
	// {"lineNumber":1}
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (s ChatAiTravelListRequestParamList) String() string {
	return tea.Prettify(s)
}

func (s ChatAiTravelListRequestParamList) GoString() string {
	return s.String()
}

func (s *ChatAiTravelListRequestParamList) SetItineraryId(v string) *ChatAiTravelListRequestParamList {
	s.ItineraryId = &v
	return s
}

func (s *ChatAiTravelListRequestParamList) SetValue(v string) *ChatAiTravelListRequestParamList {
	s.Value = &v
	return s
}

type ChatAiTravelListResponseBody struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s ChatAiTravelListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatAiTravelListResponseBody) GoString() string {
	return s.String()
}

func (s *ChatAiTravelListResponseBody) SetContent(v string) *ChatAiTravelListResponseBody {
	s.Content = &v
	return s
}

type ChatAiTravelListResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatAiTravelListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatAiTravelListResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatAiTravelListResponse) GoString() string {
	return s.String()
}

func (s *ChatAiTravelListResponse) SetHeaders(v map[string]*string) *ChatAiTravelListResponse {
	s.Headers = v
	return s
}

func (s *ChatAiTravelListResponse) SetStatusCode(v int32) *ChatAiTravelListResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatAiTravelListResponse) SetBody(v *ChatAiTravelListResponseBody) *ChatAiTravelListResponse {
	s.Body = v
	return s
}

type ChatFormGetDataForApiAccessHeaders 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 (s ChatFormGetDataForApiAccessHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatFormGetDataForApiAccessHeaders) GoString() string {
	return s.String()
}

func (s *ChatFormGetDataForApiAccessHeaders) SetCommonHeaders(v map[string]*string) *ChatFormGetDataForApiAccessHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatFormGetDataForApiAccessHeaders) SetXAcsDingtalkAccessToken(v string) *ChatFormGetDataForApiAccessHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatFormGetDataForApiAccessRequest struct {
	// This parameter is required.
	DingTalkTraceId *string `json:"dingTalkTraceId,omitempty" xml:"dingTalkTraceId,omitempty"`
}

func (s ChatFormGetDataForApiAccessRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatFormGetDataForApiAccessRequest) GoString() string {
	return s.String()
}

func (s *ChatFormGetDataForApiAccessRequest) SetDingTalkTraceId(v string) *ChatFormGetDataForApiAccessRequest {
	s.DingTalkTraceId = &v
	return s
}

type ChatFormGetDataForApiAccessResponseBody struct {
	// This parameter is required.
	Data *string `json:"data,omitempty" xml:"data,omitempty"`
}

func (s ChatFormGetDataForApiAccessResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatFormGetDataForApiAccessResponseBody) GoString() string {
	return s.String()
}

func (s *ChatFormGetDataForApiAccessResponseBody) SetData(v string) *ChatFormGetDataForApiAccessResponseBody {
	s.Data = &v
	return s
}

type ChatFormGetDataForApiAccessResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatFormGetDataForApiAccessResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatFormGetDataForApiAccessResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatFormGetDataForApiAccessResponse) GoString() string {
	return s.String()
}

func (s *ChatFormGetDataForApiAccessResponse) SetHeaders(v map[string]*string) *ChatFormGetDataForApiAccessResponse {
	s.Headers = v
	return s
}

func (s *ChatFormGetDataForApiAccessResponse) SetStatusCode(v int32) *ChatFormGetDataForApiAccessResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatFormGetDataForApiAccessResponse) SetBody(v *ChatFormGetDataForApiAccessResponseBody) *ChatFormGetDataForApiAccessResponse {
	s.Body = v
	return s
}

type ChatMemoAddGeneralFileHeaders 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 (s ChatMemoAddGeneralFileHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddGeneralFileHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoAddGeneralFileHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoAddGeneralFileHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoAddGeneralFileHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoAddGeneralFileHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoAddGeneralFileRequest struct {
	// example:
	//
	// aaaaa
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// https://xxxxxxx.com/xxxxxx
	DownloadUrl *string `json:"downloadUrl,omitempty" xml:"downloadUrl,omitempty"`
	// example:
	//
	// 这是一个财务制度相关的文件
	FileDesc *string `json:"fileDesc,omitempty" xml:"fileDesc,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// aaa.doc
	FileName *string                                 `json:"fileName,omitempty" xml:"fileName,omitempty"`
	TagList  []*ChatMemoAddGeneralFileRequestTagList `json:"tagList,omitempty" xml:"tagList,omitempty" type:"Repeated"`
}

func (s ChatMemoAddGeneralFileRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddGeneralFileRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoAddGeneralFileRequest) SetBizId(v string) *ChatMemoAddGeneralFileRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoAddGeneralFileRequest) SetDatasetId(v int64) *ChatMemoAddGeneralFileRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoAddGeneralFileRequest) SetDownloadUrl(v string) *ChatMemoAddGeneralFileRequest {
	s.DownloadUrl = &v
	return s
}

func (s *ChatMemoAddGeneralFileRequest) SetFileDesc(v string) *ChatMemoAddGeneralFileRequest {
	s.FileDesc = &v
	return s
}

func (s *ChatMemoAddGeneralFileRequest) SetFileName(v string) *ChatMemoAddGeneralFileRequest {
	s.FileName = &v
	return s
}

func (s *ChatMemoAddGeneralFileRequest) SetTagList(v []*ChatMemoAddGeneralFileRequestTagList) *ChatMemoAddGeneralFileRequest {
	s.TagList = v
	return s
}

type ChatMemoAddGeneralFileRequestTagList struct {
	// example:
	//
	// 产品名
	TagName      *string   `json:"tagName,omitempty" xml:"tagName,omitempty"`
	TagValueList []*string `json:"tagValueList,omitempty" xml:"tagValueList,omitempty" type:"Repeated"`
}

func (s ChatMemoAddGeneralFileRequestTagList) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddGeneralFileRequestTagList) GoString() string {
	return s.String()
}

func (s *ChatMemoAddGeneralFileRequestTagList) SetTagName(v string) *ChatMemoAddGeneralFileRequestTagList {
	s.TagName = &v
	return s
}

func (s *ChatMemoAddGeneralFileRequestTagList) SetTagValueList(v []*string) *ChatMemoAddGeneralFileRequestTagList {
	s.TagValueList = v
	return s
}

type ChatMemoAddGeneralFileResponseBody struct {
	// example:
	//
	// xxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// example:
	//
	// aaaa.doc
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoAddGeneralFileResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddGeneralFileResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoAddGeneralFileResponseBody) SetBizId(v string) *ChatMemoAddGeneralFileResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoAddGeneralFileResponseBody) SetMediaId(v string) *ChatMemoAddGeneralFileResponseBody {
	s.MediaId = &v
	return s
}

type ChatMemoAddGeneralFileResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoAddGeneralFileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoAddGeneralFileResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddGeneralFileResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoAddGeneralFileResponse) SetHeaders(v map[string]*string) *ChatMemoAddGeneralFileResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoAddGeneralFileResponse) SetStatusCode(v int32) *ChatMemoAddGeneralFileResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoAddGeneralFileResponse) SetBody(v *ChatMemoAddGeneralFileResponseBody) *ChatMemoAddGeneralFileResponse {
	s.Body = v
	return s
}

type ChatMemoAddKnowledgeGraphNodeHeaders 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 (s ChatMemoAddKnowledgeGraphNodeHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphNodeHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphNodeHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoAddKnowledgeGraphNodeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoAddKnowledgeGraphNodeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoAddKnowledgeGraphNodeRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	NodeInfo *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo `json:"nodeInfo,omitempty" xml:"nodeInfo,omitempty" type:"Struct"`
}

func (s ChatMemoAddKnowledgeGraphNodeRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphNodeRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphNodeRequest) SetBizId(v string) *ChatMemoAddKnowledgeGraphNodeRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeRequest) SetDatasetId(v int64) *ChatMemoAddKnowledgeGraphNodeRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeRequest) SetNodeInfo(v *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo) *ChatMemoAddKnowledgeGraphNodeRequest {
	s.NodeInfo = v
	return s
}

type ChatMemoAddKnowledgeGraphNodeRequestNodeInfo struct {
	// This parameter is required.
	//
	// example:
	//
	// 人物
	NodeLabel *string `json:"nodeLabel,omitempty" xml:"nodeLabel,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 刘备
	NodeName *string `json:"nodeName,omitempty" xml:"nodeName,omitempty"`
	// example:
	//
	// {"年龄"：43}
	PropertiesString *string `json:"propertiesString,omitempty" xml:"propertiesString,omitempty"`
}

func (s ChatMemoAddKnowledgeGraphNodeRequestNodeInfo) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphNodeRequestNodeInfo) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo) SetNodeLabel(v string) *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo {
	s.NodeLabel = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo) SetNodeName(v string) *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo {
	s.NodeName = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo) SetPropertiesString(v string) *ChatMemoAddKnowledgeGraphNodeRequestNodeInfo {
	s.PropertiesString = &v
	return s
}

type ChatMemoAddKnowledgeGraphNodeResponseBody struct {
	// example:
	//
	// xxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// example:
	//
	// aaaa.doc
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoAddKnowledgeGraphNodeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphNodeResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphNodeResponseBody) SetBizId(v string) *ChatMemoAddKnowledgeGraphNodeResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeResponseBody) SetMediaId(v string) *ChatMemoAddKnowledgeGraphNodeResponseBody {
	s.MediaId = &v
	return s
}

type ChatMemoAddKnowledgeGraphNodeResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoAddKnowledgeGraphNodeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoAddKnowledgeGraphNodeResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphNodeResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphNodeResponse) SetHeaders(v map[string]*string) *ChatMemoAddKnowledgeGraphNodeResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeResponse) SetStatusCode(v int32) *ChatMemoAddKnowledgeGraphNodeResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphNodeResponse) SetBody(v *ChatMemoAddKnowledgeGraphNodeResponseBody) *ChatMemoAddKnowledgeGraphNodeResponse {
	s.Body = v
	return s
}

type ChatMemoAddKnowledgeGraphRelationHeaders 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 (s ChatMemoAddKnowledgeGraphRelationHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphRelationHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphRelationHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoAddKnowledgeGraphRelationHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoAddKnowledgeGraphRelationHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoAddKnowledgeGraphRelationRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	RelationInfo *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo `json:"relationInfo,omitempty" xml:"relationInfo,omitempty" type:"Struct"`
}

func (s ChatMemoAddKnowledgeGraphRelationRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphRelationRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphRelationRequest) SetBizId(v string) *ChatMemoAddKnowledgeGraphRelationRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationRequest) SetDatasetId(v int64) *ChatMemoAddKnowledgeGraphRelationRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationRequest) SetRelationInfo(v *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) *ChatMemoAddKnowledgeGraphRelationRequest {
	s.RelationInfo = v
	return s
}

type ChatMemoAddKnowledgeGraphRelationRequestRelationInfo struct {
	// This parameter is required.
	//
	// example:
	//
	// xxxx
	EndId *string `json:"endId,omitempty" xml:"endId,omitempty"`
	// example:
	//
	// {"年龄"：43}
	PropertiesString *string `json:"propertiesString,omitempty" xml:"propertiesString,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 出生于
	RelationName *string `json:"relationName,omitempty" xml:"relationName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxxx
	StartId *string `json:"startId,omitempty" xml:"startId,omitempty"`
}

func (s ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) SetEndId(v string) *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo {
	s.EndId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) SetPropertiesString(v string) *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo {
	s.PropertiesString = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) SetRelationName(v string) *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo {
	s.RelationName = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo) SetStartId(v string) *ChatMemoAddKnowledgeGraphRelationRequestRelationInfo {
	s.StartId = &v
	return s
}

type ChatMemoAddKnowledgeGraphRelationResponseBody struct {
	// example:
	//
	// xxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// example:
	//
	// aaaa.doc
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoAddKnowledgeGraphRelationResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphRelationResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphRelationResponseBody) SetBizId(v string) *ChatMemoAddKnowledgeGraphRelationResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationResponseBody) SetMediaId(v string) *ChatMemoAddKnowledgeGraphRelationResponseBody {
	s.MediaId = &v
	return s
}

type ChatMemoAddKnowledgeGraphRelationResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoAddKnowledgeGraphRelationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoAddKnowledgeGraphRelationResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoAddKnowledgeGraphRelationResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoAddKnowledgeGraphRelationResponse) SetHeaders(v map[string]*string) *ChatMemoAddKnowledgeGraphRelationResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationResponse) SetStatusCode(v int32) *ChatMemoAddKnowledgeGraphRelationResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoAddKnowledgeGraphRelationResponse) SetBody(v *ChatMemoAddKnowledgeGraphRelationResponseBody) *ChatMemoAddKnowledgeGraphRelationResponse {
	s.Body = v
	return s
}

type ChatMemoDeleteGeneralFileHeaders 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 (s ChatMemoDeleteGeneralFileHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteGeneralFileHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteGeneralFileHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoDeleteGeneralFileHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoDeleteGeneralFileHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoDeleteGeneralFileHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoDeleteGeneralFileRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// aaaa.doc
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoDeleteGeneralFileRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteGeneralFileRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteGeneralFileRequest) SetDatasetId(v int64) *ChatMemoDeleteGeneralFileRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoDeleteGeneralFileRequest) SetMediaId(v string) *ChatMemoDeleteGeneralFileRequest {
	s.MediaId = &v
	return s
}

type ChatMemoDeleteGeneralFileResponseBody struct {
	// example:
	//
	// true
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s ChatMemoDeleteGeneralFileResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteGeneralFileResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteGeneralFileResponseBody) SetResult(v bool) *ChatMemoDeleteGeneralFileResponseBody {
	s.Result = &v
	return s
}

type ChatMemoDeleteGeneralFileResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoDeleteGeneralFileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoDeleteGeneralFileResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteGeneralFileResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteGeneralFileResponse) SetHeaders(v map[string]*string) *ChatMemoDeleteGeneralFileResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoDeleteGeneralFileResponse) SetStatusCode(v int32) *ChatMemoDeleteGeneralFileResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoDeleteGeneralFileResponse) SetBody(v *ChatMemoDeleteGeneralFileResponseBody) *ChatMemoDeleteGeneralFileResponse {
	s.Body = v
	return s
}

type ChatMemoDeleteKnowledgeGraphNodeHeaders 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 (s ChatMemoDeleteKnowledgeGraphNodeHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphNodeHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphNodeHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoDeleteKnowledgeGraphNodeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphNodeHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoDeleteKnowledgeGraphNodeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoDeleteKnowledgeGraphNodeRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoDeleteKnowledgeGraphNodeRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphNodeRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphNodeRequest) SetBizId(v string) *ChatMemoDeleteKnowledgeGraphNodeRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphNodeRequest) SetDatasetId(v int64) *ChatMemoDeleteKnowledgeGraphNodeRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphNodeRequest) SetMediaId(v string) *ChatMemoDeleteKnowledgeGraphNodeRequest {
	s.MediaId = &v
	return s
}

type ChatMemoDeleteKnowledgeGraphNodeResponseBody struct {
	// example:
	//
	// xxxxx
	BizId   *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	Success *bool   `json:"success,omitempty" xml:"success,omitempty"`
}

func (s ChatMemoDeleteKnowledgeGraphNodeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphNodeResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphNodeResponseBody) SetBizId(v string) *ChatMemoDeleteKnowledgeGraphNodeResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphNodeResponseBody) SetSuccess(v bool) *ChatMemoDeleteKnowledgeGraphNodeResponseBody {
	s.Success = &v
	return s
}

type ChatMemoDeleteKnowledgeGraphNodeResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoDeleteKnowledgeGraphNodeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoDeleteKnowledgeGraphNodeResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphNodeResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphNodeResponse) SetHeaders(v map[string]*string) *ChatMemoDeleteKnowledgeGraphNodeResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphNodeResponse) SetStatusCode(v int32) *ChatMemoDeleteKnowledgeGraphNodeResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphNodeResponse) SetBody(v *ChatMemoDeleteKnowledgeGraphNodeResponseBody) *ChatMemoDeleteKnowledgeGraphNodeResponse {
	s.Body = v
	return s
}

type ChatMemoDeleteKnowledgeGraphRelationHeaders 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 (s ChatMemoDeleteKnowledgeGraphRelationHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphRelationHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphRelationHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoDeleteKnowledgeGraphRelationHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphRelationHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoDeleteKnowledgeGraphRelationHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoDeleteKnowledgeGraphRelationRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoDeleteKnowledgeGraphRelationRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphRelationRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphRelationRequest) SetBizId(v string) *ChatMemoDeleteKnowledgeGraphRelationRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphRelationRequest) SetDatasetId(v int64) *ChatMemoDeleteKnowledgeGraphRelationRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphRelationRequest) SetMediaId(v string) *ChatMemoDeleteKnowledgeGraphRelationRequest {
	s.MediaId = &v
	return s
}

type ChatMemoDeleteKnowledgeGraphRelationResponseBody struct {
	// example:
	//
	// xxxxx
	BizId   *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	Success *bool   `json:"success,omitempty" xml:"success,omitempty"`
}

func (s ChatMemoDeleteKnowledgeGraphRelationResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphRelationResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphRelationResponseBody) SetBizId(v string) *ChatMemoDeleteKnowledgeGraphRelationResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphRelationResponseBody) SetSuccess(v bool) *ChatMemoDeleteKnowledgeGraphRelationResponseBody {
	s.Success = &v
	return s
}

type ChatMemoDeleteKnowledgeGraphRelationResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoDeleteKnowledgeGraphRelationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoDeleteKnowledgeGraphRelationResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoDeleteKnowledgeGraphRelationResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoDeleteKnowledgeGraphRelationResponse) SetHeaders(v map[string]*string) *ChatMemoDeleteKnowledgeGraphRelationResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphRelationResponse) SetStatusCode(v int32) *ChatMemoDeleteKnowledgeGraphRelationResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoDeleteKnowledgeGraphRelationResponse) SetBody(v *ChatMemoDeleteKnowledgeGraphRelationResponseBody) *ChatMemoDeleteKnowledgeGraphRelationResponse {
	s.Body = v
	return s
}

type ChatMemoFaqAddHeaders 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 (s ChatMemoFaqAddHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqAddHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqAddHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoFaqAddHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoFaqAddHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoFaqAddHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoFaqAddRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 办公室的电话是：13222333232
	Answer *string `json:"answer,omitempty" xml:"answer,omitempty"`
	// example:
	//
	// aaaaa
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 办公室的电话是多少
	Question *string `json:"question,omitempty" xml:"question,omitempty"`
	// example:
	//
	// https://xxxxxxx.com/xxxxxx
	Redirection *string `json:"redirection,omitempty" xml:"redirection,omitempty"`
}

func (s ChatMemoFaqAddRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqAddRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqAddRequest) SetAnswer(v string) *ChatMemoFaqAddRequest {
	s.Answer = &v
	return s
}

func (s *ChatMemoFaqAddRequest) SetBizId(v string) *ChatMemoFaqAddRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoFaqAddRequest) SetDatasetId(v int64) *ChatMemoFaqAddRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoFaqAddRequest) SetQuestion(v string) *ChatMemoFaqAddRequest {
	s.Question = &v
	return s
}

func (s *ChatMemoFaqAddRequest) SetRedirection(v string) *ChatMemoFaqAddRequest {
	s.Redirection = &v
	return s
}

type ChatMemoFaqAddResponseBody struct {
	// example:
	//
	// xxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// example:
	//
	// aaaa.doc
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoFaqAddResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqAddResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqAddResponseBody) SetBizId(v string) *ChatMemoFaqAddResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoFaqAddResponseBody) SetMediaId(v string) *ChatMemoFaqAddResponseBody {
	s.MediaId = &v
	return s
}

type ChatMemoFaqAddResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoFaqAddResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoFaqAddResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqAddResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqAddResponse) SetHeaders(v map[string]*string) *ChatMemoFaqAddResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoFaqAddResponse) SetStatusCode(v int32) *ChatMemoFaqAddResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoFaqAddResponse) SetBody(v *ChatMemoFaqAddResponseBody) *ChatMemoFaqAddResponse {
	s.Body = v
	return s
}

type ChatMemoFaqDeleteHeaders 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 (s ChatMemoFaqDeleteHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqDeleteHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqDeleteHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoFaqDeleteHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoFaqDeleteHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoFaqDeleteHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoFaqDeleteRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// aaaa
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoFaqDeleteRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqDeleteRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqDeleteRequest) SetDatasetId(v int64) *ChatMemoFaqDeleteRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoFaqDeleteRequest) SetMediaId(v string) *ChatMemoFaqDeleteRequest {
	s.MediaId = &v
	return s
}

type ChatMemoFaqDeleteResponseBody struct {
	// example:
	//
	// true
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s ChatMemoFaqDeleteResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqDeleteResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqDeleteResponseBody) SetResult(v bool) *ChatMemoFaqDeleteResponseBody {
	s.Result = &v
	return s
}

type ChatMemoFaqDeleteResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoFaqDeleteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoFaqDeleteResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqDeleteResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqDeleteResponse) SetHeaders(v map[string]*string) *ChatMemoFaqDeleteResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoFaqDeleteResponse) SetStatusCode(v int32) *ChatMemoFaqDeleteResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoFaqDeleteResponse) SetBody(v *ChatMemoFaqDeleteResponseBody) *ChatMemoFaqDeleteResponse {
	s.Body = v
	return s
}

type ChatMemoFaqListHeaders 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 (s ChatMemoFaqListHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqListHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqListHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoFaqListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoFaqListHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoFaqListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoFaqListRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 20
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s ChatMemoFaqListRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqListRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqListRequest) SetDatasetId(v int64) *ChatMemoFaqListRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoFaqListRequest) SetPageNumber(v int64) *ChatMemoFaqListRequest {
	s.PageNumber = &v
	return s
}

func (s *ChatMemoFaqListRequest) SetPageSize(v int64) *ChatMemoFaqListRequest {
	s.PageSize = &v
	return s
}

type ChatMemoFaqListResponseBody struct {
	Data []*ChatMemoFaqListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 20
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// example:
	//
	// 200
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
	// example:
	//
	// 50
	TotalPage *int32 `json:"totalPage,omitempty" xml:"totalPage,omitempty"`
}

func (s ChatMemoFaqListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqListResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqListResponseBody) SetData(v []*ChatMemoFaqListResponseBodyData) *ChatMemoFaqListResponseBody {
	s.Data = v
	return s
}

func (s *ChatMemoFaqListResponseBody) SetPageNumber(v int32) *ChatMemoFaqListResponseBody {
	s.PageNumber = &v
	return s
}

func (s *ChatMemoFaqListResponseBody) SetPageSize(v int32) *ChatMemoFaqListResponseBody {
	s.PageSize = &v
	return s
}

func (s *ChatMemoFaqListResponseBody) SetTotal(v int32) *ChatMemoFaqListResponseBody {
	s.Total = &v
	return s
}

func (s *ChatMemoFaqListResponseBody) SetTotalPage(v int32) *ChatMemoFaqListResponseBody {
	s.TotalPage = &v
	return s
}

type ChatMemoFaqListResponseBodyData struct {
	// example:
	//
	// 办公室电话是：13223333233
	Answer *string `json:"answer,omitempty" xml:"answer,omitempty"`
	// example:
	//
	// xxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// example:
	//
	// yyyyyy-aaaaaa-bbbbb-cccccccccc.docx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
	// example:
	//
	// 办公室电话是多少
	Question *string `json:"question,omitempty" xml:"question,omitempty"`
	// example:
	//
	// http://www.dingtalk.com/
	Redirection *string `json:"redirection,omitempty" xml:"redirection,omitempty"`
}

func (s ChatMemoFaqListResponseBodyData) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqListResponseBodyData) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqListResponseBodyData) SetAnswer(v string) *ChatMemoFaqListResponseBodyData {
	s.Answer = &v
	return s
}

func (s *ChatMemoFaqListResponseBodyData) SetBizId(v string) *ChatMemoFaqListResponseBodyData {
	s.BizId = &v
	return s
}

func (s *ChatMemoFaqListResponseBodyData) SetMediaId(v string) *ChatMemoFaqListResponseBodyData {
	s.MediaId = &v
	return s
}

func (s *ChatMemoFaqListResponseBodyData) SetQuestion(v string) *ChatMemoFaqListResponseBodyData {
	s.Question = &v
	return s
}

func (s *ChatMemoFaqListResponseBodyData) SetRedirection(v string) *ChatMemoFaqListResponseBodyData {
	s.Redirection = &v
	return s
}

type ChatMemoFaqListResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoFaqListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoFaqListResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoFaqListResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoFaqListResponse) SetHeaders(v map[string]*string) *ChatMemoFaqListResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoFaqListResponse) SetStatusCode(v int32) *ChatMemoFaqListResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoFaqListResponse) SetBody(v *ChatMemoFaqListResponseBody) *ChatMemoFaqListResponse {
	s.Body = v
	return s
}

type ChatMemoGetFileListHeaders 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 (s ChatMemoGetFileListHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileListHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileListHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoGetFileListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoGetFileListHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoGetFileListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoGetFileListRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 20
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s ChatMemoGetFileListRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileListRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileListRequest) SetDatasetId(v int64) *ChatMemoGetFileListRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoGetFileListRequest) SetPageNumber(v int64) *ChatMemoGetFileListRequest {
	s.PageNumber = &v
	return s
}

func (s *ChatMemoGetFileListRequest) SetPageSize(v int64) *ChatMemoGetFileListRequest {
	s.PageSize = &v
	return s
}

type ChatMemoGetFileListResponseBody struct {
	Data []*ChatMemoGetFileListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 20
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// example:
	//
	// 200
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
	// example:
	//
	// 50
	TotalPage *int32 `json:"totalPage,omitempty" xml:"totalPage,omitempty"`
}

func (s ChatMemoGetFileListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileListResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileListResponseBody) SetData(v []*ChatMemoGetFileListResponseBodyData) *ChatMemoGetFileListResponseBody {
	s.Data = v
	return s
}

func (s *ChatMemoGetFileListResponseBody) SetPageNumber(v int32) *ChatMemoGetFileListResponseBody {
	s.PageNumber = &v
	return s
}

func (s *ChatMemoGetFileListResponseBody) SetPageSize(v int32) *ChatMemoGetFileListResponseBody {
	s.PageSize = &v
	return s
}

func (s *ChatMemoGetFileListResponseBody) SetTotal(v int32) *ChatMemoGetFileListResponseBody {
	s.Total = &v
	return s
}

func (s *ChatMemoGetFileListResponseBody) SetTotalPage(v int32) *ChatMemoGetFileListResponseBody {
	s.TotalPage = &v
	return s
}

type ChatMemoGetFileListResponseBodyData struct {
	// example:
	//
	// xxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// example:
	//
	// 财务制度文件
	FileDesc *string `json:"fileDesc,omitempty" xml:"fileDesc,omitempty"`
	// example:
	//
	// aaaaa.doc
	FileName *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	// example:
	//
	// yyyyyy-aaaaaa-bbbbb-cccccccccc.docx
	MediaId *string              `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
	TagMap  map[string][]*string `json:"tagMap,omitempty" xml:"tagMap,omitempty"`
}

func (s ChatMemoGetFileListResponseBodyData) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileListResponseBodyData) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileListResponseBodyData) SetBizId(v string) *ChatMemoGetFileListResponseBodyData {
	s.BizId = &v
	return s
}

func (s *ChatMemoGetFileListResponseBodyData) SetFileDesc(v string) *ChatMemoGetFileListResponseBodyData {
	s.FileDesc = &v
	return s
}

func (s *ChatMemoGetFileListResponseBodyData) SetFileName(v string) *ChatMemoGetFileListResponseBodyData {
	s.FileName = &v
	return s
}

func (s *ChatMemoGetFileListResponseBodyData) SetMediaId(v string) *ChatMemoGetFileListResponseBodyData {
	s.MediaId = &v
	return s
}

func (s *ChatMemoGetFileListResponseBodyData) SetTagMap(v map[string][]*string) *ChatMemoGetFileListResponseBodyData {
	s.TagMap = v
	return s
}

type ChatMemoGetFileListResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoGetFileListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoGetFileListResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileListResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileListResponse) SetHeaders(v map[string]*string) *ChatMemoGetFileListResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoGetFileListResponse) SetStatusCode(v int32) *ChatMemoGetFileListResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoGetFileListResponse) SetBody(v *ChatMemoGetFileListResponseBody) *ChatMemoGetFileListResponse {
	s.Body = v
	return s
}

type ChatMemoGetFileStatusHeaders 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 (s ChatMemoGetFileStatusHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileStatusHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileStatusHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoGetFileStatusHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoGetFileStatusHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoGetFileStatusHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoGetFileStatusRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// aaaa.doc
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoGetFileStatusRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileStatusRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileStatusRequest) SetDatasetId(v int64) *ChatMemoGetFileStatusRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoGetFileStatusRequest) SetMediaId(v string) *ChatMemoGetFileStatusRequest {
	s.MediaId = &v
	return s
}

type ChatMemoGetFileStatusResponseBody struct {
	// example:
	//
	// -1
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
	// example:
	//
	// 待处理
	StatusDesc *string `json:"statusDesc,omitempty" xml:"statusDesc,omitempty"`
}

func (s ChatMemoGetFileStatusResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileStatusResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileStatusResponseBody) SetStatus(v int32) *ChatMemoGetFileStatusResponseBody {
	s.Status = &v
	return s
}

func (s *ChatMemoGetFileStatusResponseBody) SetStatusDesc(v string) *ChatMemoGetFileStatusResponseBody {
	s.StatusDesc = &v
	return s
}

type ChatMemoGetFileStatusResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoGetFileStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoGetFileStatusResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoGetFileStatusResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoGetFileStatusResponse) SetHeaders(v map[string]*string) *ChatMemoGetFileStatusResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoGetFileStatusResponse) SetStatusCode(v int32) *ChatMemoGetFileStatusResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoGetFileStatusResponse) SetBody(v *ChatMemoGetFileStatusResponseBody) *ChatMemoGetFileStatusResponse {
	s.Body = v
	return s
}

type ChatMemoQueryKnowledgeGraphNodeHeaders 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 (s ChatMemoQueryKnowledgeGraphNodeHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphNodeHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphNodeHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoQueryKnowledgeGraphNodeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoQueryKnowledgeGraphNodeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoQueryKnowledgeGraphNodeRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoQueryKnowledgeGraphNodeRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphNodeRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphNodeRequest) SetBizId(v string) *ChatMemoQueryKnowledgeGraphNodeRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeRequest) SetDatasetId(v int64) *ChatMemoQueryKnowledgeGraphNodeRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeRequest) SetMediaId(v string) *ChatMemoQueryKnowledgeGraphNodeRequest {
	s.MediaId = &v
	return s
}

type ChatMemoQueryKnowledgeGraphNodeResponseBody struct {
	// example:
	//
	// xxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	NodeInfo *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo `json:"nodeInfo,omitempty" xml:"nodeInfo,omitempty" type:"Struct"`
}

func (s ChatMemoQueryKnowledgeGraphNodeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphNodeResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponseBody) SetBizId(v string) *ChatMemoQueryKnowledgeGraphNodeResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponseBody) SetNodeInfo(v *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) *ChatMemoQueryKnowledgeGraphNodeResponseBody {
	s.NodeInfo = v
	return s
}

type ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo struct {
	// example:
	//
	// xxxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 人物
	NodeLabel *string `json:"nodeLabel,omitempty" xml:"nodeLabel,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 刘备
	NodeName *string `json:"nodeName,omitempty" xml:"nodeName,omitempty"`
	// example:
	//
	// {"年龄"：43}
	PropertiesString *string `json:"propertiesString,omitempty" xml:"propertiesString,omitempty"`
}

func (s ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) SetMediaId(v string) *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo {
	s.MediaId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) SetNodeLabel(v string) *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo {
	s.NodeLabel = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) SetNodeName(v string) *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo {
	s.NodeName = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo) SetPropertiesString(v string) *ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo {
	s.PropertiesString = &v
	return s
}

type ChatMemoQueryKnowledgeGraphNodeResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoQueryKnowledgeGraphNodeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoQueryKnowledgeGraphNodeResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphNodeResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponse) SetHeaders(v map[string]*string) *ChatMemoQueryKnowledgeGraphNodeResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponse) SetStatusCode(v int32) *ChatMemoQueryKnowledgeGraphNodeResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphNodeResponse) SetBody(v *ChatMemoQueryKnowledgeGraphNodeResponseBody) *ChatMemoQueryKnowledgeGraphNodeResponse {
	s.Body = v
	return s
}

type ChatMemoQueryKnowledgeGraphRelationHeaders 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 (s ChatMemoQueryKnowledgeGraphRelationHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphRelationHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphRelationHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoQueryKnowledgeGraphRelationHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoQueryKnowledgeGraphRelationHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoQueryKnowledgeGraphRelationRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
}

func (s ChatMemoQueryKnowledgeGraphRelationRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphRelationRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphRelationRequest) SetBizId(v string) *ChatMemoQueryKnowledgeGraphRelationRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationRequest) SetDatasetId(v int64) *ChatMemoQueryKnowledgeGraphRelationRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationRequest) SetMediaId(v string) *ChatMemoQueryKnowledgeGraphRelationRequest {
	s.MediaId = &v
	return s
}

type ChatMemoQueryKnowledgeGraphRelationResponseBody struct {
	// example:
	//
	// xxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	RelationInfo *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo `json:"relationInfo,omitempty" xml:"relationInfo,omitempty" type:"Struct"`
}

func (s ChatMemoQueryKnowledgeGraphRelationResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphRelationResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBody) SetBizId(v string) *ChatMemoQueryKnowledgeGraphRelationResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBody) SetRelationInfo(v *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) *ChatMemoQueryKnowledgeGraphRelationResponseBody {
	s.RelationInfo = v
	return s
}

type ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo struct {
	// example:
	//
	// xxxx
	EndId *string `json:"endId,omitempty" xml:"endId,omitempty"`
	// example:
	//
	// xxxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
	// example:
	//
	// {"年龄"：43}
	PropertiesString *string `json:"propertiesString,omitempty" xml:"propertiesString,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 出生于
	RelationName *string `json:"relationName,omitempty" xml:"relationName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxx
	StartId *string `json:"startId,omitempty" xml:"startId,omitempty"`
}

func (s ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) SetEndId(v string) *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo {
	s.EndId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) SetMediaId(v string) *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo {
	s.MediaId = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) SetPropertiesString(v string) *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo {
	s.PropertiesString = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) SetRelationName(v string) *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo {
	s.RelationName = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo) SetStartId(v string) *ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo {
	s.StartId = &v
	return s
}

type ChatMemoQueryKnowledgeGraphRelationResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoQueryKnowledgeGraphRelationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoQueryKnowledgeGraphRelationResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoQueryKnowledgeGraphRelationResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponse) SetHeaders(v map[string]*string) *ChatMemoQueryKnowledgeGraphRelationResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponse) SetStatusCode(v int32) *ChatMemoQueryKnowledgeGraphRelationResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoQueryKnowledgeGraphRelationResponse) SetBody(v *ChatMemoQueryKnowledgeGraphRelationResponseBody) *ChatMemoQueryKnowledgeGraphRelationResponse {
	s.Body = v
	return s
}

type ChatMemoUpdateKnowledgeGraphNodeHeaders 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 (s ChatMemoUpdateKnowledgeGraphNodeHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphNodeHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphNodeHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoUpdateKnowledgeGraphNodeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoUpdateKnowledgeGraphNodeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoUpdateKnowledgeGraphNodeRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	NodeInfo *ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo `json:"nodeInfo,omitempty" xml:"nodeInfo,omitempty" type:"Struct"`
}

func (s ChatMemoUpdateKnowledgeGraphNodeRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphNodeRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphNodeRequest) SetBizId(v string) *ChatMemoUpdateKnowledgeGraphNodeRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeRequest) SetDatasetId(v int64) *ChatMemoUpdateKnowledgeGraphNodeRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeRequest) SetNodeInfo(v *ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo) *ChatMemoUpdateKnowledgeGraphNodeRequest {
	s.NodeInfo = v
	return s
}

type ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo struct {
	// This parameter is required.
	//
	// example:
	//
	// xxxxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
	// example:
	//
	// {"年龄"：43}
	PropertiesString *string `json:"propertiesString,omitempty" xml:"propertiesString,omitempty"`
}

func (s ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo) SetMediaId(v string) *ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo {
	s.MediaId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo) SetPropertiesString(v string) *ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo {
	s.PropertiesString = &v
	return s
}

type ChatMemoUpdateKnowledgeGraphNodeResponseBody struct {
	// example:
	//
	// xxxxx
	BizId   *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	Success *bool   `json:"success,omitempty" xml:"success,omitempty"`
}

func (s ChatMemoUpdateKnowledgeGraphNodeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphNodeResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphNodeResponseBody) SetBizId(v string) *ChatMemoUpdateKnowledgeGraphNodeResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeResponseBody) SetSuccess(v bool) *ChatMemoUpdateKnowledgeGraphNodeResponseBody {
	s.Success = &v
	return s
}

type ChatMemoUpdateKnowledgeGraphNodeResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoUpdateKnowledgeGraphNodeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoUpdateKnowledgeGraphNodeResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphNodeResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphNodeResponse) SetHeaders(v map[string]*string) *ChatMemoUpdateKnowledgeGraphNodeResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeResponse) SetStatusCode(v int32) *ChatMemoUpdateKnowledgeGraphNodeResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphNodeResponse) SetBody(v *ChatMemoUpdateKnowledgeGraphNodeResponseBody) *ChatMemoUpdateKnowledgeGraphNodeResponse {
	s.Body = v
	return s
}

type ChatMemoUpdateKnowledgeGraphRelationHeaders 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 (s ChatMemoUpdateKnowledgeGraphRelationHeaders) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphRelationHeaders) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphRelationHeaders) SetCommonHeaders(v map[string]*string) *ChatMemoUpdateKnowledgeGraphRelationHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationHeaders) SetXAcsDingtalkAccessToken(v string) *ChatMemoUpdateKnowledgeGraphRelationHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ChatMemoUpdateKnowledgeGraphRelationRequest struct {
	// example:
	//
	// xxxxxx
	BizId *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DatasetId *int64 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	// This parameter is required.
	RelationInfo *ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo `json:"relationInfo,omitempty" xml:"relationInfo,omitempty" type:"Struct"`
}

func (s ChatMemoUpdateKnowledgeGraphRelationRequest) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphRelationRequest) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphRelationRequest) SetBizId(v string) *ChatMemoUpdateKnowledgeGraphRelationRequest {
	s.BizId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationRequest) SetDatasetId(v int64) *ChatMemoUpdateKnowledgeGraphRelationRequest {
	s.DatasetId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationRequest) SetRelationInfo(v *ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo) *ChatMemoUpdateKnowledgeGraphRelationRequest {
	s.RelationInfo = v
	return s
}

type ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo struct {
	// This parameter is required.
	//
	// example:
	//
	// xxxxx
	MediaId *string `json:"mediaId,omitempty" xml:"mediaId,omitempty"`
	// example:
	//
	// {"年龄"：43}
	PropertiesString *string `json:"propertiesString,omitempty" xml:"propertiesString,omitempty"`
}

func (s ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo) SetMediaId(v string) *ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo {
	s.MediaId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo) SetPropertiesString(v string) *ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo {
	s.PropertiesString = &v
	return s
}

type ChatMemoUpdateKnowledgeGraphRelationResponseBody struct {
	// example:
	//
	// xxxxx
	BizId   *string `json:"bizId,omitempty" xml:"bizId,omitempty"`
	Success *bool   `json:"success,omitempty" xml:"success,omitempty"`
}

func (s ChatMemoUpdateKnowledgeGraphRelationResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphRelationResponseBody) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphRelationResponseBody) SetBizId(v string) *ChatMemoUpdateKnowledgeGraphRelationResponseBody {
	s.BizId = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationResponseBody) SetSuccess(v bool) *ChatMemoUpdateKnowledgeGraphRelationResponseBody {
	s.Success = &v
	return s
}

type ChatMemoUpdateKnowledgeGraphRelationResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChatMemoUpdateKnowledgeGraphRelationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ChatMemoUpdateKnowledgeGraphRelationResponse) String() string {
	return tea.Prettify(s)
}

func (s ChatMemoUpdateKnowledgeGraphRelationResponse) GoString() string {
	return s.String()
}

func (s *ChatMemoUpdateKnowledgeGraphRelationResponse) SetHeaders(v map[string]*string) *ChatMemoUpdateKnowledgeGraphRelationResponse {
	s.Headers = v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationResponse) SetStatusCode(v int32) *ChatMemoUpdateKnowledgeGraphRelationResponse {
	s.StatusCode = &v
	return s
}

func (s *ChatMemoUpdateKnowledgeGraphRelationResponse) SetBody(v *ChatMemoUpdateKnowledgeGraphRelationResponseBody) *ChatMemoUpdateKnowledgeGraphRelationResponse {
	s.Body = v
	return s
}

type CollegeActiveCollegeDeptGroupHeaders 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 (s CollegeActiveCollegeDeptGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeActiveCollegeDeptGroupHeaders) GoString() string {
	return s.String()
}

func (s *CollegeActiveCollegeDeptGroupHeaders) SetCommonHeaders(v map[string]*string) *CollegeActiveCollegeDeptGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeActiveCollegeDeptGroupHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeActiveCollegeDeptGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeActiveCollegeDeptGroupRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CollegeActiveCollegeDeptGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeActiveCollegeDeptGroupRequest) GoString() string {
	return s.String()
}

func (s *CollegeActiveCollegeDeptGroupRequest) SetDeptId(v int64) *CollegeActiveCollegeDeptGroupRequest {
	s.DeptId = &v
	return s
}

type CollegeActiveCollegeDeptGroupResponseBody struct {
	// example:
	//
	// 0134124
	OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
}

func (s CollegeActiveCollegeDeptGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeActiveCollegeDeptGroupResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeActiveCollegeDeptGroupResponseBody) SetOpenConversationId(v string) *CollegeActiveCollegeDeptGroupResponseBody {
	s.OpenConversationId = &v
	return s
}

type CollegeActiveCollegeDeptGroupResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeActiveCollegeDeptGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeActiveCollegeDeptGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeActiveCollegeDeptGroupResponse) GoString() string {
	return s.String()
}

func (s *CollegeActiveCollegeDeptGroupResponse) SetHeaders(v map[string]*string) *CollegeActiveCollegeDeptGroupResponse {
	s.Headers = v
	return s
}

func (s *CollegeActiveCollegeDeptGroupResponse) SetStatusCode(v int32) *CollegeActiveCollegeDeptGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeActiveCollegeDeptGroupResponse) SetBody(v *CollegeActiveCollegeDeptGroupResponseBody) *CollegeActiveCollegeDeptGroupResponse {
	s.Body = v
	return s
}

type CollegeAddCollegeDeptHeaders 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 (s CollegeAddCollegeDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddCollegeDeptHeaders) GoString() string {
	return s.String()
}

func (s *CollegeAddCollegeDeptHeaders) SetCommonHeaders(v map[string]*string) *CollegeAddCollegeDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeAddCollegeDeptHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeAddCollegeDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeAddCollegeDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 三年二班
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// class
	DeptType *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10
	SortFactor *int64 `json:"sortFactor,omitempty" xml:"sortFactor,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 22222
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s CollegeAddCollegeDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddCollegeDeptRequest) GoString() string {
	return s.String()
}

func (s *CollegeAddCollegeDeptRequest) SetDeptName(v string) *CollegeAddCollegeDeptRequest {
	s.DeptName = &v
	return s
}

func (s *CollegeAddCollegeDeptRequest) SetDeptType(v string) *CollegeAddCollegeDeptRequest {
	s.DeptType = &v
	return s
}

func (s *CollegeAddCollegeDeptRequest) SetSortFactor(v int64) *CollegeAddCollegeDeptRequest {
	s.SortFactor = &v
	return s
}

func (s *CollegeAddCollegeDeptRequest) SetSuperId(v int64) *CollegeAddCollegeDeptRequest {
	s.SuperId = &v
	return s
}

type CollegeAddCollegeDeptResponseBody struct {
	// example:
	//
	// 123123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CollegeAddCollegeDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddCollegeDeptResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeAddCollegeDeptResponseBody) SetDeptId(v int64) *CollegeAddCollegeDeptResponseBody {
	s.DeptId = &v
	return s
}

type CollegeAddCollegeDeptResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeAddCollegeDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeAddCollegeDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddCollegeDeptResponse) GoString() string {
	return s.String()
}

func (s *CollegeAddCollegeDeptResponse) SetHeaders(v map[string]*string) *CollegeAddCollegeDeptResponse {
	s.Headers = v
	return s
}

func (s *CollegeAddCollegeDeptResponse) SetStatusCode(v int32) *CollegeAddCollegeDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeAddCollegeDeptResponse) SetBody(v *CollegeAddCollegeDeptResponseBody) *CollegeAddCollegeDeptResponse {
	s.Body = v
	return s
}

type CollegeAddManagerHeaders 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 (s CollegeAddManagerHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddManagerHeaders) GoString() string {
	return s.String()
}

func (s *CollegeAddManagerHeaders) SetCommonHeaders(v map[string]*string) *CollegeAddManagerHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeAddManagerHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeAddManagerHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeAddManagerRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 12525
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeAddManagerRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddManagerRequest) GoString() string {
	return s.String()
}

func (s *CollegeAddManagerRequest) SetDeptId(v int64) *CollegeAddManagerRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeAddManagerRequest) SetUserId(v string) *CollegeAddManagerRequest {
	s.UserId = &v
	return s
}

type CollegeAddManagerResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeAddManagerResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddManagerResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeAddManagerResponseBody) SetIsSuccessful(v bool) *CollegeAddManagerResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeAddManagerResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeAddManagerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeAddManagerResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddManagerResponse) GoString() string {
	return s.String()
}

func (s *CollegeAddManagerResponse) SetHeaders(v map[string]*string) *CollegeAddManagerResponse {
	s.Headers = v
	return s
}

func (s *CollegeAddManagerResponse) SetStatusCode(v int32) *CollegeAddManagerResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeAddManagerResponse) SetBody(v *CollegeAddManagerResponseBody) *CollegeAddManagerResponse {
	s.Body = v
	return s
}

type CollegeAddStudentHeaders 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 (s CollegeAddStudentHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddStudentHeaders) GoString() string {
	return s.String()
}

func (s *CollegeAddStudentHeaders) SetCommonHeaders(v map[string]*string) *CollegeAddStudentHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeAddStudentHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeAddStudentHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeAddStudentRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 6235234
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// ”city“:"Beijing"
	EmpExtension map[string]*string `json:"empExtension,omitempty" xml:"empExtension,omitempty"`
	// example:
	//
	// male
	Gender *string `json:"gender,omitempty" xml:"gender,omitempty"`
	// example:
	//
	// 11019xxxxxx0001
	IdentifyId *string `json:"identifyId,omitempty" xml:"identifyId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 186xxxxxxxx
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// example:
	//
	// 2015
	StartYear *string `json:"startYear,omitempty" xml:"startYear,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// mf1922051
	StudentNumber *string `json:"studentNumber,omitempty" xml:"studentNumber,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeAddStudentRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddStudentRequest) GoString() string {
	return s.String()
}

func (s *CollegeAddStudentRequest) SetDeptId(v int64) *CollegeAddStudentRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeAddStudentRequest) SetEmpExtension(v map[string]*string) *CollegeAddStudentRequest {
	s.EmpExtension = v
	return s
}

func (s *CollegeAddStudentRequest) SetGender(v string) *CollegeAddStudentRequest {
	s.Gender = &v
	return s
}

func (s *CollegeAddStudentRequest) SetIdentifyId(v string) *CollegeAddStudentRequest {
	s.IdentifyId = &v
	return s
}

func (s *CollegeAddStudentRequest) SetMobile(v string) *CollegeAddStudentRequest {
	s.Mobile = &v
	return s
}

func (s *CollegeAddStudentRequest) SetStartYear(v string) *CollegeAddStudentRequest {
	s.StartYear = &v
	return s
}

func (s *CollegeAddStudentRequest) SetStudentName(v string) *CollegeAddStudentRequest {
	s.StudentName = &v
	return s
}

func (s *CollegeAddStudentRequest) SetStudentNumber(v string) *CollegeAddStudentRequest {
	s.StudentNumber = &v
	return s
}

func (s *CollegeAddStudentRequest) SetUserId(v string) *CollegeAddStudentRequest {
	s.UserId = &v
	return s
}

type CollegeAddStudentResponseBody struct {
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// example:
	//
	// true
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 11111111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeAddStudentResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddStudentResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeAddStudentResponseBody) SetDingMemberStatus(v string) *CollegeAddStudentResponseBody {
	s.DingMemberStatus = &v
	return s
}

func (s *CollegeAddStudentResponseBody) SetIsActive(v bool) *CollegeAddStudentResponseBody {
	s.IsActive = &v
	return s
}

func (s *CollegeAddStudentResponseBody) SetStudentId(v int64) *CollegeAddStudentResponseBody {
	s.StudentId = &v
	return s
}

func (s *CollegeAddStudentResponseBody) SetUnionId(v string) *CollegeAddStudentResponseBody {
	s.UnionId = &v
	return s
}

func (s *CollegeAddStudentResponseBody) SetUserId(v string) *CollegeAddStudentResponseBody {
	s.UserId = &v
	return s
}

type CollegeAddStudentResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeAddStudentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeAddStudentResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeAddStudentResponse) GoString() string {
	return s.String()
}

func (s *CollegeAddStudentResponse) SetHeaders(v map[string]*string) *CollegeAddStudentResponse {
	s.Headers = v
	return s
}

func (s *CollegeAddStudentResponse) SetStatusCode(v int32) *CollegeAddStudentResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeAddStudentResponse) SetBody(v *CollegeAddStudentResponseBody) *CollegeAddStudentResponse {
	s.Body = v
	return s
}

type CollegeChangeStudentDeptHeaders 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 (s CollegeChangeStudentDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeChangeStudentDeptHeaders) GoString() string {
	return s.String()
}

func (s *CollegeChangeStudentDeptHeaders) SetCommonHeaders(v map[string]*string) *CollegeChangeStudentDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeChangeStudentDeptHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeChangeStudentDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeChangeStudentDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 222222
	NewDeptId *int64 `json:"newDeptId,omitempty" xml:"newDeptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 33333
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
}

func (s CollegeChangeStudentDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeChangeStudentDeptRequest) GoString() string {
	return s.String()
}

func (s *CollegeChangeStudentDeptRequest) SetDeptId(v int64) *CollegeChangeStudentDeptRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeChangeStudentDeptRequest) SetNewDeptId(v int64) *CollegeChangeStudentDeptRequest {
	s.NewDeptId = &v
	return s
}

func (s *CollegeChangeStudentDeptRequest) SetStudentId(v int64) *CollegeChangeStudentDeptRequest {
	s.StudentId = &v
	return s
}

type CollegeChangeStudentDeptResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeChangeStudentDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeChangeStudentDeptResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeChangeStudentDeptResponseBody) SetIsSuccessful(v bool) *CollegeChangeStudentDeptResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeChangeStudentDeptResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeChangeStudentDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeChangeStudentDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeChangeStudentDeptResponse) GoString() string {
	return s.String()
}

func (s *CollegeChangeStudentDeptResponse) SetHeaders(v map[string]*string) *CollegeChangeStudentDeptResponse {
	s.Headers = v
	return s
}

func (s *CollegeChangeStudentDeptResponse) SetStatusCode(v int32) *CollegeChangeStudentDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeChangeStudentDeptResponse) SetBody(v *CollegeChangeStudentDeptResponseBody) *CollegeChangeStudentDeptResponse {
	s.Body = v
	return s
}

type CollegeDeleteCollegeDeptHeaders 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 (s CollegeDeleteCollegeDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeDeleteCollegeDeptHeaders) GoString() string {
	return s.String()
}

func (s *CollegeDeleteCollegeDeptHeaders) SetCommonHeaders(v map[string]*string) *CollegeDeleteCollegeDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeDeleteCollegeDeptHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeDeleteCollegeDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeDeleteCollegeDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CollegeDeleteCollegeDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeDeleteCollegeDeptRequest) GoString() string {
	return s.String()
}

func (s *CollegeDeleteCollegeDeptRequest) SetDeptId(v int64) *CollegeDeleteCollegeDeptRequest {
	s.DeptId = &v
	return s
}

type CollegeDeleteCollegeDeptResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeDeleteCollegeDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeDeleteCollegeDeptResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeDeleteCollegeDeptResponseBody) SetIsSuccessful(v bool) *CollegeDeleteCollegeDeptResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeDeleteCollegeDeptResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeDeleteCollegeDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeDeleteCollegeDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeDeleteCollegeDeptResponse) GoString() string {
	return s.String()
}

func (s *CollegeDeleteCollegeDeptResponse) SetHeaders(v map[string]*string) *CollegeDeleteCollegeDeptResponse {
	s.Headers = v
	return s
}

func (s *CollegeDeleteCollegeDeptResponse) SetStatusCode(v int32) *CollegeDeleteCollegeDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeDeleteCollegeDeptResponse) SetBody(v *CollegeDeleteCollegeDeptResponseBody) *CollegeDeleteCollegeDeptResponse {
	s.Body = v
	return s
}

type CollegeListCollegeSubDeptHeaders 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 (s CollegeListCollegeSubDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeListCollegeSubDeptHeaders) GoString() string {
	return s.String()
}

func (s *CollegeListCollegeSubDeptHeaders) SetCommonHeaders(v map[string]*string) *CollegeListCollegeSubDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeListCollegeSubDeptHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeListCollegeSubDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeListCollegeSubDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CollegeListCollegeSubDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeListCollegeSubDeptRequest) GoString() string {
	return s.String()
}

func (s *CollegeListCollegeSubDeptRequest) SetDeptId(v int64) *CollegeListCollegeSubDeptRequest {
	s.DeptId = &v
	return s
}

type CollegeListCollegeSubDeptResponseBody struct {
	CollegeDeptInfoSimpleList []*CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList `json:"collegeDeptInfoSimpleList,omitempty" xml:"collegeDeptInfoSimpleList,omitempty" type:"Repeated"`
}

func (s CollegeListCollegeSubDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeListCollegeSubDeptResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeListCollegeSubDeptResponseBody) SetCollegeDeptInfoSimpleList(v []*CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList) *CollegeListCollegeSubDeptResponseBody {
	s.CollegeDeptInfoSimpleList = v
	return s
}

type CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList struct {
	// example:
	//
	// 01123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 三年二班
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// class
	DeptType *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
}

func (s CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList) String() string {
	return tea.Prettify(s)
}

func (s CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList) GoString() string {
	return s.String()
}

func (s *CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList) SetDeptId(v int64) *CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList {
	s.DeptId = &v
	return s
}

func (s *CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList) SetDeptName(v string) *CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList {
	s.DeptName = &v
	return s
}

func (s *CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList) SetDeptType(v string) *CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList {
	s.DeptType = &v
	return s
}

type CollegeListCollegeSubDeptResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeListCollegeSubDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeListCollegeSubDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeListCollegeSubDeptResponse) GoString() string {
	return s.String()
}

func (s *CollegeListCollegeSubDeptResponse) SetHeaders(v map[string]*string) *CollegeListCollegeSubDeptResponse {
	s.Headers = v
	return s
}

func (s *CollegeListCollegeSubDeptResponse) SetStatusCode(v int32) *CollegeListCollegeSubDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeListCollegeSubDeptResponse) SetBody(v *CollegeListCollegeSubDeptResponseBody) *CollegeListCollegeSubDeptResponse {
	s.Body = v
	return s
}

type CollegeListDeptManagerHeaders 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 (s CollegeListDeptManagerHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeListDeptManagerHeaders) GoString() string {
	return s.String()
}

func (s *CollegeListDeptManagerHeaders) SetCommonHeaders(v map[string]*string) *CollegeListDeptManagerHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeListDeptManagerHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeListDeptManagerHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeListDeptManagerRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s CollegeListDeptManagerRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeListDeptManagerRequest) GoString() string {
	return s.String()
}

func (s *CollegeListDeptManagerRequest) SetDeptId(v int64) *CollegeListDeptManagerRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeListDeptManagerRequest) SetPageNumber(v int64) *CollegeListDeptManagerRequest {
	s.PageNumber = &v
	return s
}

func (s *CollegeListDeptManagerRequest) SetPageSize(v int64) *CollegeListDeptManagerRequest {
	s.PageSize = &v
	return s
}

type CollegeListDeptManagerResponseBody struct {
	ManagerInfoSimpleList []*CollegeListDeptManagerResponseBodyManagerInfoSimpleList `json:"managerInfoSimpleList,omitempty" xml:"managerInfoSimpleList,omitempty" type:"Repeated"`
	// example:
	//
	// 1000
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s CollegeListDeptManagerResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeListDeptManagerResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeListDeptManagerResponseBody) SetManagerInfoSimpleList(v []*CollegeListDeptManagerResponseBodyManagerInfoSimpleList) *CollegeListDeptManagerResponseBody {
	s.ManagerInfoSimpleList = v
	return s
}

func (s *CollegeListDeptManagerResponseBody) SetTotalCount(v int64) *CollegeListDeptManagerResponseBody {
	s.TotalCount = &v
	return s
}

type CollegeListDeptManagerResponseBodyManagerInfoSimpleList struct {
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 张三
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeListDeptManagerResponseBodyManagerInfoSimpleList) String() string {
	return tea.Prettify(s)
}

func (s CollegeListDeptManagerResponseBodyManagerInfoSimpleList) GoString() string {
	return s.String()
}

func (s *CollegeListDeptManagerResponseBodyManagerInfoSimpleList) SetIsActive(v bool) *CollegeListDeptManagerResponseBodyManagerInfoSimpleList {
	s.IsActive = &v
	return s
}

func (s *CollegeListDeptManagerResponseBodyManagerInfoSimpleList) SetName(v string) *CollegeListDeptManagerResponseBodyManagerInfoSimpleList {
	s.Name = &v
	return s
}

func (s *CollegeListDeptManagerResponseBodyManagerInfoSimpleList) SetUserId(v string) *CollegeListDeptManagerResponseBodyManagerInfoSimpleList {
	s.UserId = &v
	return s
}

type CollegeListDeptManagerResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeListDeptManagerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeListDeptManagerResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeListDeptManagerResponse) GoString() string {
	return s.String()
}

func (s *CollegeListDeptManagerResponse) SetHeaders(v map[string]*string) *CollegeListDeptManagerResponse {
	s.Headers = v
	return s
}

func (s *CollegeListDeptManagerResponse) SetStatusCode(v int32) *CollegeListDeptManagerResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeListDeptManagerResponse) SetBody(v *CollegeListDeptManagerResponseBody) *CollegeListDeptManagerResponse {
	s.Body = v
	return s
}

type CollegeListStudentInfoHeaders 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 (s CollegeListStudentInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeListStudentInfoHeaders) GoString() string {
	return s.String()
}

func (s *CollegeListStudentInfoHeaders) SetCommonHeaders(v map[string]*string) *CollegeListStudentInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeListStudentInfoHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeListStudentInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeListStudentInfoRequest struct {
	// This parameter is required.
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// UNCHECKED
	DingStudentStatus *string `json:"dingStudentStatus,omitempty" xml:"dingStudentStatus,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s CollegeListStudentInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeListStudentInfoRequest) GoString() string {
	return s.String()
}

func (s *CollegeListStudentInfoRequest) SetDeptId(v int64) *CollegeListStudentInfoRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeListStudentInfoRequest) SetDingStudentStatus(v string) *CollegeListStudentInfoRequest {
	s.DingStudentStatus = &v
	return s
}

func (s *CollegeListStudentInfoRequest) SetPageNumber(v int64) *CollegeListStudentInfoRequest {
	s.PageNumber = &v
	return s
}

func (s *CollegeListStudentInfoRequest) SetPageSize(v int64) *CollegeListStudentInfoRequest {
	s.PageSize = &v
	return s
}

type CollegeListStudentInfoResponseBody struct {
	StudentInfoSimpleList []*CollegeListStudentInfoResponseBodyStudentInfoSimpleList `json:"studentInfoSimpleList,omitempty" xml:"studentInfoSimpleList,omitempty" type:"Repeated"`
	// example:
	//
	// 10
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s CollegeListStudentInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeListStudentInfoResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeListStudentInfoResponseBody) SetStudentInfoSimpleList(v []*CollegeListStudentInfoResponseBodyStudentInfoSimpleList) *CollegeListStudentInfoResponseBody {
	s.StudentInfoSimpleList = v
	return s
}

func (s *CollegeListStudentInfoResponseBody) SetTotalCount(v int64) *CollegeListStudentInfoResponseBody {
	s.TotalCount = &v
	return s
}

type CollegeListStudentInfoResponseBodyStudentInfoSimpleList struct {
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	IsActive         *bool   `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// example:
	//
	// 11111111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeListStudentInfoResponseBodyStudentInfoSimpleList) String() string {
	return tea.Prettify(s)
}

func (s CollegeListStudentInfoResponseBodyStudentInfoSimpleList) GoString() string {
	return s.String()
}

func (s *CollegeListStudentInfoResponseBodyStudentInfoSimpleList) SetDingMemberStatus(v string) *CollegeListStudentInfoResponseBodyStudentInfoSimpleList {
	s.DingMemberStatus = &v
	return s
}

func (s *CollegeListStudentInfoResponseBodyStudentInfoSimpleList) SetIsActive(v bool) *CollegeListStudentInfoResponseBodyStudentInfoSimpleList {
	s.IsActive = &v
	return s
}

func (s *CollegeListStudentInfoResponseBodyStudentInfoSimpleList) SetStudentId(v int64) *CollegeListStudentInfoResponseBodyStudentInfoSimpleList {
	s.StudentId = &v
	return s
}

func (s *CollegeListStudentInfoResponseBodyStudentInfoSimpleList) SetStudentName(v string) *CollegeListStudentInfoResponseBodyStudentInfoSimpleList {
	s.StudentName = &v
	return s
}

func (s *CollegeListStudentInfoResponseBodyStudentInfoSimpleList) SetUnionId(v string) *CollegeListStudentInfoResponseBodyStudentInfoSimpleList {
	s.UnionId = &v
	return s
}

func (s *CollegeListStudentInfoResponseBodyStudentInfoSimpleList) SetUserId(v string) *CollegeListStudentInfoResponseBodyStudentInfoSimpleList {
	s.UserId = &v
	return s
}

type CollegeListStudentInfoResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeListStudentInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeListStudentInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeListStudentInfoResponse) GoString() string {
	return s.String()
}

func (s *CollegeListStudentInfoResponse) SetHeaders(v map[string]*string) *CollegeListStudentInfoResponse {
	s.Headers = v
	return s
}

func (s *CollegeListStudentInfoResponse) SetStatusCode(v int32) *CollegeListStudentInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeListStudentInfoResponse) SetBody(v *CollegeListStudentInfoResponseBody) *CollegeListStudentInfoResponse {
	s.Body = v
	return s
}

type CollegeListUncheckedStudentHeaders 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 (s CollegeListUncheckedStudentHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeListUncheckedStudentHeaders) GoString() string {
	return s.String()
}

func (s *CollegeListUncheckedStudentHeaders) SetCommonHeaders(v map[string]*string) *CollegeListUncheckedStudentHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeListUncheckedStudentHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeListUncheckedStudentHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeListUncheckedStudentRequest struct {
	// example:
	//
	// 1111111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s CollegeListUncheckedStudentRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeListUncheckedStudentRequest) GoString() string {
	return s.String()
}

func (s *CollegeListUncheckedStudentRequest) SetDeptId(v int64) *CollegeListUncheckedStudentRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeListUncheckedStudentRequest) SetPageNumber(v int64) *CollegeListUncheckedStudentRequest {
	s.PageNumber = &v
	return s
}

func (s *CollegeListUncheckedStudentRequest) SetPageSize(v int64) *CollegeListUncheckedStudentRequest {
	s.PageSize = &v
	return s
}

type CollegeListUncheckedStudentResponseBody struct {
	StudentInfoSimpleList []*CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList `json:"studentInfoSimpleList,omitempty" xml:"studentInfoSimpleList,omitempty" type:"Repeated"`
	// example:
	//
	// 10
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s CollegeListUncheckedStudentResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeListUncheckedStudentResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeListUncheckedStudentResponseBody) SetStudentInfoSimpleList(v []*CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) *CollegeListUncheckedStudentResponseBody {
	s.StudentInfoSimpleList = v
	return s
}

func (s *CollegeListUncheckedStudentResponseBody) SetTotalCount(v int64) *CollegeListUncheckedStudentResponseBody {
	s.TotalCount = &v
	return s
}

type CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList struct {
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	IsActive         *bool   `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// example:
	//
	// 11111111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) String() string {
	return tea.Prettify(s)
}

func (s CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) GoString() string {
	return s.String()
}

func (s *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) SetDingMemberStatus(v string) *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList {
	s.DingMemberStatus = &v
	return s
}

func (s *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) SetIsActive(v bool) *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList {
	s.IsActive = &v
	return s
}

func (s *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) SetStudentId(v int64) *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList {
	s.StudentId = &v
	return s
}

func (s *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) SetStudentName(v string) *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList {
	s.StudentName = &v
	return s
}

func (s *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) SetUnionId(v string) *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList {
	s.UnionId = &v
	return s
}

func (s *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList) SetUserId(v string) *CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList {
	s.UserId = &v
	return s
}

type CollegeListUncheckedStudentResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeListUncheckedStudentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeListUncheckedStudentResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeListUncheckedStudentResponse) GoString() string {
	return s.String()
}

func (s *CollegeListUncheckedStudentResponse) SetHeaders(v map[string]*string) *CollegeListUncheckedStudentResponse {
	s.Headers = v
	return s
}

func (s *CollegeListUncheckedStudentResponse) SetStatusCode(v int32) *CollegeListUncheckedStudentResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeListUncheckedStudentResponse) SetBody(v *CollegeListUncheckedStudentResponseBody) *CollegeListUncheckedStudentResponse {
	s.Body = v
	return s
}

type CollegeQueryCollegeDeptGroupInfoHeaders 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 (s CollegeQueryCollegeDeptGroupInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptGroupInfoHeaders) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptGroupInfoHeaders) SetCommonHeaders(v map[string]*string) *CollegeQueryCollegeDeptGroupInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeQueryCollegeDeptGroupInfoHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeQueryCollegeDeptGroupInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeQueryCollegeDeptGroupInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CollegeQueryCollegeDeptGroupInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptGroupInfoRequest) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptGroupInfoRequest) SetDeptId(v int64) *CollegeQueryCollegeDeptGroupInfoRequest {
	s.DeptId = &v
	return s
}

type CollegeQueryCollegeDeptGroupInfoResponseBody struct {
	// example:
	//
	// xxx全员群
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	// example:
	//
	// 0124215
	OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
}

func (s CollegeQueryCollegeDeptGroupInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptGroupInfoResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptGroupInfoResponseBody) SetGroupName(v string) *CollegeQueryCollegeDeptGroupInfoResponseBody {
	s.GroupName = &v
	return s
}

func (s *CollegeQueryCollegeDeptGroupInfoResponseBody) SetOpenConversationId(v string) *CollegeQueryCollegeDeptGroupInfoResponseBody {
	s.OpenConversationId = &v
	return s
}

type CollegeQueryCollegeDeptGroupInfoResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeQueryCollegeDeptGroupInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeQueryCollegeDeptGroupInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptGroupInfoResponse) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptGroupInfoResponse) SetHeaders(v map[string]*string) *CollegeQueryCollegeDeptGroupInfoResponse {
	s.Headers = v
	return s
}

func (s *CollegeQueryCollegeDeptGroupInfoResponse) SetStatusCode(v int32) *CollegeQueryCollegeDeptGroupInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeQueryCollegeDeptGroupInfoResponse) SetBody(v *CollegeQueryCollegeDeptGroupInfoResponseBody) *CollegeQueryCollegeDeptGroupInfoResponse {
	s.Body = v
	return s
}

type CollegeQueryCollegeDeptInfoHeaders 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 (s CollegeQueryCollegeDeptInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptInfoHeaders) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptInfoHeaders) SetCommonHeaders(v map[string]*string) *CollegeQueryCollegeDeptInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeQueryCollegeDeptInfoHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeQueryCollegeDeptInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeQueryCollegeDeptInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CollegeQueryCollegeDeptInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptInfoRequest) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptInfoRequest) SetDeptId(v int64) *CollegeQueryCollegeDeptInfoRequest {
	s.DeptId = &v
	return s
}

type CollegeQueryCollegeDeptInfoResponseBody struct {
	// example:
	//
	// 01123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 三年二班
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// class
	DeptType *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
	// example:
	//
	// 1
	SortFactor *int64 `json:"sortFactor,omitempty" xml:"sortFactor,omitempty"`
	// example:
	//
	// 0123123
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s CollegeQueryCollegeDeptInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptInfoResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptInfoResponseBody) SetDeptId(v int64) *CollegeQueryCollegeDeptInfoResponseBody {
	s.DeptId = &v
	return s
}

func (s *CollegeQueryCollegeDeptInfoResponseBody) SetDeptName(v string) *CollegeQueryCollegeDeptInfoResponseBody {
	s.DeptName = &v
	return s
}

func (s *CollegeQueryCollegeDeptInfoResponseBody) SetDeptType(v string) *CollegeQueryCollegeDeptInfoResponseBody {
	s.DeptType = &v
	return s
}

func (s *CollegeQueryCollegeDeptInfoResponseBody) SetSortFactor(v int64) *CollegeQueryCollegeDeptInfoResponseBody {
	s.SortFactor = &v
	return s
}

func (s *CollegeQueryCollegeDeptInfoResponseBody) SetSuperId(v int64) *CollegeQueryCollegeDeptInfoResponseBody {
	s.SuperId = &v
	return s
}

type CollegeQueryCollegeDeptInfoResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeQueryCollegeDeptInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeQueryCollegeDeptInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryCollegeDeptInfoResponse) GoString() string {
	return s.String()
}

func (s *CollegeQueryCollegeDeptInfoResponse) SetHeaders(v map[string]*string) *CollegeQueryCollegeDeptInfoResponse {
	s.Headers = v
	return s
}

func (s *CollegeQueryCollegeDeptInfoResponse) SetStatusCode(v int32) *CollegeQueryCollegeDeptInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeQueryCollegeDeptInfoResponse) SetBody(v *CollegeQueryCollegeDeptInfoResponseBody) *CollegeQueryCollegeDeptInfoResponse {
	s.Body = v
	return s
}

type CollegeQueryStudentInfoByDeptHeaders 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 (s CollegeQueryStudentInfoByDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByDeptHeaders) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByDeptHeaders) SetCommonHeaders(v map[string]*string) *CollegeQueryStudentInfoByDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeQueryStudentInfoByDeptHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeQueryStudentInfoByDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeQueryStudentInfoByDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 22222
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
}

func (s CollegeQueryStudentInfoByDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByDeptRequest) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByDeptRequest) SetDeptId(v int64) *CollegeQueryStudentInfoByDeptRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptRequest) SetStudentId(v int64) *CollegeQueryStudentInfoByDeptRequest {
	s.StudentId = &v
	return s
}

type CollegeQueryStudentInfoByDeptResponseBody struct {
	// example:
	//
	// 01123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// example:
	//
	// ”city“:"Beijing"
	EmpExtension map[string]interface{} `json:"empExtension,omitempty" xml:"empExtension,omitempty"`
	// example:
	//
	// male
	Gender *string `json:"gender,omitempty" xml:"gender,omitempty"`
	// example:
	//
	// 11019xxxxxx0001
	IdentifyId *string `json:"identifyId,omitempty" xml:"identifyId,omitempty"`
	// example:
	//
	// true
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 2015
	StartYear *string `json:"startYear,omitempty" xml:"startYear,omitempty"`
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// example:
	//
	// mf1922051
	StudentNumber *string `json:"studentNumber,omitempty" xml:"studentNumber,omitempty"`
	// example:
	//
	// 11111111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeQueryStudentInfoByDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByDeptResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetDeptId(v int64) *CollegeQueryStudentInfoByDeptResponseBody {
	s.DeptId = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetDingMemberStatus(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.DingMemberStatus = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetEmpExtension(v map[string]interface{}) *CollegeQueryStudentInfoByDeptResponseBody {
	s.EmpExtension = v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetGender(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.Gender = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetIdentifyId(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.IdentifyId = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetIsActive(v bool) *CollegeQueryStudentInfoByDeptResponseBody {
	s.IsActive = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetStartYear(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.StartYear = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetStudentId(v int64) *CollegeQueryStudentInfoByDeptResponseBody {
	s.StudentId = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetStudentName(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.StudentName = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetStudentNumber(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.StudentNumber = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetUnionId(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.UnionId = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponseBody) SetUserId(v string) *CollegeQueryStudentInfoByDeptResponseBody {
	s.UserId = &v
	return s
}

type CollegeQueryStudentInfoByDeptResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeQueryStudentInfoByDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeQueryStudentInfoByDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByDeptResponse) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByDeptResponse) SetHeaders(v map[string]*string) *CollegeQueryStudentInfoByDeptResponse {
	s.Headers = v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponse) SetStatusCode(v int32) *CollegeQueryStudentInfoByDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeQueryStudentInfoByDeptResponse) SetBody(v *CollegeQueryStudentInfoByDeptResponseBody) *CollegeQueryStudentInfoByDeptResponse {
	s.Body = v
	return s
}

type CollegeQueryStudentInfoByMobileHeaders 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 (s CollegeQueryStudentInfoByMobileHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByMobileHeaders) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByMobileHeaders) SetCommonHeaders(v map[string]*string) *CollegeQueryStudentInfoByMobileHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeQueryStudentInfoByMobileHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeQueryStudentInfoByMobileHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeQueryStudentInfoByMobileRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 187xxxxxxxx
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
}

func (s CollegeQueryStudentInfoByMobileRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByMobileRequest) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByMobileRequest) SetMobile(v string) *CollegeQueryStudentInfoByMobileRequest {
	s.Mobile = &v
	return s
}

type CollegeQueryStudentInfoByMobileResponseBody struct {
	DeptStudentInfoList []*CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList `json:"deptStudentInfoList,omitempty" xml:"deptStudentInfoList,omitempty" type:"Repeated"`
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// example:
	//
	// ”city“:"Beijing"
	EmpExtension map[string]interface{} `json:"empExtension,omitempty" xml:"empExtension,omitempty"`
	// example:
	//
	// male
	Gender *string `json:"gender,omitempty" xml:"gender,omitempty"`
	// example:
	//
	// 11019xxxxxx0001
	IdentifyId *string `json:"identifyId,omitempty" xml:"identifyId,omitempty"`
	// example:
	//
	// true
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 2015
	StartYear *string `json:"startYear,omitempty" xml:"startYear,omitempty"`
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// example:
	//
	// 11111111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeQueryStudentInfoByMobileResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByMobileResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetDeptStudentInfoList(v []*CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList) *CollegeQueryStudentInfoByMobileResponseBody {
	s.DeptStudentInfoList = v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetDingMemberStatus(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.DingMemberStatus = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetEmpExtension(v map[string]interface{}) *CollegeQueryStudentInfoByMobileResponseBody {
	s.EmpExtension = v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetGender(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.Gender = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetIdentifyId(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.IdentifyId = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetIsActive(v bool) *CollegeQueryStudentInfoByMobileResponseBody {
	s.IsActive = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetStartYear(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.StartYear = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetStudentId(v int64) *CollegeQueryStudentInfoByMobileResponseBody {
	s.StudentId = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetStudentName(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.StudentName = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetUnionId(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.UnionId = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBody) SetUserId(v string) *CollegeQueryStudentInfoByMobileResponseBody {
	s.UserId = &v
	return s
}

type CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList struct {
	// example:
	//
	// 01123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// student
	MemberType *string `json:"memberType,omitempty" xml:"memberType,omitempty"`
	// example:
	//
	// mf1922051
	StudentNumber *string `json:"studentNumber,omitempty" xml:"studentNumber,omitempty"`
}

func (s CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList) SetDeptId(v int64) *CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList {
	s.DeptId = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList) SetMemberType(v string) *CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList {
	s.MemberType = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList) SetStudentNumber(v string) *CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList {
	s.StudentNumber = &v
	return s
}

type CollegeQueryStudentInfoByMobileResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeQueryStudentInfoByMobileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeQueryStudentInfoByMobileResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByMobileResponse) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByMobileResponse) SetHeaders(v map[string]*string) *CollegeQueryStudentInfoByMobileResponse {
	s.Headers = v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponse) SetStatusCode(v int32) *CollegeQueryStudentInfoByMobileResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeQueryStudentInfoByMobileResponse) SetBody(v *CollegeQueryStudentInfoByMobileResponseBody) *CollegeQueryStudentInfoByMobileResponse {
	s.Body = v
	return s
}

type CollegeQueryStudentInfoByStudentIdHeaders 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 (s CollegeQueryStudentInfoByStudentIdHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByStudentIdHeaders) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByStudentIdHeaders) SetCommonHeaders(v map[string]*string) *CollegeQueryStudentInfoByStudentIdHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeQueryStudentInfoByStudentIdHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeQueryStudentInfoByStudentIdRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 22222
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
}

func (s CollegeQueryStudentInfoByStudentIdRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByStudentIdRequest) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByStudentIdRequest) SetStudentId(v int64) *CollegeQueryStudentInfoByStudentIdRequest {
	s.StudentId = &v
	return s
}

type CollegeQueryStudentInfoByStudentIdResponseBody struct {
	DeptStudentInfoList []*CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList `json:"deptStudentInfoList,omitempty" xml:"deptStudentInfoList,omitempty" type:"Repeated"`
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// example:
	//
	// ”city“:"Beijing"
	EmpExtension map[string]interface{} `json:"empExtension,omitempty" xml:"empExtension,omitempty"`
	// example:
	//
	// male
	Gender *string `json:"gender,omitempty" xml:"gender,omitempty"`
	// example:
	//
	// 11019xxxxxx0001
	IdentifyId *string `json:"identifyId,omitempty" xml:"identifyId,omitempty"`
	// example:
	//
	// true
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 2015
	StartYear *string `json:"startYear,omitempty" xml:"startYear,omitempty"`
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// example:
	//
	// 11111111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0324124
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeQueryStudentInfoByStudentIdResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByStudentIdResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetDeptStudentInfoList(v []*CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.DeptStudentInfoList = v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetDingMemberStatus(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.DingMemberStatus = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetEmpExtension(v map[string]interface{}) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.EmpExtension = v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetGender(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.Gender = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetIdentifyId(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.IdentifyId = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetIsActive(v bool) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.IsActive = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetStartYear(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.StartYear = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetStudentId(v int64) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.StudentId = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetStudentName(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.StudentName = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetUnionId(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.UnionId = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBody) SetUserId(v string) *CollegeQueryStudentInfoByStudentIdResponseBody {
	s.UserId = &v
	return s
}

type CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList struct {
	// example:
	//
	// 01123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// student
	MemberType *string `json:"memberType,omitempty" xml:"memberType,omitempty"`
	// example:
	//
	// mf1922051
	StudentNumber *string `json:"studentNumber,omitempty" xml:"studentNumber,omitempty"`
}

func (s CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList) SetDeptId(v int64) *CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList {
	s.DeptId = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList) SetMemberType(v string) *CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList {
	s.MemberType = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList) SetStudentNumber(v string) *CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList {
	s.StudentNumber = &v
	return s
}

type CollegeQueryStudentInfoByStudentIdResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeQueryStudentInfoByStudentIdResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeQueryStudentInfoByStudentIdResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeQueryStudentInfoByStudentIdResponse) GoString() string {
	return s.String()
}

func (s *CollegeQueryStudentInfoByStudentIdResponse) SetHeaders(v map[string]*string) *CollegeQueryStudentInfoByStudentIdResponse {
	s.Headers = v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponse) SetStatusCode(v int32) *CollegeQueryStudentInfoByStudentIdResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeQueryStudentInfoByStudentIdResponse) SetBody(v *CollegeQueryStudentInfoByStudentIdResponseBody) *CollegeQueryStudentInfoByStudentIdResponse {
	s.Body = v
	return s
}

type CollegeRemoveManagerHeaders 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 (s CollegeRemoveManagerHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveManagerHeaders) GoString() string {
	return s.String()
}

func (s *CollegeRemoveManagerHeaders) SetCommonHeaders(v map[string]*string) *CollegeRemoveManagerHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeRemoveManagerHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeRemoveManagerHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeRemoveManagerRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// true
	IsForce *bool `json:"isForce,omitempty" xml:"isForce,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 12345
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CollegeRemoveManagerRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveManagerRequest) GoString() string {
	return s.String()
}

func (s *CollegeRemoveManagerRequest) SetDeptId(v int64) *CollegeRemoveManagerRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeRemoveManagerRequest) SetIsForce(v bool) *CollegeRemoveManagerRequest {
	s.IsForce = &v
	return s
}

func (s *CollegeRemoveManagerRequest) SetUserId(v string) *CollegeRemoveManagerRequest {
	s.UserId = &v
	return s
}

type CollegeRemoveManagerResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeRemoveManagerResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveManagerResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeRemoveManagerResponseBody) SetIsSuccessful(v bool) *CollegeRemoveManagerResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeRemoveManagerResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeRemoveManagerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeRemoveManagerResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveManagerResponse) GoString() string {
	return s.String()
}

func (s *CollegeRemoveManagerResponse) SetHeaders(v map[string]*string) *CollegeRemoveManagerResponse {
	s.Headers = v
	return s
}

func (s *CollegeRemoveManagerResponse) SetStatusCode(v int32) *CollegeRemoveManagerResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeRemoveManagerResponse) SetBody(v *CollegeRemoveManagerResponseBody) *CollegeRemoveManagerResponse {
	s.Body = v
	return s
}

type CollegeRemoveStudentHeaders 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 (s CollegeRemoveStudentHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveStudentHeaders) GoString() string {
	return s.String()
}

func (s *CollegeRemoveStudentHeaders) SetCommonHeaders(v map[string]*string) *CollegeRemoveStudentHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeRemoveStudentHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeRemoveStudentHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeRemoveStudentRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2222
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
}

func (s CollegeRemoveStudentRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveStudentRequest) GoString() string {
	return s.String()
}

func (s *CollegeRemoveStudentRequest) SetDeptId(v int64) *CollegeRemoveStudentRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeRemoveStudentRequest) SetStudentId(v int64) *CollegeRemoveStudentRequest {
	s.StudentId = &v
	return s
}

type CollegeRemoveStudentResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeRemoveStudentResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveStudentResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeRemoveStudentResponseBody) SetIsSuccessful(v bool) *CollegeRemoveStudentResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeRemoveStudentResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeRemoveStudentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeRemoveStudentResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeRemoveStudentResponse) GoString() string {
	return s.String()
}

func (s *CollegeRemoveStudentResponse) SetHeaders(v map[string]*string) *CollegeRemoveStudentResponse {
	s.Headers = v
	return s
}

func (s *CollegeRemoveStudentResponse) SetStatusCode(v int32) *CollegeRemoveStudentResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeRemoveStudentResponse) SetBody(v *CollegeRemoveStudentResponseBody) *CollegeRemoveStudentResponse {
	s.Body = v
	return s
}

type CollegeUpdateCollegeDeptHeaders 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 (s CollegeUpdateCollegeDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateCollegeDeptHeaders) GoString() string {
	return s.String()
}

func (s *CollegeUpdateCollegeDeptHeaders) SetCommonHeaders(v map[string]*string) *CollegeUpdateCollegeDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeUpdateCollegeDeptHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeUpdateCollegeDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeUpdateCollegeDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	DeptId   *int64  `json:"deptId,omitempty" xml:"deptId,omitempty"`
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// 10
	SortFactor *int64 `json:"sortFactor,omitempty" xml:"sortFactor,omitempty"`
	// example:
	//
	// 22222
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s CollegeUpdateCollegeDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateCollegeDeptRequest) GoString() string {
	return s.String()
}

func (s *CollegeUpdateCollegeDeptRequest) SetDeptId(v int64) *CollegeUpdateCollegeDeptRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeUpdateCollegeDeptRequest) SetDeptName(v string) *CollegeUpdateCollegeDeptRequest {
	s.DeptName = &v
	return s
}

func (s *CollegeUpdateCollegeDeptRequest) SetSortFactor(v int64) *CollegeUpdateCollegeDeptRequest {
	s.SortFactor = &v
	return s
}

func (s *CollegeUpdateCollegeDeptRequest) SetSuperId(v int64) *CollegeUpdateCollegeDeptRequest {
	s.SuperId = &v
	return s
}

type CollegeUpdateCollegeDeptResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeUpdateCollegeDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateCollegeDeptResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeUpdateCollegeDeptResponseBody) SetIsSuccessful(v bool) *CollegeUpdateCollegeDeptResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeUpdateCollegeDeptResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeUpdateCollegeDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeUpdateCollegeDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateCollegeDeptResponse) GoString() string {
	return s.String()
}

func (s *CollegeUpdateCollegeDeptResponse) SetHeaders(v map[string]*string) *CollegeUpdateCollegeDeptResponse {
	s.Headers = v
	return s
}

func (s *CollegeUpdateCollegeDeptResponse) SetStatusCode(v int32) *CollegeUpdateCollegeDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeUpdateCollegeDeptResponse) SetBody(v *CollegeUpdateCollegeDeptResponseBody) *CollegeUpdateCollegeDeptResponse {
	s.Body = v
	return s
}

type CollegeUpdateStudentDeptInfoHeaders 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 (s CollegeUpdateStudentDeptInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentDeptInfoHeaders) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentDeptInfoHeaders) SetCommonHeaders(v map[string]*string) *CollegeUpdateStudentDeptInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeUpdateStudentDeptInfoHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeUpdateStudentDeptInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeUpdateStudentDeptInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 22222
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// mf193121
	StudentNumber *string `json:"studentNumber,omitempty" xml:"studentNumber,omitempty"`
}

func (s CollegeUpdateStudentDeptInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentDeptInfoRequest) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentDeptInfoRequest) SetDeptId(v int64) *CollegeUpdateStudentDeptInfoRequest {
	s.DeptId = &v
	return s
}

func (s *CollegeUpdateStudentDeptInfoRequest) SetStudentId(v int64) *CollegeUpdateStudentDeptInfoRequest {
	s.StudentId = &v
	return s
}

func (s *CollegeUpdateStudentDeptInfoRequest) SetStudentNumber(v string) *CollegeUpdateStudentDeptInfoRequest {
	s.StudentNumber = &v
	return s
}

type CollegeUpdateStudentDeptInfoResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeUpdateStudentDeptInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentDeptInfoResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentDeptInfoResponseBody) SetIsSuccessful(v bool) *CollegeUpdateStudentDeptInfoResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeUpdateStudentDeptInfoResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeUpdateStudentDeptInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeUpdateStudentDeptInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentDeptInfoResponse) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentDeptInfoResponse) SetHeaders(v map[string]*string) *CollegeUpdateStudentDeptInfoResponse {
	s.Headers = v
	return s
}

func (s *CollegeUpdateStudentDeptInfoResponse) SetStatusCode(v int32) *CollegeUpdateStudentDeptInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeUpdateStudentDeptInfoResponse) SetBody(v *CollegeUpdateStudentDeptInfoResponseBody) *CollegeUpdateStudentDeptInfoResponse {
	s.Body = v
	return s
}

type CollegeUpdateStudentInfoHeaders 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 (s CollegeUpdateStudentInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentInfoHeaders) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentInfoHeaders) SetCommonHeaders(v map[string]*string) *CollegeUpdateStudentInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeUpdateStudentInfoHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeUpdateStudentInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeUpdateStudentInfoRequest struct {
	// example:
	//
	// "city":"beijing"
	EmpExtension map[string]*string `json:"empExtension,omitempty" xml:"empExtension,omitempty"`
	// example:
	//
	// male
	Gender *string `json:"gender,omitempty" xml:"gender,omitempty"`
	// example:
	//
	// 11019xxxxxx0001
	IdentifyId *string `json:"identifyId,omitempty" xml:"identifyId,omitempty"`
	// example:
	//
	// 2015
	StartYear *string `json:"startYear,omitempty" xml:"startYear,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1111111
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
	// example:
	//
	// 张三
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
}

func (s CollegeUpdateStudentInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentInfoRequest) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentInfoRequest) SetEmpExtension(v map[string]*string) *CollegeUpdateStudentInfoRequest {
	s.EmpExtension = v
	return s
}

func (s *CollegeUpdateStudentInfoRequest) SetGender(v string) *CollegeUpdateStudentInfoRequest {
	s.Gender = &v
	return s
}

func (s *CollegeUpdateStudentInfoRequest) SetIdentifyId(v string) *CollegeUpdateStudentInfoRequest {
	s.IdentifyId = &v
	return s
}

func (s *CollegeUpdateStudentInfoRequest) SetStartYear(v string) *CollegeUpdateStudentInfoRequest {
	s.StartYear = &v
	return s
}

func (s *CollegeUpdateStudentInfoRequest) SetStudentId(v int64) *CollegeUpdateStudentInfoRequest {
	s.StudentId = &v
	return s
}

func (s *CollegeUpdateStudentInfoRequest) SetStudentName(v string) *CollegeUpdateStudentInfoRequest {
	s.StudentName = &v
	return s
}

type CollegeUpdateStudentInfoResponseBody struct {
	// example:
	//
	// true
	IsSuccessful *bool `json:"isSuccessful,omitempty" xml:"isSuccessful,omitempty"`
}

func (s CollegeUpdateStudentInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentInfoResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentInfoResponseBody) SetIsSuccessful(v bool) *CollegeUpdateStudentInfoResponseBody {
	s.IsSuccessful = &v
	return s
}

type CollegeUpdateStudentInfoResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeUpdateStudentInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeUpdateStudentInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentInfoResponse) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentInfoResponse) SetHeaders(v map[string]*string) *CollegeUpdateStudentInfoResponse {
	s.Headers = v
	return s
}

func (s *CollegeUpdateStudentInfoResponse) SetStatusCode(v int32) *CollegeUpdateStudentInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeUpdateStudentInfoResponse) SetBody(v *CollegeUpdateStudentInfoResponseBody) *CollegeUpdateStudentInfoResponse {
	s.Body = v
	return s
}

type CollegeUpdateStudentMoblieHeaders 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 (s CollegeUpdateStudentMoblieHeaders) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentMoblieHeaders) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentMoblieHeaders) SetCommonHeaders(v map[string]*string) *CollegeUpdateStudentMoblieHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CollegeUpdateStudentMoblieHeaders) SetXAcsDingtalkAccessToken(v string) *CollegeUpdateStudentMoblieHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CollegeUpdateStudentMoblieRequest struct {
	IsForce *bool `json:"isForce,omitempty" xml:"isForce,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 187xxxxxxxx
	NewMobile *string `json:"newMobile,omitempty" xml:"newMobile,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 222222
	StudentId *int64 `json:"studentId,omitempty" xml:"studentId,omitempty"`
}

func (s CollegeUpdateStudentMoblieRequest) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentMoblieRequest) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentMoblieRequest) SetIsForce(v bool) *CollegeUpdateStudentMoblieRequest {
	s.IsForce = &v
	return s
}

func (s *CollegeUpdateStudentMoblieRequest) SetNewMobile(v string) *CollegeUpdateStudentMoblieRequest {
	s.NewMobile = &v
	return s
}

func (s *CollegeUpdateStudentMoblieRequest) SetStudentId(v int64) *CollegeUpdateStudentMoblieRequest {
	s.StudentId = &v
	return s
}

type CollegeUpdateStudentMoblieResponseBody struct {
	// example:
	//
	// failed
	UpdateResult *string `json:"updateResult,omitempty" xml:"updateResult,omitempty"`
}

func (s CollegeUpdateStudentMoblieResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentMoblieResponseBody) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentMoblieResponseBody) SetUpdateResult(v string) *CollegeUpdateStudentMoblieResponseBody {
	s.UpdateResult = &v
	return s
}

type CollegeUpdateStudentMoblieResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CollegeUpdateStudentMoblieResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CollegeUpdateStudentMoblieResponse) String() string {
	return tea.Prettify(s)
}

func (s CollegeUpdateStudentMoblieResponse) GoString() string {
	return s.String()
}

func (s *CollegeUpdateStudentMoblieResponse) SetHeaders(v map[string]*string) *CollegeUpdateStudentMoblieResponse {
	s.Headers = v
	return s
}

func (s *CollegeUpdateStudentMoblieResponse) SetStatusCode(v int32) *CollegeUpdateStudentMoblieResponse {
	s.StatusCode = &v
	return s
}

func (s *CollegeUpdateStudentMoblieResponse) SetBody(v *CollegeUpdateStudentMoblieResponseBody) *CollegeUpdateStudentMoblieResponse {
	s.Body = v
	return s
}

type CustomizeContactCreateHeaders 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 (s CustomizeContactCreateHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactCreateHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactCreateHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactCreateHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactCreateHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactCreateHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactCreateRequest struct {
	ManagerIdList []*string `json:"managerIdList,omitempty" xml:"managerIdList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// A项目通讯录
	Name  *string `json:"name,omitempty" xml:"name,omitempty"`
	Order *int64  `json:"order,omitempty" xml:"order,omitempty"`
}

func (s CustomizeContactCreateRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactCreateRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactCreateRequest) SetManagerIdList(v []*string) *CustomizeContactCreateRequest {
	s.ManagerIdList = v
	return s
}

func (s *CustomizeContactCreateRequest) SetName(v string) *CustomizeContactCreateRequest {
	s.Name = &v
	return s
}

func (s *CustomizeContactCreateRequest) SetOrder(v int64) *CustomizeContactCreateRequest {
	s.Order = &v
	return s
}

type CustomizeContactCreateResponseBody struct {
	// This parameter is required.
	Content *CustomizeContactCreateResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Struct"`
}

func (s CustomizeContactCreateResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactCreateResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactCreateResponseBody) SetContent(v *CustomizeContactCreateResponseBodyContent) *CustomizeContactCreateResponseBody {
	s.Content = v
	return s
}

type CustomizeContactCreateResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// alt:vndk1nd0
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// A项目通讯录
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 78933133
	RootDeptId *int64 `json:"rootDeptId,omitempty" xml:"rootDeptId,omitempty"`
}

func (s CustomizeContactCreateResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactCreateResponseBodyContent) GoString() string {
	return s.String()
}

func (s *CustomizeContactCreateResponseBodyContent) SetCode(v string) *CustomizeContactCreateResponseBodyContent {
	s.Code = &v
	return s
}

func (s *CustomizeContactCreateResponseBodyContent) SetName(v string) *CustomizeContactCreateResponseBodyContent {
	s.Name = &v
	return s
}

func (s *CustomizeContactCreateResponseBodyContent) SetOrder(v int64) *CustomizeContactCreateResponseBodyContent {
	s.Order = &v
	return s
}

func (s *CustomizeContactCreateResponseBodyContent) SetRootDeptId(v int64) *CustomizeContactCreateResponseBodyContent {
	s.RootDeptId = &v
	return s
}

type CustomizeContactCreateResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactCreateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactCreateResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactCreateResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactCreateResponse) SetHeaders(v map[string]*string) *CustomizeContactCreateResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactCreateResponse) SetStatusCode(v int32) *CustomizeContactCreateResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactCreateResponse) SetBody(v *CustomizeContactCreateResponseBody) *CustomizeContactCreateResponse {
	s.Body = v
	return s
}

type CustomizeContactDeleteHeaders 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 (s CustomizeContactDeleteHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeleteHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeleteHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeleteHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeleteHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeleteHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeleteRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// xxx
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
}

func (s CustomizeContactDeleteRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeleteRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeleteRequest) SetCode(v string) *CustomizeContactDeleteRequest {
	s.Code = &v
	return s
}

type CustomizeContactDeleteResponseBody struct {
	Content *bool `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactDeleteResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeleteResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeleteResponseBody) SetContent(v bool) *CustomizeContactDeleteResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactDeleteResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeleteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeleteResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeleteResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeleteResponse) SetHeaders(v map[string]*string) *CustomizeContactDeleteResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeleteResponse) SetStatusCode(v int32) *CustomizeContactDeleteResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeleteResponse) SetBody(v *CustomizeContactDeleteResponseBody) *CustomizeContactDeleteResponse {
	s.Body = v
	return s
}

type CustomizeContactDeptCreateHeaders 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 (s CustomizeContactDeptCreateHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptCreateHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptCreateHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeptCreateHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeptCreateHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeptCreateHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeptCreateRequest struct {
	// This parameter is required.
	Code          *string   `json:"code,omitempty" xml:"code,omitempty"`
	ManagerIdList []*string `json:"managerIdList,omitempty" xml:"managerIdList,omitempty" type:"Repeated"`
	// This parameter is required.
	Name  *string `json:"name,omitempty" xml:"name,omitempty"`
	Order *int64  `json:"order,omitempty" xml:"order,omitempty"`
	// This parameter is required.
	ParentDeptId *int64 `json:"parentDeptId,omitempty" xml:"parentDeptId,omitempty"`
	RefId        *int64 `json:"refId,omitempty" xml:"refId,omitempty"`
	// This parameter is required.
	Type *int64 `json:"type,omitempty" xml:"type,omitempty"`
}

func (s CustomizeContactDeptCreateRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptCreateRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptCreateRequest) SetCode(v string) *CustomizeContactDeptCreateRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptCreateRequest) SetManagerIdList(v []*string) *CustomizeContactDeptCreateRequest {
	s.ManagerIdList = v
	return s
}

func (s *CustomizeContactDeptCreateRequest) SetName(v string) *CustomizeContactDeptCreateRequest {
	s.Name = &v
	return s
}

func (s *CustomizeContactDeptCreateRequest) SetOrder(v int64) *CustomizeContactDeptCreateRequest {
	s.Order = &v
	return s
}

func (s *CustomizeContactDeptCreateRequest) SetParentDeptId(v int64) *CustomizeContactDeptCreateRequest {
	s.ParentDeptId = &v
	return s
}

func (s *CustomizeContactDeptCreateRequest) SetRefId(v int64) *CustomizeContactDeptCreateRequest {
	s.RefId = &v
	return s
}

func (s *CustomizeContactDeptCreateRequest) SetType(v int64) *CustomizeContactDeptCreateRequest {
	s.Type = &v
	return s
}

type CustomizeContactDeptCreateResponseBody struct {
	// This parameter is required.
	Content *int64 `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactDeptCreateResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptCreateResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptCreateResponseBody) SetContent(v int64) *CustomizeContactDeptCreateResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactDeptCreateResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeptCreateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeptCreateResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptCreateResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptCreateResponse) SetHeaders(v map[string]*string) *CustomizeContactDeptCreateResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeptCreateResponse) SetStatusCode(v int32) *CustomizeContactDeptCreateResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeptCreateResponse) SetBody(v *CustomizeContactDeptCreateResponseBody) *CustomizeContactDeptCreateResponse {
	s.Body = v
	return s
}

type CustomizeContactDeptDeleteHeaders 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 (s CustomizeContactDeptDeleteHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptDeleteHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptDeleteHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeptDeleteHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeptDeleteHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeptDeleteHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeptDeleteRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// XXX
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 65722123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CustomizeContactDeptDeleteRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptDeleteRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptDeleteRequest) SetCode(v string) *CustomizeContactDeptDeleteRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptDeleteRequest) SetDeptId(v int64) *CustomizeContactDeptDeleteRequest {
	s.DeptId = &v
	return s
}

type CustomizeContactDeptDeleteResponseBody struct {
	// This parameter is required.
	Content *bool `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactDeptDeleteResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptDeleteResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptDeleteResponseBody) SetContent(v bool) *CustomizeContactDeptDeleteResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactDeptDeleteResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeptDeleteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeptDeleteResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptDeleteResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptDeleteResponse) SetHeaders(v map[string]*string) *CustomizeContactDeptDeleteResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeptDeleteResponse) SetStatusCode(v int32) *CustomizeContactDeptDeleteResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeptDeleteResponse) SetBody(v *CustomizeContactDeptDeleteResponseBody) *CustomizeContactDeptDeleteResponse {
	s.Body = v
	return s
}

type CustomizeContactDeptGroupCreateHeaders 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 (s CustomizeContactDeptGroupCreateHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptGroupCreateHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptGroupCreateHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeptGroupCreateHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeptGroupCreateHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeptGroupCreateHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeptGroupCreateRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// alt-contact:Mzc0ODAwMQ==
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 65725421
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CustomizeContactDeptGroupCreateRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptGroupCreateRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptGroupCreateRequest) SetCode(v string) *CustomizeContactDeptGroupCreateRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptGroupCreateRequest) SetDeptId(v int64) *CustomizeContactDeptGroupCreateRequest {
	s.DeptId = &v
	return s
}

type CustomizeContactDeptGroupCreateResponseBody struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactDeptGroupCreateResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptGroupCreateResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptGroupCreateResponseBody) SetContent(v string) *CustomizeContactDeptGroupCreateResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactDeptGroupCreateResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeptGroupCreateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeptGroupCreateResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptGroupCreateResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptGroupCreateResponse) SetHeaders(v map[string]*string) *CustomizeContactDeptGroupCreateResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeptGroupCreateResponse) SetStatusCode(v int32) *CustomizeContactDeptGroupCreateResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeptGroupCreateResponse) SetBody(v *CustomizeContactDeptGroupCreateResponseBody) *CustomizeContactDeptGroupCreateResponse {
	s.Body = v
	return s
}

type CustomizeContactDeptInfoHeaders 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 (s CustomizeContactDeptInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptInfoHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptInfoHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeptInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeptInfoHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeptInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeptInfoRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CustomizeContactDeptInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptInfoRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptInfoRequest) SetCode(v string) *CustomizeContactDeptInfoRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptInfoRequest) SetDeptId(v int64) *CustomizeContactDeptInfoRequest {
	s.DeptId = &v
	return s
}

type CustomizeContactDeptInfoResponseBody struct {
	// This parameter is required.
	Content *CustomizeContactDeptInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Struct"`
}

func (s CustomizeContactDeptInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptInfoResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptInfoResponseBody) SetContent(v *CustomizeContactDeptInfoResponseBodyContent) *CustomizeContactDeptInfoResponseBody {
	s.Content = v
	return s
}

type CustomizeContactDeptInfoResponseBodyContent struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	ManagerIdList []*string `json:"managerIdList,omitempty" xml:"managerIdList,omitempty" type:"Repeated"`
	// This parameter is required.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
	// This parameter is required.
	ParentDeptId *int64 `json:"parentDeptId,omitempty" xml:"parentDeptId,omitempty"`
	// This parameter is required.
	RefId *int64 `json:"refId,omitempty" xml:"refId,omitempty"`
	// This parameter is required.
	Type *int64 `json:"type,omitempty" xml:"type,omitempty"`
}

func (s CustomizeContactDeptInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetCode(v string) *CustomizeContactDeptInfoResponseBodyContent {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetId(v int64) *CustomizeContactDeptInfoResponseBodyContent {
	s.Id = &v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetManagerIdList(v []*string) *CustomizeContactDeptInfoResponseBodyContent {
	s.ManagerIdList = v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetName(v string) *CustomizeContactDeptInfoResponseBodyContent {
	s.Name = &v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetOrder(v int64) *CustomizeContactDeptInfoResponseBodyContent {
	s.Order = &v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetParentDeptId(v int64) *CustomizeContactDeptInfoResponseBodyContent {
	s.ParentDeptId = &v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetRefId(v int64) *CustomizeContactDeptInfoResponseBodyContent {
	s.RefId = &v
	return s
}

func (s *CustomizeContactDeptInfoResponseBodyContent) SetType(v int64) *CustomizeContactDeptInfoResponseBodyContent {
	s.Type = &v
	return s
}

type CustomizeContactDeptInfoResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeptInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeptInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptInfoResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptInfoResponse) SetHeaders(v map[string]*string) *CustomizeContactDeptInfoResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeptInfoResponse) SetStatusCode(v int32) *CustomizeContactDeptInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeptInfoResponse) SetBody(v *CustomizeContactDeptInfoResponseBody) *CustomizeContactDeptInfoResponse {
	s.Body = v
	return s
}

type CustomizeContactDeptListHeaders 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 (s CustomizeContactDeptListHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptListHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptListHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeptListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeptListHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeptListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeptListRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// XXXX
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 65722123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CustomizeContactDeptListRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptListRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptListRequest) SetCode(v string) *CustomizeContactDeptListRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptListRequest) SetDeptId(v int64) *CustomizeContactDeptListRequest {
	s.DeptId = &v
	return s
}

type CustomizeContactDeptListResponseBody struct {
	// This parameter is required.
	Content []*CustomizeContactDeptListResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s CustomizeContactDeptListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptListResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptListResponseBody) SetContent(v []*CustomizeContactDeptListResponseBodyContent) *CustomizeContactDeptListResponseBody {
	s.Content = v
	return s
}

type CustomizeContactDeptListResponseBodyContent struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	ManagerIdList []*string `json:"managerIdList,omitempty" xml:"managerIdList,omitempty" type:"Repeated"`
	// This parameter is required.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
	// This parameter is required.
	ParentDeptId *int64 `json:"parentDeptId,omitempty" xml:"parentDeptId,omitempty"`
	// This parameter is required.
	RefId *int64 `json:"refId,omitempty" xml:"refId,omitempty"`
	// This parameter is required.
	Type *int64 `json:"type,omitempty" xml:"type,omitempty"`
}

func (s CustomizeContactDeptListResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptListResponseBodyContent) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptListResponseBodyContent) SetCode(v string) *CustomizeContactDeptListResponseBodyContent {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetId(v int64) *CustomizeContactDeptListResponseBodyContent {
	s.Id = &v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetManagerIdList(v []*string) *CustomizeContactDeptListResponseBodyContent {
	s.ManagerIdList = v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetName(v string) *CustomizeContactDeptListResponseBodyContent {
	s.Name = &v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetOrder(v int64) *CustomizeContactDeptListResponseBodyContent {
	s.Order = &v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetParentDeptId(v int64) *CustomizeContactDeptListResponseBodyContent {
	s.ParentDeptId = &v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetRefId(v int64) *CustomizeContactDeptListResponseBodyContent {
	s.RefId = &v
	return s
}

func (s *CustomizeContactDeptListResponseBodyContent) SetType(v int64) *CustomizeContactDeptListResponseBodyContent {
	s.Type = &v
	return s
}

type CustomizeContactDeptListResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeptListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeptListResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptListResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptListResponse) SetHeaders(v map[string]*string) *CustomizeContactDeptListResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeptListResponse) SetStatusCode(v int32) *CustomizeContactDeptListResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeptListResponse) SetBody(v *CustomizeContactDeptListResponseBody) *CustomizeContactDeptListResponse {
	s.Body = v
	return s
}

type CustomizeContactDeptUpdateHeaders 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 (s CustomizeContactDeptUpdateHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptUpdateHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptUpdateHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactDeptUpdateHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactDeptUpdateHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactDeptUpdateHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactDeptUpdateRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	DeptId        *int64    `json:"deptId,omitempty" xml:"deptId,omitempty"`
	ManagerIdList []*string `json:"managerIdList,omitempty" xml:"managerIdList,omitempty" type:"Repeated"`
	Name          *string   `json:"name,omitempty" xml:"name,omitempty"`
	Order         *int64    `json:"order,omitempty" xml:"order,omitempty"`
	// This parameter is required.
	ParentDeptId *int64 `json:"parentDeptId,omitempty" xml:"parentDeptId,omitempty"`
}

func (s CustomizeContactDeptUpdateRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptUpdateRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptUpdateRequest) SetCode(v string) *CustomizeContactDeptUpdateRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactDeptUpdateRequest) SetDeptId(v int64) *CustomizeContactDeptUpdateRequest {
	s.DeptId = &v
	return s
}

func (s *CustomizeContactDeptUpdateRequest) SetManagerIdList(v []*string) *CustomizeContactDeptUpdateRequest {
	s.ManagerIdList = v
	return s
}

func (s *CustomizeContactDeptUpdateRequest) SetName(v string) *CustomizeContactDeptUpdateRequest {
	s.Name = &v
	return s
}

func (s *CustomizeContactDeptUpdateRequest) SetOrder(v int64) *CustomizeContactDeptUpdateRequest {
	s.Order = &v
	return s
}

func (s *CustomizeContactDeptUpdateRequest) SetParentDeptId(v int64) *CustomizeContactDeptUpdateRequest {
	s.ParentDeptId = &v
	return s
}

type CustomizeContactDeptUpdateResponseBody struct {
	// This parameter is required.
	Content *int64 `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactDeptUpdateResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptUpdateResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptUpdateResponseBody) SetContent(v int64) *CustomizeContactDeptUpdateResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactDeptUpdateResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactDeptUpdateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactDeptUpdateResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactDeptUpdateResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactDeptUpdateResponse) SetHeaders(v map[string]*string) *CustomizeContactDeptUpdateResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactDeptUpdateResponse) SetStatusCode(v int32) *CustomizeContactDeptUpdateResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactDeptUpdateResponse) SetBody(v *CustomizeContactDeptUpdateResponseBody) *CustomizeContactDeptUpdateResponse {
	s.Body = v
	return s
}

type CustomizeContactEmpAddHeaders 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 (s CustomizeContactEmpAddHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpAddHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpAddHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactEmpAddHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactEmpAddHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactEmpAddHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactEmpAddRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 65722123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	UserIdList []*string `json:"userIdList,omitempty" xml:"userIdList,omitempty" type:"Repeated"`
}

func (s CustomizeContactEmpAddRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpAddRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpAddRequest) SetCode(v string) *CustomizeContactEmpAddRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactEmpAddRequest) SetDeptId(v int64) *CustomizeContactEmpAddRequest {
	s.DeptId = &v
	return s
}

func (s *CustomizeContactEmpAddRequest) SetUserIdList(v []*string) *CustomizeContactEmpAddRequest {
	s.UserIdList = v
	return s
}

type CustomizeContactEmpAddResponseBody struct {
	// This parameter is required.
	Content *bool `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactEmpAddResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpAddResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpAddResponseBody) SetContent(v bool) *CustomizeContactEmpAddResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactEmpAddResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactEmpAddResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactEmpAddResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpAddResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpAddResponse) SetHeaders(v map[string]*string) *CustomizeContactEmpAddResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactEmpAddResponse) SetStatusCode(v int32) *CustomizeContactEmpAddResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactEmpAddResponse) SetBody(v *CustomizeContactEmpAddResponseBody) *CustomizeContactEmpAddResponse {
	s.Body = v
	return s
}

type CustomizeContactEmpDeleteHeaders 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 (s CustomizeContactEmpDeleteHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpDeleteHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpDeleteHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactEmpDeleteHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactEmpDeleteHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactEmpDeleteHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactEmpDeleteRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 65722123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	UserIdList []*string `json:"userIdList,omitempty" xml:"userIdList,omitempty" type:"Repeated"`
}

func (s CustomizeContactEmpDeleteRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpDeleteRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpDeleteRequest) SetCode(v string) *CustomizeContactEmpDeleteRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactEmpDeleteRequest) SetDeptId(v int64) *CustomizeContactEmpDeleteRequest {
	s.DeptId = &v
	return s
}

func (s *CustomizeContactEmpDeleteRequest) SetUserIdList(v []*string) *CustomizeContactEmpDeleteRequest {
	s.UserIdList = v
	return s
}

type CustomizeContactEmpDeleteResponseBody struct {
	// This parameter is required.
	Content *bool `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactEmpDeleteResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpDeleteResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpDeleteResponseBody) SetContent(v bool) *CustomizeContactEmpDeleteResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactEmpDeleteResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactEmpDeleteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactEmpDeleteResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpDeleteResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpDeleteResponse) SetHeaders(v map[string]*string) *CustomizeContactEmpDeleteResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactEmpDeleteResponse) SetStatusCode(v int32) *CustomizeContactEmpDeleteResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactEmpDeleteResponse) SetBody(v *CustomizeContactEmpDeleteResponseBody) *CustomizeContactEmpDeleteResponse {
	s.Body = v
	return s
}

type CustomizeContactEmpListHeaders 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 (s CustomizeContactEmpListHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpListHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpListHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactEmpListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactEmpListHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactEmpListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactEmpListRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 65722123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s CustomizeContactEmpListRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpListRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpListRequest) SetDeptId(v int64) *CustomizeContactEmpListRequest {
	s.DeptId = &v
	return s
}

type CustomizeContactEmpListResponseBody struct {
	// This parameter is required.
	Content []*CustomizeContactEmpListResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s CustomizeContactEmpListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpListResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpListResponseBody) SetContent(v []*CustomizeContactEmpListResponseBodyContent) *CustomizeContactEmpListResponseBody {
	s.Content = v
	return s
}

type CustomizeContactEmpListResponseBodyContent struct {
	// This parameter is required.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s CustomizeContactEmpListResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpListResponseBodyContent) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpListResponseBodyContent) SetName(v string) *CustomizeContactEmpListResponseBodyContent {
	s.Name = &v
	return s
}

func (s *CustomizeContactEmpListResponseBodyContent) SetUserId(v string) *CustomizeContactEmpListResponseBodyContent {
	s.UserId = &v
	return s
}

type CustomizeContactEmpListResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactEmpListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactEmpListResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactEmpListResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactEmpListResponse) SetHeaders(v map[string]*string) *CustomizeContactEmpListResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactEmpListResponse) SetStatusCode(v int32) *CustomizeContactEmpListResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactEmpListResponse) SetBody(v *CustomizeContactEmpListResponseBody) *CustomizeContactEmpListResponse {
	s.Body = v
	return s
}

type CustomizeContactListHeaders 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 (s CustomizeContactListHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactListHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactListHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactListHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactListResponseBody struct {
	Content []*CustomizeContactListResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s CustomizeContactListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactListResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactListResponseBody) SetContent(v []*CustomizeContactListResponseBodyContent) *CustomizeContactListResponseBody {
	s.Content = v
	return s
}

type CustomizeContactListResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// adsbggaixopxx
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// XX项目通讯录
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 97722112
	RootDeptId *int64 `json:"rootDeptId,omitempty" xml:"rootDeptId,omitempty"`
}

func (s CustomizeContactListResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactListResponseBodyContent) GoString() string {
	return s.String()
}

func (s *CustomizeContactListResponseBodyContent) SetCode(v string) *CustomizeContactListResponseBodyContent {
	s.Code = &v
	return s
}

func (s *CustomizeContactListResponseBodyContent) SetName(v string) *CustomizeContactListResponseBodyContent {
	s.Name = &v
	return s
}

func (s *CustomizeContactListResponseBodyContent) SetOrder(v int64) *CustomizeContactListResponseBodyContent {
	s.Order = &v
	return s
}

func (s *CustomizeContactListResponseBodyContent) SetRootDeptId(v int64) *CustomizeContactListResponseBodyContent {
	s.RootDeptId = &v
	return s
}

type CustomizeContactListResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactListResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactListResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactListResponse) SetHeaders(v map[string]*string) *CustomizeContactListResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactListResponse) SetStatusCode(v int32) *CustomizeContactListResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactListResponse) SetBody(v *CustomizeContactListResponseBody) *CustomizeContactListResponse {
	s.Body = v
	return s
}

type CustomizeContactUpdateHeaders 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 (s CustomizeContactUpdateHeaders) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactUpdateHeaders) GoString() string {
	return s.String()
}

func (s *CustomizeContactUpdateHeaders) SetCommonHeaders(v map[string]*string) *CustomizeContactUpdateHeaders {
	s.CommonHeaders = v
	return s
}

func (s *CustomizeContactUpdateHeaders) SetXAcsDingtalkAccessToken(v string) *CustomizeContactUpdateHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type CustomizeContactUpdateRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// alt-contact:MjkwMDAa
	Code          *string   `json:"code,omitempty" xml:"code,omitempty"`
	ManagerIdList []*string `json:"managerIdList,omitempty" xml:"managerIdList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// A项目通讯录
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	Order *int64 `json:"order,omitempty" xml:"order,omitempty"`
}

func (s CustomizeContactUpdateRequest) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactUpdateRequest) GoString() string {
	return s.String()
}

func (s *CustomizeContactUpdateRequest) SetCode(v string) *CustomizeContactUpdateRequest {
	s.Code = &v
	return s
}

func (s *CustomizeContactUpdateRequest) SetManagerIdList(v []*string) *CustomizeContactUpdateRequest {
	s.ManagerIdList = v
	return s
}

func (s *CustomizeContactUpdateRequest) SetName(v string) *CustomizeContactUpdateRequest {
	s.Name = &v
	return s
}

func (s *CustomizeContactUpdateRequest) SetOrder(v int64) *CustomizeContactUpdateRequest {
	s.Order = &v
	return s
}

type CustomizeContactUpdateResponseBody struct {
	Content *bool `json:"content,omitempty" xml:"content,omitempty"`
}

func (s CustomizeContactUpdateResponseBody) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactUpdateResponseBody) GoString() string {
	return s.String()
}

func (s *CustomizeContactUpdateResponseBody) SetContent(v bool) *CustomizeContactUpdateResponseBody {
	s.Content = &v
	return s
}

type CustomizeContactUpdateResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CustomizeContactUpdateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s CustomizeContactUpdateResponse) String() string {
	return tea.Prettify(s)
}

func (s CustomizeContactUpdateResponse) GoString() string {
	return s.String()
}

func (s *CustomizeContactUpdateResponse) SetHeaders(v map[string]*string) *CustomizeContactUpdateResponse {
	s.Headers = v
	return s
}

func (s *CustomizeContactUpdateResponse) SetStatusCode(v int32) *CustomizeContactUpdateResponse {
	s.StatusCode = &v
	return s
}

func (s *CustomizeContactUpdateResponse) SetBody(v *CustomizeContactUpdateResponseBody) *CustomizeContactUpdateResponse {
	s.Body = v
	return s
}

type DIgitalStoreMessagePushHeaders 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 (s DIgitalStoreMessagePushHeaders) String() string {
	return tea.Prettify(s)
}

func (s DIgitalStoreMessagePushHeaders) GoString() string {
	return s.String()
}

func (s *DIgitalStoreMessagePushHeaders) SetCommonHeaders(v map[string]*string) *DIgitalStoreMessagePushHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DIgitalStoreMessagePushHeaders) SetXAcsDingtalkAccessToken(v string) *DIgitalStoreMessagePushHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DIgitalStoreMessagePushRequest struct {
	MessageDataList []*DIgitalStoreMessagePushRequestMessageDataList `json:"messageDataList,omitempty" xml:"messageDataList,omitempty" type:"Repeated"`
}

func (s DIgitalStoreMessagePushRequest) String() string {
	return tea.Prettify(s)
}

func (s DIgitalStoreMessagePushRequest) GoString() string {
	return s.String()
}

func (s *DIgitalStoreMessagePushRequest) SetMessageDataList(v []*DIgitalStoreMessagePushRequestMessageDataList) *DIgitalStoreMessagePushRequest {
	s.MessageDataList = v
	return s
}

type DIgitalStoreMessagePushRequestMessageDataList struct {
	// example:
	//
	// xxxxcallback
	CallbackKey *string `json:"callbackKey,omitempty" xml:"callbackKey,omitempty"`
	// example:
	//
	// {"key":"value"}
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// example:
	//
	// true
	NewCard *bool `json:"newCard,omitempty" xml:"newCard,omitempty"`
	// example:
	//
	// ysn138dh1712dsa
	OutTraceId *string `json:"outTraceId,omitempty" xml:"outTraceId,omitempty"`
	// example:
	//
	// StoreOrder
	SceneCardCode *string `json:"sceneCardCode,omitempty" xml:"sceneCardCode,omitempty"`
	// example:
	//
	// 54774321
	SceneScope *int64 `json:"sceneScope,omitempty" xml:"sceneScope,omitempty"`
	// example:
	//
	// true
	SendNow *bool `json:"sendNow,omitempty" xml:"sendNow,omitempty"`
}

func (s DIgitalStoreMessagePushRequestMessageDataList) String() string {
	return tea.Prettify(s)
}

func (s DIgitalStoreMessagePushRequestMessageDataList) GoString() string {
	return s.String()
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetCallbackKey(v string) *DIgitalStoreMessagePushRequestMessageDataList {
	s.CallbackKey = &v
	return s
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetContent(v string) *DIgitalStoreMessagePushRequestMessageDataList {
	s.Content = &v
	return s
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetNewCard(v bool) *DIgitalStoreMessagePushRequestMessageDataList {
	s.NewCard = &v
	return s
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetOutTraceId(v string) *DIgitalStoreMessagePushRequestMessageDataList {
	s.OutTraceId = &v
	return s
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetSceneCardCode(v string) *DIgitalStoreMessagePushRequestMessageDataList {
	s.SceneCardCode = &v
	return s
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetSceneScope(v int64) *DIgitalStoreMessagePushRequestMessageDataList {
	s.SceneScope = &v
	return s
}

func (s *DIgitalStoreMessagePushRequestMessageDataList) SetSendNow(v bool) *DIgitalStoreMessagePushRequestMessageDataList {
	s.SendNow = &v
	return s
}

type DIgitalStoreMessagePushShrinkRequest struct {
	MessageDataListShrink *string `json:"messageDataList,omitempty" xml:"messageDataList,omitempty"`
}

func (s DIgitalStoreMessagePushShrinkRequest) String() string {
	return tea.Prettify(s)
}

func (s DIgitalStoreMessagePushShrinkRequest) GoString() string {
	return s.String()
}

func (s *DIgitalStoreMessagePushShrinkRequest) SetMessageDataListShrink(v string) *DIgitalStoreMessagePushShrinkRequest {
	s.MessageDataListShrink = &v
	return s
}

type DIgitalStoreMessagePushResponseBody struct {
	// example:
	//
	// true
	Content *bool `json:"content,omitempty" xml:"content,omitempty"`
}

func (s DIgitalStoreMessagePushResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DIgitalStoreMessagePushResponseBody) GoString() string {
	return s.String()
}

func (s *DIgitalStoreMessagePushResponseBody) SetContent(v bool) *DIgitalStoreMessagePushResponseBody {
	s.Content = &v
	return s
}

type DIgitalStoreMessagePushResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DIgitalStoreMessagePushResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DIgitalStoreMessagePushResponse) String() string {
	return tea.Prettify(s)
}

func (s DIgitalStoreMessagePushResponse) GoString() string {
	return s.String()
}

func (s *DIgitalStoreMessagePushResponse) SetHeaders(v map[string]*string) *DIgitalStoreMessagePushResponse {
	s.Headers = v
	return s
}

func (s *DIgitalStoreMessagePushResponse) SetStatusCode(v int32) *DIgitalStoreMessagePushResponse {
	s.StatusCode = &v
	return s
}

func (s *DIgitalStoreMessagePushResponse) SetBody(v *DIgitalStoreMessagePushResponseBody) *DIgitalStoreMessagePushResponse {
	s.Body = v
	return s
}

type DigitalStoreCardRecordHeaders 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 (s DigitalStoreCardRecordHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreCardRecordHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreCardRecordHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreCardRecordHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreCardRecordHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreCardRecordHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreCardRecordRequest struct {
	// example:
	//
	// 1696917858123
	BeginTime *int64 `json:"beginTime,omitempty" xml:"beginTime,omitempty"`
	// example:
	//
	// 1696918858123
	EndTime *int64   `json:"endTime,omitempty" xml:"endTime,omitempty"`
	Ids     []*int64 `json:"ids,omitempty" xml:"ids,omitempty" type:"Repeated"`
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 10
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// example:
	//
	// 场景卡片名称
	SceneCardName *string `json:"sceneCardName,omitempty" xml:"sceneCardName,omitempty"`
}

func (s DigitalStoreCardRecordRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreCardRecordRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreCardRecordRequest) SetBeginTime(v int64) *DigitalStoreCardRecordRequest {
	s.BeginTime = &v
	return s
}

func (s *DigitalStoreCardRecordRequest) SetEndTime(v int64) *DigitalStoreCardRecordRequest {
	s.EndTime = &v
	return s
}

func (s *DigitalStoreCardRecordRequest) SetIds(v []*int64) *DigitalStoreCardRecordRequest {
	s.Ids = v
	return s
}

func (s *DigitalStoreCardRecordRequest) SetPageNumber(v int32) *DigitalStoreCardRecordRequest {
	s.PageNumber = &v
	return s
}

func (s *DigitalStoreCardRecordRequest) SetPageSize(v int32) *DigitalStoreCardRecordRequest {
	s.PageSize = &v
	return s
}

func (s *DigitalStoreCardRecordRequest) SetSceneCardName(v string) *DigitalStoreCardRecordRequest {
	s.SceneCardName = &v
	return s
}

type DigitalStoreCardRecordResponseBody struct {
	Content []*DigitalStoreCardRecordResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStoreCardRecordResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreCardRecordResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreCardRecordResponseBody) SetContent(v []*DigitalStoreCardRecordResponseBodyContent) *DigitalStoreCardRecordResponseBody {
	s.Content = v
	return s
}

type DigitalStoreCardRecordResponseBodyContent struct {
	ConversationTitle *string                                                `json:"conversationTitle,omitempty" xml:"conversationTitle,omitempty"`
	DetailList        []*DigitalStoreCardRecordResponseBodyContentDetailList `json:"detailList,omitempty" xml:"detailList,omitempty" type:"Repeated"`
	Id                *int64                                                 `json:"id,omitempty" xml:"id,omitempty"`
	MemberNum         *int32                                                 `json:"memberNum,omitempty" xml:"memberNum,omitempty"`
	ReadNum           *int32                                                 `json:"readNum,omitempty" xml:"readNum,omitempty"`
	ReadPercent       *string                                                `json:"readPercent,omitempty" xml:"readPercent,omitempty"`
	ReceiveNum        *int32                                                 `json:"receiveNum,omitempty" xml:"receiveNum,omitempty"`
	SceneCardName     *string                                                `json:"sceneCardName,omitempty" xml:"sceneCardName,omitempty"`
	SendStatus        *string                                                `json:"sendStatus,omitempty" xml:"sendStatus,omitempty"`
	SendTime          *int64                                                 `json:"sendTime,omitempty" xml:"sendTime,omitempty"`
}

func (s DigitalStoreCardRecordResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreCardRecordResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetConversationTitle(v string) *DigitalStoreCardRecordResponseBodyContent {
	s.ConversationTitle = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetDetailList(v []*DigitalStoreCardRecordResponseBodyContentDetailList) *DigitalStoreCardRecordResponseBodyContent {
	s.DetailList = v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetId(v int64) *DigitalStoreCardRecordResponseBodyContent {
	s.Id = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetMemberNum(v int32) *DigitalStoreCardRecordResponseBodyContent {
	s.MemberNum = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetReadNum(v int32) *DigitalStoreCardRecordResponseBodyContent {
	s.ReadNum = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetReadPercent(v string) *DigitalStoreCardRecordResponseBodyContent {
	s.ReadPercent = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetReceiveNum(v int32) *DigitalStoreCardRecordResponseBodyContent {
	s.ReceiveNum = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetSceneCardName(v string) *DigitalStoreCardRecordResponseBodyContent {
	s.SceneCardName = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetSendStatus(v string) *DigitalStoreCardRecordResponseBodyContent {
	s.SendStatus = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContent) SetSendTime(v int64) *DigitalStoreCardRecordResponseBodyContent {
	s.SendTime = &v
	return s
}

type DigitalStoreCardRecordResponseBodyContentDetailList struct {
	DeptName      *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	ReadStatusStr *string `json:"readStatusStr,omitempty" xml:"readStatusStr,omitempty"`
	ReadTime      *int64  `json:"readTime,omitempty" xml:"readTime,omitempty"`
	RoleName      *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
	UserName      *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s DigitalStoreCardRecordResponseBodyContentDetailList) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreCardRecordResponseBodyContentDetailList) GoString() string {
	return s.String()
}

func (s *DigitalStoreCardRecordResponseBodyContentDetailList) SetDeptName(v string) *DigitalStoreCardRecordResponseBodyContentDetailList {
	s.DeptName = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContentDetailList) SetReadStatusStr(v string) *DigitalStoreCardRecordResponseBodyContentDetailList {
	s.ReadStatusStr = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContentDetailList) SetReadTime(v int64) *DigitalStoreCardRecordResponseBodyContentDetailList {
	s.ReadTime = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContentDetailList) SetRoleName(v string) *DigitalStoreCardRecordResponseBodyContentDetailList {
	s.RoleName = &v
	return s
}

func (s *DigitalStoreCardRecordResponseBodyContentDetailList) SetUserName(v string) *DigitalStoreCardRecordResponseBodyContentDetailList {
	s.UserName = &v
	return s
}

type DigitalStoreCardRecordResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreCardRecordResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreCardRecordResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreCardRecordResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreCardRecordResponse) SetHeaders(v map[string]*string) *DigitalStoreCardRecordResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreCardRecordResponse) SetStatusCode(v int32) *DigitalStoreCardRecordResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreCardRecordResponse) SetBody(v *DigitalStoreCardRecordResponseBody) *DigitalStoreCardRecordResponse {
	s.Body = v
	return s
}

type DigitalStoreContactInfoHeaders 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 (s DigitalStoreContactInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreContactInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreContactInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreContactInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreContactInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreContactInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreContactInfoResponseBody struct {
	// This parameter is required.
	//
	// example:
	//
	// codexxxxx
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// example:
	//
	// 123
	DingDeptId *int64 `json:"dingDeptId,omitempty" xml:"dingDeptId,omitempty"`
	// example:
	//
	// 门店通
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 5647993312
	RootDeptId *int64 `json:"rootDeptId,omitempty" xml:"rootDeptId,omitempty"`
}

func (s DigitalStoreContactInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreContactInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreContactInfoResponseBody) SetCode(v string) *DigitalStoreContactInfoResponseBody {
	s.Code = &v
	return s
}

func (s *DigitalStoreContactInfoResponseBody) SetDingDeptId(v int64) *DigitalStoreContactInfoResponseBody {
	s.DingDeptId = &v
	return s
}

func (s *DigitalStoreContactInfoResponseBody) SetName(v string) *DigitalStoreContactInfoResponseBody {
	s.Name = &v
	return s
}

func (s *DigitalStoreContactInfoResponseBody) SetRootDeptId(v int64) *DigitalStoreContactInfoResponseBody {
	s.RootDeptId = &v
	return s
}

type DigitalStoreContactInfoResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreContactInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreContactInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreContactInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreContactInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreContactInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreContactInfoResponse) SetStatusCode(v int32) *DigitalStoreContactInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreContactInfoResponse) SetBody(v *DigitalStoreContactInfoResponseBody) *DigitalStoreContactInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreConversationsHeaders 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 (s DigitalStoreConversationsHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreConversationsHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreConversationsHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreConversationsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreConversationsHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreConversationsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreConversationsRequest struct {
	// example:
	//
	// xxx店
	ConversationTitle *string `json:"conversationTitle,omitempty" xml:"conversationTitle,omitempty"`
	// example:
	//
	// store
	ConversationType *string `json:"conversationType,omitempty" xml:"conversationType,omitempty"`
}

func (s DigitalStoreConversationsRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreConversationsRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreConversationsRequest) SetConversationTitle(v string) *DigitalStoreConversationsRequest {
	s.ConversationTitle = &v
	return s
}

func (s *DigitalStoreConversationsRequest) SetConversationType(v string) *DigitalStoreConversationsRequest {
	s.ConversationType = &v
	return s
}

type DigitalStoreConversationsResponseBody struct {
	Content []*DigitalStoreConversationsResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStoreConversationsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreConversationsResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreConversationsResponseBody) SetContent(v []*DigitalStoreConversationsResponseBodyContent) *DigitalStoreConversationsResponseBody {
	s.Content = v
	return s
}

type DigitalStoreConversationsResponseBodyContent struct {
	// example:
	//
	// xxxx店
	ConversationTitle *string `json:"conversationTitle,omitempty" xml:"conversationTitle,omitempty"`
	// example:
	//
	// store
	ConversationType *string `json:"conversationType,omitempty" xml:"conversationType,omitempty"`
	// example:
	//
	// 123
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// cid1234984881
	OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
}

func (s DigitalStoreConversationsResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreConversationsResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStoreConversationsResponseBodyContent) SetConversationTitle(v string) *DigitalStoreConversationsResponseBodyContent {
	s.ConversationTitle = &v
	return s
}

func (s *DigitalStoreConversationsResponseBodyContent) SetConversationType(v string) *DigitalStoreConversationsResponseBodyContent {
	s.ConversationType = &v
	return s
}

func (s *DigitalStoreConversationsResponseBodyContent) SetId(v int64) *DigitalStoreConversationsResponseBodyContent {
	s.Id = &v
	return s
}

func (s *DigitalStoreConversationsResponseBodyContent) SetOpenConversationId(v string) *DigitalStoreConversationsResponseBodyContent {
	s.OpenConversationId = &v
	return s
}

type DigitalStoreConversationsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreConversationsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreConversationsResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreConversationsResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreConversationsResponse) SetHeaders(v map[string]*string) *DigitalStoreConversationsResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreConversationsResponse) SetStatusCode(v int32) *DigitalStoreConversationsResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreConversationsResponse) SetBody(v *DigitalStoreConversationsResponseBody) *DigitalStoreConversationsResponse {
	s.Body = v
	return s
}

type DigitalStoreExportCardRecordHeaders 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 (s DigitalStoreExportCardRecordHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreExportCardRecordHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreExportCardRecordHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreExportCardRecordHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreExportCardRecordRequest struct {
	// example:
	//
	// 1696917858123
	BeginTime *int64 `json:"beginTime,omitempty" xml:"beginTime,omitempty"`
	// example:
	//
	// 1696918858123
	EndTime *int64   `json:"endTime,omitempty" xml:"endTime,omitempty"`
	Ids     []*int64 `json:"ids,omitempty" xml:"ids,omitempty" type:"Repeated"`
	// example:
	//
	// 场景卡片名称
	SceneCardName *string `json:"sceneCardName,omitempty" xml:"sceneCardName,omitempty"`
}

func (s DigitalStoreExportCardRecordRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordRequest) SetBeginTime(v int64) *DigitalStoreExportCardRecordRequest {
	s.BeginTime = &v
	return s
}

func (s *DigitalStoreExportCardRecordRequest) SetEndTime(v int64) *DigitalStoreExportCardRecordRequest {
	s.EndTime = &v
	return s
}

func (s *DigitalStoreExportCardRecordRequest) SetIds(v []*int64) *DigitalStoreExportCardRecordRequest {
	s.Ids = v
	return s
}

func (s *DigitalStoreExportCardRecordRequest) SetSceneCardName(v string) *DigitalStoreExportCardRecordRequest {
	s.SceneCardName = &v
	return s
}

type DigitalStoreExportCardRecordResponseBody struct {
	FileName   *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	FileType   *string `json:"fileType,omitempty" xml:"fileType,omitempty"`
	FileUrl    *string `json:"fileUrl,omitempty" xml:"fileUrl,omitempty"`
	Id         *string `json:"id,omitempty" xml:"id,omitempty"`
	IsImport   *string `json:"isImport,omitempty" xml:"isImport,omitempty"`
	Remark     *string `json:"remark,omitempty" xml:"remark,omitempty"`
	Status     *string `json:"status,omitempty" xml:"status,omitempty"`
	SuccessNum *string `json:"successNum,omitempty" xml:"successNum,omitempty"`
	TotalNum   *string `json:"totalNum,omitempty" xml:"totalNum,omitempty"`
}

func (s DigitalStoreExportCardRecordResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordResponseBody) SetFileName(v string) *DigitalStoreExportCardRecordResponseBody {
	s.FileName = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetFileType(v string) *DigitalStoreExportCardRecordResponseBody {
	s.FileType = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetFileUrl(v string) *DigitalStoreExportCardRecordResponseBody {
	s.FileUrl = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetId(v string) *DigitalStoreExportCardRecordResponseBody {
	s.Id = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetIsImport(v string) *DigitalStoreExportCardRecordResponseBody {
	s.IsImport = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetRemark(v string) *DigitalStoreExportCardRecordResponseBody {
	s.Remark = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetStatus(v string) *DigitalStoreExportCardRecordResponseBody {
	s.Status = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetSuccessNum(v string) *DigitalStoreExportCardRecordResponseBody {
	s.SuccessNum = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponseBody) SetTotalNum(v string) *DigitalStoreExportCardRecordResponseBody {
	s.TotalNum = &v
	return s
}

type DigitalStoreExportCardRecordResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreExportCardRecordResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreExportCardRecordResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordResponse) SetHeaders(v map[string]*string) *DigitalStoreExportCardRecordResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreExportCardRecordResponse) SetStatusCode(v int32) *DigitalStoreExportCardRecordResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreExportCardRecordResponse) SetBody(v *DigitalStoreExportCardRecordResponseBody) *DigitalStoreExportCardRecordResponse {
	s.Body = v
	return s
}

type DigitalStoreExportCardRecordDetailHeaders 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 (s DigitalStoreExportCardRecordDetailHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordDetailHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordDetailHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreExportCardRecordDetailHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreExportCardRecordDetailHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreExportCardRecordDetailHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreExportCardRecordDetailRequest struct {
	// example:
	//
	// 1696917858123
	BeginTime *int64 `json:"beginTime,omitempty" xml:"beginTime,omitempty"`
	// example:
	//
	// 1696918858123
	EndTime *int64   `json:"endTime,omitempty" xml:"endTime,omitempty"`
	Ids     []*int64 `json:"ids,omitempty" xml:"ids,omitempty" type:"Repeated"`
	// example:
	//
	// 场景卡片名称
	SceneCardName *string `json:"sceneCardName,omitempty" xml:"sceneCardName,omitempty"`
}

func (s DigitalStoreExportCardRecordDetailRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordDetailRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordDetailRequest) SetBeginTime(v int64) *DigitalStoreExportCardRecordDetailRequest {
	s.BeginTime = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailRequest) SetEndTime(v int64) *DigitalStoreExportCardRecordDetailRequest {
	s.EndTime = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailRequest) SetIds(v []*int64) *DigitalStoreExportCardRecordDetailRequest {
	s.Ids = v
	return s
}

func (s *DigitalStoreExportCardRecordDetailRequest) SetSceneCardName(v string) *DigitalStoreExportCardRecordDetailRequest {
	s.SceneCardName = &v
	return s
}

type DigitalStoreExportCardRecordDetailResponseBody struct {
	FileName   *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	FileType   *string `json:"fileType,omitempty" xml:"fileType,omitempty"`
	FileUrl    *string `json:"fileUrl,omitempty" xml:"fileUrl,omitempty"`
	Id         *string `json:"id,omitempty" xml:"id,omitempty"`
	IsImport   *string `json:"isImport,omitempty" xml:"isImport,omitempty"`
	Remark     *string `json:"remark,omitempty" xml:"remark,omitempty"`
	Status     *string `json:"status,omitempty" xml:"status,omitempty"`
	SuccessNum *string `json:"successNum,omitempty" xml:"successNum,omitempty"`
	TotalNum   *string `json:"totalNum,omitempty" xml:"totalNum,omitempty"`
}

func (s DigitalStoreExportCardRecordDetailResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordDetailResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetFileName(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.FileName = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetFileType(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.FileType = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetFileUrl(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.FileUrl = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetId(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.Id = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetIsImport(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.IsImport = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetRemark(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.Remark = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetStatus(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.Status = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetSuccessNum(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.SuccessNum = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponseBody) SetTotalNum(v string) *DigitalStoreExportCardRecordDetailResponseBody {
	s.TotalNum = &v
	return s
}

type DigitalStoreExportCardRecordDetailResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreExportCardRecordDetailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreExportCardRecordDetailResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreExportCardRecordDetailResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreExportCardRecordDetailResponse) SetHeaders(v map[string]*string) *DigitalStoreExportCardRecordDetailResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponse) SetStatusCode(v int32) *DigitalStoreExportCardRecordDetailResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreExportCardRecordDetailResponse) SetBody(v *DigitalStoreExportCardRecordDetailResponseBody) *DigitalStoreExportCardRecordDetailResponse {
	s.Body = v
	return s
}

type DigitalStoreGroupInfoHeaders 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 (s DigitalStoreGroupInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreGroupInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreGroupInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreGroupInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreGroupInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	GroupId *int64 `json:"groupId,omitempty" xml:"groupId,omitempty"`
}

func (s DigitalStoreGroupInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupInfoRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupInfoRequest) SetGroupId(v int64) *DigitalStoreGroupInfoRequest {
	s.GroupId = &v
	return s
}

type DigitalStoreGroupInfoResponseBody struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	GroupId *int64 `json:"groupId,omitempty" xml:"groupId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 分组1
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	// This parameter is required.
	StoreIdList []*int64 `json:"storeIdList,omitempty" xml:"storeIdList,omitempty" type:"Repeated"`
}

func (s DigitalStoreGroupInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupInfoResponseBody) SetGroupId(v int64) *DigitalStoreGroupInfoResponseBody {
	s.GroupId = &v
	return s
}

func (s *DigitalStoreGroupInfoResponseBody) SetGroupName(v string) *DigitalStoreGroupInfoResponseBody {
	s.GroupName = &v
	return s
}

func (s *DigitalStoreGroupInfoResponseBody) SetStoreIdList(v []*int64) *DigitalStoreGroupInfoResponseBody {
	s.StoreIdList = v
	return s
}

type DigitalStoreGroupInfoResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreGroupInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreGroupInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreGroupInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreGroupInfoResponse) SetStatusCode(v int32) *DigitalStoreGroupInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreGroupInfoResponse) SetBody(v *DigitalStoreGroupInfoResponseBody) *DigitalStoreGroupInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreGroupsHeaders 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 (s DigitalStoreGroupsHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupsHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupsHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreGroupsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreGroupsHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreGroupsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreGroupsResponseBody struct {
	// This parameter is required.
	Content []*DigitalStoreGroupsResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStoreGroupsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupsResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupsResponseBody) SetContent(v []*DigitalStoreGroupsResponseBodyContent) *DigitalStoreGroupsResponseBody {
	s.Content = v
	return s
}

type DigitalStoreGroupsResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	GroupId *int64 `json:"groupId,omitempty" xml:"groupId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 待装修门店
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
}

func (s DigitalStoreGroupsResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupsResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupsResponseBodyContent) SetGroupId(v int64) *DigitalStoreGroupsResponseBodyContent {
	s.GroupId = &v
	return s
}

func (s *DigitalStoreGroupsResponseBodyContent) SetGroupName(v string) *DigitalStoreGroupsResponseBodyContent {
	s.GroupName = &v
	return s
}

type DigitalStoreGroupsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreGroupsResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreGroupsResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreGroupsResponse) SetHeaders(v map[string]*string) *DigitalStoreGroupsResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreGroupsResponse) SetStatusCode(v int32) *DigitalStoreGroupsResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreGroupsResponse) SetBody(v *DigitalStoreGroupsResponseBody) *DigitalStoreGroupsResponse {
	s.Body = v
	return s
}

type DigitalStoreNodeInfoHeaders 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 (s DigitalStoreNodeInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreNodeInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreNodeInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreNodeInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreNodeInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreNodeInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreNodeInfoRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	NodeId *int64 `json:"nodeId,omitempty" xml:"nodeId,omitempty"`
}

func (s DigitalStoreNodeInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreNodeInfoRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreNodeInfoRequest) SetCode(v string) *DigitalStoreNodeInfoRequest {
	s.Code = &v
	return s
}

func (s *DigitalStoreNodeInfoRequest) SetNodeId(v int64) *DigitalStoreNodeInfoRequest {
	s.NodeId = &v
	return s
}

type DigitalStoreNodeInfoResponseBody struct {
	// example:
	//
	// 76644111
	DingDeptId *int64 `json:"dingDeptId,omitempty" xml:"dingDeptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 6756433
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 华夏之心店
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 873366531
	ParentId *int64 `json:"parentId,omitempty" xml:"parentId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Type *int64 `json:"type,omitempty" xml:"type,omitempty"`
}

func (s DigitalStoreNodeInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreNodeInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreNodeInfoResponseBody) SetDingDeptId(v int64) *DigitalStoreNodeInfoResponseBody {
	s.DingDeptId = &v
	return s
}

func (s *DigitalStoreNodeInfoResponseBody) SetId(v int64) *DigitalStoreNodeInfoResponseBody {
	s.Id = &v
	return s
}

func (s *DigitalStoreNodeInfoResponseBody) SetName(v string) *DigitalStoreNodeInfoResponseBody {
	s.Name = &v
	return s
}

func (s *DigitalStoreNodeInfoResponseBody) SetParentId(v int64) *DigitalStoreNodeInfoResponseBody {
	s.ParentId = &v
	return s
}

func (s *DigitalStoreNodeInfoResponseBody) SetType(v int64) *DigitalStoreNodeInfoResponseBody {
	s.Type = &v
	return s
}

type DigitalStoreNodeInfoResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreNodeInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreNodeInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreNodeInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreNodeInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreNodeInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreNodeInfoResponse) SetStatusCode(v int32) *DigitalStoreNodeInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreNodeInfoResponse) SetBody(v *DigitalStoreNodeInfoResponseBody) *DigitalStoreNodeInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreQueryConversationHeaders 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 (s DigitalStoreQueryConversationHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreQueryConversationHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreQueryConversationHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreQueryConversationHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreQueryConversationHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreQueryConversationHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreQueryConversationRequest struct {
	// example:
	//
	// F1342222
	StoreCode *string `json:"storeCode,omitempty" xml:"storeCode,omitempty"`
}

func (s DigitalStoreQueryConversationRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreQueryConversationRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreQueryConversationRequest) SetStoreCode(v string) *DigitalStoreQueryConversationRequest {
	s.StoreCode = &v
	return s
}

type DigitalStoreQueryConversationResponseBody struct {
	ConversationTitle  *string `json:"conversationTitle,omitempty" xml:"conversationTitle,omitempty"`
	OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
}

func (s DigitalStoreQueryConversationResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreQueryConversationResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreQueryConversationResponseBody) SetConversationTitle(v string) *DigitalStoreQueryConversationResponseBody {
	s.ConversationTitle = &v
	return s
}

func (s *DigitalStoreQueryConversationResponseBody) SetOpenConversationId(v string) *DigitalStoreQueryConversationResponseBody {
	s.OpenConversationId = &v
	return s
}

type DigitalStoreQueryConversationResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreQueryConversationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreQueryConversationResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreQueryConversationResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreQueryConversationResponse) SetHeaders(v map[string]*string) *DigitalStoreQueryConversationResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreQueryConversationResponse) SetStatusCode(v int32) *DigitalStoreQueryConversationResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreQueryConversationResponse) SetBody(v *DigitalStoreQueryConversationResponseBody) *DigitalStoreQueryConversationResponse {
	s.Body = v
	return s
}

type DigitalStoreRightsInfoHeaders 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 (s DigitalStoreRightsInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRightsInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreRightsInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreRightsInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreRightsInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreRightsInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreRightsInfoResponseBody struct {
	// example:
	//
	// 1659668620000
	EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	Quantity *int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// example:
	//
	// RIGHT_MDT_LEVEL
	RightsCode *string `json:"rightsCode,omitempty" xml:"rightsCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 高级版
	RightsName *string `json:"rightsName,omitempty" xml:"rightsName,omitempty"`
	// example:
	//
	// 1656990220000
	StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
}

func (s DigitalStoreRightsInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRightsInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreRightsInfoResponseBody) SetEndTime(v int64) *DigitalStoreRightsInfoResponseBody {
	s.EndTime = &v
	return s
}

func (s *DigitalStoreRightsInfoResponseBody) SetQuantity(v int64) *DigitalStoreRightsInfoResponseBody {
	s.Quantity = &v
	return s
}

func (s *DigitalStoreRightsInfoResponseBody) SetRightsCode(v string) *DigitalStoreRightsInfoResponseBody {
	s.RightsCode = &v
	return s
}

func (s *DigitalStoreRightsInfoResponseBody) SetRightsName(v string) *DigitalStoreRightsInfoResponseBody {
	s.RightsName = &v
	return s
}

func (s *DigitalStoreRightsInfoResponseBody) SetStartTime(v int64) *DigitalStoreRightsInfoResponseBody {
	s.StartTime = &v
	return s
}

type DigitalStoreRightsInfoResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreRightsInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreRightsInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRightsInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreRightsInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreRightsInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreRightsInfoResponse) SetStatusCode(v int32) *DigitalStoreRightsInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreRightsInfoResponse) SetBody(v *DigitalStoreRightsInfoResponseBody) *DigitalStoreRightsInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreRolesHeaders 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 (s DigitalStoreRolesHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRolesHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreRolesHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreRolesHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreRolesHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreRolesHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreRolesResponseBody struct {
	// This parameter is required.
	Content []*DigitalStoreRolesResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStoreRolesResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRolesResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreRolesResponseBody) SetContent(v []*DigitalStoreRolesResponseBodyContent) *DigitalStoreRolesResponseBody {
	s.Content = v
	return s
}

type DigitalStoreRolesResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	Level *int64 `json:"level,omitempty" xml:"level,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// DS_XXXXX
	RoleCode *string `json:"roleCode,omitempty" xml:"roleCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	RoleId *int64 `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 店长
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
	// example:
	//
	// create
	Source *string `json:"source,omitempty" xml:"source,omitempty"`
}

func (s DigitalStoreRolesResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRolesResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStoreRolesResponseBodyContent) SetLevel(v int64) *DigitalStoreRolesResponseBodyContent {
	s.Level = &v
	return s
}

func (s *DigitalStoreRolesResponseBodyContent) SetRoleCode(v string) *DigitalStoreRolesResponseBodyContent {
	s.RoleCode = &v
	return s
}

func (s *DigitalStoreRolesResponseBodyContent) SetRoleId(v int64) *DigitalStoreRolesResponseBodyContent {
	s.RoleId = &v
	return s
}

func (s *DigitalStoreRolesResponseBodyContent) SetRoleName(v string) *DigitalStoreRolesResponseBodyContent {
	s.RoleName = &v
	return s
}

func (s *DigitalStoreRolesResponseBodyContent) SetSource(v string) *DigitalStoreRolesResponseBodyContent {
	s.Source = &v
	return s
}

type DigitalStoreRolesResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreRolesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreRolesResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreRolesResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreRolesResponse) SetHeaders(v map[string]*string) *DigitalStoreRolesResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreRolesResponse) SetStatusCode(v int32) *DigitalStoreRolesResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreRolesResponse) SetBody(v *DigitalStoreRolesResponseBody) *DigitalStoreRolesResponse {
	s.Body = v
	return s
}

type DigitalStoreSceneScopeHeaders 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 (s DigitalStoreSceneScopeHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSceneScopeHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreSceneScopeHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreSceneScopeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreSceneScopeHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreSceneScopeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreSceneScopeRequest struct {
	// example:
	//
	// cidxxa9122s733s1==
	OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
	// example:
	//
	// achieveAllocate
	SceneCode *string `json:"sceneCode,omitempty" xml:"sceneCode,omitempty"`
}

func (s DigitalStoreSceneScopeRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSceneScopeRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreSceneScopeRequest) SetOpenConversationId(v string) *DigitalStoreSceneScopeRequest {
	s.OpenConversationId = &v
	return s
}

func (s *DigitalStoreSceneScopeRequest) SetSceneCode(v string) *DigitalStoreSceneScopeRequest {
	s.SceneCode = &v
	return s
}

type DigitalStoreSceneScopeResponseBody struct {
	// example:
	//
	// store
	GroupConversationType *string `json:"groupConversationType,omitempty" xml:"groupConversationType,omitempty"`
	// example:
	//
	// 536239912
	ScopeId *int64 `json:"scopeId,omitempty" xml:"scopeId,omitempty"`
}

func (s DigitalStoreSceneScopeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSceneScopeResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreSceneScopeResponseBody) SetGroupConversationType(v string) *DigitalStoreSceneScopeResponseBody {
	s.GroupConversationType = &v
	return s
}

func (s *DigitalStoreSceneScopeResponseBody) SetScopeId(v int64) *DigitalStoreSceneScopeResponseBody {
	s.ScopeId = &v
	return s
}

type DigitalStoreSceneScopeResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreSceneScopeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreSceneScopeResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSceneScopeResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreSceneScopeResponse) SetHeaders(v map[string]*string) *DigitalStoreSceneScopeResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreSceneScopeResponse) SetStatusCode(v int32) *DigitalStoreSceneScopeResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreSceneScopeResponse) SetBody(v *DigitalStoreSceneScopeResponseBody) *DigitalStoreSceneScopeResponse {
	s.Body = v
	return s
}

type DigitalStoreStoreInfoHeaders 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 (s DigitalStoreStoreInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreStoreInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreStoreInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreStoreInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreStoreInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreStoreInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreStoreInfoRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	StoreId *int64 `json:"storeId,omitempty" xml:"storeId,omitempty"`
}

func (s DigitalStoreStoreInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreStoreInfoRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreStoreInfoRequest) SetCode(v string) *DigitalStoreStoreInfoRequest {
	s.Code = &v
	return s
}

func (s *DigitalStoreStoreInfoRequest) SetStoreId(v int64) *DigitalStoreStoreInfoRequest {
	s.StoreId = &v
	return s
}

type DigitalStoreStoreInfoResponseBody struct {
	// This parameter is required.
	//
	// example:
	//
	// 余杭塘路xxxx号
	Address *string `json:"address,omitempty" xml:"address,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 9:00-22:00
	BusinessHours *string `json:"businessHours,omitempty" xml:"businessHours,omitempty"`
	// example:
	//
	// 64266411
	DingDeptId *int64 `json:"dingDeptId,omitempty" xml:"dingDeptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123
	Latitude *string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 余杭塘路xxxx号
	LocationAddress *string `json:"locationAddress,omitempty" xml:"locationAddress,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123
	Longitude *string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 华夏之心店
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 873366531
	ParentId *int64 `json:"parentId,omitempty" xml:"parentId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// CLOSED
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10平方米
	StoreAcreage *string `json:"storeAcreage,omitempty" xml:"storeAcreage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1千兆
	StoreBandwidth *string `json:"storeBandwidth,omitempty" xml:"storeBandwidth,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// xxxxxxxxxxx
	StoreCode *string `json:"storeCode,omitempty" xml:"storeCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 6756433
	StoreId *int64 `json:"storeId,omitempty" xml:"storeId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0571-123456
	Telephone *string `json:"telephone,omitempty" xml:"telephone,omitempty"`
}

func (s DigitalStoreStoreInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreStoreInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreStoreInfoResponseBody) SetAddress(v string) *DigitalStoreStoreInfoResponseBody {
	s.Address = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetBusinessHours(v string) *DigitalStoreStoreInfoResponseBody {
	s.BusinessHours = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetDingDeptId(v int64) *DigitalStoreStoreInfoResponseBody {
	s.DingDeptId = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetLatitude(v string) *DigitalStoreStoreInfoResponseBody {
	s.Latitude = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetLocationAddress(v string) *DigitalStoreStoreInfoResponseBody {
	s.LocationAddress = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetLongitude(v string) *DigitalStoreStoreInfoResponseBody {
	s.Longitude = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetName(v string) *DigitalStoreStoreInfoResponseBody {
	s.Name = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetParentId(v int64) *DigitalStoreStoreInfoResponseBody {
	s.ParentId = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetStatus(v string) *DigitalStoreStoreInfoResponseBody {
	s.Status = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetStoreAcreage(v string) *DigitalStoreStoreInfoResponseBody {
	s.StoreAcreage = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetStoreBandwidth(v string) *DigitalStoreStoreInfoResponseBody {
	s.StoreBandwidth = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetStoreCode(v string) *DigitalStoreStoreInfoResponseBody {
	s.StoreCode = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetStoreId(v int64) *DigitalStoreStoreInfoResponseBody {
	s.StoreId = &v
	return s
}

func (s *DigitalStoreStoreInfoResponseBody) SetTelephone(v string) *DigitalStoreStoreInfoResponseBody {
	s.Telephone = &v
	return s
}

type DigitalStoreStoreInfoResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreStoreInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreStoreInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreStoreInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreStoreInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreStoreInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreStoreInfoResponse) SetStatusCode(v int32) *DigitalStoreStoreInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreStoreInfoResponse) SetBody(v *DigitalStoreStoreInfoResponseBody) *DigitalStoreStoreInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreSubNodesHeaders 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 (s DigitalStoreSubNodesHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSubNodesHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreSubNodesHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreSubNodesHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreSubNodesHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreSubNodesHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreSubNodesRequest struct {
	// This parameter is required.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	NodeId *int64 `json:"nodeId,omitempty" xml:"nodeId,omitempty"`
}

func (s DigitalStoreSubNodesRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSubNodesRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreSubNodesRequest) SetCode(v string) *DigitalStoreSubNodesRequest {
	s.Code = &v
	return s
}

func (s *DigitalStoreSubNodesRequest) SetNodeId(v int64) *DigitalStoreSubNodesRequest {
	s.NodeId = &v
	return s
}

type DigitalStoreSubNodesResponseBody struct {
	// This parameter is required.
	Content []*DigitalStoreSubNodesResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStoreSubNodesResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSubNodesResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreSubNodesResponseBody) SetContent(v []*DigitalStoreSubNodesResponseBodyContent) *DigitalStoreSubNodesResponseBody {
	s.Content = v
	return s
}

type DigitalStoreSubNodesResponseBodyContent struct {
	DingDeptId *int64 `json:"dingDeptId,omitempty" xml:"dingDeptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 6756433
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 华夏之心店
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 873366531
	ParentId *int64 `json:"parentId,omitempty" xml:"parentId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Type *int64 `json:"type,omitempty" xml:"type,omitempty"`
}

func (s DigitalStoreSubNodesResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSubNodesResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStoreSubNodesResponseBodyContent) SetDingDeptId(v int64) *DigitalStoreSubNodesResponseBodyContent {
	s.DingDeptId = &v
	return s
}

func (s *DigitalStoreSubNodesResponseBodyContent) SetId(v int64) *DigitalStoreSubNodesResponseBodyContent {
	s.Id = &v
	return s
}

func (s *DigitalStoreSubNodesResponseBodyContent) SetName(v string) *DigitalStoreSubNodesResponseBodyContent {
	s.Name = &v
	return s
}

func (s *DigitalStoreSubNodesResponseBodyContent) SetParentId(v int64) *DigitalStoreSubNodesResponseBodyContent {
	s.ParentId = &v
	return s
}

func (s *DigitalStoreSubNodesResponseBodyContent) SetType(v int64) *DigitalStoreSubNodesResponseBodyContent {
	s.Type = &v
	return s
}

type DigitalStoreSubNodesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreSubNodesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreSubNodesResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreSubNodesResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreSubNodesResponse) SetHeaders(v map[string]*string) *DigitalStoreSubNodesResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreSubNodesResponse) SetStatusCode(v int32) *DigitalStoreSubNodesResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreSubNodesResponse) SetBody(v *DigitalStoreSubNodesResponseBody) *DigitalStoreSubNodesResponse {
	s.Body = v
	return s
}

type DigitalStoreUpdateAuthInfoHeaders 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 (s DigitalStoreUpdateAuthInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreUpdateAuthInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreUpdateAuthInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreUpdateAuthInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreUpdateAuthInfoRequest struct {
	UpdateUserList []*DigitalStoreUpdateAuthInfoRequestUpdateUserList `json:"updateUserList,omitempty" xml:"updateUserList,omitempty" type:"Repeated"`
}

func (s DigitalStoreUpdateAuthInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoRequest) SetUpdateUserList(v []*DigitalStoreUpdateAuthInfoRequestUpdateUserList) *DigitalStoreUpdateAuthInfoRequest {
	s.UpdateUserList = v
	return s
}

type DigitalStoreUpdateAuthInfoRequestUpdateUserList struct {
	RoleList     []*DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList     `json:"roleList,omitempty" xml:"roleList,omitempty" type:"Repeated"`
	UserAuthList []*DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList `json:"userAuthList,omitempty" xml:"userAuthList,omitempty" type:"Repeated"`
	// example:
	//
	// 0998182231
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s DigitalStoreUpdateAuthInfoRequestUpdateUserList) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoRequestUpdateUserList) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserList) SetRoleList(v []*DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList) *DigitalStoreUpdateAuthInfoRequestUpdateUserList {
	s.RoleList = v
	return s
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserList) SetUserAuthList(v []*DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList) *DigitalStoreUpdateAuthInfoRequestUpdateUserList {
	s.UserAuthList = v
	return s
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserList) SetUserId(v string) *DigitalStoreUpdateAuthInfoRequestUpdateUserList {
	s.UserId = &v
	return s
}

type DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList struct {
	// example:
	//
	// 区域督导
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
	// example:
	//
	// 255
	SourceRoleId *string `json:"sourceRoleId,omitempty" xml:"sourceRoleId,omitempty"`
}

func (s DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList) SetRoleName(v string) *DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList {
	s.RoleName = &v
	return s
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList) SetSourceRoleId(v string) *DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList {
	s.SourceRoleId = &v
	return s
}

type DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList struct {
	// example:
	//
	// 8733901123
	DingDeptId *string `json:"dingDeptId,omitempty" xml:"dingDeptId,omitempty"`
	// example:
	//
	// 998383831
	SourceDeptId *string `json:"sourceDeptId,omitempty" xml:"sourceDeptId,omitempty"`
}

func (s DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList) SetDingDeptId(v string) *DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList {
	s.DingDeptId = &v
	return s
}

func (s *DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList) SetSourceDeptId(v string) *DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList {
	s.SourceDeptId = &v
	return s
}

type DigitalStoreUpdateAuthInfoResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s DigitalStoreUpdateAuthInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoResponseBody) SetResult(v bool) *DigitalStoreUpdateAuthInfoResponseBody {
	s.Result = &v
	return s
}

type DigitalStoreUpdateAuthInfoResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreUpdateAuthInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreUpdateAuthInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUpdateAuthInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreUpdateAuthInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreUpdateAuthInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreUpdateAuthInfoResponse) SetStatusCode(v int32) *DigitalStoreUpdateAuthInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreUpdateAuthInfoResponse) SetBody(v *DigitalStoreUpdateAuthInfoResponseBody) *DigitalStoreUpdateAuthInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreUserInfoHeaders 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 (s DigitalStoreUserInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUserInfoHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreUserInfoHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreUserInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreUserInfoHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreUserInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreUserInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// alt;ss1331
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2311sds1
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s DigitalStoreUserInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUserInfoRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreUserInfoRequest) SetCode(v string) *DigitalStoreUserInfoRequest {
	s.Code = &v
	return s
}

func (s *DigitalStoreUserInfoRequest) SetUserId(v string) *DigitalStoreUserInfoRequest {
	s.UserId = &v
	return s
}

type DigitalStoreUserInfoResponseBody struct {
	// example:
	//
	// 张三
	Name       *string  `json:"name,omitempty" xml:"name,omitempty"`
	RoleIdList []*int64 `json:"roleIdList,omitempty" xml:"roleIdList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 5647993312
	ScopeList []*int64 `json:"scopeList,omitempty" xml:"scopeList,omitempty" type:"Repeated"`
	// This parameter is required.
	StoreList []*int64 `json:"storeList,omitempty" xml:"storeList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 331222222
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s DigitalStoreUserInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUserInfoResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreUserInfoResponseBody) SetName(v string) *DigitalStoreUserInfoResponseBody {
	s.Name = &v
	return s
}

func (s *DigitalStoreUserInfoResponseBody) SetRoleIdList(v []*int64) *DigitalStoreUserInfoResponseBody {
	s.RoleIdList = v
	return s
}

func (s *DigitalStoreUserInfoResponseBody) SetScopeList(v []*int64) *DigitalStoreUserInfoResponseBody {
	s.ScopeList = v
	return s
}

func (s *DigitalStoreUserInfoResponseBody) SetStoreList(v []*int64) *DigitalStoreUserInfoResponseBody {
	s.StoreList = v
	return s
}

func (s *DigitalStoreUserInfoResponseBody) SetUserId(v string) *DigitalStoreUserInfoResponseBody {
	s.UserId = &v
	return s
}

type DigitalStoreUserInfoResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreUserInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreUserInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUserInfoResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreUserInfoResponse) SetHeaders(v map[string]*string) *DigitalStoreUserInfoResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreUserInfoResponse) SetStatusCode(v int32) *DigitalStoreUserInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreUserInfoResponse) SetBody(v *DigitalStoreUserInfoResponseBody) *DigitalStoreUserInfoResponse {
	s.Body = v
	return s
}

type DigitalStoreUsersHeaders 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 (s DigitalStoreUsersHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUsersHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStoreUsersHeaders) SetCommonHeaders(v map[string]*string) *DigitalStoreUsersHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStoreUsersHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStoreUsersHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStoreUsersRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// alt:1213ss
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1231
	NodeId *int64 `json:"nodeId,omitempty" xml:"nodeId,omitempty"`
}

func (s DigitalStoreUsersRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUsersRequest) GoString() string {
	return s.String()
}

func (s *DigitalStoreUsersRequest) SetCode(v string) *DigitalStoreUsersRequest {
	s.Code = &v
	return s
}

func (s *DigitalStoreUsersRequest) SetNodeId(v int64) *DigitalStoreUsersRequest {
	s.NodeId = &v
	return s
}

type DigitalStoreUsersResponseBody struct {
	// This parameter is required.
	Content []*DigitalStoreUsersResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStoreUsersResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUsersResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStoreUsersResponseBody) SetContent(v []*DigitalStoreUsersResponseBodyContent) *DigitalStoreUsersResponseBody {
	s.Content = v
	return s
}

type DigitalStoreUsersResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 张三
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 112121341231
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s DigitalStoreUsersResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUsersResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStoreUsersResponseBodyContent) SetName(v string) *DigitalStoreUsersResponseBodyContent {
	s.Name = &v
	return s
}

func (s *DigitalStoreUsersResponseBodyContent) SetUserId(v string) *DigitalStoreUsersResponseBodyContent {
	s.UserId = &v
	return s
}

type DigitalStoreUsersResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStoreUsersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStoreUsersResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStoreUsersResponse) GoString() string {
	return s.String()
}

func (s *DigitalStoreUsersResponse) SetHeaders(v map[string]*string) *DigitalStoreUsersResponse {
	s.Headers = v
	return s
}

func (s *DigitalStoreUsersResponse) SetStatusCode(v int32) *DigitalStoreUsersResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStoreUsersResponse) SetBody(v *DigitalStoreUsersResponseBody) *DigitalStoreUsersResponse {
	s.Body = v
	return s
}

type DigitalStorelistExportTaskRecordHeaders 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 (s DigitalStorelistExportTaskRecordHeaders) String() string {
	return tea.Prettify(s)
}

func (s DigitalStorelistExportTaskRecordHeaders) GoString() string {
	return s.String()
}

func (s *DigitalStorelistExportTaskRecordHeaders) SetCommonHeaders(v map[string]*string) *DigitalStorelistExportTaskRecordHeaders {
	s.CommonHeaders = v
	return s
}

func (s *DigitalStorelistExportTaskRecordHeaders) SetXAcsDingtalkAccessToken(v string) *DigitalStorelistExportTaskRecordHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type DigitalStorelistExportTaskRecordRequest struct {
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	PageSize   *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s DigitalStorelistExportTaskRecordRequest) String() string {
	return tea.Prettify(s)
}

func (s DigitalStorelistExportTaskRecordRequest) GoString() string {
	return s.String()
}

func (s *DigitalStorelistExportTaskRecordRequest) SetPageNumber(v int32) *DigitalStorelistExportTaskRecordRequest {
	s.PageNumber = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordRequest) SetPageSize(v int32) *DigitalStorelistExportTaskRecordRequest {
	s.PageSize = &v
	return s
}

type DigitalStorelistExportTaskRecordResponseBody struct {
	Content []*DigitalStorelistExportTaskRecordResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s DigitalStorelistExportTaskRecordResponseBody) String() string {
	return tea.Prettify(s)
}

func (s DigitalStorelistExportTaskRecordResponseBody) GoString() string {
	return s.String()
}

func (s *DigitalStorelistExportTaskRecordResponseBody) SetContent(v []*DigitalStorelistExportTaskRecordResponseBodyContent) *DigitalStorelistExportTaskRecordResponseBody {
	s.Content = v
	return s
}

type DigitalStorelistExportTaskRecordResponseBodyContent struct {
	FileName   *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	FileType   *string `json:"fileType,omitempty" xml:"fileType,omitempty"`
	FileUrl    *string `json:"fileUrl,omitempty" xml:"fileUrl,omitempty"`
	Id         *string `json:"id,omitempty" xml:"id,omitempty"`
	IsImport   *string `json:"isImport,omitempty" xml:"isImport,omitempty"`
	Remark     *string `json:"remark,omitempty" xml:"remark,omitempty"`
	Status     *string `json:"status,omitempty" xml:"status,omitempty"`
	SuccessNum *string `json:"successNum,omitempty" xml:"successNum,omitempty"`
	TotalNum   *string `json:"totalNum,omitempty" xml:"totalNum,omitempty"`
}

func (s DigitalStorelistExportTaskRecordResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s DigitalStorelistExportTaskRecordResponseBodyContent) GoString() string {
	return s.String()
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetFileName(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.FileName = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetFileType(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.FileType = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetFileUrl(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.FileUrl = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetId(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.Id = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetIsImport(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.IsImport = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetRemark(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.Remark = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetStatus(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.Status = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetSuccessNum(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.SuccessNum = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponseBodyContent) SetTotalNum(v string) *DigitalStorelistExportTaskRecordResponseBodyContent {
	s.TotalNum = &v
	return s
}

type DigitalStorelistExportTaskRecordResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DigitalStorelistExportTaskRecordResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s DigitalStorelistExportTaskRecordResponse) String() string {
	return tea.Prettify(s)
}

func (s DigitalStorelistExportTaskRecordResponse) GoString() string {
	return s.String()
}

func (s *DigitalStorelistExportTaskRecordResponse) SetHeaders(v map[string]*string) *DigitalStorelistExportTaskRecordResponse {
	s.Headers = v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponse) SetStatusCode(v int32) *DigitalStorelistExportTaskRecordResponse {
	s.StatusCode = &v
	return s
}

func (s *DigitalStorelistExportTaskRecordResponse) SetBody(v *DigitalStorelistExportTaskRecordResponseBody) *DigitalStorelistExportTaskRecordResponse {
	s.Body = v
	return s
}

type ExternalQueryExternalAppOrgsHeaders 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 (s ExternalQueryExternalAppOrgsHeaders) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalAppOrgsHeaders) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalAppOrgsHeaders) SetCommonHeaders(v map[string]*string) *ExternalQueryExternalAppOrgsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ExternalQueryExternalAppOrgsHeaders) SetXAcsDingtalkAccessToken(v string) *ExternalQueryExternalAppOrgsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ExternalQueryExternalAppOrgsRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// ecological
	ExternalType *string `json:"externalType,omitempty" xml:"externalType,omitempty"`
}

func (s ExternalQueryExternalAppOrgsRequest) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalAppOrgsRequest) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalAppOrgsRequest) SetExternalType(v string) *ExternalQueryExternalAppOrgsRequest {
	s.ExternalType = &v
	return s
}

type ExternalQueryExternalAppOrgsResponseBody struct {
	Result []*ExternalQueryExternalAppOrgsResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s ExternalQueryExternalAppOrgsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalAppOrgsResponseBody) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalAppOrgsResponseBody) SetResult(v []*ExternalQueryExternalAppOrgsResponseBodyResult) *ExternalQueryExternalAppOrgsResponseBody {
	s.Result = v
	return s
}

type ExternalQueryExternalAppOrgsResponseBodyResult struct {
	// example:
	//
	// ding121212
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// example:
	//
	// 组织名
	CorpName *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
}

func (s ExternalQueryExternalAppOrgsResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalAppOrgsResponseBodyResult) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalAppOrgsResponseBodyResult) SetCorpId(v string) *ExternalQueryExternalAppOrgsResponseBodyResult {
	s.CorpId = &v
	return s
}

func (s *ExternalQueryExternalAppOrgsResponseBodyResult) SetCorpName(v string) *ExternalQueryExternalAppOrgsResponseBodyResult {
	s.CorpName = &v
	return s
}

type ExternalQueryExternalAppOrgsResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ExternalQueryExternalAppOrgsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ExternalQueryExternalAppOrgsResponse) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalAppOrgsResponse) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalAppOrgsResponse) SetHeaders(v map[string]*string) *ExternalQueryExternalAppOrgsResponse {
	s.Headers = v
	return s
}

func (s *ExternalQueryExternalAppOrgsResponse) SetStatusCode(v int32) *ExternalQueryExternalAppOrgsResponse {
	s.StatusCode = &v
	return s
}

func (s *ExternalQueryExternalAppOrgsResponse) SetBody(v *ExternalQueryExternalAppOrgsResponseBody) *ExternalQueryExternalAppOrgsResponse {
	s.Body = v
	return s
}

type ExternalQueryExternalBelongMainOrgHeaders 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 (s ExternalQueryExternalBelongMainOrgHeaders) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalBelongMainOrgHeaders) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalBelongMainOrgHeaders) SetCommonHeaders(v map[string]*string) *ExternalQueryExternalBelongMainOrgHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ExternalQueryExternalBelongMainOrgHeaders) SetXAcsDingtalkAccessToken(v string) *ExternalQueryExternalBelongMainOrgHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ExternalQueryExternalBelongMainOrgRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// ecological
	ExternalType *string `json:"externalType,omitempty" xml:"externalType,omitempty"`
}

func (s ExternalQueryExternalBelongMainOrgRequest) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalBelongMainOrgRequest) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalBelongMainOrgRequest) SetExternalType(v string) *ExternalQueryExternalBelongMainOrgRequest {
	s.ExternalType = &v
	return s
}

type ExternalQueryExternalBelongMainOrgResponseBody struct {
	CorpId   *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	CorpName *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
}

func (s ExternalQueryExternalBelongMainOrgResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalBelongMainOrgResponseBody) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalBelongMainOrgResponseBody) SetCorpId(v string) *ExternalQueryExternalBelongMainOrgResponseBody {
	s.CorpId = &v
	return s
}

func (s *ExternalQueryExternalBelongMainOrgResponseBody) SetCorpName(v string) *ExternalQueryExternalBelongMainOrgResponseBody {
	s.CorpName = &v
	return s
}

type ExternalQueryExternalBelongMainOrgResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ExternalQueryExternalBelongMainOrgResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ExternalQueryExternalBelongMainOrgResponse) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalBelongMainOrgResponse) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalBelongMainOrgResponse) SetHeaders(v map[string]*string) *ExternalQueryExternalBelongMainOrgResponse {
	s.Headers = v
	return s
}

func (s *ExternalQueryExternalBelongMainOrgResponse) SetStatusCode(v int32) *ExternalQueryExternalBelongMainOrgResponse {
	s.StatusCode = &v
	return s
}

func (s *ExternalQueryExternalBelongMainOrgResponse) SetBody(v *ExternalQueryExternalBelongMainOrgResponseBody) *ExternalQueryExternalBelongMainOrgResponse {
	s.Body = v
	return s
}

type ExternalQueryExternalOrgsHeaders 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 (s ExternalQueryExternalOrgsHeaders) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalOrgsHeaders) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalOrgsHeaders) SetCommonHeaders(v map[string]*string) *ExternalQueryExternalOrgsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *ExternalQueryExternalOrgsHeaders) SetXAcsDingtalkAccessToken(v string) *ExternalQueryExternalOrgsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type ExternalQueryExternalOrgsRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// ecological
	ExternalType *string `json:"externalType,omitempty" xml:"externalType,omitempty"`
}

func (s ExternalQueryExternalOrgsRequest) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalOrgsRequest) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalOrgsRequest) SetExternalType(v string) *ExternalQueryExternalOrgsRequest {
	s.ExternalType = &v
	return s
}

type ExternalQueryExternalOrgsResponseBody struct {
	Result []*ExternalQueryExternalOrgsResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s ExternalQueryExternalOrgsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalOrgsResponseBody) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalOrgsResponseBody) SetResult(v []*ExternalQueryExternalOrgsResponseBodyResult) *ExternalQueryExternalOrgsResponseBody {
	s.Result = v
	return s
}

type ExternalQueryExternalOrgsResponseBodyResult struct {
	// example:
	//
	// ding121212
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// example:
	//
	// 组织名
	CorpName *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
}

func (s ExternalQueryExternalOrgsResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalOrgsResponseBodyResult) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalOrgsResponseBodyResult) SetCorpId(v string) *ExternalQueryExternalOrgsResponseBodyResult {
	s.CorpId = &v
	return s
}

func (s *ExternalQueryExternalOrgsResponseBodyResult) SetCorpName(v string) *ExternalQueryExternalOrgsResponseBodyResult {
	s.CorpName = &v
	return s
}

type ExternalQueryExternalOrgsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ExternalQueryExternalOrgsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s ExternalQueryExternalOrgsResponse) String() string {
	return tea.Prettify(s)
}

func (s ExternalQueryExternalOrgsResponse) GoString() string {
	return s.String()
}

func (s *ExternalQueryExternalOrgsResponse) SetHeaders(v map[string]*string) *ExternalQueryExternalOrgsResponse {
	s.Headers = v
	return s
}

func (s *ExternalQueryExternalOrgsResponse) SetStatusCode(v int32) *ExternalQueryExternalOrgsResponse {
	s.StatusCode = &v
	return s
}

func (s *ExternalQueryExternalOrgsResponse) SetBody(v *ExternalQueryExternalOrgsResponseBody) *ExternalQueryExternalOrgsResponse {
	s.Body = v
	return s
}

type GetTaskPackageResultHeaders 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 (s GetTaskPackageResultHeaders) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultHeaders) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultHeaders) SetCommonHeaders(v map[string]*string) *GetTaskPackageResultHeaders {
	s.CommonHeaders = v
	return s
}

func (s *GetTaskPackageResultHeaders) SetXAcsDingtalkAccessToken(v string) *GetTaskPackageResultHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type GetTaskPackageResultRequest struct {
	BizCode *string `json:"bizCode,omitempty" xml:"bizCode,omitempty"`
	// This parameter is required.
	TaskPackageId *string `json:"taskPackageId,omitempty" xml:"taskPackageId,omitempty"`
}

func (s GetTaskPackageResultRequest) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultRequest) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultRequest) SetBizCode(v string) *GetTaskPackageResultRequest {
	s.BizCode = &v
	return s
}

func (s *GetTaskPackageResultRequest) SetTaskPackageId(v string) *GetTaskPackageResultRequest {
	s.TaskPackageId = &v
	return s
}

type GetTaskPackageResultResponseBody struct {
	TaskPackageId *string                                  `json:"taskPackageId,omitempty" xml:"taskPackageId,omitempty"`
	Tasks         []*GetTaskPackageResultResponseBodyTasks `json:"tasks,omitempty" xml:"tasks,omitempty" type:"Repeated"`
}

func (s GetTaskPackageResultResponseBody) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultResponseBody) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultResponseBody) SetTaskPackageId(v string) *GetTaskPackageResultResponseBody {
	s.TaskPackageId = &v
	return s
}

func (s *GetTaskPackageResultResponseBody) SetTasks(v []*GetTaskPackageResultResponseBodyTasks) *GetTaskPackageResultResponseBody {
	s.Tasks = v
	return s
}

type GetTaskPackageResultResponseBodyTasks struct {
	ReportLink *string                                      `json:"reportLink,omitempty" xml:"reportLink,omitempty"`
	Result     *GetTaskPackageResultResponseBodyTasksResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	Status     *string                                      `json:"status,omitempty" xml:"status,omitempty"`
	StatusInfo *string                                      `json:"statusInfo,omitempty" xml:"statusInfo,omitempty"`
	TaskId     *string                                      `json:"taskId,omitempty" xml:"taskId,omitempty"`
}

func (s GetTaskPackageResultResponseBodyTasks) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultResponseBodyTasks) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultResponseBodyTasks) SetReportLink(v string) *GetTaskPackageResultResponseBodyTasks {
	s.ReportLink = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasks) SetResult(v *GetTaskPackageResultResponseBodyTasksResult) *GetTaskPackageResultResponseBodyTasks {
	s.Result = v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasks) SetStatus(v string) *GetTaskPackageResultResponseBodyTasks {
	s.Status = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasks) SetStatusInfo(v string) *GetTaskPackageResultResponseBodyTasks {
	s.StatusInfo = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasks) SetTaskId(v string) *GetTaskPackageResultResponseBodyTasks {
	s.TaskId = &v
	return s
}

type GetTaskPackageResultResponseBodyTasksResult struct {
	AudioText          *string                                             `json:"audioText,omitempty" xml:"audioText,omitempty"`
	AudioTextFormatted *string                                             `json:"audioTextFormatted,omitempty" xml:"audioTextFormatted,omitempty"`
	Date               *string                                             `json:"date,omitempty" xml:"date,omitempty"`
	Desc               *string                                             `json:"desc,omitempty" xml:"desc,omitempty"`
	FormName           *string                                             `json:"formName,omitempty" xml:"formName,omitempty"`
	Id                 *int64                                              `json:"id,omitempty" xml:"id,omitempty"`
	Items              []*GetTaskPackageResultResponseBodyTasksResultItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	Name               *string                                             `json:"name,omitempty" xml:"name,omitempty"`
	ParseText          *string                                             `json:"parseText,omitempty" xml:"parseText,omitempty"`
	RawData            *string                                             `json:"rawData,omitempty" xml:"rawData,omitempty"`
	Summary            *string                                             `json:"summary,omitempty" xml:"summary,omitempty"`
	Total              *int64                                              `json:"total,omitempty" xml:"total,omitempty"`
}

func (s GetTaskPackageResultResponseBodyTasksResult) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultResponseBodyTasksResult) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetAudioText(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.AudioText = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetAudioTextFormatted(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.AudioTextFormatted = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetDate(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.Date = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetDesc(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.Desc = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetFormName(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.FormName = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetId(v int64) *GetTaskPackageResultResponseBodyTasksResult {
	s.Id = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetItems(v []*GetTaskPackageResultResponseBodyTasksResultItems) *GetTaskPackageResultResponseBodyTasksResult {
	s.Items = v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetName(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.Name = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetParseText(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.ParseText = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetRawData(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.RawData = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetSummary(v string) *GetTaskPackageResultResponseBodyTasksResult {
	s.Summary = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResult) SetTotal(v int64) *GetTaskPackageResultResponseBodyTasksResult {
	s.Total = &v
	return s
}

type GetTaskPackageResultResponseBodyTasksResultItems struct {
	Advantages   *string `json:"advantages,omitempty" xml:"advantages,omitempty"`
	FabReference *string `json:"fabReference,omitempty" xml:"fabReference,omitempty"`
	Info         *string `json:"info,omitempty" xml:"info,omitempty"`
	Name         *string `json:"name,omitempty" xml:"name,omitempty"`
	Point        *int64  `json:"point,omitempty" xml:"point,omitempty"`
	Reference    *string `json:"reference,omitempty" xml:"reference,omitempty"`
	Res          *bool   `json:"res,omitempty" xml:"res,omitempty"`
	Suggestion   *string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
}

func (s GetTaskPackageResultResponseBodyTasksResultItems) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultResponseBodyTasksResultItems) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetAdvantages(v string) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Advantages = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetFabReference(v string) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.FabReference = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetInfo(v string) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Info = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetName(v string) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Name = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetPoint(v int64) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Point = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetReference(v string) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Reference = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetRes(v bool) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Res = &v
	return s
}

func (s *GetTaskPackageResultResponseBodyTasksResultItems) SetSuggestion(v string) *GetTaskPackageResultResponseBodyTasksResultItems {
	s.Suggestion = &v
	return s
}

type GetTaskPackageResultResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTaskPackageResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s GetTaskPackageResultResponse) String() string {
	return tea.Prettify(s)
}

func (s GetTaskPackageResultResponse) GoString() string {
	return s.String()
}

func (s *GetTaskPackageResultResponse) SetHeaders(v map[string]*string) *GetTaskPackageResultResponse {
	s.Headers = v
	return s
}

func (s *GetTaskPackageResultResponse) SetStatusCode(v int32) *GetTaskPackageResultResponse {
	s.StatusCode = &v
	return s
}

func (s *GetTaskPackageResultResponse) SetBody(v *GetTaskPackageResultResponseBody) *GetTaskPackageResultResponse {
	s.Body = v
	return s
}

type HospitalDataCheckHeaders 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 (s HospitalDataCheckHeaders) String() string {
	return tea.Prettify(s)
}

func (s HospitalDataCheckHeaders) GoString() string {
	return s.String()
}

func (s *HospitalDataCheckHeaders) SetCommonHeaders(v map[string]*string) *HospitalDataCheckHeaders {
	s.CommonHeaders = v
	return s
}

func (s *HospitalDataCheckHeaders) SetXAcsDingtalkAccessToken(v string) *HospitalDataCheckHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type HospitalDataCheckRequest struct {
	// example:
	//
	// 1
	AllDeptCount *int64 `json:"allDeptCount,omitempty" xml:"allDeptCount,omitempty"`
	// example:
	//
	// 1
	AllDeptUserCount *int64 `json:"allDeptUserCount,omitempty" xml:"allDeptUserCount,omitempty"`
	// example:
	//
	// 1
	AllGroupCount *int64 `json:"allGroupCount,omitempty" xml:"allGroupCount,omitempty"`
	// example:
	//
	// 1
	AllGroupUserCount *int64 `json:"allGroupUserCount,omitempty" xml:"allGroupUserCount,omitempty"`
	// example:
	//
	// 1
	DeptCount *int64 `json:"deptCount,omitempty" xml:"deptCount,omitempty"`
	// example:
	//
	// 1
	DeptUserCount *int64 `json:"deptUserCount,omitempty" xml:"deptUserCount,omitempty"`
	// example:
	//
	// 1
	GroupCount *int64 `json:"groupCount,omitempty" xml:"groupCount,omitempty"`
	// example:
	//
	// 1
	GroupUserCount *int64 `json:"groupUserCount,omitempty" xml:"groupUserCount,omitempty"`
}

func (s HospitalDataCheckRequest) String() string {
	return tea.Prettify(s)
}

func (s HospitalDataCheckRequest) GoString() string {
	return s.String()
}

func (s *HospitalDataCheckRequest) SetAllDeptCount(v int64) *HospitalDataCheckRequest {
	s.AllDeptCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetAllDeptUserCount(v int64) *HospitalDataCheckRequest {
	s.AllDeptUserCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetAllGroupCount(v int64) *HospitalDataCheckRequest {
	s.AllGroupCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetAllGroupUserCount(v int64) *HospitalDataCheckRequest {
	s.AllGroupUserCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetDeptCount(v int64) *HospitalDataCheckRequest {
	s.DeptCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetDeptUserCount(v int64) *HospitalDataCheckRequest {
	s.DeptUserCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetGroupCount(v int64) *HospitalDataCheckRequest {
	s.GroupCount = &v
	return s
}

func (s *HospitalDataCheckRequest) SetGroupUserCount(v int64) *HospitalDataCheckRequest {
	s.GroupUserCount = &v
	return s
}

type HospitalDataCheckResponseBody struct {
	AllDeptCount      *int64 `json:"allDeptCount,omitempty" xml:"allDeptCount,omitempty"`
	AllDeptUserCount  *int64 `json:"allDeptUserCount,omitempty" xml:"allDeptUserCount,omitempty"`
	AllGroupCount     *int64 `json:"allGroupCount,omitempty" xml:"allGroupCount,omitempty"`
	AllGroupUserCount *int64 `json:"allGroupUserCount,omitempty" xml:"allGroupUserCount,omitempty"`
	DeptCount         *int64 `json:"deptCount,omitempty" xml:"deptCount,omitempty"`
	DeptUserCount     *int64 `json:"deptUserCount,omitempty" xml:"deptUserCount,omitempty"`
	GroupCount        *int64 `json:"groupCount,omitempty" xml:"groupCount,omitempty"`
	GroupUserCount    *int64 `json:"groupUserCount,omitempty" xml:"groupUserCount,omitempty"`
	Match             *bool  `json:"match,omitempty" xml:"match,omitempty"`
}

func (s HospitalDataCheckResponseBody) String() string {
	return tea.Prettify(s)
}

func (s HospitalDataCheckResponseBody) GoString() string {
	return s.String()
}

func (s *HospitalDataCheckResponseBody) SetAllDeptCount(v int64) *HospitalDataCheckResponseBody {
	s.AllDeptCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetAllDeptUserCount(v int64) *HospitalDataCheckResponseBody {
	s.AllDeptUserCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetAllGroupCount(v int64) *HospitalDataCheckResponseBody {
	s.AllGroupCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetAllGroupUserCount(v int64) *HospitalDataCheckResponseBody {
	s.AllGroupUserCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetDeptCount(v int64) *HospitalDataCheckResponseBody {
	s.DeptCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetDeptUserCount(v int64) *HospitalDataCheckResponseBody {
	s.DeptUserCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetGroupCount(v int64) *HospitalDataCheckResponseBody {
	s.GroupCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetGroupUserCount(v int64) *HospitalDataCheckResponseBody {
	s.GroupUserCount = &v
	return s
}

func (s *HospitalDataCheckResponseBody) SetMatch(v bool) *HospitalDataCheckResponseBody {
	s.Match = &v
	return s
}

type HospitalDataCheckResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *HospitalDataCheckResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s HospitalDataCheckResponse) String() string {
	return tea.Prettify(s)
}

func (s HospitalDataCheckResponse) GoString() string {
	return s.String()
}

func (s *HospitalDataCheckResponse) SetHeaders(v map[string]*string) *HospitalDataCheckResponse {
	s.Headers = v
	return s
}

func (s *HospitalDataCheckResponse) SetStatusCode(v int32) *HospitalDataCheckResponse {
	s.StatusCode = &v
	return s
}

func (s *HospitalDataCheckResponse) SetBody(v *HospitalDataCheckResponseBody) *HospitalDataCheckResponse {
	s.Body = v
	return s
}

type IndustryManufactureCommonEventHeaders 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 (s IndustryManufactureCommonEventHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCommonEventHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCommonEventHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureCommonEventHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureCommonEventHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureCommonEventHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureCommonEventRequest struct {
	// This parameter is required.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	AppKey  *string                `json:"appKey,omitempty" xml:"appKey,omitempty"`
	BizData map[string]interface{} `json:"bizData,omitempty" xml:"bizData,omitempty"`
	// This parameter is required.
	EventType []*string `json:"eventType,omitempty" xml:"eventType,omitempty" type:"Repeated"`
}

func (s IndustryManufactureCommonEventRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCommonEventRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCommonEventRequest) SetAction(v string) *IndustryManufactureCommonEventRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureCommonEventRequest) SetAppKey(v string) *IndustryManufactureCommonEventRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureCommonEventRequest) SetBizData(v map[string]interface{}) *IndustryManufactureCommonEventRequest {
	s.BizData = v
	return s
}

func (s *IndustryManufactureCommonEventRequest) SetEventType(v []*string) *IndustryManufactureCommonEventRequest {
	s.EventType = v
	return s
}

type IndustryManufactureCommonEventResponseBody struct {
	ErrorMsg  *string                                           `json:"errorMsg,omitempty" xml:"errorMsg,omitempty"`
	RequestId *string                                           `json:"requestId,omitempty" xml:"requestId,omitempty"`
	Result    *IndustryManufactureCommonEventResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureCommonEventResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCommonEventResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCommonEventResponseBody) SetErrorMsg(v string) *IndustryManufactureCommonEventResponseBody {
	s.ErrorMsg = &v
	return s
}

func (s *IndustryManufactureCommonEventResponseBody) SetRequestId(v string) *IndustryManufactureCommonEventResponseBody {
	s.RequestId = &v
	return s
}

func (s *IndustryManufactureCommonEventResponseBody) SetResult(v *IndustryManufactureCommonEventResponseBodyResult) *IndustryManufactureCommonEventResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureCommonEventResponseBodyResult struct {
	Content  *string `json:"content,omitempty" xml:"content,omitempty"`
	HttpCode *string `json:"httpCode,omitempty" xml:"httpCode,omitempty"`
}

func (s IndustryManufactureCommonEventResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCommonEventResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCommonEventResponseBodyResult) SetContent(v string) *IndustryManufactureCommonEventResponseBodyResult {
	s.Content = &v
	return s
}

func (s *IndustryManufactureCommonEventResponseBodyResult) SetHttpCode(v string) *IndustryManufactureCommonEventResponseBodyResult {
	s.HttpCode = &v
	return s
}

type IndustryManufactureCommonEventResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureCommonEventResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureCommonEventResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCommonEventResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCommonEventResponse) SetHeaders(v map[string]*string) *IndustryManufactureCommonEventResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureCommonEventResponse) SetStatusCode(v int32) *IndustryManufactureCommonEventResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureCommonEventResponse) SetBody(v *IndustryManufactureCommonEventResponseBody) *IndustryManufactureCommonEventResponse {
	s.Body = v
	return s
}

type IndustryManufactureCostRecordListGetHeaders 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 (s IndustryManufactureCostRecordListGetHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCostRecordListGetHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCostRecordListGetHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureCostRecordListGetHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureCostRecordListGetHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureCostRecordListGetHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureCostRecordListGetRequest struct {
	AppId            *int64   `json:"appId,omitempty" xml:"appId,omitempty"`
	AppIds           []*int64 `json:"appIds,omitempty" xml:"appIds,omitempty" type:"Repeated"`
	AppName          *string  `json:"appName,omitempty" xml:"appName,omitempty"`
	CorpId           *string  `json:"corpId,omitempty" xml:"corpId,omitempty"`
	Cursor           *int64   `json:"cursor,omitempty" xml:"cursor,omitempty"`
	EndTime          *int64   `json:"endTime,omitempty" xml:"endTime,omitempty"`
	InstanceId       *string  `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	IsvOrgId         *int64   `json:"isvOrgId,omitempty" xml:"isvOrgId,omitempty"`
	MaterialNo       *string  `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	MicroappAgentId  *int64   `json:"microappAgentId,omitempty" xml:"microappAgentId,omitempty"`
	OrderNo          *string  `json:"orderNo,omitempty" xml:"orderNo,omitempty"`
	OrgId            *int64   `json:"orgId,omitempty" xml:"orgId,omitempty"`
	PageNumber       *int64   `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	PageSize         *int32   `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	ProductionTaskNo *string  `json:"productionTaskNo,omitempty" xml:"productionTaskNo,omitempty"`
	StartTime        *int64   `json:"startTime,omitempty" xml:"startTime,omitempty"`
	SuiteKey         *string  `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	TokenGrantType   *int32   `json:"tokenGrantType,omitempty" xml:"tokenGrantType,omitempty"`
}

func (s IndustryManufactureCostRecordListGetRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCostRecordListGetRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCostRecordListGetRequest) SetAppId(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.AppId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetAppIds(v []*int64) *IndustryManufactureCostRecordListGetRequest {
	s.AppIds = v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetAppName(v string) *IndustryManufactureCostRecordListGetRequest {
	s.AppName = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetCorpId(v string) *IndustryManufactureCostRecordListGetRequest {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetCursor(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.Cursor = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetEndTime(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.EndTime = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetInstanceId(v string) *IndustryManufactureCostRecordListGetRequest {
	s.InstanceId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetIsvOrgId(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.IsvOrgId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetMaterialNo(v string) *IndustryManufactureCostRecordListGetRequest {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetMicroappAgentId(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.MicroappAgentId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetOrderNo(v string) *IndustryManufactureCostRecordListGetRequest {
	s.OrderNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetOrgId(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.OrgId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetPageNumber(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.PageNumber = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetPageSize(v int32) *IndustryManufactureCostRecordListGetRequest {
	s.PageSize = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetProductionTaskNo(v string) *IndustryManufactureCostRecordListGetRequest {
	s.ProductionTaskNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetStartTime(v int64) *IndustryManufactureCostRecordListGetRequest {
	s.StartTime = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetSuiteKey(v string) *IndustryManufactureCostRecordListGetRequest {
	s.SuiteKey = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetRequest) SetTokenGrantType(v int32) *IndustryManufactureCostRecordListGetRequest {
	s.TokenGrantType = &v
	return s
}

type IndustryManufactureCostRecordListGetResponseBody struct {
	// This parameter is required.
	HasMore *bool                                                   `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	List    []*IndustryManufactureCostRecordListGetResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// This parameter is required.
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s IndustryManufactureCostRecordListGetResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCostRecordListGetResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCostRecordListGetResponseBody) SetHasMore(v bool) *IndustryManufactureCostRecordListGetResponseBody {
	s.HasMore = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBody) SetList(v []*IndustryManufactureCostRecordListGetResponseBodyList) *IndustryManufactureCostRecordListGetResponseBody {
	s.List = v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBody) SetNextCursor(v int64) *IndustryManufactureCostRecordListGetResponseBody {
	s.NextCursor = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBody) SetTotalCount(v int64) *IndustryManufactureCostRecordListGetResponseBody {
	s.TotalCount = &v
	return s
}

type IndustryManufactureCostRecordListGetResponseBodyList struct {
	// This parameter is required.
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// This parameter is required.
	Count *float32 `json:"count,omitempty" xml:"count,omitempty"`
	// This parameter is required.
	Ext *string `json:"ext,omitempty" xml:"ext,omitempty"`
	// This parameter is required.
	GmtCreate *int64 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	GmtModified *int64 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// This parameter is required.
	IsDeleted *string `json:"isDeleted,omitempty" xml:"isDeleted,omitempty"`
	// This parameter is required.
	MaterialCostRecordNo *string `json:"materialCostRecordNo,omitempty" xml:"materialCostRecordNo,omitempty"`
	// This parameter is required.
	MaterialName *string `json:"materialName,omitempty" xml:"materialName,omitempty"`
	// This parameter is required.
	MaterialNo *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	// This parameter is required.
	Memo *string `json:"memo,omitempty" xml:"memo,omitempty"`
	// This parameter is required.
	OrderNo *string `json:"orderNo,omitempty" xml:"orderNo,omitempty"`
	// This parameter is required.
	Price *float32 `json:"price,omitempty" xml:"price,omitempty"`
	// This parameter is required.
	ProcessCode *string `json:"processCode,omitempty" xml:"processCode,omitempty"`
	// This parameter is required.
	ProductionTaskNo *string `json:"productionTaskNo,omitempty" xml:"productionTaskNo,omitempty"`
	// This parameter is required.
	RealCount *float32 `json:"realCount,omitempty" xml:"realCount,omitempty"`
	// This parameter is required.
	RealPrice *float32 `json:"realPrice,omitempty" xml:"realPrice,omitempty"`
	// This parameter is required.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// This parameter is required.
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (s IndustryManufactureCostRecordListGetResponseBodyList) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCostRecordListGetResponseBodyList) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetCorpId(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetCount(v float32) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.Count = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetExt(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.Ext = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetGmtCreate(v int64) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.GmtCreate = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetGmtModified(v int64) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.GmtModified = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetInstanceId(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.InstanceId = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetIsDeleted(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.IsDeleted = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetMaterialCostRecordNo(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.MaterialCostRecordNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetMaterialName(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.MaterialName = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetMaterialNo(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetMemo(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.Memo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetOrderNo(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.OrderNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetPrice(v float32) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.Price = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetProcessCode(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.ProcessCode = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetProductionTaskNo(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.ProductionTaskNo = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetRealCount(v float32) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.RealCount = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetRealPrice(v float32) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.RealPrice = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetType(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.Type = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponseBodyList) SetUnit(v string) *IndustryManufactureCostRecordListGetResponseBodyList {
	s.Unit = &v
	return s
}

type IndustryManufactureCostRecordListGetResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureCostRecordListGetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureCostRecordListGetResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureCostRecordListGetResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureCostRecordListGetResponse) SetHeaders(v map[string]*string) *IndustryManufactureCostRecordListGetResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponse) SetStatusCode(v int32) *IndustryManufactureCostRecordListGetResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureCostRecordListGetResponse) SetBody(v *IndustryManufactureCostRecordListGetResponseBody) *IndustryManufactureCostRecordListGetResponse {
	s.Body = v
	return s
}

type IndustryManufactureFeeListGetHeaders 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 (s IndustryManufactureFeeListGetHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureFeeListGetHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureFeeListGetHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureFeeListGetHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureFeeListGetHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureFeeListGetHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureFeeListGetRequest struct {
	AppId            *int64   `json:"appId,omitempty" xml:"appId,omitempty"`
	AppIds           []*int64 `json:"appIds,omitempty" xml:"appIds,omitempty" type:"Repeated"`
	AppName          *string  `json:"appName,omitempty" xml:"appName,omitempty"`
	CorpId           *string  `json:"corpId,omitempty" xml:"corpId,omitempty"`
	Cursor           *int64   `json:"cursor,omitempty" xml:"cursor,omitempty"`
	EndTime          *int64   `json:"endTime,omitempty" xml:"endTime,omitempty"`
	IsvOrgId         *int64   `json:"isvOrgId,omitempty" xml:"isvOrgId,omitempty"`
	MaterialNo       *string  `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	MicroappAgentId  *int64   `json:"microappAgentId,omitempty" xml:"microappAgentId,omitempty"`
	OrgId            *int64   `json:"orgId,omitempty" xml:"orgId,omitempty"`
	PageNumber       *int64   `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	PageSize         *int32   `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	ProductionTaskNo *string  `json:"productionTaskNo,omitempty" xml:"productionTaskNo,omitempty"`
	StartTime        *int64   `json:"startTime,omitempty" xml:"startTime,omitempty"`
	SuiteKey         *string  `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	TokenGrantType   *int32   `json:"tokenGrantType,omitempty" xml:"tokenGrantType,omitempty"`
	Type             *string  `json:"type,omitempty" xml:"type,omitempty"`
}

func (s IndustryManufactureFeeListGetRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureFeeListGetRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureFeeListGetRequest) SetAppId(v int64) *IndustryManufactureFeeListGetRequest {
	s.AppId = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetAppIds(v []*int64) *IndustryManufactureFeeListGetRequest {
	s.AppIds = v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetAppName(v string) *IndustryManufactureFeeListGetRequest {
	s.AppName = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetCorpId(v string) *IndustryManufactureFeeListGetRequest {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetCursor(v int64) *IndustryManufactureFeeListGetRequest {
	s.Cursor = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetEndTime(v int64) *IndustryManufactureFeeListGetRequest {
	s.EndTime = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetIsvOrgId(v int64) *IndustryManufactureFeeListGetRequest {
	s.IsvOrgId = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetMaterialNo(v string) *IndustryManufactureFeeListGetRequest {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetMicroappAgentId(v int64) *IndustryManufactureFeeListGetRequest {
	s.MicroappAgentId = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetOrgId(v int64) *IndustryManufactureFeeListGetRequest {
	s.OrgId = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetPageNumber(v int64) *IndustryManufactureFeeListGetRequest {
	s.PageNumber = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetPageSize(v int32) *IndustryManufactureFeeListGetRequest {
	s.PageSize = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetProductionTaskNo(v string) *IndustryManufactureFeeListGetRequest {
	s.ProductionTaskNo = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetStartTime(v int64) *IndustryManufactureFeeListGetRequest {
	s.StartTime = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetSuiteKey(v string) *IndustryManufactureFeeListGetRequest {
	s.SuiteKey = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetTokenGrantType(v int32) *IndustryManufactureFeeListGetRequest {
	s.TokenGrantType = &v
	return s
}

func (s *IndustryManufactureFeeListGetRequest) SetType(v string) *IndustryManufactureFeeListGetRequest {
	s.Type = &v
	return s
}

type IndustryManufactureFeeListGetResponseBody struct {
	// This parameter is required.
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// This parameter is required.
	List []*IndustryManufactureFeeListGetResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// This parameter is required.
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s IndustryManufactureFeeListGetResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureFeeListGetResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureFeeListGetResponseBody) SetHasMore(v bool) *IndustryManufactureFeeListGetResponseBody {
	s.HasMore = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBody) SetList(v []*IndustryManufactureFeeListGetResponseBodyList) *IndustryManufactureFeeListGetResponseBody {
	s.List = v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBody) SetNextCursor(v int64) *IndustryManufactureFeeListGetResponseBody {
	s.NextCursor = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBody) SetTotalCount(v int64) *IndustryManufactureFeeListGetResponseBody {
	s.TotalCount = &v
	return s
}

type IndustryManufactureFeeListGetResponseBodyList struct {
	// This parameter is required.
	Amount *string `json:"amount,omitempty" xml:"amount,omitempty"`
	// This parameter is required.
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// This parameter is required.
	Count *float32 `json:"count,omitempty" xml:"count,omitempty"`
	// This parameter is required.
	Ext *string `json:"ext,omitempty" xml:"ext,omitempty"`
	// This parameter is required.
	GmtCreate *int64 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	GmtModified *int64 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// This parameter is required.
	IsDeleted *string `json:"isDeleted,omitempty" xml:"isDeleted,omitempty"`
	// This parameter is required.
	MaterialName *string `json:"materialName,omitempty" xml:"materialName,omitempty"`
	// This parameter is required.
	MaterialNo *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	// This parameter is required.
	PerAmount *float32 `json:"perAmount,omitempty" xml:"perAmount,omitempty"`
	// This parameter is required.
	ProcessCode *string `json:"processCode,omitempty" xml:"processCode,omitempty"`
	// This parameter is required.
	ProductionTaskNo *string `json:"productionTaskNo,omitempty" xml:"productionTaskNo,omitempty"`
	// This parameter is required.
	Title *string `json:"title,omitempty" xml:"title,omitempty"`
	// This parameter is required.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// This parameter is required.
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (s IndustryManufactureFeeListGetResponseBodyList) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureFeeListGetResponseBodyList) GoString() string {
	return s.String()
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetAmount(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.Amount = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetCorpId(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetCount(v float32) *IndustryManufactureFeeListGetResponseBodyList {
	s.Count = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetExt(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.Ext = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetGmtCreate(v int64) *IndustryManufactureFeeListGetResponseBodyList {
	s.GmtCreate = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetGmtModified(v int64) *IndustryManufactureFeeListGetResponseBodyList {
	s.GmtModified = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetId(v int64) *IndustryManufactureFeeListGetResponseBodyList {
	s.Id = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetInstanceId(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.InstanceId = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetIsDeleted(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.IsDeleted = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetMaterialName(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.MaterialName = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetMaterialNo(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetPerAmount(v float32) *IndustryManufactureFeeListGetResponseBodyList {
	s.PerAmount = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetProcessCode(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.ProcessCode = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetProductionTaskNo(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.ProductionTaskNo = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetTitle(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.Title = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetType(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.Type = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponseBodyList) SetUnit(v string) *IndustryManufactureFeeListGetResponseBodyList {
	s.Unit = &v
	return s
}

type IndustryManufactureFeeListGetResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureFeeListGetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureFeeListGetResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureFeeListGetResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureFeeListGetResponse) SetHeaders(v map[string]*string) *IndustryManufactureFeeListGetResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureFeeListGetResponse) SetStatusCode(v int32) *IndustryManufactureFeeListGetResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureFeeListGetResponse) SetBody(v *IndustryManufactureFeeListGetResponseBody) *IndustryManufactureFeeListGetResponse {
	s.Body = v
	return s
}

type IndustryManufactureLabourCostHeaders 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 (s IndustryManufactureLabourCostHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureLabourCostHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureLabourCostHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureLabourCostHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureLabourCostHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureLabourCostHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureLabourCostRequest struct {
	AppId           *int64   `json:"appId,omitempty" xml:"appId,omitempty"`
	AppIds          []*int64 `json:"appIds,omitempty" xml:"appIds,omitempty" type:"Repeated"`
	AppName         *string  `json:"appName,omitempty" xml:"appName,omitempty"`
	CorpId          *string  `json:"corpId,omitempty" xml:"corpId,omitempty"`
	Cursor          *int64   `json:"cursor,omitempty" xml:"cursor,omitempty"`
	EndTime         *int64   `json:"endTime,omitempty" xml:"endTime,omitempty"`
	IsvOrgId        *string  `json:"isvOrgId,omitempty" xml:"isvOrgId,omitempty"`
	MaterialNo      *string  `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	MicroappAgentId *int64   `json:"microappAgentId,omitempty" xml:"microappAgentId,omitempty"`
	OrgId           *int64   `json:"orgId,omitempty" xml:"orgId,omitempty"`
	// This parameter is required.
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	PageSize       *int32  `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	ProcessNo      *string `json:"processNo,omitempty" xml:"processNo,omitempty"`
	StartTime      *int64  `json:"startTime,omitempty" xml:"startTime,omitempty"`
	SuiteKey       *string `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	TokenGrantType *int32  `json:"tokenGrantType,omitempty" xml:"tokenGrantType,omitempty"`
}

func (s IndustryManufactureLabourCostRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureLabourCostRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureLabourCostRequest) SetAppId(v int64) *IndustryManufactureLabourCostRequest {
	s.AppId = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetAppIds(v []*int64) *IndustryManufactureLabourCostRequest {
	s.AppIds = v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetAppName(v string) *IndustryManufactureLabourCostRequest {
	s.AppName = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetCorpId(v string) *IndustryManufactureLabourCostRequest {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetCursor(v int64) *IndustryManufactureLabourCostRequest {
	s.Cursor = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetEndTime(v int64) *IndustryManufactureLabourCostRequest {
	s.EndTime = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetIsvOrgId(v string) *IndustryManufactureLabourCostRequest {
	s.IsvOrgId = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetMaterialNo(v string) *IndustryManufactureLabourCostRequest {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetMicroappAgentId(v int64) *IndustryManufactureLabourCostRequest {
	s.MicroappAgentId = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetOrgId(v int64) *IndustryManufactureLabourCostRequest {
	s.OrgId = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetPageNumber(v int64) *IndustryManufactureLabourCostRequest {
	s.PageNumber = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetPageSize(v int32) *IndustryManufactureLabourCostRequest {
	s.PageSize = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetProcessNo(v string) *IndustryManufactureLabourCostRequest {
	s.ProcessNo = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetStartTime(v int64) *IndustryManufactureLabourCostRequest {
	s.StartTime = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetSuiteKey(v string) *IndustryManufactureLabourCostRequest {
	s.SuiteKey = &v
	return s
}

func (s *IndustryManufactureLabourCostRequest) SetTokenGrantType(v int32) *IndustryManufactureLabourCostRequest {
	s.TokenGrantType = &v
	return s
}

type IndustryManufactureLabourCostResponseBody struct {
	// This parameter is required.
	HasMore *bool                                            `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	List    []*IndustryManufactureLabourCostResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// This parameter is required.
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s IndustryManufactureLabourCostResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureLabourCostResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureLabourCostResponseBody) SetHasMore(v bool) *IndustryManufactureLabourCostResponseBody {
	s.HasMore = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBody) SetList(v []*IndustryManufactureLabourCostResponseBodyList) *IndustryManufactureLabourCostResponseBody {
	s.List = v
	return s
}

func (s *IndustryManufactureLabourCostResponseBody) SetNextCursor(v int64) *IndustryManufactureLabourCostResponseBody {
	s.NextCursor = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBody) SetTotalCount(v int64) *IndustryManufactureLabourCostResponseBody {
	s.TotalCount = &v
	return s
}

type IndustryManufactureLabourCostResponseBodyList struct {
	// This parameter is required.
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// This parameter is required.
	Ext *string `json:"ext,omitempty" xml:"ext,omitempty"`
	// This parameter is required.
	GmtCreate *int64 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	GmtModified *int64 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// This parameter is required.
	LabourCostName *string `json:"labourCostName,omitempty" xml:"labourCostName,omitempty"`
	// This parameter is required.
	LabourCostNo *string `json:"labourCostNo,omitempty" xml:"labourCostNo,omitempty"`
	// This parameter is required.
	MaterialName *string `json:"materialName,omitempty" xml:"materialName,omitempty"`
	// This parameter is required.
	MaterialNo *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	// This parameter is required.
	ProcessCode *string `json:"processCode,omitempty" xml:"processCode,omitempty"`
	// This parameter is required.
	ProcessName *string `json:"processName,omitempty" xml:"processName,omitempty"`
	// This parameter is required.
	ProcessNo *string `json:"processNo,omitempty" xml:"processNo,omitempty"`
	// This parameter is required.
	QualifiedPrice *float32 `json:"qualifiedPrice,omitempty" xml:"qualifiedPrice,omitempty"`
	// This parameter is required.
	UnQualifiedInfo *string `json:"unQualifiedInfo,omitempty" xml:"unQualifiedInfo,omitempty"`
	// This parameter is required.
	UnQualifiedPrice1 *float32 `json:"unQualifiedPrice1,omitempty" xml:"unQualifiedPrice1,omitempty"`
	// This parameter is required.
	UnQualifiedPrice2 *float32 `json:"unQualifiedPrice2,omitempty" xml:"unQualifiedPrice2,omitempty"`
	// This parameter is required.
	UnQualifiedReason1 *string `json:"unQualifiedReason1,omitempty" xml:"unQualifiedReason1,omitempty"`
	// This parameter is required.
	UnQualifiedReason2 *string `json:"unQualifiedReason2,omitempty" xml:"unQualifiedReason2,omitempty"`
}

func (s IndustryManufactureLabourCostResponseBodyList) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureLabourCostResponseBodyList) GoString() string {
	return s.String()
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetCorpId(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetExt(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.Ext = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetGmtCreate(v int64) *IndustryManufactureLabourCostResponseBodyList {
	s.GmtCreate = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetGmtModified(v int64) *IndustryManufactureLabourCostResponseBodyList {
	s.GmtModified = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetInstanceId(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.InstanceId = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetLabourCostName(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.LabourCostName = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetLabourCostNo(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.LabourCostNo = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetMaterialName(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.MaterialName = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetMaterialNo(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetProcessCode(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.ProcessCode = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetProcessName(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.ProcessName = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetProcessNo(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.ProcessNo = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetQualifiedPrice(v float32) *IndustryManufactureLabourCostResponseBodyList {
	s.QualifiedPrice = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetUnQualifiedInfo(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.UnQualifiedInfo = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetUnQualifiedPrice1(v float32) *IndustryManufactureLabourCostResponseBodyList {
	s.UnQualifiedPrice1 = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetUnQualifiedPrice2(v float32) *IndustryManufactureLabourCostResponseBodyList {
	s.UnQualifiedPrice2 = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetUnQualifiedReason1(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.UnQualifiedReason1 = &v
	return s
}

func (s *IndustryManufactureLabourCostResponseBodyList) SetUnQualifiedReason2(v string) *IndustryManufactureLabourCostResponseBodyList {
	s.UnQualifiedReason2 = &v
	return s
}

type IndustryManufactureLabourCostResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureLabourCostResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureLabourCostResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureLabourCostResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureLabourCostResponse) SetHeaders(v map[string]*string) *IndustryManufactureLabourCostResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureLabourCostResponse) SetStatusCode(v int32) *IndustryManufactureLabourCostResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureLabourCostResponse) SetBody(v *IndustryManufactureLabourCostResponseBody) *IndustryManufactureLabourCostResponse {
	s.Body = v
	return s
}

type IndustryManufactureMaterialListHeaders 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 (s IndustryManufactureMaterialListHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMaterialListHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMaterialListHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMaterialListHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMaterialListHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMaterialListHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMaterialListRequest struct {
	AppId   *int64   `json:"appId,omitempty" xml:"appId,omitempty"`
	AppIds  []*int64 `json:"appIds,omitempty" xml:"appIds,omitempty" type:"Repeated"`
	AppName *string  `json:"appName,omitempty" xml:"appName,omitempty"`
	// This parameter is required.
	CorpId          *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	CurrentPage     *int64  `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	Cursor          *int64  `json:"cursor,omitempty" xml:"cursor,omitempty"`
	EndTime         *int64  `json:"endTime,omitempty" xml:"endTime,omitempty"`
	InstanceId      *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	IsvOrgId        *int64  `json:"isvOrgId,omitempty" xml:"isvOrgId,omitempty"`
	MaterialNo      *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	MicroappAgentId *int64  `json:"microappAgentId,omitempty" xml:"microappAgentId,omitempty"`
	OrgId           *int64  `json:"orgId,omitempty" xml:"orgId,omitempty"`
	PageSize        *int32  `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	StartTime       *int64  `json:"startTime,omitempty" xml:"startTime,omitempty"`
	SuiteKey        *string `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	TokenGrantType  *int64  `json:"tokenGrantType,omitempty" xml:"tokenGrantType,omitempty"`
}

func (s IndustryManufactureMaterialListRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMaterialListRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMaterialListRequest) SetAppId(v int64) *IndustryManufactureMaterialListRequest {
	s.AppId = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetAppIds(v []*int64) *IndustryManufactureMaterialListRequest {
	s.AppIds = v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetAppName(v string) *IndustryManufactureMaterialListRequest {
	s.AppName = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetCorpId(v string) *IndustryManufactureMaterialListRequest {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetCurrentPage(v int64) *IndustryManufactureMaterialListRequest {
	s.CurrentPage = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetCursor(v int64) *IndustryManufactureMaterialListRequest {
	s.Cursor = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetEndTime(v int64) *IndustryManufactureMaterialListRequest {
	s.EndTime = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetInstanceId(v string) *IndustryManufactureMaterialListRequest {
	s.InstanceId = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetIsvOrgId(v int64) *IndustryManufactureMaterialListRequest {
	s.IsvOrgId = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetMaterialNo(v string) *IndustryManufactureMaterialListRequest {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetMicroappAgentId(v int64) *IndustryManufactureMaterialListRequest {
	s.MicroappAgentId = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetOrgId(v int64) *IndustryManufactureMaterialListRequest {
	s.OrgId = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetPageSize(v int32) *IndustryManufactureMaterialListRequest {
	s.PageSize = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetStartTime(v int64) *IndustryManufactureMaterialListRequest {
	s.StartTime = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetSuiteKey(v string) *IndustryManufactureMaterialListRequest {
	s.SuiteKey = &v
	return s
}

func (s *IndustryManufactureMaterialListRequest) SetTokenGrantType(v int64) *IndustryManufactureMaterialListRequest {
	s.TokenGrantType = &v
	return s
}

type IndustryManufactureMaterialListResponseBody struct {
	// This parameter is required.
	HasMore *bool                                              `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	List    []*IndustryManufactureMaterialListResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// This parameter is required.
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s IndustryManufactureMaterialListResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMaterialListResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMaterialListResponseBody) SetHasMore(v bool) *IndustryManufactureMaterialListResponseBody {
	s.HasMore = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBody) SetList(v []*IndustryManufactureMaterialListResponseBodyList) *IndustryManufactureMaterialListResponseBody {
	s.List = v
	return s
}

func (s *IndustryManufactureMaterialListResponseBody) SetNextCursor(v int64) *IndustryManufactureMaterialListResponseBody {
	s.NextCursor = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBody) SetTotalCount(v int64) *IndustryManufactureMaterialListResponseBody {
	s.TotalCount = &v
	return s
}

type IndustryManufactureMaterialListResponseBodyList struct {
	// This parameter is required.
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// This parameter is required.
	Ext *string `json:"ext,omitempty" xml:"ext,omitempty"`
	// This parameter is required.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// This parameter is required.
	MaterialName *string `json:"materialName,omitempty" xml:"materialName,omitempty"`
	// This parameter is required.
	MaterialNo *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	// This parameter is required.
	ProcessCode *string `json:"processCode,omitempty" xml:"processCode,omitempty"`
	// This parameter is required.
	Specification *string `json:"specification,omitempty" xml:"specification,omitempty"`
	// This parameter is required.
	StockMaxWarn *float32 `json:"stockMaxWarn,omitempty" xml:"stockMaxWarn,omitempty"`
	// This parameter is required.
	StockMinWarn *float32 `json:"stockMinWarn,omitempty" xml:"stockMinWarn,omitempty"`
	// This parameter is required.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// This parameter is required.
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (s IndustryManufactureMaterialListResponseBodyList) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMaterialListResponseBodyList) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetCategory(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.Category = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetCorpId(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.CorpId = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetExt(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.Ext = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetInstanceId(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.InstanceId = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetMaterialName(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.MaterialName = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetMaterialNo(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.MaterialNo = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetProcessCode(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.ProcessCode = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetSpecification(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.Specification = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetStockMaxWarn(v float32) *IndustryManufactureMaterialListResponseBodyList {
	s.StockMaxWarn = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetStockMinWarn(v float32) *IndustryManufactureMaterialListResponseBodyList {
	s.StockMinWarn = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetType(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.Type = &v
	return s
}

func (s *IndustryManufactureMaterialListResponseBodyList) SetUnit(v string) *IndustryManufactureMaterialListResponseBodyList {
	s.Unit = &v
	return s
}

type IndustryManufactureMaterialListResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMaterialListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMaterialListResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMaterialListResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMaterialListResponse) SetHeaders(v map[string]*string) *IndustryManufactureMaterialListResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMaterialListResponse) SetStatusCode(v int32) *IndustryManufactureMaterialListResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMaterialListResponse) SetBody(v *IndustryManufactureMaterialListResponseBody) *IndustryManufactureMaterialListResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesDispatchTaskHeaders 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 (s IndustryManufactureMesDispatchTaskHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesDispatchTaskHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesDispatchTaskHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesDispatchTaskHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesDispatchTaskHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesDispatchTaskHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesDispatchTaskRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// opsoft
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// example:
	//
	// task
	BaseDataName *string `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	// example:
	//
	// 3
	DefectsAmount *string `json:"defectsAmount,omitempty" xml:"defectsAmount,omitempty"`
	// example:
	//
	// 张三
	DispatchStaffName *string `json:"dispatchStaffName,omitempty" xml:"dispatchStaffName,omitempty"`
	// example:
	//
	// 170000000332
	DispatchStaffNo *string `json:"dispatchStaffNo,omitempty" xml:"dispatchStaffNo,omitempty"`
	// example:
	//
	// 20
	FineAmount *string `json:"fineAmount,omitempty" xml:"fineAmount,omitempty"`
	// example:
	//
	// 1
	Overdue *int32 `json:"overdue,omitempty" xml:"overdue,omitempty"`
	// example:
	//
	// 321
	PlanQuantity *int64 `json:"planQuantity,omitempty" xml:"planQuantity,omitempty"`
	// example:
	//
	// 1
	Priority *int32 `json:"priority,omitempty" xml:"priority,omitempty"`
	// example:
	//
	// 打磨
	ProcessName *string `json:"processName,omitempty" xml:"processName,omitempty"`
	// example:
	//
	// fsdfs3fsd2234wds
	ProcessUuid *string `json:"processUuid,omitempty" xml:"processUuid,omitempty"`
	// example:
	//
	// dingfsdfs3fsd2234wds
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 毛坯KM50二级盖
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
	// example:
	//
	// 20*20*3
	ProductSpecification *string `json:"productSpecification,omitempty" xml:"productSpecification,omitempty"`
	// example:
	//
	// dingfsdfs3fsd2234wds
	ProjectCode *string `json:"projectCode,omitempty" xml:"projectCode,omitempty"`
	// example:
	//
	// 0220423001
	ProjectId *string `json:"projectId,omitempty" xml:"projectId,omitempty"`
	// example:
	//
	// WORKING
	ProjectStatus *string `json:"projectStatus,omitempty" xml:"projectStatus,omitempty"`
	// example:
	//
	// [{"userId":"123","name":"汉俊","planQuantity":30}]
	TaskOperators *string `json:"taskOperators,omitempty" xml:"taskOperators,omitempty"`
	// example:
	//
	// 2021-03-12 23:59:59
	TaskPlanEndTime *string `json:"taskPlanEndTime,omitempty" xml:"taskPlanEndTime,omitempty"`
	// example:
	//
	// 2021-03-12 23:59:59
	TaskPlanStartTime *string `json:"taskPlanStartTime,omitempty" xml:"taskPlanStartTime,omitempty"`
	// example:
	//
	// WORKING
	TaskStatus *string `json:"taskStatus,omitempty" xml:"taskStatus,omitempty"`
	// example:
	//
	// NORMAL
	TaskType *string `json:"taskType,omitempty" xml:"taskType,omitempty"`
	// example:
	//
	// dfsdfs3fsd2234wds
	TeamId *string `json:"teamId,omitempty" xml:"teamId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// fsdfs3fsd2234wds
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesDispatchTaskRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesDispatchTaskRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetAction(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetAppKey(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetBaseDataName(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetDefectsAmount(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.DefectsAmount = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetDispatchStaffName(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.DispatchStaffName = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetDispatchStaffNo(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.DispatchStaffNo = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetFineAmount(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.FineAmount = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetOverdue(v int32) *IndustryManufactureMesDispatchTaskRequest {
	s.Overdue = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetPlanQuantity(v int64) *IndustryManufactureMesDispatchTaskRequest {
	s.PlanQuantity = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetPriority(v int32) *IndustryManufactureMesDispatchTaskRequest {
	s.Priority = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProcessName(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProcessName = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProcessUuid(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProcessUuid = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProductCode(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProductCode = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProductName(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProductName = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProductSpecification(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProductSpecification = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProjectCode(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProjectCode = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProjectId(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProjectId = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetProjectStatus(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.ProjectStatus = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetTaskOperators(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.TaskOperators = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetTaskPlanEndTime(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.TaskPlanEndTime = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetTaskPlanStartTime(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.TaskPlanStartTime = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetTaskStatus(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.TaskStatus = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetTaskType(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.TaskType = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetTeamId(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.TeamId = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskRequest) SetUuid(v string) *IndustryManufactureMesDispatchTaskRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesDispatchTaskResponseBody struct {
	Result *IndustryManufactureMesDispatchTaskResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesDispatchTaskResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesDispatchTaskResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesDispatchTaskResponseBody) SetResult(v *IndustryManufactureMesDispatchTaskResponseBodyResult) *IndustryManufactureMesDispatchTaskResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesDispatchTaskResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesDispatchTaskResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesDispatchTaskResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesDispatchTaskResponseBodyResult) SetContent(v string) *IndustryManufactureMesDispatchTaskResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesDispatchTaskResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesDispatchTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesDispatchTaskResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesDispatchTaskResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesDispatchTaskResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesDispatchTaskResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesDispatchTaskResponse) SetStatusCode(v int32) *IndustryManufactureMesDispatchTaskResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesDispatchTaskResponse) SetBody(v *IndustryManufactureMesDispatchTaskResponseBody) *IndustryManufactureMesDispatchTaskResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesMaterialHeaders 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 (s IndustryManufactureMesMaterialHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesMaterialHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesMaterialHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesMaterialHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesMaterialHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesMaterialHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesMaterialRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// opsoft
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// example:
	//
	// material
	BaseDataName *string `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	// example:
	//
	// 紧压白茶,白茶,红茶
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// if can be null:
	// true
	ExtendData []*IndustryManufactureMesMaterialRequestExtendData `json:"extendData,omitempty" xml:"extendData,omitempty" type:"Repeated"`
	// example:
	//
	// 20220509028
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 毛坯SNR47端盖
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
	// example:
	//
	// KM63
	ProductSpecification *string `json:"productSpecification,omitempty" xml:"productSpecification,omitempty"`
	// example:
	//
	// 原材料
	Prop *string `json:"prop,omitempty" xml:"prop,omitempty"`
	// example:
	//
	// 件
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 39C1E213-86B2-706B-9615-5B957DF8C15D
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesMaterialRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesMaterialRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesMaterialRequest) SetAction(v string) *IndustryManufactureMesMaterialRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetAppKey(v string) *IndustryManufactureMesMaterialRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetBaseDataName(v string) *IndustryManufactureMesMaterialRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetCategory(v string) *IndustryManufactureMesMaterialRequest {
	s.Category = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetExtendData(v []*IndustryManufactureMesMaterialRequestExtendData) *IndustryManufactureMesMaterialRequest {
	s.ExtendData = v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetProductCode(v string) *IndustryManufactureMesMaterialRequest {
	s.ProductCode = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetProductName(v string) *IndustryManufactureMesMaterialRequest {
	s.ProductName = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetProductSpecification(v string) *IndustryManufactureMesMaterialRequest {
	s.ProductSpecification = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetProp(v string) *IndustryManufactureMesMaterialRequest {
	s.Prop = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetUnit(v string) *IndustryManufactureMesMaterialRequest {
	s.Unit = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequest) SetUuid(v string) *IndustryManufactureMesMaterialRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesMaterialRequestExtendData struct {
	// example:
	//
	// staffName
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// example:
	//
	// 生产人员
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 张三
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
	// example:
	//
	// string
	ValueType *string `json:"valueType,omitempty" xml:"valueType,omitempty"`
}

func (s IndustryManufactureMesMaterialRequestExtendData) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesMaterialRequestExtendData) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesMaterialRequestExtendData) SetCode(v string) *IndustryManufactureMesMaterialRequestExtendData {
	s.Code = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequestExtendData) SetName(v string) *IndustryManufactureMesMaterialRequestExtendData {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequestExtendData) SetValue(v string) *IndustryManufactureMesMaterialRequestExtendData {
	s.Value = &v
	return s
}

func (s *IndustryManufactureMesMaterialRequestExtendData) SetValueType(v string) *IndustryManufactureMesMaterialRequestExtendData {
	s.ValueType = &v
	return s
}

type IndustryManufactureMesMaterialResponseBody struct {
	Result *IndustryManufactureMesMaterialResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesMaterialResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesMaterialResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesMaterialResponseBody) SetResult(v *IndustryManufactureMesMaterialResponseBodyResult) *IndustryManufactureMesMaterialResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesMaterialResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesMaterialResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesMaterialResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesMaterialResponseBodyResult) SetContent(v string) *IndustryManufactureMesMaterialResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesMaterialResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesMaterialResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesMaterialResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesMaterialResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesMaterialResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesMaterialResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesMaterialResponse) SetStatusCode(v int32) *IndustryManufactureMesMaterialResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesMaterialResponse) SetBody(v *IndustryManufactureMesMaterialResponseBody) *IndustryManufactureMesMaterialResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesOutPlanHeaders 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 (s IndustryManufactureMesOutPlanHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutPlanHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutPlanHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesOutPlanHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesOutPlanHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesOutPlanHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesOutPlanRequest struct {
	// example:
	//
	// APPROVING
	ApprovalStatus *string `json:"approvalStatus,omitempty" xml:"approvalStatus,omitempty"`
	// example:
	//
	// [{"userId":"123","name":"汉俊"}]
	Approver *string `json:"approver,omitempty" xml:"approver,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// wwPlan
	BaseDataName *string `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// WWJH-20220728
	OutSourceProjectCode *string `json:"outSourceProjectCode,omitempty" xml:"outSourceProjectCode,omitempty"`
	// example:
	//
	// cid34444
	OutSourceTeamId *string `json:"outSourceTeamId,omitempty" xml:"outSourceTeamId,omitempty"`
	// example:
	//
	// 321
	Price *string `json:"price,omitempty" xml:"price,omitempty"`
	// example:
	//
	// 20220728_OP20
	ProcessIdentificationCode *string `json:"processIdentificationCode,omitempty" xml:"processIdentificationCode,omitempty"`
	// example:
	//
	// [{       "uuid": "1543878029936459777",       "name": "YF-盐雾",       "preProcess": "1470231820594245633"     }]
	ProcessUuids *string `json:"processUuids,omitempty" xml:"processUuids,omitempty"`
	// example:
	//
	// WL12345
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 毛坯KM63三级盖
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
	// example:
	//
	// 5/16*13.5
	ProductSpecification *string `json:"productSpecification,omitempty" xml:"productSpecification,omitempty"`
	// example:
	//
	// 20220728_001
	ProjectCode *string `json:"projectCode,omitempty" xml:"projectCode,omitempty"`
	// example:
	//
	// 20220728_001
	ProjectId *string `json:"projectId,omitempty" xml:"projectId,omitempty"`
	// example:
	//
	// 321
	SendPlanQuantity *string `json:"sendPlanQuantity,omitempty" xml:"sendPlanQuantity,omitempty"`
	// example:
	//
	// GX002
	SupplierCode *string `json:"supplierCode,omitempty" xml:"supplierCode,omitempty"`
	// example:
	//
	// 北京供应
	SupplierName *string `json:"supplierName,omitempty" xml:"supplierName,omitempty"`
	// example:
	//
	// 20
	TotalWage *string `json:"totalWage,omitempty" xml:"totalWage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// C1E213-86B2-706B-9615-5B957DF8C15D
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesOutPlanRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutPlanRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutPlanRequest) SetApprovalStatus(v string) *IndustryManufactureMesOutPlanRequest {
	s.ApprovalStatus = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetApprover(v string) *IndustryManufactureMesOutPlanRequest {
	s.Approver = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetBaseDataName(v string) *IndustryManufactureMesOutPlanRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetOutSourceProjectCode(v string) *IndustryManufactureMesOutPlanRequest {
	s.OutSourceProjectCode = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetOutSourceTeamId(v string) *IndustryManufactureMesOutPlanRequest {
	s.OutSourceTeamId = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetPrice(v string) *IndustryManufactureMesOutPlanRequest {
	s.Price = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProcessIdentificationCode(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProcessIdentificationCode = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProcessUuids(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProcessUuids = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProductCode(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProductCode = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProductName(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProductName = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProductSpecification(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProductSpecification = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProjectCode(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProjectCode = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetProjectId(v string) *IndustryManufactureMesOutPlanRequest {
	s.ProjectId = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetSendPlanQuantity(v string) *IndustryManufactureMesOutPlanRequest {
	s.SendPlanQuantity = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetSupplierCode(v string) *IndustryManufactureMesOutPlanRequest {
	s.SupplierCode = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetSupplierName(v string) *IndustryManufactureMesOutPlanRequest {
	s.SupplierName = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetTotalWage(v string) *IndustryManufactureMesOutPlanRequest {
	s.TotalWage = &v
	return s
}

func (s *IndustryManufactureMesOutPlanRequest) SetUuid(v string) *IndustryManufactureMesOutPlanRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesOutPlanResponseBody struct {
	Result *IndustryManufactureMesOutPlanResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesOutPlanResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutPlanResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutPlanResponseBody) SetResult(v *IndustryManufactureMesOutPlanResponseBodyResult) *IndustryManufactureMesOutPlanResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesOutPlanResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesOutPlanResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutPlanResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutPlanResponseBodyResult) SetContent(v string) *IndustryManufactureMesOutPlanResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesOutPlanResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesOutPlanResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesOutPlanResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutPlanResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutPlanResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesOutPlanResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesOutPlanResponse) SetStatusCode(v int32) *IndustryManufactureMesOutPlanResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesOutPlanResponse) SetBody(v *IndustryManufactureMesOutPlanResponseBody) *IndustryManufactureMesOutPlanResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesOutputHeaders 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 (s IndustryManufactureMesOutputHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutputHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutputHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesOutputHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesOutputHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesOutputHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesOutputRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// opsoft
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// example:
	//
	// AGREE
	ApproveStatus *string `json:"approveStatus,omitempty" xml:"approveStatus,omitempty"`
	// example:
	//
	// output
	BaseDataName *string `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	// example:
	//
	// 3
	DefectsAmount *string `json:"defectsAmount,omitempty" xml:"defectsAmount,omitempty"`
	// example:
	//
	// [{"count":10,"reason":"工废"},{"count":20,"reason":"料废"}]
	DefectsReason *string `json:"defectsReason,omitempty" xml:"defectsReason,omitempty"`
	// example:
	//
	// 20
	FineAmount *string `json:"fineAmount,omitempty" xml:"fineAmount,omitempty"`
	// example:
	//
	// y
	HasQualityTest *string `json:"hasQualityTest,omitempty" xml:"hasQualityTest,omitempty"`
	// example:
	//
	// 1
	Overdue *int32 `json:"overdue,omitempty" xml:"overdue,omitempty"`
	// example:
	//
	// 321
	PlanQuantity *int64 `json:"planQuantity,omitempty" xml:"planQuantity,omitempty"`
	// example:
	//
	// 1
	Priority *int32 `json:"priority,omitempty" xml:"priority,omitempty"`
	// example:
	//
	// 打磨
	ProcessName *string `json:"processName,omitempty" xml:"processName,omitempty"`
	// example:
	//
	// fsdfs3fsd2234wds
	ProcessUuid *string `json:"processUuid,omitempty" xml:"processUuid,omitempty"`
	// example:
	//
	// dingfsdfs3fsd2234wds
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 毛坯KM50二级盖
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
	// example:
	//
	// 20*20*3
	ProductSpecification *string `json:"productSpecification,omitempty" xml:"productSpecification,omitempty"`
	// example:
	//
	// dingfsdfs3fsd2234wds
	ProjectCode *string `json:"projectCode,omitempty" xml:"projectCode,omitempty"`
	// example:
	//
	// 0220423001
	ProjectId *string `json:"projectId,omitempty" xml:"projectId,omitempty"`
	// example:
	//
	// WORKING
	ProjectStatus *string `json:"projectStatus,omitempty" xml:"projectStatus,omitempty"`
	// example:
	//
	// VERIFIED
	QualityTestStatus *string `json:"qualityTestStatus,omitempty" xml:"qualityTestStatus,omitempty"`
	// example:
	//
	// 2021-03-12 23:59:59
	TaskPlanEndTime *string `json:"taskPlanEndTime,omitempty" xml:"taskPlanEndTime,omitempty"`
	// example:
	//
	// 2021-03-12 23:59:59
	TaskPlanStartTime *string `json:"taskPlanStartTime,omitempty" xml:"taskPlanStartTime,omitempty"`
	// example:
	//
	// WORKING
	TaskStatus *string `json:"taskStatus,omitempty" xml:"taskStatus,omitempty"`
	// example:
	//
	// NORMAL
	TaskType *string `json:"taskType,omitempty" xml:"taskType,omitempty"`
	// example:
	//
	// C1E213-86B2-706B-9615-5B957DF8C15D
	TaskUuid *string `json:"taskUuid,omitempty" xml:"taskUuid,omitempty"`
	// example:
	//
	// dfsdfs3fsd2234wds
	TeamId *string `json:"teamId,omitempty" xml:"teamId,omitempty"`
	// example:
	//
	// 170000000332
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
	// example:
	//
	// 张三
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// fsdfs3fsd2234wds
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesOutputRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutputRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutputRequest) SetAction(v string) *IndustryManufactureMesOutputRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetAppKey(v string) *IndustryManufactureMesOutputRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetApproveStatus(v string) *IndustryManufactureMesOutputRequest {
	s.ApproveStatus = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetBaseDataName(v string) *IndustryManufactureMesOutputRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetDefectsAmount(v string) *IndustryManufactureMesOutputRequest {
	s.DefectsAmount = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetDefectsReason(v string) *IndustryManufactureMesOutputRequest {
	s.DefectsReason = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetFineAmount(v string) *IndustryManufactureMesOutputRequest {
	s.FineAmount = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetHasQualityTest(v string) *IndustryManufactureMesOutputRequest {
	s.HasQualityTest = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetOverdue(v int32) *IndustryManufactureMesOutputRequest {
	s.Overdue = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetPlanQuantity(v int64) *IndustryManufactureMesOutputRequest {
	s.PlanQuantity = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetPriority(v int32) *IndustryManufactureMesOutputRequest {
	s.Priority = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProcessName(v string) *IndustryManufactureMesOutputRequest {
	s.ProcessName = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProcessUuid(v string) *IndustryManufactureMesOutputRequest {
	s.ProcessUuid = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProductCode(v string) *IndustryManufactureMesOutputRequest {
	s.ProductCode = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProductName(v string) *IndustryManufactureMesOutputRequest {
	s.ProductName = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProductSpecification(v string) *IndustryManufactureMesOutputRequest {
	s.ProductSpecification = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProjectCode(v string) *IndustryManufactureMesOutputRequest {
	s.ProjectCode = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProjectId(v string) *IndustryManufactureMesOutputRequest {
	s.ProjectId = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetProjectStatus(v string) *IndustryManufactureMesOutputRequest {
	s.ProjectStatus = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetQualityTestStatus(v string) *IndustryManufactureMesOutputRequest {
	s.QualityTestStatus = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetTaskPlanEndTime(v string) *IndustryManufactureMesOutputRequest {
	s.TaskPlanEndTime = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetTaskPlanStartTime(v string) *IndustryManufactureMesOutputRequest {
	s.TaskPlanStartTime = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetTaskStatus(v string) *IndustryManufactureMesOutputRequest {
	s.TaskStatus = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetTaskType(v string) *IndustryManufactureMesOutputRequest {
	s.TaskType = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetTaskUuid(v string) *IndustryManufactureMesOutputRequest {
	s.TaskUuid = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetTeamId(v string) *IndustryManufactureMesOutputRequest {
	s.TeamId = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetUserId(v string) *IndustryManufactureMesOutputRequest {
	s.UserId = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetUserName(v string) *IndustryManufactureMesOutputRequest {
	s.UserName = &v
	return s
}

func (s *IndustryManufactureMesOutputRequest) SetUuid(v string) *IndustryManufactureMesOutputRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesOutputResponseBody struct {
	Result *IndustryManufactureMesOutputResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesOutputResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutputResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutputResponseBody) SetResult(v *IndustryManufactureMesOutputResponseBodyResult) *IndustryManufactureMesOutputResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesOutputResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesOutputResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutputResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutputResponseBodyResult) SetContent(v string) *IndustryManufactureMesOutputResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesOutputResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesOutputResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesOutputResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesOutputResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesOutputResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesOutputResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesOutputResponse) SetStatusCode(v int32) *IndustryManufactureMesOutputResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesOutputResponse) SetBody(v *IndustryManufactureMesOutputResponseBody) *IndustryManufactureMesOutputResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesProcessHeaders 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 (s IndustryManufactureMesProcessHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProcessHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProcessHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesProcessHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesProcessHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesProcessHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesProcessRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// opsoft
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// example:
	//
	// process
	BaseDataName *string                                           `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	ExtendData   []*IndustryManufactureMesProcessRequestExtendData `json:"extendData,omitempty" xml:"extendData,omitempty" type:"Repeated"`
	// example:
	//
	// 打磨
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// y
	NeedDispatch *string `json:"needDispatch,omitempty" xml:"needDispatch,omitempty"`
	// example:
	//
	// n
	NeedQualityTest *string `json:"needQualityTest,omitempty" xml:"needQualityTest,omitempty"`
	// example:
	//
	// 011354
	No *string `json:"no,omitempty" xml:"no,omitempty"`
	// example:
	//
	// 0.21
	Price *string `json:"price,omitempty" xml:"price,omitempty"`
	// example:
	//
	// 自制
	Prop *string `json:"prop,omitempty" xml:"prop,omitempty"`
	// example:
	//
	// 这里是备注
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// example:
	//
	// 止口面攻牙的操作方法
	Sop *string `json:"sop,omitempty" xml:"sop,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 39C1E213-86B2-706B-9615-5B957DF8C15D
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesProcessRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProcessRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProcessRequest) SetAction(v string) *IndustryManufactureMesProcessRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetAppKey(v string) *IndustryManufactureMesProcessRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetBaseDataName(v string) *IndustryManufactureMesProcessRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetExtendData(v []*IndustryManufactureMesProcessRequestExtendData) *IndustryManufactureMesProcessRequest {
	s.ExtendData = v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetName(v string) *IndustryManufactureMesProcessRequest {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetNeedDispatch(v string) *IndustryManufactureMesProcessRequest {
	s.NeedDispatch = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetNeedQualityTest(v string) *IndustryManufactureMesProcessRequest {
	s.NeedQualityTest = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetNo(v string) *IndustryManufactureMesProcessRequest {
	s.No = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetPrice(v string) *IndustryManufactureMesProcessRequest {
	s.Price = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetProp(v string) *IndustryManufactureMesProcessRequest {
	s.Prop = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetRemark(v string) *IndustryManufactureMesProcessRequest {
	s.Remark = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetSop(v string) *IndustryManufactureMesProcessRequest {
	s.Sop = &v
	return s
}

func (s *IndustryManufactureMesProcessRequest) SetUuid(v string) *IndustryManufactureMesProcessRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesProcessRequestExtendData struct {
	// example:
	//
	// username
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// example:
	//
	// 生产人员
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 李四
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
	// example:
	//
	// string
	ValueType *string `json:"valueType,omitempty" xml:"valueType,omitempty"`
}

func (s IndustryManufactureMesProcessRequestExtendData) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProcessRequestExtendData) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProcessRequestExtendData) SetCode(v string) *IndustryManufactureMesProcessRequestExtendData {
	s.Code = &v
	return s
}

func (s *IndustryManufactureMesProcessRequestExtendData) SetName(v string) *IndustryManufactureMesProcessRequestExtendData {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesProcessRequestExtendData) SetValue(v string) *IndustryManufactureMesProcessRequestExtendData {
	s.Value = &v
	return s
}

func (s *IndustryManufactureMesProcessRequestExtendData) SetValueType(v string) *IndustryManufactureMesProcessRequestExtendData {
	s.ValueType = &v
	return s
}

type IndustryManufactureMesProcessResponseBody struct {
	Result *IndustryManufactureMesProcessResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesProcessResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProcessResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProcessResponseBody) SetResult(v *IndustryManufactureMesProcessResponseBodyResult) *IndustryManufactureMesProcessResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesProcessResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesProcessResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProcessResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProcessResponseBodyResult) SetContent(v string) *IndustryManufactureMesProcessResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesProcessResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesProcessResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProcessResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProcessResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesProcessResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesProcessResponse) SetStatusCode(v int32) *IndustryManufactureMesProcessResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesProcessResponse) SetBody(v *IndustryManufactureMesProcessResponseBody) *IndustryManufactureMesProcessResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesProductionPlanHeaders 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 (s IndustryManufactureMesProductionPlanHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProductionPlanHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProductionPlanHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesProductionPlanHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesProductionPlanHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesProductionPlanHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesProductionPlanRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// example:
	//
	// 2021-03-12 00:00:00
	ActualEndTime *string `json:"actualEndTime,omitempty" xml:"actualEndTime,omitempty"`
	// example:
	//
	// 2021-03-12 00:00:00
	ActualStartTime *string `json:"actualStartTime,omitempty" xml:"actualStartTime,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// opsoft
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// productionplan
	BaseDataName *string `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	// example:
	//
	// 39C1E213-86B2-706B-9615-5B957DF8C15D
	BomUuid    *string                                                  `json:"bomUuid,omitempty" xml:"bomUuid,omitempty"`
	Events     []*string                                                `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	ExtendData []*IndustryManufactureMesProductionPlanRequestExtendData `json:"extendData,omitempty" xml:"extendData,omitempty" type:"Repeated"`
	// example:
	//
	// 20220509034
	No *string `json:"no,omitempty" xml:"no,omitempty"`
	// example:
	//
	// 0
	Overdue *string `json:"overdue,omitempty" xml:"overdue,omitempty"`
	// example:
	//
	// 2021-03-12 00:00:00
	PlanEndTime *string `json:"planEndTime,omitempty" xml:"planEndTime,omitempty"`
	// example:
	//
	// 321
	PlanQuantity *string `json:"planQuantity,omitempty" xml:"planQuantity,omitempty"`
	// example:
	//
	// 2021-03-12 00:00:00
	PlanStartTime *string `json:"planStartTime,omitempty" xml:"planStartTime,omitempty"`
	// example:
	//
	// { TODO       "uuid": "1543878029722550273",       "name": "YF-钣金",       "preProcess": ""     }
	ProcessUuids *string `json:"processUuids,omitempty" xml:"processUuids,omitempty"`
	// example:
	//
	// 011351
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
	// example:
	//
	// 毛坯KM50三级盖
	ProductName *string `json:"productName,omitempty" xml:"productName,omitempty"`
	// example:
	//
	// KM50
	ProductSpecification *string `json:"productSpecification,omitempty" xml:"productSpecification,omitempty"`
	// example:
	//
	// 300
	QualifiedQuantity *string `json:"qualifiedQuantity,omitempty" xml:"qualifiedQuantity,omitempty"`
	// example:
	//
	// sell20220509034
	SellOrderNo *string `json:"sellOrderNo,omitempty" xml:"sellOrderNo,omitempty"`
	// example:
	//
	// WORKING
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// example:
	//
	// {     "processId1": ["teamId11", "teamId12", "teamId13"],     "processId2": ["teamId21", "teamId22", "teamId23"] }
	TeamList *string `json:"teamList,omitempty" xml:"teamList,omitempty"`
	// example:
	//
	// 毛坯KM50三级盖
	Title *string `json:"title,omitempty" xml:"title,omitempty"`
	// example:
	//
	// NORMAL
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// example:
	//
	// 个
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 39C1E213-86B2-706B-9615-5B957DF8C15D
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesProductionPlanRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProductionPlanRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProductionPlanRequest) SetAction(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetActualEndTime(v string) *IndustryManufactureMesProductionPlanRequest {
	s.ActualEndTime = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetActualStartTime(v string) *IndustryManufactureMesProductionPlanRequest {
	s.ActualStartTime = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetAppKey(v string) *IndustryManufactureMesProductionPlanRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetBaseDataName(v string) *IndustryManufactureMesProductionPlanRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetBomUuid(v string) *IndustryManufactureMesProductionPlanRequest {
	s.BomUuid = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetEvents(v []*string) *IndustryManufactureMesProductionPlanRequest {
	s.Events = v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetExtendData(v []*IndustryManufactureMesProductionPlanRequestExtendData) *IndustryManufactureMesProductionPlanRequest {
	s.ExtendData = v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetNo(v string) *IndustryManufactureMesProductionPlanRequest {
	s.No = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetOverdue(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Overdue = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetPlanEndTime(v string) *IndustryManufactureMesProductionPlanRequest {
	s.PlanEndTime = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetPlanQuantity(v string) *IndustryManufactureMesProductionPlanRequest {
	s.PlanQuantity = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetPlanStartTime(v string) *IndustryManufactureMesProductionPlanRequest {
	s.PlanStartTime = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetProcessUuids(v string) *IndustryManufactureMesProductionPlanRequest {
	s.ProcessUuids = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetProductCode(v string) *IndustryManufactureMesProductionPlanRequest {
	s.ProductCode = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetProductName(v string) *IndustryManufactureMesProductionPlanRequest {
	s.ProductName = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetProductSpecification(v string) *IndustryManufactureMesProductionPlanRequest {
	s.ProductSpecification = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetQualifiedQuantity(v string) *IndustryManufactureMesProductionPlanRequest {
	s.QualifiedQuantity = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetSellOrderNo(v string) *IndustryManufactureMesProductionPlanRequest {
	s.SellOrderNo = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetStatus(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Status = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetTeamList(v string) *IndustryManufactureMesProductionPlanRequest {
	s.TeamList = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetTitle(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Title = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetType(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Type = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetUnit(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Unit = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequest) SetUuid(v string) *IndustryManufactureMesProductionPlanRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesProductionPlanRequestExtendData struct {
	// example:
	//
	// staffName
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// example:
	//
	// 生产人员
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 张三
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
	// example:
	//
	// string
	ValueType *string `json:"valueType,omitempty" xml:"valueType,omitempty"`
}

func (s IndustryManufactureMesProductionPlanRequestExtendData) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProductionPlanRequestExtendData) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProductionPlanRequestExtendData) SetCode(v string) *IndustryManufactureMesProductionPlanRequestExtendData {
	s.Code = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequestExtendData) SetName(v string) *IndustryManufactureMesProductionPlanRequestExtendData {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequestExtendData) SetValue(v string) *IndustryManufactureMesProductionPlanRequestExtendData {
	s.Value = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanRequestExtendData) SetValueType(v string) *IndustryManufactureMesProductionPlanRequestExtendData {
	s.ValueType = &v
	return s
}

type IndustryManufactureMesProductionPlanResponseBody struct {
	Result *IndustryManufactureMesProductionPlanResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesProductionPlanResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProductionPlanResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProductionPlanResponseBody) SetResult(v *IndustryManufactureMesProductionPlanResponseBodyResult) *IndustryManufactureMesProductionPlanResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesProductionPlanResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesProductionPlanResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProductionPlanResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProductionPlanResponseBodyResult) SetContent(v string) *IndustryManufactureMesProductionPlanResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesProductionPlanResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesProductionPlanResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesProductionPlanResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesProductionPlanResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesProductionPlanResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesProductionPlanResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesProductionPlanResponse) SetStatusCode(v int32) *IndustryManufactureMesProductionPlanResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesProductionPlanResponse) SetBody(v *IndustryManufactureMesProductionPlanResponseBody) *IndustryManufactureMesProductionPlanResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesSubCooperationTeamHeaders 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 (s IndustryManufactureMesSubCooperationTeamHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesSubCooperationTeamHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesSubCooperationTeamHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// libai
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// outTeam
	BaseDataName *string                                                        `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	Events       []*string                                                      `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	ExtendData   []*IndustryManufactureMesSubCooperationTeamRequestExtendData   `json:"extendData,omitempty" xml:"extendData,omitempty" type:"Repeated"`
	GroupPlugins []*IndustryManufactureMesSubCooperationTeamRequestGroupPlugins `json:"groupPlugins,omitempty" xml:"groupPlugins,omitempty" type:"Repeated"`
	// example:
	//
	// SUB_COOPERATION_GROUP
	GroupType *string                                                   `json:"groupType,omitempty" xml:"groupType,omitempty"`
	Leaders   []*IndustryManufactureMesSubCooperationTeamRequestLeaders `json:"leaders,omitempty" xml:"leaders,omitempty" type:"Repeated"`
	Members   []*IndustryManufactureMesSubCooperationTeamRequestMembers `json:"members,omitempty" xml:"members,omitempty" type:"Repeated"`
	// example:
	//
	// 打磨班组
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// dingfsdfs3fsd2234wds
	OutCorpId  *string   `json:"outCorpId,omitempty" xml:"outCorpId,omitempty"`
	ProcessIds []*string `json:"processIds,omitempty" xml:"processIds,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// d41d8cd98f00b204e9800998ecf8427e
	Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetAction(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetAppKey(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetBaseDataName(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetEvents(v []*string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.Events = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetExtendData(v []*IndustryManufactureMesSubCooperationTeamRequestExtendData) *IndustryManufactureMesSubCooperationTeamRequest {
	s.ExtendData = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetGroupPlugins(v []*IndustryManufactureMesSubCooperationTeamRequestGroupPlugins) *IndustryManufactureMesSubCooperationTeamRequest {
	s.GroupPlugins = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetGroupType(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.GroupType = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetLeaders(v []*IndustryManufactureMesSubCooperationTeamRequestLeaders) *IndustryManufactureMesSubCooperationTeamRequest {
	s.Leaders = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetMembers(v []*IndustryManufactureMesSubCooperationTeamRequestMembers) *IndustryManufactureMesSubCooperationTeamRequest {
	s.Members = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetName(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetOutCorpId(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.OutCorpId = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetProcessIds(v []*string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.ProcessIds = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequest) SetUuid(v string) *IndustryManufactureMesSubCooperationTeamRequest {
	s.Uuid = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamRequestExtendData struct {
	// This parameter is required.
	//
	// example:
	//
	// school
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// example:
	//
	// 学校
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 北大
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// string
	ValueType *string `json:"valueType,omitempty" xml:"valueType,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamRequestExtendData) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamRequestExtendData) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamRequestExtendData) SetCode(v string) *IndustryManufactureMesSubCooperationTeamRequestExtendData {
	s.Code = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequestExtendData) SetName(v string) *IndustryManufactureMesSubCooperationTeamRequestExtendData {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequestExtendData) SetValue(v string) *IndustryManufactureMesSubCooperationTeamRequestExtendData {
	s.Value = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequestExtendData) SetValueType(v string) *IndustryManufactureMesSubCooperationTeamRequestExtendData {
	s.ValueType = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamRequestGroupPlugins struct {
	// This parameter is required.
	Label *string `json:"label,omitempty" xml:"label,omitempty"`
	// This parameter is required.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamRequestGroupPlugins) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamRequestGroupPlugins) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamRequestGroupPlugins) SetLabel(v string) *IndustryManufactureMesSubCooperationTeamRequestGroupPlugins {
	s.Label = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequestGroupPlugins) SetValue(v string) *IndustryManufactureMesSubCooperationTeamRequestGroupPlugins {
	s.Value = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamRequestLeaders struct {
	// This parameter is required.
	//
	// example:
	//
	// 张三
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1919442747879777
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamRequestLeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamRequestLeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamRequestLeaders) SetName(v string) *IndustryManufactureMesSubCooperationTeamRequestLeaders {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequestLeaders) SetUserId(v string) *IndustryManufactureMesSubCooperationTeamRequestLeaders {
	s.UserId = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamRequestMembers struct {
	// This parameter is required.
	//
	// example:
	//
	// 李四
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1919442747879777
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamRequestMembers) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamRequestMembers) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamRequestMembers) SetName(v string) *IndustryManufactureMesSubCooperationTeamRequestMembers {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamRequestMembers) SetUserId(v string) *IndustryManufactureMesSubCooperationTeamRequestMembers {
	s.UserId = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamResponseBody struct {
	Result *IndustryManufactureMesSubCooperationTeamResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesSubCooperationTeamResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamResponseBody) SetResult(v *IndustryManufactureMesSubCooperationTeamResponseBodyResult) *IndustryManufactureMesSubCooperationTeamResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesSubCooperationTeamResponseBodyResult struct {
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamResponseBodyResult) SetContent(v string) *IndustryManufactureMesSubCooperationTeamResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesSubCooperationTeamResponse struct {
	Headers    map[string]*string                                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesSubCooperationTeamResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesSubCooperationTeamResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesSubCooperationTeamResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesSubCooperationTeamResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesSubCooperationTeamResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamResponse) SetStatusCode(v int32) *IndustryManufactureMesSubCooperationTeamResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesSubCooperationTeamResponse) SetBody(v *IndustryManufactureMesSubCooperationTeamResponseBody) *IndustryManufactureMesSubCooperationTeamResponse {
	s.Body = v
	return s
}

type IndustryManufactureMesTeamMgmtHeaders 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 (s IndustryManufactureMesTeamMgmtHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtHeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtHeaders) SetCommonHeaders(v map[string]*string) *IndustryManufactureMesTeamMgmtHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryManufactureMesTeamMgmtHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryManufactureMesTeamMgmtRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// add
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// libai
	AppKey *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// team
	BaseDataName *string                                              `json:"baseDataName,omitempty" xml:"baseDataName,omitempty"`
	Events       []*string                                            `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	ExtendData   []*IndustryManufactureMesTeamMgmtRequestExtendData   `json:"extendData,omitempty" xml:"extendData,omitempty" type:"Repeated"`
	GroupConfig  map[string]interface{}                               `json:"groupConfig,omitempty" xml:"groupConfig,omitempty"`
	GroupPlugins []*IndustryManufactureMesTeamMgmtRequestGroupPlugins `json:"groupPlugins,omitempty" xml:"groupPlugins,omitempty" type:"Repeated"`
	// example:
	//
	// PROCESS
	GroupType *string `json:"groupType,omitempty" xml:"groupType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// d41d8cd98f00b204e9800998ecf8427e
	Id      *string                                         `json:"id,omitempty" xml:"id,omitempty"`
	Leaders []*IndustryManufactureMesTeamMgmtRequestLeaders `json:"leaders,omitempty" xml:"leaders,omitempty" type:"Repeated"`
	Members []*IndustryManufactureMesTeamMgmtRequestMembers `json:"members,omitempty" xml:"members,omitempty" type:"Repeated"`
	// example:
	//
	// 打磨班组
	Name       *string   `json:"name,omitempty" xml:"name,omitempty"`
	ProcessIds []*string `json:"processIds,omitempty" xml:"processIds,omitempty" type:"Repeated"`
	TagKey     *string   `json:"tagKey,omitempty" xml:"tagKey,omitempty"`
	TagValues  []*string `json:"tagValues,omitempty" xml:"tagValues,omitempty" type:"Repeated"`
}

func (s IndustryManufactureMesTeamMgmtRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtRequest) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetAction(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.Action = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetAppKey(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.AppKey = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetBaseDataName(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.BaseDataName = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetEvents(v []*string) *IndustryManufactureMesTeamMgmtRequest {
	s.Events = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetExtendData(v []*IndustryManufactureMesTeamMgmtRequestExtendData) *IndustryManufactureMesTeamMgmtRequest {
	s.ExtendData = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetGroupConfig(v map[string]interface{}) *IndustryManufactureMesTeamMgmtRequest {
	s.GroupConfig = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetGroupPlugins(v []*IndustryManufactureMesTeamMgmtRequestGroupPlugins) *IndustryManufactureMesTeamMgmtRequest {
	s.GroupPlugins = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetGroupType(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.GroupType = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetId(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.Id = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetLeaders(v []*IndustryManufactureMesTeamMgmtRequestLeaders) *IndustryManufactureMesTeamMgmtRequest {
	s.Leaders = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetMembers(v []*IndustryManufactureMesTeamMgmtRequestMembers) *IndustryManufactureMesTeamMgmtRequest {
	s.Members = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetName(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetProcessIds(v []*string) *IndustryManufactureMesTeamMgmtRequest {
	s.ProcessIds = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetTagKey(v string) *IndustryManufactureMesTeamMgmtRequest {
	s.TagKey = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequest) SetTagValues(v []*string) *IndustryManufactureMesTeamMgmtRequest {
	s.TagValues = v
	return s
}

type IndustryManufactureMesTeamMgmtRequestExtendData struct {
	// This parameter is required.
	//
	// example:
	//
	// school
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// example:
	//
	// 学校
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 北大
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// string
	ValueType *string `json:"valueType,omitempty" xml:"valueType,omitempty"`
}

func (s IndustryManufactureMesTeamMgmtRequestExtendData) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtRequestExtendData) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtRequestExtendData) SetCode(v string) *IndustryManufactureMesTeamMgmtRequestExtendData {
	s.Code = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequestExtendData) SetName(v string) *IndustryManufactureMesTeamMgmtRequestExtendData {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequestExtendData) SetValue(v string) *IndustryManufactureMesTeamMgmtRequestExtendData {
	s.Value = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequestExtendData) SetValueType(v string) *IndustryManufactureMesTeamMgmtRequestExtendData {
	s.ValueType = &v
	return s
}

type IndustryManufactureMesTeamMgmtRequestGroupPlugins struct {
	// This parameter is required.
	Label *string `json:"label,omitempty" xml:"label,omitempty"`
	// This parameter is required.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (s IndustryManufactureMesTeamMgmtRequestGroupPlugins) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtRequestGroupPlugins) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtRequestGroupPlugins) SetLabel(v string) *IndustryManufactureMesTeamMgmtRequestGroupPlugins {
	s.Label = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequestGroupPlugins) SetValue(v string) *IndustryManufactureMesTeamMgmtRequestGroupPlugins {
	s.Value = &v
	return s
}

type IndustryManufactureMesTeamMgmtRequestLeaders struct {
	// This parameter is required.
	//
	// example:
	//
	// 张三
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1919442747879777
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s IndustryManufactureMesTeamMgmtRequestLeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtRequestLeaders) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtRequestLeaders) SetName(v string) *IndustryManufactureMesTeamMgmtRequestLeaders {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequestLeaders) SetUserId(v string) *IndustryManufactureMesTeamMgmtRequestLeaders {
	s.UserId = &v
	return s
}

type IndustryManufactureMesTeamMgmtRequestMembers struct {
	// This parameter is required.
	//
	// example:
	//
	// 李四
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1919442747879777
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s IndustryManufactureMesTeamMgmtRequestMembers) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtRequestMembers) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtRequestMembers) SetName(v string) *IndustryManufactureMesTeamMgmtRequestMembers {
	s.Name = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtRequestMembers) SetUserId(v string) *IndustryManufactureMesTeamMgmtRequestMembers {
	s.UserId = &v
	return s
}

type IndustryManufactureMesTeamMgmtResponseBody struct {
	DingOpenErrcode *int32 `json:"dingOpenErrcode,omitempty" xml:"dingOpenErrcode,omitempty"`
	// This parameter is required.
	ErrorMsg *string `json:"errorMsg,omitempty" xml:"errorMsg,omitempty"`
	// This parameter is required.
	Result *IndustryManufactureMesTeamMgmtResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s IndustryManufactureMesTeamMgmtResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtResponseBody) SetDingOpenErrcode(v int32) *IndustryManufactureMesTeamMgmtResponseBody {
	s.DingOpenErrcode = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtResponseBody) SetErrorMsg(v string) *IndustryManufactureMesTeamMgmtResponseBody {
	s.ErrorMsg = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtResponseBody) SetResult(v *IndustryManufactureMesTeamMgmtResponseBodyResult) *IndustryManufactureMesTeamMgmtResponseBody {
	s.Result = v
	return s
}

type IndustryManufactureMesTeamMgmtResponseBodyResult struct {
	// This parameter is required.
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
}

func (s IndustryManufactureMesTeamMgmtResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtResponseBodyResult) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtResponseBodyResult) SetContent(v string) *IndustryManufactureMesTeamMgmtResponseBodyResult {
	s.Content = &v
	return s
}

type IndustryManufactureMesTeamMgmtResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryManufactureMesTeamMgmtResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryManufactureMesTeamMgmtResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryManufactureMesTeamMgmtResponse) GoString() string {
	return s.String()
}

func (s *IndustryManufactureMesTeamMgmtResponse) SetHeaders(v map[string]*string) *IndustryManufactureMesTeamMgmtResponse {
	s.Headers = v
	return s
}

func (s *IndustryManufactureMesTeamMgmtResponse) SetStatusCode(v int32) *IndustryManufactureMesTeamMgmtResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryManufactureMesTeamMgmtResponse) SetBody(v *IndustryManufactureMesTeamMgmtResponseBody) *IndustryManufactureMesTeamMgmtResponse {
	s.Body = v
	return s
}

type IndustryMmanufactureMaterialCostGetHeaders 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 (s IndustryMmanufactureMaterialCostGetHeaders) String() string {
	return tea.Prettify(s)
}

func (s IndustryMmanufactureMaterialCostGetHeaders) GoString() string {
	return s.String()
}

func (s *IndustryMmanufactureMaterialCostGetHeaders) SetCommonHeaders(v map[string]*string) *IndustryMmanufactureMaterialCostGetHeaders {
	s.CommonHeaders = v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetHeaders) SetXAcsDingtalkAccessToken(v string) *IndustryMmanufactureMaterialCostGetHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type IndustryMmanufactureMaterialCostGetRequest struct {
	AppId   *int64   `json:"appId,omitempty" xml:"appId,omitempty"`
	AppIds  []*int64 `json:"appIds,omitempty" xml:"appIds,omitempty" type:"Repeated"`
	AppName *string  `json:"appName,omitempty" xml:"appName,omitempty"`
	// This parameter is required.
	CorpId          *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	Cursor          *int64  `json:"cursor,omitempty" xml:"cursor,omitempty"`
	EndTime         *int64  `json:"endTime,omitempty" xml:"endTime,omitempty"`
	InstanceId      *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	IsvOrgId        *int64  `json:"isvOrgId,omitempty" xml:"isvOrgId,omitempty"`
	MaterialNo      *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	MicroappAgentId *int64  `json:"microappAgentId,omitempty" xml:"microappAgentId,omitempty"`
	OrgId           *int64  `json:"orgId,omitempty" xml:"orgId,omitempty"`
	// This parameter is required.
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	PageSize       *int32  `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	StartTime      *int64  `json:"startTime,omitempty" xml:"startTime,omitempty"`
	SuiteKey       *string `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	TokenGrantType *int32  `json:"tokenGrantType,omitempty" xml:"tokenGrantType,omitempty"`
}

func (s IndustryMmanufactureMaterialCostGetRequest) String() string {
	return tea.Prettify(s)
}

func (s IndustryMmanufactureMaterialCostGetRequest) GoString() string {
	return s.String()
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetAppId(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.AppId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetAppIds(v []*int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.AppIds = v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetAppName(v string) *IndustryMmanufactureMaterialCostGetRequest {
	s.AppName = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetCorpId(v string) *IndustryMmanufactureMaterialCostGetRequest {
	s.CorpId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetCursor(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.Cursor = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetEndTime(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.EndTime = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetInstanceId(v string) *IndustryMmanufactureMaterialCostGetRequest {
	s.InstanceId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetIsvOrgId(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.IsvOrgId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetMaterialNo(v string) *IndustryMmanufactureMaterialCostGetRequest {
	s.MaterialNo = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetMicroappAgentId(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.MicroappAgentId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetOrgId(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.OrgId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetPageNumber(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.PageNumber = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetPageSize(v int32) *IndustryMmanufactureMaterialCostGetRequest {
	s.PageSize = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetStartTime(v int64) *IndustryMmanufactureMaterialCostGetRequest {
	s.StartTime = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetSuiteKey(v string) *IndustryMmanufactureMaterialCostGetRequest {
	s.SuiteKey = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetRequest) SetTokenGrantType(v int32) *IndustryMmanufactureMaterialCostGetRequest {
	s.TokenGrantType = &v
	return s
}

type IndustryMmanufactureMaterialCostGetResponseBody struct {
	// This parameter is required.
	HasMore *bool                                                  `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	List    []*IndustryMmanufactureMaterialCostGetResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// This parameter is required.
	NextCursor *int64 `json:"nextCursor,omitempty" xml:"nextCursor,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s IndustryMmanufactureMaterialCostGetResponseBody) String() string {
	return tea.Prettify(s)
}

func (s IndustryMmanufactureMaterialCostGetResponseBody) GoString() string {
	return s.String()
}

func (s *IndustryMmanufactureMaterialCostGetResponseBody) SetHasMore(v bool) *IndustryMmanufactureMaterialCostGetResponseBody {
	s.HasMore = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBody) SetList(v []*IndustryMmanufactureMaterialCostGetResponseBodyList) *IndustryMmanufactureMaterialCostGetResponseBody {
	s.List = v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBody) SetNextCursor(v int64) *IndustryMmanufactureMaterialCostGetResponseBody {
	s.NextCursor = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBody) SetTotalCount(v int64) *IndustryMmanufactureMaterialCostGetResponseBody {
	s.TotalCount = &v
	return s
}

type IndustryMmanufactureMaterialCostGetResponseBodyList struct {
	// This parameter is required.
	ActPrice *float32 `json:"actPrice,omitempty" xml:"actPrice,omitempty"`
	// This parameter is required.
	CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// This parameter is required.
	Count *float32 `json:"count,omitempty" xml:"count,omitempty"`
	// This parameter is required.
	Ext *string `json:"ext,omitempty" xml:"ext,omitempty"`
	// This parameter is required.
	GmtCreate *int64 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	GmtModified *int64 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// This parameter is required.
	MaterialCostNo *string `json:"materialCostNo,omitempty" xml:"materialCostNo,omitempty"`
	// This parameter is required.
	MaterialName *string `json:"materialName,omitempty" xml:"materialName,omitempty"`
	// This parameter is required.
	MaterialNo *string `json:"materialNo,omitempty" xml:"materialNo,omitempty"`
	// This parameter is required.
	Memo *string `json:"memo,omitempty" xml:"memo,omitempty"`
	// This parameter is required.
	Price *float32 `json:"price,omitempty" xml:"price,omitempty"`
	// This parameter is required.
	ProcessCode *string `json:"processCode,omitempty" xml:"processCode,omitempty"`
	// This parameter is required.
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (s IndustryMmanufactureMaterialCostGetResponseBodyList) String() string {
	return tea.Prettify(s)
}

func (s IndustryMmanufactureMaterialCostGetResponseBodyList) GoString() string {
	return s.String()
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetActPrice(v float32) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.ActPrice = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetCorpId(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.CorpId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetCount(v float32) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.Count = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetExt(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.Ext = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetGmtCreate(v int64) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.GmtCreate = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetGmtModified(v int64) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.GmtModified = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetInstanceId(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.InstanceId = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetMaterialCostNo(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.MaterialCostNo = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetMaterialName(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.MaterialName = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetMaterialNo(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.MaterialNo = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetMemo(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.Memo = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetPrice(v float32) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.Price = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetProcessCode(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.ProcessCode = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponseBodyList) SetUnit(v string) *IndustryMmanufactureMaterialCostGetResponseBodyList {
	s.Unit = &v
	return s
}

type IndustryMmanufactureMaterialCostGetResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IndustryMmanufactureMaterialCostGetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s IndustryMmanufactureMaterialCostGetResponse) String() string {
	return tea.Prettify(s)
}

func (s IndustryMmanufactureMaterialCostGetResponse) GoString() string {
	return s.String()
}

func (s *IndustryMmanufactureMaterialCostGetResponse) SetHeaders(v map[string]*string) *IndustryMmanufactureMaterialCostGetResponse {
	s.Headers = v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponse) SetStatusCode(v int32) *IndustryMmanufactureMaterialCostGetResponse {
	s.StatusCode = &v
	return s
}

func (s *IndustryMmanufactureMaterialCostGetResponse) SetBody(v *IndustryMmanufactureMaterialCostGetResponseBody) *IndustryMmanufactureMaterialCostGetResponse {
	s.Body = v
	return s
}

type PushDingMessageHeaders 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 (s PushDingMessageHeaders) String() string {
	return tea.Prettify(s)
}

func (s PushDingMessageHeaders) GoString() string {
	return s.String()
}

func (s *PushDingMessageHeaders) SetCommonHeaders(v map[string]*string) *PushDingMessageHeaders {
	s.CommonHeaders = v
	return s
}

func (s *PushDingMessageHeaders) SetXAcsDingtalkAccessToken(v string) *PushDingMessageHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type PushDingMessageRequest struct {
	// example:
	//
	// 10001
	AppId *int64 `json:"appId,omitempty" xml:"appId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 消息内容
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// CARD
	MessageType *string `json:"messageType,omitempty" xml:"messageType,omitempty"`
	// example:
	//
	// https://www.dingtalk.com
	MessageUrl *string `json:"messageUrl,omitempty" xml:"messageUrl,omitempty"`
	// example:
	//
	// http://pic.616pic.com/ys_b_img/00/27/71/Uu8E6C2Edn.jpg
	PictureUrl *string `json:"pictureUrl,omitempty" xml:"pictureUrl,omitempty"`
	// example:
	//
	// 转跳链接
	SingleTitle *string `json:"singleTitle,omitempty" xml:"singleTitle,omitempty"`
	// example:
	//
	// https://www.dingtalk.com
	SingleUrl *string `json:"singleUrl,omitempty" xml:"singleUrl,omitempty"`
	// example:
	//
	// 消息title
	Title *string `json:"title,omitempty" xml:"title,omitempty"`
	// This parameter is required.
	UserIdList []*string `json:"userIdList,omitempty" xml:"userIdList,omitempty" type:"Repeated"`
}

func (s PushDingMessageRequest) String() string {
	return tea.Prettify(s)
}

func (s PushDingMessageRequest) GoString() string {
	return s.String()
}

func (s *PushDingMessageRequest) SetAppId(v int64) *PushDingMessageRequest {
	s.AppId = &v
	return s
}

func (s *PushDingMessageRequest) SetContent(v string) *PushDingMessageRequest {
	s.Content = &v
	return s
}

func (s *PushDingMessageRequest) SetMessageType(v string) *PushDingMessageRequest {
	s.MessageType = &v
	return s
}

func (s *PushDingMessageRequest) SetMessageUrl(v string) *PushDingMessageRequest {
	s.MessageUrl = &v
	return s
}

func (s *PushDingMessageRequest) SetPictureUrl(v string) *PushDingMessageRequest {
	s.PictureUrl = &v
	return s
}

func (s *PushDingMessageRequest) SetSingleTitle(v string) *PushDingMessageRequest {
	s.SingleTitle = &v
	return s
}

func (s *PushDingMessageRequest) SetSingleUrl(v string) *PushDingMessageRequest {
	s.SingleUrl = &v
	return s
}

func (s *PushDingMessageRequest) SetTitle(v string) *PushDingMessageRequest {
	s.Title = &v
	return s
}

func (s *PushDingMessageRequest) SetUserIdList(v []*string) *PushDingMessageRequest {
	s.UserIdList = v
	return s
}

type PushDingMessageResponseBody struct {
	Content *int64 `json:"content,omitempty" xml:"content,omitempty"`
	Success *bool  `json:"success,omitempty" xml:"success,omitempty"`
}

func (s PushDingMessageResponseBody) String() string {
	return tea.Prettify(s)
}

func (s PushDingMessageResponseBody) GoString() string {
	return s.String()
}

func (s *PushDingMessageResponseBody) SetContent(v int64) *PushDingMessageResponseBody {
	s.Content = &v
	return s
}

func (s *PushDingMessageResponseBody) SetSuccess(v bool) *PushDingMessageResponseBody {
	s.Success = &v
	return s
}

type PushDingMessageResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *PushDingMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s PushDingMessageResponse) String() string {
	return tea.Prettify(s)
}

func (s PushDingMessageResponse) GoString() string {
	return s.String()
}

func (s *PushDingMessageResponse) SetHeaders(v map[string]*string) *PushDingMessageResponse {
	s.Headers = v
	return s
}

func (s *PushDingMessageResponse) SetStatusCode(v int32) *PushDingMessageResponse {
	s.StatusCode = &v
	return s
}

func (s *PushDingMessageResponse) SetBody(v *PushDingMessageResponseBody) *PushDingMessageResponse {
	s.Body = v
	return s
}

type QueryAllDepartmentHeaders 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 (s QueryAllDepartmentHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentHeaders) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentHeaders) SetCommonHeaders(v map[string]*string) *QueryAllDepartmentHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryAllDepartmentHeaders) SetXAcsDingtalkAccessToken(v string) *QueryAllDepartmentHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryAllDepartmentRequest struct {
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 200
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryAllDepartmentRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentRequest) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentRequest) SetPageNumber(v int32) *QueryAllDepartmentRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryAllDepartmentRequest) SetPageSize(v int32) *QueryAllDepartmentRequest {
	s.PageSize = &v
	return s
}

type QueryAllDepartmentResponseBody struct {
	Content []*QueryAllDepartmentResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// example:
	//
	// 1
	CurrentPage *int32 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// example:
	//
	// 100
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// example:
	//
	// 10
	TotalPages *int32 `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryAllDepartmentResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBody) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBody) SetContent(v []*QueryAllDepartmentResponseBodyContent) *QueryAllDepartmentResponseBody {
	s.Content = v
	return s
}

func (s *QueryAllDepartmentResponseBody) SetCurrentPage(v int32) *QueryAllDepartmentResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryAllDepartmentResponseBody) SetTotalCount(v int64) *QueryAllDepartmentResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryAllDepartmentResponseBody) SetTotalPages(v int32) *QueryAllDepartmentResponseBody {
	s.TotalPages = &v
	return s
}

type QueryAllDepartmentResponseBodyContent struct {
	// This parameter is required.
	DeptAndExt *QueryAllDepartmentResponseBodyContentDeptAndExt `json:"deptAndExt,omitempty" xml:"deptAndExt,omitempty" type:"Struct"`
	// This parameter is required.
	GroupAndExtList []*QueryAllDepartmentResponseBodyContentGroupAndExtList `json:"groupAndExtList,omitempty" xml:"groupAndExtList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 130000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 骨科
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (s QueryAllDepartmentResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContent) SetDeptAndExt(v *QueryAllDepartmentResponseBodyContentDeptAndExt) *QueryAllDepartmentResponseBodyContent {
	s.DeptAndExt = v
	return s
}

func (s *QueryAllDepartmentResponseBodyContent) SetGroupAndExtList(v []*QueryAllDepartmentResponseBodyContentGroupAndExtList) *QueryAllDepartmentResponseBodyContent {
	s.GroupAndExtList = v
	return s
}

func (s *QueryAllDepartmentResponseBodyContent) SetId(v int64) *QueryAllDepartmentResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContent) SetName(v string) *QueryAllDepartmentResponseBodyContent {
	s.Name = &v
	return s
}

type QueryAllDepartmentResponseBodyContentDeptAndExt struct {
	// This parameter is required.
	Department *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment `json:"department,omitempty" xml:"department,omitempty" type:"Struct"`
	// This parameter is required.
	ExtendInfos []*QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos `json:"extendInfos,omitempty" xml:"extendInfos,omitempty" type:"Repeated"`
}

func (s QueryAllDepartmentResponseBodyContentDeptAndExt) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentDeptAndExt) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExt) SetDepartment(v *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) *QueryAllDepartmentResponseBodyContentDeptAndExt {
	s.Department = v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExt) SetExtendInfos(v []*QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) *QueryAllDepartmentResponseBodyContentDeptAndExt {
	s.ExtendInfos = v
	return s
}

type QueryAllDepartmentResponseBodyContentDeptAndExtDepartment struct {
	// This parameter is required.
	//
	// example:
	//
	// asd123
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 骨科
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	DeptOrder *int64 `json:"deptOrder,omitempty" xml:"deptOrder,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	DeptStatus *int32 `json:"deptStatus,omitempty" xml:"deptStatus,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	DeptType *int32 `json:"deptType,omitempty" xml:"deptType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 130000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 骨科
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// asd123
	ParentDeptCode *string `json:"parentDeptCode,omitempty" xml:"parentDeptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 备注
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// This parameter is required.
	WardIdList []*int64 `json:"wardIdList,omitempty" xml:"wardIdList,omitempty" type:"Repeated"`
}

func (s QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetDeptCode(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.DeptCode = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetDeptName(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.DeptName = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetDeptOrder(v int64) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.DeptOrder = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetDeptStatus(v int32) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.DeptStatus = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetDeptType(v int32) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.DeptType = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetGmtCreateStr(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetGmtModifiedStr(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetId(v int64) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.Id = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetName(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.Name = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetParentDeptCode(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.ParentDeptCode = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetRemark(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.Remark = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment) SetWardIdList(v []*int64) *QueryAllDepartmentResponseBodyContentDeptAndExtDepartment {
	s.WardIdList = v
	return s
}

type QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos struct {
	// This parameter is required.
	//
	// example:
	//
	// asd123
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医务科、医生都不一样
	DeptExtendDisplayName *string `json:"deptExtendDisplayName,omitempty" xml:"deptExtendDisplayName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医务科、医生都不一样
	DeptExtendKey *string `json:"deptExtendKey,omitempty" xml:"deptExtendKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医务科、医生都不一样
	DeptExtendValue *string `json:"deptExtendValue,omitempty" xml:"deptExtendValue,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 20000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
}

func (s QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetDeptCode(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.DeptCode = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetDeptExtendDisplayName(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.DeptExtendDisplayName = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetDeptExtendKey(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.DeptExtendKey = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetDeptExtendValue(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.DeptExtendValue = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetGmtCreateStr(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetGmtModifiedStr(v string) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetId(v int64) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.Id = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos) SetStatus(v int32) *QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos {
	s.Status = &v
	return s
}

type QueryAllDepartmentResponseBodyContentGroupAndExtList struct {
	// This parameter is required.
	ExtendInfos []*QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos `json:"extendInfos,omitempty" xml:"extendInfos,omitempty" type:"Repeated"`
	// This parameter is required.
	Group *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup `json:"group,omitempty" xml:"group,omitempty" type:"Struct"`
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtList) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtList) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtList) SetExtendInfos(v []*QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) *QueryAllDepartmentResponseBodyContentGroupAndExtList {
	s.ExtendInfos = v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtList) SetGroup(v *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) *QueryAllDepartmentResponseBodyContentGroupAndExtList {
	s.Group = v
	return s
}

type QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos struct {
	// This parameter is required.
	//
	// example:
	//
	// asd123
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医务科、医生都不一样
	DeptExtendDisplayName *string `json:"deptExtendDisplayName,omitempty" xml:"deptExtendDisplayName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医务科、医生都不一样
	DeptExtendKey *string `json:"deptExtendKey,omitempty" xml:"deptExtendKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医务科、医生都不一样
	DeptExtendValue *string `json:"deptExtendValue,omitempty" xml:"deptExtendValue,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 20000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetDeptCode(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.DeptCode = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetDeptExtendDisplayName(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.DeptExtendDisplayName = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetDeptExtendKey(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.DeptExtendKey = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetDeptExtendValue(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.DeptExtendValue = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetGmtCreateStr(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetGmtModifiedStr(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetId(v int64) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.Id = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos) SetStatus(v int32) *QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos {
	s.Status = &v
	return s
}

type QueryAllDepartmentResponseBodyContentGroupAndExtListGroup struct {
	// This parameter is required.
	//
	// example:
	//
	// 13000
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	DeptStatus *int32 `json:"deptStatus,omitempty" xml:"deptStatus,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 13001
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	Leader *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader `json:"leader,omitempty" xml:"leader,omitempty" type:"Struct"`
	// This parameter is required.
	//
	// example:
	//
	// 张三组
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 13000
	ParentDeptCode *string `json:"parentDeptCode,omitempty" xml:"parentDeptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 备注
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetDeptId(v int64) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.DeptId = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetDeptStatus(v int32) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.DeptStatus = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetGmtCreateStr(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetGmtModifiedStr(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetId(v int64) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.Id = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetLeader(v *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.Leader = v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetName(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.Name = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetParentDeptCode(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.ParentDeptCode = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup) SetRemark(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroup {
	s.Remark = &v
	return s
}

type QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader struct {
	// This parameter is required.
	//
	// example:
	//
	// 888asd
	JobNumber *string `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 张三
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 666abc
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader) SetJobNumber(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader {
	s.JobNumber = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader) SetName(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader {
	s.Name = &v
	return s
}

func (s *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader) SetUserId(v string) *QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader {
	s.UserId = &v
	return s
}

type QueryAllDepartmentResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryAllDepartmentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryAllDepartmentResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDepartmentResponse) GoString() string {
	return s.String()
}

func (s *QueryAllDepartmentResponse) SetHeaders(v map[string]*string) *QueryAllDepartmentResponse {
	s.Headers = v
	return s
}

func (s *QueryAllDepartmentResponse) SetStatusCode(v int32) *QueryAllDepartmentResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryAllDepartmentResponse) SetBody(v *QueryAllDepartmentResponseBody) *QueryAllDepartmentResponse {
	s.Body = v
	return s
}

type QueryAllDoctorsHeaders 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 (s QueryAllDoctorsHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDoctorsHeaders) GoString() string {
	return s.String()
}

func (s *QueryAllDoctorsHeaders) SetCommonHeaders(v map[string]*string) *QueryAllDoctorsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryAllDoctorsHeaders) SetXAcsDingtalkAccessToken(v string) *QueryAllDoctorsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryAllDoctorsRequest struct {
	MonthMark *string `json:"monthMark,omitempty" xml:"monthMark,omitempty"`
	// example:
	//
	// 1
	PageNum *int32 `json:"pageNum,omitempty" xml:"pageNum,omitempty"`
	// example:
	//
	// 200
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryAllDoctorsRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDoctorsRequest) GoString() string {
	return s.String()
}

func (s *QueryAllDoctorsRequest) SetMonthMark(v string) *QueryAllDoctorsRequest {
	s.MonthMark = &v
	return s
}

func (s *QueryAllDoctorsRequest) SetPageNum(v int32) *QueryAllDoctorsRequest {
	s.PageNum = &v
	return s
}

func (s *QueryAllDoctorsRequest) SetPageSize(v int32) *QueryAllDoctorsRequest {
	s.PageSize = &v
	return s
}

type QueryAllDoctorsResponseBody struct {
	Content []*QueryAllDoctorsResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	CurrentPage *int32 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 32
	TotalPages *int32 `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryAllDoctorsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDoctorsResponseBody) GoString() string {
	return s.String()
}

func (s *QueryAllDoctorsResponseBody) SetContent(v []*QueryAllDoctorsResponseBodyContent) *QueryAllDoctorsResponseBody {
	s.Content = v
	return s
}

func (s *QueryAllDoctorsResponseBody) SetCurrentPage(v int32) *QueryAllDoctorsResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryAllDoctorsResponseBody) SetTotalCount(v int64) *QueryAllDoctorsResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryAllDoctorsResponseBody) SetTotalPages(v int32) *QueryAllDoctorsResponseBody {
	s.TotalPages = &v
	return s
}

type QueryAllDoctorsResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1758
	AssessGroupId *string `json:"assessGroupId,omitempty" xml:"assessGroupId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 张三组
	AssessGroupName *string `json:"assessGroupName,omitempty" xml:"assessGroupName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1312312321
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 3
	DeptType *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-06-08 21:57:10
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-06-08 21:57:10
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123345
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0001
	JobNum *string `json:"jobNum,omitempty" xml:"jobNum,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// u0398812938821
	Uid *string `json:"uid,omitempty" xml:"uid,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// aaa12312312
	UserCode *string `json:"userCode,omitempty" xml:"userCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 用户名称
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s QueryAllDoctorsResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDoctorsResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryAllDoctorsResponseBodyContent) SetAssessGroupId(v string) *QueryAllDoctorsResponseBodyContent {
	s.AssessGroupId = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetAssessGroupName(v string) *QueryAllDoctorsResponseBodyContent {
	s.AssessGroupName = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetDeptCode(v string) *QueryAllDoctorsResponseBodyContent {
	s.DeptCode = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetDeptType(v string) *QueryAllDoctorsResponseBodyContent {
	s.DeptType = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetGmtCreateStr(v string) *QueryAllDoctorsResponseBodyContent {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetGmtModifiedStr(v string) *QueryAllDoctorsResponseBodyContent {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetId(v int64) *QueryAllDoctorsResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetJobNum(v string) *QueryAllDoctorsResponseBodyContent {
	s.JobNum = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetStatus(v int32) *QueryAllDoctorsResponseBodyContent {
	s.Status = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetUid(v string) *QueryAllDoctorsResponseBodyContent {
	s.Uid = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetUserCode(v string) *QueryAllDoctorsResponseBodyContent {
	s.UserCode = &v
	return s
}

func (s *QueryAllDoctorsResponseBodyContent) SetUserName(v string) *QueryAllDoctorsResponseBodyContent {
	s.UserName = &v
	return s
}

type QueryAllDoctorsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryAllDoctorsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryAllDoctorsResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryAllDoctorsResponse) GoString() string {
	return s.String()
}

func (s *QueryAllDoctorsResponse) SetHeaders(v map[string]*string) *QueryAllDoctorsResponse {
	s.Headers = v
	return s
}

func (s *QueryAllDoctorsResponse) SetStatusCode(v int32) *QueryAllDoctorsResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryAllDoctorsResponse) SetBody(v *QueryAllDoctorsResponseBody) *QueryAllDoctorsResponse {
	s.Body = v
	return s
}

type QueryAllGroupHeaders 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 (s QueryAllGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupHeaders) GoString() string {
	return s.String()
}

func (s *QueryAllGroupHeaders) SetCommonHeaders(v map[string]*string) *QueryAllGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryAllGroupHeaders) SetXAcsDingtalkAccessToken(v string) *QueryAllGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryAllGroupRequest struct {
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 200
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryAllGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupRequest) GoString() string {
	return s.String()
}

func (s *QueryAllGroupRequest) SetPageNumber(v int32) *QueryAllGroupRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryAllGroupRequest) SetPageSize(v int32) *QueryAllGroupRequest {
	s.PageSize = &v
	return s
}

type QueryAllGroupResponseBody struct {
	Content     []*QueryAllGroupResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	CurrentPage *int64                              `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	TotalCount  *int64                              `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	TotalPages  *int64                              `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryAllGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupResponseBody) GoString() string {
	return s.String()
}

func (s *QueryAllGroupResponseBody) SetContent(v []*QueryAllGroupResponseBodyContent) *QueryAllGroupResponseBody {
	s.Content = v
	return s
}

func (s *QueryAllGroupResponseBody) SetCurrentPage(v int64) *QueryAllGroupResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryAllGroupResponseBody) SetTotalCount(v int64) *QueryAllGroupResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryAllGroupResponseBody) SetTotalPages(v int64) *QueryAllGroupResponseBody {
	s.TotalPages = &v
	return s
}

type QueryAllGroupResponseBodyContent struct {
	// example:
	//
	// 12
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 1
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 医疗组1
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (s QueryAllGroupResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryAllGroupResponseBodyContent) SetDeptId(v int64) *QueryAllGroupResponseBodyContent {
	s.DeptId = &v
	return s
}

func (s *QueryAllGroupResponseBodyContent) SetId(v int64) *QueryAllGroupResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryAllGroupResponseBodyContent) SetName(v string) *QueryAllGroupResponseBodyContent {
	s.Name = &v
	return s
}

type QueryAllGroupResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryAllGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryAllGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupResponse) GoString() string {
	return s.String()
}

func (s *QueryAllGroupResponse) SetHeaders(v map[string]*string) *QueryAllGroupResponse {
	s.Headers = v
	return s
}

func (s *QueryAllGroupResponse) SetStatusCode(v int32) *QueryAllGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryAllGroupResponse) SetBody(v *QueryAllGroupResponseBody) *QueryAllGroupResponse {
	s.Body = v
	return s
}

type QueryAllGroupsInDeptHeaders 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 (s QueryAllGroupsInDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupsInDeptHeaders) GoString() string {
	return s.String()
}

func (s *QueryAllGroupsInDeptHeaders) SetCommonHeaders(v map[string]*string) *QueryAllGroupsInDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryAllGroupsInDeptHeaders) SetXAcsDingtalkAccessToken(v string) *QueryAllGroupsInDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryAllGroupsInDeptRequest struct {
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 200
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryAllGroupsInDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupsInDeptRequest) GoString() string {
	return s.String()
}

func (s *QueryAllGroupsInDeptRequest) SetPageNumber(v int32) *QueryAllGroupsInDeptRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryAllGroupsInDeptRequest) SetPageSize(v int32) *QueryAllGroupsInDeptRequest {
	s.PageSize = &v
	return s
}

type QueryAllGroupsInDeptResponseBody struct {
	Content     []*QueryAllGroupsInDeptResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	CurrentPage *int64                                     `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	TotalCount  *int64                                     `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	TotalPages  *int64                                     `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryAllGroupsInDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupsInDeptResponseBody) GoString() string {
	return s.String()
}

func (s *QueryAllGroupsInDeptResponseBody) SetContent(v []*QueryAllGroupsInDeptResponseBodyContent) *QueryAllGroupsInDeptResponseBody {
	s.Content = v
	return s
}

func (s *QueryAllGroupsInDeptResponseBody) SetCurrentPage(v int64) *QueryAllGroupsInDeptResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryAllGroupsInDeptResponseBody) SetTotalCount(v int64) *QueryAllGroupsInDeptResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryAllGroupsInDeptResponseBody) SetTotalPages(v int64) *QueryAllGroupsInDeptResponseBody {
	s.TotalPages = &v
	return s
}

type QueryAllGroupsInDeptResponseBodyContent struct {
	// example:
	//
	// 12
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 1
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 医疗组1
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (s QueryAllGroupsInDeptResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupsInDeptResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryAllGroupsInDeptResponseBodyContent) SetDeptId(v int64) *QueryAllGroupsInDeptResponseBodyContent {
	s.DeptId = &v
	return s
}

func (s *QueryAllGroupsInDeptResponseBodyContent) SetId(v int64) *QueryAllGroupsInDeptResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryAllGroupsInDeptResponseBodyContent) SetName(v string) *QueryAllGroupsInDeptResponseBodyContent {
	s.Name = &v
	return s
}

type QueryAllGroupsInDeptResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryAllGroupsInDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryAllGroupsInDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryAllGroupsInDeptResponse) GoString() string {
	return s.String()
}

func (s *QueryAllGroupsInDeptResponse) SetHeaders(v map[string]*string) *QueryAllGroupsInDeptResponse {
	s.Headers = v
	return s
}

func (s *QueryAllGroupsInDeptResponse) SetStatusCode(v int32) *QueryAllGroupsInDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryAllGroupsInDeptResponse) SetBody(v *QueryAllGroupsInDeptResponseBody) *QueryAllGroupsInDeptResponse {
	s.Body = v
	return s
}

type QueryAllMemberByDeptHeaders 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 (s QueryAllMemberByDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByDeptHeaders) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByDeptHeaders) SetCommonHeaders(v map[string]*string) *QueryAllMemberByDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryAllMemberByDeptHeaders) SetXAcsDingtalkAccessToken(v string) *QueryAllMemberByDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryAllMemberByDeptRequest struct {
	MonthMark *string `json:"monthMark,omitempty" xml:"monthMark,omitempty"`
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 200
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryAllMemberByDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByDeptRequest) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByDeptRequest) SetMonthMark(v string) *QueryAllMemberByDeptRequest {
	s.MonthMark = &v
	return s
}

func (s *QueryAllMemberByDeptRequest) SetPageNumber(v int32) *QueryAllMemberByDeptRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryAllMemberByDeptRequest) SetPageSize(v int32) *QueryAllMemberByDeptRequest {
	s.PageSize = &v
	return s
}

type QueryAllMemberByDeptResponseBody struct {
	Content []*QueryAllMemberByDeptResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	CurrentPage *int32 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 32
	TotalPages *int32 `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryAllMemberByDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByDeptResponseBody) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByDeptResponseBody) SetContent(v []*QueryAllMemberByDeptResponseBodyContent) *QueryAllMemberByDeptResponseBody {
	s.Content = v
	return s
}

func (s *QueryAllMemberByDeptResponseBody) SetCurrentPage(v int32) *QueryAllMemberByDeptResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryAllMemberByDeptResponseBody) SetTotalCount(v int64) *QueryAllMemberByDeptResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryAllMemberByDeptResponseBody) SetTotalPages(v int32) *QueryAllMemberByDeptResponseBody {
	s.TotalPages = &v
	return s
}

type QueryAllMemberByDeptResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 0001
	JobNum *string `json:"jobNum,omitempty" xml:"jobNum,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// u0398812938821
	Uid *string `json:"uid,omitempty" xml:"uid,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 用户名称
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s QueryAllMemberByDeptResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByDeptResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByDeptResponseBodyContent) SetJobNum(v string) *QueryAllMemberByDeptResponseBodyContent {
	s.JobNum = &v
	return s
}

func (s *QueryAllMemberByDeptResponseBodyContent) SetUid(v string) *QueryAllMemberByDeptResponseBodyContent {
	s.Uid = &v
	return s
}

func (s *QueryAllMemberByDeptResponseBodyContent) SetUserName(v string) *QueryAllMemberByDeptResponseBodyContent {
	s.UserName = &v
	return s
}

type QueryAllMemberByDeptResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryAllMemberByDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryAllMemberByDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByDeptResponse) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByDeptResponse) SetHeaders(v map[string]*string) *QueryAllMemberByDeptResponse {
	s.Headers = v
	return s
}

func (s *QueryAllMemberByDeptResponse) SetStatusCode(v int32) *QueryAllMemberByDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryAllMemberByDeptResponse) SetBody(v *QueryAllMemberByDeptResponseBody) *QueryAllMemberByDeptResponse {
	s.Body = v
	return s
}

type QueryAllMemberByGroupHeaders 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 (s QueryAllMemberByGroupHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByGroupHeaders) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByGroupHeaders) SetCommonHeaders(v map[string]*string) *QueryAllMemberByGroupHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryAllMemberByGroupHeaders) SetXAcsDingtalkAccessToken(v string) *QueryAllMemberByGroupHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryAllMemberByGroupRequest struct {
	MonthMark *string `json:"monthMark,omitempty" xml:"monthMark,omitempty"`
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 200
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryAllMemberByGroupRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByGroupRequest) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByGroupRequest) SetMonthMark(v string) *QueryAllMemberByGroupRequest {
	s.MonthMark = &v
	return s
}

func (s *QueryAllMemberByGroupRequest) SetPageNumber(v int32) *QueryAllMemberByGroupRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryAllMemberByGroupRequest) SetPageSize(v int32) *QueryAllMemberByGroupRequest {
	s.PageSize = &v
	return s
}

type QueryAllMemberByGroupResponseBody struct {
	Content []*QueryAllMemberByGroupResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	CurrentPage *int32 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 32
	TotalPages *int32 `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryAllMemberByGroupResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByGroupResponseBody) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByGroupResponseBody) SetContent(v []*QueryAllMemberByGroupResponseBodyContent) *QueryAllMemberByGroupResponseBody {
	s.Content = v
	return s
}

func (s *QueryAllMemberByGroupResponseBody) SetCurrentPage(v int32) *QueryAllMemberByGroupResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryAllMemberByGroupResponseBody) SetTotalCount(v int64) *QueryAllMemberByGroupResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryAllMemberByGroupResponseBody) SetTotalPages(v int32) *QueryAllMemberByGroupResponseBody {
	s.TotalPages = &v
	return s
}

type QueryAllMemberByGroupResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 0001
	JobNum *string `json:"jobNum,omitempty" xml:"jobNum,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// u0398812938821
	Uid *string `json:"uid,omitempty" xml:"uid,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 用户名称
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s QueryAllMemberByGroupResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByGroupResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByGroupResponseBodyContent) SetJobNum(v string) *QueryAllMemberByGroupResponseBodyContent {
	s.JobNum = &v
	return s
}

func (s *QueryAllMemberByGroupResponseBodyContent) SetUid(v string) *QueryAllMemberByGroupResponseBodyContent {
	s.Uid = &v
	return s
}

func (s *QueryAllMemberByGroupResponseBodyContent) SetUserName(v string) *QueryAllMemberByGroupResponseBodyContent {
	s.UserName = &v
	return s
}

type QueryAllMemberByGroupResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryAllMemberByGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryAllMemberByGroupResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryAllMemberByGroupResponse) GoString() string {
	return s.String()
}

func (s *QueryAllMemberByGroupResponse) SetHeaders(v map[string]*string) *QueryAllMemberByGroupResponse {
	s.Headers = v
	return s
}

func (s *QueryAllMemberByGroupResponse) SetStatusCode(v int32) *QueryAllMemberByGroupResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryAllMemberByGroupResponse) SetBody(v *QueryAllMemberByGroupResponseBody) *QueryAllMemberByGroupResponse {
	s.Body = v
	return s
}

type QueryBizOptLogHeaders 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 (s QueryBizOptLogHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryBizOptLogHeaders) GoString() string {
	return s.String()
}

func (s *QueryBizOptLogHeaders) SetCommonHeaders(v map[string]*string) *QueryBizOptLogHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryBizOptLogHeaders) SetXAcsDingtalkAccessToken(v string) *QueryBizOptLogHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryBizOptLogRequest struct {
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// example:
	//
	// 10000
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (s QueryBizOptLogRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryBizOptLogRequest) GoString() string {
	return s.String()
}

func (s *QueryBizOptLogRequest) SetMaxResults(v int32) *QueryBizOptLogRequest {
	s.MaxResults = &v
	return s
}

func (s *QueryBizOptLogRequest) SetNextToken(v int64) *QueryBizOptLogRequest {
	s.NextToken = &v
	return s
}

type QueryBizOptLogResponseBody struct {
	Content []*QueryBizOptLogResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (s QueryBizOptLogResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryBizOptLogResponseBody) GoString() string {
	return s.String()
}

func (s *QueryBizOptLogResponseBody) SetContent(v []*QueryBizOptLogResponseBodyContent) *QueryBizOptLogResponseBody {
	s.Content = v
	return s
}

func (s *QueryBizOptLogResponseBody) SetNextToken(v int64) *QueryBizOptLogResponseBody {
	s.NextToken = &v
	return s
}

type QueryBizOptLogResponseBodyContent struct {
	// example:
	//
	// 固定值 1-医疗组
	BizType *int32 `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// example:
	//
	// 1-钉钉数据，2-自建数据
	DataType *int32 `json:"dataType,omitempty" xml:"dataType,omitempty"`
	// example:
	//
	// 23821
	Id            *int64  `json:"id,omitempty" xml:"id,omitempty"`
	OptAfterData  *string `json:"optAfterData,omitempty" xml:"optAfterData,omitempty"`
	OptBeforeData *string `json:"optBeforeData,omitempty" xml:"optBeforeData,omitempty"`
	// example:
	//
	// 1-人员，2-部门
	OptBizType         *int32  `json:"optBizType,omitempty" xml:"optBizType,omitempty"`
	OptExtend          *string `json:"optExtend,omitempty" xml:"optExtend,omitempty"`
	OptJobNumber       *string `json:"optJobNumber,omitempty" xml:"optJobNumber,omitempty"`
	OptObjectCode      *string `json:"optObjectCode,omitempty" xml:"optObjectCode,omitempty"`
	OptObjectName      *string `json:"optObjectName,omitempty" xml:"optObjectName,omitempty"`
	OptObjectUserJobNo *string `json:"optObjectUserJobNo,omitempty" xml:"optObjectUserJobNo,omitempty"`
	// example:
	//
	// 1-成功，2-失败
	OptSuccess *int32 `json:"optSuccess,omitempty" xml:"optSuccess,omitempty"`
	// example:
	//
	// 1622191102012
	OptTime *int64 `json:"optTime,omitempty" xml:"optTime,omitempty"`
	// example:
	//
	// 0-删除，1-添加，2-修改，3-作废
	OptType     *int32  `json:"optType,omitempty" xml:"optType,omitempty"`
	OptUserCode *string `json:"optUserCode,omitempty" xml:"optUserCode,omitempty"`
	OptUserName *string `json:"optUserName,omitempty" xml:"optUserName,omitempty"`
	Remark      *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (s QueryBizOptLogResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryBizOptLogResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryBizOptLogResponseBodyContent) SetBizType(v int32) *QueryBizOptLogResponseBodyContent {
	s.BizType = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetDataType(v int32) *QueryBizOptLogResponseBodyContent {
	s.DataType = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetId(v int64) *QueryBizOptLogResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptAfterData(v string) *QueryBizOptLogResponseBodyContent {
	s.OptAfterData = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptBeforeData(v string) *QueryBizOptLogResponseBodyContent {
	s.OptBeforeData = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptBizType(v int32) *QueryBizOptLogResponseBodyContent {
	s.OptBizType = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptExtend(v string) *QueryBizOptLogResponseBodyContent {
	s.OptExtend = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptJobNumber(v string) *QueryBizOptLogResponseBodyContent {
	s.OptJobNumber = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptObjectCode(v string) *QueryBizOptLogResponseBodyContent {
	s.OptObjectCode = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptObjectName(v string) *QueryBizOptLogResponseBodyContent {
	s.OptObjectName = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptObjectUserJobNo(v string) *QueryBizOptLogResponseBodyContent {
	s.OptObjectUserJobNo = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptSuccess(v int32) *QueryBizOptLogResponseBodyContent {
	s.OptSuccess = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptTime(v int64) *QueryBizOptLogResponseBodyContent {
	s.OptTime = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptType(v int32) *QueryBizOptLogResponseBodyContent {
	s.OptType = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptUserCode(v string) *QueryBizOptLogResponseBodyContent {
	s.OptUserCode = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetOptUserName(v string) *QueryBizOptLogResponseBodyContent {
	s.OptUserName = &v
	return s
}

func (s *QueryBizOptLogResponseBodyContent) SetRemark(v string) *QueryBizOptLogResponseBodyContent {
	s.Remark = &v
	return s
}

type QueryBizOptLogResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryBizOptLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryBizOptLogResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryBizOptLogResponse) GoString() string {
	return s.String()
}

func (s *QueryBizOptLogResponse) SetHeaders(v map[string]*string) *QueryBizOptLogResponse {
	s.Headers = v
	return s
}

func (s *QueryBizOptLogResponse) SetStatusCode(v int32) *QueryBizOptLogResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryBizOptLogResponse) SetBody(v *QueryBizOptLogResponseBody) *QueryBizOptLogResponse {
	s.Body = v
	return s
}

type QueryChatAIOXMInfoHeaders 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 (s QueryChatAIOXMInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryChatAIOXMInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryChatAIOXMInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryChatAIOXMInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryChatAIOXMInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryChatAIOXMInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryChatAIOXMInfoRequest struct {
	// example:
	//
	// 专属AI 平台信息Code
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
}

func (s QueryChatAIOXMInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryChatAIOXMInfoRequest) GoString() string {
	return s.String()
}

func (s *QueryChatAIOXMInfoRequest) SetCode(v string) *QueryChatAIOXMInfoRequest {
	s.Code = &v
	return s
}

type QueryChatAIOXMInfoResponseBody struct {
	Result *string `json:"result,omitempty" xml:"result,omitempty"`
}

func (s QueryChatAIOXMInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryChatAIOXMInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryChatAIOXMInfoResponseBody) SetResult(v string) *QueryChatAIOXMInfoResponseBody {
	s.Result = &v
	return s
}

type QueryChatAIOXMInfoResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryChatAIOXMInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryChatAIOXMInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryChatAIOXMInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryChatAIOXMInfoResponse) SetHeaders(v map[string]*string) *QueryChatAIOXMInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryChatAIOXMInfoResponse) SetStatusCode(v int32) *QueryChatAIOXMInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryChatAIOXMInfoResponse) SetBody(v *QueryChatAIOXMInfoResponseBody) *QueryChatAIOXMInfoResponse {
	s.Body = v
	return s
}

type QueryDepartmentExtendInfoHeaders 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 (s QueryDepartmentExtendInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentExtendInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryDepartmentExtendInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryDepartmentExtendInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryDepartmentExtendInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryDepartmentExtendInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryDepartmentExtendInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1000
	DeptCode *int64 `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	PropCode *string `json:"propCode,omitempty" xml:"propCode,omitempty"`
}

func (s QueryDepartmentExtendInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentExtendInfoRequest) GoString() string {
	return s.String()
}

func (s *QueryDepartmentExtendInfoRequest) SetDeptCode(v int64) *QueryDepartmentExtendInfoRequest {
	s.DeptCode = &v
	return s
}

func (s *QueryDepartmentExtendInfoRequest) SetPropCode(v string) *QueryDepartmentExtendInfoRequest {
	s.PropCode = &v
	return s
}

type QueryDepartmentExtendInfoResponseBody struct {
	Content []*QueryDepartmentExtendInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryDepartmentExtendInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentExtendInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryDepartmentExtendInfoResponseBody) SetContent(v []*QueryDepartmentExtendInfoResponseBodyContent) *QueryDepartmentExtendInfoResponseBody {
	s.Content = v
	return s
}

type QueryDepartmentExtendInfoResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1231
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// a
	DeptExtendDisplayName *string `json:"deptExtendDisplayName,omitempty" xml:"deptExtendDisplayName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2
	DeptExtendKey *string `json:"deptExtendKey,omitempty" xml:"deptExtendKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	DeptExtendValue *string `json:"deptExtendValue,omitempty" xml:"deptExtendValue,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
}

func (s QueryDepartmentExtendInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentExtendInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetDeptCode(v string) *QueryDepartmentExtendInfoResponseBodyContent {
	s.DeptCode = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetDeptExtendDisplayName(v string) *QueryDepartmentExtendInfoResponseBodyContent {
	s.DeptExtendDisplayName = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetDeptExtendKey(v string) *QueryDepartmentExtendInfoResponseBodyContent {
	s.DeptExtendKey = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetDeptExtendValue(v string) *QueryDepartmentExtendInfoResponseBodyContent {
	s.DeptExtendValue = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetGmtCreateStr(v string) *QueryDepartmentExtendInfoResponseBodyContent {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetGmtModifiedStr(v string) *QueryDepartmentExtendInfoResponseBodyContent {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetId(v int64) *QueryDepartmentExtendInfoResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponseBodyContent) SetStatus(v int32) *QueryDepartmentExtendInfoResponseBodyContent {
	s.Status = &v
	return s
}

type QueryDepartmentExtendInfoResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryDepartmentExtendInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryDepartmentExtendInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentExtendInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryDepartmentExtendInfoResponse) SetHeaders(v map[string]*string) *QueryDepartmentExtendInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryDepartmentExtendInfoResponse) SetStatusCode(v int32) *QueryDepartmentExtendInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryDepartmentExtendInfoResponse) SetBody(v *QueryDepartmentExtendInfoResponseBody) *QueryDepartmentExtendInfoResponse {
	s.Body = v
	return s
}

type QueryDepartmentInfoHeaders 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 (s QueryDepartmentInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryDepartmentInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryDepartmentInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryDepartmentInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryDepartmentInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryDepartmentInfoResponseBody struct {
	Content *QueryDepartmentInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Struct"`
}

func (s QueryDepartmentInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryDepartmentInfoResponseBody) SetContent(v *QueryDepartmentInfoResponseBodyContent) *QueryDepartmentInfoResponseBody {
	s.Content = v
	return s
}

type QueryDepartmentInfoResponseBodyContent struct {
	// This parameter is required.
	Department  *QueryDepartmentInfoResponseBodyContentDepartment    `json:"department,omitempty" xml:"department,omitempty" type:"Struct"`
	ExtendInfos []*QueryDepartmentInfoResponseBodyContentExtendInfos `json:"extendInfos,omitempty" xml:"extendInfos,omitempty" type:"Repeated"`
}

func (s QueryDepartmentInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryDepartmentInfoResponseBodyContent) SetDepartment(v *QueryDepartmentInfoResponseBodyContentDepartment) *QueryDepartmentInfoResponseBodyContent {
	s.Department = v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContent) SetExtendInfos(v []*QueryDepartmentInfoResponseBodyContentExtendInfos) *QueryDepartmentInfoResponseBodyContent {
	s.ExtendInfos = v
	return s
}

type QueryDepartmentInfoResponseBodyContentDepartment struct {
	// example:
	//
	// 2341
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// example:
	//
	// 血液科
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// 2
	DeptOrder *int64 `json:"deptOrder,omitempty" xml:"deptOrder,omitempty"`
	// example:
	//
	// 0
	DeptStatus *int32 `json:"deptStatus,omitempty" xml:"deptStatus,omitempty"`
	// example:
	//
	// 3
	DeptType *int32 `json:"deptType,omitempty" xml:"deptType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// example:
	//
	// 12321
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 血液科
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 3421
	ParentDeptCode *string `json:"parentDeptCode,omitempty" xml:"parentDeptCode,omitempty"`
	// example:
	//
	// 科室
	Remark     *string  `json:"remark,omitempty" xml:"remark,omitempty"`
	WardIdList []*int64 `json:"wardIdList,omitempty" xml:"wardIdList,omitempty" type:"Repeated"`
}

func (s QueryDepartmentInfoResponseBodyContentDepartment) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentInfoResponseBodyContentDepartment) GoString() string {
	return s.String()
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetDeptCode(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.DeptCode = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetDeptName(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.DeptName = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetDeptOrder(v int64) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.DeptOrder = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetDeptStatus(v int32) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.DeptStatus = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetDeptType(v int32) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.DeptType = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetGmtCreateStr(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetGmtModifiedStr(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetId(v int64) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.Id = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetName(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.Name = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetParentDeptCode(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.ParentDeptCode = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetRemark(v string) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.Remark = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentDepartment) SetWardIdList(v []*int64) *QueryDepartmentInfoResponseBodyContentDepartment {
	s.WardIdList = v
	return s
}

type QueryDepartmentInfoResponseBodyContentExtendInfos struct {
	// This parameter is required.
	//
	// example:
	//
	// 1234
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// example:
	//
	// 科室主任
	DeptExtendDisplayName *string `json:"deptExtendDisplayName,omitempty" xml:"deptExtendDisplayName,omitempty"`
	// example:
	//
	// 1
	DeptExtendKey *string `json:"deptExtendKey,omitempty" xml:"deptExtendKey,omitempty"`
	// example:
	//
	// 1
	DeptExtendValue *string `json:"deptExtendValue,omitempty" xml:"deptExtendValue,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// example:
	//
	// 10000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
}

func (s QueryDepartmentInfoResponseBodyContentExtendInfos) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentInfoResponseBodyContentExtendInfos) GoString() string {
	return s.String()
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetDeptCode(v string) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.DeptCode = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetDeptExtendDisplayName(v string) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.DeptExtendDisplayName = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetDeptExtendKey(v string) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.DeptExtendKey = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetDeptExtendValue(v string) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.DeptExtendValue = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetGmtCreateStr(v string) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetGmtModifiedStr(v string) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetId(v int64) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.Id = &v
	return s
}

func (s *QueryDepartmentInfoResponseBodyContentExtendInfos) SetStatus(v int32) *QueryDepartmentInfoResponseBodyContentExtendInfos {
	s.Status = &v
	return s
}

type QueryDepartmentInfoResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryDepartmentInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryDepartmentInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryDepartmentInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryDepartmentInfoResponse) SetHeaders(v map[string]*string) *QueryDepartmentInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryDepartmentInfoResponse) SetStatusCode(v int32) *QueryDepartmentInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryDepartmentInfoResponse) SetBody(v *QueryDepartmentInfoResponseBody) *QueryDepartmentInfoResponse {
	s.Body = v
	return s
}

type QueryDoctorDetailsByJobNumberHeaders 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 (s QueryDoctorDetailsByJobNumberHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberHeaders) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberHeaders) SetCommonHeaders(v map[string]*string) *QueryDoctorDetailsByJobNumberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryDoctorDetailsByJobNumberHeaders) SetXAcsDingtalkAccessToken(v string) *QueryDoctorDetailsByJobNumberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryDoctorDetailsByJobNumberRequest struct {
	// example:
	//
	// 0
	MonthMark *string `json:"monthMark,omitempty" xml:"monthMark,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberRequest) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberRequest) SetMonthMark(v string) *QueryDoctorDetailsByJobNumberRequest {
	s.MonthMark = &v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBody struct {
	Content *QueryDoctorDetailsByJobNumberResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Struct"`
}

func (s QueryDoctorDetailsByJobNumberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBody) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBody) SetContent(v *QueryDoctorDetailsByJobNumberResponseBodyContent) *QueryDoctorDetailsByJobNumberResponseBody {
	s.Content = v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBodyContent struct {
	DeptList          []*QueryDoctorDetailsByJobNumberResponseBodyContentDeptList        `json:"deptList,omitempty" xml:"deptList,omitempty" type:"Repeated"`
	GroupList         []*QueryDoctorDetailsByJobNumberResponseBodyContentGroupList       `json:"groupList,omitempty" xml:"groupList,omitempty" type:"Repeated"`
	JobNumber         *string                                                            `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	JobStatus         []*QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus       `json:"jobStatus,omitempty" xml:"jobStatus,omitempty" type:"Repeated"`
	ProfessionalTitle *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle `json:"professionalTitle,omitempty" xml:"professionalTitle,omitempty" type:"Struct"`
	UserId            *string                                                            `json:"userId,omitempty" xml:"userId,omitempty"`
	UserName          *string                                                            `json:"userName,omitempty" xml:"userName,omitempty"`
	UserProbList      []*QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList    `json:"userProbList,omitempty" xml:"userProbList,omitempty" type:"Repeated"`
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetDeptList(v []*QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.DeptList = v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetGroupList(v []*QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.GroupList = v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetJobNumber(v string) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.JobNumber = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetJobStatus(v []*QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.JobStatus = v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetProfessionalTitle(v *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.ProfessionalTitle = v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetUserId(v string) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.UserId = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetUserName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.UserName = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContent) SetUserProbList(v []*QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList) *QueryDoctorDetailsByJobNumberResponseBodyContent {
	s.UserProbList = v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBodyContentDeptList struct {
	CategoryName *string `json:"categoryName,omitempty" xml:"categoryName,omitempty"`
	DeptId       *int64  `json:"deptId,omitempty" xml:"deptId,omitempty"`
	DeptName     *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	GmtCreate    *string `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	GmtModified  *string `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	RelationId   *int64  `json:"relationId,omitempty" xml:"relationId,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) SetCategoryName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList {
	s.CategoryName = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) SetDeptId(v int64) *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList {
	s.DeptId = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) SetDeptName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList {
	s.DeptName = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) SetGmtCreate(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList {
	s.GmtCreate = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) SetGmtModified(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList {
	s.GmtModified = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList) SetRelationId(v int64) *QueryDoctorDetailsByJobNumberResponseBodyContentDeptList {
	s.RelationId = &v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBodyContentGroupList struct {
	DeptId        *int64  `json:"deptId,omitempty" xml:"deptId,omitempty"`
	DeptName      *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	GroupId       *int64  `json:"groupId,omitempty" xml:"groupId,omitempty"`
	GroupName     *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	IsAssessGroup *string `json:"isAssessGroup,omitempty" xml:"isAssessGroup,omitempty"`
	IsLeader      *bool   `json:"isLeader,omitempty" xml:"isLeader,omitempty"`
	RelationId    *int64  `json:"relationId,omitempty" xml:"relationId,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetDeptId(v int64) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.DeptId = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetDeptName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.DeptName = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetGroupId(v int64) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.GroupId = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetGroupName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.GroupName = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetIsAssessGroup(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.IsAssessGroup = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetIsLeader(v bool) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.IsLeader = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList) SetRelationId(v int64) *QueryDoctorDetailsByJobNumberResponseBodyContentGroupList {
	s.RelationId = &v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus struct {
	Code       *string `json:"code,omitempty" xml:"code,omitempty"`
	StatusName *string `json:"statusName,omitempty" xml:"statusName,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus) SetCode(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus {
	s.Code = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus) SetStatusName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus {
	s.StatusName = &v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle struct {
	Code                      *string `json:"code,omitempty" xml:"code,omitempty"`
	ProfessionalTitleCategory *string `json:"professionalTitleCategory,omitempty" xml:"professionalTitleCategory,omitempty"`
	ProfessionalTitleDetail   *string `json:"professionalTitleDetail,omitempty" xml:"professionalTitleDetail,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle) SetCode(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle {
	s.Code = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle) SetProfessionalTitleCategory(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle {
	s.ProfessionalTitleCategory = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle) SetProfessionalTitleDetail(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle {
	s.ProfessionalTitleDetail = &v
	return s
}

type QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList struct {
	Code             *string `json:"code,omitempty" xml:"code,omitempty"`
	UserPropertyName *string `json:"userPropertyName,omitempty" xml:"userPropertyName,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList) SetCode(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList {
	s.Code = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList) SetUserPropertyName(v string) *QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList {
	s.UserPropertyName = &v
	return s
}

type QueryDoctorDetailsByJobNumberResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryDoctorDetailsByJobNumberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryDoctorDetailsByJobNumberResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryDoctorDetailsByJobNumberResponse) GoString() string {
	return s.String()
}

func (s *QueryDoctorDetailsByJobNumberResponse) SetHeaders(v map[string]*string) *QueryDoctorDetailsByJobNumberResponse {
	s.Headers = v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponse) SetStatusCode(v int32) *QueryDoctorDetailsByJobNumberResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryDoctorDetailsByJobNumberResponse) SetBody(v *QueryDoctorDetailsByJobNumberResponseBody) *QueryDoctorDetailsByJobNumberResponse {
	s.Body = v
	return s
}

type QueryGroupInfoHeaders 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 (s QueryGroupInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryGroupInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryGroupInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryGroupInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryGroupInfoResponseBody struct {
	Content *QueryGroupInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Struct"`
}

func (s QueryGroupInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoResponseBody) SetContent(v *QueryGroupInfoResponseBodyContent) *QueryGroupInfoResponseBody {
	s.Content = v
	return s
}

type QueryGroupInfoResponseBodyContent struct {
	ExtendInfos []*QueryGroupInfoResponseBodyContentExtendInfos `json:"extendInfos,omitempty" xml:"extendInfos,omitempty" type:"Repeated"`
	Group       *QueryGroupInfoResponseBodyContentGroup         `json:"group,omitempty" xml:"group,omitempty" type:"Struct"`
}

func (s QueryGroupInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoResponseBodyContent) SetExtendInfos(v []*QueryGroupInfoResponseBodyContentExtendInfos) *QueryGroupInfoResponseBodyContent {
	s.ExtendInfos = v
	return s
}

func (s *QueryGroupInfoResponseBodyContent) SetGroup(v *QueryGroupInfoResponseBodyContentGroup) *QueryGroupInfoResponseBodyContent {
	s.Group = v
	return s
}

type QueryGroupInfoResponseBodyContentExtendInfos struct {
	// This parameter is required.
	//
	// example:
	//
	// 28765
	DeptCode *string `json:"deptCode,omitempty" xml:"deptCode,omitempty"`
	// example:
	//
	// 科室、医生都不一样
	DeptExtendDisplayName *string `json:"deptExtendDisplayName,omitempty" xml:"deptExtendDisplayName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医生都不一样
	DeptExtendKey *string `json:"deptExtendKey,omitempty" xml:"deptExtendKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室、医生都不一样
	DeptExtendValue *string `json:"deptExtendValue,omitempty" xml:"deptExtendValue,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10000
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
}

func (s QueryGroupInfoResponseBodyContentExtendInfos) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoResponseBodyContentExtendInfos) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetDeptCode(v string) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.DeptCode = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetDeptExtendDisplayName(v string) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.DeptExtendDisplayName = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetDeptExtendKey(v string) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.DeptExtendKey = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetDeptExtendValue(v string) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.DeptExtendValue = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetGmtCreateStr(v string) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetGmtModifiedStr(v string) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetId(v int64) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.Id = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentExtendInfos) SetStatus(v int32) *QueryGroupInfoResponseBodyContentExtendInfos {
	s.Status = &v
	return s
}

type QueryGroupInfoResponseBodyContentGroup struct {
	// example:
	//
	// 321222
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 1
	DeptStatus *int32 `json:"deptStatus,omitempty" xml:"deptStatus,omitempty"`
	// example:
	//
	// 2021-08-24 20:30:31
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// example:
	//
	// 2021-08-24 20:30:31
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// example:
	//
	// 3212
	Id     *int64                                        `json:"id,omitempty" xml:"id,omitempty"`
	Leader *QueryGroupInfoResponseBodyContentGroupLeader `json:"leader,omitempty" xml:"leader,omitempty" type:"Struct"`
	// example:
	//
	// 张三组
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1
	ParentDeptCode *string `json:"parentDeptCode,omitempty" xml:"parentDeptCode,omitempty"`
	// example:
	//
	// 备注
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (s QueryGroupInfoResponseBodyContentGroup) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoResponseBodyContentGroup) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetDeptId(v int64) *QueryGroupInfoResponseBodyContentGroup {
	s.DeptId = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetDeptStatus(v int32) *QueryGroupInfoResponseBodyContentGroup {
	s.DeptStatus = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetGmtCreateStr(v string) *QueryGroupInfoResponseBodyContentGroup {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetGmtModifiedStr(v string) *QueryGroupInfoResponseBodyContentGroup {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetId(v int64) *QueryGroupInfoResponseBodyContentGroup {
	s.Id = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetLeader(v *QueryGroupInfoResponseBodyContentGroupLeader) *QueryGroupInfoResponseBodyContentGroup {
	s.Leader = v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetName(v string) *QueryGroupInfoResponseBodyContentGroup {
	s.Name = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetParentDeptCode(v string) *QueryGroupInfoResponseBodyContentGroup {
	s.ParentDeptCode = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroup) SetRemark(v string) *QueryGroupInfoResponseBodyContentGroup {
	s.Remark = &v
	return s
}

type QueryGroupInfoResponseBodyContentGroupLeader struct {
	// example:
	//
	// 3212
	JobNumber *string `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	// example:
	//
	// 张三
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1234
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s QueryGroupInfoResponseBodyContentGroupLeader) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoResponseBodyContentGroupLeader) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoResponseBodyContentGroupLeader) SetJobNumber(v string) *QueryGroupInfoResponseBodyContentGroupLeader {
	s.JobNumber = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroupLeader) SetName(v string) *QueryGroupInfoResponseBodyContentGroupLeader {
	s.Name = &v
	return s
}

func (s *QueryGroupInfoResponseBodyContentGroupLeader) SetUserId(v string) *QueryGroupInfoResponseBodyContentGroupLeader {
	s.UserId = &v
	return s
}

type QueryGroupInfoResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryGroupInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryGroupInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryGroupInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryGroupInfoResponse) SetHeaders(v map[string]*string) *QueryGroupInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryGroupInfoResponse) SetStatusCode(v int32) *QueryGroupInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryGroupInfoResponse) SetBody(v *QueryGroupInfoResponseBody) *QueryGroupInfoResponse {
	s.Body = v
	return s
}

type QueryHospitalDistrictInfoHeaders 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 (s QueryHospitalDistrictInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalDistrictInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryHospitalDistrictInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryHospitalDistrictInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryHospitalDistrictInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryHospitalDistrictInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryHospitalDistrictInfoRequest struct {
	// example:
	//
	// 1
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// example:
	//
	// 100
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryHospitalDistrictInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalDistrictInfoRequest) GoString() string {
	return s.String()
}

func (s *QueryHospitalDistrictInfoRequest) SetPageNumber(v int32) *QueryHospitalDistrictInfoRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryHospitalDistrictInfoRequest) SetPageSize(v int32) *QueryHospitalDistrictInfoRequest {
	s.PageSize = &v
	return s
}

type QueryHospitalDistrictInfoResponseBody struct {
	Content []*QueryHospitalDistrictInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 2
	CurrentPage *int64 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10
	TotalPages *int32 `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryHospitalDistrictInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalDistrictInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryHospitalDistrictInfoResponseBody) SetContent(v []*QueryHospitalDistrictInfoResponseBodyContent) *QueryHospitalDistrictInfoResponseBody {
	s.Content = v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBody) SetCurrentPage(v int64) *QueryHospitalDistrictInfoResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBody) SetTotalCount(v int64) *QueryHospitalDistrictInfoResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBody) SetTotalPages(v int32) *QueryHospitalDistrictInfoResponseBody {
	s.TotalPages = &v
	return s
}

type QueryHospitalDistrictInfoResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 一楼
	Address *string `json:"address,omitempty" xml:"address,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Deleted *int32 `json:"deleted,omitempty" xml:"deleted,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 一病区
	DistrictName *string `json:"districtName,omitempty" xml:"districtName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	DistrictType *int32 `json:"districtType,omitempty" xml:"districtType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-12-22 15:30:31
	GmtCreate *string `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-12-22 15:30:31
	GmtModified *string `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123
	ParentDistrictId *int64 `json:"parentDistrictId,omitempty" xml:"parentDistrictId,omitempty"`
}

func (s QueryHospitalDistrictInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalDistrictInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetAddress(v string) *QueryHospitalDistrictInfoResponseBodyContent {
	s.Address = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetDeleted(v int32) *QueryHospitalDistrictInfoResponseBodyContent {
	s.Deleted = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetDistrictName(v string) *QueryHospitalDistrictInfoResponseBodyContent {
	s.DistrictName = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetDistrictType(v int32) *QueryHospitalDistrictInfoResponseBodyContent {
	s.DistrictType = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetGmtCreate(v string) *QueryHospitalDistrictInfoResponseBodyContent {
	s.GmtCreate = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetGmtModified(v string) *QueryHospitalDistrictInfoResponseBodyContent {
	s.GmtModified = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetId(v int64) *QueryHospitalDistrictInfoResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponseBodyContent) SetParentDistrictId(v int64) *QueryHospitalDistrictInfoResponseBodyContent {
	s.ParentDistrictId = &v
	return s
}

type QueryHospitalDistrictInfoResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryHospitalDistrictInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryHospitalDistrictInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalDistrictInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryHospitalDistrictInfoResponse) SetHeaders(v map[string]*string) *QueryHospitalDistrictInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryHospitalDistrictInfoResponse) SetStatusCode(v int32) *QueryHospitalDistrictInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryHospitalDistrictInfoResponse) SetBody(v *QueryHospitalDistrictInfoResponseBody) *QueryHospitalDistrictInfoResponse {
	s.Body = v
	return s
}

type QueryHospitalRoleUserInfoHeaders 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 (s QueryHospitalRoleUserInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRoleUserInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryHospitalRoleUserInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryHospitalRoleUserInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryHospitalRoleUserInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryHospitalRoleUserInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryHospitalRoleUserInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (s QueryHospitalRoleUserInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRoleUserInfoRequest) GoString() string {
	return s.String()
}

func (s *QueryHospitalRoleUserInfoRequest) SetPageNumber(v int64) *QueryHospitalRoleUserInfoRequest {
	s.PageNumber = &v
	return s
}

func (s *QueryHospitalRoleUserInfoRequest) SetPageSize(v int64) *QueryHospitalRoleUserInfoRequest {
	s.PageSize = &v
	return s
}

type QueryHospitalRoleUserInfoResponseBody struct {
	Content []*QueryHospitalRoleUserInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	CurrentPage *int32 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10
	TotalPages *int32 `json:"totalPages,omitempty" xml:"totalPages,omitempty"`
}

func (s QueryHospitalRoleUserInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRoleUserInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryHospitalRoleUserInfoResponseBody) SetContent(v []*QueryHospitalRoleUserInfoResponseBodyContent) *QueryHospitalRoleUserInfoResponseBody {
	s.Content = v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBody) SetCurrentPage(v int32) *QueryHospitalRoleUserInfoResponseBody {
	s.CurrentPage = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBody) SetTotalCount(v int64) *QueryHospitalRoleUserInfoResponseBody {
	s.TotalCount = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBody) SetTotalPages(v int32) *QueryHospitalRoleUserInfoResponseBody {
	s.TotalPages = &v
	return s
}

type QueryHospitalRoleUserInfoResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 2021-12-22 15:30:31
	GmtCreate *string `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-12-22 15:30:31
	GmtModified *string `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2783939
	JobNumber *string `json:"jobNumber,omitempty" xml:"jobNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// sys_admin
	RoleCode *string `json:"roleCode,omitempty" xml:"roleCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 管理员
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
	Status   *int32  `json:"status,omitempty" xml:"status,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 7424792
	UserCode *string `json:"userCode,omitempty" xml:"userCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 张三
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s QueryHospitalRoleUserInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRoleUserInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetGmtCreate(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.GmtCreate = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetGmtModified(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.GmtModified = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetJobNumber(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.JobNumber = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetRoleCode(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.RoleCode = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetRoleName(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.RoleName = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetStatus(v int32) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.Status = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetUserCode(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.UserCode = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponseBodyContent) SetUserName(v string) *QueryHospitalRoleUserInfoResponseBodyContent {
	s.UserName = &v
	return s
}

type QueryHospitalRoleUserInfoResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryHospitalRoleUserInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryHospitalRoleUserInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRoleUserInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryHospitalRoleUserInfoResponse) SetHeaders(v map[string]*string) *QueryHospitalRoleUserInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryHospitalRoleUserInfoResponse) SetStatusCode(v int32) *QueryHospitalRoleUserInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryHospitalRoleUserInfoResponse) SetBody(v *QueryHospitalRoleUserInfoResponseBody) *QueryHospitalRoleUserInfoResponse {
	s.Body = v
	return s
}

type QueryHospitalRolesHeaders 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 (s QueryHospitalRolesHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRolesHeaders) GoString() string {
	return s.String()
}

func (s *QueryHospitalRolesHeaders) SetCommonHeaders(v map[string]*string) *QueryHospitalRolesHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryHospitalRolesHeaders) SetXAcsDingtalkAccessToken(v string) *QueryHospitalRolesHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryHospitalRolesResponseBody struct {
	Content []*QueryHospitalRolesResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryHospitalRolesResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRolesResponseBody) GoString() string {
	return s.String()
}

func (s *QueryHospitalRolesResponseBody) SetContent(v []*QueryHospitalRolesResponseBodyContent) *QueryHospitalRolesResponseBody {
	s.Content = v
	return s
}

type QueryHospitalRolesResponseBodyContent struct {
	// This parameter is required.
	GmtCreate *string `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	IsDeleted *int64 `json:"isDeleted,omitempty" xml:"isDeleted,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	ReadOnly *int64 `json:"readOnly,omitempty" xml:"readOnly,omitempty"`
	// This parameter is required.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// sys_admin
	RoleCode *string `json:"roleCode,omitempty" xml:"roleCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 系统管理员
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Sort *int64 `json:"sort,omitempty" xml:"sort,omitempty"`
}

func (s QueryHospitalRolesResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRolesResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryHospitalRolesResponseBodyContent) SetGmtCreate(v string) *QueryHospitalRolesResponseBodyContent {
	s.GmtCreate = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetId(v int64) *QueryHospitalRolesResponseBodyContent {
	s.Id = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetIsDeleted(v int64) *QueryHospitalRolesResponseBodyContent {
	s.IsDeleted = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetReadOnly(v int64) *QueryHospitalRolesResponseBodyContent {
	s.ReadOnly = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetRemark(v string) *QueryHospitalRolesResponseBodyContent {
	s.Remark = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetRoleCode(v string) *QueryHospitalRolesResponseBodyContent {
	s.RoleCode = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetRoleName(v string) *QueryHospitalRolesResponseBodyContent {
	s.RoleName = &v
	return s
}

func (s *QueryHospitalRolesResponseBodyContent) SetSort(v int64) *QueryHospitalRolesResponseBodyContent {
	s.Sort = &v
	return s
}

type QueryHospitalRolesResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryHospitalRolesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryHospitalRolesResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryHospitalRolesResponse) GoString() string {
	return s.String()
}

func (s *QueryHospitalRolesResponse) SetHeaders(v map[string]*string) *QueryHospitalRolesResponse {
	s.Headers = v
	return s
}

func (s *QueryHospitalRolesResponse) SetStatusCode(v int32) *QueryHospitalRolesResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryHospitalRolesResponse) SetBody(v *QueryHospitalRolesResponseBody) *QueryHospitalRolesResponse {
	s.Body = v
	return s
}

type QueryJobCodeDictionaryHeaders 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 (s QueryJobCodeDictionaryHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryJobCodeDictionaryHeaders) GoString() string {
	return s.String()
}

func (s *QueryJobCodeDictionaryHeaders) SetCommonHeaders(v map[string]*string) *QueryJobCodeDictionaryHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryJobCodeDictionaryHeaders) SetXAcsDingtalkAccessToken(v string) *QueryJobCodeDictionaryHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryJobCodeDictionaryResponseBody struct {
	// This parameter is required.
	Content []*QueryJobCodeDictionaryResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryJobCodeDictionaryResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryJobCodeDictionaryResponseBody) GoString() string {
	return s.String()
}

func (s *QueryJobCodeDictionaryResponseBody) SetContent(v []*QueryJobCodeDictionaryResponseBodyContent) *QueryJobCodeDictionaryResponseBody {
	s.Content = v
	return s
}

type QueryJobCodeDictionaryResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 主任医师
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 医师
	DoctorType *string `json:"doctorType,omitempty" xml:"doctorType,omitempty"`
}

func (s QueryJobCodeDictionaryResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryJobCodeDictionaryResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryJobCodeDictionaryResponseBodyContent) SetCategory(v string) *QueryJobCodeDictionaryResponseBodyContent {
	s.Category = &v
	return s
}

func (s *QueryJobCodeDictionaryResponseBodyContent) SetCode(v string) *QueryJobCodeDictionaryResponseBodyContent {
	s.Code = &v
	return s
}

func (s *QueryJobCodeDictionaryResponseBodyContent) SetDisplayName(v string) *QueryJobCodeDictionaryResponseBodyContent {
	s.DisplayName = &v
	return s
}

func (s *QueryJobCodeDictionaryResponseBodyContent) SetDoctorType(v string) *QueryJobCodeDictionaryResponseBodyContent {
	s.DoctorType = &v
	return s
}

type QueryJobCodeDictionaryResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryJobCodeDictionaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryJobCodeDictionaryResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryJobCodeDictionaryResponse) GoString() string {
	return s.String()
}

func (s *QueryJobCodeDictionaryResponse) SetHeaders(v map[string]*string) *QueryJobCodeDictionaryResponse {
	s.Headers = v
	return s
}

func (s *QueryJobCodeDictionaryResponse) SetStatusCode(v int32) *QueryJobCodeDictionaryResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryJobCodeDictionaryResponse) SetBody(v *QueryJobCodeDictionaryResponseBody) *QueryJobCodeDictionaryResponse {
	s.Body = v
	return s
}

type QueryJobStatusCodeDictionaryHeaders 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 (s QueryJobStatusCodeDictionaryHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryJobStatusCodeDictionaryHeaders) GoString() string {
	return s.String()
}

func (s *QueryJobStatusCodeDictionaryHeaders) SetCommonHeaders(v map[string]*string) *QueryJobStatusCodeDictionaryHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryJobStatusCodeDictionaryHeaders) SetXAcsDingtalkAccessToken(v string) *QueryJobStatusCodeDictionaryHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryJobStatusCodeDictionaryResponseBody struct {
	// This parameter is required.
	Content []*QueryJobStatusCodeDictionaryResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryJobStatusCodeDictionaryResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryJobStatusCodeDictionaryResponseBody) GoString() string {
	return s.String()
}

func (s *QueryJobStatusCodeDictionaryResponseBody) SetContent(v []*QueryJobStatusCodeDictionaryResponseBodyContent) *QueryJobStatusCodeDictionaryResponseBody {
	s.Content = v
	return s
}

type QueryJobStatusCodeDictionaryResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 主任医师
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (s QueryJobStatusCodeDictionaryResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryJobStatusCodeDictionaryResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryJobStatusCodeDictionaryResponseBodyContent) SetCategory(v string) *QueryJobStatusCodeDictionaryResponseBodyContent {
	s.Category = &v
	return s
}

func (s *QueryJobStatusCodeDictionaryResponseBodyContent) SetCode(v string) *QueryJobStatusCodeDictionaryResponseBodyContent {
	s.Code = &v
	return s
}

func (s *QueryJobStatusCodeDictionaryResponseBodyContent) SetDisplayName(v string) *QueryJobStatusCodeDictionaryResponseBodyContent {
	s.DisplayName = &v
	return s
}

type QueryJobStatusCodeDictionaryResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryJobStatusCodeDictionaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryJobStatusCodeDictionaryResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryJobStatusCodeDictionaryResponse) GoString() string {
	return s.String()
}

func (s *QueryJobStatusCodeDictionaryResponse) SetHeaders(v map[string]*string) *QueryJobStatusCodeDictionaryResponse {
	s.Headers = v
	return s
}

func (s *QueryJobStatusCodeDictionaryResponse) SetStatusCode(v int32) *QueryJobStatusCodeDictionaryResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryJobStatusCodeDictionaryResponse) SetBody(v *QueryJobStatusCodeDictionaryResponseBody) *QueryJobStatusCodeDictionaryResponse {
	s.Body = v
	return s
}

type QueryMedicalEventsHeaders 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 (s QueryMedicalEventsHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryMedicalEventsHeaders) GoString() string {
	return s.String()
}

func (s *QueryMedicalEventsHeaders) SetCommonHeaders(v map[string]*string) *QueryMedicalEventsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryMedicalEventsHeaders) SetXAcsDingtalkAccessToken(v string) *QueryMedicalEventsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryMedicalEventsResponseBody struct {
	Content []*QueryMedicalEventsResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s QueryMedicalEventsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryMedicalEventsResponseBody) GoString() string {
	return s.String()
}

func (s *QueryMedicalEventsResponseBody) SetContent(v []*QueryMedicalEventsResponseBodyContent) *QueryMedicalEventsResponseBody {
	s.Content = v
	return s
}

func (s *QueryMedicalEventsResponseBody) SetSuccess(v bool) *QueryMedicalEventsResponseBody {
	s.Success = &v
	return s
}

func (s *QueryMedicalEventsResponseBody) SetTotalCount(v int64) *QueryMedicalEventsResponseBody {
	s.TotalCount = &v
	return s
}

type QueryMedicalEventsResponseBodyContent struct {
	// This parameter is required.
	Code    *string `json:"code,omitempty" xml:"code,omitempty"`
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// This parameter is required.
	EventId *int64 `json:"eventId,omitempty" xml:"eventId,omitempty"`
}

func (s QueryMedicalEventsResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryMedicalEventsResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryMedicalEventsResponseBodyContent) SetCode(v string) *QueryMedicalEventsResponseBodyContent {
	s.Code = &v
	return s
}

func (s *QueryMedicalEventsResponseBodyContent) SetContent(v string) *QueryMedicalEventsResponseBodyContent {
	s.Content = &v
	return s
}

func (s *QueryMedicalEventsResponseBodyContent) SetEventId(v int64) *QueryMedicalEventsResponseBodyContent {
	s.EventId = &v
	return s
}

type QueryMedicalEventsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryMedicalEventsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryMedicalEventsResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryMedicalEventsResponse) GoString() string {
	return s.String()
}

func (s *QueryMedicalEventsResponse) SetHeaders(v map[string]*string) *QueryMedicalEventsResponse {
	s.Headers = v
	return s
}

func (s *QueryMedicalEventsResponse) SetStatusCode(v int32) *QueryMedicalEventsResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryMedicalEventsResponse) SetBody(v *QueryMedicalEventsResponseBody) *QueryMedicalEventsResponse {
	s.Body = v
	return s
}

type QueryUserCredentialsHeaders 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 (s QueryUserCredentialsHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryUserCredentialsHeaders) GoString() string {
	return s.String()
}

func (s *QueryUserCredentialsHeaders) SetCommonHeaders(v map[string]*string) *QueryUserCredentialsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryUserCredentialsHeaders) SetXAcsDingtalkAccessToken(v string) *QueryUserCredentialsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryUserCredentialsRequest struct {
	// This parameter is required.
	UserIds []*string `json:"userIds,omitempty" xml:"userIds,omitempty" type:"Repeated"`
}

func (s QueryUserCredentialsRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryUserCredentialsRequest) GoString() string {
	return s.String()
}

func (s *QueryUserCredentialsRequest) SetUserIds(v []*string) *QueryUserCredentialsRequest {
	s.UserIds = v
	return s
}

type QueryUserCredentialsResponseBody struct {
	Content []*QueryUserCredentialsResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryUserCredentialsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryUserCredentialsResponseBody) GoString() string {
	return s.String()
}

func (s *QueryUserCredentialsResponseBody) SetContent(v []*QueryUserCredentialsResponseBodyContent) *QueryUserCredentialsResponseBody {
	s.Content = v
	return s
}

type QueryUserCredentialsResponseBodyContent struct {
	// This parameter is required.
	CredentialList []*QueryUserCredentialsResponseBodyContentCredentialList `json:"credentialList,omitempty" xml:"credentialList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 1234
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s QueryUserCredentialsResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryUserCredentialsResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryUserCredentialsResponseBodyContent) SetCredentialList(v []*QueryUserCredentialsResponseBodyContentCredentialList) *QueryUserCredentialsResponseBodyContent {
	s.CredentialList = v
	return s
}

func (s *QueryUserCredentialsResponseBodyContent) SetUserId(v string) *QueryUserCredentialsResponseBodyContent {
	s.UserId = &v
	return s
}

type QueryUserCredentialsResponseBodyContentCredentialList struct {
	// This parameter is required.
	//
	// example:
	//
	// 医生资格证书
	CredentialName *string `json:"credentialName,omitempty" xml:"credentialName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	CredentialType *int32 `json:"credentialType,omitempty" xml:"credentialType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2022-08-01
	TermOfValidity *string `json:"termOfValidity,omitempty" xml:"termOfValidity,omitempty"`
}

func (s QueryUserCredentialsResponseBodyContentCredentialList) String() string {
	return tea.Prettify(s)
}

func (s QueryUserCredentialsResponseBodyContentCredentialList) GoString() string {
	return s.String()
}

func (s *QueryUserCredentialsResponseBodyContentCredentialList) SetCredentialName(v string) *QueryUserCredentialsResponseBodyContentCredentialList {
	s.CredentialName = &v
	return s
}

func (s *QueryUserCredentialsResponseBodyContentCredentialList) SetCredentialType(v int32) *QueryUserCredentialsResponseBodyContentCredentialList {
	s.CredentialType = &v
	return s
}

func (s *QueryUserCredentialsResponseBodyContentCredentialList) SetTermOfValidity(v string) *QueryUserCredentialsResponseBodyContentCredentialList {
	s.TermOfValidity = &v
	return s
}

type QueryUserCredentialsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryUserCredentialsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryUserCredentialsResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryUserCredentialsResponse) GoString() string {
	return s.String()
}

func (s *QueryUserCredentialsResponse) SetHeaders(v map[string]*string) *QueryUserCredentialsResponse {
	s.Headers = v
	return s
}

func (s *QueryUserCredentialsResponse) SetStatusCode(v int32) *QueryUserCredentialsResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryUserCredentialsResponse) SetBody(v *QueryUserCredentialsResponseBody) *QueryUserCredentialsResponse {
	s.Body = v
	return s
}

type QueryUserExtInfoHeaders 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 (s QueryUserExtInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryUserExtInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryUserExtInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryUserExtInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryUserExtInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryUserExtInfoResponseBody struct {
	Content []*QueryUserExtInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryUserExtInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryUserExtInfoResponseBody) SetContent(v []*QueryUserExtInfoResponseBodyContent) *QueryUserExtInfoResponseBody {
	s.Content = v
	return s
}

type QueryUserExtInfoResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 2021-12-22 15:30:31
	GmtCreate *string `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-12-22 15:30:31
	GmtModified *string `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 0
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10320266246
	UserCode *string `json:"userCode,omitempty" xml:"userCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 扩展属性描述
	UserExtendDisplayName *string `json:"userExtendDisplayName,omitempty" xml:"userExtendDisplayName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 扩展属性Key
	UserExtendKey *string `json:"userExtendKey,omitempty" xml:"userExtendKey,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 扩展属性值
	UserExtendValue *string `json:"userExtendValue,omitempty" xml:"userExtendValue,omitempty"`
}

func (s QueryUserExtInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryUserExtInfoResponseBodyContent) SetGmtCreate(v string) *QueryUserExtInfoResponseBodyContent {
	s.GmtCreate = &v
	return s
}

func (s *QueryUserExtInfoResponseBodyContent) SetGmtModified(v string) *QueryUserExtInfoResponseBodyContent {
	s.GmtModified = &v
	return s
}

func (s *QueryUserExtInfoResponseBodyContent) SetStatus(v int32) *QueryUserExtInfoResponseBodyContent {
	s.Status = &v
	return s
}

func (s *QueryUserExtInfoResponseBodyContent) SetUserCode(v string) *QueryUserExtInfoResponseBodyContent {
	s.UserCode = &v
	return s
}

func (s *QueryUserExtInfoResponseBodyContent) SetUserExtendDisplayName(v string) *QueryUserExtInfoResponseBodyContent {
	s.UserExtendDisplayName = &v
	return s
}

func (s *QueryUserExtInfoResponseBodyContent) SetUserExtendKey(v string) *QueryUserExtInfoResponseBodyContent {
	s.UserExtendKey = &v
	return s
}

func (s *QueryUserExtInfoResponseBodyContent) SetUserExtendValue(v string) *QueryUserExtInfoResponseBodyContent {
	s.UserExtendValue = &v
	return s
}

type QueryUserExtInfoResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryUserExtInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryUserExtInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryUserExtInfoResponse) SetHeaders(v map[string]*string) *QueryUserExtInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryUserExtInfoResponse) SetStatusCode(v int32) *QueryUserExtInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryUserExtInfoResponse) SetBody(v *QueryUserExtInfoResponseBody) *QueryUserExtInfoResponse {
	s.Body = v
	return s
}

type QueryUserExtendValuesHeaders 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 (s QueryUserExtendValuesHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtendValuesHeaders) GoString() string {
	return s.String()
}

func (s *QueryUserExtendValuesHeaders) SetCommonHeaders(v map[string]*string) *QueryUserExtendValuesHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryUserExtendValuesHeaders) SetXAcsDingtalkAccessToken(v string) *QueryUserExtendValuesHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryUserExtendValuesRequest struct {
	UserExtendKey *string `json:"userExtendKey,omitempty" xml:"userExtendKey,omitempty"`
	// This parameter is required.
	UserIds []*string `json:"userIds,omitempty" xml:"userIds,omitempty" type:"Repeated"`
}

func (s QueryUserExtendValuesRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtendValuesRequest) GoString() string {
	return s.String()
}

func (s *QueryUserExtendValuesRequest) SetUserExtendKey(v string) *QueryUserExtendValuesRequest {
	s.UserExtendKey = &v
	return s
}

func (s *QueryUserExtendValuesRequest) SetUserIds(v []*string) *QueryUserExtendValuesRequest {
	s.UserIds = v
	return s
}

type QueryUserExtendValuesResponseBody struct {
	Content []*QueryUserExtendValuesResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
	// This parameter is required.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
	// This parameter is required.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (s QueryUserExtendValuesResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtendValuesResponseBody) GoString() string {
	return s.String()
}

func (s *QueryUserExtendValuesResponseBody) SetContent(v []*QueryUserExtendValuesResponseBodyContent) *QueryUserExtendValuesResponseBody {
	s.Content = v
	return s
}

func (s *QueryUserExtendValuesResponseBody) SetSuccess(v bool) *QueryUserExtendValuesResponseBody {
	s.Success = &v
	return s
}

func (s *QueryUserExtendValuesResponseBody) SetTotalCount(v int64) *QueryUserExtendValuesResponseBody {
	s.TotalCount = &v
	return s
}

type QueryUserExtendValuesResponseBodyContent struct {
	// This parameter is required.
	UserCode              *string `json:"userCode,omitempty" xml:"userCode,omitempty"`
	UserExtendDisplayName *string `json:"userExtendDisplayName,omitempty" xml:"userExtendDisplayName,omitempty"`
	// This parameter is required.
	UserExtendKey *string `json:"userExtendKey,omitempty" xml:"userExtendKey,omitempty"`
	// This parameter is required.
	UserExtendValue *string `json:"userExtendValue,omitempty" xml:"userExtendValue,omitempty"`
}

func (s QueryUserExtendValuesResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtendValuesResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryUserExtendValuesResponseBodyContent) SetUserCode(v string) *QueryUserExtendValuesResponseBodyContent {
	s.UserCode = &v
	return s
}

func (s *QueryUserExtendValuesResponseBodyContent) SetUserExtendDisplayName(v string) *QueryUserExtendValuesResponseBodyContent {
	s.UserExtendDisplayName = &v
	return s
}

func (s *QueryUserExtendValuesResponseBodyContent) SetUserExtendKey(v string) *QueryUserExtendValuesResponseBodyContent {
	s.UserExtendKey = &v
	return s
}

func (s *QueryUserExtendValuesResponseBodyContent) SetUserExtendValue(v string) *QueryUserExtendValuesResponseBodyContent {
	s.UserExtendValue = &v
	return s
}

type QueryUserExtendValuesResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryUserExtendValuesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryUserExtendValuesResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryUserExtendValuesResponse) GoString() string {
	return s.String()
}

func (s *QueryUserExtendValuesResponse) SetHeaders(v map[string]*string) *QueryUserExtendValuesResponse {
	s.Headers = v
	return s
}

func (s *QueryUserExtendValuesResponse) SetStatusCode(v int32) *QueryUserExtendValuesResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryUserExtendValuesResponse) SetBody(v *QueryUserExtendValuesResponseBody) *QueryUserExtendValuesResponse {
	s.Body = v
	return s
}

type QueryUserInfoHeaders 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 (s QueryUserInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoHeaders) GoString() string {
	return s.String()
}

func (s *QueryUserInfoHeaders) SetCommonHeaders(v map[string]*string) *QueryUserInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryUserInfoHeaders) SetXAcsDingtalkAccessToken(v string) *QueryUserInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryUserInfoRequest struct {
	MonthMark *string `json:"monthMark,omitempty" xml:"monthMark,omitempty"`
}

func (s QueryUserInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoRequest) GoString() string {
	return s.String()
}

func (s *QueryUserInfoRequest) SetMonthMark(v string) *QueryUserInfoRequest {
	s.MonthMark = &v
	return s
}

type QueryUserInfoResponseBody struct {
	Content *QueryUserInfoResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Struct"`
}

func (s QueryUserInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBody) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBody) SetContent(v *QueryUserInfoResponseBodyContent) *QueryUserInfoResponseBody {
	s.Content = v
	return s
}

type QueryUserInfoResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// comments
	Comments *string `json:"comments,omitempty" xml:"comments,omitempty"`
	// This parameter is required.
	Dept []*QueryUserInfoResponseBodyContentDept `json:"dept,omitempty" xml:"dept,omitempty" type:"Repeated"`
	// This parameter is required.
	Group []*QueryUserInfoResponseBodyContentGroup `json:"group,omitempty" xml:"group,omitempty" type:"Repeated"`
	// This parameter is required.
	Job *QueryUserInfoResponseBodyContentJob `json:"job,omitempty" xml:"job,omitempty" type:"Struct"`
	// This parameter is required.
	//
	// example:
	//
	// 0001
	JobNum *string `json:"jobNum,omitempty" xml:"jobNum,omitempty"`
	// This parameter is required.
	JobStatus *QueryUserInfoResponseBodyContentJobStatus `json:"jobStatus,omitempty" xml:"jobStatus,omitempty" type:"Struct"`
	// This parameter is required.
	JobStatusList []*QueryUserInfoResponseBodyContentJobStatusList `json:"jobStatusList,omitempty" xml:"jobStatusList,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// u0398812938821
	Uid *string `json:"uid,omitempty" xml:"uid,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 用户名称
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
	// This parameter is required.
	UserProb *QueryUserInfoResponseBodyContentUserProb `json:"userProb,omitempty" xml:"userProb,omitempty" type:"Struct"`
}

func (s QueryUserInfoResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContent) SetComments(v string) *QueryUserInfoResponseBodyContent {
	s.Comments = &v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetDept(v []*QueryUserInfoResponseBodyContentDept) *QueryUserInfoResponseBodyContent {
	s.Dept = v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetGroup(v []*QueryUserInfoResponseBodyContentGroup) *QueryUserInfoResponseBodyContent {
	s.Group = v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetJob(v *QueryUserInfoResponseBodyContentJob) *QueryUserInfoResponseBodyContent {
	s.Job = v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetJobNum(v string) *QueryUserInfoResponseBodyContent {
	s.JobNum = &v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetJobStatus(v *QueryUserInfoResponseBodyContentJobStatus) *QueryUserInfoResponseBodyContent {
	s.JobStatus = v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetJobStatusList(v []*QueryUserInfoResponseBodyContentJobStatusList) *QueryUserInfoResponseBodyContent {
	s.JobStatusList = v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetUid(v string) *QueryUserInfoResponseBodyContent {
	s.Uid = &v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetUserName(v string) *QueryUserInfoResponseBodyContent {
	s.UserName = &v
	return s
}

func (s *QueryUserInfoResponseBodyContent) SetUserProb(v *QueryUserInfoResponseBodyContentUserProb) *QueryUserInfoResponseBodyContent {
	s.UserProb = v
	return s
}

type QueryUserInfoResponseBodyContentDept struct {
	// example:
	//
	// 2021-06-02 17:44:17
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// example:
	//
	// 2021-06-02 17:44:17
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室名称2
	Name  *string `json:"name,omitempty" xml:"name,omitempty"`
	RelId *int64  `json:"relId,omitempty" xml:"relId,omitempty"`
}

func (s QueryUserInfoResponseBodyContentDept) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContentDept) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContentDept) SetGmtCreateStr(v string) *QueryUserInfoResponseBodyContentDept {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentDept) SetGmtModifiedStr(v string) *QueryUserInfoResponseBodyContentDept {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentDept) SetId(v int64) *QueryUserInfoResponseBodyContentDept {
	s.Id = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentDept) SetName(v string) *QueryUserInfoResponseBodyContentDept {
	s.Name = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentDept) SetRelId(v int64) *QueryUserInfoResponseBodyContentDept {
	s.RelId = &v
	return s
}

type QueryUserInfoResponseBodyContentGroup struct {
	// This parameter is required.
	//
	// example:
	//
	// 123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 科室名称2
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// 2021-06-02 17:44:17
	GmtCreateStr *string `json:"gmtCreateStr,omitempty" xml:"gmtCreateStr,omitempty"`
	// example:
	//
	// 2021-06-02 17:44:17
	GmtModifiedStr *string `json:"gmtModifiedStr,omitempty" xml:"gmtModifiedStr,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 123
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 医疗组名称2
	Name  *string `json:"name,omitempty" xml:"name,omitempty"`
	RelId *int64  `json:"relId,omitempty" xml:"relId,omitempty"`
}

func (s QueryUserInfoResponseBodyContentGroup) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContentGroup) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContentGroup) SetDeptId(v int64) *QueryUserInfoResponseBodyContentGroup {
	s.DeptId = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentGroup) SetDeptName(v string) *QueryUserInfoResponseBodyContentGroup {
	s.DeptName = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentGroup) SetGmtCreateStr(v string) *QueryUserInfoResponseBodyContentGroup {
	s.GmtCreateStr = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentGroup) SetGmtModifiedStr(v string) *QueryUserInfoResponseBodyContentGroup {
	s.GmtModifiedStr = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentGroup) SetId(v int64) *QueryUserInfoResponseBodyContentGroup {
	s.Id = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentGroup) SetName(v string) *QueryUserInfoResponseBodyContentGroup {
	s.Name = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentGroup) SetRelId(v int64) *QueryUserInfoResponseBodyContentGroup {
	s.RelId = &v
	return s
}

type QueryUserInfoResponseBodyContentJob struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	BizType *string `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 分类
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// code1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 展示名称
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (s QueryUserInfoResponseBodyContentJob) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContentJob) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContentJob) SetBizType(v string) *QueryUserInfoResponseBodyContentJob {
	s.BizType = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJob) SetCategory(v string) *QueryUserInfoResponseBodyContentJob {
	s.Category = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJob) SetCode(v string) *QueryUserInfoResponseBodyContentJob {
	s.Code = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJob) SetDisplayName(v string) *QueryUserInfoResponseBodyContentJob {
	s.DisplayName = &v
	return s
}

type QueryUserInfoResponseBodyContentJobStatus struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	BizType *string `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 分类
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 标签Code
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 展示名称
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (s QueryUserInfoResponseBodyContentJobStatus) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContentJobStatus) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContentJobStatus) SetBizType(v string) *QueryUserInfoResponseBodyContentJobStatus {
	s.BizType = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJobStatus) SetCategory(v string) *QueryUserInfoResponseBodyContentJobStatus {
	s.Category = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJobStatus) SetCode(v string) *QueryUserInfoResponseBodyContentJobStatus {
	s.Code = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJobStatus) SetDisplayName(v string) *QueryUserInfoResponseBodyContentJobStatus {
	s.DisplayName = &v
	return s
}

type QueryUserInfoResponseBodyContentJobStatusList struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	BizType *string `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 分类
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 标签Code
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 展示名称
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (s QueryUserInfoResponseBodyContentJobStatusList) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContentJobStatusList) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContentJobStatusList) SetBizType(v string) *QueryUserInfoResponseBodyContentJobStatusList {
	s.BizType = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJobStatusList) SetCategory(v string) *QueryUserInfoResponseBodyContentJobStatusList {
	s.Category = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJobStatusList) SetCode(v string) *QueryUserInfoResponseBodyContentJobStatusList {
	s.Code = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentJobStatusList) SetDisplayName(v string) *QueryUserInfoResponseBodyContentJobStatusList {
	s.DisplayName = &v
	return s
}

type QueryUserInfoResponseBodyContentUserProb struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	BizType *string `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 分类
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 标签Code
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 展示名称
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (s QueryUserInfoResponseBodyContentUserProb) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponseBodyContentUserProb) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponseBodyContentUserProb) SetBizType(v string) *QueryUserInfoResponseBodyContentUserProb {
	s.BizType = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentUserProb) SetCategory(v string) *QueryUserInfoResponseBodyContentUserProb {
	s.Category = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentUserProb) SetCode(v string) *QueryUserInfoResponseBodyContentUserProb {
	s.Code = &v
	return s
}

func (s *QueryUserInfoResponseBodyContentUserProb) SetDisplayName(v string) *QueryUserInfoResponseBodyContentUserProb {
	s.DisplayName = &v
	return s
}

type QueryUserInfoResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryUserInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryUserInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryUserInfoResponse) GoString() string {
	return s.String()
}

func (s *QueryUserInfoResponse) SetHeaders(v map[string]*string) *QueryUserInfoResponse {
	s.Headers = v
	return s
}

func (s *QueryUserInfoResponse) SetStatusCode(v int32) *QueryUserInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryUserInfoResponse) SetBody(v *QueryUserInfoResponseBody) *QueryUserInfoResponse {
	s.Body = v
	return s
}

type QueryUserProbCodeDictionaryHeaders 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 (s QueryUserProbCodeDictionaryHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryUserProbCodeDictionaryHeaders) GoString() string {
	return s.String()
}

func (s *QueryUserProbCodeDictionaryHeaders) SetCommonHeaders(v map[string]*string) *QueryUserProbCodeDictionaryHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryUserProbCodeDictionaryHeaders) SetXAcsDingtalkAccessToken(v string) *QueryUserProbCodeDictionaryHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryUserProbCodeDictionaryResponseBody struct {
	Content []*QueryUserProbCodeDictionaryResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryUserProbCodeDictionaryResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryUserProbCodeDictionaryResponseBody) GoString() string {
	return s.String()
}

func (s *QueryUserProbCodeDictionaryResponseBody) SetContent(v []*QueryUserProbCodeDictionaryResponseBodyContent) *QueryUserProbCodeDictionaryResponseBody {
	s.Content = v
	return s
}

type QueryUserProbCodeDictionaryResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 主任医师
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (s QueryUserProbCodeDictionaryResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryUserProbCodeDictionaryResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryUserProbCodeDictionaryResponseBodyContent) SetCategory(v string) *QueryUserProbCodeDictionaryResponseBodyContent {
	s.Category = &v
	return s
}

func (s *QueryUserProbCodeDictionaryResponseBodyContent) SetCode(v string) *QueryUserProbCodeDictionaryResponseBodyContent {
	s.Code = &v
	return s
}

func (s *QueryUserProbCodeDictionaryResponseBodyContent) SetDisplayName(v string) *QueryUserProbCodeDictionaryResponseBodyContent {
	s.DisplayName = &v
	return s
}

type QueryUserProbCodeDictionaryResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryUserProbCodeDictionaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryUserProbCodeDictionaryResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryUserProbCodeDictionaryResponse) GoString() string {
	return s.String()
}

func (s *QueryUserProbCodeDictionaryResponse) SetHeaders(v map[string]*string) *QueryUserProbCodeDictionaryResponse {
	s.Headers = v
	return s
}

func (s *QueryUserProbCodeDictionaryResponse) SetStatusCode(v int32) *QueryUserProbCodeDictionaryResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryUserProbCodeDictionaryResponse) SetBody(v *QueryUserProbCodeDictionaryResponseBody) *QueryUserProbCodeDictionaryResponse {
	s.Body = v
	return s
}

type QueryUserRolesHeaders 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 (s QueryUserRolesHeaders) String() string {
	return tea.Prettify(s)
}

func (s QueryUserRolesHeaders) GoString() string {
	return s.String()
}

func (s *QueryUserRolesHeaders) SetCommonHeaders(v map[string]*string) *QueryUserRolesHeaders {
	s.CommonHeaders = v
	return s
}

func (s *QueryUserRolesHeaders) SetXAcsDingtalkAccessToken(v string) *QueryUserRolesHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type QueryUserRolesResponseBody struct {
	Content []*QueryUserRolesResponseBodyContent `json:"content,omitempty" xml:"content,omitempty" type:"Repeated"`
}

func (s QueryUserRolesResponseBody) String() string {
	return tea.Prettify(s)
}

func (s QueryUserRolesResponseBody) GoString() string {
	return s.String()
}

func (s *QueryUserRolesResponseBody) SetContent(v []*QueryUserRolesResponseBodyContent) *QueryUserRolesResponseBody {
	s.Content = v
	return s
}

type QueryUserRolesResponseBodyContent struct {
	// This parameter is required.
	//
	// example:
	//
	// roleCode
	RoleCode *string `json:"roleCode,omitempty" xml:"roleCode,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// roleNem
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
}

func (s QueryUserRolesResponseBodyContent) String() string {
	return tea.Prettify(s)
}

func (s QueryUserRolesResponseBodyContent) GoString() string {
	return s.String()
}

func (s *QueryUserRolesResponseBodyContent) SetRoleCode(v string) *QueryUserRolesResponseBodyContent {
	s.RoleCode = &v
	return s
}

func (s *QueryUserRolesResponseBodyContent) SetRoleName(v string) *QueryUserRolesResponseBodyContent {
	s.RoleName = &v
	return s
}

type QueryUserRolesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryUserRolesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s QueryUserRolesResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryUserRolesResponse) GoString() string {
	return s.String()
}

func (s *QueryUserRolesResponse) SetHeaders(v map[string]*string) *QueryUserRolesResponse {
	s.Headers = v
	return s
}

func (s *QueryUserRolesResponse) SetStatusCode(v int32) *QueryUserRolesResponse {
	s.StatusCode = &v
	return s
}

func (s *QueryUserRolesResponse) SetBody(v *QueryUserRolesResponseBody) *QueryUserRolesResponse {
	s.Body = v
	return s
}

type SaveUserExtendValuesHeaders 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 (s SaveUserExtendValuesHeaders) String() string {
	return tea.Prettify(s)
}

func (s SaveUserExtendValuesHeaders) GoString() string {
	return s.String()
}

func (s *SaveUserExtendValuesHeaders) SetCommonHeaders(v map[string]*string) *SaveUserExtendValuesHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SaveUserExtendValuesHeaders) SetXAcsDingtalkAccessToken(v string) *SaveUserExtendValuesHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SaveUserExtendValuesRequest struct {
	UserDisplayName *string `json:"userDisplayName,omitempty" xml:"userDisplayName,omitempty"`
	// This parameter is required.
	UserExtendKey *string `json:"userExtendKey,omitempty" xml:"userExtendKey,omitempty"`
	// This parameter is required.
	UserExtendValue *string `json:"userExtendValue,omitempty" xml:"userExtendValue,omitempty"`
}

func (s SaveUserExtendValuesRequest) String() string {
	return tea.Prettify(s)
}

func (s SaveUserExtendValuesRequest) GoString() string {
	return s.String()
}

func (s *SaveUserExtendValuesRequest) SetUserDisplayName(v string) *SaveUserExtendValuesRequest {
	s.UserDisplayName = &v
	return s
}

func (s *SaveUserExtendValuesRequest) SetUserExtendKey(v string) *SaveUserExtendValuesRequest {
	s.UserExtendKey = &v
	return s
}

func (s *SaveUserExtendValuesRequest) SetUserExtendValue(v string) *SaveUserExtendValuesRequest {
	s.UserExtendValue = &v
	return s
}

type SaveUserExtendValuesResponseBody struct {
	// This parameter is required.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (s SaveUserExtendValuesResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SaveUserExtendValuesResponseBody) GoString() string {
	return s.String()
}

func (s *SaveUserExtendValuesResponseBody) SetSuccess(v bool) *SaveUserExtendValuesResponseBody {
	s.Success = &v
	return s
}

type SaveUserExtendValuesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SaveUserExtendValuesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SaveUserExtendValuesResponse) String() string {
	return tea.Prettify(s)
}

func (s SaveUserExtendValuesResponse) GoString() string {
	return s.String()
}

func (s *SaveUserExtendValuesResponse) SetHeaders(v map[string]*string) *SaveUserExtendValuesResponse {
	s.Headers = v
	return s
}

func (s *SaveUserExtendValuesResponse) SetStatusCode(v int32) *SaveUserExtendValuesResponse {
	s.StatusCode = &v
	return s
}

func (s *SaveUserExtendValuesResponse) SetBody(v *SaveUserExtendValuesResponseBody) *SaveUserExtendValuesResponse {
	s.Body = v
	return s
}

type SubmitTaskHeaders 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 (s SubmitTaskHeaders) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskHeaders) GoString() string {
	return s.String()
}

func (s *SubmitTaskHeaders) SetCommonHeaders(v map[string]*string) *SubmitTaskHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SubmitTaskHeaders) SetXAcsDingtalkAccessToken(v string) *SubmitTaskHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SubmitTaskRequest struct {
	// example:
	//
	// 1001
	AppId *int64 `json:"appId,omitempty" xml:"appId,omitempty"`
	// example:
	//
	// MEETING
	BizCode *string                  `json:"bizCode,omitempty" xml:"bizCode,omitempty"`
	Data    []*SubmitTaskRequestData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	UnionId *string                  `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (s SubmitTaskRequest) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskRequest) GoString() string {
	return s.String()
}

func (s *SubmitTaskRequest) SetAppId(v int64) *SubmitTaskRequest {
	s.AppId = &v
	return s
}

func (s *SubmitTaskRequest) SetBizCode(v string) *SubmitTaskRequest {
	s.BizCode = &v
	return s
}

func (s *SubmitTaskRequest) SetData(v []*SubmitTaskRequestData) *SubmitTaskRequest {
	s.Data = v
	return s
}

func (s *SubmitTaskRequest) SetUnionId(v string) *SubmitTaskRequest {
	s.UnionId = &v
	return s
}

type SubmitTaskRequestData struct {
	// example:
	//
	// 2024-05-14
	Date *string `json:"date,omitempty" xml:"date,omitempty"`
	// example:
	//
	// xx项目
	Desc *string `json:"desc,omitempty" xml:"desc,omitempty"`
	// example:
	//
	// 根据不同业务类型，传业务需求的JSON字符串
	Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
	// example:
	//
	// audio
	FileType *string   `json:"fileType,omitempty" xml:"fileType,omitempty"`
	FileUrl  []*string `json:"fileUrl,omitempty" xml:"fileUrl,omitempty" type:"Repeated"`
	// example:
	//
	// 1001
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// xx项目会议
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (s SubmitTaskRequestData) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskRequestData) GoString() string {
	return s.String()
}

func (s *SubmitTaskRequestData) SetDate(v string) *SubmitTaskRequestData {
	s.Date = &v
	return s
}

func (s *SubmitTaskRequestData) SetDesc(v string) *SubmitTaskRequestData {
	s.Desc = &v
	return s
}

func (s *SubmitTaskRequestData) SetExtension(v string) *SubmitTaskRequestData {
	s.Extension = &v
	return s
}

func (s *SubmitTaskRequestData) SetFileType(v string) *SubmitTaskRequestData {
	s.FileType = &v
	return s
}

func (s *SubmitTaskRequestData) SetFileUrl(v []*string) *SubmitTaskRequestData {
	s.FileUrl = v
	return s
}

func (s *SubmitTaskRequestData) SetId(v int64) *SubmitTaskRequestData {
	s.Id = &v
	return s
}

func (s *SubmitTaskRequestData) SetName(v string) *SubmitTaskRequestData {
	s.Name = &v
	return s
}

type SubmitTaskResponseBody struct {
	Tasks []*SubmitTaskResponseBodyTasks `json:"tasks,omitempty" xml:"tasks,omitempty" type:"Repeated"`
}

func (s SubmitTaskResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskResponseBody) GoString() string {
	return s.String()
}

func (s *SubmitTaskResponseBody) SetTasks(v []*SubmitTaskResponseBodyTasks) *SubmitTaskResponseBody {
	s.Tasks = v
	return s
}

type SubmitTaskResponseBodyTasks struct {
	// example:
	//
	// 1001
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 8ef16170b6e24d8fb77b832d7603b835
	TaskId *string `json:"taskId,omitempty" xml:"taskId,omitempty"`
}

func (s SubmitTaskResponseBodyTasks) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskResponseBodyTasks) GoString() string {
	return s.String()
}

func (s *SubmitTaskResponseBodyTasks) SetId(v int64) *SubmitTaskResponseBodyTasks {
	s.Id = &v
	return s
}

func (s *SubmitTaskResponseBodyTasks) SetTaskId(v string) *SubmitTaskResponseBodyTasks {
	s.TaskId = &v
	return s
}

type SubmitTaskResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SubmitTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SubmitTaskResponse) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskResponse) GoString() string {
	return s.String()
}

func (s *SubmitTaskResponse) SetHeaders(v map[string]*string) *SubmitTaskResponse {
	s.Headers = v
	return s
}

func (s *SubmitTaskResponse) SetStatusCode(v int32) *SubmitTaskResponse {
	s.StatusCode = &v
	return s
}

func (s *SubmitTaskResponse) SetBody(v *SubmitTaskResponseBody) *SubmitTaskResponse {
	s.Body = v
	return s
}

type SubmitTaskPackageHeaders 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 (s SubmitTaskPackageHeaders) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskPackageHeaders) GoString() string {
	return s.String()
}

func (s *SubmitTaskPackageHeaders) SetCommonHeaders(v map[string]*string) *SubmitTaskPackageHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SubmitTaskPackageHeaders) SetXAcsDingtalkAccessToken(v string) *SubmitTaskPackageHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SubmitTaskPackageRequest struct {
	AppId *int64 `json:"appId,omitempty" xml:"appId,omitempty"`
	// if can be null:
	// false
	AppSecret *string `json:"appSecret,omitempty" xml:"appSecret,omitempty"`
	// This parameter is required.
	BizCode         *string                         `json:"bizCode,omitempty" xml:"bizCode,omitempty"`
	Data            []*SubmitTaskPackageRequestData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	Desc            *string                         `json:"desc,omitempty" xml:"desc,omitempty"`
	FileType        *string                         `json:"fileType,omitempty" xml:"fileType,omitempty"`
	TaskPackageName *string                         `json:"taskPackageName,omitempty" xml:"taskPackageName,omitempty"`
	UnionId         *string                         `json:"unionId,omitempty" xml:"unionId,omitempty"`
	Version         *string                         `json:"version,omitempty" xml:"version,omitempty"`
}

func (s SubmitTaskPackageRequest) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskPackageRequest) GoString() string {
	return s.String()
}

func (s *SubmitTaskPackageRequest) SetAppId(v int64) *SubmitTaskPackageRequest {
	s.AppId = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetAppSecret(v string) *SubmitTaskPackageRequest {
	s.AppSecret = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetBizCode(v string) *SubmitTaskPackageRequest {
	s.BizCode = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetData(v []*SubmitTaskPackageRequestData) *SubmitTaskPackageRequest {
	s.Data = v
	return s
}

func (s *SubmitTaskPackageRequest) SetDesc(v string) *SubmitTaskPackageRequest {
	s.Desc = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetFileType(v string) *SubmitTaskPackageRequest {
	s.FileType = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetTaskPackageName(v string) *SubmitTaskPackageRequest {
	s.TaskPackageName = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetUnionId(v string) *SubmitTaskPackageRequest {
	s.UnionId = &v
	return s
}

func (s *SubmitTaskPackageRequest) SetVersion(v string) *SubmitTaskPackageRequest {
	s.Version = &v
	return s
}

type SubmitTaskPackageRequestData struct {
	Extension   *string   `json:"extension,omitempty" xml:"extension,omitempty"`
	FileUrl     *string   `json:"fileUrl,omitempty" xml:"fileUrl,omitempty"`
	FileUrls    []*string `json:"fileUrls,omitempty" xml:"fileUrls,omitempty" type:"Repeated"`
	TaskName    *string   `json:"taskName,omitempty" xml:"taskName,omitempty"`
	TextContent *string   `json:"textContent,omitempty" xml:"textContent,omitempty"`
}

func (s SubmitTaskPackageRequestData) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskPackageRequestData) GoString() string {
	return s.String()
}

func (s *SubmitTaskPackageRequestData) SetExtension(v string) *SubmitTaskPackageRequestData {
	s.Extension = &v
	return s
}

func (s *SubmitTaskPackageRequestData) SetFileUrl(v string) *SubmitTaskPackageRequestData {
	s.FileUrl = &v
	return s
}

func (s *SubmitTaskPackageRequestData) SetFileUrls(v []*string) *SubmitTaskPackageRequestData {
	s.FileUrls = v
	return s
}

func (s *SubmitTaskPackageRequestData) SetTaskName(v string) *SubmitTaskPackageRequestData {
	s.TaskName = &v
	return s
}

func (s *SubmitTaskPackageRequestData) SetTextContent(v string) *SubmitTaskPackageRequestData {
	s.TextContent = &v
	return s
}

type SubmitTaskPackageResponseBody struct {
	TaskIdList    []*string `json:"taskIdList,omitempty" xml:"taskIdList,omitempty" type:"Repeated"`
	TaskPackageId *string   `json:"taskPackageId,omitempty" xml:"taskPackageId,omitempty"`
}

func (s SubmitTaskPackageResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskPackageResponseBody) GoString() string {
	return s.String()
}

func (s *SubmitTaskPackageResponseBody) SetTaskIdList(v []*string) *SubmitTaskPackageResponseBody {
	s.TaskIdList = v
	return s
}

func (s *SubmitTaskPackageResponseBody) SetTaskPackageId(v string) *SubmitTaskPackageResponseBody {
	s.TaskPackageId = &v
	return s
}

type SubmitTaskPackageResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SubmitTaskPackageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SubmitTaskPackageResponse) String() string {
	return tea.Prettify(s)
}

func (s SubmitTaskPackageResponse) GoString() string {
	return s.String()
}

func (s *SubmitTaskPackageResponse) SetHeaders(v map[string]*string) *SubmitTaskPackageResponse {
	s.Headers = v
	return s
}

func (s *SubmitTaskPackageResponse) SetStatusCode(v int32) *SubmitTaskPackageResponse {
	s.StatusCode = &v
	return s
}

func (s *SubmitTaskPackageResponse) SetBody(v *SubmitTaskPackageResponseBody) *SubmitTaskPackageResponse {
	s.Body = v
	return s
}

type SupplAddRoleHeaders 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 (s SupplAddRoleHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplAddRoleHeaders) GoString() string {
	return s.String()
}

func (s *SupplAddRoleHeaders) SetCommonHeaders(v map[string]*string) *SupplAddRoleHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplAddRoleHeaders) SetXAcsDingtalkAccessToken(v string) *SupplAddRoleHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplAddRoleRequest struct {
	// This parameter is required.
	ParentRoleGroupId *string `json:"parentRoleGroupId,omitempty" xml:"parentRoleGroupId,omitempty"`
	// This parameter is required.
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
}

func (s SupplAddRoleRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplAddRoleRequest) GoString() string {
	return s.String()
}

func (s *SupplAddRoleRequest) SetParentRoleGroupId(v string) *SupplAddRoleRequest {
	s.ParentRoleGroupId = &v
	return s
}

func (s *SupplAddRoleRequest) SetRoleName(v string) *SupplAddRoleRequest {
	s.RoleName = &v
	return s
}

type SupplAddRoleResponseBody struct {
	// example:
	//
	// 1213
	Result *string `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplAddRoleResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplAddRoleResponseBody) GoString() string {
	return s.String()
}

func (s *SupplAddRoleResponseBody) SetResult(v string) *SupplAddRoleResponseBody {
	s.Result = &v
	return s
}

type SupplAddRoleResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplAddRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplAddRoleResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplAddRoleResponse) GoString() string {
	return s.String()
}

func (s *SupplAddRoleResponse) SetHeaders(v map[string]*string) *SupplAddRoleResponse {
	s.Headers = v
	return s
}

func (s *SupplAddRoleResponse) SetStatusCode(v int32) *SupplAddRoleResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplAddRoleResponse) SetBody(v *SupplAddRoleResponseBody) *SupplAddRoleResponse {
	s.Body = v
	return s
}

type SupplyAddDeptHeaders 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 (s SupplyAddDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddDeptHeaders) GoString() string {
	return s.String()
}

func (s *SupplyAddDeptHeaders) SetCommonHeaders(v map[string]*string) *SupplyAddDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyAddDeptHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyAddDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyAddDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 闪电供应商
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// G12345
	PartnerNumber *string `json:"partnerNumber,omitempty" xml:"partnerNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1111
	SuperDeptId *int64 `json:"superDeptId,omitempty" xml:"superDeptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// SUPPLY_CHAIN_DEPT_TYPE
	SupplyDeptType *string `json:"supplyDeptType,omitempty" xml:"supplyDeptType,omitempty"`
}

func (s SupplyAddDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddDeptRequest) GoString() string {
	return s.String()
}

func (s *SupplyAddDeptRequest) SetDeptName(v string) *SupplyAddDeptRequest {
	s.DeptName = &v
	return s
}

func (s *SupplyAddDeptRequest) SetPartnerNumber(v string) *SupplyAddDeptRequest {
	s.PartnerNumber = &v
	return s
}

func (s *SupplyAddDeptRequest) SetSuperDeptId(v int64) *SupplyAddDeptRequest {
	s.SuperDeptId = &v
	return s
}

func (s *SupplyAddDeptRequest) SetSupplyDeptType(v string) *SupplyAddDeptRequest {
	s.SupplyDeptType = &v
	return s
}

type SupplyAddDeptResponseBody struct {
	Result *SupplyAddDeptResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s SupplyAddDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddDeptResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyAddDeptResponseBody) SetResult(v *SupplyAddDeptResponseBodyResult) *SupplyAddDeptResponseBody {
	s.Result = v
	return s
}

type SupplyAddDeptResponseBodyResult struct {
	// This parameter is required.
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s SupplyAddDeptResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddDeptResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyAddDeptResponseBodyResult) SetDeptId(v int64) *SupplyAddDeptResponseBodyResult {
	s.DeptId = &v
	return s
}

type SupplyAddDeptResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyAddDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyAddDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddDeptResponse) GoString() string {
	return s.String()
}

func (s *SupplyAddDeptResponse) SetHeaders(v map[string]*string) *SupplyAddDeptResponse {
	s.Headers = v
	return s
}

func (s *SupplyAddDeptResponse) SetStatusCode(v int32) *SupplyAddDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyAddDeptResponse) SetBody(v *SupplyAddDeptResponseBody) *SupplyAddDeptResponse {
	s.Body = v
	return s
}

type SupplyAddMemberHeaders 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 (s SupplyAddMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddMemberHeaders) GoString() string {
	return s.String()
}

func (s *SupplyAddMemberHeaders) SetCommonHeaders(v map[string]*string) *SupplyAddMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyAddMemberHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyAddMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyAddMemberRequest struct {
	// This parameter is required.
	//
	// if can be null:
	// false
	//
	// example:
	//
	// false
	IsPartnerManager *bool `json:"isPartnerManager,omitempty" xml:"isPartnerManager,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 187xxxx0001
	MemberMobile *string `json:"memberMobile,omitempty" xml:"memberMobile,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 李白
	MemberName *string `json:"memberName,omitempty" xml:"memberName,omitempty"`
	// example:
	//
	// 经理
	MemberTitle *string `json:"memberTitle,omitempty" xml:"memberTitle,omitempty"`
	// example:
	//
	// 1001
	MemberWorkNumber *string `json:"memberWorkNumber,omitempty" xml:"memberWorkNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1111
	SupplyDeptId *int64 `json:"supplyDeptId,omitempty" xml:"supplyDeptId,omitempty"`
}

func (s SupplyAddMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddMemberRequest) GoString() string {
	return s.String()
}

func (s *SupplyAddMemberRequest) SetIsPartnerManager(v bool) *SupplyAddMemberRequest {
	s.IsPartnerManager = &v
	return s
}

func (s *SupplyAddMemberRequest) SetMemberMobile(v string) *SupplyAddMemberRequest {
	s.MemberMobile = &v
	return s
}

func (s *SupplyAddMemberRequest) SetMemberName(v string) *SupplyAddMemberRequest {
	s.MemberName = &v
	return s
}

func (s *SupplyAddMemberRequest) SetMemberTitle(v string) *SupplyAddMemberRequest {
	s.MemberTitle = &v
	return s
}

func (s *SupplyAddMemberRequest) SetMemberWorkNumber(v string) *SupplyAddMemberRequest {
	s.MemberWorkNumber = &v
	return s
}

func (s *SupplyAddMemberRequest) SetSupplyDeptId(v int64) *SupplyAddMemberRequest {
	s.SupplyDeptId = &v
	return s
}

type SupplyAddMemberResponseBody struct {
	Result *SupplyAddMemberResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s SupplyAddMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddMemberResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyAddMemberResponseBody) SetResult(v *SupplyAddMemberResponseBodyResult) *SupplyAddMemberResponseBody {
	s.Result = v
	return s
}

type SupplyAddMemberResponseBodyResult struct {
	// This parameter is required.
	//
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 12345abc
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 12345abc
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyAddMemberResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddMemberResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyAddMemberResponseBodyResult) SetDingMemberStatus(v string) *SupplyAddMemberResponseBodyResult {
	s.DingMemberStatus = &v
	return s
}

func (s *SupplyAddMemberResponseBodyResult) SetUnionId(v string) *SupplyAddMemberResponseBodyResult {
	s.UnionId = &v
	return s
}

func (s *SupplyAddMemberResponseBodyResult) SetUserId(v string) *SupplyAddMemberResponseBodyResult {
	s.UserId = &v
	return s
}

type SupplyAddMemberResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyAddMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyAddMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddMemberResponse) GoString() string {
	return s.String()
}

func (s *SupplyAddMemberResponse) SetHeaders(v map[string]*string) *SupplyAddMemberResponse {
	s.Headers = v
	return s
}

func (s *SupplyAddMemberResponse) SetStatusCode(v int32) *SupplyAddMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyAddMemberResponse) SetBody(v *SupplyAddMemberResponseBody) *SupplyAddMemberResponse {
	s.Body = v
	return s
}

type SupplyAddPartnerAdminsHeaders 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 (s SupplyAddPartnerAdminsHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerAdminsHeaders) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerAdminsHeaders) SetCommonHeaders(v map[string]*string) *SupplyAddPartnerAdminsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyAddPartnerAdminsHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyAddPartnerAdminsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyAddPartnerAdminsRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 11
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 11
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyAddPartnerAdminsRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerAdminsRequest) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerAdminsRequest) SetDeptId(v int64) *SupplyAddPartnerAdminsRequest {
	s.DeptId = &v
	return s
}

func (s *SupplyAddPartnerAdminsRequest) SetUserId(v string) *SupplyAddPartnerAdminsRequest {
	s.UserId = &v
	return s
}

type SupplyAddPartnerAdminsResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyAddPartnerAdminsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerAdminsResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerAdminsResponseBody) SetResult(v bool) *SupplyAddPartnerAdminsResponseBody {
	s.Result = &v
	return s
}

type SupplyAddPartnerAdminsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyAddPartnerAdminsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyAddPartnerAdminsResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerAdminsResponse) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerAdminsResponse) SetHeaders(v map[string]*string) *SupplyAddPartnerAdminsResponse {
	s.Headers = v
	return s
}

func (s *SupplyAddPartnerAdminsResponse) SetStatusCode(v int32) *SupplyAddPartnerAdminsResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyAddPartnerAdminsResponse) SetBody(v *SupplyAddPartnerAdminsResponseBody) *SupplyAddPartnerAdminsResponse {
	s.Body = v
	return s
}

type SupplyAddPartnerManagersHeaders 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 (s SupplyAddPartnerManagersHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerManagersHeaders) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerManagersHeaders) SetCommonHeaders(v map[string]*string) *SupplyAddPartnerManagersHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyAddPartnerManagersHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyAddPartnerManagersHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyAddPartnerManagersRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 56781213
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	InterfaceId *string `json:"interfaceId,omitempty" xml:"interfaceId,omitempty"`
	// This parameter is required.
	InterfaceType *string `json:"interfaceType,omitempty" xml:"interfaceType,omitempty"`
}

func (s SupplyAddPartnerManagersRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerManagersRequest) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerManagersRequest) SetDeptId(v int64) *SupplyAddPartnerManagersRequest {
	s.DeptId = &v
	return s
}

func (s *SupplyAddPartnerManagersRequest) SetInterfaceId(v string) *SupplyAddPartnerManagersRequest {
	s.InterfaceId = &v
	return s
}

func (s *SupplyAddPartnerManagersRequest) SetInterfaceType(v string) *SupplyAddPartnerManagersRequest {
	s.InterfaceType = &v
	return s
}

type SupplyAddPartnerManagersResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyAddPartnerManagersResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerManagersResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerManagersResponseBody) SetResult(v bool) *SupplyAddPartnerManagersResponseBody {
	s.Result = &v
	return s
}

type SupplyAddPartnerManagersResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyAddPartnerManagersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyAddPartnerManagersResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerManagersResponse) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerManagersResponse) SetHeaders(v map[string]*string) *SupplyAddPartnerManagersResponse {
	s.Headers = v
	return s
}

func (s *SupplyAddPartnerManagersResponse) SetStatusCode(v int32) *SupplyAddPartnerManagersResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyAddPartnerManagersResponse) SetBody(v *SupplyAddPartnerManagersResponseBody) *SupplyAddPartnerManagersResponse {
	s.Body = v
	return s
}

type SupplyAddPartnerTypeHeaders 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 (s SupplyAddPartnerTypeHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerTypeHeaders) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerTypeHeaders) SetCommonHeaders(v map[string]*string) *SupplyAddPartnerTypeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyAddPartnerTypeHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyAddPartnerTypeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyAddPartnerTypeRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 标签名称
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 862
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s SupplyAddPartnerTypeRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerTypeRequest) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerTypeRequest) SetName(v string) *SupplyAddPartnerTypeRequest {
	s.Name = &v
	return s
}

func (s *SupplyAddPartnerTypeRequest) SetSuperId(v int64) *SupplyAddPartnerTypeRequest {
	s.SuperId = &v
	return s
}

type SupplyAddPartnerTypeResponseBody struct {
	Result *int64 `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyAddPartnerTypeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerTypeResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerTypeResponseBody) SetResult(v int64) *SupplyAddPartnerTypeResponseBody {
	s.Result = &v
	return s
}

type SupplyAddPartnerTypeResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyAddPartnerTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyAddPartnerTypeResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyAddPartnerTypeResponse) GoString() string {
	return s.String()
}

func (s *SupplyAddPartnerTypeResponse) SetHeaders(v map[string]*string) *SupplyAddPartnerTypeResponse {
	s.Headers = v
	return s
}

func (s *SupplyAddPartnerTypeResponse) SetStatusCode(v int32) *SupplyAddPartnerTypeResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyAddPartnerTypeResponse) SetBody(v *SupplyAddPartnerTypeResponseBody) *SupplyAddPartnerTypeResponse {
	s.Body = v
	return s
}

type SupplyChainDeleteDeptHeaders 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 (s SupplyChainDeleteDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainDeleteDeptHeaders) GoString() string {
	return s.String()
}

func (s *SupplyChainDeleteDeptHeaders) SetCommonHeaders(v map[string]*string) *SupplyChainDeleteDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyChainDeleteDeptHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyChainDeleteDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyChainDeleteDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	SupplyDeptId *int64 `json:"supplyDeptId,omitempty" xml:"supplyDeptId,omitempty"`
}

func (s SupplyChainDeleteDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainDeleteDeptRequest) GoString() string {
	return s.String()
}

func (s *SupplyChainDeleteDeptRequest) SetSupplyDeptId(v int64) *SupplyChainDeleteDeptRequest {
	s.SupplyDeptId = &v
	return s
}

type SupplyChainDeleteDeptResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyChainDeleteDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainDeleteDeptResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyChainDeleteDeptResponseBody) SetResult(v bool) *SupplyChainDeleteDeptResponseBody {
	s.Result = &v
	return s
}

type SupplyChainDeleteDeptResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyChainDeleteDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyChainDeleteDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainDeleteDeptResponse) GoString() string {
	return s.String()
}

func (s *SupplyChainDeleteDeptResponse) SetHeaders(v map[string]*string) *SupplyChainDeleteDeptResponse {
	s.Headers = v
	return s
}

func (s *SupplyChainDeleteDeptResponse) SetStatusCode(v int32) *SupplyChainDeleteDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyChainDeleteDeptResponse) SetBody(v *SupplyChainDeleteDeptResponseBody) *SupplyChainDeleteDeptResponse {
	s.Body = v
	return s
}

type SupplyChainQueryDeptInfoHeaders 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 (s SupplyChainQueryDeptInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainQueryDeptInfoHeaders) GoString() string {
	return s.String()
}

func (s *SupplyChainQueryDeptInfoHeaders) SetCommonHeaders(v map[string]*string) *SupplyChainQueryDeptInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyChainQueryDeptInfoHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyChainQueryDeptInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyChainQueryDeptInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	SupplyDeptId *int64 `json:"supplyDeptId,omitempty" xml:"supplyDeptId,omitempty"`
}

func (s SupplyChainQueryDeptInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainQueryDeptInfoRequest) GoString() string {
	return s.String()
}

func (s *SupplyChainQueryDeptInfoRequest) SetSupplyDeptId(v int64) *SupplyChainQueryDeptInfoRequest {
	s.SupplyDeptId = &v
	return s
}

type SupplyChainQueryDeptInfoResponseBody struct {
	Result *SupplyChainQueryDeptInfoResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s SupplyChainQueryDeptInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainQueryDeptInfoResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyChainQueryDeptInfoResponseBody) SetResult(v *SupplyChainQueryDeptInfoResponseBodyResult) *SupplyChainQueryDeptInfoResponseBody {
	s.Result = v
	return s
}

type SupplyChainQueryDeptInfoResponseBodyResult struct {
	// example:
	//
	// 1111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// ROOT
	DeptType   *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
	HasSubDept *bool   `json:"hasSubDept,omitempty" xml:"hasSubDept,omitempty"`
	// example:
	//
	// xxxx 有限公司
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 111111
	PartnerNumber       *string                                                          `json:"partnerNumber,omitempty" xml:"partnerNumber,omitempty"`
	PartnerTypeInfoList []*SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList `json:"partnerTypeInfoList,omitempty" xml:"partnerTypeInfoList,omitempty" type:"Repeated"`
	// example:
	//
	// 1111
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s SupplyChainQueryDeptInfoResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainQueryDeptInfoResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetDeptId(v int64) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.DeptId = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetDeptType(v string) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.DeptType = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetHasSubDept(v bool) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.HasSubDept = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetName(v string) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.Name = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetPartnerNumber(v string) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.PartnerNumber = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetPartnerTypeInfoList(v []*SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.PartnerTypeInfoList = v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResult) SetSuperId(v int64) *SupplyChainQueryDeptInfoResponseBodyResult {
	s.SuperId = &v
	return s
}

type SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList struct {
	// example:
	//
	// 111
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 11111
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1111
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
	// example:
	//
	// 1111
	SuperName *string `json:"superName,omitempty" xml:"superName,omitempty"`
}

func (s SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) GoString() string {
	return s.String()
}

func (s *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) SetId(v int64) *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList {
	s.Id = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) SetName(v string) *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList {
	s.Name = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) SetSuperId(v int64) *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList {
	s.SuperId = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList) SetSuperName(v string) *SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList {
	s.SuperName = &v
	return s
}

type SupplyChainQueryDeptInfoResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyChainQueryDeptInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyChainQueryDeptInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainQueryDeptInfoResponse) GoString() string {
	return s.String()
}

func (s *SupplyChainQueryDeptInfoResponse) SetHeaders(v map[string]*string) *SupplyChainQueryDeptInfoResponse {
	s.Headers = v
	return s
}

func (s *SupplyChainQueryDeptInfoResponse) SetStatusCode(v int32) *SupplyChainQueryDeptInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyChainQueryDeptInfoResponse) SetBody(v *SupplyChainQueryDeptInfoResponseBody) *SupplyChainQueryDeptInfoResponse {
	s.Body = v
	return s
}

type SupplyChainUpdateDeptInfoHeaders 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 (s SupplyChainUpdateDeptInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainUpdateDeptInfoHeaders) GoString() string {
	return s.String()
}

func (s *SupplyChainUpdateDeptInfoHeaders) SetCommonHeaders(v map[string]*string) *SupplyChainUpdateDeptInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyChainUpdateDeptInfoHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyChainUpdateDeptInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyChainUpdateDeptInfoRequest struct {
	// example:
	//
	// 名称
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 123
	PartnerNumber   *string  `json:"partnerNumber,omitempty" xml:"partnerNumber,omitempty"`
	PartnerTypeList []*int64 `json:"partnerTypeList,omitempty" xml:"partnerTypeList,omitempty" type:"Repeated"`
	// example:
	//
	// 1231
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 576488112
	SupplyDeptId *int64 `json:"supplyDeptId,omitempty" xml:"supplyDeptId,omitempty"`
}

func (s SupplyChainUpdateDeptInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainUpdateDeptInfoRequest) GoString() string {
	return s.String()
}

func (s *SupplyChainUpdateDeptInfoRequest) SetName(v string) *SupplyChainUpdateDeptInfoRequest {
	s.Name = &v
	return s
}

func (s *SupplyChainUpdateDeptInfoRequest) SetPartnerNumber(v string) *SupplyChainUpdateDeptInfoRequest {
	s.PartnerNumber = &v
	return s
}

func (s *SupplyChainUpdateDeptInfoRequest) SetPartnerTypeList(v []*int64) *SupplyChainUpdateDeptInfoRequest {
	s.PartnerTypeList = v
	return s
}

func (s *SupplyChainUpdateDeptInfoRequest) SetSuperId(v int64) *SupplyChainUpdateDeptInfoRequest {
	s.SuperId = &v
	return s
}

func (s *SupplyChainUpdateDeptInfoRequest) SetSupplyDeptId(v int64) *SupplyChainUpdateDeptInfoRequest {
	s.SupplyDeptId = &v
	return s
}

type SupplyChainUpdateDeptInfoResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyChainUpdateDeptInfoResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainUpdateDeptInfoResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyChainUpdateDeptInfoResponseBody) SetResult(v bool) *SupplyChainUpdateDeptInfoResponseBody {
	s.Result = &v
	return s
}

type SupplyChainUpdateDeptInfoResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyChainUpdateDeptInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyChainUpdateDeptInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyChainUpdateDeptInfoResponse) GoString() string {
	return s.String()
}

func (s *SupplyChainUpdateDeptInfoResponse) SetHeaders(v map[string]*string) *SupplyChainUpdateDeptInfoResponse {
	s.Headers = v
	return s
}

func (s *SupplyChainUpdateDeptInfoResponse) SetStatusCode(v int32) *SupplyChainUpdateDeptInfoResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyChainUpdateDeptInfoResponse) SetBody(v *SupplyChainUpdateDeptInfoResponseBody) *SupplyChainUpdateDeptInfoResponse {
	s.Body = v
	return s
}

type SupplyDeleteMemberHeaders 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 (s SupplyDeleteMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteMemberHeaders) GoString() string {
	return s.String()
}

func (s *SupplyDeleteMemberHeaders) SetCommonHeaders(v map[string]*string) *SupplyDeleteMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyDeleteMemberHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyDeleteMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyDeleteMemberRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 13914772100
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// example:
	//
	// 01010
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 0101
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyDeleteMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteMemberRequest) GoString() string {
	return s.String()
}

func (s *SupplyDeleteMemberRequest) SetDeptId(v int64) *SupplyDeleteMemberRequest {
	s.DeptId = &v
	return s
}

func (s *SupplyDeleteMemberRequest) SetMobile(v string) *SupplyDeleteMemberRequest {
	s.Mobile = &v
	return s
}

func (s *SupplyDeleteMemberRequest) SetUnionId(v string) *SupplyDeleteMemberRequest {
	s.UnionId = &v
	return s
}

func (s *SupplyDeleteMemberRequest) SetUserId(v string) *SupplyDeleteMemberRequest {
	s.UserId = &v
	return s
}

type SupplyDeleteMemberResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyDeleteMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteMemberResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyDeleteMemberResponseBody) SetResult(v bool) *SupplyDeleteMemberResponseBody {
	s.Result = &v
	return s
}

type SupplyDeleteMemberResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyDeleteMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyDeleteMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteMemberResponse) GoString() string {
	return s.String()
}

func (s *SupplyDeleteMemberResponse) SetHeaders(v map[string]*string) *SupplyDeleteMemberResponse {
	s.Headers = v
	return s
}

func (s *SupplyDeleteMemberResponse) SetStatusCode(v int32) *SupplyDeleteMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyDeleteMemberResponse) SetBody(v *SupplyDeleteMemberResponseBody) *SupplyDeleteMemberResponse {
	s.Body = v
	return s
}

type SupplyDeletePartnerAdminsHeaders 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 (s SupplyDeletePartnerAdminsHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerAdminsHeaders) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerAdminsHeaders) SetCommonHeaders(v map[string]*string) *SupplyDeletePartnerAdminsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyDeletePartnerAdminsHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyDeletePartnerAdminsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyDeletePartnerAdminsRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyDeletePartnerAdminsRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerAdminsRequest) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerAdminsRequest) SetDeptId(v int64) *SupplyDeletePartnerAdminsRequest {
	s.DeptId = &v
	return s
}

func (s *SupplyDeletePartnerAdminsRequest) SetUserId(v string) *SupplyDeletePartnerAdminsRequest {
	s.UserId = &v
	return s
}

type SupplyDeletePartnerAdminsResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyDeletePartnerAdminsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerAdminsResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerAdminsResponseBody) SetResult(v bool) *SupplyDeletePartnerAdminsResponseBody {
	s.Result = &v
	return s
}

type SupplyDeletePartnerAdminsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyDeletePartnerAdminsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyDeletePartnerAdminsResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerAdminsResponse) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerAdminsResponse) SetHeaders(v map[string]*string) *SupplyDeletePartnerAdminsResponse {
	s.Headers = v
	return s
}

func (s *SupplyDeletePartnerAdminsResponse) SetStatusCode(v int32) *SupplyDeletePartnerAdminsResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyDeletePartnerAdminsResponse) SetBody(v *SupplyDeletePartnerAdminsResponseBody) *SupplyDeletePartnerAdminsResponse {
	s.Body = v
	return s
}

type SupplyDeletePartnerManagersHeaders 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 (s SupplyDeletePartnerManagersHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerManagersHeaders) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerManagersHeaders) SetCommonHeaders(v map[string]*string) *SupplyDeletePartnerManagersHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyDeletePartnerManagersHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyDeletePartnerManagersHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyDeletePartnerManagersRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1231
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 12131
	InterfaceId *string `json:"interfaceId,omitempty" xml:"interfaceId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// user
	InterfaceType *string `json:"interfaceType,omitempty" xml:"interfaceType,omitempty"`
}

func (s SupplyDeletePartnerManagersRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerManagersRequest) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerManagersRequest) SetDeptId(v int64) *SupplyDeletePartnerManagersRequest {
	s.DeptId = &v
	return s
}

func (s *SupplyDeletePartnerManagersRequest) SetInterfaceId(v string) *SupplyDeletePartnerManagersRequest {
	s.InterfaceId = &v
	return s
}

func (s *SupplyDeletePartnerManagersRequest) SetInterfaceType(v string) *SupplyDeletePartnerManagersRequest {
	s.InterfaceType = &v
	return s
}

type SupplyDeletePartnerManagersResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyDeletePartnerManagersResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerManagersResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerManagersResponseBody) SetResult(v bool) *SupplyDeletePartnerManagersResponseBody {
	s.Result = &v
	return s
}

type SupplyDeletePartnerManagersResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyDeletePartnerManagersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyDeletePartnerManagersResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerManagersResponse) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerManagersResponse) SetHeaders(v map[string]*string) *SupplyDeletePartnerManagersResponse {
	s.Headers = v
	return s
}

func (s *SupplyDeletePartnerManagersResponse) SetStatusCode(v int32) *SupplyDeletePartnerManagersResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyDeletePartnerManagersResponse) SetBody(v *SupplyDeletePartnerManagersResponseBody) *SupplyDeletePartnerManagersResponse {
	s.Body = v
	return s
}

type SupplyDeletePartnerTypeHeaders 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 (s SupplyDeletePartnerTypeHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerTypeHeaders) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerTypeHeaders) SetCommonHeaders(v map[string]*string) *SupplyDeletePartnerTypeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyDeletePartnerTypeHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyDeletePartnerTypeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyDeletePartnerTypeRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	LabelId *int64 `json:"labelId,omitempty" xml:"labelId,omitempty"`
}

func (s SupplyDeletePartnerTypeRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerTypeRequest) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerTypeRequest) SetLabelId(v int64) *SupplyDeletePartnerTypeRequest {
	s.LabelId = &v
	return s
}

type SupplyDeletePartnerTypeResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyDeletePartnerTypeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerTypeResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerTypeResponseBody) SetResult(v bool) *SupplyDeletePartnerTypeResponseBody {
	s.Result = &v
	return s
}

type SupplyDeletePartnerTypeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyDeletePartnerTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyDeletePartnerTypeResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeletePartnerTypeResponse) GoString() string {
	return s.String()
}

func (s *SupplyDeletePartnerTypeResponse) SetHeaders(v map[string]*string) *SupplyDeletePartnerTypeResponse {
	s.Headers = v
	return s
}

func (s *SupplyDeletePartnerTypeResponse) SetStatusCode(v int32) *SupplyDeletePartnerTypeResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyDeletePartnerTypeResponse) SetBody(v *SupplyDeletePartnerTypeResponseBody) *SupplyDeletePartnerTypeResponse {
	s.Body = v
	return s
}

type SupplyDeleteRoleHeaders 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 (s SupplyDeleteRoleHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteRoleHeaders) GoString() string {
	return s.String()
}

func (s *SupplyDeleteRoleHeaders) SetCommonHeaders(v map[string]*string) *SupplyDeleteRoleHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyDeleteRoleHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyDeleteRoleHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyDeleteRoleRequest struct {
	// This parameter is required.
	IsRoleGroup *bool `json:"isRoleGroup,omitempty" xml:"isRoleGroup,omitempty"`
	// This parameter is required.
	RoleId *string `json:"roleId,omitempty" xml:"roleId,omitempty"`
}

func (s SupplyDeleteRoleRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteRoleRequest) GoString() string {
	return s.String()
}

func (s *SupplyDeleteRoleRequest) SetIsRoleGroup(v bool) *SupplyDeleteRoleRequest {
	s.IsRoleGroup = &v
	return s
}

func (s *SupplyDeleteRoleRequest) SetRoleId(v string) *SupplyDeleteRoleRequest {
	s.RoleId = &v
	return s
}

type SupplyDeleteRoleResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyDeleteRoleResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteRoleResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyDeleteRoleResponseBody) SetResult(v bool) *SupplyDeleteRoleResponseBody {
	s.Result = &v
	return s
}

type SupplyDeleteRoleResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyDeleteRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyDeleteRoleResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyDeleteRoleResponse) GoString() string {
	return s.String()
}

func (s *SupplyDeleteRoleResponse) SetHeaders(v map[string]*string) *SupplyDeleteRoleResponse {
	s.Headers = v
	return s
}

func (s *SupplyDeleteRoleResponse) SetStatusCode(v int32) *SupplyDeleteRoleResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyDeleteRoleResponse) SetBody(v *SupplyDeleteRoleResponseBody) *SupplyDeleteRoleResponse {
	s.Body = v
	return s
}

type SupplyGetMemberHeaders 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 (s SupplyGetMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyGetMemberHeaders) GoString() string {
	return s.String()
}

func (s *SupplyGetMemberHeaders) SetCommonHeaders(v map[string]*string) *SupplyGetMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyGetMemberHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyGetMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyGetMemberRequest struct {
	// example:
	//
	// 19912345678
	Mobile  *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	UserId  *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyGetMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyGetMemberRequest) GoString() string {
	return s.String()
}

func (s *SupplyGetMemberRequest) SetMobile(v string) *SupplyGetMemberRequest {
	s.Mobile = &v
	return s
}

func (s *SupplyGetMemberRequest) SetUnionId(v string) *SupplyGetMemberRequest {
	s.UnionId = &v
	return s
}

func (s *SupplyGetMemberRequest) SetUserId(v string) *SupplyGetMemberRequest {
	s.UserId = &v
	return s
}

type SupplyGetMemberResponseBody struct {
	Result *SupplyGetMemberResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s SupplyGetMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyGetMemberResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyGetMemberResponseBody) SetResult(v *SupplyGetMemberResponseBodyResult) *SupplyGetMemberResponseBody {
	s.Result = v
	return s
}

type SupplyGetMemberResponseBodyResult struct {
	DeptIdList []*int64 `json:"deptIdList,omitempty" xml:"deptIdList,omitempty" type:"Repeated"`
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// example:
	//
	// true
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 李白
	MemberName *string `json:"memberName,omitempty" xml:"memberName,omitempty"`
	// example:
	//
	// 经理
	MemberTitle *string `json:"memberTitle,omitempty" xml:"memberTitle,omitempty"`
	// example:
	//
	// 123
	MemberWorkNumber *string                                          `json:"memberWorkNumber,omitempty" xml:"memberWorkNumber,omitempty"`
	RoleInfoList     []*SupplyGetMemberResponseBodyResultRoleInfoList `json:"roleInfoList,omitempty" xml:"roleInfoList,omitempty" type:"Repeated"`
	SupplyNodeList   []*int64                                         `json:"supplyNodeList,omitempty" xml:"supplyNodeList,omitempty" type:"Repeated"`
}

func (s SupplyGetMemberResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyGetMemberResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyGetMemberResponseBodyResult) SetDeptIdList(v []*int64) *SupplyGetMemberResponseBodyResult {
	s.DeptIdList = v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetDingMemberStatus(v string) *SupplyGetMemberResponseBodyResult {
	s.DingMemberStatus = &v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetIsActive(v bool) *SupplyGetMemberResponseBodyResult {
	s.IsActive = &v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetMemberName(v string) *SupplyGetMemberResponseBodyResult {
	s.MemberName = &v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetMemberTitle(v string) *SupplyGetMemberResponseBodyResult {
	s.MemberTitle = &v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetMemberWorkNumber(v string) *SupplyGetMemberResponseBodyResult {
	s.MemberWorkNumber = &v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetRoleInfoList(v []*SupplyGetMemberResponseBodyResultRoleInfoList) *SupplyGetMemberResponseBodyResult {
	s.RoleInfoList = v
	return s
}

func (s *SupplyGetMemberResponseBodyResult) SetSupplyNodeList(v []*int64) *SupplyGetMemberResponseBodyResult {
	s.SupplyNodeList = v
	return s
}

type SupplyGetMemberResponseBodyResultRoleInfoList struct {
	// example:
	//
	// 123
	RoleId *string `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// example:
	//
	// 老板
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
}

func (s SupplyGetMemberResponseBodyResultRoleInfoList) String() string {
	return tea.Prettify(s)
}

func (s SupplyGetMemberResponseBodyResultRoleInfoList) GoString() string {
	return s.String()
}

func (s *SupplyGetMemberResponseBodyResultRoleInfoList) SetRoleId(v string) *SupplyGetMemberResponseBodyResultRoleInfoList {
	s.RoleId = &v
	return s
}

func (s *SupplyGetMemberResponseBodyResultRoleInfoList) SetRoleName(v string) *SupplyGetMemberResponseBodyResultRoleInfoList {
	s.RoleName = &v
	return s
}

type SupplyGetMemberResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyGetMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyGetMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyGetMemberResponse) GoString() string {
	return s.String()
}

func (s *SupplyGetMemberResponse) SetHeaders(v map[string]*string) *SupplyGetMemberResponse {
	s.Headers = v
	return s
}

func (s *SupplyGetMemberResponse) SetStatusCode(v int32) *SupplyGetMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyGetMemberResponse) SetBody(v *SupplyGetMemberResponseBody) *SupplyGetMemberResponse {
	s.Body = v
	return s
}

type SupplyListDeptMembersHeaders 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 (s SupplyListDeptMembersHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyListDeptMembersHeaders) GoString() string {
	return s.String()
}

func (s *SupplyListDeptMembersHeaders) SetCommonHeaders(v map[string]*string) *SupplyListDeptMembersHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyListDeptMembersHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyListDeptMembersHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyListDeptMembersRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 100
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1111
	SupplyDeptId *int64 `json:"supplyDeptId,omitempty" xml:"supplyDeptId,omitempty"`
}

func (s SupplyListDeptMembersRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyListDeptMembersRequest) GoString() string {
	return s.String()
}

func (s *SupplyListDeptMembersRequest) SetPageNumber(v int64) *SupplyListDeptMembersRequest {
	s.PageNumber = &v
	return s
}

func (s *SupplyListDeptMembersRequest) SetPageSize(v int64) *SupplyListDeptMembersRequest {
	s.PageSize = &v
	return s
}

func (s *SupplyListDeptMembersRequest) SetSupplyDeptId(v int64) *SupplyListDeptMembersRequest {
	s.SupplyDeptId = &v
	return s
}

type SupplyListDeptMembersResponseBody struct {
	// example:
	//
	// true
	HasMore *bool                                    `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	List    []*SupplyListDeptMembersResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
}

func (s SupplyListDeptMembersResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyListDeptMembersResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyListDeptMembersResponseBody) SetHasMore(v bool) *SupplyListDeptMembersResponseBody {
	s.HasMore = &v
	return s
}

func (s *SupplyListDeptMembersResponseBody) SetList(v []*SupplyListDeptMembersResponseBodyList) *SupplyListDeptMembersResponseBody {
	s.List = v
	return s
}

type SupplyListDeptMembersResponseBodyList struct {
	// example:
	//
	// NORMAL
	DingMemberStatus *string `json:"dingMemberStatus,omitempty" xml:"dingMemberStatus,omitempty"`
	// example:
	//
	// true
	IsActive *bool `json:"isActive,omitempty" xml:"isActive,omitempty"`
	// example:
	//
	// 李白
	MemberName *string `json:"memberName,omitempty" xml:"memberName,omitempty"`
	// example:
	//
	// 经理
	MemberTitle *string `json:"memberTitle,omitempty" xml:"memberTitle,omitempty"`
	// example:
	//
	// 123
	MemberWorkNumber *string `json:"memberWorkNumber,omitempty" xml:"memberWorkNumber,omitempty"`
	// example:
	//
	// 123abc
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 123344
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyListDeptMembersResponseBodyList) String() string {
	return tea.Prettify(s)
}

func (s SupplyListDeptMembersResponseBodyList) GoString() string {
	return s.String()
}

func (s *SupplyListDeptMembersResponseBodyList) SetDingMemberStatus(v string) *SupplyListDeptMembersResponseBodyList {
	s.DingMemberStatus = &v
	return s
}

func (s *SupplyListDeptMembersResponseBodyList) SetIsActive(v bool) *SupplyListDeptMembersResponseBodyList {
	s.IsActive = &v
	return s
}

func (s *SupplyListDeptMembersResponseBodyList) SetMemberName(v string) *SupplyListDeptMembersResponseBodyList {
	s.MemberName = &v
	return s
}

func (s *SupplyListDeptMembersResponseBodyList) SetMemberTitle(v string) *SupplyListDeptMembersResponseBodyList {
	s.MemberTitle = &v
	return s
}

func (s *SupplyListDeptMembersResponseBodyList) SetMemberWorkNumber(v string) *SupplyListDeptMembersResponseBodyList {
	s.MemberWorkNumber = &v
	return s
}

func (s *SupplyListDeptMembersResponseBodyList) SetUnionId(v string) *SupplyListDeptMembersResponseBodyList {
	s.UnionId = &v
	return s
}

func (s *SupplyListDeptMembersResponseBodyList) SetUserId(v string) *SupplyListDeptMembersResponseBodyList {
	s.UserId = &v
	return s
}

type SupplyListDeptMembersResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyListDeptMembersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyListDeptMembersResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyListDeptMembersResponse) GoString() string {
	return s.String()
}

func (s *SupplyListDeptMembersResponse) SetHeaders(v map[string]*string) *SupplyListDeptMembersResponse {
	s.Headers = v
	return s
}

func (s *SupplyListDeptMembersResponse) SetStatusCode(v int32) *SupplyListDeptMembersResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyListDeptMembersResponse) SetBody(v *SupplyListDeptMembersResponseBody) *SupplyListDeptMembersResponse {
	s.Body = v
	return s
}

type SupplyListPartnerAdminsHeaders 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 (s SupplyListPartnerAdminsHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerAdminsHeaders) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerAdminsHeaders) SetCommonHeaders(v map[string]*string) *SupplyListPartnerAdminsHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyListPartnerAdminsHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyListPartnerAdminsHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyListPartnerAdminsRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 56781123
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s SupplyListPartnerAdminsRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerAdminsRequest) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerAdminsRequest) SetDeptId(v int64) *SupplyListPartnerAdminsRequest {
	s.DeptId = &v
	return s
}

type SupplyListPartnerAdminsResponseBody struct {
	Result []*SupplyListPartnerAdminsResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s SupplyListPartnerAdminsResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerAdminsResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerAdminsResponseBody) SetResult(v []*SupplyListPartnerAdminsResponseBodyResult) *SupplyListPartnerAdminsResponseBody {
	s.Result = v
	return s
}

type SupplyListPartnerAdminsResponseBodyResult struct {
	// example:
	//
	// 负责人名称
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 99292111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 8782166278711
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyListPartnerAdminsResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerAdminsResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerAdminsResponseBodyResult) SetName(v string) *SupplyListPartnerAdminsResponseBodyResult {
	s.Name = &v
	return s
}

func (s *SupplyListPartnerAdminsResponseBodyResult) SetUnionId(v string) *SupplyListPartnerAdminsResponseBodyResult {
	s.UnionId = &v
	return s
}

func (s *SupplyListPartnerAdminsResponseBodyResult) SetUserId(v string) *SupplyListPartnerAdminsResponseBodyResult {
	s.UserId = &v
	return s
}

type SupplyListPartnerAdminsResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyListPartnerAdminsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyListPartnerAdminsResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerAdminsResponse) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerAdminsResponse) SetHeaders(v map[string]*string) *SupplyListPartnerAdminsResponse {
	s.Headers = v
	return s
}

func (s *SupplyListPartnerAdminsResponse) SetStatusCode(v int32) *SupplyListPartnerAdminsResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyListPartnerAdminsResponse) SetBody(v *SupplyListPartnerAdminsResponseBody) *SupplyListPartnerAdminsResponse {
	s.Body = v
	return s
}

type SupplyListPartnerManagersHeaders 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 (s SupplyListPartnerManagersHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerManagersHeaders) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerManagersHeaders) SetCommonHeaders(v map[string]*string) *SupplyListPartnerManagersHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyListPartnerManagersHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyListPartnerManagersHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyListPartnerManagersRequest struct {
	// example:
	//
	// 56781233
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
}

func (s SupplyListPartnerManagersRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerManagersRequest) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerManagersRequest) SetDeptId(v int64) *SupplyListPartnerManagersRequest {
	s.DeptId = &v
	return s
}

type SupplyListPartnerManagersResponseBody struct {
	Result []*SupplyListPartnerManagersResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s SupplyListPartnerManagersResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerManagersResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerManagersResponseBody) SetResult(v []*SupplyListPartnerManagersResponseBodyResult) *SupplyListPartnerManagersResponseBody {
	s.Result = v
	return s
}

type SupplyListPartnerManagersResponseBodyResult struct {
	// example:
	//
	// 56789123
	DeptId *string `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// 对接部门名称
	DeptName *string `json:"deptName,omitempty" xml:"deptName,omitempty"`
	// example:
	//
	// user
	InterfaceType *string `json:"interfaceType,omitempty" xml:"interfaceType,omitempty"`
	// example:
	//
	// 121234567
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
	// example:
	//
	// 名称
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (s SupplyListPartnerManagersResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerManagersResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerManagersResponseBodyResult) SetDeptId(v string) *SupplyListPartnerManagersResponseBodyResult {
	s.DeptId = &v
	return s
}

func (s *SupplyListPartnerManagersResponseBodyResult) SetDeptName(v string) *SupplyListPartnerManagersResponseBodyResult {
	s.DeptName = &v
	return s
}

func (s *SupplyListPartnerManagersResponseBodyResult) SetInterfaceType(v string) *SupplyListPartnerManagersResponseBodyResult {
	s.InterfaceType = &v
	return s
}

func (s *SupplyListPartnerManagersResponseBodyResult) SetUserId(v string) *SupplyListPartnerManagersResponseBodyResult {
	s.UserId = &v
	return s
}

func (s *SupplyListPartnerManagersResponseBodyResult) SetUserName(v string) *SupplyListPartnerManagersResponseBodyResult {
	s.UserName = &v
	return s
}

type SupplyListPartnerManagersResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyListPartnerManagersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyListPartnerManagersResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerManagersResponse) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerManagersResponse) SetHeaders(v map[string]*string) *SupplyListPartnerManagersResponse {
	s.Headers = v
	return s
}

func (s *SupplyListPartnerManagersResponse) SetStatusCode(v int32) *SupplyListPartnerManagersResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyListPartnerManagersResponse) SetBody(v *SupplyListPartnerManagersResponseBody) *SupplyListPartnerManagersResponse {
	s.Body = v
	return s
}

type SupplyListPartnerTypeHeaders 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 (s SupplyListPartnerTypeHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerTypeHeaders) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerTypeHeaders) SetCommonHeaders(v map[string]*string) *SupplyListPartnerTypeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyListPartnerTypeHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyListPartnerTypeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyListPartnerTypeRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	LabelId *int64 `json:"labelId,omitempty" xml:"labelId,omitempty"`
}

func (s SupplyListPartnerTypeRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerTypeRequest) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerTypeRequest) SetLabelId(v int64) *SupplyListPartnerTypeRequest {
	s.LabelId = &v
	return s
}

type SupplyListPartnerTypeResponseBody struct {
	Result []*SupplyListPartnerTypeResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s SupplyListPartnerTypeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerTypeResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerTypeResponseBody) SetResult(v []*SupplyListPartnerTypeResponseBodyResult) *SupplyListPartnerTypeResponseBody {
	s.Result = v
	return s
}

type SupplyListPartnerTypeResponseBodyResult struct {
	// example:
	//
	// 10
	LabelId *int64 `json:"labelId,omitempty" xml:"labelId,omitempty"`
	// example:
	//
	// 标签1
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s SupplyListPartnerTypeResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerTypeResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerTypeResponseBodyResult) SetLabelId(v int64) *SupplyListPartnerTypeResponseBodyResult {
	s.LabelId = &v
	return s
}

func (s *SupplyListPartnerTypeResponseBodyResult) SetName(v string) *SupplyListPartnerTypeResponseBodyResult {
	s.Name = &v
	return s
}

func (s *SupplyListPartnerTypeResponseBodyResult) SetSuperId(v int64) *SupplyListPartnerTypeResponseBodyResult {
	s.SuperId = &v
	return s
}

type SupplyListPartnerTypeResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyListPartnerTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyListPartnerTypeResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyListPartnerTypeResponse) GoString() string {
	return s.String()
}

func (s *SupplyListPartnerTypeResponse) SetHeaders(v map[string]*string) *SupplyListPartnerTypeResponse {
	s.Headers = v
	return s
}

func (s *SupplyListPartnerTypeResponse) SetStatusCode(v int32) *SupplyListPartnerTypeResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyListPartnerTypeResponse) SetBody(v *SupplyListPartnerTypeResponseBody) *SupplyListPartnerTypeResponse {
	s.Body = v
	return s
}

type SupplyListRoleHeaders 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 (s SupplyListRoleHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyListRoleHeaders) GoString() string {
	return s.String()
}

func (s *SupplyListRoleHeaders) SetCommonHeaders(v map[string]*string) *SupplyListRoleHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyListRoleHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyListRoleHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyListRoleRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 123
	ParentRoleId *string `json:"parentRoleId,omitempty" xml:"parentRoleId,omitempty"`
}

func (s SupplyListRoleRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyListRoleRequest) GoString() string {
	return s.String()
}

func (s *SupplyListRoleRequest) SetParentRoleId(v string) *SupplyListRoleRequest {
	s.ParentRoleId = &v
	return s
}

type SupplyListRoleResponseBody struct {
	Result []*SupplyListRoleResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s SupplyListRoleResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyListRoleResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyListRoleResponseBody) SetResult(v []*SupplyListRoleResponseBodyResult) *SupplyListRoleResponseBody {
	s.Result = v
	return s
}

type SupplyListRoleResponseBodyResult struct {
	IsRoleGroup *bool `json:"isRoleGroup,omitempty" xml:"isRoleGroup,omitempty"`
	// example:
	//
	// 123
	RoleId *string `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// example:
	//
	// 老板
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
}

func (s SupplyListRoleResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyListRoleResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyListRoleResponseBodyResult) SetIsRoleGroup(v bool) *SupplyListRoleResponseBodyResult {
	s.IsRoleGroup = &v
	return s
}

func (s *SupplyListRoleResponseBodyResult) SetRoleId(v string) *SupplyListRoleResponseBodyResult {
	s.RoleId = &v
	return s
}

func (s *SupplyListRoleResponseBodyResult) SetRoleName(v string) *SupplyListRoleResponseBodyResult {
	s.RoleName = &v
	return s
}

type SupplyListRoleResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyListRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyListRoleResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyListRoleResponse) GoString() string {
	return s.String()
}

func (s *SupplyListRoleResponse) SetHeaders(v map[string]*string) *SupplyListRoleResponse {
	s.Headers = v
	return s
}

func (s *SupplyListRoleResponse) SetStatusCode(v int32) *SupplyListRoleResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyListRoleResponse) SetBody(v *SupplyListRoleResponseBody) *SupplyListRoleResponse {
	s.Body = v
	return s
}

type SupplyListSubDeptHeaders 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 (s SupplyListSubDeptHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyListSubDeptHeaders) GoString() string {
	return s.String()
}

func (s *SupplyListSubDeptHeaders) SetCommonHeaders(v map[string]*string) *SupplyListSubDeptHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyListSubDeptHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyListSubDeptHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyListSubDeptRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1111
	SupplyDeptId *int64 `json:"supplyDeptId,omitempty" xml:"supplyDeptId,omitempty"`
}

func (s SupplyListSubDeptRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyListSubDeptRequest) GoString() string {
	return s.String()
}

func (s *SupplyListSubDeptRequest) SetSupplyDeptId(v int64) *SupplyListSubDeptRequest {
	s.SupplyDeptId = &v
	return s
}

type SupplyListSubDeptResponseBody struct {
	Result []*SupplyListSubDeptResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (s SupplyListSubDeptResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyListSubDeptResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyListSubDeptResponseBody) SetResult(v []*SupplyListSubDeptResponseBodyResult) *SupplyListSubDeptResponseBody {
	s.Result = v
	return s
}

type SupplyListSubDeptResponseBodyResult struct {
	// example:
	//
	// 1111
	DeptId *int64 `json:"deptId,omitempty" xml:"deptId,omitempty"`
	// example:
	//
	// ROOT
	DeptType   *string `json:"deptType,omitempty" xml:"deptType,omitempty"`
	HasSubDept *bool   `json:"hasSubDept,omitempty" xml:"hasSubDept,omitempty"`
	// example:
	//
	// xxxx 有限公司
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 111111
	PartnerNumber       *string                                                   `json:"partnerNumber,omitempty" xml:"partnerNumber,omitempty"`
	PartnerTypeInfoList []*SupplyListSubDeptResponseBodyResultPartnerTypeInfoList `json:"partnerTypeInfoList,omitempty" xml:"partnerTypeInfoList,omitempty" type:"Repeated"`
	// example:
	//
	// 1111
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s SupplyListSubDeptResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyListSubDeptResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyListSubDeptResponseBodyResult) SetDeptId(v int64) *SupplyListSubDeptResponseBodyResult {
	s.DeptId = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResult) SetDeptType(v string) *SupplyListSubDeptResponseBodyResult {
	s.DeptType = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResult) SetHasSubDept(v bool) *SupplyListSubDeptResponseBodyResult {
	s.HasSubDept = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResult) SetName(v string) *SupplyListSubDeptResponseBodyResult {
	s.Name = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResult) SetPartnerNumber(v string) *SupplyListSubDeptResponseBodyResult {
	s.PartnerNumber = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResult) SetPartnerTypeInfoList(v []*SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) *SupplyListSubDeptResponseBodyResult {
	s.PartnerTypeInfoList = v
	return s
}

func (s *SupplyListSubDeptResponseBodyResult) SetSuperId(v int64) *SupplyListSubDeptResponseBodyResult {
	s.SuperId = &v
	return s
}

type SupplyListSubDeptResponseBodyResultPartnerTypeInfoList struct {
	// example:
	//
	// 111
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// example:
	//
	// 11111
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1111
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
	// example:
	//
	// 1111
	SuperName *string `json:"superName,omitempty" xml:"superName,omitempty"`
}

func (s SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) String() string {
	return tea.Prettify(s)
}

func (s SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) GoString() string {
	return s.String()
}

func (s *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) SetId(v int64) *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList {
	s.Id = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) SetName(v string) *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList {
	s.Name = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) SetSuperId(v int64) *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList {
	s.SuperId = &v
	return s
}

func (s *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList) SetSuperName(v string) *SupplyListSubDeptResponseBodyResultPartnerTypeInfoList {
	s.SuperName = &v
	return s
}

type SupplyListSubDeptResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyListSubDeptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyListSubDeptResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyListSubDeptResponse) GoString() string {
	return s.String()
}

func (s *SupplyListSubDeptResponse) SetHeaders(v map[string]*string) *SupplyListSubDeptResponse {
	s.Headers = v
	return s
}

func (s *SupplyListSubDeptResponse) SetStatusCode(v int32) *SupplyListSubDeptResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyListSubDeptResponse) SetBody(v *SupplyListSubDeptResponseBody) *SupplyListSubDeptResponse {
	s.Body = v
	return s
}

type SupplyQueryPartnerTypeHeaders 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 (s SupplyQueryPartnerTypeHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyQueryPartnerTypeHeaders) GoString() string {
	return s.String()
}

func (s *SupplyQueryPartnerTypeHeaders) SetCommonHeaders(v map[string]*string) *SupplyQueryPartnerTypeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyQueryPartnerTypeHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyQueryPartnerTypeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyQueryPartnerTypeRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	LabelId *int64 `json:"labelId,omitempty" xml:"labelId,omitempty"`
}

func (s SupplyQueryPartnerTypeRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyQueryPartnerTypeRequest) GoString() string {
	return s.String()
}

func (s *SupplyQueryPartnerTypeRequest) SetLabelId(v int64) *SupplyQueryPartnerTypeRequest {
	s.LabelId = &v
	return s
}

type SupplyQueryPartnerTypeResponseBody struct {
	Result *SupplyQueryPartnerTypeResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (s SupplyQueryPartnerTypeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyQueryPartnerTypeResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyQueryPartnerTypeResponseBody) SetResult(v *SupplyQueryPartnerTypeResponseBodyResult) *SupplyQueryPartnerTypeResponseBody {
	s.Result = v
	return s
}

type SupplyQueryPartnerTypeResponseBodyResult struct {
	// example:
	//
	// 21
	LabelId *int64 `json:"labelId,omitempty" xml:"labelId,omitempty"`
	// example:
	//
	// 标签1
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 1
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s SupplyQueryPartnerTypeResponseBodyResult) String() string {
	return tea.Prettify(s)
}

func (s SupplyQueryPartnerTypeResponseBodyResult) GoString() string {
	return s.String()
}

func (s *SupplyQueryPartnerTypeResponseBodyResult) SetLabelId(v int64) *SupplyQueryPartnerTypeResponseBodyResult {
	s.LabelId = &v
	return s
}

func (s *SupplyQueryPartnerTypeResponseBodyResult) SetName(v string) *SupplyQueryPartnerTypeResponseBodyResult {
	s.Name = &v
	return s
}

func (s *SupplyQueryPartnerTypeResponseBodyResult) SetSuperId(v int64) *SupplyQueryPartnerTypeResponseBodyResult {
	s.SuperId = &v
	return s
}

type SupplyQueryPartnerTypeResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyQueryPartnerTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyQueryPartnerTypeResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyQueryPartnerTypeResponse) GoString() string {
	return s.String()
}

func (s *SupplyQueryPartnerTypeResponse) SetHeaders(v map[string]*string) *SupplyQueryPartnerTypeResponse {
	s.Headers = v
	return s
}

func (s *SupplyQueryPartnerTypeResponse) SetStatusCode(v int32) *SupplyQueryPartnerTypeResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyQueryPartnerTypeResponse) SetBody(v *SupplyQueryPartnerTypeResponseBody) *SupplyQueryPartnerTypeResponse {
	s.Body = v
	return s
}

type SupplyUpdateMemberHeaders 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 (s SupplyUpdateMemberHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateMemberHeaders) GoString() string {
	return s.String()
}

func (s *SupplyUpdateMemberHeaders) SetCommonHeaders(v map[string]*string) *SupplyUpdateMemberHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyUpdateMemberHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyUpdateMemberHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyUpdateMemberRequest struct {
	// This parameter is required.
	IsCopyDept *bool `json:"isCopyDept,omitempty" xml:"isCopyDept,omitempty"`
	// example:
	//
	// 财务
	MemberTitle *string `json:"memberTitle,omitempty" xml:"memberTitle,omitempty"`
	// example:
	//
	// 121212
	MemberWorkNumber *string `json:"memberWorkNumber,omitempty" xml:"memberWorkNumber,omitempty"`
	// example:
	//
	// 13914772100
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 11
	NewDeptId *int64 `json:"newDeptId,omitempty" xml:"newDeptId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 111
	OldDeptId  *int64    `json:"oldDeptId,omitempty" xml:"oldDeptId,omitempty"`
	RoleIdList []*string `json:"roleIdList,omitempty" xml:"roleIdList,omitempty" type:"Repeated"`
	// example:
	//
	// 111
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// example:
	//
	// 1212
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (s SupplyUpdateMemberRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateMemberRequest) GoString() string {
	return s.String()
}

func (s *SupplyUpdateMemberRequest) SetIsCopyDept(v bool) *SupplyUpdateMemberRequest {
	s.IsCopyDept = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetMemberTitle(v string) *SupplyUpdateMemberRequest {
	s.MemberTitle = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetMemberWorkNumber(v string) *SupplyUpdateMemberRequest {
	s.MemberWorkNumber = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetMobile(v string) *SupplyUpdateMemberRequest {
	s.Mobile = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetNewDeptId(v int64) *SupplyUpdateMemberRequest {
	s.NewDeptId = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetOldDeptId(v int64) *SupplyUpdateMemberRequest {
	s.OldDeptId = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetRoleIdList(v []*string) *SupplyUpdateMemberRequest {
	s.RoleIdList = v
	return s
}

func (s *SupplyUpdateMemberRequest) SetUnionId(v string) *SupplyUpdateMemberRequest {
	s.UnionId = &v
	return s
}

func (s *SupplyUpdateMemberRequest) SetUserId(v string) *SupplyUpdateMemberRequest {
	s.UserId = &v
	return s
}

type SupplyUpdateMemberResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyUpdateMemberResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateMemberResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyUpdateMemberResponseBody) SetResult(v bool) *SupplyUpdateMemberResponseBody {
	s.Result = &v
	return s
}

type SupplyUpdateMemberResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyUpdateMemberResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyUpdateMemberResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateMemberResponse) GoString() string {
	return s.String()
}

func (s *SupplyUpdateMemberResponse) SetHeaders(v map[string]*string) *SupplyUpdateMemberResponse {
	s.Headers = v
	return s
}

func (s *SupplyUpdateMemberResponse) SetStatusCode(v int32) *SupplyUpdateMemberResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyUpdateMemberResponse) SetBody(v *SupplyUpdateMemberResponseBody) *SupplyUpdateMemberResponse {
	s.Body = v
	return s
}

type SupplyUpdatePartnerTypeHeaders 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 (s SupplyUpdatePartnerTypeHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdatePartnerTypeHeaders) GoString() string {
	return s.String()
}

func (s *SupplyUpdatePartnerTypeHeaders) SetCommonHeaders(v map[string]*string) *SupplyUpdatePartnerTypeHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyUpdatePartnerTypeHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyUpdatePartnerTypeHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyUpdatePartnerTypeRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 1
	LabelId *int64 `json:"labelId,omitempty" xml:"labelId,omitempty"`
	// example:
	//
	// 标签名称
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// example:
	//
	// 862
	SuperId *int64 `json:"superId,omitempty" xml:"superId,omitempty"`
}

func (s SupplyUpdatePartnerTypeRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdatePartnerTypeRequest) GoString() string {
	return s.String()
}

func (s *SupplyUpdatePartnerTypeRequest) SetLabelId(v int64) *SupplyUpdatePartnerTypeRequest {
	s.LabelId = &v
	return s
}

func (s *SupplyUpdatePartnerTypeRequest) SetName(v string) *SupplyUpdatePartnerTypeRequest {
	s.Name = &v
	return s
}

func (s *SupplyUpdatePartnerTypeRequest) SetSuperId(v int64) *SupplyUpdatePartnerTypeRequest {
	s.SuperId = &v
	return s
}

type SupplyUpdatePartnerTypeResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyUpdatePartnerTypeResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdatePartnerTypeResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyUpdatePartnerTypeResponseBody) SetResult(v bool) *SupplyUpdatePartnerTypeResponseBody {
	s.Result = &v
	return s
}

type SupplyUpdatePartnerTypeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyUpdatePartnerTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyUpdatePartnerTypeResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdatePartnerTypeResponse) GoString() string {
	return s.String()
}

func (s *SupplyUpdatePartnerTypeResponse) SetHeaders(v map[string]*string) *SupplyUpdatePartnerTypeResponse {
	s.Headers = v
	return s
}

func (s *SupplyUpdatePartnerTypeResponse) SetStatusCode(v int32) *SupplyUpdatePartnerTypeResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyUpdatePartnerTypeResponse) SetBody(v *SupplyUpdatePartnerTypeResponseBody) *SupplyUpdatePartnerTypeResponse {
	s.Body = v
	return s
}

type SupplyUpdateRoleHeaders 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 (s SupplyUpdateRoleHeaders) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateRoleHeaders) GoString() string {
	return s.String()
}

func (s *SupplyUpdateRoleHeaders) SetCommonHeaders(v map[string]*string) *SupplyUpdateRoleHeaders {
	s.CommonHeaders = v
	return s
}

func (s *SupplyUpdateRoleHeaders) SetXAcsDingtalkAccessToken(v string) *SupplyUpdateRoleHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type SupplyUpdateRoleRequest struct {
	// This parameter is required.
	IsRoleGroup *bool `json:"isRoleGroup,omitempty" xml:"isRoleGroup,omitempty"`
	// This parameter is required.
	RoleId *string `json:"roleId,omitempty" xml:"roleId,omitempty"`
	// This parameter is required.
	RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
}

func (s SupplyUpdateRoleRequest) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateRoleRequest) GoString() string {
	return s.String()
}

func (s *SupplyUpdateRoleRequest) SetIsRoleGroup(v bool) *SupplyUpdateRoleRequest {
	s.IsRoleGroup = &v
	return s
}

func (s *SupplyUpdateRoleRequest) SetRoleId(v string) *SupplyUpdateRoleRequest {
	s.RoleId = &v
	return s
}

func (s *SupplyUpdateRoleRequest) SetRoleName(v string) *SupplyUpdateRoleRequest {
	s.RoleName = &v
	return s
}

type SupplyUpdateRoleResponseBody struct {
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (s SupplyUpdateRoleResponseBody) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateRoleResponseBody) GoString() string {
	return s.String()
}

func (s *SupplyUpdateRoleResponseBody) SetResult(v bool) *SupplyUpdateRoleResponseBody {
	s.Result = &v
	return s
}

type SupplyUpdateRoleResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SupplyUpdateRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s SupplyUpdateRoleResponse) String() string {
	return tea.Prettify(s)
}

func (s SupplyUpdateRoleResponse) GoString() string {
	return s.String()
}

func (s *SupplyUpdateRoleResponse) SetHeaders(v map[string]*string) *SupplyUpdateRoleResponse {
	s.Headers = v
	return s
}

func (s *SupplyUpdateRoleResponse) SetStatusCode(v int32) *SupplyUpdateRoleResponse {
	s.StatusCode = &v
	return s
}

func (s *SupplyUpdateRoleResponse) SetBody(v *SupplyUpdateRoleResponseBody) *SupplyUpdateRoleResponse {
	s.Body = v
	return s
}

type UpdateUserExtendInfoHeaders 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 (s UpdateUserExtendInfoHeaders) String() string {
	return tea.Prettify(s)
}

func (s UpdateUserExtendInfoHeaders) GoString() string {
	return s.String()
}

func (s *UpdateUserExtendInfoHeaders) SetCommonHeaders(v map[string]*string) *UpdateUserExtendInfoHeaders {
	s.CommonHeaders = v
	return s
}

func (s *UpdateUserExtendInfoHeaders) SetXAcsDingtalkAccessToken(v string) *UpdateUserExtendInfoHeaders {
	s.XAcsDingtalkAccessToken = &v
	return s
}

type UpdateUserExtendInfoRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 备注, 当jobStatusCode为其他(0)时, 需要通过该字段补充状态
	Comments *string `json:"comments,omitempty" xml:"comments,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	JobCode       *string   `json:"jobCode,omitempty" xml:"jobCode,omitempty"`
	JobStatusCode []*string `json:"jobStatusCode,omitempty" xml:"jobStatusCode,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	UserProbCode *string `json:"userProbCode,omitempty" xml:"userProbCode,omitempty"`
}

func (s UpdateUserExtendInfoRequest) String() string {
	return tea.Prettify(s)
}

func (s UpdateUserExtendInfoRequest) GoString() string {
	return s.String()
}

func (s *UpdateUserExtendInfoRequest) SetComments(v string) *UpdateUserExtendInfoRequest {
	s.Comments = &v
	return s
}

func (s *UpdateUserExtendInfoRequest) SetJobCode(v string) *UpdateUserExtendInfoRequest {
	s.JobCode = &v
	return s
}

func (s *UpdateUserExtendInfoRequest) SetJobStatusCode(v []*string) *UpdateUserExtendInfoRequest {
	s.JobStatusCode = v
	return s
}

func (s *UpdateUserExtendInfoRequest) SetUserProbCode(v string) *UpdateUserExtendInfoRequest {
	s.UserProbCode = &v
	return s
}

type UpdateUserExtendInfoResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (s UpdateUserExtendInfoResponse) String() string {
	return tea.Prettify(s)
}

func (s UpdateUserExtendInfoResponse) GoString() string {
	return s.String()
}

func (s *UpdateUserExtendInfoResponse) SetHeaders(v map[string]*string) *UpdateUserExtendInfoResponse {
	s.Headers = v
	return s
}

func (s *UpdateUserExtendInfoResponse) SetStatusCode(v int32) *UpdateUserExtendInfoResponse {
	s.StatusCode = &v
	return s
}

type Client struct {
	openapi.Client
}

func NewClient(config *openapi.Config) (*Client, error) {
	client := new(Client)
	err := client.Init(config)
	return client, err
}

func (client *Client) Init(config *openapi.Config) (_err error) {
	_err = client.Client.Init(config)
	if _err != nil {
		return _err
	}
	gatewayClient, _err := gatewayclient.NewClient()
	if _err != nil {
		return _err
	}

	client.Spi = gatewayClient
	client.EndpointRule = tea.String("")
	if tea.BoolValue(util.Empty(client.Endpoint)) {
		client.Endpoint = tea.String("api.dingtalk.com")
	}

	return nil
}

// Summary:
//
// 新增商品
//
// @param request - AiRetailProductAddRequest
//
// @param headers - AiRetailProductAddHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return AiRetailProductAddResponse
func (client *Client) AiRetailProductAddWithOptions(request *AiRetailProductAddRequest, headers *AiRetailProductAddHeaders, runtime *util.RuntimeOptions) (_result *AiRetailProductAddResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Attribute)) {
		body["attribute"] = request.Attribute
	}

	if !tea.BoolValue(util.IsUnset(request.Barcodes)) {
		body["barcodes"] = request.Barcodes
	}

	if !tea.BoolValue(util.IsUnset(request.Brand)) {
		body["brand"] = request.Brand
	}

	if !tea.BoolValue(util.IsUnset(request.Category)) {
		body["category"] = request.Category
	}

	if !tea.BoolValue(util.IsUnset(request.ImageFileIds)) {
		body["imageFileIds"] = request.ImageFileIds
	}

	if !tea.BoolValue(util.IsUnset(request.ItemNumbers)) {
		body["itemNumbers"] = request.ItemNumbers
	}

	if !tea.BoolValue(util.IsUnset(request.Price)) {
		body["price"] = request.Price
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductFab)) {
		body["productFab"] = request.ProductFab
	}

	if !tea.BoolValue(util.IsUnset(request.ProductInfo)) {
		body["productInfo"] = request.ProductInfo
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("AiRetailProductAdd"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/retail/product/add"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &AiRetailProductAddResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 新增商品
//
// @param request - AiRetailProductAddRequest
//
// @return AiRetailProductAddResponse
func (client *Client) AiRetailProductAdd(request *AiRetailProductAddRequest) (_result *AiRetailProductAddResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &AiRetailProductAddHeaders{}
	_result = &AiRetailProductAddResponse{}
	_body, _err := client.AiRetailProductAddWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除商品
//
// @param request - AiRetailProductDeleteRequest
//
// @param headers - AiRetailProductDeleteHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return AiRetailProductDeleteResponse
func (client *Client) AiRetailProductDeleteWithOptions(request *AiRetailProductDeleteRequest, headers *AiRetailProductDeleteHeaders, runtime *util.RuntimeOptions) (_result *AiRetailProductDeleteResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ProductId)) {
		body["productId"] = request.ProductId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("AiRetailProductDelete"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/retail/product/delete"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("boolean"),
	}
	_result = &AiRetailProductDeleteResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除商品
//
// @param request - AiRetailProductDeleteRequest
//
// @return AiRetailProductDeleteResponse
func (client *Client) AiRetailProductDelete(request *AiRetailProductDeleteRequest) (_result *AiRetailProductDeleteResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &AiRetailProductDeleteHeaders{}
	_result = &AiRetailProductDeleteResponse{}
	_body, _err := client.AiRetailProductDeleteWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 商品图片上传
//
// @param request - AiRetailProductImgUploadRequest
//
// @param headers - AiRetailProductImgUploadHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return AiRetailProductImgUploadResponse
func (client *Client) AiRetailProductImgUploadWithOptions(request *AiRetailProductImgUploadRequest, headers *AiRetailProductImgUploadHeaders, runtime *util.RuntimeOptions) (_result *AiRetailProductImgUploadResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizCode)) {
		body["bizCode"] = request.BizCode
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("AiRetailProductImgUpload"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/retail/product/image/upload"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &AiRetailProductImgUploadResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 商品图片上传
//
// @param request - AiRetailProductImgUploadRequest
//
// @return AiRetailProductImgUploadResponse
func (client *Client) AiRetailProductImgUpload(request *AiRetailProductImgUploadRequest) (_result *AiRetailProductImgUploadResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &AiRetailProductImgUploadHeaders{}
	_result = &AiRetailProductImgUploadResponse{}
	_body, _err := client.AiRetailProductImgUploadWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询商品
//
// @param request - AiRetailProductQueryRequest
//
// @param headers - AiRetailProductQueryHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return AiRetailProductQueryResponse
func (client *Client) AiRetailProductQueryWithOptions(request *AiRetailProductQueryRequest, headers *AiRetailProductQueryHeaders, runtime *util.RuntimeOptions) (_result *AiRetailProductQueryResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		query["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductId)) {
		query["productId"] = request.ProductId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("AiRetailProductQuery"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/retail/product/query"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &AiRetailProductQueryResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询商品
//
// @param request - AiRetailProductQueryRequest
//
// @return AiRetailProductQueryResponse
func (client *Client) AiRetailProductQuery(request *AiRetailProductQueryRequest) (_result *AiRetailProductQueryResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &AiRetailProductQueryHeaders{}
	_result = &AiRetailProductQueryResponse{}
	_body, _err := client.AiRetailProductQueryWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新商品
//
// @param request - AiRetailProductUpdateRequest
//
// @param headers - AiRetailProductUpdateHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return AiRetailProductUpdateResponse
func (client *Client) AiRetailProductUpdateWithOptions(request *AiRetailProductUpdateRequest, headers *AiRetailProductUpdateHeaders, runtime *util.RuntimeOptions) (_result *AiRetailProductUpdateResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Attribute)) {
		body["attribute"] = request.Attribute
	}

	if !tea.BoolValue(util.IsUnset(request.Barcodes)) {
		body["barcodes"] = request.Barcodes
	}

	if !tea.BoolValue(util.IsUnset(request.Brand)) {
		body["brand"] = request.Brand
	}

	if !tea.BoolValue(util.IsUnset(request.Category)) {
		body["category"] = request.Category
	}

	if !tea.BoolValue(util.IsUnset(request.ImageFileIds)) {
		body["imageFileIds"] = request.ImageFileIds
	}

	if !tea.BoolValue(util.IsUnset(request.ItemNumbers)) {
		body["itemNumbers"] = request.ItemNumbers
	}

	if !tea.BoolValue(util.IsUnset(request.Price)) {
		body["price"] = request.Price
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductFab)) {
		body["productFab"] = request.ProductFab
	}

	if !tea.BoolValue(util.IsUnset(request.ProductId)) {
		body["productId"] = request.ProductId
	}

	if !tea.BoolValue(util.IsUnset(request.ProductInfo)) {
		body["productInfo"] = request.ProductInfo
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("AiRetailProductUpdate"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/retail/product/update"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("boolean"),
	}
	_result = &AiRetailProductUpdateResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新商品
//
// @param request - AiRetailProductUpdateRequest
//
// @return AiRetailProductUpdateResponse
func (client *Client) AiRetailProductUpdate(request *AiRetailProductUpdateRequest) (_result *AiRetailProductUpdateResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &AiRetailProductUpdateHeaders{}
	_result = &AiRetailProductUpdateResponse{}
	_body, _err := client.AiRetailProductUpdateWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 批量查询任务结果
//
// @param request - BatchGetTaskResultRequest
//
// @param headers - BatchGetTaskResultHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return BatchGetTaskResultResponse
func (client *Client) BatchGetTaskResultWithOptions(request *BatchGetTaskResultRequest, headers *BatchGetTaskResultHeaders, runtime *util.RuntimeOptions) (_result *BatchGetTaskResultResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.TaskIds)) {
		body["taskIds"] = request.TaskIds
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("BatchGetTaskResult"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/ai/taskResults/batchQuery"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &BatchGetTaskResultResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 批量查询任务结果
//
// @param request - BatchGetTaskResultRequest
//
// @return BatchGetTaskResultResponse
func (client *Client) BatchGetTaskResult(request *BatchGetTaskResultRequest) (_result *BatchGetTaskResultResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &BatchGetTaskResultHeaders{}
	_result = &BatchGetTaskResultResponse{}
	_body, _err := client.BatchGetTaskResultWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 商机匹配
//
// @param request - BusinessMatchRequest
//
// @param headers - BusinessMatchHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return BusinessMatchResponse
func (client *Client) BusinessMatchWithOptions(request *BusinessMatchRequest, headers *BusinessMatchHeaders, runtime *util.RuntimeOptions) (_result *BusinessMatchResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BusinessInfo)) {
		body["businessInfo"] = request.BusinessInfo
	}

	if !tea.BoolValue(util.IsUnset(request.CorpName)) {
		body["corpName"] = request.CorpName
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		body["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("BusinessMatch"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/me/businesses/matching"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &BusinessMatchResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 商机匹配
//
// @param request - BusinessMatchRequest
//
// @return BusinessMatchResponse
func (client *Client) BusinessMatch(request *BusinessMatchRequest) (_result *BusinessMatchResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &BusinessMatchHeaders{}
	_result = &BusinessMatchResponse{}
	_body, _err := client.BusinessMatchWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 商机匹配结果查询
//
// @param request - BusinessMatchResultRequest
//
// @param headers - BusinessMatchResultHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return BusinessMatchResultResponse
func (client *Client) BusinessMatchResultWithOptions(request *BusinessMatchResultRequest, headers *BusinessMatchResultHeaders, runtime *util.RuntimeOptions) (_result *BusinessMatchResultResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.TaskId)) {
		query["taskId"] = request.TaskId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("BusinessMatchResult"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/me/businesses/matchingResults"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &BusinessMatchResultResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 商机匹配结果查询
//
// @param request - BusinessMatchResultRequest
//
// @return BusinessMatchResultResponse
func (client *Client) BusinessMatchResult(request *BusinessMatchResultRequest) (_result *BusinessMatchResultResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &BusinessMatchResultHeaders{}
	_result = &BusinessMatchResultResponse{}
	_body, _err := client.BusinessMatchResultWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 添加租客下成员
//
// @param request - CampusAddRenterMemberRequest
//
// @param headers - CampusAddRenterMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusAddRenterMemberResponse
func (client *Client) CampusAddRenterMemberWithOptions(request *CampusAddRenterMemberRequest, headers *CampusAddRenterMemberHeaders, runtime *util.RuntimeOptions) (_result *CampusAddRenterMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Mobile)) {
		body["mobile"] = request.Mobile
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		body["renterId"] = request.RenterId
	}

	if !tea.BoolValue(util.IsUnset(request.Type)) {
		body["type"] = request.Type
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusAddRenterMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters/members"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusAddRenterMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 添加租客下成员
//
// @param request - CampusAddRenterMemberRequest
//
// @return CampusAddRenterMemberResponse
func (client *Client) CampusAddRenterMember(request *CampusAddRenterMemberRequest) (_result *CampusAddRenterMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusAddRenterMemberHeaders{}
	_result = &CampusAddRenterMemberResponse{}
	_body, _err := client.CampusAddRenterMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建园区
//
// @param request - CampusCreateCampusRequest
//
// @param headers - CampusCreateCampusHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusCreateCampusResponse
func (client *Client) CampusCreateCampusWithOptions(request *CampusCreateCampusRequest, headers *CampusCreateCampusHeaders, runtime *util.RuntimeOptions) (_result *CampusCreateCampusResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Address)) {
		body["address"] = request.Address
	}

	if !tea.BoolValue(util.IsUnset(request.Area)) {
		body["area"] = request.Area
	}

	if !tea.BoolValue(util.IsUnset(request.BelongProjectGroupId)) {
		body["belongProjectGroupId"] = request.BelongProjectGroupId
	}

	if !tea.BoolValue(util.IsUnset(request.CampusName)) {
		body["campusName"] = request.CampusName
	}

	if !tea.BoolValue(util.IsUnset(request.Capacity)) {
		body["capacity"] = request.Capacity
	}

	if !tea.BoolValue(util.IsUnset(request.CityId)) {
		body["cityId"] = request.CityId
	}

	if !tea.BoolValue(util.IsUnset(request.Country)) {
		body["country"] = request.Country
	}

	if !tea.BoolValue(util.IsUnset(request.CountyId)) {
		body["countyId"] = request.CountyId
	}

	if !tea.BoolValue(util.IsUnset(request.CreatorUnionId)) {
		body["creatorUnionId"] = request.CreatorUnionId
	}

	if !tea.BoolValue(util.IsUnset(request.Description)) {
		body["description"] = request.Description
	}

	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Location)) {
		body["location"] = request.Location
	}

	if !tea.BoolValue(util.IsUnset(request.OrderEndTime)) {
		body["orderEndTime"] = request.OrderEndTime
	}

	if !tea.BoolValue(util.IsUnset(request.OrderInfo)) {
		body["orderInfo"] = request.OrderInfo
	}

	if !tea.BoolValue(util.IsUnset(request.OrderStartTime)) {
		body["orderStartTime"] = request.OrderStartTime
	}

	if !tea.BoolValue(util.IsUnset(request.ProvId)) {
		body["provId"] = request.ProvId
	}

	if !tea.BoolValue(util.IsUnset(request.Telephone)) {
		body["telephone"] = request.Telephone
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusCreateCampus"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusCreateCampusResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建园区
//
// @param request - CampusCreateCampusRequest
//
// @return CampusCreateCampusResponse
func (client *Client) CampusCreateCampus(request *CampusCreateCampusRequest) (_result *CampusCreateCampusResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusCreateCampusHeaders{}
	_result = &CampusCreateCampusResponse{}
	_body, _err := client.CampusCreateCampusWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建园区项目组
//
// @param request - CampusCreateCampusGroupRequest
//
// @param headers - CampusCreateCampusGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusCreateCampusGroupResponse
func (client *Client) CampusCreateCampusGroupWithOptions(request *CampusCreateCampusGroupRequest, headers *CampusCreateCampusGroupHeaders, runtime *util.RuntimeOptions) (_result *CampusCreateCampusGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusCreateCampusGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects/groups"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusCreateCampusGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建园区项目组
//
// @param request - CampusCreateCampusGroupRequest
//
// @return CampusCreateCampusGroupResponse
func (client *Client) CampusCreateCampusGroup(request *CampusCreateCampusGroupRequest) (_result *CampusCreateCampusGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusCreateCampusGroupHeaders{}
	_result = &CampusCreateCampusGroupResponse{}
	_body, _err := client.CampusCreateCampusGroupWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建租客
//
// @param request - CampusCreateRenterRequest
//
// @param headers - CampusCreateRenterHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusCreateRenterResponse
func (client *Client) CampusCreateRenterWithOptions(request *CampusCreateRenterRequest, headers *CampusCreateRenterHeaders, runtime *util.RuntimeOptions) (_result *CampusCreateRenterResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.CreditCode)) {
		body["creditCode"] = request.CreditCode
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.State)) {
		body["state"] = request.State
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusCreateRenter"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusCreateRenterResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建租客
//
// @param request - CampusCreateRenterRequest
//
// @return CampusCreateRenterResponse
func (client *Client) CampusCreateRenter(request *CampusCreateRenterRequest) (_result *CampusCreateRenterResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusCreateRenterHeaders{}
	_result = &CampusCreateRenterResponse{}
	_body, _err := client.CampusCreateRenterWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 移除租客人员
//
// @param request - CampusDelRenterMemberRequest
//
// @param headers - CampusDelRenterMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusDelRenterMemberResponse
func (client *Client) CampusDelRenterMemberWithOptions(request *CampusDelRenterMemberRequest, headers *CampusDelRenterMemberHeaders, runtime *util.RuntimeOptions) (_result *CampusDelRenterMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		query["renterId"] = request.RenterId
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		query["unionId"] = request.UnionId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusDelRenterMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters/members"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusDelRenterMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 移除租客人员
//
// @param request - CampusDelRenterMemberRequest
//
// @return CampusDelRenterMemberResponse
func (client *Client) CampusDelRenterMember(request *CampusDelRenterMemberRequest) (_result *CampusDelRenterMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusDelRenterMemberHeaders{}
	_result = &CampusDelRenterMemberResponse{}
	_body, _err := client.CampusDelRenterMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除园区项目组
//
// @param request - CampusDeleteCampusGroupRequest
//
// @param headers - CampusDeleteCampusGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusDeleteCampusGroupResponse
func (client *Client) CampusDeleteCampusGroupWithOptions(request *CampusDeleteCampusGroupRequest, headers *CampusDeleteCampusGroupHeaders, runtime *util.RuntimeOptions) (_result *CampusDeleteCampusGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.CampusProjectGroupId)) {
		query["campusProjectGroupId"] = request.CampusProjectGroupId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusDeleteCampusGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects/groups"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusDeleteCampusGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除园区项目组
//
// @param request - CampusDeleteCampusGroupRequest
//
// @return CampusDeleteCampusGroupResponse
func (client *Client) CampusDeleteCampusGroup(request *CampusDeleteCampusGroupRequest) (_result *CampusDeleteCampusGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusDeleteCampusGroupHeaders{}
	_result = &CampusDeleteCampusGroupResponse{}
	_body, _err := client.CampusDeleteCampusGroupWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除租客
//
// @param request - CampusDeleteRenterRequest
//
// @param headers - CampusDeleteRenterHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusDeleteRenterResponse
func (client *Client) CampusDeleteRenterWithOptions(request *CampusDeleteRenterRequest, headers *CampusDeleteRenterHeaders, runtime *util.RuntimeOptions) (_result *CampusDeleteRenterResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		query["renterId"] = request.RenterId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusDeleteRenter"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("none"),
	}
	_result = &CampusDeleteRenterResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除租客
//
// @param request - CampusDeleteRenterRequest
//
// @return CampusDeleteRenterResponse
func (client *Client) CampusDeleteRenter(request *CampusDeleteRenterRequest) (_result *CampusDeleteRenterResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusDeleteRenterHeaders{}
	_result = &CampusDeleteRenterResponse{}
	_body, _err := client.CampusDeleteRenterWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询园区详情
//
// @param request - CampusGetCampusRequest
//
// @param headers - CampusGetCampusHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusGetCampusResponse
func (client *Client) CampusGetCampusWithOptions(request *CampusGetCampusRequest, headers *CampusGetCampusHeaders, runtime *util.RuntimeOptions) (_result *CampusGetCampusResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.CampusDeptId)) {
		query["campusDeptId"] = request.CampusDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusGetCampus"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projectInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusGetCampusResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询园区详情
//
// @param request - CampusGetCampusRequest
//
// @return CampusGetCampusResponse
func (client *Client) CampusGetCampus(request *CampusGetCampusRequest) (_result *CampusGetCampusResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusGetCampusHeaders{}
	_result = &CampusGetCampusResponse{}
	_body, _err := client.CampusGetCampusWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询园区项目组详情
//
// @param request - CampusGetCampusGroupRequest
//
// @param headers - CampusGetCampusGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusGetCampusGroupResponse
func (client *Client) CampusGetCampusGroupWithOptions(request *CampusGetCampusGroupRequest, headers *CampusGetCampusGroupHeaders, runtime *util.RuntimeOptions) (_result *CampusGetCampusGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.GroupId)) {
		query["groupId"] = request.GroupId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusGetCampusGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects/groupInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusGetCampusGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询园区项目组详情
//
// @param request - CampusGetCampusGroupRequest
//
// @return CampusGetCampusGroupResponse
func (client *Client) CampusGetCampusGroup(request *CampusGetCampusGroupRequest) (_result *CampusGetCampusGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusGetCampusGroupHeaders{}
	_result = &CampusGetCampusGroupResponse{}
	_body, _err := client.CampusGetCampusGroupWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取租客详情
//
// @param request - CampusGetRenterRequest
//
// @param headers - CampusGetRenterHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusGetRenterResponse
func (client *Client) CampusGetRenterWithOptions(request *CampusGetRenterRequest, headers *CampusGetRenterHeaders, runtime *util.RuntimeOptions) (_result *CampusGetRenterResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		query["renterId"] = request.RenterId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusGetRenter"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renterInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusGetRenterResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取租客详情
//
// @param request - CampusGetRenterRequest
//
// @return CampusGetRenterResponse
func (client *Client) CampusGetRenter(request *CampusGetRenterRequest) (_result *CampusGetRenterResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusGetRenterHeaders{}
	_result = &CampusGetRenterResponse{}
	_body, _err := client.CampusGetRenterWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询租客指定成员信息
//
// @param request - CampusGetRenterMemberRequest
//
// @param headers - CampusGetRenterMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusGetRenterMemberResponse
func (client *Client) CampusGetRenterMemberWithOptions(request *CampusGetRenterMemberRequest, headers *CampusGetRenterMemberHeaders, runtime *util.RuntimeOptions) (_result *CampusGetRenterMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		query["renterId"] = request.RenterId
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		query["unionId"] = request.UnionId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusGetRenterMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters/memberInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusGetRenterMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询租客指定成员信息
//
// @param request - CampusGetRenterMemberRequest
//
// @return CampusGetRenterMemberResponse
func (client *Client) CampusGetRenterMember(request *CampusGetRenterMemberRequest) (_result *CampusGetRenterMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusGetRenterMemberHeaders{}
	_result = &CampusGetRenterMemberResponse{}
	_body, _err := client.CampusGetRenterMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询园区列表
//
// @param request - CampusListCampusRequest
//
// @param headers - CampusListCampusHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusListCampusResponse
func (client *Client) CampusListCampusWithOptions(request *CampusListCampusRequest, headers *CampusListCampusHeaders, runtime *util.RuntimeOptions) (_result *CampusListCampusResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.GroupDeptId)) {
		query["groupDeptId"] = request.GroupDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusListCampus"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusListCampusResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询园区列表
//
// @param request - CampusListCampusRequest
//
// @return CampusListCampusResponse
func (client *Client) CampusListCampus(request *CampusListCampusRequest) (_result *CampusListCampusResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusListCampusHeaders{}
	_result = &CampusListCampusResponse{}
	_body, _err := client.CampusListCampusWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询园区项目组列表
//
// @param headers - CampusListCampusGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusListCampusGroupResponse
func (client *Client) CampusListCampusGroupWithOptions(headers *CampusListCampusGroupHeaders, runtime *util.RuntimeOptions) (_result *CampusListCampusGroupResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("CampusListCampusGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects/groups"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusListCampusGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询园区项目组列表
//
// @return CampusListCampusGroupResponse
func (client *Client) CampusListCampusGroup() (_result *CampusListCampusGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusListCampusGroupHeaders{}
	_result = &CampusListCampusGroupResponse{}
	_body, _err := client.CampusListCampusGroupWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取租客列表
//
// @param headers - CampusListRenterHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusListRenterResponse
func (client *Client) CampusListRenterWithOptions(headers *CampusListRenterHeaders, runtime *util.RuntimeOptions) (_result *CampusListRenterResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("CampusListRenter"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusListRenterResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取租客列表
//
// @return CampusListRenterResponse
func (client *Client) CampusListRenter() (_result *CampusListRenterResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusListRenterHeaders{}
	_result = &CampusListRenterResponse{}
	_body, _err := client.CampusListRenterWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询租客下所有成员
//
// @param request - CampusListRenterMembersRequest
//
// @param headers - CampusListRenterMembersHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusListRenterMembersResponse
func (client *Client) CampusListRenterMembersWithOptions(request *CampusListRenterMembersRequest, headers *CampusListRenterMembersHeaders, runtime *util.RuntimeOptions) (_result *CampusListRenterMembersResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		query["renterId"] = request.RenterId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusListRenterMembers"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters/members"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusListRenterMembersResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询租客下所有成员
//
// @param request - CampusListRenterMembersRequest
//
// @return CampusListRenterMembersResponse
func (client *Client) CampusListRenterMembers(request *CampusListRenterMembersRequest) (_result *CampusListRenterMembersResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusListRenterMembersHeaders{}
	_result = &CampusListRenterMembersResponse{}
	_body, _err := client.CampusListRenterMembersWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新园区项目
//
// @param request - CampusUpdateCampusRequest
//
// @param headers - CampusUpdateCampusHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusUpdateCampusResponse
func (client *Client) CampusUpdateCampusWithOptions(request *CampusUpdateCampusRequest, headers *CampusUpdateCampusHeaders, runtime *util.RuntimeOptions) (_result *CampusUpdateCampusResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Address)) {
		body["address"] = request.Address
	}

	if !tea.BoolValue(util.IsUnset(request.Area)) {
		body["area"] = request.Area
	}

	if !tea.BoolValue(util.IsUnset(request.BelongProjectGroupId)) {
		body["belongProjectGroupId"] = request.BelongProjectGroupId
	}

	if !tea.BoolValue(util.IsUnset(request.CampusDeptId)) {
		body["campusDeptId"] = request.CampusDeptId
	}

	if !tea.BoolValue(util.IsUnset(request.CampusName)) {
		body["campusName"] = request.CampusName
	}

	if !tea.BoolValue(util.IsUnset(request.Capacity)) {
		body["capacity"] = request.Capacity
	}

	if !tea.BoolValue(util.IsUnset(request.CityId)) {
		body["cityId"] = request.CityId
	}

	if !tea.BoolValue(util.IsUnset(request.Country)) {
		body["country"] = request.Country
	}

	if !tea.BoolValue(util.IsUnset(request.CountyId)) {
		body["countyId"] = request.CountyId
	}

	if !tea.BoolValue(util.IsUnset(request.Description)) {
		body["description"] = request.Description
	}

	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.OrderEndTime)) {
		body["orderEndTime"] = request.OrderEndTime
	}

	if !tea.BoolValue(util.IsUnset(request.OrderInfo)) {
		body["orderInfo"] = request.OrderInfo
	}

	if !tea.BoolValue(util.IsUnset(request.OrderStartTime)) {
		body["orderStartTime"] = request.OrderStartTime
	}

	if !tea.BoolValue(util.IsUnset(request.ProvId)) {
		body["provId"] = request.ProvId
	}

	if !tea.BoolValue(util.IsUnset(request.Telephone)) {
		body["telephone"] = request.Telephone
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusUpdateCampus"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusUpdateCampusResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新园区项目
//
// @param request - CampusUpdateCampusRequest
//
// @return CampusUpdateCampusResponse
func (client *Client) CampusUpdateCampus(request *CampusUpdateCampusRequest) (_result *CampusUpdateCampusResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusUpdateCampusHeaders{}
	_result = &CampusUpdateCampusResponse{}
	_body, _err := client.CampusUpdateCampusWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新园区项目组
//
// @param request - CampusUpdateCampusGroupRequest
//
// @param headers - CampusUpdateCampusGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusUpdateCampusGroupResponse
func (client *Client) CampusUpdateCampusGroupWithOptions(request *CampusUpdateCampusGroupRequest, headers *CampusUpdateCampusGroupHeaders, runtime *util.RuntimeOptions) (_result *CampusUpdateCampusGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.CampusProjectGroupId)) {
		body["campusProjectGroupId"] = request.CampusProjectGroupId
	}

	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusUpdateCampusGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/projects/groups"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusUpdateCampusGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新园区项目组
//
// @param request - CampusUpdateCampusGroupRequest
//
// @return CampusUpdateCampusGroupResponse
func (client *Client) CampusUpdateCampusGroup(request *CampusUpdateCampusGroupRequest) (_result *CampusUpdateCampusGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusUpdateCampusGroupHeaders{}
	_result = &CampusUpdateCampusGroupResponse{}
	_body, _err := client.CampusUpdateCampusGroupWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新租客
//
// @param request - CampusUpdateRenterRequest
//
// @param headers - CampusUpdateRenterHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusUpdateRenterResponse
func (client *Client) CampusUpdateRenterWithOptions(request *CampusUpdateRenterRequest, headers *CampusUpdateRenterHeaders, runtime *util.RuntimeOptions) (_result *CampusUpdateRenterResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.CreditCode)) {
		body["creditCode"] = request.CreditCode
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		body["renterId"] = request.RenterId
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.State)) {
		body["state"] = request.State
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusUpdateRenter"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusUpdateRenterResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新租客
//
// @param request - CampusUpdateRenterRequest
//
// @return CampusUpdateRenterResponse
func (client *Client) CampusUpdateRenter(request *CampusUpdateRenterRequest) (_result *CampusUpdateRenterResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusUpdateRenterHeaders{}
	_result = &CampusUpdateRenterResponse{}
	_body, _err := client.CampusUpdateRenterWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新租客下成员
//
// @param request - CampusUpdateRenterMemberRequest
//
// @param headers - CampusUpdateRenterMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CampusUpdateRenterMemberResponse
func (client *Client) CampusUpdateRenterMemberWithOptions(request *CampusUpdateRenterMemberRequest, headers *CampusUpdateRenterMemberHeaders, runtime *util.RuntimeOptions) (_result *CampusUpdateRenterMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Extend)) {
		body["extend"] = request.Extend
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.RenterId)) {
		body["renterId"] = request.RenterId
	}

	if !tea.BoolValue(util.IsUnset(request.Type)) {
		body["type"] = request.Type
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		body["unionId"] = request.UnionId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CampusUpdateRenterMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/campuses/renters/members"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CampusUpdateRenterMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新租客下成员
//
// @param request - CampusUpdateRenterMemberRequest
//
// @return CampusUpdateRenterMemberResponse
func (client *Client) CampusUpdateRenterMember(request *CampusUpdateRenterMemberRequest) (_result *CampusUpdateRenterMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CampusUpdateRenterMemberHeaders{}
	_result = &CampusUpdateRenterMemberResponse{}
	_body, _err := client.CampusUpdateRenterMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 添加数据集权限
//
// @param request - ChatAIAddDatasetPermissionRequest
//
// @param headers - ChatAIAddDatasetPermissionHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAIAddDatasetPermissionResponse
func (client *Client) ChatAIAddDatasetPermissionWithOptions(request *ChatAIAddDatasetPermissionRequest, headers *ChatAIAddDatasetPermissionHeaders, runtime *util.RuntimeOptions) (_result *ChatAIAddDatasetPermissionResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AuthorizationType)) {
		body["authorizationType"] = request.AuthorizationType
	}

	if !tea.BoolValue(util.IsUnset(request.AuthorizedObjectId)) {
		body["authorizedObjectId"] = request.AuthorizedObjectId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.OptUser)) {
		body["optUser"] = request.OptUser
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAIAddDatasetPermission"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/dataset/permissions/add"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAIAddDatasetPermissionResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 添加数据集权限
//
// @param request - ChatAIAddDatasetPermissionRequest
//
// @return ChatAIAddDatasetPermissionResponse
func (client *Client) ChatAIAddDatasetPermission(request *ChatAIAddDatasetPermissionRequest) (_result *ChatAIAddDatasetPermissionResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAIAddDatasetPermissionHeaders{}
	_result = &ChatAIAddDatasetPermissionResponse{}
	_body, _err := client.ChatAIAddDatasetPermissionWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取chatAI应用下的数据集列表
//
// @param request - ChatAIListDatasetRequest
//
// @param headers - ChatAIListDatasetHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAIListDatasetResponse
func (client *Client) ChatAIListDatasetWithOptions(request *ChatAIListDatasetRequest, headers *ChatAIListDatasetHeaders, runtime *util.RuntimeOptions) (_result *ChatAIListDatasetResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		query["appId"] = request.AppId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAIListDataset"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/datasets"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAIListDatasetResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取chatAI应用下的数据集列表
//
// @param request - ChatAIListDatasetRequest
//
// @return ChatAIListDatasetResponse
func (client *Client) ChatAIListDataset(request *ChatAIListDatasetRequest) (_result *ChatAIListDatasetResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAIListDatasetHeaders{}
	_result = &ChatAIListDatasetResponse{}
	_body, _err := client.ChatAIListDatasetWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询数据集权限明细
//
// @param request - ChatAIQueryDatasetPermissionRequest
//
// @param headers - ChatAIQueryDatasetPermissionHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAIQueryDatasetPermissionResponse
func (client *Client) ChatAIQueryDatasetPermissionWithOptions(request *ChatAIQueryDatasetPermissionRequest, headers *ChatAIQueryDatasetPermissionHeaders, runtime *util.RuntimeOptions) (_result *ChatAIQueryDatasetPermissionResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		query["datasetId"] = request.DatasetId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAIQueryDatasetPermission"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/dataset/permissions"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAIQueryDatasetPermissionResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询数据集权限明细
//
// @param request - ChatAIQueryDatasetPermissionRequest
//
// @return ChatAIQueryDatasetPermissionResponse
func (client *Client) ChatAIQueryDatasetPermission(request *ChatAIQueryDatasetPermissionRequest) (_result *ChatAIQueryDatasetPermissionResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAIQueryDatasetPermissionHeaders{}
	_result = &ChatAIQueryDatasetPermissionResponse{}
	_body, _err := client.ChatAIQueryDatasetPermissionWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除数据集权限
//
// @param request - ChatAIRemoveDatasetPermissionRequest
//
// @param headers - ChatAIRemoveDatasetPermissionHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAIRemoveDatasetPermissionResponse
func (client *Client) ChatAIRemoveDatasetPermissionWithOptions(request *ChatAIRemoveDatasetPermissionRequest, headers *ChatAIRemoveDatasetPermissionHeaders, runtime *util.RuntimeOptions) (_result *ChatAIRemoveDatasetPermissionResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AuthorizationType)) {
		body["authorizationType"] = request.AuthorizationType
	}

	if !tea.BoolValue(util.IsUnset(request.AuthorizedObjectId)) {
		body["authorizedObjectId"] = request.AuthorizedObjectId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.OptUser)) {
		body["optUser"] = request.OptUser
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAIRemoveDatasetPermission"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/dataset/permissions/remove"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAIRemoveDatasetPermissionResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除数据集权限
//
// @param request - ChatAIRemoveDatasetPermissionRequest
//
// @return ChatAIRemoveDatasetPermissionResponse
func (client *Client) ChatAIRemoveDatasetPermission(request *ChatAIRemoveDatasetPermissionRequest) (_result *ChatAIRemoveDatasetPermissionResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAIRemoveDatasetPermissionHeaders{}
	_result = &ChatAIRemoveDatasetPermissionResponse{}
	_body, _err := client.ChatAIRemoveDatasetPermissionWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// # Chai文本情感分析
//
// @param request - ChatAITextSentimentAnalysisRequest
//
// @param headers - ChatAITextSentimentAnalysisHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAITextSentimentAnalysisResponse
func (client *Client) ChatAITextSentimentAnalysisWithOptions(request *ChatAITextSentimentAnalysisRequest, headers *ChatAITextSentimentAnalysisHeaders, runtime *util.RuntimeOptions) (_result *ChatAITextSentimentAnalysisResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.History)) {
		body["history"] = request.History
	}

	if !tea.BoolValue(util.IsUnset(request.Text)) {
		body["text"] = request.Text
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAITextSentimentAnalysis"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/abilities/sentiments/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAITextSentimentAnalysisResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// # Chai文本情感分析
//
// @param request - ChatAITextSentimentAnalysisRequest
//
// @return ChatAITextSentimentAnalysisResponse
func (client *Client) ChatAITextSentimentAnalysis(request *ChatAITextSentimentAnalysisRequest) (_result *ChatAITextSentimentAnalysisResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAITextSentimentAnalysisHeaders{}
	_result = &ChatAITextSentimentAnalysisResponse{}
	_body, _err := client.ChatAITextSentimentAnalysisWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取ChatAI问答日志
//
// @param request - ChatAiQueryLogsRequest
//
// @param headers - ChatAiQueryLogsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAiQueryLogsResponse
func (client *Client) ChatAiQueryLogsWithOptions(request *ChatAiQueryLogsRequest, headers *ChatAiQueryLogsHeaders, runtime *util.RuntimeOptions) (_result *ChatAiQueryLogsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		query["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		query["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.ScenceId)) {
		query["scenceId"] = request.ScenceId
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		query["startTime"] = request.StartTime
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAiQueryLogs"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/logs/lists"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAiQueryLogsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取ChatAI问答日志
//
// @param request - ChatAiQueryLogsRequest
//
// @return ChatAiQueryLogsResponse
func (client *Client) ChatAiQueryLogs(request *ChatAiQueryLogsRequest) (_result *ChatAiQueryLogsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAiQueryLogsHeaders{}
	_result = &ChatAiQueryLogsResponse{}
	_body, _err := client.ChatAiQueryLogsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取差旅单列表
//
// @param request - ChatAiTravelListRequest
//
// @param headers - ChatAiTravelListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatAiTravelListResponse
func (client *Client) ChatAiTravelListWithOptions(request *ChatAiTravelListRequest, headers *ChatAiTravelListHeaders, runtime *util.RuntimeOptions) (_result *ChatAiTravelListResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ParamList)) {
		body["paramList"] = request.ParamList
	}

	if !tea.BoolValue(util.IsUnset(request.TravelId)) {
		body["travelId"] = request.TravelId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatAiTravelList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/ai/travelLists/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatAiTravelListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取差旅单列表
//
// @param request - ChatAiTravelListRequest
//
// @return ChatAiTravelListResponse
func (client *Client) ChatAiTravelList(request *ChatAiTravelListRequest) (_result *ChatAiTravelListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatAiTravelListHeaders{}
	_result = &ChatAiTravelListResponse{}
	_body, _err := client.ChatAiTravelListWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// # ChatForm查询表单识别结果
//
// @param request - ChatFormGetDataForApiAccessRequest
//
// @param headers - ChatFormGetDataForApiAccessHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatFormGetDataForApiAccessResponse
func (client *Client) ChatFormGetDataForApiAccessWithOptions(request *ChatFormGetDataForApiAccessRequest, headers *ChatFormGetDataForApiAccessHeaders, runtime *util.RuntimeOptions) (_result *ChatFormGetDataForApiAccessResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DingTalkTraceId)) {
		query["dingTalkTraceId"] = request.DingTalkTraceId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatFormGetDataForApiAccess"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatform/datas"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatFormGetDataForApiAccessResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// # ChatForm查询表单识别结果
//
// @param request - ChatFormGetDataForApiAccessRequest
//
// @return ChatFormGetDataForApiAccessResponse
func (client *Client) ChatFormGetDataForApiAccess(request *ChatFormGetDataForApiAccessRequest) (_result *ChatFormGetDataForApiAccessResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatFormGetDataForApiAccessHeaders{}
	_result = &ChatFormGetDataForApiAccessResponse{}
	_body, _err := client.ChatFormGetDataForApiAccessWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 新增普通文件
//
// @param request - ChatMemoAddGeneralFileRequest
//
// @param headers - ChatMemoAddGeneralFileHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoAddGeneralFileResponse
func (client *Client) ChatMemoAddGeneralFileWithOptions(request *ChatMemoAddGeneralFileRequest, headers *ChatMemoAddGeneralFileHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoAddGeneralFileResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.DownloadUrl)) {
		body["downloadUrl"] = request.DownloadUrl
	}

	if !tea.BoolValue(util.IsUnset(request.FileDesc)) {
		body["fileDesc"] = request.FileDesc
	}

	if !tea.BoolValue(util.IsUnset(request.FileName)) {
		body["fileName"] = request.FileName
	}

	if !tea.BoolValue(util.IsUnset(request.TagList)) {
		body["tagList"] = request.TagList
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoAddGeneralFile"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/files"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoAddGeneralFileResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 新增普通文件
//
// @param request - ChatMemoAddGeneralFileRequest
//
// @return ChatMemoAddGeneralFileResponse
func (client *Client) ChatMemoAddGeneralFile(request *ChatMemoAddGeneralFileRequest) (_result *ChatMemoAddGeneralFileResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoAddGeneralFileHeaders{}
	_result = &ChatMemoAddGeneralFileResponse{}
	_body, _err := client.ChatMemoAddGeneralFileWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 新增知识图谱节点
//
// @param request - ChatMemoAddKnowledgeGraphNodeRequest
//
// @param headers - ChatMemoAddKnowledgeGraphNodeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoAddKnowledgeGraphNodeResponse
func (client *Client) ChatMemoAddKnowledgeGraphNodeWithOptions(request *ChatMemoAddKnowledgeGraphNodeRequest, headers *ChatMemoAddKnowledgeGraphNodeHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoAddKnowledgeGraphNodeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.NodeInfo)) {
		body["nodeInfo"] = request.NodeInfo
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoAddKnowledgeGraphNode"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/nodes"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoAddKnowledgeGraphNodeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 新增知识图谱节点
//
// @param request - ChatMemoAddKnowledgeGraphNodeRequest
//
// @return ChatMemoAddKnowledgeGraphNodeResponse
func (client *Client) ChatMemoAddKnowledgeGraphNode(request *ChatMemoAddKnowledgeGraphNodeRequest) (_result *ChatMemoAddKnowledgeGraphNodeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoAddKnowledgeGraphNodeHeaders{}
	_result = &ChatMemoAddKnowledgeGraphNodeResponse{}
	_body, _err := client.ChatMemoAddKnowledgeGraphNodeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 新增知识图谱关系
//
// @param request - ChatMemoAddKnowledgeGraphRelationRequest
//
// @param headers - ChatMemoAddKnowledgeGraphRelationHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoAddKnowledgeGraphRelationResponse
func (client *Client) ChatMemoAddKnowledgeGraphRelationWithOptions(request *ChatMemoAddKnowledgeGraphRelationRequest, headers *ChatMemoAddKnowledgeGraphRelationHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoAddKnowledgeGraphRelationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.RelationInfo)) {
		body["relationInfo"] = request.RelationInfo
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoAddKnowledgeGraphRelation"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/relations"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoAddKnowledgeGraphRelationResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 新增知识图谱关系
//
// @param request - ChatMemoAddKnowledgeGraphRelationRequest
//
// @return ChatMemoAddKnowledgeGraphRelationResponse
func (client *Client) ChatMemoAddKnowledgeGraphRelation(request *ChatMemoAddKnowledgeGraphRelationRequest) (_result *ChatMemoAddKnowledgeGraphRelationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoAddKnowledgeGraphRelationHeaders{}
	_result = &ChatMemoAddKnowledgeGraphRelationResponse{}
	_body, _err := client.ChatMemoAddKnowledgeGraphRelationWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除普通文件
//
// @param request - ChatMemoDeleteGeneralFileRequest
//
// @param headers - ChatMemoDeleteGeneralFileHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoDeleteGeneralFileResponse
func (client *Client) ChatMemoDeleteGeneralFileWithOptions(request *ChatMemoDeleteGeneralFileRequest, headers *ChatMemoDeleteGeneralFileHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoDeleteGeneralFileResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoDeleteGeneralFile"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/files/remove"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoDeleteGeneralFileResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除普通文件
//
// @param request - ChatMemoDeleteGeneralFileRequest
//
// @return ChatMemoDeleteGeneralFileResponse
func (client *Client) ChatMemoDeleteGeneralFile(request *ChatMemoDeleteGeneralFileRequest) (_result *ChatMemoDeleteGeneralFileResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoDeleteGeneralFileHeaders{}
	_result = &ChatMemoDeleteGeneralFileResponse{}
	_body, _err := client.ChatMemoDeleteGeneralFileWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除知识图谱节点
//
// @param request - ChatMemoDeleteKnowledgeGraphNodeRequest
//
// @param headers - ChatMemoDeleteKnowledgeGraphNodeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoDeleteKnowledgeGraphNodeResponse
func (client *Client) ChatMemoDeleteKnowledgeGraphNodeWithOptions(request *ChatMemoDeleteKnowledgeGraphNodeRequest, headers *ChatMemoDeleteKnowledgeGraphNodeHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoDeleteKnowledgeGraphNodeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoDeleteKnowledgeGraphNode"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/nodes/remove"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoDeleteKnowledgeGraphNodeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除知识图谱节点
//
// @param request - ChatMemoDeleteKnowledgeGraphNodeRequest
//
// @return ChatMemoDeleteKnowledgeGraphNodeResponse
func (client *Client) ChatMemoDeleteKnowledgeGraphNode(request *ChatMemoDeleteKnowledgeGraphNodeRequest) (_result *ChatMemoDeleteKnowledgeGraphNodeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoDeleteKnowledgeGraphNodeHeaders{}
	_result = &ChatMemoDeleteKnowledgeGraphNodeResponse{}
	_body, _err := client.ChatMemoDeleteKnowledgeGraphNodeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除知识图谱关系
//
// @param request - ChatMemoDeleteKnowledgeGraphRelationRequest
//
// @param headers - ChatMemoDeleteKnowledgeGraphRelationHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoDeleteKnowledgeGraphRelationResponse
func (client *Client) ChatMemoDeleteKnowledgeGraphRelationWithOptions(request *ChatMemoDeleteKnowledgeGraphRelationRequest, headers *ChatMemoDeleteKnowledgeGraphRelationHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoDeleteKnowledgeGraphRelationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoDeleteKnowledgeGraphRelation"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/relations/remove"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoDeleteKnowledgeGraphRelationResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除知识图谱关系
//
// @param request - ChatMemoDeleteKnowledgeGraphRelationRequest
//
// @return ChatMemoDeleteKnowledgeGraphRelationResponse
func (client *Client) ChatMemoDeleteKnowledgeGraphRelation(request *ChatMemoDeleteKnowledgeGraphRelationRequest) (_result *ChatMemoDeleteKnowledgeGraphRelationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoDeleteKnowledgeGraphRelationHeaders{}
	_result = &ChatMemoDeleteKnowledgeGraphRelationResponse{}
	_body, _err := client.ChatMemoDeleteKnowledgeGraphRelationWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 新增 FAQ
//
// @param request - ChatMemoFaqAddRequest
//
// @param headers - ChatMemoFaqAddHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoFaqAddResponse
func (client *Client) ChatMemoFaqAddWithOptions(request *ChatMemoFaqAddRequest, headers *ChatMemoFaqAddHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoFaqAddResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Answer)) {
		body["answer"] = request.Answer
	}

	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.Question)) {
		body["question"] = request.Question
	}

	if !tea.BoolValue(util.IsUnset(request.Redirection)) {
		body["redirection"] = request.Redirection
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoFaqAdd"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/faq"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoFaqAddResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 新增 FAQ
//
// @param request - ChatMemoFaqAddRequest
//
// @return ChatMemoFaqAddResponse
func (client *Client) ChatMemoFaqAdd(request *ChatMemoFaqAddRequest) (_result *ChatMemoFaqAddResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoFaqAddHeaders{}
	_result = &ChatMemoFaqAddResponse{}
	_body, _err := client.ChatMemoFaqAddWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除指定数据集中的FAQ
//
// @param request - ChatMemoFaqDeleteRequest
//
// @param headers - ChatMemoFaqDeleteHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoFaqDeleteResponse
func (client *Client) ChatMemoFaqDeleteWithOptions(request *ChatMemoFaqDeleteRequest, headers *ChatMemoFaqDeleteHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoFaqDeleteResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoFaqDelete"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/faq/remove"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoFaqDeleteResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除指定数据集中的FAQ
//
// @param request - ChatMemoFaqDeleteRequest
//
// @return ChatMemoFaqDeleteResponse
func (client *Client) ChatMemoFaqDelete(request *ChatMemoFaqDeleteRequest) (_result *ChatMemoFaqDeleteResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoFaqDeleteHeaders{}
	_result = &ChatMemoFaqDeleteResponse{}
	_body, _err := client.ChatMemoFaqDeleteWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询指定数据集中的FAQ列表
//
// @param request - ChatMemoFaqListRequest
//
// @param headers - ChatMemoFaqListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoFaqListResponse
func (client *Client) ChatMemoFaqListWithOptions(request *ChatMemoFaqListRequest, headers *ChatMemoFaqListHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoFaqListResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		query["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoFaqList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/faq/lists"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoFaqListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询指定数据集中的FAQ列表
//
// @param request - ChatMemoFaqListRequest
//
// @return ChatMemoFaqListResponse
func (client *Client) ChatMemoFaqList(request *ChatMemoFaqListRequest) (_result *ChatMemoFaqListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoFaqListHeaders{}
	_result = &ChatMemoFaqListResponse{}
	_body, _err := client.ChatMemoFaqListWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询指定数据集中的文件列表
//
// @param request - ChatMemoGetFileListRequest
//
// @param headers - ChatMemoGetFileListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoGetFileListResponse
func (client *Client) ChatMemoGetFileListWithOptions(request *ChatMemoGetFileListRequest, headers *ChatMemoGetFileListHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoGetFileListResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		query["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoGetFileList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/file/lists"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoGetFileListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询指定数据集中的文件列表
//
// @param request - ChatMemoGetFileListRequest
//
// @return ChatMemoGetFileListResponse
func (client *Client) ChatMemoGetFileList(request *ChatMemoGetFileListRequest) (_result *ChatMemoGetFileListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoGetFileListHeaders{}
	_result = &ChatMemoGetFileListResponse{}
	_body, _err := client.ChatMemoGetFileListWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取文件状态
//
// @param request - ChatMemoGetFileStatusRequest
//
// @param headers - ChatMemoGetFileStatusHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoGetFileStatusResponse
func (client *Client) ChatMemoGetFileStatusWithOptions(request *ChatMemoGetFileStatusRequest, headers *ChatMemoGetFileStatusHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoGetFileStatusResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoGetFileStatus"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/files/statuses/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoGetFileStatusResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取文件状态
//
// @param request - ChatMemoGetFileStatusRequest
//
// @return ChatMemoGetFileStatusResponse
func (client *Client) ChatMemoGetFileStatus(request *ChatMemoGetFileStatusRequest) (_result *ChatMemoGetFileStatusResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoGetFileStatusHeaders{}
	_result = &ChatMemoGetFileStatusResponse{}
	_body, _err := client.ChatMemoGetFileStatusWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询知识图谱节点
//
// @param request - ChatMemoQueryKnowledgeGraphNodeRequest
//
// @param headers - ChatMemoQueryKnowledgeGraphNodeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoQueryKnowledgeGraphNodeResponse
func (client *Client) ChatMemoQueryKnowledgeGraphNodeWithOptions(request *ChatMemoQueryKnowledgeGraphNodeRequest, headers *ChatMemoQueryKnowledgeGraphNodeHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoQueryKnowledgeGraphNodeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoQueryKnowledgeGraphNode"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/nodes/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoQueryKnowledgeGraphNodeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询知识图谱节点
//
// @param request - ChatMemoQueryKnowledgeGraphNodeRequest
//
// @return ChatMemoQueryKnowledgeGraphNodeResponse
func (client *Client) ChatMemoQueryKnowledgeGraphNode(request *ChatMemoQueryKnowledgeGraphNodeRequest) (_result *ChatMemoQueryKnowledgeGraphNodeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoQueryKnowledgeGraphNodeHeaders{}
	_result = &ChatMemoQueryKnowledgeGraphNodeResponse{}
	_body, _err := client.ChatMemoQueryKnowledgeGraphNodeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询知识图谱关系
//
// @param request - ChatMemoQueryKnowledgeGraphRelationRequest
//
// @param headers - ChatMemoQueryKnowledgeGraphRelationHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoQueryKnowledgeGraphRelationResponse
func (client *Client) ChatMemoQueryKnowledgeGraphRelationWithOptions(request *ChatMemoQueryKnowledgeGraphRelationRequest, headers *ChatMemoQueryKnowledgeGraphRelationHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoQueryKnowledgeGraphRelationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.MediaId)) {
		body["mediaId"] = request.MediaId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoQueryKnowledgeGraphRelation"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/relations/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoQueryKnowledgeGraphRelationResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询知识图谱关系
//
// @param request - ChatMemoQueryKnowledgeGraphRelationRequest
//
// @return ChatMemoQueryKnowledgeGraphRelationResponse
func (client *Client) ChatMemoQueryKnowledgeGraphRelation(request *ChatMemoQueryKnowledgeGraphRelationRequest) (_result *ChatMemoQueryKnowledgeGraphRelationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoQueryKnowledgeGraphRelationHeaders{}
	_result = &ChatMemoQueryKnowledgeGraphRelationResponse{}
	_body, _err := client.ChatMemoQueryKnowledgeGraphRelationWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新知识图谱节点
//
// @param request - ChatMemoUpdateKnowledgeGraphNodeRequest
//
// @param headers - ChatMemoUpdateKnowledgeGraphNodeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoUpdateKnowledgeGraphNodeResponse
func (client *Client) ChatMemoUpdateKnowledgeGraphNodeWithOptions(request *ChatMemoUpdateKnowledgeGraphNodeRequest, headers *ChatMemoUpdateKnowledgeGraphNodeHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoUpdateKnowledgeGraphNodeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.NodeInfo)) {
		body["nodeInfo"] = request.NodeInfo
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoUpdateKnowledgeGraphNode"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/nodes"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoUpdateKnowledgeGraphNodeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新知识图谱节点
//
// @param request - ChatMemoUpdateKnowledgeGraphNodeRequest
//
// @return ChatMemoUpdateKnowledgeGraphNodeResponse
func (client *Client) ChatMemoUpdateKnowledgeGraphNode(request *ChatMemoUpdateKnowledgeGraphNodeRequest) (_result *ChatMemoUpdateKnowledgeGraphNodeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoUpdateKnowledgeGraphNodeHeaders{}
	_result = &ChatMemoUpdateKnowledgeGraphNodeResponse{}
	_body, _err := client.ChatMemoUpdateKnowledgeGraphNodeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新知识图谱关系
//
// @param request - ChatMemoUpdateKnowledgeGraphRelationRequest
//
// @param headers - ChatMemoUpdateKnowledgeGraphRelationHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ChatMemoUpdateKnowledgeGraphRelationResponse
func (client *Client) ChatMemoUpdateKnowledgeGraphRelationWithOptions(request *ChatMemoUpdateKnowledgeGraphRelationRequest, headers *ChatMemoUpdateKnowledgeGraphRelationHeaders, runtime *util.RuntimeOptions) (_result *ChatMemoUpdateKnowledgeGraphRelationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizId)) {
		body["bizId"] = request.BizId
	}

	if !tea.BoolValue(util.IsUnset(request.DatasetId)) {
		body["datasetId"] = request.DatasetId
	}

	if !tea.BoolValue(util.IsUnset(request.RelationInfo)) {
		body["relationInfo"] = request.RelationInfo
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("ChatMemoUpdateKnowledgeGraphRelation"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatmemo/relations"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ChatMemoUpdateKnowledgeGraphRelationResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新知识图谱关系
//
// @param request - ChatMemoUpdateKnowledgeGraphRelationRequest
//
// @return ChatMemoUpdateKnowledgeGraphRelationResponse
func (client *Client) ChatMemoUpdateKnowledgeGraphRelation(request *ChatMemoUpdateKnowledgeGraphRelationRequest) (_result *ChatMemoUpdateKnowledgeGraphRelationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ChatMemoUpdateKnowledgeGraphRelationHeaders{}
	_result = &ChatMemoUpdateKnowledgeGraphRelationResponse{}
	_body, _err := client.ChatMemoUpdateKnowledgeGraphRelationWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 开启学段/学院/年级/专业\系/班级群
//
// @param request - CollegeActiveCollegeDeptGroupRequest
//
// @param headers - CollegeActiveCollegeDeptGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeActiveCollegeDeptGroupResponse
func (client *Client) CollegeActiveCollegeDeptGroupWithOptions(request *CollegeActiveCollegeDeptGroupRequest, headers *CollegeActiveCollegeDeptGroupHeaders, runtime *util.RuntimeOptions) (_result *CollegeActiveCollegeDeptGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeActiveCollegeDeptGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/depts/groups"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeActiveCollegeDeptGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 开启学段/学院/年级/专业\系/班级群
//
// @param request - CollegeActiveCollegeDeptGroupRequest
//
// @return CollegeActiveCollegeDeptGroupResponse
func (client *Client) CollegeActiveCollegeDeptGroup(request *CollegeActiveCollegeDeptGroupRequest) (_result *CollegeActiveCollegeDeptGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeActiveCollegeDeptGroupHeaders{}
	_result = &CollegeActiveCollegeDeptGroupResponse{}
	_body, _err := client.CollegeActiveCollegeDeptGroupWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建学段/学院/年级/专业\系/班级
//
// @param request - CollegeAddCollegeDeptRequest
//
// @param headers - CollegeAddCollegeDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeAddCollegeDeptResponse
func (client *Client) CollegeAddCollegeDeptWithOptions(request *CollegeAddCollegeDeptRequest, headers *CollegeAddCollegeDeptHeaders, runtime *util.RuntimeOptions) (_result *CollegeAddCollegeDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptName)) {
		query["deptName"] = request.DeptName
	}

	if !tea.BoolValue(util.IsUnset(request.DeptType)) {
		query["deptType"] = request.DeptType
	}

	if !tea.BoolValue(util.IsUnset(request.SortFactor)) {
		query["sortFactor"] = request.SortFactor
	}

	if !tea.BoolValue(util.IsUnset(request.SuperId)) {
		query["superId"] = request.SuperId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeAddCollegeDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/depts"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeAddCollegeDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建学段/学院/年级/专业\系/班级
//
// @param request - CollegeAddCollegeDeptRequest
//
// @return CollegeAddCollegeDeptResponse
func (client *Client) CollegeAddCollegeDept(request *CollegeAddCollegeDeptRequest) (_result *CollegeAddCollegeDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeAddCollegeDeptHeaders{}
	_result = &CollegeAddCollegeDeptResponse{}
	_body, _err := client.CollegeAddCollegeDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 往部门中添加负责人
//
// @param request - CollegeAddManagerRequest
//
// @param headers - CollegeAddManagerHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeAddManagerResponse
func (client *Client) CollegeAddManagerWithOptions(request *CollegeAddManagerRequest, headers *CollegeAddManagerHeaders, runtime *util.RuntimeOptions) (_result *CollegeAddManagerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeAddManager"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/managers"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeAddManagerResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 往部门中添加负责人
//
// @param request - CollegeAddManagerRequest
//
// @return CollegeAddManagerResponse
func (client *Client) CollegeAddManager(request *CollegeAddManagerRequest) (_result *CollegeAddManagerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeAddManagerHeaders{}
	_result = &CollegeAddManagerResponse{}
	_body, _err := client.CollegeAddManagerWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 在班级中添加人员
//
// @param request - CollegeAddStudentRequest
//
// @param headers - CollegeAddStudentHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeAddStudentResponse
func (client *Client) CollegeAddStudentWithOptions(request *CollegeAddStudentRequest, headers *CollegeAddStudentHeaders, runtime *util.RuntimeOptions) (_result *CollegeAddStudentResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		body["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.EmpExtension)) {
		body["empExtension"] = request.EmpExtension
	}

	if !tea.BoolValue(util.IsUnset(request.Gender)) {
		body["gender"] = request.Gender
	}

	if !tea.BoolValue(util.IsUnset(request.IdentifyId)) {
		body["identifyId"] = request.IdentifyId
	}

	if !tea.BoolValue(util.IsUnset(request.Mobile)) {
		body["mobile"] = request.Mobile
	}

	if !tea.BoolValue(util.IsUnset(request.StartYear)) {
		body["startYear"] = request.StartYear
	}

	if !tea.BoolValue(util.IsUnset(request.StudentName)) {
		body["studentName"] = request.StudentName
	}

	if !tea.BoolValue(util.IsUnset(request.StudentNumber)) {
		body["studentNumber"] = request.StudentNumber
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		body["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeAddStudent"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/students"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeAddStudentResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 在班级中添加人员
//
// @param request - CollegeAddStudentRequest
//
// @return CollegeAddStudentResponse
func (client *Client) CollegeAddStudent(request *CollegeAddStudentRequest) (_result *CollegeAddStudentResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeAddStudentHeaders{}
	_result = &CollegeAddStudentResponse{}
	_body, _err := client.CollegeAddStudentWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 移动学生到其他部门
//
// @param request - CollegeChangeStudentDeptRequest
//
// @param headers - CollegeChangeStudentDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeChangeStudentDeptResponse
func (client *Client) CollegeChangeStudentDeptWithOptions(request *CollegeChangeStudentDeptRequest, headers *CollegeChangeStudentDeptHeaders, runtime *util.RuntimeOptions) (_result *CollegeChangeStudentDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.NewDeptId)) {
		query["newDeptId"] = request.NewDeptId
	}

	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		query["studentId"] = request.StudentId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeChangeStudentDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/students/move"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeChangeStudentDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 移动学生到其他部门
//
// @param request - CollegeChangeStudentDeptRequest
//
// @return CollegeChangeStudentDeptResponse
func (client *Client) CollegeChangeStudentDept(request *CollegeChangeStudentDeptRequest) (_result *CollegeChangeStudentDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeChangeStudentDeptHeaders{}
	_result = &CollegeChangeStudentDeptResponse{}
	_body, _err := client.CollegeChangeStudentDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除学段/学院/年级/专业\系/班级
//
// @param request - CollegeDeleteCollegeDeptRequest
//
// @param headers - CollegeDeleteCollegeDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeDeleteCollegeDeptResponse
func (client *Client) CollegeDeleteCollegeDeptWithOptions(request *CollegeDeleteCollegeDeptRequest, headers *CollegeDeleteCollegeDeptHeaders, runtime *util.RuntimeOptions) (_result *CollegeDeleteCollegeDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeDeleteCollegeDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/depts"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeDeleteCollegeDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除学段/学院/年级/专业\系/班级
//
// @param request - CollegeDeleteCollegeDeptRequest
//
// @return CollegeDeleteCollegeDeptResponse
func (client *Client) CollegeDeleteCollegeDept(request *CollegeDeleteCollegeDeptRequest) (_result *CollegeDeleteCollegeDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeDeleteCollegeDeptHeaders{}
	_result = &CollegeDeleteCollegeDeptResponse{}
	_body, _err := client.CollegeDeleteCollegeDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取下级节点列表
//
// @param request - CollegeListCollegeSubDeptRequest
//
// @param headers - CollegeListCollegeSubDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeListCollegeSubDeptResponse
func (client *Client) CollegeListCollegeSubDeptWithOptions(request *CollegeListCollegeSubDeptRequest, headers *CollegeListCollegeSubDeptHeaders, runtime *util.RuntimeOptions) (_result *CollegeListCollegeSubDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeListCollegeSubDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/subDepts"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeListCollegeSubDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取下级节点列表
//
// @param request - CollegeListCollegeSubDeptRequest
//
// @return CollegeListCollegeSubDeptResponse
func (client *Client) CollegeListCollegeSubDept(request *CollegeListCollegeSubDeptRequest) (_result *CollegeListCollegeSubDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeListCollegeSubDeptHeaders{}
	_result = &CollegeListCollegeSubDeptResponse{}
	_body, _err := client.CollegeListCollegeSubDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取部门下所有负责人列表
//
// @param request - CollegeListDeptManagerRequest
//
// @param headers - CollegeListDeptManagerHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeListDeptManagerResponse
func (client *Client) CollegeListDeptManagerWithOptions(request *CollegeListDeptManagerRequest, headers *CollegeListDeptManagerHeaders, runtime *util.RuntimeOptions) (_result *CollegeListDeptManagerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeListDeptManager"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/managers"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeListDeptManagerResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取部门下所有负责人列表
//
// @param request - CollegeListDeptManagerRequest
//
// @return CollegeListDeptManagerResponse
func (client *Client) CollegeListDeptManager(request *CollegeListDeptManagerRequest) (_result *CollegeListDeptManagerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeListDeptManagerHeaders{}
	_result = &CollegeListDeptManagerResponse{}
	_body, _err := client.CollegeListDeptManagerWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 分页获取班级下所有学生列表
//
// @param request - CollegeListStudentInfoRequest
//
// @param headers - CollegeListStudentInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeListStudentInfoResponse
func (client *Client) CollegeListStudentInfoWithOptions(request *CollegeListStudentInfoRequest, headers *CollegeListStudentInfoHeaders, runtime *util.RuntimeOptions) (_result *CollegeListStudentInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.DingStudentStatus)) {
		query["dingStudentStatus"] = request.DingStudentStatus
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeListStudentInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/students"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeListStudentInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 分页获取班级下所有学生列表
//
// @param request - CollegeListStudentInfoRequest
//
// @return CollegeListStudentInfoResponse
func (client *Client) CollegeListStudentInfo(request *CollegeListStudentInfoRequest) (_result *CollegeListStudentInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeListStudentInfoHeaders{}
	_result = &CollegeListStudentInfoResponse{}
	_body, _err := client.CollegeListStudentInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 分页查询未加入组织的学生列表
//
// @param request - CollegeListUncheckedStudentRequest
//
// @param headers - CollegeListUncheckedStudentHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeListUncheckedStudentResponse
func (client *Client) CollegeListUncheckedStudentWithOptions(request *CollegeListUncheckedStudentRequest, headers *CollegeListUncheckedStudentHeaders, runtime *util.RuntimeOptions) (_result *CollegeListUncheckedStudentResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeListUncheckedStudent"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/organizations/unjoinedStudents"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeListUncheckedStudentResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 分页查询未加入组织的学生列表
//
// @param request - CollegeListUncheckedStudentRequest
//
// @return CollegeListUncheckedStudentResponse
func (client *Client) CollegeListUncheckedStudent(request *CollegeListUncheckedStudentRequest) (_result *CollegeListUncheckedStudentResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeListUncheckedStudentHeaders{}
	_result = &CollegeListUncheckedStudentResponse{}
	_body, _err := client.CollegeListUncheckedStudentWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取学段/学院/年级/专业\系/班级群群信息
//
// @param request - CollegeQueryCollegeDeptGroupInfoRequest
//
// @param headers - CollegeQueryCollegeDeptGroupInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeQueryCollegeDeptGroupInfoResponse
func (client *Client) CollegeQueryCollegeDeptGroupInfoWithOptions(request *CollegeQueryCollegeDeptGroupInfoRequest, headers *CollegeQueryCollegeDeptGroupInfoHeaders, runtime *util.RuntimeOptions) (_result *CollegeQueryCollegeDeptGroupInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeQueryCollegeDeptGroupInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/depts/groupInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeQueryCollegeDeptGroupInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取学段/学院/年级/专业\系/班级群群信息
//
// @param request - CollegeQueryCollegeDeptGroupInfoRequest
//
// @return CollegeQueryCollegeDeptGroupInfoResponse
func (client *Client) CollegeQueryCollegeDeptGroupInfo(request *CollegeQueryCollegeDeptGroupInfoRequest) (_result *CollegeQueryCollegeDeptGroupInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeQueryCollegeDeptGroupInfoHeaders{}
	_result = &CollegeQueryCollegeDeptGroupInfoResponse{}
	_body, _err := client.CollegeQueryCollegeDeptGroupInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取学段/学院/年级/专业\系/班级信息
//
// @param request - CollegeQueryCollegeDeptInfoRequest
//
// @param headers - CollegeQueryCollegeDeptInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeQueryCollegeDeptInfoResponse
func (client *Client) CollegeQueryCollegeDeptInfoWithOptions(request *CollegeQueryCollegeDeptInfoRequest, headers *CollegeQueryCollegeDeptInfoHeaders, runtime *util.RuntimeOptions) (_result *CollegeQueryCollegeDeptInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeQueryCollegeDeptInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/deptInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeQueryCollegeDeptInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取学段/学院/年级/专业\系/班级信息
//
// @param request - CollegeQueryCollegeDeptInfoRequest
//
// @return CollegeQueryCollegeDeptInfoResponse
func (client *Client) CollegeQueryCollegeDeptInfo(request *CollegeQueryCollegeDeptInfoRequest) (_result *CollegeQueryCollegeDeptInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeQueryCollegeDeptInfoHeaders{}
	_result = &CollegeQueryCollegeDeptInfoResponse{}
	_body, _err := client.CollegeQueryCollegeDeptInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取指定部门下指定学生的信息
//
// @param request - CollegeQueryStudentInfoByDeptRequest
//
// @param headers - CollegeQueryStudentInfoByDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeQueryStudentInfoByDeptResponse
func (client *Client) CollegeQueryStudentInfoByDeptWithOptions(request *CollegeQueryStudentInfoByDeptRequest, headers *CollegeQueryStudentInfoByDeptHeaders, runtime *util.RuntimeOptions) (_result *CollegeQueryStudentInfoByDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		query["studentId"] = request.StudentId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeQueryStudentInfoByDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/studentinfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeQueryStudentInfoByDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取指定部门下指定学生的信息
//
// @param request - CollegeQueryStudentInfoByDeptRequest
//
// @return CollegeQueryStudentInfoByDeptResponse
func (client *Client) CollegeQueryStudentInfoByDept(request *CollegeQueryStudentInfoByDeptRequest) (_result *CollegeQueryStudentInfoByDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeQueryStudentInfoByDeptHeaders{}
	_result = &CollegeQueryStudentInfoByDeptResponse{}
	_body, _err := client.CollegeQueryStudentInfoByDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 根据手机号查询学生信息
//
// @param request - CollegeQueryStudentInfoByMobileRequest
//
// @param headers - CollegeQueryStudentInfoByMobileHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeQueryStudentInfoByMobileResponse
func (client *Client) CollegeQueryStudentInfoByMobileWithOptions(request *CollegeQueryStudentInfoByMobileRequest, headers *CollegeQueryStudentInfoByMobileHeaders, runtime *util.RuntimeOptions) (_result *CollegeQueryStudentInfoByMobileResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Mobile)) {
		query["mobile"] = request.Mobile
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeQueryStudentInfoByMobile"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/students/mobiles"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeQueryStudentInfoByMobileResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 根据手机号查询学生信息
//
// @param request - CollegeQueryStudentInfoByMobileRequest
//
// @return CollegeQueryStudentInfoByMobileResponse
func (client *Client) CollegeQueryStudentInfoByMobile(request *CollegeQueryStudentInfoByMobileRequest) (_result *CollegeQueryStudentInfoByMobileResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeQueryStudentInfoByMobileHeaders{}
	_result = &CollegeQueryStudentInfoByMobileResponse{}
	_body, _err := client.CollegeQueryStudentInfoByMobileWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 根据studentId查询学生信息
//
// @param request - CollegeQueryStudentInfoByStudentIdRequest
//
// @param headers - CollegeQueryStudentInfoByStudentIdHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeQueryStudentInfoByStudentIdResponse
func (client *Client) CollegeQueryStudentInfoByStudentIdWithOptions(request *CollegeQueryStudentInfoByStudentIdRequest, headers *CollegeQueryStudentInfoByStudentIdHeaders, runtime *util.RuntimeOptions) (_result *CollegeQueryStudentInfoByStudentIdResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		query["studentId"] = request.StudentId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeQueryStudentInfoByStudentId"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/students"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeQueryStudentInfoByStudentIdResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 根据studentId查询学生信息
//
// @param request - CollegeQueryStudentInfoByStudentIdRequest
//
// @return CollegeQueryStudentInfoByStudentIdResponse
func (client *Client) CollegeQueryStudentInfoByStudentId(request *CollegeQueryStudentInfoByStudentIdRequest) (_result *CollegeQueryStudentInfoByStudentIdResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeQueryStudentInfoByStudentIdHeaders{}
	_result = &CollegeQueryStudentInfoByStudentIdResponse{}
	_body, _err := client.CollegeQueryStudentInfoByStudentIdWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 从部门中移除负责人
//
// @param request - CollegeRemoveManagerRequest
//
// @param headers - CollegeRemoveManagerHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeRemoveManagerResponse
func (client *Client) CollegeRemoveManagerWithOptions(request *CollegeRemoveManagerRequest, headers *CollegeRemoveManagerHeaders, runtime *util.RuntimeOptions) (_result *CollegeRemoveManagerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.IsForce)) {
		query["isForce"] = request.IsForce
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeRemoveManager"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/managers"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeRemoveManagerResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 从部门中移除负责人
//
// @param request - CollegeRemoveManagerRequest
//
// @return CollegeRemoveManagerResponse
func (client *Client) CollegeRemoveManager(request *CollegeRemoveManagerRequest) (_result *CollegeRemoveManagerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeRemoveManagerHeaders{}
	_result = &CollegeRemoveManagerResponse{}
	_body, _err := client.CollegeRemoveManagerWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 从部门中移除学生
//
// @param request - CollegeRemoveStudentRequest
//
// @param headers - CollegeRemoveStudentHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeRemoveStudentResponse
func (client *Client) CollegeRemoveStudentWithOptions(request *CollegeRemoveStudentRequest, headers *CollegeRemoveStudentHeaders, runtime *util.RuntimeOptions) (_result *CollegeRemoveStudentResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		query["studentId"] = request.StudentId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeRemoveStudent"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/students"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeRemoveStudentResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 从部门中移除学生
//
// @param request - CollegeRemoveStudentRequest
//
// @return CollegeRemoveStudentResponse
func (client *Client) CollegeRemoveStudent(request *CollegeRemoveStudentRequest) (_result *CollegeRemoveStudentResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeRemoveStudentHeaders{}
	_result = &CollegeRemoveStudentResponse{}
	_body, _err := client.CollegeRemoveStudentWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 编辑学段/学院/年级/专业\系/班级
//
// @param request - CollegeUpdateCollegeDeptRequest
//
// @param headers - CollegeUpdateCollegeDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeUpdateCollegeDeptResponse
func (client *Client) CollegeUpdateCollegeDeptWithOptions(request *CollegeUpdateCollegeDeptRequest, headers *CollegeUpdateCollegeDeptHeaders, runtime *util.RuntimeOptions) (_result *CollegeUpdateCollegeDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.DeptName)) {
		query["deptName"] = request.DeptName
	}

	if !tea.BoolValue(util.IsUnset(request.SortFactor)) {
		query["sortFactor"] = request.SortFactor
	}

	if !tea.BoolValue(util.IsUnset(request.SuperId)) {
		query["superId"] = request.SuperId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeUpdateCollegeDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/depts"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeUpdateCollegeDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 编辑学段/学院/年级/专业\系/班级
//
// @param request - CollegeUpdateCollegeDeptRequest
//
// @return CollegeUpdateCollegeDeptResponse
func (client *Client) CollegeUpdateCollegeDept(request *CollegeUpdateCollegeDeptRequest) (_result *CollegeUpdateCollegeDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeUpdateCollegeDeptHeaders{}
	_result = &CollegeUpdateCollegeDeptResponse{}
	_body, _err := client.CollegeUpdateCollegeDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新学生的部门相关信息
//
// @param request - CollegeUpdateStudentDeptInfoRequest
//
// @param headers - CollegeUpdateStudentDeptInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeUpdateStudentDeptInfoResponse
func (client *Client) CollegeUpdateStudentDeptInfoWithOptions(request *CollegeUpdateStudentDeptInfoRequest, headers *CollegeUpdateStudentDeptInfoHeaders, runtime *util.RuntimeOptions) (_result *CollegeUpdateStudentDeptInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		query["studentId"] = request.StudentId
	}

	if !tea.BoolValue(util.IsUnset(request.StudentNumber)) {
		query["studentNumber"] = request.StudentNumber
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeUpdateStudentDeptInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/deptInfos"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeUpdateStudentDeptInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新学生的部门相关信息
//
// @param request - CollegeUpdateStudentDeptInfoRequest
//
// @return CollegeUpdateStudentDeptInfoResponse
func (client *Client) CollegeUpdateStudentDeptInfo(request *CollegeUpdateStudentDeptInfoRequest) (_result *CollegeUpdateStudentDeptInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeUpdateStudentDeptInfoHeaders{}
	_result = &CollegeUpdateStudentDeptInfoResponse{}
	_body, _err := client.CollegeUpdateStudentDeptInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新班级下学生信息
//
// @param request - CollegeUpdateStudentInfoRequest
//
// @param headers - CollegeUpdateStudentInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeUpdateStudentInfoResponse
func (client *Client) CollegeUpdateStudentInfoWithOptions(request *CollegeUpdateStudentInfoRequest, headers *CollegeUpdateStudentInfoHeaders, runtime *util.RuntimeOptions) (_result *CollegeUpdateStudentInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.EmpExtension)) {
		body["empExtension"] = request.EmpExtension
	}

	if !tea.BoolValue(util.IsUnset(request.Gender)) {
		body["gender"] = request.Gender
	}

	if !tea.BoolValue(util.IsUnset(request.IdentifyId)) {
		body["identifyId"] = request.IdentifyId
	}

	if !tea.BoolValue(util.IsUnset(request.StartYear)) {
		body["startYear"] = request.StartYear
	}

	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		body["studentId"] = request.StudentId
	}

	if !tea.BoolValue(util.IsUnset(request.StudentName)) {
		body["studentName"] = request.StudentName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeUpdateStudentInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/depts/students"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeUpdateStudentInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新班级下学生信息
//
// @param request - CollegeUpdateStudentInfoRequest
//
// @return CollegeUpdateStudentInfoResponse
func (client *Client) CollegeUpdateStudentInfo(request *CollegeUpdateStudentInfoRequest) (_result *CollegeUpdateStudentInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeUpdateStudentInfoHeaders{}
	_result = &CollegeUpdateStudentInfoResponse{}
	_body, _err := client.CollegeUpdateStudentInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 修改学生手机号
//
// @param request - CollegeUpdateStudentMoblieRequest
//
// @param headers - CollegeUpdateStudentMoblieHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CollegeUpdateStudentMoblieResponse
func (client *Client) CollegeUpdateStudentMoblieWithOptions(request *CollegeUpdateStudentMoblieRequest, headers *CollegeUpdateStudentMoblieHeaders, runtime *util.RuntimeOptions) (_result *CollegeUpdateStudentMoblieResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.IsForce)) {
		query["isForce"] = request.IsForce
	}

	if !tea.BoolValue(util.IsUnset(request.NewMobile)) {
		query["newMobile"] = request.NewMobile
	}

	if !tea.BoolValue(util.IsUnset(request.StudentId)) {
		query["studentId"] = request.StudentId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CollegeUpdateStudentMoblie"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/colleges/members/students/mobiles"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CollegeUpdateStudentMoblieResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 修改学生手机号
//
// @param request - CollegeUpdateStudentMoblieRequest
//
// @return CollegeUpdateStudentMoblieResponse
func (client *Client) CollegeUpdateStudentMoblie(request *CollegeUpdateStudentMoblieRequest) (_result *CollegeUpdateStudentMoblieResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CollegeUpdateStudentMoblieHeaders{}
	_result = &CollegeUpdateStudentMoblieResponse{}
	_body, _err := client.CollegeUpdateStudentMoblieWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建自定义通讯录
//
// @param request - CustomizeContactCreateRequest
//
// @param headers - CustomizeContactCreateHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactCreateResponse
func (client *Client) CustomizeContactCreateWithOptions(request *CustomizeContactCreateRequest, headers *CustomizeContactCreateHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactCreateResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ManagerIdList)) {
		body["managerIdList"] = request.ManagerIdList
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.Order)) {
		body["order"] = request.Order
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactCreate"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/contacts"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactCreateResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建自定义通讯录
//
// @param request - CustomizeContactCreateRequest
//
// @return CustomizeContactCreateResponse
func (client *Client) CustomizeContactCreate(request *CustomizeContactCreateRequest) (_result *CustomizeContactCreateResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactCreateHeaders{}
	_result = &CustomizeContactCreateResponse{}
	_body, _err := client.CustomizeContactCreateWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除自定义通讯录
//
// @param request - CustomizeContactDeleteRequest
//
// @param headers - CustomizeContactDeleteHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeleteResponse
func (client *Client) CustomizeContactDeleteWithOptions(request *CustomizeContactDeleteRequest, headers *CustomizeContactDeleteHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeleteResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDelete"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/contacts"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeleteResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除自定义通讯录
//
// @param request - CustomizeContactDeleteRequest
//
// @return CustomizeContactDeleteResponse
func (client *Client) CustomizeContactDelete(request *CustomizeContactDeleteRequest) (_result *CustomizeContactDeleteResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeleteHeaders{}
	_result = &CustomizeContactDeleteResponse{}
	_body, _err := client.CustomizeContactDeleteWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建部门
//
// @param request - CustomizeContactDeptCreateRequest
//
// @param headers - CustomizeContactDeptCreateHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeptCreateResponse
func (client *Client) CustomizeContactDeptCreateWithOptions(request *CustomizeContactDeptCreateRequest, headers *CustomizeContactDeptCreateHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeptCreateResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.ManagerIdList)) {
		body["managerIdList"] = request.ManagerIdList
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.Order)) {
		body["order"] = request.Order
	}

	if !tea.BoolValue(util.IsUnset(request.ParentDeptId)) {
		body["parentDeptId"] = request.ParentDeptId
	}

	if !tea.BoolValue(util.IsUnset(request.RefId)) {
		body["refId"] = request.RefId
	}

	if !tea.BoolValue(util.IsUnset(request.Type)) {
		body["type"] = request.Type
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDeptCreate"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/departments"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeptCreateResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建部门
//
// @param request - CustomizeContactDeptCreateRequest
//
// @return CustomizeContactDeptCreateResponse
func (client *Client) CustomizeContactDeptCreate(request *CustomizeContactDeptCreateRequest) (_result *CustomizeContactDeptCreateResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeptCreateHeaders{}
	_result = &CustomizeContactDeptCreateResponse{}
	_body, _err := client.CustomizeContactDeptCreateWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除部门
//
// @param request - CustomizeContactDeptDeleteRequest
//
// @param headers - CustomizeContactDeptDeleteHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeptDeleteResponse
func (client *Client) CustomizeContactDeptDeleteWithOptions(request *CustomizeContactDeptDeleteRequest, headers *CustomizeContactDeptDeleteHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeptDeleteResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDeptDelete"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/departments"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeptDeleteResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除部门
//
// @param request - CustomizeContactDeptDeleteRequest
//
// @return CustomizeContactDeptDeleteResponse
func (client *Client) CustomizeContactDeptDelete(request *CustomizeContactDeptDeleteRequest) (_result *CustomizeContactDeptDeleteResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeptDeleteHeaders{}
	_result = &CustomizeContactDeptDeleteResponse{}
	_body, _err := client.CustomizeContactDeptDeleteWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 创建自定义通讯录某个部门的部门群
//
// @param request - CustomizeContactDeptGroupCreateRequest
//
// @param headers - CustomizeContactDeptGroupCreateHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeptGroupCreateResponse
func (client *Client) CustomizeContactDeptGroupCreateWithOptions(request *CustomizeContactDeptGroupCreateRequest, headers *CustomizeContactDeptGroupCreateHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeptGroupCreateResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		body["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDeptGroupCreate"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/departmentGroups"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeptGroupCreateResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 创建自定义通讯录某个部门的部门群
//
// @param request - CustomizeContactDeptGroupCreateRequest
//
// @return CustomizeContactDeptGroupCreateResponse
func (client *Client) CustomizeContactDeptGroupCreate(request *CustomizeContactDeptGroupCreateRequest) (_result *CustomizeContactDeptGroupCreateResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeptGroupCreateHeaders{}
	_result = &CustomizeContactDeptGroupCreateResponse{}
	_body, _err := client.CustomizeContactDeptGroupCreateWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取部门详情
//
// @param request - CustomizeContactDeptInfoRequest
//
// @param headers - CustomizeContactDeptInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeptInfoResponse
func (client *Client) CustomizeContactDeptInfoWithOptions(request *CustomizeContactDeptInfoRequest, headers *CustomizeContactDeptInfoHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeptInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDeptInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/departments"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeptInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取部门详情
//
// @param request - CustomizeContactDeptInfoRequest
//
// @return CustomizeContactDeptInfoResponse
func (client *Client) CustomizeContactDeptInfo(request *CustomizeContactDeptInfoRequest) (_result *CustomizeContactDeptInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeptInfoHeaders{}
	_result = &CustomizeContactDeptInfoResponse{}
	_body, _err := client.CustomizeContactDeptInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取子部门列表
//
// @param request - CustomizeContactDeptListRequest
//
// @param headers - CustomizeContactDeptListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeptListResponse
func (client *Client) CustomizeContactDeptListWithOptions(request *CustomizeContactDeptListRequest, headers *CustomizeContactDeptListHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeptListResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDeptList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/subsidiaryDepartments"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeptListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取子部门列表
//
// @param request - CustomizeContactDeptListRequest
//
// @return CustomizeContactDeptListResponse
func (client *Client) CustomizeContactDeptList(request *CustomizeContactDeptListRequest) (_result *CustomizeContactDeptListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeptListHeaders{}
	_result = &CustomizeContactDeptListResponse{}
	_body, _err := client.CustomizeContactDeptListWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新部门
//
// @param request - CustomizeContactDeptUpdateRequest
//
// @param headers - CustomizeContactDeptUpdateHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactDeptUpdateResponse
func (client *Client) CustomizeContactDeptUpdateWithOptions(request *CustomizeContactDeptUpdateRequest, headers *CustomizeContactDeptUpdateHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactDeptUpdateResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		body["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.ManagerIdList)) {
		body["managerIdList"] = request.ManagerIdList
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.Order)) {
		body["order"] = request.Order
	}

	if !tea.BoolValue(util.IsUnset(request.ParentDeptId)) {
		body["parentDeptId"] = request.ParentDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactDeptUpdate"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/departments"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactDeptUpdateResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新部门
//
// @param request - CustomizeContactDeptUpdateRequest
//
// @return CustomizeContactDeptUpdateResponse
func (client *Client) CustomizeContactDeptUpdate(request *CustomizeContactDeptUpdateRequest) (_result *CustomizeContactDeptUpdateResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactDeptUpdateHeaders{}
	_result = &CustomizeContactDeptUpdateResponse{}
	_body, _err := client.CustomizeContactDeptUpdateWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 普通部门下添加人员
//
// @param request - CustomizeContactEmpAddRequest
//
// @param headers - CustomizeContactEmpAddHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactEmpAddResponse
func (client *Client) CustomizeContactEmpAddWithOptions(request *CustomizeContactEmpAddRequest, headers *CustomizeContactEmpAddHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactEmpAddResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		body["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.UserIdList)) {
		body["userIdList"] = request.UserIdList
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactEmpAdd"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/users"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactEmpAddResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 普通部门下添加人员
//
// @param request - CustomizeContactEmpAddRequest
//
// @return CustomizeContactEmpAddResponse
func (client *Client) CustomizeContactEmpAdd(request *CustomizeContactEmpAddRequest) (_result *CustomizeContactEmpAddResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactEmpAddHeaders{}
	_result = &CustomizeContactEmpAddResponse{}
	_body, _err := client.CustomizeContactEmpAddWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 普通部门下移除人员
//
// @param request - CustomizeContactEmpDeleteRequest
//
// @param headers - CustomizeContactEmpDeleteHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactEmpDeleteResponse
func (client *Client) CustomizeContactEmpDeleteWithOptions(request *CustomizeContactEmpDeleteRequest, headers *CustomizeContactEmpDeleteHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactEmpDeleteResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		body["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.UserIdList)) {
		body["userIdList"] = request.UserIdList
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactEmpDelete"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/users/remove"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactEmpDeleteResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 普通部门下移除人员
//
// @param request - CustomizeContactEmpDeleteRequest
//
// @return CustomizeContactEmpDeleteResponse
func (client *Client) CustomizeContactEmpDelete(request *CustomizeContactEmpDeleteRequest) (_result *CustomizeContactEmpDeleteResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactEmpDeleteHeaders{}
	_result = &CustomizeContactEmpDeleteResponse{}
	_body, _err := client.CustomizeContactEmpDeleteWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询部门下人员
//
// @param request - CustomizeContactEmpListRequest
//
// @param headers - CustomizeContactEmpListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactEmpListResponse
func (client *Client) CustomizeContactEmpListWithOptions(request *CustomizeContactEmpListRequest, headers *CustomizeContactEmpListHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactEmpListResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactEmpList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/users"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactEmpListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询部门下人员
//
// @param request - CustomizeContactEmpListRequest
//
// @return CustomizeContactEmpListResponse
func (client *Client) CustomizeContactEmpList(request *CustomizeContactEmpListRequest) (_result *CustomizeContactEmpListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactEmpListHeaders{}
	_result = &CustomizeContactEmpListResponse{}
	_body, _err := client.CustomizeContactEmpListWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取自定义通讯录列表
//
// @param headers - CustomizeContactListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactListResponse
func (client *Client) CustomizeContactListWithOptions(headers *CustomizeContactListHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactListResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/contacts"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取自定义通讯录列表
//
// @return CustomizeContactListResponse
func (client *Client) CustomizeContactList() (_result *CustomizeContactListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactListHeaders{}
	_result = &CustomizeContactListResponse{}
	_body, _err := client.CustomizeContactListWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新自定义通讯录
//
// @param request - CustomizeContactUpdateRequest
//
// @param headers - CustomizeContactUpdateHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return CustomizeContactUpdateResponse
func (client *Client) CustomizeContactUpdateWithOptions(request *CustomizeContactUpdateRequest, headers *CustomizeContactUpdateHeaders, runtime *util.RuntimeOptions) (_result *CustomizeContactUpdateResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.ManagerIdList)) {
		body["managerIdList"] = request.ManagerIdList
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.Order)) {
		body["order"] = request.Order
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("CustomizeContactUpdate"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/customizations/contacts"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &CustomizeContactUpdateResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新自定义通讯录
//
// @param request - CustomizeContactUpdateRequest
//
// @return CustomizeContactUpdateResponse
func (client *Client) CustomizeContactUpdate(request *CustomizeContactUpdateRequest) (_result *CustomizeContactUpdateResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &CustomizeContactUpdateHeaders{}
	_result = &CustomizeContactUpdateResponse{}
	_body, _err := client.CustomizeContactUpdateWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 门店通业务消息推送
//
// @param tmpReq - DIgitalStoreMessagePushRequest
//
// @param headers - DIgitalStoreMessagePushHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DIgitalStoreMessagePushResponse
func (client *Client) DIgitalStoreMessagePushWithOptions(tmpReq *DIgitalStoreMessagePushRequest, headers *DIgitalStoreMessagePushHeaders, runtime *util.RuntimeOptions) (_result *DIgitalStoreMessagePushResponse, _err error) {
	_err = util.ValidateModel(tmpReq)
	if _err != nil {
		return _result, _err
	}
	request := &DIgitalStoreMessagePushShrinkRequest{}
	openapiutil.Convert(tmpReq, request)
	if !tea.BoolValue(util.IsUnset(tmpReq.MessageDataList)) {
		request.MessageDataListShrink = openapiutil.ArrayToStringWithSpecifiedStyle(tmpReq.MessageDataList, tea.String("messageDataList"), tea.String("json"))
	}

	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MessageDataListShrink)) {
		query["messageDataList"] = request.MessageDataListShrink
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DIgitalStoreMessagePush"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/messages/push"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DIgitalStoreMessagePushResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 门店通业务消息推送
//
// @param request - DIgitalStoreMessagePushRequest
//
// @return DIgitalStoreMessagePushResponse
func (client *Client) DIgitalStoreMessagePush(request *DIgitalStoreMessagePushRequest) (_result *DIgitalStoreMessagePushResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DIgitalStoreMessagePushHeaders{}
	_result = &DIgitalStoreMessagePushResponse{}
	_body, _err := client.DIgitalStoreMessagePushWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 群运营-场景卡片发送记录列表
//
// @param request - DigitalStoreCardRecordRequest
//
// @param headers - DigitalStoreCardRecordHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreCardRecordResponse
func (client *Client) DigitalStoreCardRecordWithOptions(request *DigitalStoreCardRecordRequest, headers *DigitalStoreCardRecordHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreCardRecordResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BeginTime)) {
		body["beginTime"] = request.BeginTime
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.Ids)) {
		body["ids"] = request.Ids
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		body["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		body["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.SceneCardName)) {
		body["sceneCardName"] = request.SceneCardName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreCardRecord"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/cardSendRecords/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreCardRecordResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 群运营-场景卡片发送记录列表
//
// @param request - DigitalStoreCardRecordRequest
//
// @return DigitalStoreCardRecordResponse
func (client *Client) DigitalStoreCardRecord(request *DigitalStoreCardRecordRequest) (_result *DigitalStoreCardRecordResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreCardRecordHeaders{}
	_result = &DigitalStoreCardRecordResponse{}
	_body, _err := client.DigitalStoreCardRecordWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询组织中门店通通讯录基础信息
//
// @param headers - DigitalStoreContactInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreContactInfoResponse
func (client *Client) DigitalStoreContactInfoWithOptions(headers *DigitalStoreContactInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreContactInfoResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreContactInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/contactInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreContactInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询组织中门店通通讯录基础信息
//
// @return DigitalStoreContactInfoResponse
func (client *Client) DigitalStoreContactInfo() (_result *DigitalStoreContactInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreContactInfoHeaders{}
	_result = &DigitalStoreContactInfoResponse{}
	_body, _err := client.DigitalStoreContactInfoWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取门店通相关会话列表（区域群、门店群）
//
// @param request - DigitalStoreConversationsRequest
//
// @param headers - DigitalStoreConversationsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreConversationsResponse
func (client *Client) DigitalStoreConversationsWithOptions(request *DigitalStoreConversationsRequest, headers *DigitalStoreConversationsHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreConversationsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ConversationTitle)) {
		query["conversationTitle"] = request.ConversationTitle
	}

	if !tea.BoolValue(util.IsUnset(request.ConversationType)) {
		query["conversationType"] = request.ConversationType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreConversations"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/conversations"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreConversationsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取门店通相关会话列表（区域群、门店群）
//
// @param request - DigitalStoreConversationsRequest
//
// @return DigitalStoreConversationsResponse
func (client *Client) DigitalStoreConversations(request *DigitalStoreConversationsRequest) (_result *DigitalStoreConversationsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreConversationsHeaders{}
	_result = &DigitalStoreConversationsResponse{}
	_body, _err := client.DigitalStoreConversationsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 群运营-数据监控-导出列表
//
// @param request - DigitalStoreExportCardRecordRequest
//
// @param headers - DigitalStoreExportCardRecordHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreExportCardRecordResponse
func (client *Client) DigitalStoreExportCardRecordWithOptions(request *DigitalStoreExportCardRecordRequest, headers *DigitalStoreExportCardRecordHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreExportCardRecordResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BeginTime)) {
		body["beginTime"] = request.BeginTime
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.Ids)) {
		body["ids"] = request.Ids
	}

	if !tea.BoolValue(util.IsUnset(request.SceneCardName)) {
		body["sceneCardName"] = request.SceneCardName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreExportCardRecord"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/cardRecords/export"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreExportCardRecordResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 群运营-数据监控-导出列表
//
// @param request - DigitalStoreExportCardRecordRequest
//
// @return DigitalStoreExportCardRecordResponse
func (client *Client) DigitalStoreExportCardRecord(request *DigitalStoreExportCardRecordRequest) (_result *DigitalStoreExportCardRecordResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreExportCardRecordHeaders{}
	_result = &DigitalStoreExportCardRecordResponse{}
	_body, _err := client.DigitalStoreExportCardRecordWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 群运营-数据监控-导出明细
//
// @param request - DigitalStoreExportCardRecordDetailRequest
//
// @param headers - DigitalStoreExportCardRecordDetailHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreExportCardRecordDetailResponse
func (client *Client) DigitalStoreExportCardRecordDetailWithOptions(request *DigitalStoreExportCardRecordDetailRequest, headers *DigitalStoreExportCardRecordDetailHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreExportCardRecordDetailResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BeginTime)) {
		body["beginTime"] = request.BeginTime
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.Ids)) {
		body["ids"] = request.Ids
	}

	if !tea.BoolValue(util.IsUnset(request.SceneCardName)) {
		body["sceneCardName"] = request.SceneCardName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreExportCardRecordDetail"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/cardRecordDetails/export"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreExportCardRecordDetailResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 群运营-数据监控-导出明细
//
// @param request - DigitalStoreExportCardRecordDetailRequest
//
// @return DigitalStoreExportCardRecordDetailResponse
func (client *Client) DigitalStoreExportCardRecordDetail(request *DigitalStoreExportCardRecordDetailRequest) (_result *DigitalStoreExportCardRecordDetailResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreExportCardRecordDetailHeaders{}
	_result = &DigitalStoreExportCardRecordDetailResponse{}
	_body, _err := client.DigitalStoreExportCardRecordDetailWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通中的门店分组详情
//
// @param request - DigitalStoreGroupInfoRequest
//
// @param headers - DigitalStoreGroupInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreGroupInfoResponse
func (client *Client) DigitalStoreGroupInfoWithOptions(request *DigitalStoreGroupInfoRequest, headers *DigitalStoreGroupInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreGroupInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.GroupId)) {
		query["groupId"] = request.GroupId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreGroupInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/groupInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreGroupInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通中的门店分组详情
//
// @param request - DigitalStoreGroupInfoRequest
//
// @return DigitalStoreGroupInfoResponse
func (client *Client) DigitalStoreGroupInfo(request *DigitalStoreGroupInfoRequest) (_result *DigitalStoreGroupInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreGroupInfoHeaders{}
	_result = &DigitalStoreGroupInfoResponse{}
	_body, _err := client.DigitalStoreGroupInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通中的分组列表
//
// @param headers - DigitalStoreGroupsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreGroupsResponse
func (client *Client) DigitalStoreGroupsWithOptions(headers *DigitalStoreGroupsHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreGroupsResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreGroups"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/groups"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreGroupsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通中的分组列表
//
// @return DigitalStoreGroupsResponse
func (client *Client) DigitalStoreGroups() (_result *DigitalStoreGroupsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreGroupsHeaders{}
	_result = &DigitalStoreGroupsResponse{}
	_body, _err := client.DigitalStoreGroupsWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通讯录某个节点信息
//
// @param request - DigitalStoreNodeInfoRequest
//
// @param headers - DigitalStoreNodeInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreNodeInfoResponse
func (client *Client) DigitalStoreNodeInfoWithOptions(request *DigitalStoreNodeInfoRequest, headers *DigitalStoreNodeInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreNodeInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.NodeId)) {
		query["nodeId"] = request.NodeId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreNodeInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/nodeInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreNodeInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通讯录某个节点信息
//
// @param request - DigitalStoreNodeInfoRequest
//
// @return DigitalStoreNodeInfoResponse
func (client *Client) DigitalStoreNodeInfo(request *DigitalStoreNodeInfoRequest) (_result *DigitalStoreNodeInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreNodeInfoHeaders{}
	_result = &DigitalStoreNodeInfoResponse{}
	_body, _err := client.DigitalStoreNodeInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 通过门店Code获取门店群信息
//
// @param request - DigitalStoreQueryConversationRequest
//
// @param headers - DigitalStoreQueryConversationHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreQueryConversationResponse
func (client *Client) DigitalStoreQueryConversationWithOptions(request *DigitalStoreQueryConversationRequest, headers *DigitalStoreQueryConversationHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreQueryConversationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.StoreCode)) {
		query["storeCode"] = request.StoreCode
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreQueryConversation"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/conversation/queryByStoreCode"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreQueryConversationResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 通过门店Code获取门店群信息
//
// @param request - DigitalStoreQueryConversationRequest
//
// @return DigitalStoreQueryConversationResponse
func (client *Client) DigitalStoreQueryConversation(request *DigitalStoreQueryConversationRequest) (_result *DigitalStoreQueryConversationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreQueryConversationHeaders{}
	_result = &DigitalStoreQueryConversationResponse{}
	_body, _err := client.DigitalStoreQueryConversationWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 门店通权益信息查询
//
// @param headers - DigitalStoreRightsInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreRightsInfoResponse
func (client *Client) DigitalStoreRightsInfoWithOptions(headers *DigitalStoreRightsInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreRightsInfoResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreRightsInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/rightsInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreRightsInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 门店通权益信息查询
//
// @return DigitalStoreRightsInfoResponse
func (client *Client) DigitalStoreRightsInfo() (_result *DigitalStoreRightsInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreRightsInfoHeaders{}
	_result = &DigitalStoreRightsInfoResponse{}
	_body, _err := client.DigitalStoreRightsInfoWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通中的角色列表
//
// @param headers - DigitalStoreRolesHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreRolesResponse
func (client *Client) DigitalStoreRolesWithOptions(headers *DigitalStoreRolesHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreRolesResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreRoles"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/roles"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreRolesResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通中的角色列表
//
// @return DigitalStoreRolesResponse
func (client *Client) DigitalStoreRoles() (_result *DigitalStoreRolesResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreRolesHeaders{}
	_result = &DigitalStoreRolesResponse{}
	_body, _err := client.DigitalStoreRolesWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取门店通场景群的业务范围
//
// @param request - DigitalStoreSceneScopeRequest
//
// @param headers - DigitalStoreSceneScopeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreSceneScopeResponse
func (client *Client) DigitalStoreSceneScopeWithOptions(request *DigitalStoreSceneScopeRequest, headers *DigitalStoreSceneScopeHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreSceneScopeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.OpenConversationId)) {
		query["openConversationId"] = request.OpenConversationId
	}

	if !tea.BoolValue(util.IsUnset(request.SceneCode)) {
		query["sceneCode"] = request.SceneCode
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreSceneScope"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/sceneScopes"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreSceneScopeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取门店通场景群的业务范围
//
// @param request - DigitalStoreSceneScopeRequest
//
// @return DigitalStoreSceneScopeResponse
func (client *Client) DigitalStoreSceneScope(request *DigitalStoreSceneScopeRequest) (_result *DigitalStoreSceneScopeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreSceneScopeHeaders{}
	_result = &DigitalStoreSceneScopeResponse{}
	_body, _err := client.DigitalStoreSceneScopeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通中的门店详情
//
// @param request - DigitalStoreStoreInfoRequest
//
// @param headers - DigitalStoreStoreInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreStoreInfoResponse
func (client *Client) DigitalStoreStoreInfoWithOptions(request *DigitalStoreStoreInfoRequest, headers *DigitalStoreStoreInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreStoreInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.StoreId)) {
		query["storeId"] = request.StoreId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreStoreInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/storeInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreStoreInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通中的门店详情
//
// @param request - DigitalStoreStoreInfoRequest
//
// @return DigitalStoreStoreInfoResponse
func (client *Client) DigitalStoreStoreInfo(request *DigitalStoreStoreInfoRequest) (_result *DigitalStoreStoreInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreStoreInfoHeaders{}
	_result = &DigitalStoreStoreInfoResponse{}
	_body, _err := client.DigitalStoreStoreInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通讯录某个节点下的子节点
//
// @param request - DigitalStoreSubNodesRequest
//
// @param headers - DigitalStoreSubNodesHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreSubNodesResponse
func (client *Client) DigitalStoreSubNodesWithOptions(request *DigitalStoreSubNodesRequest, headers *DigitalStoreSubNodesHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreSubNodesResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.NodeId)) {
		query["nodeId"] = request.NodeId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreSubNodes"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/subsidiaryNodes"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreSubNodesResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通讯录某个节点下的子节点
//
// @param request - DigitalStoreSubNodesRequest
//
// @return DigitalStoreSubNodesResponse
func (client *Client) DigitalStoreSubNodes(request *DigitalStoreSubNodesRequest) (_result *DigitalStoreSubNodesResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreSubNodesHeaders{}
	_result = &DigitalStoreSubNodesResponse{}
	_body, _err := client.DigitalStoreSubNodesWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 修改人员管辖范围以及所属角色
//
// @param request - DigitalStoreUpdateAuthInfoRequest
//
// @param headers - DigitalStoreUpdateAuthInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreUpdateAuthInfoResponse
func (client *Client) DigitalStoreUpdateAuthInfoWithOptions(request *DigitalStoreUpdateAuthInfoRequest, headers *DigitalStoreUpdateAuthInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreUpdateAuthInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.UpdateUserList)) {
		body["updateUserList"] = request.UpdateUserList
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreUpdateAuthInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/authInfos"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreUpdateAuthInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 修改人员管辖范围以及所属角色
//
// @param request - DigitalStoreUpdateAuthInfoRequest
//
// @return DigitalStoreUpdateAuthInfoResponse
func (client *Client) DigitalStoreUpdateAuthInfo(request *DigitalStoreUpdateAuthInfoRequest) (_result *DigitalStoreUpdateAuthInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreUpdateAuthInfoHeaders{}
	_result = &DigitalStoreUpdateAuthInfoResponse{}
	_body, _err := client.DigitalStoreUpdateAuthInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通讯录人员信息
//
// @param request - DigitalStoreUserInfoRequest
//
// @param headers - DigitalStoreUserInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreUserInfoResponse
func (client *Client) DigitalStoreUserInfoWithOptions(request *DigitalStoreUserInfoRequest, headers *DigitalStoreUserInfoHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreUserInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreUserInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/userInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreUserInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通讯录人员信息
//
// @param request - DigitalStoreUserInfoRequest
//
// @return DigitalStoreUserInfoResponse
func (client *Client) DigitalStoreUserInfo(request *DigitalStoreUserInfoRequest) (_result *DigitalStoreUserInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreUserInfoHeaders{}
	_result = &DigitalStoreUserInfoResponse{}
	_body, _err := client.DigitalStoreUserInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询门店通讯录某个节点下的所有人员
//
// @param request - DigitalStoreUsersRequest
//
// @param headers - DigitalStoreUsersHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStoreUsersResponse
func (client *Client) DigitalStoreUsersWithOptions(request *DigitalStoreUsersRequest, headers *DigitalStoreUsersHeaders, runtime *util.RuntimeOptions) (_result *DigitalStoreUsersResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		query["code"] = request.Code
	}

	if !tea.BoolValue(util.IsUnset(request.NodeId)) {
		query["nodeId"] = request.NodeId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStoreUsers"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/nodes/users"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStoreUsersResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询门店通讯录某个节点下的所有人员
//
// @param request - DigitalStoreUsersRequest
//
// @return DigitalStoreUsersResponse
func (client *Client) DigitalStoreUsers(request *DigitalStoreUsersRequest) (_result *DigitalStoreUsersResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStoreUsersHeaders{}
	_result = &DigitalStoreUsersResponse{}
	_body, _err := client.DigitalStoreUsersWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 群运营-数据监控-查询导出任务的记录列表
//
// @param request - DigitalStorelistExportTaskRecordRequest
//
// @param headers - DigitalStorelistExportTaskRecordHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return DigitalStorelistExportTaskRecordResponse
func (client *Client) DigitalStorelistExportTaskRecordWithOptions(request *DigitalStorelistExportTaskRecordRequest, headers *DigitalStorelistExportTaskRecordHeaders, runtime *util.RuntimeOptions) (_result *DigitalStorelistExportTaskRecordResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("DigitalStorelistExportTaskRecord"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/digitalStores/exportTaskRecords"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &DigitalStorelistExportTaskRecordResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 群运营-数据监控-查询导出任务的记录列表
//
// @param request - DigitalStorelistExportTaskRecordRequest
//
// @return DigitalStorelistExportTaskRecordResponse
func (client *Client) DigitalStorelistExportTaskRecord(request *DigitalStorelistExportTaskRecordRequest) (_result *DigitalStorelistExportTaskRecordResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &DigitalStorelistExportTaskRecordHeaders{}
	_result = &DigitalStorelistExportTaskRecordResponse{}
	_body, _err := client.DigitalStorelistExportTaskRecordWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询启用了当前应用的外部协作组织
//
// @param request - ExternalQueryExternalAppOrgsRequest
//
// @param headers - ExternalQueryExternalAppOrgsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ExternalQueryExternalAppOrgsResponse
func (client *Client) ExternalQueryExternalAppOrgsWithOptions(request *ExternalQueryExternalAppOrgsRequest, headers *ExternalQueryExternalAppOrgsHeaders, runtime *util.RuntimeOptions) (_result *ExternalQueryExternalAppOrgsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ExternalType)) {
		query["externalType"] = request.ExternalType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ExternalQueryExternalAppOrgs"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/externals/apps/organizations"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ExternalQueryExternalAppOrgsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询启用了当前应用的外部协作组织
//
// @param request - ExternalQueryExternalAppOrgsRequest
//
// @return ExternalQueryExternalAppOrgsResponse
func (client *Client) ExternalQueryExternalAppOrgs(request *ExternalQueryExternalAppOrgsRequest) (_result *ExternalQueryExternalAppOrgsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ExternalQueryExternalAppOrgsHeaders{}
	_result = &ExternalQueryExternalAppOrgsResponse{}
	_body, _err := client.ExternalQueryExternalAppOrgsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询归属的主组织
//
// @param request - ExternalQueryExternalBelongMainOrgRequest
//
// @param headers - ExternalQueryExternalBelongMainOrgHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ExternalQueryExternalBelongMainOrgResponse
func (client *Client) ExternalQueryExternalBelongMainOrgWithOptions(request *ExternalQueryExternalBelongMainOrgRequest, headers *ExternalQueryExternalBelongMainOrgHeaders, runtime *util.RuntimeOptions) (_result *ExternalQueryExternalBelongMainOrgResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ExternalType)) {
		query["externalType"] = request.ExternalType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ExternalQueryExternalBelongMainOrg"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/externals/attributions/masterOrganizations"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ExternalQueryExternalBelongMainOrgResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询归属的主组织
//
// @param request - ExternalQueryExternalBelongMainOrgRequest
//
// @return ExternalQueryExternalBelongMainOrgResponse
func (client *Client) ExternalQueryExternalBelongMainOrg(request *ExternalQueryExternalBelongMainOrgRequest) (_result *ExternalQueryExternalBelongMainOrgResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ExternalQueryExternalBelongMainOrgHeaders{}
	_result = &ExternalQueryExternalBelongMainOrgResponse{}
	_body, _err := client.ExternalQueryExternalBelongMainOrgWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询外部协作组织
//
// @param request - ExternalQueryExternalOrgsRequest
//
// @param headers - ExternalQueryExternalOrgsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return ExternalQueryExternalOrgsResponse
func (client *Client) ExternalQueryExternalOrgsWithOptions(request *ExternalQueryExternalOrgsRequest, headers *ExternalQueryExternalOrgsHeaders, runtime *util.RuntimeOptions) (_result *ExternalQueryExternalOrgsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ExternalType)) {
		query["externalType"] = request.ExternalType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("ExternalQueryExternalOrgs"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/externals/organizations"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &ExternalQueryExternalOrgsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询外部协作组织
//
// @param request - ExternalQueryExternalOrgsRequest
//
// @return ExternalQueryExternalOrgsResponse
func (client *Client) ExternalQueryExternalOrgs(request *ExternalQueryExternalOrgsRequest) (_result *ExternalQueryExternalOrgsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &ExternalQueryExternalOrgsHeaders{}
	_result = &ExternalQueryExternalOrgsResponse{}
	_body, _err := client.ExternalQueryExternalOrgsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// getTaskPackageResult
//
// @param request - GetTaskPackageResultRequest
//
// @param headers - GetTaskPackageResultHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return GetTaskPackageResultResponse
func (client *Client) GetTaskPackageResultWithOptions(request *GetTaskPackageResultRequest, headers *GetTaskPackageResultHeaders, runtime *util.RuntimeOptions) (_result *GetTaskPackageResultResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.BizCode)) {
		body["bizCode"] = request.BizCode
	}

	if !tea.BoolValue(util.IsUnset(request.TaskPackageId)) {
		body["taskPackageId"] = request.TaskPackageId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("GetTaskPackageResult"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/ai/taskPackages/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &GetTaskPackageResultResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// getTaskPackageResult
//
// @param request - GetTaskPackageResultRequest
//
// @return GetTaskPackageResultResponse
func (client *Client) GetTaskPackageResult(request *GetTaskPackageResultRequest) (_result *GetTaskPackageResultResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &GetTaskPackageResultHeaders{}
	_result = &GetTaskPackageResultResponse{}
	_body, _err := client.GetTaskPackageResultWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 医疗数据对账
//
// @param request - HospitalDataCheckRequest
//
// @param headers - HospitalDataCheckHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return HospitalDataCheckResponse
func (client *Client) HospitalDataCheckWithOptions(request *HospitalDataCheckRequest, headers *HospitalDataCheckHeaders, runtime *util.RuntimeOptions) (_result *HospitalDataCheckResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AllDeptCount)) {
		body["allDeptCount"] = request.AllDeptCount
	}

	if !tea.BoolValue(util.IsUnset(request.AllDeptUserCount)) {
		body["allDeptUserCount"] = request.AllDeptUserCount
	}

	if !tea.BoolValue(util.IsUnset(request.AllGroupCount)) {
		body["allGroupCount"] = request.AllGroupCount
	}

	if !tea.BoolValue(util.IsUnset(request.AllGroupUserCount)) {
		body["allGroupUserCount"] = request.AllGroupUserCount
	}

	if !tea.BoolValue(util.IsUnset(request.DeptCount)) {
		body["deptCount"] = request.DeptCount
	}

	if !tea.BoolValue(util.IsUnset(request.DeptUserCount)) {
		body["deptUserCount"] = request.DeptUserCount
	}

	if !tea.BoolValue(util.IsUnset(request.GroupCount)) {
		body["groupCount"] = request.GroupCount
	}

	if !tea.BoolValue(util.IsUnset(request.GroupUserCount)) {
		body["groupUserCount"] = request.GroupUserCount
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("HospitalDataCheck"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/datas/check"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &HospitalDataCheckResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 医疗数据对账
//
// @param request - HospitalDataCheckRequest
//
// @return HospitalDataCheckResponse
func (client *Client) HospitalDataCheck(request *HospitalDataCheckRequest) (_result *HospitalDataCheckResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &HospitalDataCheckHeaders{}
	_result = &HospitalDataCheckResponse{}
	_body, _err := client.HospitalDataCheckWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 行业化制造业事件中心
//
// @param request - IndustryManufactureCommonEventRequest
//
// @param headers - IndustryManufactureCommonEventHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureCommonEventResponse
func (client *Client) IndustryManufactureCommonEventWithOptions(request *IndustryManufactureCommonEventRequest, headers *IndustryManufactureCommonEventHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureCommonEventResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BizData)) {
		body["bizData"] = request.BizData
	}

	if !tea.BoolValue(util.IsUnset(request.EventType)) {
		body["eventType"] = request.EventType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureCommonEvent"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturing/bases/commons/events"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureCommonEventResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 行业化制造业事件中心
//
// @param request - IndustryManufactureCommonEventRequest
//
// @return IndustryManufactureCommonEventResponse
func (client *Client) IndustryManufactureCommonEvent(request *IndustryManufactureCommonEventRequest) (_result *IndustryManufactureCommonEventResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureCommonEventHeaders{}
	_result = &IndustryManufactureCommonEventResponse{}
	_body, _err := client.IndustryManufactureCommonEventWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 物料成本开放服务
//
// @param request - IndustryManufactureCostRecordListGetRequest
//
// @param headers - IndustryManufactureCostRecordListGetHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureCostRecordListGetResponse
func (client *Client) IndustryManufactureCostRecordListGetWithOptions(request *IndustryManufactureCostRecordListGetRequest, headers *IndustryManufactureCostRecordListGetHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureCostRecordListGetResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.AppIds)) {
		body["appIds"] = request.AppIds
	}

	if !tea.BoolValue(util.IsUnset(request.AppName)) {
		body["appName"] = request.AppName
	}

	if !tea.BoolValue(util.IsUnset(request.CorpId)) {
		body["corpId"] = request.CorpId
	}

	if !tea.BoolValue(util.IsUnset(request.Cursor)) {
		body["cursor"] = request.Cursor
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.InstanceId)) {
		body["instanceId"] = request.InstanceId
	}

	if !tea.BoolValue(util.IsUnset(request.IsvOrgId)) {
		body["isvOrgId"] = request.IsvOrgId
	}

	if !tea.BoolValue(util.IsUnset(request.MaterialNo)) {
		body["materialNo"] = request.MaterialNo
	}

	if !tea.BoolValue(util.IsUnset(request.MicroappAgentId)) {
		body["microappAgentId"] = request.MicroappAgentId
	}

	if !tea.BoolValue(util.IsUnset(request.OrderNo)) {
		body["orderNo"] = request.OrderNo
	}

	if !tea.BoolValue(util.IsUnset(request.OrgId)) {
		body["orgId"] = request.OrgId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		body["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		body["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.ProductionTaskNo)) {
		body["productionTaskNo"] = request.ProductionTaskNo
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.SuiteKey)) {
		body["suiteKey"] = request.SuiteKey
	}

	if !tea.BoolValue(util.IsUnset(request.TokenGrantType)) {
		body["tokenGrantType"] = request.TokenGrantType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureCostRecordListGet"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufactures/materialCostRecords/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureCostRecordListGetResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 物料成本开放服务
//
// @param request - IndustryManufactureCostRecordListGetRequest
//
// @return IndustryManufactureCostRecordListGetResponse
func (client *Client) IndustryManufactureCostRecordListGet(request *IndustryManufactureCostRecordListGetRequest) (_result *IndustryManufactureCostRecordListGetResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureCostRecordListGetHeaders{}
	_result = &IndustryManufactureCostRecordListGetResponse{}
	_body, _err := client.IndustryManufactureCostRecordListGetWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 费用服务
//
// @param request - IndustryManufactureFeeListGetRequest
//
// @param headers - IndustryManufactureFeeListGetHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureFeeListGetResponse
func (client *Client) IndustryManufactureFeeListGetWithOptions(request *IndustryManufactureFeeListGetRequest, headers *IndustryManufactureFeeListGetHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureFeeListGetResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.AppIds)) {
		body["appIds"] = request.AppIds
	}

	if !tea.BoolValue(util.IsUnset(request.AppName)) {
		body["appName"] = request.AppName
	}

	if !tea.BoolValue(util.IsUnset(request.CorpId)) {
		body["corpId"] = request.CorpId
	}

	if !tea.BoolValue(util.IsUnset(request.Cursor)) {
		body["cursor"] = request.Cursor
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.IsvOrgId)) {
		body["isvOrgId"] = request.IsvOrgId
	}

	if !tea.BoolValue(util.IsUnset(request.MaterialNo)) {
		body["materialNo"] = request.MaterialNo
	}

	if !tea.BoolValue(util.IsUnset(request.MicroappAgentId)) {
		body["microappAgentId"] = request.MicroappAgentId
	}

	if !tea.BoolValue(util.IsUnset(request.OrgId)) {
		body["orgId"] = request.OrgId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		body["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		body["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.ProductionTaskNo)) {
		body["productionTaskNo"] = request.ProductionTaskNo
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.SuiteKey)) {
		body["suiteKey"] = request.SuiteKey
	}

	if !tea.BoolValue(util.IsUnset(request.TokenGrantType)) {
		body["tokenGrantType"] = request.TokenGrantType
	}

	if !tea.BoolValue(util.IsUnset(request.Type)) {
		body["type"] = request.Type
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureFeeListGet"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufactures/fees/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureFeeListGetResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 费用服务
//
// @param request - IndustryManufactureFeeListGetRequest
//
// @return IndustryManufactureFeeListGetResponse
func (client *Client) IndustryManufactureFeeListGet(request *IndustryManufactureFeeListGetRequest) (_result *IndustryManufactureFeeListGetResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureFeeListGetHeaders{}
	_result = &IndustryManufactureFeeListGetResponse{}
	_body, _err := client.IndustryManufactureFeeListGetWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 行业化-制造业工价接口
//
// @param request - IndustryManufactureLabourCostRequest
//
// @param headers - IndustryManufactureLabourCostHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureLabourCostResponse
func (client *Client) IndustryManufactureLabourCostWithOptions(request *IndustryManufactureLabourCostRequest, headers *IndustryManufactureLabourCostHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureLabourCostResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.AppIds)) {
		body["appIds"] = request.AppIds
	}

	if !tea.BoolValue(util.IsUnset(request.AppName)) {
		body["appName"] = request.AppName
	}

	if !tea.BoolValue(util.IsUnset(request.CorpId)) {
		body["corpId"] = request.CorpId
	}

	if !tea.BoolValue(util.IsUnset(request.Cursor)) {
		body["cursor"] = request.Cursor
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.IsvOrgId)) {
		body["isvOrgId"] = request.IsvOrgId
	}

	if !tea.BoolValue(util.IsUnset(request.MaterialNo)) {
		body["materialNo"] = request.MaterialNo
	}

	if !tea.BoolValue(util.IsUnset(request.MicroappAgentId)) {
		body["microappAgentId"] = request.MicroappAgentId
	}

	if !tea.BoolValue(util.IsUnset(request.OrgId)) {
		body["orgId"] = request.OrgId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		body["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		body["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessNo)) {
		body["processNo"] = request.ProcessNo
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.SuiteKey)) {
		body["suiteKey"] = request.SuiteKey
	}

	if !tea.BoolValue(util.IsUnset(request.TokenGrantType)) {
		body["tokenGrantType"] = request.TokenGrantType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureLabourCost"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufactures/labourCosts/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureLabourCostResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 行业化-制造业工价接口
//
// @param request - IndustryManufactureLabourCostRequest
//
// @return IndustryManufactureLabourCostResponse
func (client *Client) IndustryManufactureLabourCost(request *IndustryManufactureLabourCostRequest) (_result *IndustryManufactureLabourCostResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureLabourCostHeaders{}
	_result = &IndustryManufactureLabourCostResponse{}
	_body, _err := client.IndustryManufactureLabourCostWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询行业物料列表
//
// @param request - IndustryManufactureMaterialListRequest
//
// @param headers - IndustryManufactureMaterialListHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMaterialListResponse
func (client *Client) IndustryManufactureMaterialListWithOptions(request *IndustryManufactureMaterialListRequest, headers *IndustryManufactureMaterialListHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMaterialListResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.AppIds)) {
		body["appIds"] = request.AppIds
	}

	if !tea.BoolValue(util.IsUnset(request.AppName)) {
		body["appName"] = request.AppName
	}

	if !tea.BoolValue(util.IsUnset(request.CorpId)) {
		body["corpId"] = request.CorpId
	}

	if !tea.BoolValue(util.IsUnset(request.CurrentPage)) {
		body["currentPage"] = request.CurrentPage
	}

	if !tea.BoolValue(util.IsUnset(request.Cursor)) {
		body["cursor"] = request.Cursor
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.InstanceId)) {
		body["instanceId"] = request.InstanceId
	}

	if !tea.BoolValue(util.IsUnset(request.IsvOrgId)) {
		body["isvOrgId"] = request.IsvOrgId
	}

	if !tea.BoolValue(util.IsUnset(request.MaterialNo)) {
		body["materialNo"] = request.MaterialNo
	}

	if !tea.BoolValue(util.IsUnset(request.MicroappAgentId)) {
		body["microappAgentId"] = request.MicroappAgentId
	}

	if !tea.BoolValue(util.IsUnset(request.OrgId)) {
		body["orgId"] = request.OrgId
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		body["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.SuiteKey)) {
		body["suiteKey"] = request.SuiteKey
	}

	if !tea.BoolValue(util.IsUnset(request.TokenGrantType)) {
		body["tokenGrantType"] = request.TokenGrantType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMaterialList"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufactures/materials/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMaterialListResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询行业物料列表
//
// @param request - IndustryManufactureMaterialListRequest
//
// @return IndustryManufactureMaterialListResponse
func (client *Client) IndustryManufactureMaterialList(request *IndustryManufactureMaterialListRequest) (_result *IndustryManufactureMaterialListResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMaterialListHeaders{}
	_result = &IndustryManufactureMaterialListResponse{}
	_body, _err := client.IndustryManufactureMaterialListWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 派工任务管理
//
// @param request - IndustryManufactureMesDispatchTaskRequest
//
// @param headers - IndustryManufactureMesDispatchTaskHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesDispatchTaskResponse
func (client *Client) IndustryManufactureMesDispatchTaskWithOptions(request *IndustryManufactureMesDispatchTaskRequest, headers *IndustryManufactureMesDispatchTaskHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesDispatchTaskResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.DefectsAmount)) {
		body["defectsAmount"] = request.DefectsAmount
	}

	if !tea.BoolValue(util.IsUnset(request.DispatchStaffName)) {
		body["dispatchStaffName"] = request.DispatchStaffName
	}

	if !tea.BoolValue(util.IsUnset(request.DispatchStaffNo)) {
		body["dispatchStaffNo"] = request.DispatchStaffNo
	}

	if !tea.BoolValue(util.IsUnset(request.FineAmount)) {
		body["fineAmount"] = request.FineAmount
	}

	if !tea.BoolValue(util.IsUnset(request.Overdue)) {
		body["overdue"] = request.Overdue
	}

	if !tea.BoolValue(util.IsUnset(request.PlanQuantity)) {
		body["planQuantity"] = request.PlanQuantity
	}

	if !tea.BoolValue(util.IsUnset(request.Priority)) {
		body["priority"] = request.Priority
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessName)) {
		body["processName"] = request.ProcessName
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessUuid)) {
		body["processUuid"] = request.ProcessUuid
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	if !tea.BoolValue(util.IsUnset(request.ProductSpecification)) {
		body["productSpecification"] = request.ProductSpecification
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectCode)) {
		body["projectCode"] = request.ProjectCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectId)) {
		body["projectId"] = request.ProjectId
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectStatus)) {
		body["projectStatus"] = request.ProjectStatus
	}

	if !tea.BoolValue(util.IsUnset(request.TaskOperators)) {
		body["taskOperators"] = request.TaskOperators
	}

	if !tea.BoolValue(util.IsUnset(request.TaskPlanEndTime)) {
		body["taskPlanEndTime"] = request.TaskPlanEndTime
	}

	if !tea.BoolValue(util.IsUnset(request.TaskPlanStartTime)) {
		body["taskPlanStartTime"] = request.TaskPlanStartTime
	}

	if !tea.BoolValue(util.IsUnset(request.TaskStatus)) {
		body["taskStatus"] = request.TaskStatus
	}

	if !tea.BoolValue(util.IsUnset(request.TaskType)) {
		body["taskType"] = request.TaskType
	}

	if !tea.BoolValue(util.IsUnset(request.TeamId)) {
		body["teamId"] = request.TeamId
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesDispatchTask"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/dispatchTasks/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesDispatchTaskResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 派工任务管理
//
// @param request - IndustryManufactureMesDispatchTaskRequest
//
// @return IndustryManufactureMesDispatchTaskResponse
func (client *Client) IndustryManufactureMesDispatchTask(request *IndustryManufactureMesDispatchTaskRequest) (_result *IndustryManufactureMesDispatchTaskResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesDispatchTaskHeaders{}
	_result = &IndustryManufactureMesDispatchTaskResponse{}
	_body, _err := client.IndustryManufactureMesDispatchTaskWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// # MES系统物料管理
//
// @param request - IndustryManufactureMesMaterialRequest
//
// @param headers - IndustryManufactureMesMaterialHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesMaterialResponse
func (client *Client) IndustryManufactureMesMaterialWithOptions(request *IndustryManufactureMesMaterialRequest, headers *IndustryManufactureMesMaterialHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesMaterialResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.Category)) {
		body["category"] = request.Category
	}

	if !tea.BoolValue(util.IsUnset(request.ExtendData)) {
		body["extendData"] = request.ExtendData
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	if !tea.BoolValue(util.IsUnset(request.ProductSpecification)) {
		body["productSpecification"] = request.ProductSpecification
	}

	if !tea.BoolValue(util.IsUnset(request.Prop)) {
		body["prop"] = request.Prop
	}

	if !tea.BoolValue(util.IsUnset(request.Unit)) {
		body["unit"] = request.Unit
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesMaterial"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/materials/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesMaterialResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// # MES系统物料管理
//
// @param request - IndustryManufactureMesMaterialRequest
//
// @return IndustryManufactureMesMaterialResponse
func (client *Client) IndustryManufactureMesMaterial(request *IndustryManufactureMesMaterialRequest) (_result *IndustryManufactureMesMaterialResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesMaterialHeaders{}
	_result = &IndustryManufactureMesMaterialResponse{}
	_body, _err := client.IndustryManufactureMesMaterialWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 生产委外工单管理
//
// @param request - IndustryManufactureMesOutPlanRequest
//
// @param headers - IndustryManufactureMesOutPlanHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesOutPlanResponse
func (client *Client) IndustryManufactureMesOutPlanWithOptions(request *IndustryManufactureMesOutPlanRequest, headers *IndustryManufactureMesOutPlanHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesOutPlanResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ApprovalStatus)) {
		body["approvalStatus"] = request.ApprovalStatus
	}

	if !tea.BoolValue(util.IsUnset(request.Approver)) {
		body["approver"] = request.Approver
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.OutSourceProjectCode)) {
		body["outSourceProjectCode"] = request.OutSourceProjectCode
	}

	if !tea.BoolValue(util.IsUnset(request.OutSourceTeamId)) {
		body["outSourceTeamId"] = request.OutSourceTeamId
	}

	if !tea.BoolValue(util.IsUnset(request.Price)) {
		body["price"] = request.Price
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessIdentificationCode)) {
		body["processIdentificationCode"] = request.ProcessIdentificationCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessUuids)) {
		body["processUuids"] = request.ProcessUuids
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	if !tea.BoolValue(util.IsUnset(request.ProductSpecification)) {
		body["productSpecification"] = request.ProductSpecification
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectCode)) {
		body["projectCode"] = request.ProjectCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectId)) {
		body["projectId"] = request.ProjectId
	}

	if !tea.BoolValue(util.IsUnset(request.SendPlanQuantity)) {
		body["sendPlanQuantity"] = request.SendPlanQuantity
	}

	if !tea.BoolValue(util.IsUnset(request.SupplierCode)) {
		body["supplierCode"] = request.SupplierCode
	}

	if !tea.BoolValue(util.IsUnset(request.SupplierName)) {
		body["supplierName"] = request.SupplierName
	}

	if !tea.BoolValue(util.IsUnset(request.TotalWage)) {
		body["totalWage"] = request.TotalWage
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesOutPlan"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/outPlans/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesOutPlanResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 生产委外工单管理
//
// @param request - IndustryManufactureMesOutPlanRequest
//
// @return IndustryManufactureMesOutPlanResponse
func (client *Client) IndustryManufactureMesOutPlan(request *IndustryManufactureMesOutPlanRequest) (_result *IndustryManufactureMesOutPlanResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesOutPlanHeaders{}
	_result = &IndustryManufactureMesOutPlanResponse{}
	_body, _err := client.IndustryManufactureMesOutPlanWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 生产报工管理
//
// @param request - IndustryManufactureMesOutputRequest
//
// @param headers - IndustryManufactureMesOutputHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesOutputResponse
func (client *Client) IndustryManufactureMesOutputWithOptions(request *IndustryManufactureMesOutputRequest, headers *IndustryManufactureMesOutputHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesOutputResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.ApproveStatus)) {
		body["approveStatus"] = request.ApproveStatus
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.DefectsAmount)) {
		body["defectsAmount"] = request.DefectsAmount
	}

	if !tea.BoolValue(util.IsUnset(request.DefectsReason)) {
		body["defectsReason"] = request.DefectsReason
	}

	if !tea.BoolValue(util.IsUnset(request.FineAmount)) {
		body["fineAmount"] = request.FineAmount
	}

	if !tea.BoolValue(util.IsUnset(request.HasQualityTest)) {
		body["hasQualityTest"] = request.HasQualityTest
	}

	if !tea.BoolValue(util.IsUnset(request.Overdue)) {
		body["overdue"] = request.Overdue
	}

	if !tea.BoolValue(util.IsUnset(request.PlanQuantity)) {
		body["planQuantity"] = request.PlanQuantity
	}

	if !tea.BoolValue(util.IsUnset(request.Priority)) {
		body["priority"] = request.Priority
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessName)) {
		body["processName"] = request.ProcessName
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessUuid)) {
		body["processUuid"] = request.ProcessUuid
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	if !tea.BoolValue(util.IsUnset(request.ProductSpecification)) {
		body["productSpecification"] = request.ProductSpecification
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectCode)) {
		body["projectCode"] = request.ProjectCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectId)) {
		body["projectId"] = request.ProjectId
	}

	if !tea.BoolValue(util.IsUnset(request.ProjectStatus)) {
		body["projectStatus"] = request.ProjectStatus
	}

	if !tea.BoolValue(util.IsUnset(request.QualityTestStatus)) {
		body["qualityTestStatus"] = request.QualityTestStatus
	}

	if !tea.BoolValue(util.IsUnset(request.TaskPlanEndTime)) {
		body["taskPlanEndTime"] = request.TaskPlanEndTime
	}

	if !tea.BoolValue(util.IsUnset(request.TaskPlanStartTime)) {
		body["taskPlanStartTime"] = request.TaskPlanStartTime
	}

	if !tea.BoolValue(util.IsUnset(request.TaskStatus)) {
		body["taskStatus"] = request.TaskStatus
	}

	if !tea.BoolValue(util.IsUnset(request.TaskType)) {
		body["taskType"] = request.TaskType
	}

	if !tea.BoolValue(util.IsUnset(request.TaskUuid)) {
		body["taskUuid"] = request.TaskUuid
	}

	if !tea.BoolValue(util.IsUnset(request.TeamId)) {
		body["teamId"] = request.TeamId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		body["userId"] = request.UserId
	}

	if !tea.BoolValue(util.IsUnset(request.UserName)) {
		body["userName"] = request.UserName
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesOutput"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/outputs/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesOutputResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 生产报工管理
//
// @param request - IndustryManufactureMesOutputRequest
//
// @return IndustryManufactureMesOutputResponse
func (client *Client) IndustryManufactureMesOutput(request *IndustryManufactureMesOutputRequest) (_result *IndustryManufactureMesOutputResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesOutputHeaders{}
	_result = &IndustryManufactureMesOutputResponse{}
	_body, _err := client.IndustryManufactureMesOutputWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// # MES系统工序管理
//
// @param request - IndustryManufactureMesProcessRequest
//
// @param headers - IndustryManufactureMesProcessHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesProcessResponse
func (client *Client) IndustryManufactureMesProcessWithOptions(request *IndustryManufactureMesProcessRequest, headers *IndustryManufactureMesProcessHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesProcessResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.ExtendData)) {
		body["extendData"] = request.ExtendData
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.NeedDispatch)) {
		body["needDispatch"] = request.NeedDispatch
	}

	if !tea.BoolValue(util.IsUnset(request.NeedQualityTest)) {
		body["needQualityTest"] = request.NeedQualityTest
	}

	if !tea.BoolValue(util.IsUnset(request.No)) {
		body["no"] = request.No
	}

	if !tea.BoolValue(util.IsUnset(request.Price)) {
		body["price"] = request.Price
	}

	if !tea.BoolValue(util.IsUnset(request.Prop)) {
		body["prop"] = request.Prop
	}

	if !tea.BoolValue(util.IsUnset(request.Remark)) {
		body["remark"] = request.Remark
	}

	if !tea.BoolValue(util.IsUnset(request.Sop)) {
		body["sop"] = request.Sop
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesProcess"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/processes/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesProcessResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// # MES系统工序管理
//
// @param request - IndustryManufactureMesProcessRequest
//
// @return IndustryManufactureMesProcessResponse
func (client *Client) IndustryManufactureMesProcess(request *IndustryManufactureMesProcessRequest) (_result *IndustryManufactureMesProcessResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesProcessHeaders{}
	_result = &IndustryManufactureMesProcessResponse{}
	_body, _err := client.IndustryManufactureMesProcessWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 生产工单管理
//
// @param request - IndustryManufactureMesProductionPlanRequest
//
// @param headers - IndustryManufactureMesProductionPlanHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesProductionPlanResponse
func (client *Client) IndustryManufactureMesProductionPlanWithOptions(request *IndustryManufactureMesProductionPlanRequest, headers *IndustryManufactureMesProductionPlanHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesProductionPlanResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.ActualEndTime)) {
		body["actualEndTime"] = request.ActualEndTime
	}

	if !tea.BoolValue(util.IsUnset(request.ActualStartTime)) {
		body["actualStartTime"] = request.ActualStartTime
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.BomUuid)) {
		body["bomUuid"] = request.BomUuid
	}

	if !tea.BoolValue(util.IsUnset(request.Events)) {
		body["events"] = request.Events
	}

	if !tea.BoolValue(util.IsUnset(request.ExtendData)) {
		body["extendData"] = request.ExtendData
	}

	if !tea.BoolValue(util.IsUnset(request.No)) {
		body["no"] = request.No
	}

	if !tea.BoolValue(util.IsUnset(request.Overdue)) {
		body["overdue"] = request.Overdue
	}

	if !tea.BoolValue(util.IsUnset(request.PlanEndTime)) {
		body["planEndTime"] = request.PlanEndTime
	}

	if !tea.BoolValue(util.IsUnset(request.PlanQuantity)) {
		body["planQuantity"] = request.PlanQuantity
	}

	if !tea.BoolValue(util.IsUnset(request.PlanStartTime)) {
		body["planStartTime"] = request.PlanStartTime
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessUuids)) {
		body["processUuids"] = request.ProcessUuids
	}

	if !tea.BoolValue(util.IsUnset(request.ProductCode)) {
		body["productCode"] = request.ProductCode
	}

	if !tea.BoolValue(util.IsUnset(request.ProductName)) {
		body["productName"] = request.ProductName
	}

	if !tea.BoolValue(util.IsUnset(request.ProductSpecification)) {
		body["productSpecification"] = request.ProductSpecification
	}

	if !tea.BoolValue(util.IsUnset(request.QualifiedQuantity)) {
		body["qualifiedQuantity"] = request.QualifiedQuantity
	}

	if !tea.BoolValue(util.IsUnset(request.SellOrderNo)) {
		body["sellOrderNo"] = request.SellOrderNo
	}

	if !tea.BoolValue(util.IsUnset(request.Status)) {
		body["status"] = request.Status
	}

	if !tea.BoolValue(util.IsUnset(request.TeamList)) {
		body["teamList"] = request.TeamList
	}

	if !tea.BoolValue(util.IsUnset(request.Title)) {
		body["title"] = request.Title
	}

	if !tea.BoolValue(util.IsUnset(request.Type)) {
		body["type"] = request.Type
	}

	if !tea.BoolValue(util.IsUnset(request.Unit)) {
		body["unit"] = request.Unit
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesProductionPlan"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/productionPlans/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesProductionPlanResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 生产工单管理
//
// @param request - IndustryManufactureMesProductionPlanRequest
//
// @return IndustryManufactureMesProductionPlanResponse
func (client *Client) IndustryManufactureMesProductionPlan(request *IndustryManufactureMesProductionPlanRequest) (_result *IndustryManufactureMesProductionPlanResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesProductionPlanHeaders{}
	_result = &IndustryManufactureMesProductionPlanResponse{}
	_body, _err := client.IndustryManufactureMesProductionPlanWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 生产委外合作班组管理
//
// @param request - IndustryManufactureMesSubCooperationTeamRequest
//
// @param headers - IndustryManufactureMesSubCooperationTeamHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesSubCooperationTeamResponse
func (client *Client) IndustryManufactureMesSubCooperationTeamWithOptions(request *IndustryManufactureMesSubCooperationTeamRequest, headers *IndustryManufactureMesSubCooperationTeamHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesSubCooperationTeamResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.Events)) {
		body["events"] = request.Events
	}

	if !tea.BoolValue(util.IsUnset(request.ExtendData)) {
		body["extendData"] = request.ExtendData
	}

	if !tea.BoolValue(util.IsUnset(request.GroupPlugins)) {
		body["groupPlugins"] = request.GroupPlugins
	}

	if !tea.BoolValue(util.IsUnset(request.GroupType)) {
		body["groupType"] = request.GroupType
	}

	if !tea.BoolValue(util.IsUnset(request.Leaders)) {
		body["leaders"] = request.Leaders
	}

	if !tea.BoolValue(util.IsUnset(request.Members)) {
		body["members"] = request.Members
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.OutCorpId)) {
		body["outCorpId"] = request.OutCorpId
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessIds)) {
		body["processIds"] = request.ProcessIds
	}

	if !tea.BoolValue(util.IsUnset(request.Uuid)) {
		body["uuid"] = request.Uuid
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesSubCooperationTeam"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturings/outTeams/manage"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesSubCooperationTeamResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 生产委外合作班组管理
//
// @param request - IndustryManufactureMesSubCooperationTeamRequest
//
// @return IndustryManufactureMesSubCooperationTeamResponse
func (client *Client) IndustryManufactureMesSubCooperationTeam(request *IndustryManufactureMesSubCooperationTeamRequest) (_result *IndustryManufactureMesSubCooperationTeamResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesSubCooperationTeamHeaders{}
	_result = &IndustryManufactureMesSubCooperationTeamResponse{}
	_body, _err := client.IndustryManufactureMesSubCooperationTeamWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// # MES系统班组管理
//
// @param request - IndustryManufactureMesTeamMgmtRequest
//
// @param headers - IndustryManufactureMesTeamMgmtHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryManufactureMesTeamMgmtResponse
func (client *Client) IndustryManufactureMesTeamMgmtWithOptions(request *IndustryManufactureMesTeamMgmtRequest, headers *IndustryManufactureMesTeamMgmtHeaders, runtime *util.RuntimeOptions) (_result *IndustryManufactureMesTeamMgmtResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Action)) {
		body["action"] = request.Action
	}

	if !tea.BoolValue(util.IsUnset(request.AppKey)) {
		body["appKey"] = request.AppKey
	}

	if !tea.BoolValue(util.IsUnset(request.BaseDataName)) {
		body["baseDataName"] = request.BaseDataName
	}

	if !tea.BoolValue(util.IsUnset(request.Events)) {
		body["events"] = request.Events
	}

	if !tea.BoolValue(util.IsUnset(request.ExtendData)) {
		body["extendData"] = request.ExtendData
	}

	if !tea.BoolValue(util.IsUnset(request.GroupConfig)) {
		body["groupConfig"] = request.GroupConfig
	}

	if !tea.BoolValue(util.IsUnset(request.GroupPlugins)) {
		body["groupPlugins"] = request.GroupPlugins
	}

	if !tea.BoolValue(util.IsUnset(request.GroupType)) {
		body["groupType"] = request.GroupType
	}

	if !tea.BoolValue(util.IsUnset(request.Id)) {
		body["id"] = request.Id
	}

	if !tea.BoolValue(util.IsUnset(request.Leaders)) {
		body["leaders"] = request.Leaders
	}

	if !tea.BoolValue(util.IsUnset(request.Members)) {
		body["members"] = request.Members
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.ProcessIds)) {
		body["processIds"] = request.ProcessIds
	}

	if !tea.BoolValue(util.IsUnset(request.TagKey)) {
		body["tagKey"] = request.TagKey
	}

	if !tea.BoolValue(util.IsUnset(request.TagValues)) {
		body["tagValues"] = request.TagValues
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryManufactureMesTeamMgmt"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufacturing/base/data/team"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryManufactureMesTeamMgmtResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// # MES系统班组管理
//
// @param request - IndustryManufactureMesTeamMgmtRequest
//
// @return IndustryManufactureMesTeamMgmtResponse
func (client *Client) IndustryManufactureMesTeamMgmt(request *IndustryManufactureMesTeamMgmtRequest) (_result *IndustryManufactureMesTeamMgmtResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryManufactureMesTeamMgmtHeaders{}
	_result = &IndustryManufactureMesTeamMgmtResponse{}
	_body, _err := client.IndustryManufactureMesTeamMgmtWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 物料成本查询服务
//
// @param request - IndustryMmanufactureMaterialCostGetRequest
//
// @param headers - IndustryMmanufactureMaterialCostGetHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return IndustryMmanufactureMaterialCostGetResponse
func (client *Client) IndustryMmanufactureMaterialCostGetWithOptions(request *IndustryMmanufactureMaterialCostGetRequest, headers *IndustryMmanufactureMaterialCostGetHeaders, runtime *util.RuntimeOptions) (_result *IndustryMmanufactureMaterialCostGetResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.AppIds)) {
		body["appIds"] = request.AppIds
	}

	if !tea.BoolValue(util.IsUnset(request.AppName)) {
		body["appName"] = request.AppName
	}

	if !tea.BoolValue(util.IsUnset(request.CorpId)) {
		body["corpId"] = request.CorpId
	}

	if !tea.BoolValue(util.IsUnset(request.Cursor)) {
		body["cursor"] = request.Cursor
	}

	if !tea.BoolValue(util.IsUnset(request.EndTime)) {
		body["endTime"] = request.EndTime
	}

	if !tea.BoolValue(util.IsUnset(request.InstanceId)) {
		body["instanceId"] = request.InstanceId
	}

	if !tea.BoolValue(util.IsUnset(request.IsvOrgId)) {
		body["isvOrgId"] = request.IsvOrgId
	}

	if !tea.BoolValue(util.IsUnset(request.MaterialNo)) {
		body["materialNo"] = request.MaterialNo
	}

	if !tea.BoolValue(util.IsUnset(request.MicroappAgentId)) {
		body["microappAgentId"] = request.MicroappAgentId
	}

	if !tea.BoolValue(util.IsUnset(request.OrgId)) {
		body["orgId"] = request.OrgId
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		body["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		body["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.StartTime)) {
		body["startTime"] = request.StartTime
	}

	if !tea.BoolValue(util.IsUnset(request.SuiteKey)) {
		body["suiteKey"] = request.SuiteKey
	}

	if !tea.BoolValue(util.IsUnset(request.TokenGrantType)) {
		body["tokenGrantType"] = request.TokenGrantType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("IndustryMmanufactureMaterialCostGet"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/manufactures/base/materialCosts/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &IndustryMmanufactureMaterialCostGetResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 物料成本查询服务
//
// @param request - IndustryMmanufactureMaterialCostGetRequest
//
// @return IndustryMmanufactureMaterialCostGetResponse
func (client *Client) IndustryMmanufactureMaterialCostGet(request *IndustryMmanufactureMaterialCostGetRequest) (_result *IndustryMmanufactureMaterialCostGetResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &IndustryMmanufactureMaterialCostGetHeaders{}
	_result = &IndustryMmanufactureMaterialCostGetResponse{}
	_body, _err := client.IndustryMmanufactureMaterialCostGetWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 提供text和card两种形式工作通知消息
//
// @param request - PushDingMessageRequest
//
// @param headers - PushDingMessageHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return PushDingMessageResponse
func (client *Client) PushDingMessageWithOptions(request *PushDingMessageRequest, headers *PushDingMessageHeaders, runtime *util.RuntimeOptions) (_result *PushDingMessageResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.Content)) {
		body["content"] = request.Content
	}

	if !tea.BoolValue(util.IsUnset(request.MessageType)) {
		body["messageType"] = request.MessageType
	}

	if !tea.BoolValue(util.IsUnset(request.MessageUrl)) {
		body["messageUrl"] = request.MessageUrl
	}

	if !tea.BoolValue(util.IsUnset(request.PictureUrl)) {
		body["pictureUrl"] = request.PictureUrl
	}

	if !tea.BoolValue(util.IsUnset(request.SingleTitle)) {
		body["singleTitle"] = request.SingleTitle
	}

	if !tea.BoolValue(util.IsUnset(request.SingleUrl)) {
		body["singleUrl"] = request.SingleUrl
	}

	if !tea.BoolValue(util.IsUnset(request.Title)) {
		body["title"] = request.Title
	}

	if !tea.BoolValue(util.IsUnset(request.UserIdList)) {
		body["userIdList"] = request.UserIdList
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("PushDingMessage"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/works/notice"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &PushDingMessageResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 提供text和card两种形式工作通知消息
//
// @param request - PushDingMessageRequest
//
// @return PushDingMessageResponse
func (client *Client) PushDingMessage(request *PushDingMessageRequest) (_result *PushDingMessageResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &PushDingMessageHeaders{}
	_result = &PushDingMessageResponse{}
	_body, _err := client.PushDingMessageWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取当前组织下的所有科室
//
// @param request - QueryAllDepartmentRequest
//
// @param headers - QueryAllDepartmentHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryAllDepartmentResponse
func (client *Client) QueryAllDepartmentWithOptions(request *QueryAllDepartmentRequest, headers *QueryAllDepartmentHeaders, runtime *util.RuntimeOptions) (_result *QueryAllDepartmentResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryAllDepartment"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/departments"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryAllDepartmentResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取当前组织下的所有科室
//
// @param request - QueryAllDepartmentRequest
//
// @return QueryAllDepartmentResponse
func (client *Client) QueryAllDepartment(request *QueryAllDepartmentRequest) (_result *QueryAllDepartmentResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryAllDepartmentHeaders{}
	_result = &QueryAllDepartmentResponse{}
	_body, _err := client.QueryAllDepartmentWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询医院下的所有医生
//
// @param request - QueryAllDoctorsRequest
//
// @param headers - QueryAllDoctorsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryAllDoctorsResponse
func (client *Client) QueryAllDoctorsWithOptions(request *QueryAllDoctorsRequest, headers *QueryAllDoctorsHeaders, runtime *util.RuntimeOptions) (_result *QueryAllDoctorsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MonthMark)) {
		query["monthMark"] = request.MonthMark
	}

	if !tea.BoolValue(util.IsUnset(request.PageNum)) {
		query["pageNum"] = request.PageNum
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryAllDoctors"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/doctors"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryAllDoctorsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询医院下的所有医生
//
// @param request - QueryAllDoctorsRequest
//
// @return QueryAllDoctorsResponse
func (client *Client) QueryAllDoctors(request *QueryAllDoctorsRequest) (_result *QueryAllDoctorsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryAllDoctorsHeaders{}
	_result = &QueryAllDoctorsResponse{}
	_body, _err := client.QueryAllDoctorsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询所有医疗组
//
// @param request - QueryAllGroupRequest
//
// @param headers - QueryAllGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryAllGroupResponse
func (client *Client) QueryAllGroupWithOptions(request *QueryAllGroupRequest, headers *QueryAllGroupHeaders, runtime *util.RuntimeOptions) (_result *QueryAllGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryAllGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/groups"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryAllGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询所有医疗组
//
// @param request - QueryAllGroupRequest
//
// @return QueryAllGroupResponse
func (client *Client) QueryAllGroup(request *QueryAllGroupRequest) (_result *QueryAllGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryAllGroupHeaders{}
	_result = &QueryAllGroupResponse{}
	_body, _err := client.QueryAllGroupWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询科室下的所有医疗组
//
// @param request - QueryAllGroupsInDeptRequest
//
// @param headers - QueryAllGroupsInDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryAllGroupsInDeptResponse
func (client *Client) QueryAllGroupsInDeptWithOptions(deptId *string, request *QueryAllGroupsInDeptRequest, headers *QueryAllGroupsInDeptHeaders, runtime *util.RuntimeOptions) (_result *QueryAllGroupsInDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryAllGroupsInDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/departments/" + tea.StringValue(deptId) + "/groups"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryAllGroupsInDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询科室下的所有医疗组
//
// @param request - QueryAllGroupsInDeptRequest
//
// @return QueryAllGroupsInDeptResponse
func (client *Client) QueryAllGroupsInDept(deptId *string, request *QueryAllGroupsInDeptRequest) (_result *QueryAllGroupsInDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryAllGroupsInDeptHeaders{}
	_result = &QueryAllGroupsInDeptResponse{}
	_body, _err := client.QueryAllGroupsInDeptWithOptions(deptId, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询科室下的所有人员
//
// @param request - QueryAllMemberByDeptRequest
//
// @param headers - QueryAllMemberByDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryAllMemberByDeptResponse
func (client *Client) QueryAllMemberByDeptWithOptions(deptId *string, request *QueryAllMemberByDeptRequest, headers *QueryAllMemberByDeptHeaders, runtime *util.RuntimeOptions) (_result *QueryAllMemberByDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MonthMark)) {
		query["monthMark"] = request.MonthMark
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryAllMemberByDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/departments/" + tea.StringValue(deptId) + "/members"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryAllMemberByDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询科室下的所有人员
//
// @param request - QueryAllMemberByDeptRequest
//
// @return QueryAllMemberByDeptResponse
func (client *Client) QueryAllMemberByDept(deptId *string, request *QueryAllMemberByDeptRequest) (_result *QueryAllMemberByDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryAllMemberByDeptHeaders{}
	_result = &QueryAllMemberByDeptResponse{}
	_body, _err := client.QueryAllMemberByDeptWithOptions(deptId, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取医疗组下面的所有成员
//
// @param request - QueryAllMemberByGroupRequest
//
// @param headers - QueryAllMemberByGroupHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryAllMemberByGroupResponse
func (client *Client) QueryAllMemberByGroupWithOptions(groupId *string, request *QueryAllMemberByGroupRequest, headers *QueryAllMemberByGroupHeaders, runtime *util.RuntimeOptions) (_result *QueryAllMemberByGroupResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MonthMark)) {
		query["monthMark"] = request.MonthMark
	}

	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryAllMemberByGroup"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/groups/" + tea.StringValue(groupId) + "/members"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryAllMemberByGroupResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取医疗组下面的所有成员
//
// @param request - QueryAllMemberByGroupRequest
//
// @return QueryAllMemberByGroupResponse
func (client *Client) QueryAllMemberByGroup(groupId *string, request *QueryAllMemberByGroupRequest) (_result *QueryAllMemberByGroupResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryAllMemberByGroupHeaders{}
	_result = &QueryAllMemberByGroupResponse{}
	_body, _err := client.QueryAllMemberByGroupWithOptions(groupId, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取当前企业医疗通讯录的业务操作日志
//
// @param request - QueryBizOptLogRequest
//
// @param headers - QueryBizOptLogHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryBizOptLogResponse
func (client *Client) QueryBizOptLogWithOptions(request *QueryBizOptLogRequest, headers *QueryBizOptLogHeaders, runtime *util.RuntimeOptions) (_result *QueryBizOptLogResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MaxResults)) {
		query["maxResults"] = request.MaxResults
	}

	if !tea.BoolValue(util.IsUnset(request.NextToken)) {
		query["nextToken"] = request.NextToken
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryBizOptLog"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/bizOptLogs"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("json"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryBizOptLogResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取当前企业医疗通讯录的业务操作日志
//
// @param request - QueryBizOptLogRequest
//
// @return QueryBizOptLogResponse
func (client *Client) QueryBizOptLog(request *QueryBizOptLogRequest) (_result *QueryBizOptLogResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryBizOptLogHeaders{}
	_result = &QueryBizOptLogResponse{}
	_body, _err := client.QueryBizOptLogWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取专属AI平台信息
//
// @param request - QueryChatAIOXMInfoRequest
//
// @param headers - QueryChatAIOXMInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryChatAIOXMInfoResponse
func (client *Client) QueryChatAIOXMInfoWithOptions(request *QueryChatAIOXMInfoRequest, headers *QueryChatAIOXMInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryChatAIOXMInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Code)) {
		body["code"] = request.Code
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryChatAIOXMInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/chatai/oxm/infos/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryChatAIOXMInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取专属AI平台信息
//
// @param request - QueryChatAIOXMInfoRequest
//
// @return QueryChatAIOXMInfoResponse
func (client *Client) QueryChatAIOXMInfo(request *QueryChatAIOXMInfoRequest) (_result *QueryChatAIOXMInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryChatAIOXMInfoHeaders{}
	_result = &QueryChatAIOXMInfoResponse{}
	_body, _err := client.QueryChatAIOXMInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询科室和医疗组的扩展信息
//
// @param request - QueryDepartmentExtendInfoRequest
//
// @param headers - QueryDepartmentExtendInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryDepartmentExtendInfoResponse
func (client *Client) QueryDepartmentExtendInfoWithOptions(request *QueryDepartmentExtendInfoRequest, headers *QueryDepartmentExtendInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryDepartmentExtendInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptCode)) {
		query["deptCode"] = request.DeptCode
	}

	if !tea.BoolValue(util.IsUnset(request.PropCode)) {
		query["propCode"] = request.PropCode
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryDepartmentExtendInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/departments/extensions/infos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryDepartmentExtendInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询科室和医疗组的扩展信息
//
// @param request - QueryDepartmentExtendInfoRequest
//
// @return QueryDepartmentExtendInfoResponse
func (client *Client) QueryDepartmentExtendInfo(request *QueryDepartmentExtendInfoRequest) (_result *QueryDepartmentExtendInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryDepartmentExtendInfoHeaders{}
	_result = &QueryDepartmentExtendInfoResponse{}
	_body, _err := client.QueryDepartmentExtendInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询部门详情
//
// @param headers - QueryDepartmentInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryDepartmentInfoResponse
func (client *Client) QueryDepartmentInfoWithOptions(deptId *string, headers *QueryDepartmentInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryDepartmentInfoResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryDepartmentInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/departments/" + tea.StringValue(deptId)),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryDepartmentInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询部门详情
//
// @return QueryDepartmentInfoResponse
func (client *Client) QueryDepartmentInfo(deptId *string) (_result *QueryDepartmentInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryDepartmentInfoHeaders{}
	_result = &QueryDepartmentInfoResponse{}
	_body, _err := client.QueryDepartmentInfoWithOptions(deptId, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 通过工号查询人员信息
//
// @param request - QueryDoctorDetailsByJobNumberRequest
//
// @param headers - QueryDoctorDetailsByJobNumberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryDoctorDetailsByJobNumberResponse
func (client *Client) QueryDoctorDetailsByJobNumberWithOptions(jobNumber *string, request *QueryDoctorDetailsByJobNumberRequest, headers *QueryDoctorDetailsByJobNumberHeaders, runtime *util.RuntimeOptions) (_result *QueryDoctorDetailsByJobNumberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MonthMark)) {
		query["monthMark"] = request.MonthMark
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryDoctorDetailsByJobNumber"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/doctors/" + tea.StringValue(jobNumber)),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryDoctorDetailsByJobNumberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 通过工号查询人员信息
//
// @param request - QueryDoctorDetailsByJobNumberRequest
//
// @return QueryDoctorDetailsByJobNumberResponse
func (client *Client) QueryDoctorDetailsByJobNumber(jobNumber *string, request *QueryDoctorDetailsByJobNumberRequest) (_result *QueryDoctorDetailsByJobNumberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryDoctorDetailsByJobNumberHeaders{}
	_result = &QueryDoctorDetailsByJobNumberResponse{}
	_body, _err := client.QueryDoctorDetailsByJobNumberWithOptions(jobNumber, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取医疗组详情
//
// @param headers - QueryGroupInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryGroupInfoResponse
func (client *Client) QueryGroupInfoWithOptions(groupId *string, headers *QueryGroupInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryGroupInfoResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryGroupInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/groups/" + tea.StringValue(groupId)),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryGroupInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取医疗组详情
//
// @return QueryGroupInfoResponse
func (client *Client) QueryGroupInfo(groupId *string) (_result *QueryGroupInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryGroupInfoHeaders{}
	_result = &QueryGroupInfoResponse{}
	_body, _err := client.QueryGroupInfoWithOptions(groupId, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询医院的院区和病区信息
//
// @param request - QueryHospitalDistrictInfoRequest
//
// @param headers - QueryHospitalDistrictInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryHospitalDistrictInfoResponse
func (client *Client) QueryHospitalDistrictInfoWithOptions(request *QueryHospitalDistrictInfoRequest, headers *QueryHospitalDistrictInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryHospitalDistrictInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryHospitalDistrictInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/districts"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryHospitalDistrictInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询医院的院区和病区信息
//
// @param request - QueryHospitalDistrictInfoRequest
//
// @return QueryHospitalDistrictInfoResponse
func (client *Client) QueryHospitalDistrictInfo(request *QueryHospitalDistrictInfoRequest) (_result *QueryHospitalDistrictInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryHospitalDistrictInfoHeaders{}
	_result = &QueryHospitalDistrictInfoResponse{}
	_body, _err := client.QueryHospitalDistrictInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询医院所有角色的人员
//
// @param request - QueryHospitalRoleUserInfoRequest
//
// @param headers - QueryHospitalRoleUserInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryHospitalRoleUserInfoResponse
func (client *Client) QueryHospitalRoleUserInfoWithOptions(request *QueryHospitalRoleUserInfoRequest, headers *QueryHospitalRoleUserInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryHospitalRoleUserInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryHospitalRoleUserInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/roles/userInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryHospitalRoleUserInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询医院所有角色的人员
//
// @param request - QueryHospitalRoleUserInfoRequest
//
// @return QueryHospitalRoleUserInfoResponse
func (client *Client) QueryHospitalRoleUserInfo(request *QueryHospitalRoleUserInfoRequest) (_result *QueryHospitalRoleUserInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryHospitalRoleUserInfoHeaders{}
	_result = &QueryHospitalRoleUserInfoResponse{}
	_body, _err := client.QueryHospitalRoleUserInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询医院的角色
//
// @param headers - QueryHospitalRolesHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryHospitalRolesResponse
func (client *Client) QueryHospitalRolesWithOptions(headers *QueryHospitalRolesHeaders, runtime *util.RuntimeOptions) (_result *QueryHospitalRolesResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryHospitalRoles"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/roles"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryHospitalRolesResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询医院的角色
//
// @return QueryHospitalRolesResponse
func (client *Client) QueryHospitalRoles() (_result *QueryHospitalRolesResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryHospitalRolesHeaders{}
	_result = &QueryHospitalRolesResponse{}
	_body, _err := client.QueryHospitalRolesWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询职称字典表
//
// @param headers - QueryJobCodeDictionaryHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryJobCodeDictionaryResponse
func (client *Client) QueryJobCodeDictionaryWithOptions(headers *QueryJobCodeDictionaryHeaders, runtime *util.RuntimeOptions) (_result *QueryJobCodeDictionaryResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryJobCodeDictionary"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/jobCodes"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("json"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryJobCodeDictionaryResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询职称字典表
//
// @return QueryJobCodeDictionaryResponse
func (client *Client) QueryJobCodeDictionary() (_result *QueryJobCodeDictionaryResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryJobCodeDictionaryHeaders{}
	_result = &QueryJobCodeDictionaryResponse{}
	_body, _err := client.QueryJobCodeDictionaryWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询工作状态字典表
//
// @param headers - QueryJobStatusCodeDictionaryHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryJobStatusCodeDictionaryResponse
func (client *Client) QueryJobStatusCodeDictionaryWithOptions(headers *QueryJobStatusCodeDictionaryHeaders, runtime *util.RuntimeOptions) (_result *QueryJobStatusCodeDictionaryResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryJobStatusCodeDictionary"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/jobStatusCodes"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("json"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryJobStatusCodeDictionaryResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询工作状态字典表
//
// @return QueryJobStatusCodeDictionaryResponse
func (client *Client) QueryJobStatusCodeDictionary() (_result *QueryJobStatusCodeDictionaryResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryJobStatusCodeDictionaryHeaders{}
	_result = &QueryJobStatusCodeDictionaryResponse{}
	_body, _err := client.QueryJobStatusCodeDictionaryWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询医疗行业事件
//
// @param headers - QueryMedicalEventsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryMedicalEventsResponse
func (client *Client) QueryMedicalEventsWithOptions(headers *QueryMedicalEventsHeaders, runtime *util.RuntimeOptions) (_result *QueryMedicalEventsResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryMedicalEvents"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/events"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryMedicalEventsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询医疗行业事件
//
// @return QueryMedicalEventsResponse
func (client *Client) QueryMedicalEvents() (_result *QueryMedicalEventsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryMedicalEventsHeaders{}
	_result = &QueryMedicalEventsResponse{}
	_body, _err := client.QueryMedicalEventsWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询用户的证书
//
// @param request - QueryUserCredentialsRequest
//
// @param headers - QueryUserCredentialsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryUserCredentialsResponse
func (client *Client) QueryUserCredentialsWithOptions(request *QueryUserCredentialsRequest, headers *QueryUserCredentialsHeaders, runtime *util.RuntimeOptions) (_result *QueryUserCredentialsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.UserIds)) {
		body["userIds"] = request.UserIds
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryUserCredentials"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/credentials/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryUserCredentialsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询用户的证书
//
// @param request - QueryUserCredentialsRequest
//
// @return QueryUserCredentialsResponse
func (client *Client) QueryUserCredentials(request *QueryUserCredentialsRequest) (_result *QueryUserCredentialsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryUserCredentialsHeaders{}
	_result = &QueryUserCredentialsResponse{}
	_body, _err := client.QueryUserCredentialsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询人员的扩展信息
//
// @param headers - QueryUserExtInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryUserExtInfoResponse
func (client *Client) QueryUserExtInfoWithOptions(userId *string, headers *QueryUserExtInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryUserExtInfoResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryUserExtInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/" + tea.StringValue(userId) + "/extInfos"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryUserExtInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询人员的扩展信息
//
// @return QueryUserExtInfoResponse
func (client *Client) QueryUserExtInfo(userId *string) (_result *QueryUserExtInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryUserExtInfoHeaders{}
	_result = &QueryUserExtInfoResponse{}
	_body, _err := client.QueryUserExtInfoWithOptions(userId, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取用户拓展字段
//
// @param request - QueryUserExtendValuesRequest
//
// @param headers - QueryUserExtendValuesHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryUserExtendValuesResponse
func (client *Client) QueryUserExtendValuesWithOptions(request *QueryUserExtendValuesRequest, headers *QueryUserExtendValuesHeaders, runtime *util.RuntimeOptions) (_result *QueryUserExtendValuesResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.UserExtendKey)) {
		body["userExtendKey"] = request.UserExtendKey
	}

	if !tea.BoolValue(util.IsUnset(request.UserIds)) {
		body["userIds"] = request.UserIds
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryUserExtendValues"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/extends/query"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryUserExtendValuesResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取用户拓展字段
//
// @param request - QueryUserExtendValuesRequest
//
// @return QueryUserExtendValuesResponse
func (client *Client) QueryUserExtendValues(request *QueryUserExtendValuesRequest) (_result *QueryUserExtendValuesResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryUserExtendValuesHeaders{}
	_result = &QueryUserExtendValuesResponse{}
	_body, _err := client.QueryUserExtendValuesWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询人员详情
//
// @param request - QueryUserInfoRequest
//
// @param headers - QueryUserInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryUserInfoResponse
func (client *Client) QueryUserInfoWithOptions(userId *string, request *QueryUserInfoRequest, headers *QueryUserInfoHeaders, runtime *util.RuntimeOptions) (_result *QueryUserInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.MonthMark)) {
		query["monthMark"] = request.MonthMark
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("QueryUserInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/" + tea.StringValue(userId)),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryUserInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询人员详情
//
// @param request - QueryUserInfoRequest
//
// @return QueryUserInfoResponse
func (client *Client) QueryUserInfo(userId *string, request *QueryUserInfoRequest) (_result *QueryUserInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryUserInfoHeaders{}
	_result = &QueryUserInfoResponse{}
	_body, _err := client.QueryUserInfoWithOptions(userId, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询人员属性字典表
//
// @param headers - QueryUserProbCodeDictionaryHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryUserProbCodeDictionaryResponse
func (client *Client) QueryUserProbCodeDictionaryWithOptions(headers *QueryUserProbCodeDictionaryHeaders, runtime *util.RuntimeOptions) (_result *QueryUserProbCodeDictionaryResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryUserProbCodeDictionary"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/userProbCodes"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("json"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryUserProbCodeDictionaryResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询人员属性字典表
//
// @return QueryUserProbCodeDictionaryResponse
func (client *Client) QueryUserProbCodeDictionary() (_result *QueryUserProbCodeDictionaryResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryUserProbCodeDictionaryHeaders{}
	_result = &QueryUserProbCodeDictionaryResponse{}
	_body, _err := client.QueryUserProbCodeDictionaryWithOptions(headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询人员权限
//
// @param headers - QueryUserRolesHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return QueryUserRolesResponse
func (client *Client) QueryUserRolesWithOptions(userId *string, headers *QueryUserRolesHeaders, runtime *util.RuntimeOptions) (_result *QueryUserRolesResponse, _err error) {
	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
	}
	params := &openapi.Params{
		Action:      tea.String("QueryUserRoles"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/" + tea.StringValue(userId) + "/roles"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("json"),
		BodyType:    tea.String("json"),
	}
	_result = &QueryUserRolesResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询人员权限
//
// @return QueryUserRolesResponse
func (client *Client) QueryUserRoles(userId *string) (_result *QueryUserRolesResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &QueryUserRolesHeaders{}
	_result = &QueryUserRolesResponse{}
	_body, _err := client.QueryUserRolesWithOptions(userId, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 保存用户拓展字段
//
// @param request - SaveUserExtendValuesRequest
//
// @param headers - SaveUserExtendValuesHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SaveUserExtendValuesResponse
func (client *Client) SaveUserExtendValuesWithOptions(userId *string, request *SaveUserExtendValuesRequest, headers *SaveUserExtendValuesHeaders, runtime *util.RuntimeOptions) (_result *SaveUserExtendValuesResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.UserDisplayName)) {
		query["userDisplayName"] = request.UserDisplayName
	}

	if !tea.BoolValue(util.IsUnset(request.UserExtendKey)) {
		query["userExtendKey"] = request.UserExtendKey
	}

	if !tea.BoolValue(util.IsUnset(request.UserExtendValue)) {
		query["userExtendValue"] = request.UserExtendValue
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SaveUserExtendValues"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/" + tea.StringValue(userId) + "/extends"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SaveUserExtendValuesResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 保存用户拓展字段
//
// @param request - SaveUserExtendValuesRequest
//
// @return SaveUserExtendValuesResponse
func (client *Client) SaveUserExtendValues(userId *string, request *SaveUserExtendValuesRequest) (_result *SaveUserExtendValuesResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SaveUserExtendValuesHeaders{}
	_result = &SaveUserExtendValuesResponse{}
	_body, _err := client.SaveUserExtendValuesWithOptions(userId, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 提交ai解析任务
//
// @param request - SubmitTaskRequest
//
// @param headers - SubmitTaskHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SubmitTaskResponse
func (client *Client) SubmitTaskWithOptions(request *SubmitTaskRequest, headers *SubmitTaskHeaders, runtime *util.RuntimeOptions) (_result *SubmitTaskResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.BizCode)) {
		body["bizCode"] = request.BizCode
	}

	if !tea.BoolValue(util.IsUnset(request.Data)) {
		body["data"] = request.Data
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		body["unionId"] = request.UnionId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("SubmitTask"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/ai/tasks/submit"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SubmitTaskResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 提交ai解析任务
//
// @param request - SubmitTaskRequest
//
// @return SubmitTaskResponse
func (client *Client) SubmitTask(request *SubmitTaskRequest) (_result *SubmitTaskResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SubmitTaskHeaders{}
	_result = &SubmitTaskResponse{}
	_body, _err := client.SubmitTaskWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// submitTaskPackage
//
// @param request - SubmitTaskPackageRequest
//
// @param headers - SubmitTaskPackageHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SubmitTaskPackageResponse
func (client *Client) SubmitTaskPackageWithOptions(request *SubmitTaskPackageRequest, headers *SubmitTaskPackageHeaders, runtime *util.RuntimeOptions) (_result *SubmitTaskPackageResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.AppId)) {
		body["appId"] = request.AppId
	}

	if !tea.BoolValue(util.IsUnset(request.AppSecret)) {
		body["appSecret"] = request.AppSecret
	}

	if !tea.BoolValue(util.IsUnset(request.BizCode)) {
		body["bizCode"] = request.BizCode
	}

	if !tea.BoolValue(util.IsUnset(request.Data)) {
		body["data"] = request.Data
	}

	if !tea.BoolValue(util.IsUnset(request.Desc)) {
		body["desc"] = request.Desc
	}

	if !tea.BoolValue(util.IsUnset(request.FileType)) {
		body["fileType"] = request.FileType
	}

	if !tea.BoolValue(util.IsUnset(request.TaskPackageName)) {
		body["taskPackageName"] = request.TaskPackageName
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		body["unionId"] = request.UnionId
	}

	if !tea.BoolValue(util.IsUnset(request.Version)) {
		body["version"] = request.Version
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("SubmitTaskPackage"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/ai/taskPackages/submit"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SubmitTaskPackageResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// submitTaskPackage
//
// @param request - SubmitTaskPackageRequest
//
// @return SubmitTaskPackageResponse
func (client *Client) SubmitTaskPackage(request *SubmitTaskPackageRequest) (_result *SubmitTaskPackageResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SubmitTaskPackageHeaders{}
	_result = &SubmitTaskPackageResponse{}
	_body, _err := client.SubmitTaskPackageWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 增加角色或角色组
//
// @param request - SupplAddRoleRequest
//
// @param headers - SupplAddRoleHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplAddRoleResponse
func (client *Client) SupplAddRoleWithOptions(request *SupplAddRoleRequest, headers *SupplAddRoleHeaders, runtime *util.RuntimeOptions) (_result *SupplAddRoleResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ParentRoleGroupId)) {
		query["parentRoleGroupId"] = request.ParentRoleGroupId
	}

	if !tea.BoolValue(util.IsUnset(request.RoleName)) {
		query["roleName"] = request.RoleName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplAddRole"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/roles"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplAddRoleResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 增加角色或角色组
//
// @param request - SupplAddRoleRequest
//
// @return SupplAddRoleResponse
func (client *Client) SupplAddRole(request *SupplAddRoleRequest) (_result *SupplAddRoleResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplAddRoleHeaders{}
	_result = &SupplAddRoleResponse{}
	_body, _err := client.SupplAddRoleWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 新增供应链节点
//
// @param request - SupplyAddDeptRequest
//
// @param headers - SupplyAddDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyAddDeptResponse
func (client *Client) SupplyAddDeptWithOptions(request *SupplyAddDeptRequest, headers *SupplyAddDeptHeaders, runtime *util.RuntimeOptions) (_result *SupplyAddDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptName)) {
		query["deptName"] = request.DeptName
	}

	if !tea.BoolValue(util.IsUnset(request.PartnerNumber)) {
		query["partnerNumber"] = request.PartnerNumber
	}

	if !tea.BoolValue(util.IsUnset(request.SuperDeptId)) {
		query["superDeptId"] = request.SuperDeptId
	}

	if !tea.BoolValue(util.IsUnset(request.SupplyDeptType)) {
		query["supplyDeptType"] = request.SupplyDeptType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyAddDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/departments"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyAddDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 新增供应链节点
//
// @param request - SupplyAddDeptRequest
//
// @return SupplyAddDeptResponse
func (client *Client) SupplyAddDept(request *SupplyAddDeptRequest) (_result *SupplyAddDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyAddDeptHeaders{}
	_result = &SupplyAddDeptResponse{}
	_body, _err := client.SupplyAddDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 添加供应商人员
//
// @param request - SupplyAddMemberRequest
//
// @param headers - SupplyAddMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyAddMemberResponse
func (client *Client) SupplyAddMemberWithOptions(request *SupplyAddMemberRequest, headers *SupplyAddMemberHeaders, runtime *util.RuntimeOptions) (_result *SupplyAddMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.IsPartnerManager)) {
		query["isPartnerManager"] = request.IsPartnerManager
	}

	if !tea.BoolValue(util.IsUnset(request.MemberMobile)) {
		query["memberMobile"] = request.MemberMobile
	}

	if !tea.BoolValue(util.IsUnset(request.MemberName)) {
		query["memberName"] = request.MemberName
	}

	if !tea.BoolValue(util.IsUnset(request.MemberTitle)) {
		query["memberTitle"] = request.MemberTitle
	}

	if !tea.BoolValue(util.IsUnset(request.MemberWorkNumber)) {
		query["memberWorkNumber"] = request.MemberWorkNumber
	}

	if !tea.BoolValue(util.IsUnset(request.SupplyDeptId)) {
		query["supplyDeptId"] = request.SupplyDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyAddMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/members"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyAddMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 添加供应商人员
//
// @param request - SupplyAddMemberRequest
//
// @return SupplyAddMemberResponse
func (client *Client) SupplyAddMember(request *SupplyAddMemberRequest) (_result *SupplyAddMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyAddMemberHeaders{}
	_result = &SupplyAddMemberResponse{}
	_body, _err := client.SupplyAddMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 添加伙伴负责人
//
// @param request - SupplyAddPartnerAdminsRequest
//
// @param headers - SupplyAddPartnerAdminsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyAddPartnerAdminsResponse
func (client *Client) SupplyAddPartnerAdminsWithOptions(request *SupplyAddPartnerAdminsRequest, headers *SupplyAddPartnerAdminsHeaders, runtime *util.RuntimeOptions) (_result *SupplyAddPartnerAdminsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyAddPartnerAdmins"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerAdministrators"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyAddPartnerAdminsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 添加伙伴负责人
//
// @param request - SupplyAddPartnerAdminsRequest
//
// @return SupplyAddPartnerAdminsResponse
func (client *Client) SupplyAddPartnerAdmins(request *SupplyAddPartnerAdminsRequest) (_result *SupplyAddPartnerAdminsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyAddPartnerAdminsHeaders{}
	_result = &SupplyAddPartnerAdminsResponse{}
	_body, _err := client.SupplyAddPartnerAdminsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 添加伙伴的对接人或对接部门
//
// @param request - SupplyAddPartnerManagersRequest
//
// @param headers - SupplyAddPartnerManagersHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyAddPartnerManagersResponse
func (client *Client) SupplyAddPartnerManagersWithOptions(request *SupplyAddPartnerManagersRequest, headers *SupplyAddPartnerManagersHeaders, runtime *util.RuntimeOptions) (_result *SupplyAddPartnerManagersResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.InterfaceId)) {
		query["interfaceId"] = request.InterfaceId
	}

	if !tea.BoolValue(util.IsUnset(request.InterfaceType)) {
		query["interfaceType"] = request.InterfaceType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyAddPartnerManagers"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerInterfaces"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyAddPartnerManagersResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 添加伙伴的对接人或对接部门
//
// @param request - SupplyAddPartnerManagersRequest
//
// @return SupplyAddPartnerManagersResponse
func (client *Client) SupplyAddPartnerManagers(request *SupplyAddPartnerManagersRequest) (_result *SupplyAddPartnerManagersResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyAddPartnerManagersHeaders{}
	_result = &SupplyAddPartnerManagersResponse{}
	_body, _err := client.SupplyAddPartnerManagersWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 添加伙伴标签
//
// @param request - SupplyAddPartnerTypeRequest
//
// @param headers - SupplyAddPartnerTypeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyAddPartnerTypeResponse
func (client *Client) SupplyAddPartnerTypeWithOptions(request *SupplyAddPartnerTypeRequest, headers *SupplyAddPartnerTypeHeaders, runtime *util.RuntimeOptions) (_result *SupplyAddPartnerTypeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Name)) {
		query["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.SuperId)) {
		query["superId"] = request.SuperId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyAddPartnerType"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerLabels"),
		Method:      tea.String("POST"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyAddPartnerTypeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 添加伙伴标签
//
// @param request - SupplyAddPartnerTypeRequest
//
// @return SupplyAddPartnerTypeResponse
func (client *Client) SupplyAddPartnerType(request *SupplyAddPartnerTypeRequest) (_result *SupplyAddPartnerTypeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyAddPartnerTypeHeaders{}
	_result = &SupplyAddPartnerTypeResponse{}
	_body, _err := client.SupplyAddPartnerTypeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除上下游节点
//
// @param request - SupplyChainDeleteDeptRequest
//
// @param headers - SupplyChainDeleteDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyChainDeleteDeptResponse
func (client *Client) SupplyChainDeleteDeptWithOptions(request *SupplyChainDeleteDeptRequest, headers *SupplyChainDeleteDeptHeaders, runtime *util.RuntimeOptions) (_result *SupplyChainDeleteDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.SupplyDeptId)) {
		query["supplyDeptId"] = request.SupplyDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyChainDeleteDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/departments"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyChainDeleteDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除上下游节点
//
// @param request - SupplyChainDeleteDeptRequest
//
// @return SupplyChainDeleteDeptResponse
func (client *Client) SupplyChainDeleteDept(request *SupplyChainDeleteDeptRequest) (_result *SupplyChainDeleteDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyChainDeleteDeptHeaders{}
	_result = &SupplyChainDeleteDeptResponse{}
	_body, _err := client.SupplyChainDeleteDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询上下游节点信息
//
// @param request - SupplyChainQueryDeptInfoRequest
//
// @param headers - SupplyChainQueryDeptInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyChainQueryDeptInfoResponse
func (client *Client) SupplyChainQueryDeptInfoWithOptions(request *SupplyChainQueryDeptInfoRequest, headers *SupplyChainQueryDeptInfoHeaders, runtime *util.RuntimeOptions) (_result *SupplyChainQueryDeptInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.SupplyDeptId)) {
		query["supplyDeptId"] = request.SupplyDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyChainQueryDeptInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/departments"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyChainQueryDeptInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询上下游节点信息
//
// @param request - SupplyChainQueryDeptInfoRequest
//
// @return SupplyChainQueryDeptInfoResponse
func (client *Client) SupplyChainQueryDeptInfo(request *SupplyChainQueryDeptInfoRequest) (_result *SupplyChainQueryDeptInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyChainQueryDeptInfoHeaders{}
	_result = &SupplyChainQueryDeptInfoResponse{}
	_body, _err := client.SupplyChainQueryDeptInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新上下游节点信息
//
// @param request - SupplyChainUpdateDeptInfoRequest
//
// @param headers - SupplyChainUpdateDeptInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyChainUpdateDeptInfoResponse
func (client *Client) SupplyChainUpdateDeptInfoWithOptions(request *SupplyChainUpdateDeptInfoRequest, headers *SupplyChainUpdateDeptInfoHeaders, runtime *util.RuntimeOptions) (_result *SupplyChainUpdateDeptInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Name)) {
		body["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.PartnerNumber)) {
		body["partnerNumber"] = request.PartnerNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PartnerTypeList)) {
		body["partnerTypeList"] = request.PartnerTypeList
	}

	if !tea.BoolValue(util.IsUnset(request.SuperId)) {
		body["superId"] = request.SuperId
	}

	if !tea.BoolValue(util.IsUnset(request.SupplyDeptId)) {
		body["supplyDeptId"] = request.SupplyDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyChainUpdateDeptInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/departments"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyChainUpdateDeptInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新上下游节点信息
//
// @param request - SupplyChainUpdateDeptInfoRequest
//
// @return SupplyChainUpdateDeptInfoResponse
func (client *Client) SupplyChainUpdateDeptInfo(request *SupplyChainUpdateDeptInfoRequest) (_result *SupplyChainUpdateDeptInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyChainUpdateDeptInfoHeaders{}
	_result = &SupplyChainUpdateDeptInfoResponse{}
	_body, _err := client.SupplyChainUpdateDeptInfoWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除伙伴成员
//
// @param request - SupplyDeleteMemberRequest
//
// @param headers - SupplyDeleteMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyDeleteMemberResponse
func (client *Client) SupplyDeleteMemberWithOptions(request *SupplyDeleteMemberRequest, headers *SupplyDeleteMemberHeaders, runtime *util.RuntimeOptions) (_result *SupplyDeleteMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.Mobile)) {
		query["mobile"] = request.Mobile
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		query["unionId"] = request.UnionId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyDeleteMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/members"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyDeleteMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除伙伴成员
//
// @param request - SupplyDeleteMemberRequest
//
// @return SupplyDeleteMemberResponse
func (client *Client) SupplyDeleteMember(request *SupplyDeleteMemberRequest) (_result *SupplyDeleteMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyDeleteMemberHeaders{}
	_result = &SupplyDeleteMemberResponse{}
	_body, _err := client.SupplyDeleteMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除伙伴负责人
//
// @param request - SupplyDeletePartnerAdminsRequest
//
// @param headers - SupplyDeletePartnerAdminsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyDeletePartnerAdminsResponse
func (client *Client) SupplyDeletePartnerAdminsWithOptions(request *SupplyDeletePartnerAdminsRequest, headers *SupplyDeletePartnerAdminsHeaders, runtime *util.RuntimeOptions) (_result *SupplyDeletePartnerAdminsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyDeletePartnerAdmins"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerAdministrators"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyDeletePartnerAdminsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除伙伴负责人
//
// @param request - SupplyDeletePartnerAdminsRequest
//
// @return SupplyDeletePartnerAdminsResponse
func (client *Client) SupplyDeletePartnerAdmins(request *SupplyDeletePartnerAdminsRequest) (_result *SupplyDeletePartnerAdminsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyDeletePartnerAdminsHeaders{}
	_result = &SupplyDeletePartnerAdminsResponse{}
	_body, _err := client.SupplyDeletePartnerAdminsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 移除伙伴的对接人或对接部门
//
// @param request - SupplyDeletePartnerManagersRequest
//
// @param headers - SupplyDeletePartnerManagersHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyDeletePartnerManagersResponse
func (client *Client) SupplyDeletePartnerManagersWithOptions(request *SupplyDeletePartnerManagersRequest, headers *SupplyDeletePartnerManagersHeaders, runtime *util.RuntimeOptions) (_result *SupplyDeletePartnerManagersResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	if !tea.BoolValue(util.IsUnset(request.InterfaceId)) {
		query["interfaceId"] = request.InterfaceId
	}

	if !tea.BoolValue(util.IsUnset(request.InterfaceType)) {
		query["interfaceType"] = request.InterfaceType
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyDeletePartnerManagers"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerInterfaces"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyDeletePartnerManagersResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 移除伙伴的对接人或对接部门
//
// @param request - SupplyDeletePartnerManagersRequest
//
// @return SupplyDeletePartnerManagersResponse
func (client *Client) SupplyDeletePartnerManagers(request *SupplyDeletePartnerManagersRequest) (_result *SupplyDeletePartnerManagersResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyDeletePartnerManagersHeaders{}
	_result = &SupplyDeletePartnerManagersResponse{}
	_body, _err := client.SupplyDeletePartnerManagersWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除伙伴标签
//
// @param request - SupplyDeletePartnerTypeRequest
//
// @param headers - SupplyDeletePartnerTypeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyDeletePartnerTypeResponse
func (client *Client) SupplyDeletePartnerTypeWithOptions(request *SupplyDeletePartnerTypeRequest, headers *SupplyDeletePartnerTypeHeaders, runtime *util.RuntimeOptions) (_result *SupplyDeletePartnerTypeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.LabelId)) {
		query["labelId"] = request.LabelId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyDeletePartnerType"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerLabels"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyDeletePartnerTypeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除伙伴标签
//
// @param request - SupplyDeletePartnerTypeRequest
//
// @return SupplyDeletePartnerTypeResponse
func (client *Client) SupplyDeletePartnerType(request *SupplyDeletePartnerTypeRequest) (_result *SupplyDeletePartnerTypeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyDeletePartnerTypeHeaders{}
	_result = &SupplyDeletePartnerTypeResponse{}
	_body, _err := client.SupplyDeletePartnerTypeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 删除角色或角色组
//
// @param request - SupplyDeleteRoleRequest
//
// @param headers - SupplyDeleteRoleHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyDeleteRoleResponse
func (client *Client) SupplyDeleteRoleWithOptions(request *SupplyDeleteRoleRequest, headers *SupplyDeleteRoleHeaders, runtime *util.RuntimeOptions) (_result *SupplyDeleteRoleResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.IsRoleGroup)) {
		query["isRoleGroup"] = request.IsRoleGroup
	}

	if !tea.BoolValue(util.IsUnset(request.RoleId)) {
		query["roleId"] = request.RoleId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyDeleteRole"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/roles"),
		Method:      tea.String("DELETE"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyDeleteRoleResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 删除角色或角色组
//
// @param request - SupplyDeleteRoleRequest
//
// @return SupplyDeleteRoleResponse
func (client *Client) SupplyDeleteRole(request *SupplyDeleteRoleRequest) (_result *SupplyDeleteRoleResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyDeleteRoleHeaders{}
	_result = &SupplyDeleteRoleResponse{}
	_body, _err := client.SupplyDeleteRoleWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取供应链成员信息
//
// @param request - SupplyGetMemberRequest
//
// @param headers - SupplyGetMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyGetMemberResponse
func (client *Client) SupplyGetMemberWithOptions(request *SupplyGetMemberRequest, headers *SupplyGetMemberHeaders, runtime *util.RuntimeOptions) (_result *SupplyGetMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Mobile)) {
		query["mobile"] = request.Mobile
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		query["unionId"] = request.UnionId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		query["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyGetMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/members"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyGetMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取供应链成员信息
//
// @param request - SupplyGetMemberRequest
//
// @return SupplyGetMemberResponse
func (client *Client) SupplyGetMember(request *SupplyGetMemberRequest) (_result *SupplyGetMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyGetMemberHeaders{}
	_result = &SupplyGetMemberResponse{}
	_body, _err := client.SupplyGetMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取供应链部门下成员
//
// @param request - SupplyListDeptMembersRequest
//
// @param headers - SupplyListDeptMembersHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyListDeptMembersResponse
func (client *Client) SupplyListDeptMembersWithOptions(request *SupplyListDeptMembersRequest, headers *SupplyListDeptMembersHeaders, runtime *util.RuntimeOptions) (_result *SupplyListDeptMembersResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.PageNumber)) {
		query["pageNumber"] = request.PageNumber
	}

	if !tea.BoolValue(util.IsUnset(request.PageSize)) {
		query["pageSize"] = request.PageSize
	}

	if !tea.BoolValue(util.IsUnset(request.SupplyDeptId)) {
		query["supplyDeptId"] = request.SupplyDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyListDeptMembers"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/departments/members"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyListDeptMembersResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取供应链部门下成员
//
// @param request - SupplyListDeptMembersRequest
//
// @return SupplyListDeptMembersResponse
func (client *Client) SupplyListDeptMembers(request *SupplyListDeptMembersRequest) (_result *SupplyListDeptMembersResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyListDeptMembersHeaders{}
	_result = &SupplyListDeptMembersResponse{}
	_body, _err := client.SupplyListDeptMembersWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取伙伴负责人列表
//
// @param request - SupplyListPartnerAdminsRequest
//
// @param headers - SupplyListPartnerAdminsHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyListPartnerAdminsResponse
func (client *Client) SupplyListPartnerAdminsWithOptions(request *SupplyListPartnerAdminsRequest, headers *SupplyListPartnerAdminsHeaders, runtime *util.RuntimeOptions) (_result *SupplyListPartnerAdminsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyListPartnerAdmins"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerAdministrators"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyListPartnerAdminsResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取伙伴负责人列表
//
// @param request - SupplyListPartnerAdminsRequest
//
// @return SupplyListPartnerAdminsResponse
func (client *Client) SupplyListPartnerAdmins(request *SupplyListPartnerAdminsRequest) (_result *SupplyListPartnerAdminsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyListPartnerAdminsHeaders{}
	_result = &SupplyListPartnerAdminsResponse{}
	_body, _err := client.SupplyListPartnerAdminsWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 获取伙伴的对接人/对接部门
//
// @param request - SupplyListPartnerManagersRequest
//
// @param headers - SupplyListPartnerManagersHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyListPartnerManagersResponse
func (client *Client) SupplyListPartnerManagersWithOptions(request *SupplyListPartnerManagersRequest, headers *SupplyListPartnerManagersHeaders, runtime *util.RuntimeOptions) (_result *SupplyListPartnerManagersResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.DeptId)) {
		query["deptId"] = request.DeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyListPartnerManagers"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerInterfaces"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyListPartnerManagersResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 获取伙伴的对接人/对接部门
//
// @param request - SupplyListPartnerManagersRequest
//
// @return SupplyListPartnerManagersResponse
func (client *Client) SupplyListPartnerManagers(request *SupplyListPartnerManagersRequest) (_result *SupplyListPartnerManagersResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyListPartnerManagersHeaders{}
	_result = &SupplyListPartnerManagersResponse{}
	_body, _err := client.SupplyListPartnerManagersWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询下级伙伴标签
//
// @param request - SupplyListPartnerTypeRequest
//
// @param headers - SupplyListPartnerTypeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyListPartnerTypeResponse
func (client *Client) SupplyListPartnerTypeWithOptions(request *SupplyListPartnerTypeRequest, headers *SupplyListPartnerTypeHeaders, runtime *util.RuntimeOptions) (_result *SupplyListPartnerTypeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.LabelId)) {
		query["labelId"] = request.LabelId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyListPartnerType"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerLabels/subLabels"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyListPartnerTypeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询下级伙伴标签
//
// @param request - SupplyListPartnerTypeRequest
//
// @return SupplyListPartnerTypeResponse
func (client *Client) SupplyListPartnerType(request *SupplyListPartnerTypeRequest) (_result *SupplyListPartnerTypeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyListPartnerTypeHeaders{}
	_result = &SupplyListPartnerTypeResponse{}
	_body, _err := client.SupplyListPartnerTypeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询角色组或角色
//
// @param request - SupplyListRoleRequest
//
// @param headers - SupplyListRoleHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyListRoleResponse
func (client *Client) SupplyListRoleWithOptions(request *SupplyListRoleRequest, headers *SupplyListRoleHeaders, runtime *util.RuntimeOptions) (_result *SupplyListRoleResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.ParentRoleId)) {
		query["parentRoleId"] = request.ParentRoleId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyListRole"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/roles"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyListRoleResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询角色组或角色
//
// @param request - SupplyListRoleRequest
//
// @return SupplyListRoleResponse
func (client *Client) SupplyListRole(request *SupplyListRoleRequest) (_result *SupplyListRoleResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyListRoleHeaders{}
	_result = &SupplyListRoleResponse{}
	_body, _err := client.SupplyListRoleWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询下级节点列表
//
// @param request - SupplyListSubDeptRequest
//
// @param headers - SupplyListSubDeptHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyListSubDeptResponse
func (client *Client) SupplyListSubDeptWithOptions(request *SupplyListSubDeptRequest, headers *SupplyListSubDeptHeaders, runtime *util.RuntimeOptions) (_result *SupplyListSubDeptResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.SupplyDeptId)) {
		query["supplyDeptId"] = request.SupplyDeptId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyListSubDept"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/subDepartments"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyListSubDeptResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询下级节点列表
//
// @param request - SupplyListSubDeptRequest
//
// @return SupplyListSubDeptResponse
func (client *Client) SupplyListSubDept(request *SupplyListSubDeptRequest) (_result *SupplyListSubDeptResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyListSubDeptHeaders{}
	_result = &SupplyListSubDeptResponse{}
	_body, _err := client.SupplyListSubDeptWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 查询伙伴标签
//
// @param request - SupplyQueryPartnerTypeRequest
//
// @param headers - SupplyQueryPartnerTypeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyQueryPartnerTypeResponse
func (client *Client) SupplyQueryPartnerTypeWithOptions(request *SupplyQueryPartnerTypeRequest, headers *SupplyQueryPartnerTypeHeaders, runtime *util.RuntimeOptions) (_result *SupplyQueryPartnerTypeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.LabelId)) {
		query["labelId"] = request.LabelId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyQueryPartnerType"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerLabels"),
		Method:      tea.String("GET"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyQueryPartnerTypeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 查询伙伴标签
//
// @param request - SupplyQueryPartnerTypeRequest
//
// @return SupplyQueryPartnerTypeResponse
func (client *Client) SupplyQueryPartnerType(request *SupplyQueryPartnerTypeRequest) (_result *SupplyQueryPartnerTypeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyQueryPartnerTypeHeaders{}
	_result = &SupplyQueryPartnerTypeResponse{}
	_body, _err := client.SupplyQueryPartnerTypeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新供应商人员信息
//
// @param request - SupplyUpdateMemberRequest
//
// @param headers - SupplyUpdateMemberHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyUpdateMemberResponse
func (client *Client) SupplyUpdateMemberWithOptions(request *SupplyUpdateMemberRequest, headers *SupplyUpdateMemberHeaders, runtime *util.RuntimeOptions) (_result *SupplyUpdateMemberResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.IsCopyDept)) {
		body["isCopyDept"] = request.IsCopyDept
	}

	if !tea.BoolValue(util.IsUnset(request.MemberTitle)) {
		body["memberTitle"] = request.MemberTitle
	}

	if !tea.BoolValue(util.IsUnset(request.MemberWorkNumber)) {
		body["memberWorkNumber"] = request.MemberWorkNumber
	}

	if !tea.BoolValue(util.IsUnset(request.Mobile)) {
		body["mobile"] = request.Mobile
	}

	if !tea.BoolValue(util.IsUnset(request.NewDeptId)) {
		body["newDeptId"] = request.NewDeptId
	}

	if !tea.BoolValue(util.IsUnset(request.OldDeptId)) {
		body["oldDeptId"] = request.OldDeptId
	}

	if !tea.BoolValue(util.IsUnset(request.RoleIdList)) {
		body["roleIdList"] = request.RoleIdList
	}

	if !tea.BoolValue(util.IsUnset(request.UnionId)) {
		body["unionId"] = request.UnionId
	}

	if !tea.BoolValue(util.IsUnset(request.UserId)) {
		body["userId"] = request.UserId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyUpdateMember"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/members"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyUpdateMemberResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新供应商人员信息
//
// @param request - SupplyUpdateMemberRequest
//
// @return SupplyUpdateMemberResponse
func (client *Client) SupplyUpdateMember(request *SupplyUpdateMemberRequest) (_result *SupplyUpdateMemberResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyUpdateMemberHeaders{}
	_result = &SupplyUpdateMemberResponse{}
	_body, _err := client.SupplyUpdateMemberWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新伙伴标签
//
// @param request - SupplyUpdatePartnerTypeRequest
//
// @param headers - SupplyUpdatePartnerTypeHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyUpdatePartnerTypeResponse
func (client *Client) SupplyUpdatePartnerTypeWithOptions(request *SupplyUpdatePartnerTypeRequest, headers *SupplyUpdatePartnerTypeHeaders, runtime *util.RuntimeOptions) (_result *SupplyUpdatePartnerTypeResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.LabelId)) {
		query["labelId"] = request.LabelId
	}

	if !tea.BoolValue(util.IsUnset(request.Name)) {
		query["name"] = request.Name
	}

	if !tea.BoolValue(util.IsUnset(request.SuperId)) {
		query["superId"] = request.SuperId
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyUpdatePartnerType"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/partnerLabels"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyUpdatePartnerTypeResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新伙伴标签
//
// @param request - SupplyUpdatePartnerTypeRequest
//
// @return SupplyUpdatePartnerTypeResponse
func (client *Client) SupplyUpdatePartnerType(request *SupplyUpdatePartnerTypeRequest) (_result *SupplyUpdatePartnerTypeResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyUpdatePartnerTypeHeaders{}
	_result = &SupplyUpdatePartnerTypeResponse{}
	_body, _err := client.SupplyUpdatePartnerTypeWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新角色或角色组
//
// @param request - SupplyUpdateRoleRequest
//
// @param headers - SupplyUpdateRoleHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return SupplyUpdateRoleResponse
func (client *Client) SupplyUpdateRoleWithOptions(request *SupplyUpdateRoleRequest, headers *SupplyUpdateRoleHeaders, runtime *util.RuntimeOptions) (_result *SupplyUpdateRoleResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	query := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.IsRoleGroup)) {
		query["isRoleGroup"] = request.IsRoleGroup
	}

	if !tea.BoolValue(util.IsUnset(request.RoleId)) {
		query["roleId"] = request.RoleId
	}

	if !tea.BoolValue(util.IsUnset(request.RoleName)) {
		query["roleName"] = request.RoleName
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Query:   openapiutil.Query(query),
	}
	params := &openapi.Params{
		Action:      tea.String("SupplyUpdateRole"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/supplyChains/roles"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("none"),
		BodyType:    tea.String("json"),
	}
	_result = &SupplyUpdateRoleResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新角色或角色组
//
// @param request - SupplyUpdateRoleRequest
//
// @return SupplyUpdateRoleResponse
func (client *Client) SupplyUpdateRole(request *SupplyUpdateRoleRequest) (_result *SupplyUpdateRoleResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &SupplyUpdateRoleHeaders{}
	_result = &SupplyUpdateRoleResponse{}
	_body, _err := client.SupplyUpdateRoleWithOptions(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

// Summary:
//
// 更新医疗用户扩展信息
//
// @param request - UpdateUserExtendInfoRequest
//
// @param headers - UpdateUserExtendInfoHeaders
//
// @param runtime - runtime options for this request RuntimeOptions
//
// @return UpdateUserExtendInfoResponse
func (client *Client) UpdateUserExtendInfoWithOptions(userId *string, request *UpdateUserExtendInfoRequest, headers *UpdateUserExtendInfoHeaders, runtime *util.RuntimeOptions) (_result *UpdateUserExtendInfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	body := map[string]interface{}{}
	if !tea.BoolValue(util.IsUnset(request.Comments)) {
		body["comments"] = request.Comments
	}

	if !tea.BoolValue(util.IsUnset(request.JobCode)) {
		body["jobCode"] = request.JobCode
	}

	if !tea.BoolValue(util.IsUnset(request.JobStatusCode)) {
		body["jobStatusCode"] = request.JobStatusCode
	}

	if !tea.BoolValue(util.IsUnset(request.UserProbCode)) {
		body["userProbCode"] = request.UserProbCode
	}

	realHeaders := make(map[string]*string)
	if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
		realHeaders = headers.CommonHeaders
	}

	if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
		realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
	}

	req := &openapi.OpenApiRequest{
		Headers: realHeaders,
		Body:    openapiutil.ParseToMap(body),
	}
	params := &openapi.Params{
		Action:      tea.String("UpdateUserExtendInfo"),
		Version:     tea.String("industry_1.0"),
		Protocol:    tea.String("HTTP"),
		Pathname:    tea.String("/v1.0/industry/medicals/users/" + tea.StringValue(userId) + "/extInfos"),
		Method:      tea.String("PUT"),
		AuthType:    tea.String("AK"),
		Style:       tea.String("ROA"),
		ReqBodyType: tea.String("json"),
		BodyType:    tea.String("json"),
	}
	_result = &UpdateUserExtendInfoResponse{}
	_body, _err := client.Execute(params, req, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

// Summary:
//
// 更新医疗用户扩展信息
//
// @param request - UpdateUserExtendInfoRequest
//
// @return UpdateUserExtendInfoResponse
func (client *Client) UpdateUserExtendInfo(userId *string, request *UpdateUserExtendInfoRequest) (_result *UpdateUserExtendInfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := &UpdateUserExtendInfoHeaders{}
	_result = &UpdateUserExtendInfoResponse{}
	_body, _err := client.UpdateUserExtendInfoWithOptions(userId, request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}
