
io.serverlessworkflow.api.functions.FunctionRef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serverlessworkflow-api Show documentation
Show all versions of serverlessworkflow-api Show documentation
Java SDK for Serverless Workflow Specification
package io.serverlessworkflow.api.functions;
import java.io.Serializable;
import java.util.Map;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"refName",
"parameters"
})
public class FunctionRef implements Serializable
{
/**
* Name of the referenced function
* (Required)
*
*/
@JsonProperty("refName")
@JsonPropertyDescription("Name of the referenced function")
@Size(min = 1)
@NotNull
private java.lang.String refName;
/**
* Function parameters
*
*/
@JsonProperty("parameters")
@JsonPropertyDescription("Function parameters")
@Valid
private Map parameters;
private final static long serialVersionUID = -4191733380935884036L;
/**
* No args constructor for use in serialization
*
*/
public FunctionRef() {
}
/**
*
* @param refName
*/
public FunctionRef(java.lang.String refName) {
super();
this.refName = refName;
}
/**
* Name of the referenced function
* (Required)
*
*/
@JsonProperty("refName")
public java.lang.String getRefName() {
return refName;
}
/**
* Name of the referenced function
* (Required)
*
*/
@JsonProperty("refName")
public void setRefName(java.lang.String refName) {
this.refName = refName;
}
public FunctionRef withRefName(java.lang.String refName) {
this.refName = refName;
return this;
}
/**
* Function parameters
*
*/
@JsonProperty("parameters")
public Map getParameters() {
return parameters;
}
/**
* Function parameters
*
*/
@JsonProperty("parameters")
public void setParameters(Map parameters) {
this.parameters = parameters;
}
public FunctionRef withParameters(Map parameters) {
this.parameters = parameters;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy