org.openmetadata.schema.tests.TestCaseParameter Maven / Gradle / Ivy
package org.openmetadata.schema.tests;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.processing.Generated;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.openmetadata.schema.type.TestCaseParameterDataType;
/**
* This schema defines the parameters that can be passed for a Test Case.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"name",
"displayName",
"dataType",
"description",
"required",
"optionValues",
"validationRule"
})
@Generated("jsonschema2pojo")
public class TestCaseParameter {
/**
* name of the parameter.
*
*/
@JsonProperty("name")
@JsonPropertyDescription("name of the parameter.")
private String name;
/**
* Display Name that identifies this parameter name.
*
*/
@JsonProperty("displayName")
@JsonPropertyDescription("Display Name that identifies this parameter name.")
private String displayName;
/**
* This enum defines the type of data stored in a column.
*
*/
@JsonProperty("dataType")
@JsonPropertyDescription("This enum defines the type of data stored in a column.")
private TestCaseParameterDataType dataType;
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("description")
@JsonPropertyDescription("Text in Markdown format.")
private String description;
/**
* Is this parameter required.
*
*/
@JsonProperty("required")
@JsonPropertyDescription("Is this parameter required.")
private Boolean required = false;
/**
* List of values that can be passed for this parameter.
*
*/
@JsonProperty("optionValues")
@JsonPropertyDescription("List of values that can be passed for this parameter.")
@Valid
private List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy