package de.nccloud.common.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/nccloud/common/0.0.1/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * Reference to the primary source of an error. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class ErrorSource { @NotNull protected ErrorSourceType type; @NotNull protected String source; public ErrorSource(ErrorSourceType type, String source) { this.type = type; this.source = source; } public ErrorSource() { } public ErrorSourceType getType() { return type; } public void setType(ErrorSourceType type) { this.type = type; } /** * The source of the problem in the form specified by `type`. */ public String getSource() { return source; } public void setSource(String source) { this.source = source; } }