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

io.permit.sdk.openapi.models.ValidationError__1 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__1 { /** * 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__1() { } /** * * @param msg * @param loc * @param type */ public ValidationError__1(List loc, String msg, String type) { super(); this.loc = loc; this.msg = msg; this.type = type; } public ValidationError__1 withLoc(List loc) { this.loc = loc; return this; } public ValidationError__1 withMsg(String msg) { this.msg = msg; return this; } public ValidationError__1 withType(String type) { this.type = type; return this; } }