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

io.github.johnjcool.keycloak.broker.cas.model.Failure Maven / Gradle / Ivy

There is a newer version: 4.8.3.Final
Show newest version
package io.github.johnjcool.keycloak.broker.cas.model;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

@XmlAccessorType(XmlAccessType.FIELD)
public class Failure implements Serializable {

	private static final long serialVersionUID = 1L;

	@XmlAttribute
	private Code code;

	@XmlValue
	private String description;

	public Code getCode() {
		return code;
	}

	public void setCode(final Code code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(final String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return String.format("Failure [code=%s, description=%s]", code, description);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy