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

com.aliyun.iot20180120.models.QueryDeviceFileResponseBody Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;

import com.aliyun.tea.*;

public class QueryDeviceFileResponseBody extends TeaModel {
    @NameInMap("RequestId")
    public String requestId;

    @NameInMap("Success")
    public Boolean success;

    @NameInMap("Code")
    public String code;

    @NameInMap("ErrorMessage")
    public String errorMessage;

    @NameInMap("Data")
    public QueryDeviceFileResponseBodyData data;

    public static QueryDeviceFileResponseBody build(java.util.Map map) throws Exception {
        QueryDeviceFileResponseBody self = new QueryDeviceFileResponseBody();
        return TeaModel.build(map, self);
    }

    public QueryDeviceFileResponseBody setRequestId(String requestId) {
        this.requestId = requestId;
        return this;
    }
    public String getRequestId() {
        return this.requestId;
    }

    public QueryDeviceFileResponseBody setSuccess(Boolean success) {
        this.success = success;
        return this;
    }
    public Boolean getSuccess() {
        return this.success;
    }

    public QueryDeviceFileResponseBody setCode(String code) {
        this.code = code;
        return this;
    }
    public String getCode() {
        return this.code;
    }

    public QueryDeviceFileResponseBody setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
        return this;
    }
    public String getErrorMessage() {
        return this.errorMessage;
    }

    public QueryDeviceFileResponseBody setData(QueryDeviceFileResponseBodyData data) {
        this.data = data;
        return this;
    }
    public QueryDeviceFileResponseBodyData getData() {
        return this.data;
    }

    public static class QueryDeviceFileResponseBodyData extends TeaModel {
        @NameInMap("FileId")
        public String fileId;

        @NameInMap("Name")
        public String name;

        @NameInMap("Size")
        public String size;

        @NameInMap("UtcCreatedOn")
        public String utcCreatedOn;

        @NameInMap("DownloadUrl")
        public String downloadUrl;

        public static QueryDeviceFileResponseBodyData build(java.util.Map map) throws Exception {
            QueryDeviceFileResponseBodyData self = new QueryDeviceFileResponseBodyData();
            return TeaModel.build(map, self);
        }

        public QueryDeviceFileResponseBodyData setFileId(String fileId) {
            this.fileId = fileId;
            return this;
        }
        public String getFileId() {
            return this.fileId;
        }

        public QueryDeviceFileResponseBodyData setName(String name) {
            this.name = name;
            return this;
        }
        public String getName() {
            return this.name;
        }

        public QueryDeviceFileResponseBodyData setSize(String size) {
            this.size = size;
            return this;
        }
        public String getSize() {
            return this.size;
        }

        public QueryDeviceFileResponseBodyData setUtcCreatedOn(String utcCreatedOn) {
            this.utcCreatedOn = utcCreatedOn;
            return this;
        }
        public String getUtcCreatedOn() {
            return this.utcCreatedOn;
        }

        public QueryDeviceFileResponseBodyData setDownloadUrl(String downloadUrl) {
            this.downloadUrl = downloadUrl;
            return this;
        }
        public String getDownloadUrl() {
            return this.downloadUrl;
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy