![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkgateway_1_0.models.OpenConnectionRequest 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.dingtalkgateway_1_0.models;
import com.aliyun.tea.*;
public class OpenConnectionRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* suiteudabcd123
*/
@NameInMap("clientId")
public String clientId;
/**
* This parameter is required.
*
* example:
* 9W1berqrwfs
*/
@NameInMap("clientSecret")
public String clientSecret;
@NameInMap("extras")
public java.util.Map extras;
/**
* example:
* 32.78.48.10
*/
@NameInMap("localIp")
public String localIp;
/**
* This parameter is required.
*/
@NameInMap("subscriptions")
public java.util.List subscriptions;
public static OpenConnectionRequest build(java.util.Map map) throws Exception {
OpenConnectionRequest self = new OpenConnectionRequest();
return TeaModel.build(map, self);
}
public OpenConnectionRequest setClientId(String clientId) {
this.clientId = clientId;
return this;
}
public String getClientId() {
return this.clientId;
}
public OpenConnectionRequest setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
public String getClientSecret() {
return this.clientSecret;
}
public OpenConnectionRequest setExtras(java.util.Map extras) {
this.extras = extras;
return this;
}
public java.util.Map getExtras() {
return this.extras;
}
public OpenConnectionRequest setLocalIp(String localIp) {
this.localIp = localIp;
return this;
}
public String getLocalIp() {
return this.localIp;
}
public OpenConnectionRequest setSubscriptions(java.util.List subscriptions) {
this.subscriptions = subscriptions;
return this;
}
public java.util.List getSubscriptions() {
return this.subscriptions;
}
public static class OpenConnectionRequestSubscriptions extends TeaModel {
/**
* This parameter is required.
*
* example:
* /v1.0/im/bot/messages/get
*/
@NameInMap("topic")
public String topic;
/**
* This parameter is required.
*
* example:
* EVENT
*/
@NameInMap("type")
public String type;
public static OpenConnectionRequestSubscriptions build(java.util.Map map) throws Exception {
OpenConnectionRequestSubscriptions self = new OpenConnectionRequestSubscriptions();
return TeaModel.build(map, self);
}
public OpenConnectionRequestSubscriptions setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
public OpenConnectionRequestSubscriptions setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy