Class: Service::Content::Thrift::TrackRepost

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
TRACKID =
2
UID =
3
ISDELETED =
4
COMMENTID =
5
COMMENTCONTENT =
6
CREATEDAT =
7
UPDATEDAT =
8
ALBUMID =
9
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
  COMMENTID => {:type => ::Thrift::Types::I64, :name => 'commentId'},
  COMMENTCONTENT => {:type => ::Thrift::Types::STRING, :name => 'commentContent', :optional => true},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
  ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



282
283
# File 'lib/service_album_api/content_types.rb', line 282

def validate
end