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

io.swagger.models.apideclaration.ResponseMessage Maven / Gradle / Ivy

There is a newer version: 1.0.71
Show newest version
package io.swagger.models.apideclaration;

import io.swagger.models.SwaggerBaseModel;

public class ResponseMessage extends SwaggerBaseModel {
    private Integer code = null;
    private String message = null;
    private String responseModel = null;

    public Integer getCode() {
        return code;
    }

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

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResponseModel() {
        return responseModel;
    }

    public void setResponseModel(String responseModel) {
        this.responseModel = responseModel;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class ResponseMessage {\n");
        sb.append("  code: ").append(code).append("\n");
        sb.append("  message: ").append(message).append("\n");
        sb.append("  responseModel: ").append(responseModel).append("\n");
        sb.append("  extraFields: ").append(getExtraFields()).append("\n");
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy