Language

LedgerEntry Class

Definition

An entry in the ledger.

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

Constructors

Name Description
LedgerEntry(String)

Initializes a new instance of LedgerEntry.

Properties

Name Description
CollectionId

The collection identifier for this ledger entry.

Contents

Contents of the ledger entry.

PostHooks

List of user defined function hooks to be executed after the ledger entry is written.

PreHooks

List of user defined function hooks to be executed before the ledger entry is written.

TransactionId

A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(Response to LedgerEntry)
Implicit(LedgerEntry to RequestContent)

Explicit Interface Implementations

Name Description
IJsonModel<LedgerEntry>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<LedgerEntry>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<LedgerEntry>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<LedgerEntry>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<LedgerEntry>.Write(ModelReaderWriterOptions)

Applies to