Class: Feed::MergeEvent

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/feedmodel_types.rb

Constant Summary collapse

ID =
1
TIMELINE =
2
CREATEDAT =
3
TYPE =
4
UID =
5
EVENTS =
6
FIELDS =
{
  ID => {:type => ::Thrift::Types::STRING, :name => 'id'},
  TIMELINE => {:type => ::Thrift::Types::DOUBLE, :name => 'timeLine'},
  CREATEDAT => {:type => ::Thrift::Types::STRING, :name => 'createdAt'},
  TYPE => {:type => ::Thrift::Types::STRING, :name => 'type'},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  EVENTS => {:type => ::Thrift::Types::LIST, :name => 'events', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Feed::Event}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



174
# File 'lib/feedmodel_types.rb', line 174

def struct_fields; FIELDS; end

#validateObject



176
177
# File 'lib/feedmodel_types.rb', line 176

def validate
end