OAuthConsentRequestItemResource 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 |
|---|---|
| OAuthConsentRequestItemResource() |
Initializes a new instance of OAuthConsentRequestItemResource for deserialization. |
| OAuthConsentRequestItemResource(String, String, String) |
Initializes a new instance of OAuthConsentRequestItemResource. |
| OAuthConsentRequestItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, String, String) |
Initializes a new instance of OAuthConsentRequestItemResource. |
OAuthConsentRequestItemResource()
Initializes a new instance of OAuthConsentRequestItemResource for deserialization.
public OAuthConsentRequestItemResource();
Public Sub New ()
Applies to
OAuthConsentRequestItemResource(String, String, String)
Initializes a new instance of OAuthConsentRequestItemResource.
public OAuthConsentRequestItemResource(string id, string consentLink, string serverLabel);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.OAuthConsentRequestItemResource : string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.OAuthConsentRequestItemResource
Public Sub New (id As String, consentLink As String, serverLabel As String)
Parameters
- id
- String
- consentLink
- String
The link the user can use to perform OAuth consent.
- serverLabel
- String
The server label for the OAuth consent request.
Exceptions
id, consentLink or serverLabel is null.
Applies to
OAuthConsentRequestItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, String, String)
Initializes a new instance of OAuthConsentRequestItemResource.
public OAuthConsentRequestItemResource(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, string consentLink, string serverLabel);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.OAuthConsentRequestItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.OAuthConsentRequestItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), consentLink As String, serverLabel 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.
- consentLink
- String
The link the user can use to perform OAuth consent.
- serverLabel
- String
The server label for the OAuth consent request.