BaseApi class

Constructors

BaseApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteFeeds(int id) Future<void>
Parameters:
deleteFeedsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'DELETE /client/feeds/{id}' operation and returns the Response. Parameters:
deletePlaylists(int id) Future<void>
Parameters:
deletePlaylistsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'DELETE /client/playlists/{id}' operation and returns the Response. Parameters:
getAuthSession(String code) Future<void>
Parameters:
getAuthSessionWithHttpInfo(String code) Future<Response>
Performs an HTTP 'GET /session/auth/{code}' operation and returns the Response. Parameters:
getChannelChannels(int id) Future<ChannelGetResponse?>
Parameters:
getChannelChannelsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/channels/{id}' operation and returns the Response. Parameters:
getFeedFeeds(int id) Future<FeedGetResponse?>
Parameters:
getFeedFeedsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/feeds/{id}' operation and returns the Response. Parameters:
getFeedsPlaylistsFeeds() Future<List<FeedPlaylistsResponse>?>
getFeedsPlaylistsFeedsWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/feeds/playlists' operation and returns the Response.
getIndexChannels() Future<List<ChannelIndexResponse>?>
getIndexChannelsWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/channels' operation and returns the Response.
getIndexCompanies() Future<List<CompanyType>?>
getIndexCompaniesWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/companies' operation and returns the Response.
getIndexFeeds() Future<List<FeedGetResponse>?>
getIndexFeedsWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/feeds' operation and returns the Response.
getIndexGenres() Future<List<Genre>?>
getIndexGenresWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/genres' operation and returns the Response.
getIndexOwners() Future<List<CopyRightOwner>?>
getIndexOwnersWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/owners' operation and returns the Response.
getIndexPlaces() Future<List<PlaceIndexResponse>?>
getIndexPlacesWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/places' operation and returns the Response.
getIndexPlaylists() Future<List<PlaylistIndexResponse>?>
getIndexPlaylistsWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/playlists' operation and returns the Response.
getIndexSelections() Future<List<SelectionIndexResponse>?>
getIndexSelectionsWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/selections' operation and returns the Response.
getIndexStatistics({String? from, String? to}) Future<StatisticIndexResponse?>
Parameters:
getIndexStatisticsWithHttpInfo({String? from, String? to}) Future<Response>
Performs an HTTP 'GET /client/statistics' operation and returns the Response. Parameters:
getIndexTickets() Future<TicketIndexResponse?>
getIndexTicketsWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/tickets' operation and returns the Response.
getIndexTracks({List<int>? genreIds, List<int>? companyTypeIds, int? offset, String? sort}) Future<TrackIndexResponse?>
Parameters:
getIndexTracksWithHttpInfo({List<int>? genreIds, List<int>? companyTypeIds, int? offset, String? sort}) Future<Response>
Performs an HTTP 'GET /client/tracks' operation and returns the Response. Parameters:
getOwnerOwners(int id) Future<CopyRightOwner?>
Parameters:
getOwnerOwnersWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/owners/{id}' operation and returns the Response. Parameters:
getOwnerUsers() Future<OwnerIndexResponseData?>
getOwnerUsersWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/users/owner' operation and returns the Response.
getPlacePlaces(int id) Future<PlaceIndexResponse?>
Parameters:
getPlacePlacesWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/places/{id}' operation and returns the Response. Parameters:
getPlayFeeds(int id) Future<FeedPlayResponse?>
Parameters:
getPlayFeedsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/feeds/{id}/play' operation and returns the Response. Parameters:
getPlaylistPlaylists(int id) Future<PlaylistGetResponse?>
Parameters:
getPlaylistPlaylistsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/playlists/{id}' operation and returns the Response. Parameters:
getSelectionSelections(int id) Future<SelectionGetResponse?>
Parameters:
getSelectionSelectionsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/selections/{id}' operation and returns the Response. Parameters:
getTicketTickets(int id) Future<TicketIndexResponseData?>
Parameters:
getTicketTicketsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'GET /client/tickets/{id}' operation and returns the Response. Parameters:
getTracksPublishedTracks() Future<List<TrackPublishedGetResponse>?>
getTracksPublishedTracksWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/tracks/published' operation and returns the Response.
getUserFullUsers() Future<UserGetResponse?>
getUserFullUsersWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/users/full' operation and returns the Response.
getUserUsers() Future<UserGetResponse?>
getUserUsersWithHttpInfo() Future<Response>
Performs an HTTP 'GET /client/users' operation and returns the Response.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postChangePasswordAccount(String oldPassword, String newPassword, {String? confirmPassword}) Future<ResultBoolResponse?>
Parameters:
postChangePasswordAccountWithHttpInfo(String oldPassword, String newPassword, {String? confirmPassword}) Future<Response>
Performs an HTTP 'POST /account/change-password' operation and returns the Response. Parameters:
postCreateFeeds({FeedClientLiteDTO? feedClientLiteDTO}) Future<void>
Parameters:
postCreateFeedsWithHttpInfo({FeedClientLiteDTO? feedClientLiteDTO}) Future<Response>
Performs an HTTP 'POST /client/feeds' operation and returns the Response. Parameters:
postCreatePlaylists({PlaylistClientShortDTO? playlistClientShortDTO}) Future<void>
Parameters:
postCreatePlaylistsWithHttpInfo({PlaylistClientShortDTO? playlistClientShortDTO}) Future<Response>
Performs an HTTP 'POST /client/playlists' operation and returns the Response. Parameters:
postCreateSelections(int id) Future<void>
Parameters:
postCreateSelectionsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'POST /client/selections/{id}' operation and returns the Response. Parameters:
postCreateTickets(String header, String message, TicketType ticketType, {int? ticketId}) Future<void>
Parameters:
postCreateTicketsWithHttpInfo(String header, String message, TicketType ticketType, {int? ticketId}) Future<Response>
Performs an HTTP 'POST /client/tickets' operation and returns the Response. Parameters:
postCrossLoginSession({CredentialsHostViewModel? credentialsHostViewModel}) Future<CrossLoginResponse?>
Parameters:
postCrossLoginSessionWithHttpInfo({CredentialsHostViewModel? credentialsHostViewModel}) Future<Response>
Performs an HTTP 'POST /session/cross-login' operation and returns the Response. Parameters:
postLoginSession({CredentialsViewModel? credentialsViewModel}) Future<LoginResponse?>
Parameters:
postLoginSessionWithHttpInfo({CredentialsViewModel? credentialsViewModel}) Future<Response>
Performs an HTTP 'POST /session/login' operation and returns the Response. Parameters:
postPasswordResetUsers() Future<void>
postPasswordResetUsersWithHttpInfo() Future<Response>
Performs an HTTP 'POST /client/users/password-reset' operation and returns the Response.
postResetPasswordAccount({ForgotPasswordViewModel? forgotPasswordViewModel}) Future<ResultBoolResponse?>
Parameters:
postResetPasswordAccountWithHttpInfo({ForgotPasswordViewModel? forgotPasswordViewModel}) Future<Response>
Performs an HTTP 'POST /account/reset-password' operation and returns the Response. Parameters:
postUploadAudioUpload() Future<FileResponse?>
postUploadAudioUploadWithHttpInfo() Future<Response>
Performs an HTTP 'POST /upload/audio' operation and returns the Response.
postUploadImageUpload() Future<FileResponse?>
postUploadImageUploadWithHttpInfo() Future<Response>
Performs an HTTP 'POST /upload/image' operation and returns the Response.
putCheckTracks() Future<void>
putCheckTracksWithHttpInfo() Future<Response>
Performs an HTTP 'PUT /client/tracks/check' operation and returns the Response.
putPublishTracks(String fileHash) Future<void>
Parameters:
putPublishTracksWithHttpInfo(String fileHash) Future<Response>
Performs an HTTP 'PUT /client/tracks/{fileHash}/publish' operation and returns the Response. Parameters:
putRatingSelections(int id, double newRatingValue) Future<void>
Parameters:
putRatingSelectionsWithHttpInfo(int id, double newRatingValue) Future<Response>
Performs an HTTP 'PUT /client/selections/{id}/rating/{newRatingValue}' operation and returns the Response. Parameters:
putUnPublishTracks(String fileHash) Future<void>
Parameters:
putUnPublishTracksWithHttpInfo(String fileHash) Future<Response>
Performs an HTTP 'PUT /client/tracks/{fileHash}/unpublish' operation and returns the Response. Parameters:
putUpdateFeeds({FeedClientDTO? feedClientDTO}) Future<void>
Parameters:
putUpdateFeedsWithHttpInfo({FeedClientDTO? feedClientDTO}) Future<Response>
Performs an HTTP 'PUT /client/feeds' operation and returns the Response. Parameters:
putUpdatePlaylistFeeds({PlaylistFeedDTO? playlistFeedDTO}) Future<void>
Parameters:
putUpdatePlaylistFeedsWithHttpInfo({PlaylistFeedDTO? playlistFeedDTO}) Future<Response>
Performs an HTTP 'PUT /client/feeds/playlist' operation and returns the Response. Parameters:
putUpdatePlaylists({PlaylistClientDTO? playlistClientDTO}) Future<void>
Parameters:
putUpdatePlaylistsWithHttpInfo({PlaylistClientDTO? playlistClientDTO}) Future<Response>
Performs an HTTP 'PUT /client/playlists' operation and returns the Response. Parameters:
putUpdateTracks({int? trackId, String? title, String? artist, String? album, List<String>? genres, int? year, String? isrc}) Future<void>
Parameters:
putUpdateTracksWithHttpInfo({int? trackId, String? title, String? artist, String? album, List<String>? genres, int? year, String? isrc}) Future<Response>
Performs an HTTP 'PUT /client/tracks/update' operation and returns the Response. Parameters:
putUpdateUsers(String id, String name, String userName, String email, {bool? editable, String? phoneNumber, String? imageFile, String? objectAddress, String? objectTitle, String? emailFinancial, String? companyName, String? contractNumber, String? contractDate, String? bankName, String? bankBIK, String? bankCorrAccount, String? bankPayAccount, String? signerFIO, String? signerJob, String? signerDoc, String? financeFIO, String? financeEmail, String? financePhone, bool? edo, String? techFIO, String? techEmail, String? techPhone, String? legalFormShort, String? legalFormFull, String? addressLegal, String? addressPostal, String? addressActual, String? INN, String? KPP, String? OGRN, List<Place>? places, List<CompanyTypeUser>? companyTypeUsers}) Future<void>
Parameters:
putUpdateUsersWithHttpInfo(String id, String name, String userName, String email, {bool? editable, String? phoneNumber, String? imageFile, String? objectAddress, String? objectTitle, String? emailFinancial, String? companyName, String? contractNumber, String? contractDate, String? bankName, String? bankBIK, String? bankCorrAccount, String? bankPayAccount, String? signerFIO, String? signerJob, String? signerDoc, String? financeFIO, String? financeEmail, String? financePhone, bool? edo, String? techFIO, String? techEmail, String? techPhone, String? legalFormShort, String? legalFormFull, String? addressLegal, String? addressPostal, String? addressActual, String? INN, String? KPP, String? OGRN, List<Place>? places, List<CompanyTypeUser>? companyTypeUsers}) Future<Response>
Performs an HTTP 'PUT /client/users' operation and returns the Response. Parameters:
putViewsFeeds(int id) Future<void>
Parameters:
putViewsFeedsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'PUT /client/feeds/{id}/playbacks' operation and returns the Response. Parameters:
putViewsPlaylists(int id) Future<void>
Parameters:
putViewsPlaylistsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'PUT /client/playlists/{id}/playbacks' operation and returns the Response. Parameters:
putViewsSelections(int id) Future<void>
Parameters:
putViewsSelectionsWithHttpInfo(int id) Future<Response>
Performs an HTTP 'PUT /client/selections/{id}/views' operation and returns the Response. Parameters:
putViewsTracks(String fileHash, String placeId) Future<void>
Parameters:
putViewsTracksWithHttpInfo(String fileHash, String placeId) Future<Response>
Performs an HTTP 'PUT /client/tracks/{fileHash}/playbacks/{placeId}' operation and returns the Response. Parameters:
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited