
com.indeed.proctor.common.PayloadSpecification Maven / Gradle / Ivy
package com.indeed.proctor.common;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import javax.annotation.Nullable;
import java.util.Map;
/**
* Models the payload specification part of a test specification.
*
* @author pwp
*/
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class PayloadSpecification {
@Nullable
private String type;
@Nullable
private String validator;
@Nullable
private Map schema;
@Nullable
public String getType() {
return type;
}
public void setType(@Nullable final String type) {
this.type = type;
}
public Map getSchema() {
return schema;
}
@Nullable
public void setSchema(@Nullable final Map schema) {
this.schema = schema;
}
@Nullable
public String getValidator() {
return validator;
}
public void setValidator(@Nullable final String validator) {
this.validator = validator;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy