# Automatically generated on 2015-05-12T09:08:23-07:00 # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union BucketEntry switch (BucketEntryType type) # { # case LIVEENTRY: # LedgerEntry liveEntry; # # case DEADENTRY: # LedgerKey deadEntry; # }; # # =========================================================================== module Stellar class BucketEntry < XDR::Union switch_on BucketEntryType, :type switch :liveentry, :live_entry switch :deadentry, :dead_entry attribute :live_entry, LedgerEntry attribute :dead_entry, LedgerKey end end