Sha256: 72bc97cb44ff94d42c8bad8544485839e5e8e285929a8ffa3f9455ffd159ff75

Contents?: true

Size: 877 Bytes

Versions: 18

Compression:

Stored size: 877 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union BucketEntry switch (BucketEntryType type)
#   {
#   case LIVEENTRY:
#   case INITENTRY:
#       LedgerEntry liveEntry;
#   
#   case DEADENTRY:
#       LedgerKey deadEntry;
#   case METAENTRY:
#       BucketMetadata metaEntry;
#   };
#
# ===========================================================================
module Stellar
  class BucketEntry < XDR::Union
    switch_on BucketEntryType, :type

    switch :liveentry, :live_entry
    switch :initentry, :live_entry
    switch :deadentry, :dead_entry
    switch :metaentry, :meta_entry

    attribute :live_entry, LedgerEntry
    attribute :dead_entry, LedgerKey
    attribute :meta_entry, BucketMetadata
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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