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

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

There is a newer version: 2.1.67
Show 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 QueryDeviceResponseBody extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("data") public java.util.List data; /** * example: *

1

*/ @NameInMap("pageNumber") public Long pageNumber; /** * example: *

10

*/ @NameInMap("pageSize") public Long pageSize; /** * example: *

40

*/ @NameInMap("totalCount") public Long totalCount; public static QueryDeviceResponseBody build(java.util.Map map) throws Exception { QueryDeviceResponseBody self = new QueryDeviceResponseBody(); return TeaModel.build(map, self); } public QueryDeviceResponseBody setData(java.util.List data) { this.data = data; return this; } public java.util.List getData() { return this.data; } public QueryDeviceResponseBody setPageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } public Long getPageNumber() { return this.pageNumber; } public QueryDeviceResponseBody setPageSize(Long pageSize) { this.pageSize = pageSize; return this; } public Long getPageSize() { return this.pageSize; } public QueryDeviceResponseBody setTotalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Long getTotalCount() { return this.totalCount; } public static class QueryDeviceResponseBodyDataLiveUrls extends TeaModel { /** * example: *

https://abc.stream.flv

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

https://abc.stream.m3u8

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

rtmp://abc.stream

*/ @NameInMap("rtmp") public String rtmp; public static QueryDeviceResponseBodyDataLiveUrls build(java.util.Map map) throws Exception { QueryDeviceResponseBodyDataLiveUrls self = new QueryDeviceResponseBodyDataLiveUrls(); return TeaModel.build(map, self); } public QueryDeviceResponseBodyDataLiveUrls setFlv(String flv) { this.flv = flv; return this; } public String getFlv() { return this.flv; } public QueryDeviceResponseBodyDataLiveUrls setHls(String hls) { this.hls = hls; return this; } public String getHls() { return this.hls; } public QueryDeviceResponseBodyDataLiveUrls setRtmp(String rtmp) { this.rtmp = rtmp; return this; } public String getRtmp() { return this.rtmp; } } public static class QueryDeviceResponseBodyData extends TeaModel { /** *

This parameter is required.

* * example: *

123

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

XX摄像头

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

0

*/ @NameInMap("deviceStatus") public Long deviceStatus; /** * example: *

CAMERA

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

摄像头

*/ @NameInMap("deviceTypeName") public String deviceTypeName; @NameInMap("liveUrls") public QueryDeviceResponseBodyDataLiveUrls liveUrls; /** * example: *

XX地址

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

123

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

CAMERA

*/ @NameInMap("productType") public String productType; public static QueryDeviceResponseBodyData build(java.util.Map map) throws Exception { QueryDeviceResponseBodyData self = new QueryDeviceResponseBodyData(); return TeaModel.build(map, self); } public QueryDeviceResponseBodyData setDeviceId(String deviceId) { this.deviceId = deviceId; return this; } public String getDeviceId() { return this.deviceId; } public QueryDeviceResponseBodyData setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } public String getDeviceName() { return this.deviceName; } public QueryDeviceResponseBodyData setDeviceStatus(Long deviceStatus) { this.deviceStatus = deviceStatus; return this; } public Long getDeviceStatus() { return this.deviceStatus; } public QueryDeviceResponseBodyData setDeviceType(String deviceType) { this.deviceType = deviceType; return this; } public String getDeviceType() { return this.deviceType; } public QueryDeviceResponseBodyData setDeviceTypeName(String deviceTypeName) { this.deviceTypeName = deviceTypeName; return this; } public String getDeviceTypeName() { return this.deviceTypeName; } public QueryDeviceResponseBodyData setLiveUrls(QueryDeviceResponseBodyDataLiveUrls liveUrls) { this.liveUrls = liveUrls; return this; } public QueryDeviceResponseBodyDataLiveUrls getLiveUrls() { return this.liveUrls; } public QueryDeviceResponseBodyData setLocation(String location) { this.location = location; return this; } public String getLocation() { return this.location; } public QueryDeviceResponseBodyData setParentId(String parentId) { this.parentId = parentId; return this; } public String getParentId() { return this.parentId; } public QueryDeviceResponseBodyData setProductType(String productType) { this.productType = productType; return this; } public String getProductType() { return this.productType; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy