Class: WiMP::Gen::ClientApiService::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/gen/client_api_service.rb

Instance Method Summary collapse

Instance Method Details

#process_addAlbumToFavorites(seqid, iprot, oprot) ⇒ Object



768
769
770
771
772
# File 'lib/gen/client_api_service.rb', line 768

def process_addAlbumToFavorites(seqid, iprot, oprot)
  args = read_args(iprot, AddAlbumToFavorites_args)
  @handler.addAlbumToFavorites(args.albumId, args.sessionId)
  return
end

#process_addArtistToFavorites(seqid, iprot, oprot) ⇒ Object



774
775
776
777
778
# File 'lib/gen/client_api_service.rb', line 774

def process_addArtistToFavorites(seqid, iprot, oprot)
  args = read_args(iprot, AddArtistToFavorites_args)
  @handler.addArtistToFavorites(args.artistId, args.sessionId)
  return
end

#process_addFriend(seqid, iprot, oprot) ⇒ Object



780
781
782
783
784
# File 'lib/gen/client_api_service.rb', line 780

def process_addFriend(seqid, iprot, oprot)
  args = read_args(iprot, AddFriend_args)
  @handler.addFriend(args.userId, args.sessionId)
  return
end

#process_addPlaylistToFavorites(seqid, iprot, oprot) ⇒ Object



786
787
788
789
790
# File 'lib/gen/client_api_service.rb', line 786

def process_addPlaylistToFavorites(seqid, iprot, oprot)
  args = read_args(iprot, AddPlaylistToFavorites_args)
  @handler.addPlaylistToFavorites(args.playlistUUID, args.sessionId)
  return
end

#process_addTracksToUserPlaylist(seqid, iprot, oprot) ⇒ Object



798
799
800
801
802
803
# File 'lib/gen/client_api_service.rb', line 798

def process_addTracksToUserPlaylist(seqid, iprot, oprot)
  args = read_args(iprot, AddTracksToUserPlaylist_args)
  result = AddTracksToUserPlaylist_result.new()
  result.success = @handler.addTracksToUserPlaylist(args.playlistUUID, args.tracks, args.position, args.sessionId)
  write_result(result, oprot, 'addTracksToUserPlaylist', seqid)
end

#process_addTrackToFavorites(seqid, iprot, oprot) ⇒ Object



792
793
794
795
796
# File 'lib/gen/client_api_service.rb', line 792

def process_addTrackToFavorites(seqid, iprot, oprot)
  args = read_args(iprot, AddTrackToFavorites_args)
  @handler.addTrackToFavorites(args.trackId, args.sessionId)
  return
end

#process_addUserPlaylist(seqid, iprot, oprot) ⇒ Object



805
806
807
808
809
810
# File 'lib/gen/client_api_service.rb', line 805

def process_addUserPlaylist(seqid, iprot, oprot)
  args = read_args(iprot, AddUserPlaylist_args)
  result = AddUserPlaylist_result.new()
  result.success = @handler.addUserPlaylist(args.title, args.sessionId)
  write_result(result, oprot, 'addUserPlaylist', seqid)
end

#process_getAlbumById(seqid, iprot, oprot) ⇒ Object



812
813
814
815
816
817
# File 'lib/gen/client_api_service.rb', line 812

def process_getAlbumById(seqid, iprot, oprot)
  args = read_args(iprot, GetAlbumById_args)
  result = GetAlbumById_result.new()
  result.success = @handler.getAlbumById(args.albumId, args.sessionId)
  write_result(result, oprot, 'getAlbumById', seqid)
end

#process_getAlbumMetaData(seqid, iprot, oprot) ⇒ Object



819
820
821
822
823
824
# File 'lib/gen/client_api_service.rb', line 819

def (seqid, iprot, oprot)
  args = read_args(iprot, )
  result = .new()
  result.success = @handler.(args.albumId, args.sessionId)
  write_result(result, oprot, 'getAlbumMetaData', seqid)
end

#process_getAlbumsByArtistId(seqid, iprot, oprot) ⇒ Object



826
827
828
829
830
831
# File 'lib/gen/client_api_service.rb', line 826

def process_getAlbumsByArtistId(seqid, iprot, oprot)
  args = read_args(iprot, GetAlbumsByArtistId_args)
  result = GetAlbumsByArtistId_result.new()
  result.success = @handler.getAlbumsByArtistId(args.artistId, args.limit, args.order, args.sessionId, args.filter)
  write_result(result, oprot, 'getAlbumsByArtistId', seqid)
end

#process_getAlbumsByArtistIdWithPaging(seqid, iprot, oprot) ⇒ Object



833
834
835
836
837
838
# File 'lib/gen/client_api_service.rb', line 833

def process_getAlbumsByArtistIdWithPaging(seqid, iprot, oprot)
  args = read_args(iprot, GetAlbumsByArtistIdWithPaging_args)
  result = GetAlbumsByArtistIdWithPaging_result.new()
  result.success = @handler.getAlbumsByArtistIdWithPaging(args.artistId, args.startIndex, args.limit, args.includeSingles, args.order, args.sessionId)
  write_result(result, oprot, 'getAlbumsByArtistIdWithPaging', seqid)
end

#process_getAlbumsByCategoryId(seqid, iprot, oprot) ⇒ Object



840
841
842
843
844
845
# File 'lib/gen/client_api_service.rb', line 840

def process_getAlbumsByCategoryId(seqid, iprot, oprot)
  args = read_args(iprot, GetAlbumsByCategoryId_args)
  result = GetAlbumsByCategoryId_result.new()
  result.success = @handler.getAlbumsByCategoryId(args.categoryId, args.startIndex, args.limit, args.sessionId)
  write_result(result, oprot, 'getAlbumsByCategoryId', seqid)
end

#process_getAlbumsByIds(seqid, iprot, oprot) ⇒ Object



847
848
849
850
851
852
# File 'lib/gen/client_api_service.rb', line 847

def process_getAlbumsByIds(seqid, iprot, oprot)
  args = read_args(iprot, GetAlbumsByIds_args)
  result = GetAlbumsByIds_result.new()
  result.success = @handler.getAlbumsByIds(args.albumIds, args.sessionId)
  write_result(result, oprot, 'getAlbumsByIds', seqid)
end

#process_getAllUserPlaylists(seqid, iprot, oprot) ⇒ Object



854
855
856
857
858
859
# File 'lib/gen/client_api_service.rb', line 854

def process_getAllUserPlaylists(seqid, iprot, oprot)
  args = read_args(iprot, GetAllUserPlaylists_args)
  result = GetAllUserPlaylists_result.new()
  result.success = @handler.getAllUserPlaylists(args.sessionId)
  write_result(result, oprot, 'getAllUserPlaylists', seqid)
end

#process_getArtistById(seqid, iprot, oprot) ⇒ Object



861
862
863
864
865
866
# File 'lib/gen/client_api_service.rb', line 861

def process_getArtistById(seqid, iprot, oprot)
  args = read_args(iprot, GetArtistById_args)
  result = GetArtistById_result.new()
  result.success = @handler.getArtistById(args.artistId, args.sessionId)
  write_result(result, oprot, 'getArtistById', seqid)
end

#process_getArtistMetaData(seqid, iprot, oprot) ⇒ Object



868
869
870
871
872
873
# File 'lib/gen/client_api_service.rb', line 868

def (seqid, iprot, oprot)
  args = read_args(iprot, )
  result = .new()
  result.success = @handler.(args.artistId, args.sessionId)
  write_result(result, oprot, 'getArtistMetaData', seqid)
end

#process_getBookletURL(seqid, iprot, oprot) ⇒ Object



875
876
877
878
879
880
# File 'lib/gen/client_api_service.rb', line 875

def process_getBookletURL(seqid, iprot, oprot)
  args = read_args(iprot, GetBookletURL_args)
  result = GetBookletURL_result.new()
  result.success = @handler.getBookletURL(args.albumId, args.sessionId)
  write_result(result, oprot, 'getBookletURL', seqid)
end

#process_getCategories(seqid, iprot, oprot) ⇒ Object



882
883
884
885
886
887
# File 'lib/gen/client_api_service.rb', line 882

def process_getCategories(seqid, iprot, oprot)
  args = read_args(iprot, GetCategories_args)
  result = GetCategories_result.new()
  result.success = @handler.getCategories(args.categoryId, args.sessionId, args.startIndex, args.limit)
  write_result(result, oprot, 'getCategories', seqid)
end

#process_getCategoryAndSubCategories(seqid, iprot, oprot) ⇒ Object



889
890
891
892
893
894
# File 'lib/gen/client_api_service.rb', line 889

def process_getCategoryAndSubCategories(seqid, iprot, oprot)
  args = read_args(iprot, GetCategoryAndSubCategories_args)
  result = GetCategoryAndSubCategories_result.new()
  result.success = @handler.getCategoryAndSubCategories(args.categoryId, args.depth, args.sessionId)
  write_result(result, oprot, 'getCategoryAndSubCategories', seqid)
end

#process_getCategoryById(seqid, iprot, oprot) ⇒ Object



896
897
898
899
900
901
# File 'lib/gen/client_api_service.rb', line 896

def process_getCategoryById(seqid, iprot, oprot)
  args = read_args(iprot, GetCategoryById_args)
  result = GetCategoryById_result.new()
  result.success = @handler.getCategoryById(args.categoryId, args.sessionId)
  write_result(result, oprot, 'getCategoryById', seqid)
end

#process_getFavoriteAlbums(seqid, iprot, oprot) ⇒ Object



903
904
905
906
907
908
# File 'lib/gen/client_api_service.rb', line 903

def process_getFavoriteAlbums(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoriteAlbums_args)
  result = GetFavoriteAlbums_result.new()
  result.success = @handler.getFavoriteAlbums(args.order, args.sessionId)
  write_result(result, oprot, 'getFavoriteAlbums', seqid)
end

#process_getFavoriteAlbumsByProfileId(seqid, iprot, oprot) ⇒ Object



910
911
912
913
914
915
# File 'lib/gen/client_api_service.rb', line 910

def process_getFavoriteAlbumsByProfileId(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoriteAlbumsByProfileId_args)
  result = GetFavoriteAlbumsByProfileId_result.new()
  result.success = @handler.getFavoriteAlbumsByProfileId(args.profileId, args.paramPrivacyLevel, args.order, args.sessionId)
  write_result(result, oprot, 'getFavoriteAlbumsByProfileId', seqid)
end

#process_getFavoriteArtists(seqid, iprot, oprot) ⇒ Object



917
918
919
920
921
922
# File 'lib/gen/client_api_service.rb', line 917

def process_getFavoriteArtists(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoriteArtists_args)
  result = GetFavoriteArtists_result.new()
  result.success = @handler.getFavoriteArtists(args.order, args.sessionId)
  write_result(result, oprot, 'getFavoriteArtists', seqid)
end

#process_getFavoriteArtistsByProfileId(seqid, iprot, oprot) ⇒ Object



924
925
926
927
928
929
# File 'lib/gen/client_api_service.rb', line 924

def process_getFavoriteArtistsByProfileId(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoriteArtistsByProfileId_args)
  result = GetFavoriteArtistsByProfileId_result.new()
  result.success = @handler.getFavoriteArtistsByProfileId(args.profileId, args.paramPrivacyLevel, args.order, args.sessionId)
  write_result(result, oprot, 'getFavoriteArtistsByProfileId', seqid)
end

#process_getFavoritePlaylists(seqid, iprot, oprot) ⇒ Object



931
932
933
934
935
936
# File 'lib/gen/client_api_service.rb', line 931

def process_getFavoritePlaylists(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoritePlaylists_args)
  result = GetFavoritePlaylists_result.new()
  result.success = @handler.getFavoritePlaylists(args.order, args.sessionId)
  write_result(result, oprot, 'getFavoritePlaylists', seqid)
end

#process_getFavoritePlaylistsByProfileId(seqid, iprot, oprot) ⇒ Object



938
939
940
941
942
943
# File 'lib/gen/client_api_service.rb', line 938

def process_getFavoritePlaylistsByProfileId(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoritePlaylistsByProfileId_args)
  result = GetFavoritePlaylistsByProfileId_result.new()
  result.success = @handler.getFavoritePlaylistsByProfileId(args.profileId, args.paramPrivacyLevel, args.order, args.sessonId)
  write_result(result, oprot, 'getFavoritePlaylistsByProfileId', seqid)
end

#process_getFavoriteTracks(seqid, iprot, oprot) ⇒ Object



945
946
947
948
949
950
# File 'lib/gen/client_api_service.rb', line 945

def process_getFavoriteTracks(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoriteTracks_args)
  result = GetFavoriteTracks_result.new()
  result.success = @handler.getFavoriteTracks(args.order, args.sessonId)
  write_result(result, oprot, 'getFavoriteTracks', seqid)
end

#process_getFavoriteTracksByProfileId(seqid, iprot, oprot) ⇒ Object



952
953
954
955
956
957
# File 'lib/gen/client_api_service.rb', line 952

def process_getFavoriteTracksByProfileId(seqid, iprot, oprot)
  args = read_args(iprot, GetFavoriteTracksByProfileId_args)
  result = GetFavoriteTracksByProfileId_result.new()
  result.success = @handler.getFavoriteTracksByProfileId(args.profileId, args.paramPrivacyLevel, args.order, args.sessonId)
  write_result(result, oprot, 'getFavoriteTracksByProfileId', seqid)
end

#process_getFriends(seqid, iprot, oprot) ⇒ Object



966
967
968
969
970
971
# File 'lib/gen/client_api_service.rb', line 966

def process_getFriends(seqid, iprot, oprot)
  args = read_args(iprot, GetFriends_args)
  result = GetFriends_result.new()
  result.success = @handler.getFriends(args.sessonId)
  write_result(result, oprot, 'getFriends', seqid)
end

#process_getLastUpdatedFavAlbum(seqid, iprot, oprot) ⇒ Object



973
974
975
976
977
978
# File 'lib/gen/client_api_service.rb', line 973

def process_getLastUpdatedFavAlbum(seqid, iprot, oprot)
  args = read_args(iprot, GetLastUpdatedFavAlbum_args)
  result = GetLastUpdatedFavAlbum_result.new()
  result.success = @handler.getLastUpdatedFavAlbum(args.sessonId)
  write_result(result, oprot, 'getLastUpdatedFavAlbum', seqid)
end

#process_getLastUpdatedFavArtist(seqid, iprot, oprot) ⇒ Object



980
981
982
983
984
985
# File 'lib/gen/client_api_service.rb', line 980

def process_getLastUpdatedFavArtist(seqid, iprot, oprot)
  args = read_args(iprot, GetLastUpdatedFavArtist_args)
  result = GetLastUpdatedFavArtist_result.new()
  result.success = @handler.getLastUpdatedFavArtist(args.sessonId)
  write_result(result, oprot, 'getLastUpdatedFavArtist', seqid)
end

#process_getLastUpdatedFavPlaylist(seqid, iprot, oprot) ⇒ Object



987
988
989
990
991
992
# File 'lib/gen/client_api_service.rb', line 987

def process_getLastUpdatedFavPlaylist(seqid, iprot, oprot)
  args = read_args(iprot, GetLastUpdatedFavPlaylist_args)
  result = GetLastUpdatedFavPlaylist_result.new()
  result.success = @handler.getLastUpdatedFavPlaylist(args.sessonId)
  write_result(result, oprot, 'getLastUpdatedFavPlaylist', seqid)
end

#process_getLastUpdatedFavTrack(seqid, iprot, oprot) ⇒ Object



994
995
996
997
998
999
# File 'lib/gen/client_api_service.rb', line 994

def process_getLastUpdatedFavTrack(seqid, iprot, oprot)
  args = read_args(iprot, GetLastUpdatedFavTrack_args)
  result = GetLastUpdatedFavTrack_result.new()
  result.success = @handler.getLastUpdatedFavTrack(args.sessonId)
  write_result(result, oprot, 'getLastUpdatedFavTrack', seqid)
end

#process_getLastUpdatedPlaylist(seqid, iprot, oprot) ⇒ Object



1001
1002
1003
1004
1005
1006
# File 'lib/gen/client_api_service.rb', line 1001

def process_getLastUpdatedPlaylist(seqid, iprot, oprot)
  args = read_args(iprot, GetLastUpdatedPlaylist_args)
  result = GetLastUpdatedPlaylist_result.new()
  result.success = @handler.getLastUpdatedPlaylist(args.sessonId)
  write_result(result, oprot, 'getLastUpdatedPlaylist', seqid)
end

#process_getPlaylistsByCategoryId(seqid, iprot, oprot) ⇒ Object



1008
1009
1010
1011
1012
1013
# File 'lib/gen/client_api_service.rb', line 1008

def process_getPlaylistsByCategoryId(seqid, iprot, oprot)
  args = read_args(iprot, GetPlaylistsByCategoryId_args)
  result = GetPlaylistsByCategoryId_result.new()
  result.success = @handler.getPlaylistsByCategoryId(args.categoryId, args.startIndex, args.limit, args.sessonId)
  write_result(result, oprot, 'getPlaylistsByCategoryId', seqid)
end

#process_getProfileTrackPlayListsByArtistId(seqid, iprot, oprot) ⇒ Object



1015
1016
1017
1018
1019
1020
# File 'lib/gen/client_api_service.rb', line 1015

def process_getProfileTrackPlayListsByArtistId(seqid, iprot, oprot)
  args = read_args(iprot, GetProfileTrackPlayListsByArtistId_args)
  result = GetProfileTrackPlayListsByArtistId_result.new()
  result.success = @handler.getProfileTrackPlayListsByArtistId(args.artistId, args.startIndex, args.limit, args.sessonId)
  write_result(result, oprot, 'getProfileTrackPlayListsByArtistId', seqid)
end

#process_getProfileTrackPlayListsInclidingArtistId(seqid, iprot, oprot) ⇒ Object



1022
1023
1024
1025
1026
1027
# File 'lib/gen/client_api_service.rb', line 1022

def process_getProfileTrackPlayListsInclidingArtistId(seqid, iprot, oprot)
  args = read_args(iprot, GetProfileTrackPlayListsInclidingArtistId_args)
  result = GetProfileTrackPlayListsInclidingArtistId_result.new()
  result.success = @handler.getProfileTrackPlayListsInclidingArtistId(args.artistId, args.startIndex, args.limit, args.sessonId)
  write_result(result, oprot, 'getProfileTrackPlayListsInclidingArtistId', seqid)
end

#process_getTopTracksByArtistId(seqid, iprot, oprot) ⇒ Object



1029
1030
1031
1032
1033
1034
# File 'lib/gen/client_api_service.rb', line 1029

def process_getTopTracksByArtistId(seqid, iprot, oprot)
  args = read_args(iprot, GetTopTracksByArtistId_args)
  result = GetTopTracksByArtistId_result.new()
  result.success = @handler.getTopTracksByArtistId(args.artistId, args.limit, args.onlyAsMainArtist, args.sessonId)
  write_result(result, oprot, 'getTopTracksByArtistId', seqid)
end

#process_getTrackById(seqid, iprot, oprot) ⇒ Object



1036
1037
1038
1039
1040
1041
# File 'lib/gen/client_api_service.rb', line 1036

def process_getTrackById(seqid, iprot, oprot)
  args = read_args(iprot, GetTrackById_args)
  result = GetTrackById_result.new()
  result.success = @handler.getTrackById(args.trackId, args.sessonId)
  write_result(result, oprot, 'getTrackById', seqid)
end

#process_getTracksByAlbumId(seqid, iprot, oprot) ⇒ Object



1043
1044
1045
1046
1047
1048
# File 'lib/gen/client_api_service.rb', line 1043

def process_getTracksByAlbumId(seqid, iprot, oprot)
  args = read_args(iprot, GetTracksByAlbumId_args)
  result = GetTracksByAlbumId_result.new()
  result.success = @handler.getTracksByAlbumId(args.albumId, args.sessonId)
  write_result(result, oprot, 'getTracksByAlbumId', seqid)
end

#process_getTracksByCategoryId(seqid, iprot, oprot) ⇒ Object



1050
1051
1052
1053
1054
1055
# File 'lib/gen/client_api_service.rb', line 1050

def process_getTracksByCategoryId(seqid, iprot, oprot)
  args = read_args(iprot, GetTracksByCategoryId_args)
  result = GetTracksByCategoryId_result.new()
  result.success = @handler.getTracksByCategoryId(args.categoryId, args.startIndex, args.limit, args.sessonId)
  write_result(result, oprot, 'getTracksByCategoryId', seqid)
end

#process_getUserPlaylistByUuid(seqid, iprot, oprot) ⇒ Object



1057
1058
1059
1060
1061
1062
# File 'lib/gen/client_api_service.rb', line 1057

def process_getUserPlaylistByUuid(seqid, iprot, oprot)
  args = read_args(iprot, GetUserPlaylistByUuid_args)
  result = GetUserPlaylistByUuid_result.new()
  result.success = @handler.getUserPlaylistByUuid(args.uuid, args.sessonId)
  write_result(result, oprot, 'getUserPlaylistByUuid', seqid)
end

#process_getUserPlaylistsByType(seqid, iprot, oprot) ⇒ Object



1064
1065
1066
1067
1068
1069
# File 'lib/gen/client_api_service.rb', line 1064

def process_getUserPlaylistsByType(seqid, iprot, oprot)
  args = read_args(iprot, GetUserPlaylistsByType_args)
  result = GetUserPlaylistsByType_result.new()
  result.success = @handler.getUserPlaylistsByType(args.type, args.startIndex, args.limit, args.sessonId)
  write_result(result, oprot, 'getUserPlaylistsByType', seqid)
end

#process_getUserPlaylistsByUuids(seqid, iprot, oprot) ⇒ Object



1071
1072
1073
1074
1075
1076
# File 'lib/gen/client_api_service.rb', line 1071

def process_getUserPlaylistsByUuids(seqid, iprot, oprot)
  args = read_args(iprot, GetUserPlaylistsByUuids_args)
  result = GetUserPlaylistsByUuids_result.new()
  result.success = @handler.getUserPlaylistsByUuids(args.uuids, args.sessonId)
  write_result(result, oprot, 'getUserPlaylistsByUuids', seqid)
end

#process_getWallPosts(seqid, iprot, oprot) ⇒ Object



959
960
961
962
963
964
# File 'lib/gen/client_api_service.rb', line 959

def process_getWallPosts(seqid, iprot, oprot)
  args = read_args(iprot, GetWallPosts_args)
  result = GetWallPosts_result.new()
  result.success = @handler.getWallPosts(args.profileId, args.startIndex, args.offset, args.sessonId)
  write_result(result, oprot, 'getWallPosts', seqid)
end

#process_moveUserPlaylistTracks(seqid, iprot, oprot) ⇒ Object



1078
1079
1080
1081
1082
1083
# File 'lib/gen/client_api_service.rb', line 1078

def process_moveUserPlaylistTracks(seqid, iprot, oprot)
  args = read_args(iprot, MoveUserPlaylistTracks_args)
  result = MoveUserPlaylistTracks_result.new()
  result.success = @handler.moveUserPlaylistTracks(args.uuid, args.fromIndex, args.toIndex, args.sessonId)
  write_result(result, oprot, 'moveUserPlaylistTracks', seqid)
end

#process_removeUserPlaylistByUuid(seqid, iprot, oprot) ⇒ Object



1085
1086
1087
1088
1089
1090
# File 'lib/gen/client_api_service.rb', line 1085

def process_removeUserPlaylistByUuid(seqid, iprot, oprot)
  args = read_args(iprot, RemoveUserPlaylistByUuid_args)
  result = RemoveUserPlaylistByUuid_result.new()
  result.success = @handler.removeUserPlaylistByUuid(args.uuid, args.sessonId)
  write_result(result, oprot, 'removeUserPlaylistByUuid', seqid)
end

#process_removeUserPlaylistTracks(seqid, iprot, oprot) ⇒ Object



1092
1093
1094
1095
1096
1097
# File 'lib/gen/client_api_service.rb', line 1092

def process_removeUserPlaylistTracks(seqid, iprot, oprot)
  args = read_args(iprot, RemoveUserPlaylistTracks_args)
  result = RemoveUserPlaylistTracks_result.new()
  result.success = @handler.removeUserPlaylistTracks(args.uuid, args.indices, args.sessonId)
  write_result(result, oprot, 'removeUserPlaylistTracks', seqid)
end

#process_renameUserPlaylistByUuid(seqid, iprot, oprot) ⇒ Object



1099
1100
1101
1102
1103
1104
# File 'lib/gen/client_api_service.rb', line 1099

def process_renameUserPlaylistByUuid(seqid, iprot, oprot)
  args = read_args(iprot, RenameUserPlaylistByUuid_args)
  result = RenameUserPlaylistByUuid_result.new()
  result.success = @handler.renameUserPlaylistByUuid(args.uuid, args.title, args.sessonId)
  write_result(result, oprot, 'renameUserPlaylistByUuid', seqid)
end

#process_search(seqid, iprot, oprot) ⇒ Object



761
762
763
764
765
766
# File 'lib/gen/client_api_service.rb', line 761

def process_search(seqid, iprot, oprot)
  args = read_args(iprot, Search_args)
  result = Search_result.new()
  result.success = @handler.search(args.term, args.limitArtists, args.limitAlbums, args.limitTracks, args.sessionId, args.limitPlaylists)
  write_result(result, oprot, 'search', seqid)
end

#process_suggestTracksByArtistIds(seqid, iprot, oprot) ⇒ Object



1106
1107
1108
1109
1110
1111
# File 'lib/gen/client_api_service.rb', line 1106

def process_suggestTracksByArtistIds(seqid, iprot, oprot)
  args = read_args(iprot, SuggestTracksByArtistIds_args)
  result = SuggestTracksByArtistIds_result.new()
  result.success = @handler.suggestTracksByArtistIds(args.artistIds, args.limit, args.sessonId)
  write_result(result, oprot, 'suggestTracksByArtistIds', seqid)
end

#process_suggestTracksByTrackIds(seqid, iprot, oprot) ⇒ Object



1113
1114
1115
1116
1117
1118
# File 'lib/gen/client_api_service.rb', line 1113

def process_suggestTracksByTrackIds(seqid, iprot, oprot)
  args = read_args(iprot, SuggestTracksByTrackIds_args)
  result = SuggestTracksByTrackIds_result.new()
  result.success = @handler.suggestTracksByTrackIds(args.trackIds, args.limit, args.sessonId)
  write_result(result, oprot, 'suggestTracksByTrackIds', seqid)
end