Class: Acs::Model::BriefAlbum

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
TITLE =
3
COVERPATH =
4
ISFINISHED =
5
SHORTINTRO =
6
CREATEDAT =
7
UPDATEDAT =
8
LASTUPTRACKAT =
9
ISDELETED =
10
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},
  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



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

def struct_fields; FIELDS; end

#validateObject



39
40
# File 'lib/album_model_types.rb', line 39

def validate
end