Class RateLimitPolicy
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record RateLimitPolicy : IJsonOnDeserialized, IEquatable<RateLimitPolicy>
- Inheritance
-
RateLimitPolicy
- Implements
- Inherited Members
- Extension Methods
Properties
AdditionalProperties
[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }
Property Value
Configuration
[JsonPropertyName("configuration")]
public required RateLimitPolicyConfiguration Configuration { get; set; }
Property Value
Consumer
[JsonPropertyName("consumer")]
public required RateLimitPolicyConsumerEnum Consumer { get; set; }
Property Value
ConsumerSelector
Identifier or category within the consumer to which the policy applies. Supported values: client_id: to target a specific client by ID, client_id: to target a CIMD client by URI, cimd_clients to target all CIMD clients, third_party_clients to target all third-party clients, or default to apply the policy to any consumer identifier not otherwise explicitly targeted.
[JsonPropertyName("consumer_selector")]
public required string ConsumerSelector { get; set; }
Property Value
CreatedAt
The date and time when the rate limit policy was created.
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; set; }
Property Value
Id
Unique identifier for the Rate Limit Policy.
[JsonPropertyName("id")]
public required string Id { get; set; }
Property Value
Resource
[JsonPropertyName("resource")]
public required RateLimitPolicyResourceEnum Resource { get; set; }
Property Value
UpdatedAt
The date and time when the rate limit policy was last updated.
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.