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

com.aliyun.dingtalkdiot_1_0.models.PushEventRequest 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 PushEventRequest extends TeaModel {
    /**
     * example:
     * 

ding123456

*/ @NameInMap("corpId") public String corpId; /** * example: *

002

*/ @NameInMap("deviceId") public String deviceId; /** *

This parameter is required.

* * example: *

sj123456

*/ @NameInMap("eventId") public String eventId; /** *

This parameter is required.

* * example: *

火焰告警

*/ @NameInMap("eventName") public String eventName; /** *

This parameter is required.

* * example: *

fireDetect

*/ @NameInMap("eventType") public String eventType; @NameInMap("extraData") public java.util.Map extraData; /** * example: *

社区南门

*/ @NameInMap("location") public String location; /** * example: *

社区南门发生火焰告警

*/ @NameInMap("msg") public String msg; /** *

This parameter is required.

* * example: *

1638250958570

*/ @NameInMap("occurrenceTime") public Long occurrenceTime; @NameInMap("picUrls") public java.util.List picUrls; public static PushEventRequest build(java.util.Map map) throws Exception { PushEventRequest self = new PushEventRequest(); return TeaModel.build(map, self); } public PushEventRequest setCorpId(String corpId) { this.corpId = corpId; return this; } public String getCorpId() { return this.corpId; } public PushEventRequest setDeviceId(String deviceId) { this.deviceId = deviceId; return this; } public String getDeviceId() { return this.deviceId; } public PushEventRequest setEventId(String eventId) { this.eventId = eventId; return this; } public String getEventId() { return this.eventId; } public PushEventRequest setEventName(String eventName) { this.eventName = eventName; return this; } public String getEventName() { return this.eventName; } public PushEventRequest setEventType(String eventType) { this.eventType = eventType; return this; } public String getEventType() { return this.eventType; } public PushEventRequest setExtraData(java.util.Map extraData) { this.extraData = extraData; return this; } public java.util.Map getExtraData() { return this.extraData; } public PushEventRequest setLocation(String location) { this.location = location; return this; } public String getLocation() { return this.location; } public PushEventRequest setMsg(String msg) { this.msg = msg; return this; } public String getMsg() { return this.msg; } public PushEventRequest setOccurrenceTime(Long occurrenceTime) { this.occurrenceTime = occurrenceTime; return this; } public Long getOccurrenceTime() { return this.occurrenceTime; } public PushEventRequest setPicUrls(java.util.List picUrls) { this.picUrls = picUrls; return this; } public java.util.List getPicUrls() { return this.picUrls; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy