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