Class ResponsesFileSearchCallItemResult
java.lang.Object
com.azure.ai.openai.responses.models.ResponsesFileSearchCallItemResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResponsesFileSearchCallItemResult>
public final class ResponsesFileSearchCallItemResult
extends Object
implements com.azure.json.JsonSerializable<ResponsesFileSearchCallItemResult>
The ResponsesFileSearchCallItemResult model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResponsesFileSearchCallItemResult class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResponsesFileSearchCallItemResult from the JsonReader.Get the attributes property: The attributes property.Get the fileId property: The file_id property.Get the filename property: The filename property.getScore()Get the score property: The score property.getText()Get the text property: The text property.setAttributes(Map<String, com.azure.core.util.BinaryData> attributes) Set the attributes property: The attributes property.Set the fileId property: The file_id property.setFilename(String filename) Set the filename property: The filename property.Set the score property: The score property.Set the text property: The text property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ResponsesFileSearchCallItemResult
public ResponsesFileSearchCallItemResult()Creates an instance of ResponsesFileSearchCallItemResult class.
-
-
Method Details
-
getFileId
Get the fileId property: The file_id property.- Returns:
- the fileId value.
-
setFileId
Set the fileId property: The file_id property.- Parameters:
fileId- the fileId value to set.- Returns:
- the ResponsesFileSearchCallItemResult object itself.
-
getText
Get the text property: The text property.- Returns:
- the text value.
-
setText
Set the text property: The text property.- Parameters:
text- the text value to set.- Returns:
- the ResponsesFileSearchCallItemResult object itself.
-
getFilename
Get the filename property: The filename property.- Returns:
- the filename value.
-
setFilename
Set the filename property: The filename property.- Parameters:
filename- the filename value to set.- Returns:
- the ResponsesFileSearchCallItemResult object itself.
-
getAttributes
Get the attributes property: The attributes property.- Returns:
- the attributes value.
-
setAttributes
public ResponsesFileSearchCallItemResult setAttributes(Map<String, com.azure.core.util.BinaryData> attributes) Set the attributes property: The attributes property.- Parameters:
attributes- the attributes value to set.- Returns:
- the ResponsesFileSearchCallItemResult object itself.
-
getScore
Get the score property: The score property.- Returns:
- the score value.
-
setScore
Set the score property: The score property.- Parameters:
score- the score value to set.- Returns:
- the ResponsesFileSearchCallItemResult object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResponsesFileSearchCallItemResult>- Throws:
IOException
-
fromJson
public static ResponsesFileSearchCallItemResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResponsesFileSearchCallItemResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResponsesFileSearchCallItemResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ResponsesFileSearchCallItemResult.
-