Code review fixes
This commit is contained in:
parent
8abb57387c
commit
611995121b
@ -15,15 +15,14 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.extensions.api.device;
|
package org.thingsboard.server.extensions.api.device;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
import org.thingsboard.server.common.data.id.DeviceId;
|
import org.thingsboard.server.common.data.id.DeviceId;
|
||||||
import org.thingsboard.server.common.data.id.TenantId;
|
import org.thingsboard.server.common.data.id.TenantId;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Andrew Shvayka
|
|
||||||
*/
|
|
||||||
@ToString
|
@ToString
|
||||||
|
@AllArgsConstructor
|
||||||
public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg {
|
public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg {
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@ -34,11 +33,4 @@ public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg {
|
|||||||
private final String deviceName;
|
private final String deviceName;
|
||||||
@Getter
|
@Getter
|
||||||
private final String deviceType;
|
private final String deviceType;
|
||||||
|
|
||||||
public DeviceNameOrTypeUpdateMsg(TenantId tenantId, DeviceId deviceId, String deviceName, String deviceType) {
|
|
||||||
this.tenantId = tenantId;
|
|
||||||
this.deviceId = deviceId;
|
|
||||||
this.deviceName = deviceName;
|
|
||||||
this.deviceType = deviceType;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user