Class: Sfeed::Event

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

Constant Summary collapse

FOLLOWUID =
1
FOLLOWNICKNAME =
2
FOLLOWAVATAR =
3
FOLLOWPERSONALSIGNATURE =
4
FOLLOWISV =
5
ALBUMID =
6
ALBUMTITLE =
7
ALBUMCOVER =
8
TRACKID =
9
TRACKTITLE =
10
PLAYPATH32 =
11
PLAYPATH64 =
12
TRACKCOVER =
13
TRACKCREATEDAT =
14
TRACKTYPE =
15
TRACKNICKNAME =
16
FIELDS =
{
  FOLLOWUID => {:type => ::Thrift::Types::I64, :name => 'followUid', :optional => true},
  FOLLOWNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'followNickname', :optional => true},
  FOLLOWAVATAR => {:type => ::Thrift::Types::STRING, :name => 'followAvatar', :optional => true},
  FOLLOWPERSONALSIGNATURE => {:type => ::Thrift::Types::STRING, :name => 'followPersonalSignature', :optional => true},
  FOLLOWISV => {:type => ::Thrift::Types::BOOL, :name => 'followIsV', :optional => true},
  ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId', :optional => true},
  ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
  ALBUMCOVER => {:type => ::Thrift::Types::STRING, :name => 'albumCover', :optional => true},
  TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId', :optional => true},
  TRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'trackTitle', :optional => true},
  PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
  PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
  TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
  TRACKCREATEDAT => {:type => ::Thrift::Types::I64, :name => 'trackCreatedAt', :optional => true},
  TRACKTYPE => {:type => ::Thrift::Types::I32, :name => 'trackType', :optional => true},
  TRACKNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'trackNickname', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



115
# File 'lib/sfeed_types.rb', line 115

def struct_fields; FIELDS; end

#validateObject



117
118
# File 'lib/sfeed_types.rb', line 117

def validate
end