Class: Service::Content::Thrift::AlterableAlbum

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
SHORTINTRO =
5
INTRO =
6
CUTRICHINTRO =
7
RICHINTRO =
8
CATEGORYID =
9
MUSICCATEGORY =
10
ISFINISHED =
11
ISRECORDSDESC =
12
LASTUPTRACKID =
13
LASTUPTRACKTITLE =
14
LASTUPTRACKCOVERPATH =
15
LASTUPTRACKAT =
16
TRACKCOVER =
17
TRACKCOVERHEIGHT =
18
ISPUBLIC =
19
UPLOADSOURCE =
20
ISDEFAULT =
21
TAGS =
22
OPTTAGS =
23
FIRSTUPTRACKAT =
24
SUBTITLE =
25
FIRSTTRACKTITLE =
26
PLAYTRACKID =
27
RECOMMENDREASON =
28
STATUS =
29
DIGSTATUS =
30
BACKENDUPDATE =
31
LISTITEMSRELATIONSHIP =
32
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  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},
  SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
  INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
  CUTRICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'cutRichIntro', :optional => true},
  RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
  CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
  MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
  ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
  ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :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},
  TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
  TRACKCOVERHEIGHT => {:type => ::Thrift::Types::I32, :name => 'trackCoverHeight', :optional => true},
  ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
  UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
  ISDEFAULT => {:type => ::Thrift::Types::BOOL, :name => 'isDefault', :optional => true},
  TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
  OPTTAGS => {:type => ::Thrift::Types::STRING, :name => 'optTags', :optional => true},
  FIRSTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'firstUptrackAt', :optional => true},
  SUBTITLE => {:type => ::Thrift::Types::STRING, :name => 'subtitle', :optional => true},
  FIRSTTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'firstTrackTitle', :optional => true},
  PLAYTRACKID => {:type => ::Thrift::Types::I64, :name => 'playTrackId', :optional => true},
  RECOMMENDREASON => {:type => ::Thrift::Types::STRING, :name => 'recommendReason', :optional => true},
  STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
  DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
  BACKENDUPDATE => {:type => ::Thrift::Types::BOOL, :name => 'backendUpdate', :optional => true},
  LISTITEMSRELATIONSHIP => {:type => ::Thrift::Types::I32, :name => 'listItemsRelationship', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



736
737
# File 'lib/service_album_api/content_types.rb', line 736

def validate
end