aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/data/HyApiKey.java
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2023-07-22 22:32:17 +0200
committerCow <cow@volloeko.de>2023-07-22 22:32:17 +0200
commit58234e9074b58f2c523df51171fcfa77b44f2ae8 (patch)
tree36d12e312026703e5700b25ce2cd4396684be090 /src/main/java/de/cowtipper/cowlection/data/HyApiKey.java
parent0ce8dc4ff8fa01fa17963c2ca7577700956ecf43 (diff)
downloadCowlection-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.java45
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;
- }
- }
-}