Class RegisterFilesResponse
Response for the _register file method.
public record RegisterFilesResponse : IEquatable<RegisterFilesResponse>
- Inheritance
-
RegisterFilesResponse
- Implements
- Inherited Members
Properties
Files
The registered files.
[JsonPropertyName("files")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<File>? Files { get; set; }
Property Value
SdkHttpResponse
Used to retain the full HTTP response.
[JsonPropertyName("sdkHttpResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpResponse? SdkHttpResponse { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a RegisterFilesResponse object.
public static RegisterFilesResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- RegisterFilesResponse
The deserialized RegisterFilesResponse object, or null if deserialization fails.