com.aliyun.dingtalkdiot_1_0.models.BatchRegisterEventTypeRequest 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.dingtalkdiot_1_0.models;
import com.aliyun.tea.*;
public class BatchRegisterEventTypeRequest extends TeaModel {
/**
* example:
* ding12345
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*/
@NameInMap("eventTypes")
public java.util.List eventTypes;
public static BatchRegisterEventTypeRequest build(java.util.Map map) throws Exception {
BatchRegisterEventTypeRequest self = new BatchRegisterEventTypeRequest();
return TeaModel.build(map, self);
}
public BatchRegisterEventTypeRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public BatchRegisterEventTypeRequest setEventTypes(java.util.List eventTypes) {
this.eventTypes = eventTypes;
return this;
}
public java.util.List getEventTypes() {
return this.eventTypes;
}
public static class BatchRegisterEventTypeRequestEventTypes extends TeaModel {
/**
* This parameter is required.
*
* example:
* fireDetect
*/
@NameInMap("eventType")
public String eventType;
/**
* This parameter is required.
*
* example:
* 火焰告警
*/
@NameInMap("eventTypeName")
public String eventTypeName;
public static BatchRegisterEventTypeRequestEventTypes build(java.util.Map map) throws Exception {
BatchRegisterEventTypeRequestEventTypes self = new BatchRegisterEventTypeRequestEventTypes();
return TeaModel.build(map, self);
}
public BatchRegisterEventTypeRequestEventTypes setEventType(String eventType) {
this.eventType = eventType;
return this;
}
public String getEventType() {
return this.eventType;
}
public BatchRegisterEventTypeRequestEventTypes setEventTypeName(String eventTypeName) {
this.eventTypeName = eventTypeName;
return this;
}
public String getEventTypeName() {
return this.eventTypeName;
}
}
}