Class RateLimit
Rate-limiting policy for a usage plan.
Inherited Members
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class RateLimit
Properties
Unit
Declaration
[Required(ErrorMessage = "Unit is required.")]
[JsonProperty(PropertyName = "unit")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RateLimit.UnitEnum? Unit { get; set; }
Property Value
Type | Description |
---|---|
RateLimit.UnitEnum? | The unit of time over which rate limits are calculated. Example: SECOND |
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public int? Value { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of requests that can be made per time period. |
Remarks
Required