|
|
@ -18,6 +18,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
@ -30,10 +33,16 @@ import java.util.List;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@XmlRootElement(name = "tenantConfiguration")
|
|
|
|
@XmlRootElement(name = "tenantConfiguration")
|
|
|
|
@XmlAccessorType(XmlAccessType.NONE)
|
|
|
|
@XmlAccessorType(XmlAccessType.NONE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModel(value = "TenantConfiguration",
|
|
|
|
|
|
|
|
description = "This class carries all information related to a Tenant configuration")
|
|
|
|
public class TenantConfiguration implements Serializable {
|
|
|
|
public class TenantConfiguration implements Serializable {
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "type")
|
|
|
|
@XmlElement(name = "type")
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "type", value = "type of device", required = true)
|
|
|
|
private String type;
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "configuration", value = "List of Configuration Entries", required = true)
|
|
|
|
@XmlElement(name = "configuration")
|
|
|
|
@XmlElement(name = "configuration")
|
|
|
|
private List<ConfigurationEntry> configuration;
|
|
|
|
private List<ConfigurationEntry> configuration;
|
|
|
|
|
|
|
|
|
|
|
|