Class: WiMP::Gen::SearchResult

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

Constant Summary collapse

ARTISTS =
1
TRACKS =
2
ALBUMS =
3
PLAYLIST =
4
FIELDS =
{
  ARTISTS => {:type => ::Thrift::Types::LIST, :name => 'artists', :element => {:type => ::Thrift::Types::STRUCT, :class => ::WiMP::Gen::Artist}, :optional => true},
  TRACKS => {:type => ::Thrift::Types::LIST, :name => 'tracks', :element => {:type => ::Thrift::Types::STRUCT, :class => ::WiMP::Gen::Track}, :optional => true},
  ALBUMS => {:type => ::Thrift::Types::LIST, :name => 'albums', :element => {:type => ::Thrift::Types::STRUCT, :class => ::WiMP::Gen::Album}, :optional => true},
  PLAYLIST => {:type => ::Thrift::Types::LIST, :name => 'playlist', :element => {:type => ::Thrift::Types::STRUCT, :class => ::WiMP::Gen::Playlist}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



522
# File 'lib/gen/services_types.rb', line 522

def struct_fields; FIELDS; end

#validateObject



524
525
# File 'lib/gen/services_types.rb', line 524

def validate
end