다음을 통해 공유


ApprovalCallbackContent Class

Definition

Request body for calling post-action.

public class ApprovalCallbackContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalCallbackContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalCallbackContent>
type ApprovalCallbackContent = class
    interface IJsonModel<ApprovalCallbackContent>
    interface IPersistableModel<ApprovalCallbackContent>
Public Class ApprovalCallbackContent
Implements IJsonModel(Of ApprovalCallbackContent), IPersistableModel(Of ApprovalCallbackContent)
Inheritance
ApprovalCallbackContent
Implements

Constructors

ApprovalCallbackContent(PostActionResourceRequestAction, PostActionCallbackApprovalStatus)

Initializes a new instance of ApprovalCallbackContent.

Properties

ApprovalCallbackPayload

Payload requested by client upon approval action.

ApprovalStatus

Approval status indicating 'Approved' or 'Rejected'.

ResourceRequestAction

Resource request action indicating action which needed to be performed upon calling approval-callback post action.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ApprovalCallbackContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApprovalCallbackContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApprovalCallbackContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApprovalCallbackContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApprovalCallbackContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to