Class: AlterableAlbum

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/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
RECORDSORDER =
13
LASTUPTRACKID =
14
LASTUPTRACKTITLE =
15
LASTUPTRACKCOVERPATH =
16
LASTUPTRACKAT =
17
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},
  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},
  RECORDSORDER => {:type => ::Thrift::Types::STRING, :name => 'recordsOrder', :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}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



623
# File 'lib/content_types.rb', line 623

def struct_fields; FIELDS; end

#validateObject



625
626
# File 'lib/content_types.rb', line 625

def validate
end