Class OneApiError


  • public class OneApiError
    extends Object
    • Constructor Detail

      • OneApiError

        public OneApiError​(String code,
                           String message,
                           String description,
                           String type,
                           org.json.JSONObject context,
                           boolean permanent)
    • Method Detail

      • fromJsonObject

        public static OneApiError fromJsonObject​(org.json.JSONObject jsonObject)
      • getCode

        public String getCode()
      • getMessage

        public String getMessage()
      • getDescription

        public String getDescription()
      • getType

        public String getType()
      • getContext

        public org.json.JSONObject getContext()
      • isPermanent

        public boolean isPermanent()