UpdateKnowledgeSourceFileRequest Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. UpdateKnowledgeSourceFileRequest
- com.
public final class UpdateKnowledgeSourceFileRequest
Multipart request for updating a file in a File knowledge source.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateKnowledgeSourceFileRequest(FileUploadMetadata metadata, ContentFileDetails content) |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Content |
getContent()
Get the content property: The raw file content. |
|
File |
getMetadata()
Get the metadata property: The JSON metadata describing the file. |
Methods inherited from java.lang.Object
Constructor Details
UpdateKnowledgeSourceFileRequest
public UpdateKnowledgeSourceFileRequest(FileUploadMetadata metadata, ContentFileDetails content)
Creates an instance of UpdateKnowledgeSourceFileRequest class.
Parameters:
Method Details
getContent
public ContentFileDetails getContent()
Get the content property: The raw file content.
Returns:
getMetadata
public FileUploadMetadata getMetadata()
Get the metadata property: The JSON metadata describing the file.
Returns: