# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # require 'fb303_types' module ResultCode OK = 0 TRY_LATER = 1 VALUE_MAP = {0 => "OK", 1 => "TRY_LATER"} VALID_VALUES = Set.new([OK, TRY_LATER]).freeze end class LogEntry include ::Thrift::Struct, ::Thrift::Struct_Union CATEGORY = 1 MESSAGE = 2 FIELDS = { CATEGORY => {:type => ::Thrift::Types::STRING, :name => 'category'}, MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'} } def struct_fields; FIELDS; end def validate end ::Thrift::Struct.generate_accessors self end