forked from community/device-mgt-core
parent
a73ec67485
commit
008b24dc37
@ -0,0 +1,56 @@
|
||||
package org.wso2.carbon.device.application.mgt.common.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@ApiModel(value = "LicenseDTO", description = "LicenseDTO represents License details.")
|
||||
public class LicenseDTO {
|
||||
@ApiModelProperty(name = "id",
|
||||
value = "The ID given to the license when it is stored in the APPM database")
|
||||
private int id;
|
||||
|
||||
@ApiModelProperty(name = "licenseId",
|
||||
value = "The identifier of the assigned license")
|
||||
private String licenseId;
|
||||
|
||||
@ApiModelProperty(name = "adamId",
|
||||
value = "The unique identifier for a product in the iTunes Store")
|
||||
private String adamId;
|
||||
|
||||
@ApiModelProperty(name = "status",
|
||||
value = "The current state of the license",
|
||||
example = "Available, Refunded")
|
||||
private String status;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLicenseId() {
|
||||
return licenseId;
|
||||
}
|
||||
|
||||
public void setLicenseId(String licenseId) {
|
||||
this.licenseId = licenseId;
|
||||
}
|
||||
|
||||
public String getAdamId() {
|
||||
return adamId;
|
||||
}
|
||||
|
||||
public void setAdamId(String adamId) {
|
||||
this.adamId = adamId;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package org.wso2.carbon.device.application.mgt.common.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@ApiModel(value = "VPPDeviceDTO", description = "VPPDeviceDTO represents VPP Device details.")
|
||||
public class VPPDeviceDTO {
|
||||
|
||||
@ApiModelProperty(name = "id",
|
||||
value = "The ID given to the device when it is stored in the APPM database")
|
||||
private int id;
|
||||
|
||||
@ApiModelProperty(name = "serialNumber",
|
||||
value = "serialNumber of the ios device",
|
||||
required = true)
|
||||
private String serialNumber;
|
||||
|
||||
@ApiModelProperty(name = "userId",
|
||||
value = "userId of the device owner",
|
||||
required = true)
|
||||
private String userId;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getSerialNumber() {
|
||||
return serialNumber;
|
||||
}
|
||||
|
||||
public void setSerialNumber(String serialNumber) {
|
||||
this.serialNumber = serialNumber;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue