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

com.aliyun.dingtalkdevicemng_1_0.models.BatchRegisterDeviceRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class BatchRegisterDeviceRequest extends TeaModel {
    // 设备列表
    @NameInMap("deviceList")
    public java.util.List deviceList;

    // 创建者userId
    @NameInMap("userId")
    public String userId;

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

    public BatchRegisterDeviceRequest setDeviceList(java.util.List deviceList) {
        this.deviceList = deviceList;
        return this;
    }
    public java.util.List getDeviceList() {
        return this.deviceList;
    }

    public BatchRegisterDeviceRequest setUserId(String userId) {
        this.userId = userId;
        return this;
    }
    public String getUserId() {
        return this.userId;
    }

    public static class BatchRegisterDeviceRequestDeviceList extends TeaModel {
        // 协助者userId列表
        @NameInMap("collaborators")
        public String collaborators;

        // 部门id
        @NameInMap("departmentId")
        public Long departmentId;

        // 设备描述
        @NameInMap("description")
        public String description;

        // 设备标识
        @NameInMap("deviceKey")
        public String deviceKey;

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

        // 管理员userId列表
        @NameInMap("managers")
        public String managers;

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

        public BatchRegisterDeviceRequestDeviceList setCollaborators(String collaborators) {
            this.collaborators = collaborators;
            return this;
        }
        public String getCollaborators() {
            return this.collaborators;
        }

        public BatchRegisterDeviceRequestDeviceList setDepartmentId(Long departmentId) {
            this.departmentId = departmentId;
            return this;
        }
        public Long getDepartmentId() {
            return this.departmentId;
        }

        public BatchRegisterDeviceRequestDeviceList setDescription(String description) {
            this.description = description;
            return this;
        }
        public String getDescription() {
            return this.description;
        }

        public BatchRegisterDeviceRequestDeviceList setDeviceKey(String deviceKey) {
            this.deviceKey = deviceKey;
            return this;
        }
        public String getDeviceKey() {
            return this.deviceKey;
        }

        public BatchRegisterDeviceRequestDeviceList setDeviceName(String deviceName) {
            this.deviceName = deviceName;
            return this;
        }
        public String getDeviceName() {
            return this.deviceName;
        }

        public BatchRegisterDeviceRequestDeviceList setManagers(String managers) {
            this.managers = managers;
            return this;
        }
        public String getManagers() {
            return this.managers;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy