net.optionfactory.whatsapp.dto.messages.Parameter Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.messages;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import net.optionfactory.whatsapp.dto.messages.type.ParameterType;
/**
* The type Parameter.
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Parameter {
@JsonProperty("type")
private final ParameterType type;
/**
* Instantiates a new Parameter.
*
* @param type the type
*/
protected Parameter(ParameterType type) {
this.type = type;
}
/**
* Gets type.
*
* @return the type
*/
public ParameterType getType() {
return type;
}
}