google_youtube_api_v3/youtube/channel_section_snippet

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

Basic details about a channel section, including title, style and position.

pub type ChannelSectionSnippet {
  ChannelSectionSnippet(
    channel_id: option.Option(String),
    default_language: option.Option(String),
    localized: option.Option(
      channel_section_localization.ChannelSectionLocalization,
    ),
    position: option.Option(Int),
    style: option.Option(Style),
    title: option.Option(String),
    type_: option.Option(Type),
  )
}

Constructors

The style of the channel section.

pub type Style {
  StyleChannelsectionStyleUnspecified
  StyleHorizontalRow
  StyleVerticalList
}

Constructors

  • StyleChannelsectionStyleUnspecified
  • StyleHorizontalRow
  • StyleVerticalList

The type of the channel section.

pub type Type {
  TypeChannelsectionTypeUndefined
  TypeSinglePlaylist
  TypeMultiplePlaylists
  TypePopularUploads
  TypeRecentUploads
  TypeLikes
  TypeAllPlaylists
  TypeLikedPlaylists
  TypeRecentPosts
  TypeRecentActivity
  TypeLiveEvents
  TypeUpcomingEvents
  TypeCompletedEvents
  TypeMultipleChannels
  TypePostedVideos
  TypePostedPlaylists
  TypeSubscriptions
}

Constructors

  • TypeChannelsectionTypeUndefined
  • TypeSinglePlaylist
  • TypeMultiplePlaylists
  • TypePopularUploads
  • TypeRecentUploads
  • TypeLikes
  • TypeAllPlaylists
  • TypeLikedPlaylists
  • TypeRecentPosts
  • TypeRecentActivity
  • TypeLiveEvents
  • TypeUpcomingEvents
  • TypeCompletedEvents
  • TypeMultipleChannels
  • TypePostedVideos
  • TypePostedPlaylists
  • TypeSubscriptions

Values

pub fn style_decoder() -> decode.Decoder(Style)
pub fn style_to_string(value: Style) -> String
pub fn type_decoder() -> decode.Decoder(Type)
pub fn type_to_string(value: Type) -> String
✨ Search Document