* A URI to a JSON-Schema file that defines additional attributes and relationships
*
* @return atSchemaLocation
*/
@Valid
@Schema(name="@schemaLocation",description="A URI to a JSON-Schema file that defines additional attributes and relationships",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
* A URI to a JSON-Schema file that defines additional attributes and relationships
*
* @return atSchemaLocation
*/
@Valid
@Schema(name="@schemaLocation",description="A URI to a JSON-Schema file that defines additional attributes and relationships",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
* The actual type of the target instance when needed for disambiguation.
*
* @return atReferredType
*/
@Schema(name="@referredType",description="The actual type of the target instance when needed for disambiguation.",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
* Application relevant detail, defined in the API or a common list.
*
* @return code
*/
@NotNull
@Schema(name="code",description="Application relevant detail, defined in the API or a common list.",requiredMode=Schema.RequiredMode.REQUIRED)
@JsonProperty("code")
publicStringgetCode(){
returncode;
}
publicvoidsetCode(Stringcode){
this.code=code;
}
publicErrorreason(Stringreason){
this.reason=reason;
returnthis;
}
/**
* Explanation of the reason for the error which can be shown to a client user.
*
* @return reason
*/
@NotNull
@Schema(name="reason",description="Explanation of the reason for the error which can be shown to a client user.",requiredMode=Schema.RequiredMode.REQUIRED)
@JsonProperty("reason")
publicStringgetReason(){
returnreason;
}
publicvoidsetReason(Stringreason){
this.reason=reason;
}
publicErrormessage(Stringmessage){
this.message=message;
returnthis;
}
/**
* More details and corrective actions related to the error which can be shown to a client user.
*
* @return message
*/
@Schema(name="message",description="More details and corrective actions related to the error which can be shown to a client user.",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
@Schema(name="referenceError",description="URI of documentation describing the error.",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("referenceError")
publicURIgetReferenceError(){
returnreferenceError;
}
publicvoidsetReferenceError(URIreferenceError){
this.referenceError=referenceError;
}
publicErroratBaseType(StringatBaseType){
this.atBaseType=atBaseType;
returnthis;
}
/**
* When sub-classing, this defines the super-class.
*
* @return atBaseType
*/
@Schema(name="@baseType",description="When sub-classing, this defines the super-class.",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("@baseType")
publicStringgetAtBaseType(){
returnatBaseType;
}
publicvoidsetAtBaseType(StringatBaseType){
this.atBaseType=atBaseType;
}
publicErroratSchemaLocation(URIatSchemaLocation){
this.atSchemaLocation=atSchemaLocation;
returnthis;
}
/**
* A URI to a JSON-Schema file that defines additional attributes and relationships
*
* @return atSchemaLocation
*/
@Valid
@Schema(name="@schemaLocation",description="A URI to a JSON-Schema file that defines additional attributes and relationships",requiredMode=Schema.RequiredMode.NOT_REQUIRED)