Class: Acs::Model::SimpleAlbum

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

Constant Summary collapse

ID =
1
UID =
2
CREATEDAT =
3
UPDATEDAT =
4
ISPUBLIC =
5
ISCRAWLER =
6
ISFINISHED =
7
STATUS =
8
DIGSTATUS =
9
TITLE =
10
COVERPATH =
11
SHORTINTRO =
12
LASTUPTRACKID =
13
LASTUPTRACKTITLE =
14
LASTUPTRACKCOVERPATH =
15
LASTUPTRACKAT =
16
ISDELETED =
17
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
  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},
  SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :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},
  ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



85
# File 'lib/album_model_types.rb', line 85

def struct_fields; FIELDS; end

#validateObject



87
88
# File 'lib/album_model_types.rb', line 87

def validate
end