Class ListFilesConfig
Used to override the default configuration.
public record ListFilesConfig : IEquatable<ListFilesConfig>
- Inheritance
-
ListFilesConfig
- 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 ListFilesConfig object.
public static ListFilesConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ListFilesConfig
The deserialized ListFilesConfig object, or null if deserialization fails.