Package com.axway.apim.api.model
Class QuotaRestriction
- java.lang.Object
-
- com.axway.apim.api.model.QuotaRestriction
-
public class QuotaRestriction extends Object
-
-
Constructor Summary
Constructors Constructor Description QuotaRestriction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetApi()This getter is used when the Quota-Restriction is send to the API-Manager REST-API, which expects a field apiStringgetApiId()Map<String,String>getConfig()StringgetMethod()APIgetRestrictedAPI()QuotaRestrictionTypegetType()inthashCode()booleanisSameRestriction(QuotaRestriction otherRestriction, boolean ignoreAPI)voidsetApiId(String apiId)voidsetConfig(Map<String,String> config)voidsetMethod(String method)voidsetRestrictedAPI(API restrictedAPI)voidsetType(QuotaRestrictionType type)StringtoString()
-
-
-
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)
-
getType
public QuotaRestrictionType getType()
-
setType
public void setType(QuotaRestrictionType type)
-
isSameRestriction
public boolean isSameRestriction(QuotaRestriction otherRestriction, boolean ignoreAPI)
-
-