Class: Service::Content::Thrift::SimpleTrackRecord

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

Constant Summary collapse

TRACKID =
1
UID =
2
PLAYURL64 =
3
PLAYURL32 =
4
DOWLOADURL =
5
TITLE =
6
DURATION =
7
FIELDS =
{
  TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  PLAYURL64 => {:type => ::Thrift::Types::STRING, :name => 'playUrl64', :optional => true},
  PLAYURL32 => {:type => ::Thrift::Types::STRING, :name => 'playUrl32', :optional => true},
  DOWLOADURL => {:type => ::Thrift::Types::STRING, :name => 'dowloadUrl', :optional => true},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
  DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



782
783
# File 'lib/service_album_api/content_types.rb', line 782

def validate
end