Java class for UsagePolicie complex type.
| name | data type | constraints | description |
|---|---|---|---|
| guarantee | MethodGuarantee | ||
| methodRestriction | MethodRestriction | ||
| methodAccess | boolean | ||
| methodName | string | required | |
| parameters | Params | ||
| resultRestrictions | ResultRestrictions |
Example
{
"usagePolicie" : {
"guarantee" : {
"reqLimitGuarantee" : 12345,
"timePeriodGuarantee" : 12345
},
"methodRestriction" : {
"quota" : {
"days" : 12345,
"unit" : "...",
"qtaLimit" : 12345,
"limitExceedOK" : true,
"resetQuota" : true
},
"rate" : {
"reqLimit" : 12345,
"timePeriod" : 12345
}
},
"methodAccess" : true,
"methodName" : "...",
"parameters" : {
"methodParameters" : [ {
"acceptValues" : true,
"parameterName" : "...",
"parameterValues" : [ "...", "..." ]
}, {
"acceptValues" : true,
"parameterName" : "...",
"parameterValues" : [ "...", "..." ]
} ]
},
"resultRestrictions" : {
"resultRestriction" : [ {
"filterMethod" : "WHITE_LIST",
"parameterMatch" : {
},
"parameterRemovalName" : "..."
}, {
"filterMethod" : "WHITE_LIST",
"parameterMatch" : {
},
"parameterRemovalName" : "..."
} ]
}
}
}