99 lines
2.5 KiB
Java
99 lines
2.5 KiB
Java
package com.inteligr8.alfresco.acs.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class ActionBodyExec {
|
|
|
|
@ApiModelProperty(required = true, value = "")
|
|
private String actionDefinitionId = null;
|
|
|
|
@ApiModelProperty(value = "The entity upon which to execute the action, typically a node ID or similar.")
|
|
/**
|
|
* The entity upon which to execute the action, typically a node ID or similar.
|
|
**/
|
|
private String targetId = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private Object params = null;
|
|
/**
|
|
* Get actionDefinitionId
|
|
* @return actionDefinitionId
|
|
**/
|
|
@JsonProperty("actionDefinitionId")
|
|
public String getActionDefinitionId() {
|
|
return actionDefinitionId;
|
|
}
|
|
|
|
public void setActionDefinitionId(String actionDefinitionId) {
|
|
this.actionDefinitionId = actionDefinitionId;
|
|
}
|
|
|
|
public ActionBodyExec actionDefinitionId(String actionDefinitionId) {
|
|
this.actionDefinitionId = actionDefinitionId;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* The entity upon which to execute the action, typically a node ID or similar.
|
|
* @return targetId
|
|
**/
|
|
@JsonProperty("targetId")
|
|
public String getTargetId() {
|
|
return targetId;
|
|
}
|
|
|
|
public void setTargetId(String targetId) {
|
|
this.targetId = targetId;
|
|
}
|
|
|
|
public ActionBodyExec targetId(String targetId) {
|
|
this.targetId = targetId;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get params
|
|
* @return params
|
|
**/
|
|
@JsonProperty("params")
|
|
public Object getParams() {
|
|
return params;
|
|
}
|
|
|
|
public void setParams(Object params) {
|
|
this.params = params;
|
|
}
|
|
|
|
public ActionBodyExec params(Object params) {
|
|
this.params = params;
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class ActionBodyExec {\n");
|
|
|
|
sb.append(" actionDefinitionId: ").append(toIndentedString(actionDefinitionId)).append("\n");
|
|
sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n");
|
|
sb.append(" params: ").append(toIndentedString(params)).append("\n");
|
|
sb.append("}");
|
|
return sb.toString();
|
|
}
|
|
|
|
/**
|
|
* Convert the given object to string with each line indented by 4 spaces
|
|
* (except the first line).
|
|
*/
|
|
private static String toIndentedString(java.lang.Object o) {
|
|
if (o == null) {
|
|
return "null";
|
|
}
|
|
return o.toString().replace("\n", "\n ");
|
|
}
|
|
}
|
|
|