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

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy