Class: Service::Content::Thrift::Track

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

Constant Summary collapse

ID =
1
UID =
2
ISPUBLIC =
3
USERSOURCE =
4
CATEGORYID =
5
TAGS =
6
TITLE =
7
INTRO =
8
COVERPATH =
9
DURATION =
10
DOWNLOADPATH =
11
PLAYPATH =
12
PLAYPATH128 =
13
PLAYPATH64 =
14
PLAYPATH32 =
15
SINGER =
16
SINGERCATEGORY =
17
AUTHOR =
18
COMPOSER =
19
ARRANGEMENT =
20
POSTPRODUCTION =
21
LYRICPATH =
22
LANGUAGE =
23
RESINGER =
24
ANNOUNCER =
25
ISCRAWLER =
26
ALBUMID =
27
TRANSCODESTATE =
28
CREATEDAT =
29
UPDATEDAT =
30
MUSICCATEGORY =
31
IGNORETAGS =
32
EXTRATAGS =
33
SHORTINTRO =
34
ISDELETED =
35
APPROVEDAT =
36
ORIGINSIZE =
37
MP3SIZE32 =
38
MP3SIZE64 =
39
WAVEFORM =
40
UPLOADID =
41
STATUS =
42
EXPLOREHEIGHT =
43
DOWNLOADSIZE =
44
MP3SIZE128 =
45
ACTIVITYID =
46
UPLOADSOURCE =
47
ALBUMTITLE =
48
ALBUMCOVERPATH =
49
DIGSTATUS =
50
PLAYPATHAACV164 =
51
PLAYPATHAACV224 =
52
AACV164SIZE =
53
AACV224SIZE =
54
RICHINTRO =
55
ISHOLDCOPYRIGHT =
56
PAIDAUDIOPATH =
57
PAIDAUDIOMETAPATH =
58
PAIDAUDIOANDMETAPATH =
59
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
  ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
  USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
  CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
  TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
  INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
  COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
  DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration', :optional => true},
  DOWNLOADPATH => {:type => ::Thrift::Types::STRING, :name => 'downloadPath', :optional => true},
  PLAYPATH => {:type => ::Thrift::Types::STRING, :name => 'playPath', :optional => true},
  PLAYPATH128 => {:type => ::Thrift::Types::STRING, :name => 'playPath128', :optional => true},
  PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
  PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
  SINGER => {:type => ::Thrift::Types::STRING, :name => 'singer', :optional => true},
  SINGERCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'singerCategory', :optional => true},
  AUTHOR => {:type => ::Thrift::Types::STRING, :name => 'author', :optional => true},
  COMPOSER => {:type => ::Thrift::Types::STRING, :name => 'composer', :optional => true},
  ARRANGEMENT => {:type => ::Thrift::Types::STRING, :name => 'arrangement', :optional => true},
  POSTPRODUCTION => {:type => ::Thrift::Types::STRING, :name => 'postProduction', :optional => true},
  LYRICPATH => {:type => ::Thrift::Types::STRING, :name => 'lyricPath', :optional => true},
  LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language', :optional => true},
  RESINGER => {:type => ::Thrift::Types::STRING, :name => 'resinger', :optional => true},
  ANNOUNCER => {:type => ::Thrift::Types::STRING, :name => 'announcer', :optional => true},
  ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
  ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId', :optional => true},
  TRANSCODESTATE => {:type => ::Thrift::Types::I32, :name => 'transcodeState', :optional => true},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
  MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
  IGNORETAGS => {:type => ::Thrift::Types::STRING, :name => 'ignoreTags', :optional => true},
  EXTRATAGS => {:type => ::Thrift::Types::STRING, :name => 'extraTags', :optional => true},
  SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
  ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
  APPROVEDAT => {:type => ::Thrift::Types::I64, :name => 'approvedAt', :optional => true},
  ORIGINSIZE => {:type => ::Thrift::Types::I32, :name => 'originSize', :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},
  STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
  EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight', :optional => true},
  DOWNLOADSIZE => {:type => ::Thrift::Types::I32, :name => 'downloadSize', :optional => true},
  MP3SIZE128 => {:type => ::Thrift::Types::I32, :name => 'mp3size128', :optional => true},
  ACTIVITYID => {:type => ::Thrift::Types::I32, :name => 'activityId', :optional => true},
  UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
  ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
  ALBUMCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPath', :optional => true},
  DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
  PLAYPATHAACV164 => {:type => ::Thrift::Types::STRING, :name => 'playPathAacv164', :optional => true},
  PLAYPATHAACV224 => {:type => ::Thrift::Types::STRING, :name => 'playPathAacv224', :optional => true},
  AACV164SIZE => {:type => ::Thrift::Types::I32, :name => 'aacv164Size', :optional => true},
  AACV224SIZE => {:type => ::Thrift::Types::I32, :name => 'aacv224Size', :optional => true},
  RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
  ISHOLDCOPYRIGHT => {:type => ::Thrift::Types::BOOL, :name => 'isHoldCopyright', :optional => true},
  PAIDAUDIOPATH => {:type => ::Thrift::Types::STRING, :name => 'paidAudioPath', :optional => true},
  PAIDAUDIOMETAPATH => {:type => ::Thrift::Types::STRING, :name => 'paidAudioMetaPath', :optional => true},
  PAIDAUDIOANDMETAPATH => {:type => ::Thrift::Types::STRING, :name => 'paidAudioAndMetaPath', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



136
# File 'lib/service_album_api/content_types.rb', line 136

def struct_fields; FIELDS; end

#validateObject



138
139
# File 'lib/service_album_api/content_types.rb', line 138

def validate
end