Class ImportFileResponse
Response for ImportFile to import a File API file with a file search store.
public record ImportFileResponse : IEquatable<ImportFileResponse>
- Inheritance
-
ImportFileResponse
- Implements
- Inherited Members
Properties
DocumentName
The identifier for the Document imported.
[JsonPropertyName("documentName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DocumentName { get; set; }
Property Value
Parent
The name of the FileSearchStore containing Documents.
[JsonPropertyName("parent")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Parent { 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 ImportFileResponse object.
public static ImportFileResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ImportFileResponse
The deserialized ImportFileResponse object, or null if deserialization fails.