google_youtube_api_v3/youtube/invideo_timing

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

Types

Describes a temporal position of a visual widget inside a video.

pub type InvideoTiming {
  InvideoTiming(
    duration_ms: option.Option(String),
    offset_ms: option.Option(String),
    type_: option.Option(Type),
  )
}

Constructors

Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.

pub type Type {
  TypeOffsetFromStart
  TypeOffsetFromEnd
}

Constructors

  • TypeOffsetFromStart
  • TypeOffsetFromEnd

Values

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