Class QuotaRestriction


  • public class QuotaRestriction
    extends Object
    • Constructor Detail

      • QuotaRestriction

        public QuotaRestriction()
    • Method Detail

      • getApiId

        public String getApiId()
      • setApiId

        public void setApiId​(String apiId)
      • getApi

        public String getApi()
        This getter is used when the Quota-Restriction is send to the API-Manager REST-API, which expects a field api
        Returns:
        the ID of the API or a "*" if applied for all APIs.
      • getRestrictedAPI

        public API getRestrictedAPI()
      • setRestrictedAPI

        public void setRestrictedAPI​(API restrictedAPI)
      • getMethod

        public String getMethod()
      • setMethod

        public void setMethod​(String method)
      • isSameRestriction

        public boolean isSameRestriction​(QuotaRestriction otherRestriction,
                                         boolean ignoreAPI)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object