@ -60,6 +60,7 @@ public class EntityView extends BaseDataWithAdditionalInfo<EntityViewId>
privatelongendTimeMs;
privateEntityViewIdexternalId;
privateIntegerversion;
publicEntityView(){
super();
@ -80,6 +81,7 @@ public class EntityView extends BaseDataWithAdditionalInfo<EntityViewId>
this.startTimeMs=entityView.getStartTimeMs();
this.endTimeMs=entityView.getEndTimeMs();
this.externalId=entityView.getExternalId();
this.version=entityView.getVersion();
}
@Schema(description="JSON object with Customer Id. Use 'assignEntityViewToCustomer' to change the Customer Id.",accessMode=Schema.AccessMode.READ_ONLY)
@ -102,7 +104,7 @@ public class EntityView extends BaseDataWithAdditionalInfo<EntityViewId>
@Schema(description="JSON object with the Entity View Id. "+
"Specify this field to update the Entity View. "+
"Referencing non-existing Entity View Id will cause error. "+
"Omit this field to create new Entity View.")
"Omit this field to create new Entity View.")
@Override
publicEntityViewIdgetId(){
returnsuper.getId();
@ -114,7 +116,7 @@ public class EntityView extends BaseDataWithAdditionalInfo<EntityViewId>
returnsuper.getCreatedTime();
}
@Schema(description="Additional parameters of the device",implementation=com.fasterxml.jackson.databind.JsonNode.class)
@Schema(description="Additional parameters of the device",implementation=com.fasterxml.jackson.databind.JsonNode.class)
@Schema(requiredMode=Schema.RequiredMode.REQUIRED,accessMode=Schema.AccessMode.READ_ONLY,description="The Id is automatically generated during device creation. "+
@ -111,4 +118,5 @@ public class DeviceCredentials extends BaseData<DeviceCredentialsId> implements
@Schema(description="Relative or external image URL. Replaced with image data URL (Base64) in case of relative URL and 'inlineImages' option enabled.")
@ -42,8 +42,6 @@ public class WidgetTypeDetails extends WidgetType implements HasName, HasTenantI
@Schema(description="Tags of the widget type")
privateString[]tags;
@Getter
@Setter
privateWidgetTypeIdexternalId;
publicWidgetTypeDetails(){
@ -65,4 +63,5 @@ public class WidgetTypeDetails extends WidgetType implements HasName, HasTenantI