Class SendonResponse

    • Field Detail

      • code

        public int code
      • message

        public String message
    • Constructor Detail

      • SendonResponse

        public SendonResponse​(int code,
                              String message,
                              com.google.gson.JsonObject data)
    • Method Detail

      • getIntValue

        protected int getIntValue​(com.google.gson.JsonObject item,
                                  String key)
      • getFloatValue

        protected float getFloatValue​(com.google.gson.JsonObject item,
                                      String key)
      • getStringValue

        protected String getStringValue​(com.google.gson.JsonObject item,
                                        String key)
      • getEnumValue

        protected <T extends Enum<T>> T getEnumValue​(com.google.gson.JsonObject item,
                                                     String key,
                                                     Class<T> enumClass)
      • getBooleanValue

        protected boolean getBooleanValue​(com.google.gson.JsonObject item,
                                          String key,
                                          GetUserNumbers.YorN trueValue)
      • getBooleanValue

        protected boolean getBooleanValue​(com.google.gson.JsonObject item,
                                          String key)
      • getDateValue

        protected String getDateValue​(com.google.gson.JsonObject item,
                                      String key)