package com.hdl.sdk.link.core.bean.gateway; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import androidx.annotation.NonNull; /** * Created by Zoro * Created on 2023/10/25 * description: */ public class DeviceRemoteInfo implements Serializable { private String gatewayId; private boolean encrypt;//是否加密 private int algorithmType;//0.SM4 1.AES 2.不加密 private String spk; private String mac;//设备mac private String secret;//私钥 public String getGatewayId() { return gatewayId == null ? "" : gatewayId; } public void setGatewayId(@NonNull String gatewayId) { this.gatewayId = gatewayId; } public boolean isEncrypt() { return encrypt; } public void setEncrypt(@NonNull boolean encrypt) { this.encrypt = encrypt; } public int getAlgorithmType() { return algorithmType; } public void setAlgorithmType(@NonNull int algorithmType) { this.algorithmType = algorithmType; } public String getSpk() { return spk == null ? "" : spk; } public void setSpk(@NonNull String spk) { this.spk = spk; } public String getMac() { return mac == null ? "" : mac; } public void setMac(@NonNull String mac) { this.mac = mac; } public String getSecret() { return secret == null ? "" : secret; } public void setSecret(@NonNull String secret) { this.secret = secret; } }