forked from community/device-mgt-core
API to change application subscription status See merge request entgra/carbon-device-mgt!868feature/traccar-sync
commit
236d356a26
@ -0,0 +1,32 @@
|
||||
package io.entgra.application.mgt.common;
|
||||
|
||||
public class OperationStatusBean {
|
||||
|
||||
private int operationId;
|
||||
private String status;
|
||||
private String operationCode;
|
||||
|
||||
public int getOperationId() {
|
||||
return operationId;
|
||||
}
|
||||
|
||||
public void setOperationId(int operationId) {
|
||||
this.operationId = operationId;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getOperationCode() {
|
||||
return operationCode;
|
||||
}
|
||||
|
||||
public void setOperationCode(String operationCode) {
|
||||
this.operationCode = operationCode;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package io.entgra.application.mgt.store.api.beans;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* This is used to map the status of subscription.
|
||||
*/
|
||||
@ApiModel(
|
||||
value = "SubscriptionStatusBean",
|
||||
description = "This class carries all information related map statuses of the subscription."
|
||||
)
|
||||
public class SubscriptionStatusBean {
|
||||
@ApiModelProperty(
|
||||
name = "sub id",
|
||||
value = "Subscription Id.",
|
||||
required = true
|
||||
)
|
||||
private int subId;
|
||||
|
||||
@ApiModelProperty(
|
||||
name = "status",
|
||||
value = "Status of the subscription.",
|
||||
required = true
|
||||
)
|
||||
private String status;
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getSubId() {
|
||||
return subId;
|
||||
}
|
||||
|
||||
public void setSubId(int subId) {
|
||||
this.subId = subId;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue