Share via


ApprovalActionContent Class

Definition

Request body for calling post-action.

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

Constructors

ApprovalActionContent(PostActionApprovalStatus)

Initializes a new instance of ApprovalActionContent.

Properties

ApprovalStatus

Approval status indicating 'Approved' or 'Rejected'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ApprovalActionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApprovalActionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApprovalActionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApprovalActionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApprovalActionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to