Class: BasicTrackRecord

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

Constant Summary collapse

ID =
1
TRACKID =
2
UID =
3
TRACKUID =
4
OPTYPE =
5
ISPUBLIC =
6
CREATEDAT =
7
COVERPATH =
8
ISDELETED =
9
STATUS =
10
CATEGORYID =
11
DURATION =
12
TITLE =
13
USERSOURCE =
14
ALBUMID =
15
ALBUMTITLE =
16
DOWNLOADSIZE =
17
PLAYPATH =
18
PLAYPATH32 =
19
PLAYPATH64 =
20
PLAYPATH128 =
21
MP3SIZE32 =
22
MP3SIZE64 =
23
WAVEFORM =
24
UPLOADID =
25
TRANSCODESTATE =
26
ORIGINSIZE =
28
COMMENTID =
29
COMMENTCONTENT =
30
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
  TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId', :optional => true},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
  TRACKUID => {:type => ::Thrift::Types::I64, :name => 'trackUid', :optional => true},
  OPTYPE => {:type => ::Thrift::Types::I32, :name => 'opType', :optional => true},
  ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
  COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
  ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
  STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
  CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
  DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration', :optional => true},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
  USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
  ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId', :optional => true},
  ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
  DOWNLOADSIZE => {:type => ::Thrift::Types::I32, :name => 'downloadSize', :optional => true},
  PLAYPATH => {:type => ::Thrift::Types::STRING, :name => 'playPath', :optional => true},
  PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
  PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
  PLAYPATH128 => {:type => ::Thrift::Types::STRING, :name => 'playPath128', :optional => true},
  MP3SIZE32 => {:type => ::Thrift::Types::I32, :name => 'mp3size32', :optional => true},
  MP3SIZE64 => {:type => ::Thrift::Types::I32, :name => 'mp3size64', :optional => true},
  WAVEFORM => {:type => ::Thrift::Types::STRING, :name => 'waveform', :optional => true},
  UPLOADID => {:type => ::Thrift::Types::STRING, :name => 'uploadId', :optional => true},
  TRANSCODESTATE => {:type => ::Thrift::Types::I32, :name => 'transcodeState', :optional => true},
  ORIGINSIZE => {:type => ::Thrift::Types::I32, :name => 'originSize', :optional => true},
  COMMENTID => {:type => ::Thrift::Types::I64, :name => 'commentId', :optional => true},
  COMMENTCONTENT => {:type => ::Thrift::Types::STRING, :name => 'commentContent', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



73
# File 'lib/uts_model_types.rb', line 73

def struct_fields; FIELDS; end

#validateObject



75
76
# File 'lib/uts_model_types.rb', line 75

def validate
end