added annotation for ConfigurationEntry

This commit is contained in:
hasuniea 2016-05-12 22:00:09 +05:30
parent e4dfe63548
commit e633d28013
2 changed files with 32 additions and 22 deletions

View File

@ -18,13 +18,23 @@
package org.wso2.carbon.device.mgt.common.configuration.mgt; package org.wso2.carbon.device.mgt.common.configuration.mgt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* Represents an individual configuration entry. * Represents an individual configuration entry.
*/ */
@ApiModel(value = "ConfigurationEntry", description = "This class carries all information related to Tenant Configuration" +
"Settings")
public class ConfigurationEntry { public class ConfigurationEntry {
@ApiModelProperty(name = "name", value = "Name of the configuration", required = true)
private String name; private String name;
@ApiModelProperty(name = "contentType", value = "Type of the configuration", required = true)
private String contentType; private String contentType;
@ApiModelProperty(name = "value", value = "Value of the configuration", required = true)
private Object value; private Object value;
public String getName() { public String getName() {