Class ListCachedContentsConfig
Config for caches.list method.
public record ListCachedContentsConfig : IEquatable<ListCachedContentsConfig>
- Inheritance
-
ListCachedContentsConfig
- Implements
- Inherited Members
Properties
HttpOptions
Used to override HTTP request options.
[JsonPropertyName("httpOptions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpOptions? HttpOptions { get; set; }
Property Value
PageSize
[JsonPropertyName("pageSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? PageSize { get; set; }
Property Value
- int?
PageToken
[JsonPropertyName("pageToken")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? PageToken { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a ListCachedContentsConfig object.
public static ListCachedContentsConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ListCachedContentsConfig
The deserialized ListCachedContentsConfig object, or null if deserialization fails.