publicAssetsaveAsset(@io.swagger.v3.oas.annotations.parameters.RequestBody(description="A JSON value representing the asset.")@RequestBodyAssetasset)throwsException{
publicAssetsaveAsset(@io.swagger.v3.oas.annotations.parameters.RequestBody(description="A JSON value representing the asset.")@RequestBodyAssetasset,
@ -1744,4 +1744,18 @@ public class ControllerConstants {
MARKDOWN_CODE_BLOCK_END;
MARKDOWN_CODE_BLOCK_END;
protectedstaticfinalStringSECURITY_WRITE_CHECK=" Security check is performed to verify that the user has 'WRITE' permission for the entity (entities).";
protectedstaticfinalStringSECURITY_WRITE_CHECK=" Security check is performed to verify that the user has 'WRITE' permission for the entity (entities).";
publicstaticfinalStringNAME_CONFLICT_POLICY_DESC="Optional value of name conflict policy. Possible values: FAIL or UNIQUIFY. "+
" If omitted, FAIL policy is applied. FAIL policy implies exception will be thrown if an entity with the same name already exists. "+
" UNIQUIFY policy appends a suffix to the entity name, if a name conflict occurs.";
publicstaticfinalStringUNIQUIFY_SEPARATOR_DESC="Optional value of name suffix separator used by UNIQUIFY policy. By default, underscore separator is used. "+
"For example, strategy is UNIQUIFY, separator is '-'; if a name conflict occurs for entity name 'test-name', "+
"created entity will have name like 'test-name-7fsh4f'.";
publicstaticfinalStringUNIQUIFY_STRATEGY_DESC="Optional value of uniquify strategy used by UNIQUIFY policy. Possible values: RANDOM or INCREMENTAL. "+
"By default, RANDOM strategy is used, which means random alphanumeric string will be added as a suffix to entity name. "+
"INCREMENTAL implies the first possible number starting from 1 will be added as a name suffix. "+
"For example, strategy is UNIQUIFY, uniquify strategy is INCREMENTAL; if a name conflict occurs for entity name 'test-name', "+
"created entity will have name like 'test-name-1.";
publicCustomersaveCustomer(@io.swagger.v3.oas.annotations.parameters.RequestBody(description="A JSON value representing the customer.")@RequestBodyCustomercustomer)throwsException{
publicCustomersaveCustomer(@io.swagger.v3.oas.annotations.parameters.RequestBody(description="A JSON value representing the customer.")@RequestBodyCustomercustomer,
@ -177,14 +183,21 @@ public class DeviceController extends BaseController {
@ResponseBody
@ResponseBody
publicDevicesaveDevice(@io.swagger.v3.oas.annotations.parameters.RequestBody(description="A JSON value representing the device.")@RequestBodyDevicedevice,
publicDevicesaveDevice(@io.swagger.v3.oas.annotations.parameters.RequestBody(description="A JSON value representing the device.")@RequestBodyDevicedevice,
@Parameter(description="Optional value of the device credentials to be used during device creation. "+
@Parameter(description="Optional value of the device credentials to be used during device creation. "+
"If omitted, access token will be auto-generated.")@RequestParam(name="accessToken",required=false)StringaccessToken)throwsException{
"If omitted, access token will be auto-generated.")