Showing
1 changed file
with
2 additions
and
10 deletions
... | ... | @@ -15,15 +15,14 @@ |
15 | 15 | */ |
16 | 16 | package org.thingsboard.server.extensions.api.device; |
17 | 17 | |
18 | +import lombok.AllArgsConstructor; | |
18 | 19 | import lombok.Getter; |
19 | 20 | import lombok.ToString; |
20 | 21 | import org.thingsboard.server.common.data.id.DeviceId; |
21 | 22 | import org.thingsboard.server.common.data.id.TenantId; |
22 | 23 | |
23 | -/** | |
24 | - * @author Andrew Shvayka | |
25 | - */ | |
26 | 24 | @ToString |
25 | +@AllArgsConstructor | |
27 | 26 | public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg { |
28 | 27 | |
29 | 28 | @Getter |
... | ... | @@ -34,11 +33,4 @@ public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg { |
34 | 33 | private final String deviceName; |
35 | 34 | @Getter |
36 | 35 | private final String deviceType; |
37 | - | |
38 | - public DeviceNameOrTypeUpdateMsg(TenantId tenantId, DeviceId deviceId, String deviceName, String deviceType) { | |
39 | - this.tenantId = tenantId; | |
40 | - this.deviceId = deviceId; | |
41 | - this.deviceName = deviceName; | |
42 | - this.deviceType = deviceType; | |
43 | - } | |
44 | 36 | } | ... | ... |