Sha256: db48d07e951f1db42763e47711536485b45d69a466897a86a15a6d36cb4e4650

Contents?: true

Size: 1010 Bytes

Versions: 32

Compression:

Stored size: 1010 Bytes

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   union LedgerEntryChange switch (LedgerEntryChangeType type)
#   {
#   case LEDGER_ENTRY_CREATED:
#       LedgerEntry created;
#   case LEDGER_ENTRY_UPDATED:
#       LedgerEntry updated;
#   case LEDGER_ENTRY_REMOVED:
#       LedgerKey removed;
#   case LEDGER_ENTRY_STATE:
#       LedgerEntry state;
#   };
#
# ===========================================================================
module Stellar
  class LedgerEntryChange < XDR::Union
    switch_on LedgerEntryChangeType, :type

    switch :ledger_entry_created, :created
    switch :ledger_entry_updated, :updated
    switch :ledger_entry_removed, :removed
    switch :ledger_entry_state,   :state

    attribute :created, LedgerEntry
    attribute :updated, LedgerEntry
    attribute :removed, LedgerKey
    attribute :state,   LedgerEntry
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.31.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.30.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.29.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.28.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.27.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.26.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.25.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.24.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.24.0.pre.1 generated/stellar/ledger_entry_change.rb
stellar-base-0.23.1 generated/stellar/ledger_entry_change.rb
stellar-base-0.23.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.23.0.rc2 generated/stellar/ledger_entry_change.rb
stellar-base-0.23.0.rc1 generated/stellar/ledger_entry_change.rb
stellar-base-0.23.0.pre1 generated/stellar/ledger_entry_change.rb
stellar-base-0.22.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.21.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.20.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.19.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.18.0 generated/stellar/ledger_entry_change.rb