OAuthConsentRequestItemResource 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.
Request from the service for the user to perform OAuth consent.
public class OAuthConsentRequestItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.OAuthConsentRequestItemResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.OAuthConsentRequestItemResource>
type OAuthConsentRequestItemResource = class
inherit ItemResource
interface IUtf8JsonSerializable
interface IJsonModel<OAuthConsentRequestItemResource>
interface IPersistableModel<OAuthConsentRequestItemResource>
Public Class OAuthConsentRequestItemResource
Inherits ItemResource
Implements IJsonModel(Of OAuthConsentRequestItemResource), IPersistableModel(Of OAuthConsentRequestItemResource)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| OAuthConsentRequestItemResource() |
Initializes a new instance of OAuthConsentRequestItemResource for deserialization. |
| OAuthConsentRequestItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, String, String) |
Initializes a new instance of OAuthConsentRequestItemResource. |
| OAuthConsentRequestItemResource(String, String, String) |
Initializes a new instance of OAuthConsentRequestItemResource. |
Properties
| Name | Description |
|---|---|
| ConsentLink |
The link the user can use to perform OAuth consent. |
| CreatedBy |
The information about the creator of the item. (Inherited from ItemResource) |
| Id |
Gets the id. (Inherited from ItemResource) |
| ServerLabel |
The server label for the OAuth consent request. |
| Type |
Gets or sets the type. (Inherited from ItemResource) |
Methods
| Name | Description |
|---|---|
| DeserializeOAuthConsentRequestItemResource(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |