io.swagger.models.apideclaration.ResponseMessage Maven / Gradle / Ivy
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();
}
}