ItemResource 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 |
|---|---|
| ItemResource() |
Initializes a new instance of ItemResource for deserialization. |
| ItemResource(String) |
Initializes a new instance of ItemResource. |
| ItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>) |
Initializes a new instance of ItemResource. |
ItemResource()
- Source:
- ItemResource.cs
Initializes a new instance of ItemResource for deserialization.
public ItemResource();
Public Sub New ()
Applies to
ItemResource(String)
- Source:
- ItemResource.cs
Initializes a new instance of ItemResource.
protected ItemResource(string id);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource : string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource
Protected Sub New (id As String)
Parameters
- id
- String
Exceptions
id is null.
Applies to
ItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>)
- Source:
- ItemResource.cs
Initializes a new instance of ItemResource.
public ItemResource(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);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource : 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.ItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData))
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.