SessionFileWriteResult Class
- java.
lang. Object - com.
azure. ai. agents. models. SessionFileWriteResult
- com.
Implements
public final class SessionFileWriteResult
implements JsonSerializable<SessionFileWriteResult>
Response from uploading a file to a session sandbox.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Session |
fromJson(JsonReader jsonReader)
Reads an instance of Session |
| long |
getBytesWritten()
Get the bytes |
| String |
getPath()
Get the path property: The path where the file was written, relative to the session home directory. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SessionFileWriteResult fromJson(JsonReader jsonReader)
Reads an instance of SessionFileWriteResult from the JsonReader.
Parameters:
Returns:
Throws:
getBytesWritten
public long getBytesWritten()
Get the bytesWritten property: Number of bytes written.
Returns:
getPath
public String getPath()
Get the path property: The path where the file was written, relative to the session home directory.
Returns: