Class: Service::Content::Thrift::InsertableAlbum

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
ISCRAWLER =
4
ISFINISHED =
5
STATUS =
6
DIGSTATUS =
7
TITLE =
8
COVERPATH =
9
USERSOURCE =
10
CATEGORYID =
11
MUSICCATEGORY =
12
SHORTINTRO =
13
INTRO =
14
CUTRICHINTRO =
15
RICHINTRO =
16
TAGS =
17
ISRECORDSDESC =
18
LASTUPTRACKID =
19
LASTUPTRACKTITLE =
20
LASTUPTRACKCOVERPATH =
21
LASTUPTRACKAT =
22
RICHID =
23
ISDEFAULT =
24
TRACKCOVER =
25
TRACKCOVERHEIGHT =
26
UPLOADSOURCE =
27
ISPAID =
28
ISEXCLUSIVE =
29
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
  ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
  ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
  STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
  DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
  COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
  USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
  CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
  MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :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},
  TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :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},
  RICHID => {:type => ::Thrift::Types::I64, :name => 'richId', :optional => true},
  ISDEFAULT => {:type => ::Thrift::Types::BOOL, :name => 'isDefault', :optional => true},
  TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
  TRACKCOVERHEIGHT => {:type => ::Thrift::Types::I32, :name => 'trackCoverHeight', :optional => true},
  UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
  ISPAID => {:type => ::Thrift::Types::BOOL, :name => 'isPaid', :optional => true},
  ISEXCLUSIVE => {:type => ::Thrift::Types::BOOL, :name => 'isExclusive', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



658
659
# File 'lib/service_album_api/content_types.rb', line 658

def validate
end