All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.permit.sdk.openapi.models.ValidationError Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


/**
 * ValidationError
 * 

* * */ @Generated("jsonschema2pojo") public class ValidationError { /** * Location *

* * (Required) * */ @SerializedName("loc") @Expose public List loc; /** * Message *

* * (Required) * */ @SerializedName("msg") @Expose public String msg; /** * Error Type *

* * (Required) * */ @SerializedName("type") @Expose public String type; /** * No args constructor for use in serialization * */ public ValidationError() { } /** * * @param msg * @param loc * @param type */ public ValidationError(List loc, String msg, String type) { super(); this.loc = loc; this.msg = msg; this.type = type; } public ValidationError withLoc(List loc) { this.loc = loc; return this; } public ValidationError withMsg(String msg) { this.msg = msg; return this; } public ValidationError withType(String type) { this.type = type; return this; } }