Class CreateFileConfig
Used to override the default configuration.
public record CreateFileConfig : IEquatable<CreateFileConfig>
- Inheritance
-
CreateFileConfig
- Implements
- Inherited Members
Properties
HttpOptions
Used to override HTTP request options.
[JsonPropertyName("httpOptions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpOptions? HttpOptions { get; set; }
Property Value
ShouldReturnHttpResponse
If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
[JsonPropertyName("shouldReturnHttpResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? ShouldReturnHttpResponse { get; set; }
Property Value
- bool?
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a CreateFileConfig object.
public static CreateFileConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- CreateFileConfig
The deserialized CreateFileConfig object, or null if deserialization fails.