diff options
author | Cow <cow@volloeko.de> | 2023-07-22 22:32:17 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2023-07-22 22:32:17 +0200 |
commit | 58234e9074b58f2c523df51171fcfa77b44f2ae8 (patch) | |
tree | 36d12e312026703e5700b25ce2cd4396684be090 /src/main/java/de/cowtipper/cowlection/data/HyApiKey.java | |
parent | 0ce8dc4ff8fa01fa17963c2ca7577700956ecf43 (diff) | |
download | Cowlection-58234e9074b58f2c523df51171fcfa77b44f2ae8.tar.gz Cowlection-58234e9074b58f2c523df51171fcfa77b44f2ae8.tar.bz2 Cowlection-58234e9074b58f2c523df51171fcfa77b44f2ae8.zip |
Changed API key validation
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/data/HyApiKey.java')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/data/HyApiKey.java | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/data/HyApiKey.java b/src/main/java/de/cowtipper/cowlection/data/HyApiKey.java deleted file mode 100644 index 9552948..0000000 --- a/src/main/java/de/cowtipper/cowlection/data/HyApiKey.java +++ /dev/null @@ -1,45 +0,0 @@ -package de.cowtipper.cowlection.data; - -@SuppressWarnings("unused") -public class HyApiKey { - private boolean success; - private String cause; - - private Record record; - - /** - * No-args constructor for GSON - */ - private HyApiKey() { - } - - public boolean isSuccess() { - return success; - } - - public String getCause() { - return cause; - } - - public Record getRecord() { - return record; - } - - public class Record { - private int queriesInPastMin; - private int limit; - private long totalQueries; - - public int getQueriesInPastMin() { - return queriesInPastMin; - } - - public int getLimit() { - return limit; - } - - public long getTotalQueries() { - return totalQueries; - } - } -} |