Class: Service::Content::Thrift::BasicAlbum

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
TITLE =
3
COVERPATH =
4
ISFINISHED =
5
SHORTINTRO =
6
CREATEDAT =
7
UPDATEDAT =
8
ISCRAWLER =
9
CATEGORYID =
10
ISPUBLIC =
11
STATUS =
12
ISDELETED =
13
LASTUPTRACKID =
14
LASTUPTRACKTITLE =
15
LASTUPTRACKCOVERPATH =
16
LASTUPTRACKAT =
17
DIGSTATUS =
18
TAGS =
19
MUSICCATEGORY =
20
INTRO =
21
RICHINTRO =
22
USERSOURCE =
23
ISRECORDSDESC =
24
ISDEFAULT =
25
TRACKCOVERHEIGHT =
26
TRACKCOVER =
27
RECOMMENDREASON =
28
UPLOADSOURCE =
29
FIRSTUPTRACKAT =
30
SUBTITLE =
31
ISPAID =
32
ISEXCLUSIVE =
33
FIRSTTRACKTITLE =
34
PLAYTRACKID =
35
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
  COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
  ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
  SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
  ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
  CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
  ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
  STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
  ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
  LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
  LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
  LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
  LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
  DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
  TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
  MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
  INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
  RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
  USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
  ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
  ISDEFAULT => {:type => ::Thrift::Types::BOOL, :name => 'isDefault', :optional => true},
  TRACKCOVERHEIGHT => {:type => ::Thrift::Types::I32, :name => 'trackCoverHeight', :optional => true},
  TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
  RECOMMENDREASON => {:type => ::Thrift::Types::STRING, :name => 'recommendReason', :optional => true},
  UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
  FIRSTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'firstUptrackAt', :optional => true},
  SUBTITLE => {:type => ::Thrift::Types::STRING, :name => 'subtitle', :optional => true},
  ISPAID => {:type => ::Thrift::Types::BOOL, :name => 'isPaid', :optional => true},
  ISEXCLUSIVE => {:type => ::Thrift::Types::BOOL, :name => 'isExclusive', :optional => true},
  FIRSTTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'firstTrackTitle', :optional => true},
  PLAYTRACKID => {:type => ::Thrift::Types::I64, :name => 'playTrackId', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



518
519
# File 'lib/service_album_api/content_types.rb', line 518

def validate
end