[New] Added constructors to JsonServiceArgument
This commit is contained in:
parent
97d42353e2
commit
19f6b5436d
|
@ -26,4 +26,22 @@ public class JsonServiceArgument extends ServiceArgument {
|
||||||
* The input object
|
* The input object
|
||||||
*/
|
*/
|
||||||
public JsonElement jsonElement;
|
public JsonElement jsonElement;
|
||||||
|
|
||||||
|
public JsonServiceArgument() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public JsonServiceArgument(JsonElement jsonElement) {
|
||||||
|
this.jsonElement = jsonElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public JsonServiceArgument(String objectId, JsonElement jsonElement) {
|
||||||
|
this.objectId = objectId;
|
||||||
|
this.jsonElement = jsonElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public JsonServiceArgument(String objectType, String objectId, JsonElement jsonElement) {
|
||||||
|
this.objectType = objectType;
|
||||||
|
this.objectId = objectId;
|
||||||
|
this.jsonElement = jsonElement;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue