ImageGenToolCallItemResource Constructors
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.
Overloads
| Name | Description |
|---|---|
| ImageGenToolCallItemResource() |
Initializes a new instance of ImageGenToolCallItemResource for deserialization. |
| ImageGenToolCallItemResource(String, ImageGenToolCallItemResourceStatus, String) |
Initializes a new instance of ImageGenToolCallItemResource. |
| ImageGenToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, ImageGenToolCallItemResourceStatus, String) |
Initializes a new instance of ImageGenToolCallItemResource. |
ImageGenToolCallItemResource()
Initializes a new instance of ImageGenToolCallItemResource for deserialization.
public ImageGenToolCallItemResource();
Public Sub New ()
Applies to
ImageGenToolCallItemResource(String, ImageGenToolCallItemResourceStatus, String)
Initializes a new instance of ImageGenToolCallItemResource.
public ImageGenToolCallItemResource(string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResourceStatus status, string result);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResource : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResourceStatus * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResource
Public Sub New (id As String, status As ImageGenToolCallItemResourceStatus, result As String)
Parameters
- id
- String
- result
- String
The generated image encoded in base64.
Exceptions
id is null.
Applies to
ImageGenToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, ImageGenToolCallItemResourceStatus, String)
Initializes a new instance of ImageGenToolCallItemResource.
public ImageGenToolCallItemResource(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy createdBy, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResourceStatus status, string result);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResourceStatus * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ImageGenToolCallItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), status As ImageGenToolCallItemResourceStatus, result As String)
Parameters
- type
- ItemType
- id
- String
- createdBy
- CreatedBy
The information about the creator of the item.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- result
- String
The generated image encoded in base64.