All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkdiot_1_0.models.BatchRegisterEventTypeRequest Maven / Gradle / Ivy

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; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy