This commit is contained in:
@@ -48,6 +48,7 @@ public enum MessageCode {
|
||||
PAYMENT_NOT_FOUND(4, "Payment not found"),
|
||||
COMPANY_ALREADY_EXISTS(2, "Company already exists"),
|
||||
USER_LIMIT_IS_OVER(2, "Over user limits"),
|
||||
MONITORING_TYPE_NOT_FOUND(4, "Monitoring type not found"),
|
||||
ERROR_TARIFF_INFO(2, "Erorr with tariff info"),
|
||||
FILE_FOR_SEARCH_NOT_VALID(2, "File for search unsupported"),
|
||||
NOT_VALID_FILE_TYPE_OR_COUNT_FILE(2, "Cost for file type not found, count is negative or files count" +
|
||||
|
||||
@@ -37,4 +37,7 @@ public class MonitoringStatusResponse {
|
||||
|
||||
@JsonProperty("new_violations_count")
|
||||
private long newViolationsCount;
|
||||
|
||||
@JsonProperty("need_add_tokens")
|
||||
private boolean needAddTokens;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ public class SetMonitoringRequest {
|
||||
private String fileId;
|
||||
|
||||
@JsonProperty("monitoring_type")
|
||||
private MonitoringType monitoringType;
|
||||
private String monitoringType;
|
||||
|
||||
@JsonProperty("auth_token")
|
||||
private String authToken;
|
||||
|
||||
Reference in New Issue
Block a user