KnowledgeSourceFileCapacity Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. KnowledgeSourceFileCapacity
- com.
Implements
public final class KnowledgeSourceFileCapacity
implements JsonSerializable<KnowledgeSourceFileCapacity>
File upload capacity for a File knowledge source.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromJson(JsonReader jsonReader)
Reads an instance of Knowledge |
| int |
getMaxFileCount()
Get the max |
| long |
getMaxFileSizeBytes()
Get the max |
| int |
getRemainingFileCount()
Get the remaining |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static KnowledgeSourceFileCapacity fromJson(JsonReader jsonReader)
Reads an instance of KnowledgeSourceFileCapacity from the JsonReader.
Parameters:
Returns:
Throws:
getMaxFileCount
public int getMaxFileCount()
Get the maxFileCount property: The maximum number of files allowed in the knowledge source.
Returns:
getMaxFileSizeBytes
public long getMaxFileSizeBytes()
Get the maxFileSizeBytes property: The maximum size in bytes of an individual uploaded file.
Returns:
getRemainingFileCount
public int getRemainingFileCount()
Get the remainingFileCount property: The number of additional files that can be uploaded at the time of the request.
Returns: