MessageImageFileParam Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines how an internally uploaded image file is referenced when creating an image-file block.
public class MessageImageFileParam : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.MessageImageFileParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.MessageImageFileParam>
type MessageImageFileParam = class
interface IJsonModel<MessageImageFileParam>
interface IPersistableModel<MessageImageFileParam>
Public Class MessageImageFileParam
Implements IJsonModel(Of MessageImageFileParam), IPersistableModel(Of MessageImageFileParam)
- Inheritance
-
MessageImageFileParam
- Implements
Constructors
MessageImageFileParam(String) |
Initializes a new instance of MessageImageFileParam. |
Properties
Detail |
Optional detail level for the image (auto, low, or high). |
FileId |
The ID of the previously uploaded image file. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<MessageImageFileParam>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MessageImageFileParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MessageImageFileParam>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MessageImageFileParam>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MessageImageFileParam>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |