[New] Added constructors to JsonServiceArgument

This commit is contained in:
Robert von Burg 2021-11-25 16:12:56 +01:00
parent 97d42353e2
commit 19f6b5436d
1 changed files with 18 additions and 0 deletions

View File

@ -26,4 +26,22 @@ public class JsonServiceArgument extends ServiceArgument {
* The input object
*/
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;
}
}