google_youtube_api_v3/youtube/playlist_image_snippet
DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam
Types
A playlistImage resource identifies another resource, such as a image, that is associated with a playlist. In addition, the playlistImage resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company’s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistImages.list method to retrieve image data for any of those playlists. You can also add or remove images from those lists by calling the playlistImages.insert and playlistImages.delete methods.
pub type PlaylistImageSnippet {
PlaylistImageSnippet(
height: option.Option(Int),
playlist_id: option.Option(String),
type_: option.Option(Type),
width: option.Option(Int),
)
}
Constructors
-
PlaylistImageSnippet( height: option.Option(Int), playlist_id: option.Option(String), type_: option.Option(Type), width: option.Option(Int), )
Values
pub fn decoder() -> decode.Decoder(PlaylistImageSnippet)
pub fn to_json(value: PlaylistImageSnippet) -> json.Json
pub fn type_decoder() -> decode.Decoder(Type)
pub fn type_to_string(value: Type) -> String