Поделиться через


MessageImageUrlParam Class

Definition

Defines how an external image URL is referenced when creating an image-URL block.

public class MessageImageUrlParam : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.MessageImageUrlParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.MessageImageUrlParam>
type MessageImageUrlParam = class
    interface IJsonModel<MessageImageUrlParam>
    interface IPersistableModel<MessageImageUrlParam>
Public Class MessageImageUrlParam
Implements IJsonModel(Of MessageImageUrlParam), IPersistableModel(Of MessageImageUrlParam)
Inheritance
MessageImageUrlParam
Implements

Constructors

MessageImageUrlParam(String)

Initializes a new instance of MessageImageUrlParam.

Properties

Detail

Optional detail level for the image (auto, low, or high). Defaults to 'auto' if not specified.

Url

The publicly accessible URL of the external image.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageImageUrlParam>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MessageImageUrlParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageImageUrlParam>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageImageUrlParam>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MessageImageUrlParam>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to