Что-то начало работать 2
This commit is contained in:
parent
a687c57d7a
commit
4f19cf8b96
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/config.properties
|
22
src/main/java/ru/cft/task/restClient/ErrorResponse.java
Normal file
22
src/main/java/ru/cft/task/restClient/ErrorResponse.java
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package ru.cft.task.restClient;
|
||||||
|
|
||||||
|
public class ErrorResponse {
|
||||||
|
private int errorCode;
|
||||||
|
private String message;
|
||||||
|
|
||||||
|
public int getErrorCode() {
|
||||||
|
return errorCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setErrorCode(int errorCode) {
|
||||||
|
this.errorCode = errorCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMessage() {
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMessage(String message) {
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user