com.aliyun.dingtalkdiot_1_0.models.BatchUpdateDeviceRequest 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.dingtalkdiot_1_0.models;
import com.aliyun.tea.*;
public class BatchUpdateDeviceRequest extends TeaModel {
/**
* example:
* ding123
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*/
@NameInMap("devices")
public java.util.List devices;
public static BatchUpdateDeviceRequest build(java.util.Map map) throws Exception {
BatchUpdateDeviceRequest self = new BatchUpdateDeviceRequest();
return TeaModel.build(map, self);
}
public BatchUpdateDeviceRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public BatchUpdateDeviceRequest setDevices(java.util.List devices) {
this.devices = devices;
return this;
}
public java.util.List getDevices() {
return this.devices;
}
public static class BatchUpdateDeviceRequestDevicesLiveUrls extends TeaModel {
/**
* example:
*
*/
@NameInMap("flv")
public String flv;
/**
* example:
*
*/
@NameInMap("hls")
public String hls;
/**
* example:
* rtmp://abc.stream
*/
@NameInMap("rtmp")
public String rtmp;
public static BatchUpdateDeviceRequestDevicesLiveUrls build(java.util.Map map) throws Exception {
BatchUpdateDeviceRequestDevicesLiveUrls self = new BatchUpdateDeviceRequestDevicesLiveUrls();
return TeaModel.build(map, self);
}
public BatchUpdateDeviceRequestDevicesLiveUrls setFlv(String flv) {
this.flv = flv;
return this;
}
public String getFlv() {
return this.flv;
}
public BatchUpdateDeviceRequestDevicesLiveUrls setHls(String hls) {
this.hls = hls;
return this;
}
public String getHls() {
return this.hls;
}
public BatchUpdateDeviceRequestDevicesLiveUrls setRtmp(String rtmp) {
this.rtmp = rtmp;
return this;
}
public String getRtmp() {
return this.rtmp;
}
}
public static class BatchUpdateDeviceRequestDevices extends TeaModel {
/**
* This parameter is required.
*
* example:
* 002
*/
@NameInMap("deviceId")
public String deviceId;
/**
* example:
* 摄像头002
*/
@NameInMap("deviceName")
public String deviceName;
/**
* example:
* 0
*/
@NameInMap("deviceStatus")
public Integer deviceStatus;
@NameInMap("extraData")
public java.util.Map extraData;
@NameInMap("liveUrls")
public BatchUpdateDeviceRequestDevicesLiveUrls liveUrls;
/**
* example:
* 社区南门
*/
@NameInMap("location")
public String location;
public static BatchUpdateDeviceRequestDevices build(java.util.Map map) throws Exception {
BatchUpdateDeviceRequestDevices self = new BatchUpdateDeviceRequestDevices();
return TeaModel.build(map, self);
}
public BatchUpdateDeviceRequestDevices setDeviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
public String getDeviceId() {
return this.deviceId;
}
public BatchUpdateDeviceRequestDevices setDeviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
public String getDeviceName() {
return this.deviceName;
}
public BatchUpdateDeviceRequestDevices setDeviceStatus(Integer deviceStatus) {
this.deviceStatus = deviceStatus;
return this;
}
public Integer getDeviceStatus() {
return this.deviceStatus;
}
public BatchUpdateDeviceRequestDevices setExtraData(java.util.Map extraData) {
this.extraData = extraData;
return this;
}
public java.util.Map getExtraData() {
return this.extraData;
}
public BatchUpdateDeviceRequestDevices setLiveUrls(BatchUpdateDeviceRequestDevicesLiveUrls liveUrls) {
this.liveUrls = liveUrls;
return this;
}
public BatchUpdateDeviceRequestDevicesLiveUrls getLiveUrls() {
return this.liveUrls;
}
public BatchUpdateDeviceRequestDevices setLocation(String location) {
this.location = location;
return this;
}
public String getLocation() {
return this.location;
}
}
}