google_youtube_api_v3/youtube/activity_snippet

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

Types

Basic details about an activity, including title, description, thumbnails, activity type and group. Next ID: 12

pub type ActivitySnippet {
  ActivitySnippet(
    channel_id: option.Option(String),
    channel_title: option.Option(String),
    description: option.Option(String),
    group_id: option.Option(String),
    published_at: option.Option(String),
    thumbnails: option.Option(thumbnail_details.ThumbnailDetails),
    title: option.Option(String),
    type_: option.Option(Type),
  )
}

Constructors

The type of activity that the resource describes.

pub type Type {
  TypeTypeUnspecified
  TypeUpload
  TypeComment
  TypeSubscription
  TypePlaylistItem
  TypeRecommendation
  TypeBulletin
  TypeSocial
  TypeChannelItem
  TypePromotedItem
}

Constructors

  • TypeTypeUnspecified
  • TypeUpload
  • TypeComment
  • TypeSubscription
  • TypePlaylistItem
  • TypeRecommendation
  • TypeBulletin
  • TypeSocial
  • TypeChannelItem
  • TypePromotedItem

Values

pub fn to_json(value: ActivitySnippet) -> json.Json
pub fn type_decoder() -> decode.Decoder(Type)
pub fn type_to_string(value: Type) -> String
✨ Search Document