com.aliyun.dingtalkoauth2_1_0.models.GetAuthInfoResponseBody 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetAuthInfoResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("authAppInfo")
public GetAuthInfoResponseBodyAuthAppInfo authAppInfo;
/**
* This parameter is required.
*/
@NameInMap("authCorpInfo")
public GetAuthInfoResponseBodyAuthCorpInfo authCorpInfo;
/**
* This parameter is required.
*/
@NameInMap("authUserInfo")
public GetAuthInfoResponseBodyAuthUserInfo authUserInfo;
public static GetAuthInfoResponseBody build(java.util.Map map) throws Exception {
GetAuthInfoResponseBody self = new GetAuthInfoResponseBody();
return TeaModel.build(map, self);
}
public GetAuthInfoResponseBody setAuthAppInfo(GetAuthInfoResponseBodyAuthAppInfo authAppInfo) {
this.authAppInfo = authAppInfo;
return this;
}
public GetAuthInfoResponseBodyAuthAppInfo getAuthAppInfo() {
return this.authAppInfo;
}
public GetAuthInfoResponseBody setAuthCorpInfo(GetAuthInfoResponseBodyAuthCorpInfo authCorpInfo) {
this.authCorpInfo = authCorpInfo;
return this;
}
public GetAuthInfoResponseBodyAuthCorpInfo getAuthCorpInfo() {
return this.authCorpInfo;
}
public GetAuthInfoResponseBody setAuthUserInfo(GetAuthInfoResponseBodyAuthUserInfo authUserInfo) {
this.authUserInfo = authUserInfo;
return this;
}
public GetAuthInfoResponseBodyAuthUserInfo getAuthUserInfo() {
return this.authUserInfo;
}
public static class GetAuthInfoResponseBodyAuthAppInfoAgentList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("adminList")
public java.util.List adminList;
/**
* This parameter is required.
*
* example:
* 835880322
*/
@NameInMap("agentId")
public Long agentId;
/**
* This parameter is required.
*
* example:
* 小程序DEMO
*/
@NameInMap("agentName")
public String agentName;
/**
* This parameter is required.
*
* example:
* 111
*/
@NameInMap("appId")
public Long appId;
public static GetAuthInfoResponseBodyAuthAppInfoAgentList build(java.util.Map map) throws Exception {
GetAuthInfoResponseBodyAuthAppInfoAgentList self = new GetAuthInfoResponseBodyAuthAppInfoAgentList();
return TeaModel.build(map, self);
}
public GetAuthInfoResponseBodyAuthAppInfoAgentList setAdminList(java.util.List adminList) {
this.adminList = adminList;
return this;
}
public java.util.List getAdminList() {
return this.adminList;
}
public GetAuthInfoResponseBodyAuthAppInfoAgentList setAgentId(Long agentId) {
this.agentId = agentId;
return this;
}
public Long getAgentId() {
return this.agentId;
}
public GetAuthInfoResponseBodyAuthAppInfoAgentList setAgentName(String agentName) {
this.agentName = agentName;
return this;
}
public String getAgentName() {
return this.agentName;
}
public GetAuthInfoResponseBodyAuthAppInfoAgentList setAppId(Long appId) {
this.appId = appId;
return this;
}
public Long getAppId() {
return this.appId;
}
}
public static class GetAuthInfoResponseBodyAuthAppInfo extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("agentList")
public java.util.List agentList;
public static GetAuthInfoResponseBodyAuthAppInfo build(java.util.Map map) throws Exception {
GetAuthInfoResponseBodyAuthAppInfo self = new GetAuthInfoResponseBodyAuthAppInfo();
return TeaModel.build(map, self);
}
public GetAuthInfoResponseBodyAuthAppInfo setAgentList(java.util.List agentList) {
this.agentList = agentList;
return this;
}
public java.util.List getAgentList() {
return this.agentList;
}
}
public static class GetAuthInfoResponseBodyAuthCorpInfo extends TeaModel {
/**
* This parameter is required.
*
* example:
* 123
*/
@NameInMap("authChannel")
public String authChannel;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("authChannelType")
public String authChannelType;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("authLevel")
public Long authLevel;
/**
* This parameter is required.
*
* example:
* https://static-legacy.dingtalk.com/xxx
*/
@NameInMap("corpLogoUrl")
public String corpLogoUrl;
/**
* This parameter is required.
*
* example:
* 小程序体验HTTP
*/
@NameInMap("corpName")
public String corpName;
/**
* This parameter is required.
*
* example:
* 201
*/
@NameInMap("industry")
public String industry;
/**
* This parameter is required.
*
* example:
* 111
*/
@NameInMap("inviteCode")
public String inviteCode;
/**
* This parameter is required.
*
* example:
* https://wx.dingtalk.com/invite-page/xxx
*/
@NameInMap("inviteUrl")
public String inviteUrl;
/**
* This parameter is required.
*
* example:
* 111
*/
@NameInMap("licenseCode")
public String licenseCode;
public static GetAuthInfoResponseBodyAuthCorpInfo build(java.util.Map map) throws Exception {
GetAuthInfoResponseBodyAuthCorpInfo self = new GetAuthInfoResponseBodyAuthCorpInfo();
return TeaModel.build(map, self);
}
public GetAuthInfoResponseBodyAuthCorpInfo setAuthChannel(String authChannel) {
this.authChannel = authChannel;
return this;
}
public String getAuthChannel() {
return this.authChannel;
}
public GetAuthInfoResponseBodyAuthCorpInfo setAuthChannelType(String authChannelType) {
this.authChannelType = authChannelType;
return this;
}
public String getAuthChannelType() {
return this.authChannelType;
}
public GetAuthInfoResponseBodyAuthCorpInfo setAuthLevel(Long authLevel) {
this.authLevel = authLevel;
return this;
}
public Long getAuthLevel() {
return this.authLevel;
}
public GetAuthInfoResponseBodyAuthCorpInfo setCorpLogoUrl(String corpLogoUrl) {
this.corpLogoUrl = corpLogoUrl;
return this;
}
public String getCorpLogoUrl() {
return this.corpLogoUrl;
}
public GetAuthInfoResponseBodyAuthCorpInfo setCorpName(String corpName) {
this.corpName = corpName;
return this;
}
public String getCorpName() {
return this.corpName;
}
public GetAuthInfoResponseBodyAuthCorpInfo setIndustry(String industry) {
this.industry = industry;
return this;
}
public String getIndustry() {
return this.industry;
}
public GetAuthInfoResponseBodyAuthCorpInfo setInviteCode(String inviteCode) {
this.inviteCode = inviteCode;
return this;
}
public String getInviteCode() {
return this.inviteCode;
}
public GetAuthInfoResponseBodyAuthCorpInfo setInviteUrl(String inviteUrl) {
this.inviteUrl = inviteUrl;
return this;
}
public String getInviteUrl() {
return this.inviteUrl;
}
public GetAuthInfoResponseBodyAuthCorpInfo setLicenseCode(String licenseCode) {
this.licenseCode = licenseCode;
return this;
}
public String getLicenseCode() {
return this.licenseCode;
}
}
public static class GetAuthInfoResponseBodyAuthUserInfo extends TeaModel {
/**
* This parameter is required.
*
* example:
* manager975
*/
@NameInMap("userId")
public String userId;
public static GetAuthInfoResponseBodyAuthUserInfo build(java.util.Map map) throws Exception {
GetAuthInfoResponseBodyAuthUserInfo self = new GetAuthInfoResponseBodyAuthUserInfo();
return TeaModel.build(map, self);
}
public GetAuthInfoResponseBodyAuthUserInfo setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}