Added missing serialVersionUID
This commit is contained in:
parent
4707089072
commit
fc996ddf32
@ -27,6 +27,8 @@ import java.util.Map;
|
||||
@Data
|
||||
public class CoapDeviceTransportConfiguration extends PowerSavingConfiguration implements DeviceTransportConfiguration {
|
||||
|
||||
private static final long serialVersionUID = 6061442236008925609L;
|
||||
|
||||
@JsonIgnore
|
||||
private Map<String, Object> properties = new HashMap<>();
|
||||
|
||||
|
||||
@ -23,6 +23,8 @@ import org.thingsboard.server.common.data.DeviceProfileType;
|
||||
@Data
|
||||
public class DefaultDeviceConfiguration implements DeviceConfiguration {
|
||||
|
||||
private static final long serialVersionUID = -2225378639573611325L;
|
||||
|
||||
@Override
|
||||
public DeviceProfileType getType() {
|
||||
return DeviceProfileType.DEFAULT;
|
||||
|
||||
@ -25,6 +25,8 @@ import java.io.Serializable;
|
||||
@Data
|
||||
public class DeviceData implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3771567735290681274L;
|
||||
|
||||
@ApiModelProperty(position = 1, value = "Device configuration for device profile type. DEFAULT is only supported value for now")
|
||||
private DeviceConfiguration configuration;
|
||||
@ApiModelProperty(position = 2, value = "Device transport configuration used to connect the device")
|
||||
|
||||
@ -21,6 +21,9 @@ import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class PowerSavingConfiguration implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2905389805488525362L;
|
||||
|
||||
private PowerMode powerMode;
|
||||
private Long psmActivityTimer;
|
||||
private Long edrxCycle;
|
||||
|
||||
@ -21,6 +21,8 @@ import org.thingsboard.server.common.data.CoapDeviceType;
|
||||
@Data
|
||||
public class DefaultCoapDeviceTypeConfiguration implements CoapDeviceTypeConfiguration {
|
||||
|
||||
private static final long serialVersionUID = -4287100699186773773L;
|
||||
|
||||
private TransportPayloadTypeConfiguration transportPayloadTypeConfiguration;
|
||||
|
||||
@Override
|
||||
|
||||
@ -21,6 +21,8 @@ import org.thingsboard.server.common.data.CoapDeviceType;
|
||||
@Data
|
||||
public class EfentoCoapDeviceTypeConfiguration implements CoapDeviceTypeConfiguration {
|
||||
|
||||
private static final long serialVersionUID = -8523081152598707064L;
|
||||
|
||||
@Override
|
||||
public CoapDeviceType getCoapDeviceType() {
|
||||
return CoapDeviceType.EFENTO;
|
||||
|
||||
@ -24,6 +24,8 @@ import java.io.Serializable;
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class ObjectAttributes implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4765123984733721312L;
|
||||
|
||||
private Long dim;
|
||||
private String ver;
|
||||
private Long pmin;
|
||||
|
||||
@ -28,6 +28,8 @@ import java.util.Set;
|
||||
@AllArgsConstructor
|
||||
public class TelemetryMappingConfiguration implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7594999741305410419L;
|
||||
|
||||
private Map<String, String> keyName;
|
||||
private Set<String> observe;
|
||||
private Set<String> attribute;
|
||||
|
||||
@ -18,6 +18,9 @@ package org.thingsboard.server.common.data.device.profile.lwm2m.bootstrap;
|
||||
import org.thingsboard.server.common.data.device.credentials.lwm2m.LwM2MSecurityMode;
|
||||
|
||||
public class NoSecLwM2MBootstrapServerCredential extends AbstractLwM2MBootstrapServerCredential {
|
||||
|
||||
private static final long serialVersionUID = 5540417758424747066L;
|
||||
|
||||
@Override
|
||||
public LwM2MSecurityMode getSecurityMode() {
|
||||
return LwM2MSecurityMode.NO_SEC;
|
||||
|
||||
@ -18,6 +18,9 @@ package org.thingsboard.server.common.data.device.profile.lwm2m.bootstrap;
|
||||
import org.thingsboard.server.common.data.device.credentials.lwm2m.LwM2MSecurityMode;
|
||||
|
||||
public class PSKLwM2MBootstrapServerCredential extends AbstractLwM2MBootstrapServerCredential {
|
||||
|
||||
private static final long serialVersionUID = -1639587501559199887L;
|
||||
|
||||
@Override
|
||||
public LwM2MSecurityMode getSecurityMode() {
|
||||
return LwM2MSecurityMode.PSK;
|
||||
|
||||
@ -18,6 +18,9 @@ package org.thingsboard.server.common.data.device.profile.lwm2m.bootstrap;
|
||||
import org.thingsboard.server.common.data.device.credentials.lwm2m.LwM2MSecurityMode;
|
||||
|
||||
public class RPKLwM2MBootstrapServerCredential extends AbstractLwM2MBootstrapServerCredential {
|
||||
|
||||
private static final long serialVersionUID = 6692464656059120166L;
|
||||
|
||||
@Override
|
||||
public LwM2MSecurityMode getSecurityMode() {
|
||||
return LwM2MSecurityMode.RPK;
|
||||
|
||||
@ -18,6 +18,9 @@ package org.thingsboard.server.common.data.device.profile.lwm2m.bootstrap;
|
||||
import org.thingsboard.server.common.data.device.credentials.lwm2m.LwM2MSecurityMode;
|
||||
|
||||
public class X509LwM2MBootstrapServerCredential extends AbstractLwM2MBootstrapServerCredential {
|
||||
|
||||
private static final long serialVersionUID = -3740860424558547405L;
|
||||
|
||||
@Override
|
||||
public LwM2MSecurityMode getSecurityMode() {
|
||||
return LwM2MSecurityMode.X509;
|
||||
|
||||
@ -29,6 +29,9 @@ import java.util.regex.Pattern;
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class SnmpMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2042438869374145944L;
|
||||
|
||||
private String oid;
|
||||
private String key;
|
||||
private DataType dataType;
|
||||
|
||||
@ -20,6 +20,8 @@ import org.thingsboard.server.common.data.transport.snmp.config.RepeatingQueryin
|
||||
|
||||
public class ClientAttributesQueryingSnmpCommunicationConfig extends RepeatingQueryingSnmpCommunicationConfig {
|
||||
|
||||
private static final long serialVersionUID = 536740834893462914L;
|
||||
|
||||
@Override
|
||||
public SnmpCommunicationSpec getSpec() {
|
||||
return SnmpCommunicationSpec.CLIENT_ATTRIBUTES_QUERYING;
|
||||
|
||||
@ -21,6 +21,8 @@ import org.thingsboard.server.common.data.transport.snmp.config.MultipleMappings
|
||||
|
||||
public class SharedAttributesSettingSnmpCommunicationConfig extends MultipleMappingsSnmpCommunicationConfig {
|
||||
|
||||
private static final long serialVersionUID = 8981224974190924703L;
|
||||
|
||||
@Override
|
||||
public SnmpCommunicationSpec getSpec() {
|
||||
return SnmpCommunicationSpec.SHARED_ATTRIBUTES_SETTING;
|
||||
|
||||
@ -24,6 +24,8 @@ import org.thingsboard.server.common.data.transport.snmp.config.RepeatingQueryin
|
||||
@Data
|
||||
public class TelemetryQueryingSnmpCommunicationConfig extends RepeatingQueryingSnmpCommunicationConfig {
|
||||
|
||||
private static final long serialVersionUID = -1367743866881596885L;
|
||||
|
||||
@Override
|
||||
public SnmpCommunicationSpec getSpec() {
|
||||
return SnmpCommunicationSpec.TELEMETRY_QUERYING;
|
||||
|
||||
@ -19,6 +19,9 @@ import org.thingsboard.server.common.data.transport.snmp.SnmpCommunicationSpec;
|
||||
import org.thingsboard.server.common.data.transport.snmp.config.MultipleMappingsSnmpCommunicationConfig;
|
||||
|
||||
public class ToDeviceRpcRequestSnmpCommunicationConfig extends MultipleMappingsSnmpCommunicationConfig {
|
||||
|
||||
private static final long serialVersionUID = -8607312598073845460L;
|
||||
|
||||
@Override
|
||||
public SnmpCommunicationSpec getSpec() {
|
||||
return SnmpCommunicationSpec.TO_DEVICE_RPC_REQUEST;
|
||||
|
||||
@ -37,6 +37,8 @@ import java.util.List;
|
||||
@Data
|
||||
public class LwM2MBootstrapConfig implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4729088085817468640L;
|
||||
|
||||
List<LwM2MBootstrapServerCredential> serverConfiguration;
|
||||
|
||||
/** -bootstrapServer, lwm2mServer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user