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

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

// 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 {
    // 结果数据
    @NameInMap("data")
    public java.util.List data;

    // 当前页码
    @NameInMap("pageNumber")
    public Long pageNumber;

    // 页面大小
    @NameInMap("pageSize")
    public Long pageSize;

    // 总数
    @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 {
        // flv格式直播地址
        @NameInMap("flv")
        public String flv;

        // hls格式直播地址
        @NameInMap("hls")
        public String hls;

        // rtmp格式直播地址
        @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 {
        // 设备id
        @NameInMap("deviceId")
        public String deviceId;

        // 设备昵称
        @NameInMap("deviceName")
        public String deviceName;

        // 设备状态 0:在线 1:离线
        @NameInMap("deviceStatus")
        public Long deviceStatus;

        // 设备类型
        @NameInMap("deviceType")
        public String deviceType;

        // 设备类型名称
        @NameInMap("deviceTypeName")
        public String deviceTypeName;

        // 直播地址
        @NameInMap("liveUrls")
        public QueryDeviceResponseBodyDataLiveUrls liveUrls;

        // 设备地址
        @NameInMap("location")
        public String location;

        // 设备父节点id
        @NameInMap("parentId")
        public String parentId;

        // 产品类型 摄像头:CAMERA 其它:OTHERS
        @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