@ -126,7 +126,9 @@ public class AlarmController extends BaseController {
"\n\nPlatform also deduplicate the alarms based on the entity id of originator and alarm 'type'. "+
"For example, if the user or system component create the alarm with the type 'HighTemperature' for device 'Device A' the new active alarm is created. "+
"If the user tries to create 'HighTemperature' alarm for the same device again, the previous alarm will be updated (the 'end_ts' will be set to current timestamp). "+
"If the user clears the alarm (see 'Clear Alarm(clearAlarm)'), than new alarm with the same type and same device may be created. "+TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH
"If the user clears the alarm (see 'Clear Alarm(clearAlarm)'), than new alarm with the same type and same device may be created. "+
"Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Alarm entity. "+
@ -158,8 +158,9 @@ public class DeviceController extends BaseController {
"The newly created device id will be present in the response. "+
"Specify existing Device id to update the device. "+
"Referencing non-existing device Id will cause 'Not Found' error."+
"\n\nDevice name is unique in the scope of tenant. Use unique identifiers like MAC or IMEI for the device names and non-unique 'label' field for user-friendly visualization purposes."
+TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH)
"\n\nDevice name is unique in the scope of tenant. Use unique identifiers like MAC or IMEI for the device names and non-unique 'label' field for user-friendly visualization purposes."+
"Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Device entity. "+
@ -141,8 +141,9 @@ public class EdgeController extends BaseController {
"The newly created edge id will be present in the response. "+
"Specify existing Edge id to update the edge. "+
"Referencing non-existing Edge Id will cause 'Not Found' error."+
"\n\nEdge name is unique in the scope of tenant. Use unique identifiers like MAC or IMEI for the edge names and non-unique 'label' field for user-friendly visualization purposes."
+TENANT_AUTHORITY_PARAGRAPH,
"\n\nEdge name is unique in the scope of tenant. Use unique identifiers like MAC or IMEI for the edge names and non-unique 'label' field for user-friendly visualization purposes."+
"Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Edge entity. "+
@ -89,8 +89,9 @@ public class WidgetsBundleController extends BaseController {
"Specify existing Widget Bundle id to update the Widget Bundle. "+
"Referencing non-existing Widget Bundle Id will cause 'Not Found' error."+
"\n\nWidget Bundle alias is unique in the scope of tenant. "+
"Special Tenant Id '13814000-1dd2-11b2-8080-808080808080' is automatically used if the create bundle request is sent by user with 'SYS_ADMIN' authority."
+SYSTEM_OR_TENANT_AUTHORITY_PARAGRAPH)
"Special Tenant Id '13814000-1dd2-11b2-8080-808080808080' is automatically used if the create bundle request is sent by user with 'SYS_ADMIN' authority."+
"Remove 'id', 'tenantId' from the request body example (below) to create new Widgets Bundle entity."+
@ -32,17 +32,17 @@ public class AttributeData implements Comparable<AttributeData>{
this.value=value;
}
@ApiModelProperty(position=1,value="Timestamp last updated attribute, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=1,value="Timestamp last updated attribute, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -30,12 +30,12 @@ public class TsData implements Comparable<TsData>{
this.value=value;
}
@ApiModelProperty(position=1,value="Timestamp last updated timeseries, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=1,value="Timestamp last updated timeseries, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
publiclonggetTs(){
returnts;
}
@ApiModelProperty(position=2,value="Object representing value of timeseries key",example="20",readOnly=true)
@ApiModelProperty(position=2,value="Object representing value of timeseries key",example="20",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -58,13 +58,13 @@ public class AdminSettings extends BaseData<AdminSettingsId> implements HasTenan
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the settings creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the settings creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Override
publiclonggetCreatedTime(){
returnsuper.getCreatedTime();
}
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -83,7 +83,7 @@ public class Customer extends ContactBased<CustomerId> implements HasTenantId, E
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the customer creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the customer creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Override
publiclonggetCreatedTime(){
returnsuper.getCreatedTime();
@ -159,7 +159,7 @@ public class Customer extends ContactBased<CustomerId> implements HasTenantId, E
@Override
@JsonProperty(access=Access.READ_ONLY)
@ApiModelProperty(position=4,value="Name of the customer. Read-only, duplicated from title for backward compatibility",example="Company A",readOnly=true)
@ApiModelProperty(position=4,value="Name of the customer. Read-only, duplicated from title for backward compatibility",example="Company A",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -112,13 +112,13 @@ public class Device extends SearchTextBasedWithAdditionalInfo<DeviceId> implemen
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the device creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the device creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Override
publiclonggetCreatedTime(){
returnsuper.getCreatedTime();
}
@ApiModelProperty(position=3,value="JSON object with Tenant Id. Use 'assignDeviceToTenant' to change the Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id. Use 'assignDeviceToTenant' to change the Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
publicTenantIdgetTenantId(){
returntenantId;
}
@ -127,7 +127,7 @@ public class Device extends SearchTextBasedWithAdditionalInfo<DeviceId> implemen
this.tenantId=tenantId;
}
@ApiModelProperty(position=4,value="JSON object with Customer Id. Use 'assignDeviceToCustomer' to change the Customer Id.",readOnly=true)
@ApiModelProperty(position=4,value="JSON object with Customer Id. Use 'assignDeviceToCustomer' to change the Customer Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=13,value="Title of the Customer that owns the device.",readOnly=true)
@ApiModelProperty(position=13,value="Title of the Customer that owns the device.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringcustomerTitle;
@ApiModelProperty(position=14,value="Indicates special 'Public' Customer that is auto-generated to use the devices on public dashboards.",readOnly=true)
@ApiModelProperty(position=14,value="Indicates special 'Public' Customer that is auto-generated to use the devices on public dashboards.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privatebooleancustomerIsPublic;
@ApiModelProperty(position=15,value="Name of the corresponding Device Profile.",readOnly=true)
@ApiModelProperty(position=15,value="Name of the corresponding Device Profile.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -87,7 +87,7 @@ public class EntityView extends SearchTextBasedWithAdditionalInfo<EntityViewId>
returngetName()/*What the ...*/;
}
@ApiModelProperty(position=4,value="JSON object with Customer Id. Use 'assignEntityViewToCustomer' to change the Customer Id.",readOnly=true)
@ApiModelProperty(position=4,value="JSON object with Customer Id. Use 'assignEntityViewToCustomer' to change the Customer Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Override
publicCustomerIdgetCustomerId(){
returncustomerId;
@ -98,7 +98,7 @@ public class EntityView extends SearchTextBasedWithAdditionalInfo<EntityViewId>
returnname;
}
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Override
publicTenantIdgetTenantId(){
returntenantId;
@ -113,7 +113,7 @@ public class EntityView extends SearchTextBasedWithAdditionalInfo<EntityViewId>
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the Entity View creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the Entity View creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=12,value="Title of the Customer that owns the entity view.",readOnly=true)
@ApiModelProperty(position=12,value="Title of the Customer that owns the entity view.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringcustomerTitle;
@ApiModelProperty(position=13,value="Indicates special 'Public' Customer that is auto-generated to use the entity view on public dashboards.",readOnly=true)
@ApiModelProperty(position=13,value="Indicates special 'Public' Customer that is auto-generated to use the entity view on public dashboards.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -53,7 +53,7 @@ public class Event extends BaseData<EventId> {
super(event);
}
@ApiModelProperty(position=6,value="Timestamp of the event creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=6,value="Timestamp of the event creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=3,value="JSON object with Tenant Id. Tenant Id of the ota package can't be changed.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id. Tenant Id of the ota package can't be changed.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateTenantIdtenantId;
@ApiModelProperty(position=4,value="JSON object with Device Profile Id. Device Profile Id of the ota package can't be changed.",readOnly=true)
@ApiModelProperty(position=4,value="JSON object with Device Profile Id. Device Profile Id of the ota package can't be changed.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=10,value="Indicates OTA Package 'has data'. Field is returned from DB ('true' if data exists or url is set). If OTA Package 'has data' is 'false' we can not assign the OTA Package to the Device or Device Profile.",example="true",readOnly=true)
@ApiModelProperty(position=10,value="Indicates OTA Package 'has data'. Field is returned from DB ('true' if data exists or url is set). If OTA Package 'has data' is 'false' we can not assign the OTA Package to the Device or Device Profile.",example="true",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=15,value="OTA Package data size.",example="8",readOnly=true)
@ApiModelProperty(position=15,value="OTA Package data size.",example="8",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateLongdataSize;
publicOtaPackageInfo(){
@ -114,7 +114,7 @@ public class OtaPackageInfo extends SearchTextBasedWithAdditionalInfo<OtaPackage
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the ota package creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the ota package creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=16,value="Indicates OTA Package uses url. Should be 'true' if uses url or 'false' if will be used data.",example="true",readOnly=true)
@ApiModelProperty(position=16,value="Indicates OTA Package uses url. Should be 'true' if uses url or 'false' if will be used data.",example="true",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=3,value="JSON object with Tenant Id. Tenant Id of the resource can't be changed.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id. Tenant Id of the resource can't be changed.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -75,7 +75,7 @@ public class TbResourceInfo extends SearchTextBased<TbResourceId> implements Has
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the resource creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the resource creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -74,7 +74,7 @@ public class Tenant extends ContactBased<TenantId> implements HasTenantId {
}
@Override
@ApiModelProperty(position=4,value="Name of the tenant. Read-only, duplicated from title for backward compatibility",example="Company A",readOnly=true)
@ApiModelProperty(position=4,value="Name of the tenant. Read-only, duplicated from title for backward compatibility",example="Company A",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -110,7 +110,7 @@ public class Tenant extends ContactBased<TenantId> implements HasTenantId {
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the tenant creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the tenant creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -52,7 +52,6 @@ public class Asset extends SearchTextBasedWithAdditionalInfo<AssetId> implements
@Length(fieldName="label")
privateStringlabel;
@ApiModelProperty(position=100,value="JSON object with External Id from the VCS",accessMode=ApiModelProperty.AccessMode.READ_ONLY,hidden=true)
@Getter@Setter
privateAssetIdexternalId;
@ -93,7 +92,7 @@ public class Asset extends SearchTextBasedWithAdditionalInfo<AssetId> implements
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the asset creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the asset creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Override
publiclonggetCreatedTime(){
returnsuper.getCreatedTime();
@ -108,7 +107,7 @@ public class Asset extends SearchTextBasedWithAdditionalInfo<AssetId> implements
this.tenantId=tenantId;
}
@ApiModelProperty(position=4,value="JSON object with Customer Id. Use 'assignAssetToCustomer' to change the Customer Id.",readOnly=true)
@ApiModelProperty(position=4,value="JSON object with Customer Id. Use 'assignAssetToCustomer' to change the Customer Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=1,value="Array of the entities",readOnly=true)
@ApiModelProperty(position=1,value="Array of the entities",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
publicList<T>getData(){
returndata;
}
@ApiModelProperty(position=2,value="Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria",readOnly=true)
@ApiModelProperty(position=2,value="Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
publicintgetTotalPages(){
returntotalPages;
}
@ApiModelProperty(position=3,value="Total number of elements in all available pages",readOnly=true)
@ApiModelProperty(position=3,value="Total number of elements in all available pages",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
publiclonggetTotalElements(){
returntotalElements;
}
@ApiModelProperty(position=4,value="'false' value indicates the end of the result set",readOnly=true)
@ApiModelProperty(position=4,value="'false' value indicates the end of the result set",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -32,19 +32,19 @@ public class ComponentDescriptor extends SearchTextBased<ComponentDescriptorId>
privatestaticfinallongserialVersionUID=1L;
@ApiModelProperty(position=3,value="Type of the Rule Node",readOnly=true)
@ApiModelProperty(position=3,value="Type of the Rule Node",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@Getter@SetterprivateComponentTypetype;
@ApiModelProperty(position=4,value="Scope of the Rule Node. Always set to 'TENANT', since no rule chains on the 'SYSTEM' level yet.",readOnly=true,allowableValues="TENANT",example="TENANT")
@ApiModelProperty(position=4,value="Scope of the Rule Node. Always set to 'TENANT', since no rule chains on the 'SYSTEM' level yet.",accessMode=ApiModelProperty.AccessMode.READ_ONLY,allowableValues="TENANT",example="TENANT")
@Getter@SetterprivateComponentScopescope;
@Length(fieldName="name")
@ApiModelProperty(position=5,value="Name of the Rule Node. Taken from the @RuleNode annotation.",readOnly=true,example="Custom Rule Node")
@ApiModelProperty(position=5,value="Name of the Rule Node. Taken from the @RuleNode annotation.",accessMode=ApiModelProperty.AccessMode.READ_ONLY,example="Custom Rule Node")
@Getter@SetterprivateStringname;
@ApiModelProperty(position=6,value="Full name of the Java class that implements the Rule Engine Node interface.",readOnly=true,example="com.mycompany.CustomRuleNode")
@ApiModelProperty(position=6,value="Full name of the Java class that implements the Rule Engine Node interface.",accessMode=ApiModelProperty.AccessMode.READ_ONLY,example="com.mycompany.CustomRuleNode")
@Getter@SetterprivateStringclazz;
@ApiModelProperty(position=7,value="Complex JSON object that represents the Rule Node configuration.",readOnly=true)
@ApiModelProperty(position=7,value="Complex JSON object that represents the Rule Node configuration.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -74,7 +74,7 @@ public class ComponentDescriptor extends SearchTextBased<ComponentDescriptorId>
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the descriptor creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the descriptor creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateTenantIdtenantId;
@ApiModelProperty(position=4,value="JSON object with Device Id.",readOnly=true)
@ApiModelProperty(position=4,value="JSON object with Device Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateDeviceIddeviceId;
@ApiModelProperty(position=5,value="Expiration time of the request.",readOnly=true)
@ApiModelProperty(position=5,value="Expiration time of the request.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privatelongexpirationTime;
@ApiModelProperty(position=6,value="The request body that will be used to send message to device.",readOnly=true)
@ApiModelProperty(position=6,value="The request body that will be used to send message to device.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateJsonNoderequest;
@ApiModelProperty(position=7,value="The response from the device.",readOnly=true)
@ApiModelProperty(position=7,value="The response from the device.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateJsonNoderesponse;
@ApiModelProperty(position=8,value="The current status of the RPC call.",readOnly=true)
@ApiModelProperty(position=8,value="The current status of the RPC call.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateRpcStatusstatus;
@ApiModelProperty(position=9,value="Additional info used in the rule engine to process the updates to the RPC state.",readOnly=true)
@ApiModelProperty(position=9,value="Additional info used in the rule engine to process the updates to the RPC state.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateJsonNodeadditionalInfo;
publicRpc(){
@ -71,7 +71,7 @@ public class Rpc extends BaseData<RpcId> implements HasTenantId {
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the rpc creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the rpc creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=3,required=true,value="JSON object with Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,required=true,value="JSON object with Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateTenantIdtenantId;
@NoXss
@Length(fieldName="name")
@ -100,7 +100,7 @@ public class RuleChain extends SearchTextBasedWithAdditionalInfo<RuleChainId> im
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the rule chain creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the rule chain creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=3,value="JSON object with the Rule Chain Id. ",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with the Rule Chain Id. ",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateRuleChainIdruleChainId;
@Length(fieldName="type")
@ApiModelProperty(position=4,value="Full Java Class Name of the rule node implementation. ",example="com.mycompany.iot.rule.engine.ProcessingNode")
@ -100,7 +100,7 @@ public class RuleNode extends SearchTextBasedWithAdditionalInfo<RuleNodeId> impl
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the rule node creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the rule node creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=1,required=true,readOnly=true,value="The Id is automatically generated during device creation. "+
@ApiModelProperty(position=1,required=true,accessMode=ApiModelProperty.AccessMode.READ_ONLY,value="The Id is automatically generated during device creation. "+
"Use 'getDeviceCredentialsByDeviceId' to obtain the id based on device id. "+
"Use 'updateDeviceCredentials' to update device credentials. ",example="784f394c-42b6-435a-983c-b7beff2784f9")
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateTenantIdtenantId;
@NoXss
@Length(fieldName="bundleAlias")
@ApiModelProperty(position=4,value="Reference to widget bundle",readOnly=true)
@ApiModelProperty(position=4,value="Reference to widget bundle",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringbundleAlias;
@NoXss
@Length(fieldName="alias")
@ApiModelProperty(position=5,value="Unique alias that is used in dashboards as a reference widget type",readOnly=true)
@ApiModelProperty(position=5,value="Unique alias that is used in dashboards as a reference widget type",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringalias;
@NoXss
@Length(fieldName="name")
@ApiModelProperty(position=6,value="Widget name used in search and UI",readOnly=true)
@ApiModelProperty(position=6,value="Widget name used in search and UI",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringname;
publicBaseWidgetType(){
@ -69,7 +69,7 @@ public class BaseWidgetType extends BaseData<WidgetTypeId> implements HasTenantI
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the Widget Type creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the Widget Type creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ApiModelProperty(position=7,value="Description of the widget type",readOnly=true)
@ApiModelProperty(position=7,value="Description of the widget type",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringdescription;
@NoXss
@ApiModelProperty(position=8,value="Type of the widget (timeseries, latest, control, alarm or static)",readOnly=true)
@ApiModelProperty(position=8,value="Type of the widget (timeseries, latest, control, alarm or static)",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -37,34 +37,34 @@ public class WidgetsBundle extends SearchTextBased<WidgetsBundleId> implements H
@Getter
@Setter
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",readOnly=true)
@ApiModelProperty(position=3,value="JSON object with Tenant Id.",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateTenantIdtenantId;
@NoXss
@Length(fieldName="alias")
@Getter
@Setter
@ApiModelProperty(position=4,value="Unique alias that is used in widget types as a reference widget bundle",readOnly=true)
@ApiModelProperty(position=4,value="Unique alias that is used in widget types as a reference widget bundle",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
privateStringalias;
@NoXss
@Length(fieldName="title")
@Getter
@Setter
@ApiModelProperty(position=5,value="Title used in search and UI",readOnly=true)
@ApiModelProperty(position=5,value="Title used in search and UI",accessMode=ApiModelProperty.AccessMode.READ_ONLY)
@ -98,7 +98,7 @@ public class WidgetsBundle extends SearchTextBased<WidgetsBundleId> implements H
returnsuper.getId();
}
@ApiModelProperty(position=2,value="Timestamp of the Widget Bundle creation, in milliseconds",example="1609459200000",readOnly=true)
@ApiModelProperty(position=2,value="Timestamp of the Widget Bundle creation, in milliseconds",example="1609459200000",accessMode=ApiModelProperty.AccessMode.READ_ONLY)