io.mstream.trader.commons.test.cucumber.data.ServerError Maven / Gradle / Ivy
The newest version!
package io.mstream.trader.commons.test.cucumber.data;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ServerError {
private final String name;
private final String description;
@JsonCreator
public ServerError(
@JsonProperty(value = "name",
required = true)
String name,
@JsonProperty(value = "name",
required = true)
String description
) {
this.name = name;
this.description = description;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
}