google_youtube_api_v3/youtube/video_age_gating

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

Types

pub type VideoAgeGating {
  VideoAgeGating(
    alcohol_content: option.Option(Bool),
    restricted: option.Option(Bool),
    video_game_rating: option.Option(VideoGameRating),
  )
}

Constructors

Video game rating, if any.

pub type VideoGameRating {
  VideoGameRatingAnyone
  VideoGameRatingM15Plus
  VideoGameRatingM16Plus
  VideoGameRatingM17Plus
}

Constructors

  • VideoGameRatingAnyone
  • VideoGameRatingM15Plus
  • VideoGameRatingM16Plus
  • VideoGameRatingM17Plus

Values

pub fn to_json(value: VideoAgeGating) -> json.Json
pub fn video_game_rating_decoder() -> decode.Decoder(
  VideoGameRating,
)
pub fn video_game_rating_to_string(
  value: VideoGameRating,
) -> String
✨ Search Document