com.aliyun.dingtalkexclusive_1_0.models.SendInvitationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class SendInvitationRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("deptId")
public String deptId;
/**
* This parameter is required.
*
* example:
* 钉开放组织别名
*/
@NameInMap("orgAlias")
public String orgAlias;
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("partnerLabelId")
public Long partnerLabelId;
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("partnerNum")
public String partnerNum;
/**
* This parameter is required.
*
* example:
* 133XXXXXX57
*/
@NameInMap("phone")
public String phone;
public static SendInvitationRequest build(java.util.Map map) throws Exception {
SendInvitationRequest self = new SendInvitationRequest();
return TeaModel.build(map, self);
}
public SendInvitationRequest setDeptId(String deptId) {
this.deptId = deptId;
return this;
}
public String getDeptId() {
return this.deptId;
}
public SendInvitationRequest setOrgAlias(String orgAlias) {
this.orgAlias = orgAlias;
return this;
}
public String getOrgAlias() {
return this.orgAlias;
}
public SendInvitationRequest setPartnerLabelId(Long partnerLabelId) {
this.partnerLabelId = partnerLabelId;
return this;
}
public Long getPartnerLabelId() {
return this.partnerLabelId;
}
public SendInvitationRequest setPartnerNum(String partnerNum) {
this.partnerNum = partnerNum;
return this;
}
public String getPartnerNum() {
return this.partnerNum;
}
public SendInvitationRequest setPhone(String phone) {
this.phone = phone;
return this;
}
public String getPhone() {
return this.phone;
}
}