pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Private Attributes | List of all members
Pandora::RequestAddStationSeed Class Reference

Pandora message: Add or remove station seeds. More...

#include <pandoramessages.h>

Inheritance diagram for Pandora::RequestAddStationSeed:
Inheritance graph
[legend]
Collaboration diagram for Pandora::RequestAddStationSeed:
Collaboration graph
[legend]

Public Member Functions

 RequestAddStationSeed (Station *sta, const std::string &music_id)
 
virtual void extractResponse (const Parsnip::Data &message) override
 Decode a response message, already converted to Parsnip Data, into some internal representation. More...
 
const std::string & getSeedId () const
 
GenreSeedgetGenreSeed () const
 
ArtistSeedgetArtistSeed () const
 
SongSeedgetSongSeed () const
 
- Public Member Functions inherited from Pandora::Request
const std::string & url () const
 
bool debug () const
 
bool tlsEncrypt () const
 
bool blowfishEncrypt () const
 
Parsnip::DataretrieveRequestMessage ()
 Retrieve the Parsnip Data object with the request message. More...
 

Private Attributes

Retainer< Station * > station
 
std::string seed_id
 
Retainer< GenreSeed * > genre_seed
 
Retainer< ArtistSeed * > artist_seed
 
Retainer< SongSeed * > song_seed
 

Additional Inherited Members

- Public Types inherited from Pandora::Request
using Option = RequestOption
 
- Protected Member Functions inherited from Pandora::Request
 Request (Source *const src, const char *ep, Option options=Option::NONE)
 RPC method name or REST API endpoint. More...
 
- Protected Attributes inherited from Pandora::Request
Source *const source
 
Parsnip::Data request_message
 

Detailed Description

Pandora message: Add or remove station seeds.

Constructor & Destructor Documentation

◆ RequestAddStationSeed()

Pandora::RequestAddStationSeed::RequestAddStationSeed ( Station sta,
const std::string &  music_id 
)
Here is the call graph for this function:

Member Function Documentation

◆ extractResponse()

void Pandora::RequestAddStationSeed::extractResponse ( const Parsnip::Data message)
overridevirtual

Decode a response message, already converted to Parsnip Data, into some internal representation.

Parameters
messageThe message to be decoded.

Implements Pandora::Request.

Here is the call graph for this function:

◆ getArtistSeed()

ArtistSeed* Pandora::RequestAddStationSeed::getArtistSeed ( ) const
inline
Here is the caller graph for this function:

◆ getGenreSeed()

GenreSeed* Pandora::RequestAddStationSeed::getGenreSeed ( ) const
inline
Here is the caller graph for this function:

◆ getSeedId()

const std::string& Pandora::RequestAddStationSeed::getSeedId ( ) const
inline

◆ getSongSeed()

SongSeed* Pandora::RequestAddStationSeed::getSongSeed ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ artist_seed

Retainer<ArtistSeed *> Pandora::RequestAddStationSeed::artist_seed
private

◆ genre_seed

Retainer<GenreSeed *> Pandora::RequestAddStationSeed::genre_seed
private

◆ seed_id

std::string Pandora::RequestAddStationSeed::seed_id
private

◆ song_seed

Retainer<SongSeed *> Pandora::RequestAddStationSeed::song_seed
private

◆ station

Retainer<Station *> Pandora::RequestAddStationSeed::station
private

The documentation for this class was generated from the following files: