google_youtube_api_v3/youtube/comment_thread
DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam
Types
A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
pub type CommentThread {
CommentThread(
etag: option.Option(String),
id: option.Option(String),
kind: option.Option(String),
replies: option.Option(
comment_thread_replies.CommentThreadReplies,
),
snippet: option.Option(
comment_thread_snippet.CommentThreadSnippet,
),
)
}
Constructors
-
CommentThread( etag: option.Option(String), id: option.Option(String), kind: option.Option(String), replies: option.Option( comment_thread_replies.CommentThreadReplies, ), snippet: option.Option( comment_thread_snippet.CommentThreadSnippet, ), )
Values
pub fn decoder() -> decode.Decoder(CommentThread)
pub fn to_json(value: CommentThread) -> json.Json