package com.konkerlabs.platform.registry.api.model;

import java.util.Set;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel(
        value = "Device Input",
        discriminator = "com.konkerlabs.platform.registry.api.model")
public class DeviceInputVO {

    @ApiModelProperty(value = "the device id", example = "serialNumber", required = true, position = 1)
    protected String id;
    @ApiModelProperty(value = "the device name", example = "Device001", required = true, position = 2)
    protected String name;
    @ApiModelProperty(value = "the device description", example = "energy storage device", position = 3)
    protected String description;
    @ApiModelProperty(value = "the location name of device", example = "br_sp", position = 4)
    protected String locationName;
    @ApiModelProperty(value = "the device model name of device", example = "PresenceSensor", position = 5)
    protected String deviceModelName;
    @ApiModelProperty(example = "true", position = 6)
    protected boolean active = true;
    //LIST example = ["repair", "test1"] IS NOT SUPPORTED YET IN SWAGGER (08/11/2017)
    //@ApiModelProperty(value = "the tags of  the device", example = ["repair", "test1"], position = 7)
    @ApiModelProperty(value = "the tags of  the device", position = 7)
    protected Set<String> tags;

}

@@ -1146,198 +1146,8 @@
 ue;%0A
-    //LIST example = %5B%22repair%22, %22test1%22%5D IS NOT SUPPORTED YET IN SWAGGER (08/11/2017)%0A    //@ApiModelProperty(value = %22the tags of  the device%22, example = %5B%22repair%22, %22test1%22%5D, position = 7)%0A
     

Comment removed