pub struct GetStationResponse {Show 18 fields
pub station_id: String,
pub station_token: String,
pub station_name: String,
pub allow_add_music: Option<bool>,
pub suppress_video_ads: Option<bool>,
pub date_created: Timestamp,
pub station_detail_url: Option<String>,
pub art_url: Option<String>,
pub requires_clean_ads: Option<bool>,
pub music: Option<StationSeeds>,
pub is_shared: Option<bool>,
pub allow_delete: Option<bool>,
pub genre: Vec<String>,
pub is_quick_mix: Option<bool>,
pub allow_rename: Option<bool>,
pub station_sharing_url: Option<String>,
pub allow_edit_description: Option<bool>,
pub feedback: Option<StationFeedback>,
}
Expand description
| Name | Type | Description | | music | object | Station seeds, see Add seed | | music.songs | list | Song seeds | | music.artists | list | Artist seeds | | feedback | object | Feedback added by Rate track | | feedback.thumbsUp | list | | | feedback.thumbsDown | list | |
{
"stat": "ok",
"result": {
"suppressVideoAds": false,
"stationId": "374145764047334893",
"allowAddMusic": true,
"dateCreated": {
"date": 15,
"day": 6,
"hours": 7,
"minutes": 34,
"month": 0,
"nanos": 874000000,
"seconds": 21,
"time": 1295105661874,
"timezoneOffset": 480,
"year": 111
},
"stationDetailUrl": "https://www.pandora.com/login?target=%2Fstations%2Fc644756145fc3f5df1916901125ee697495159685ae39575",
"artUrl": "http://cont-1.p-cdn.com/images/public/amz/5/2/8/5/075678235825_500W_498H.jpg",
"requiresCleanAds": false,
"stationToken": "374145764047334893",
"stationName": "Winter Radio",
"music": {
"songs": [{
"seedId": "428301990230109677",
"artistName": "Tori Amos",
"artUrl": "http://cont-sjl-1.pandora.com/images/public/amz/5/2/8/5/075678235825_130W_130H.jpg",
"songName": "Winter",
"musicToken": "87ef9db1c3f04330"
}],
"artists": [{
"artistName": "Jason Derulo",
"musicToken": "563f577e00d837a5",
"seedId": "31525199612287328",
"artUrl": "http://mediaserver-cont-sv5-1-v4v6.pandora.com/images/public/amg/portrait/pic200/drQ300/Q366/Q36675SDAPJ.jpg"
}],
"genres": [{
"musicToken": "cc021b31a48b8acf",
"genreName": "Today's Hits",
"seedId": "31525199599467854"
}]
},
"isShared": false,
"allowDelete": true,
"genre": ["Rock"],
"isQuickMix": false,
"allowRename": true,
"stationSharingUrl": "https://www.pandora.com/login?target=%2Fshare%2Fstation%2Fc644756145fc3f5df1916901125ee697495159685ae39575",
"allowEditDescription": true,
"feedback": {
"thumbsUp": [{
"dateCreated": {
"date": 28,
"day": 5,
"hours": 13,
"minutes": 57,
"month": 2,
"nanos": 760000000,
"seconds": 49,
"time": 1396040269760,
"timezoneOffset": 420,
"year": 114
},
"albumArtUrl": "http://cont-1.p-cdn.com/images/public/amz/9/7/1/4/900004179_130W_130H.jpg",
"musicToken": "d33dd0c199ebaf28425ba2910f7abf8b",
"songName": "Hey Lover",
"artistName": "Keri Noble",
"feedbackId": "-7239441039566426643",
"isPositive": true
}],
"totalThumbsUp": 20,
"totalThumbsDown": 5,
"thumbsDown": [{
"dateCreated": {
"date": 28,
"day": 5,
"hours": 10,
"minutes": 43,
"month": 2,
"nanos": 637000000,
"seconds": 30,
"time": 1396028610637,
"timezoneOffset": 420,
"year": 114
},
"albumArtUrl": "http://cont-ch1-1.pandora.com/images/public/amz/9/0/5/1/724383771509_130W_130H.jpg",
"musicToken": "5a0018da7876f6e7",
"songName": "Talk Show Host",
"artistName": "Radiohead",
"feedbackId": "-7241622182873125395",
"isPositive": false
}]
}
}
}
Fields§
§station_id: String
The unique id (token) for the station for which information was requested. The stationId (station_id) and stationToken (station_token) attributes appear to be duplicates.
station_token: String
The unique id (token) for the station for which information was requested. The stationId (station_id) and stationToken (station_token) attributes appear to be duplicates.
station_name: String
The user-created name of the station.
allow_add_music: Option<bool>
Whether the station allows adding music to it.
suppress_video_ads: Option<bool>
Unknown
date_created: Timestamp
When the station was created.
station_detail_url: Option<String>
Unknown
art_url: Option<String>
Unknown
requires_clean_ads: Option<bool>
Unknown
music: Option<StationSeeds>
Station music seeds.
Whether the station is visible for sharing.
allow_delete: Option<bool>
Whether the station can be deleted.
genre: Vec<String>
The genre(s) the station belongs to.
is_quick_mix: Option<bool>
Whether this is a QuickMix station.
allow_rename: Option<bool>
Whether the station may be renamed.
station_sharing_url: Option<String>
The URL to use for sharing this station.
allow_edit_description: Option<bool>
Whether the description for this station may be edited.
feedback: Option<StationFeedback>
Feedback submitted for tracks on this station.
Trait Implementations§
Source§impl Clone for GetStationResponse
impl Clone for GetStationResponse
Source§fn clone(&self) -> GetStationResponse
fn clone(&self) -> GetStationResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more