mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Move payload property to operation object
This commit is contained in:
parent
1c80fcd124
commit
eb500658f2
@ -41,6 +41,7 @@ public class Operation {
|
||||
private String receivedTimeStamp;
|
||||
private String createdTimeStamp;
|
||||
private boolean isEnabled;
|
||||
private Object payLoad;
|
||||
|
||||
@XmlElement
|
||||
public String getCode() {
|
||||
@ -109,4 +110,13 @@ public class Operation {
|
||||
this.isEnabled = isEnabled;
|
||||
}
|
||||
|
||||
public Object getPayLoad() {
|
||||
return payLoad;
|
||||
}
|
||||
|
||||
public void setPayLoad(Object payLoad) {
|
||||
this.payLoad = payLoad;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -22,16 +22,6 @@ import java.io.Serializable;
|
||||
|
||||
public class ProfileOperation extends ConfigOperation implements Serializable {
|
||||
|
||||
private Object payload;
|
||||
|
||||
public Object getPayload() {
|
||||
return payload;
|
||||
}
|
||||
|
||||
public void setPayload(Object payload) {
|
||||
this.payload = payload;
|
||||
}
|
||||
|
||||
public Type getType() {
|
||||
return Type.PROFILE;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user