@@ -23,6 +23,8 @@ import Network.Google.Prelude
2323data ContentRatingCceRating
2424 = CCEM12
2525 -- ^ @cceM12@
26+ | CCEM14
27+ -- ^ @cceM14@
2628 | CCEM16
2729 -- ^ @cceM16@
2830 | CCEM18
@@ -33,13 +35,14 @@ data ContentRatingCceRating
3335 -- ^ @cceM6@
3436 | CceUnrated
3537 -- ^ @cceUnrated@
36− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
38+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
3739
3840instance Hashable ContentRatingCceRating
3941
4042instance FromHttpApiData ContentRatingCceRating where
4143 parseQueryParam = \case
4244 "cceM12" -> Right CCEM12
45+ "cceM14" -> Right CCEM14
4346 "cceM16" -> Right CCEM16
4447 "cceM18" -> Right CCEM18
4548 "cceM4" -> Right CCEM4
@@ -50,6 +53,7 @@ instance FromHttpApiData ContentRatingCceRating where
5053instance ToHttpApiData ContentRatingCceRating where
5154 toQueryParam = \case
5255 CCEM12 -> "cceM12"
56+ CCEM14 -> "cceM14"
5357 CCEM16 -> "cceM16"
5458 CCEM18 -> "cceM18"
5559 CCEM4 -> "cceM4"
@@ -76,7 +80,7 @@ data ContentRatingChfilmRating
7680 -- ^ @chfilm6@
7781 | ChfilmUnrated
7882 -- ^ @chfilmUnrated@
79− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
83+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
8084
8185instance Hashable ContentRatingChfilmRating
8286
@@ -125,7 +129,7 @@ data ContentRatingMccaaRating
125129 -- ^ @mccaaU@
126130 | MccaaUnrated
127131 -- ^ @mccaaUnrated@
128− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
132+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
129133
130134instance Hashable ContentRatingMccaaRating
131135
@@ -166,7 +170,7 @@ data VideosListChart
166170 -- ^ @mostPopular@
167171 -- Return the most popular videos for the specified content region and
168172 -- video category.
169− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
173+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
170174
171175instance Hashable VideosListChart
172176
@@ -199,7 +203,7 @@ data ContentRatingMpaaRating
199203 -- ^ @mpaaR@
200204 | MpaaUnrated
201205 -- ^ @mpaaUnrated@
202− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
206+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
203207
204208instance Hashable ContentRatingMpaaRating
205209
@@ -236,7 +240,7 @@ data CaptionSnippetTrackKind
236240 -- ^ @forced@
237241 | Standard
238242 -- ^ @standard@
239− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
243+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
240244
241245instance Hashable CaptionSnippetTrackKind
242246
@@ -268,7 +272,7 @@ data VideoSnippetLiveBroadcastContent
268272 -- ^ @none@
269273 | Upcoming
270274 -- ^ @upcoming@
271− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
275+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
272276
273277instance Hashable VideoSnippetLiveBroadcastContent
274278
@@ -299,7 +303,7 @@ data ChannelConversionPingContext
299303 -- ^ @subscribe@
300304 | Unsubscribe
301305 -- ^ @unsubscribe@
302− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
306+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
303307
304308instance Hashable ChannelConversionPingContext
305309
@@ -339,7 +343,7 @@ data ContentRatingRcnofRating
339343 -- ^ @rcnofV@
340344 | RcnofVi
341345 -- ^ @rcnofVi@
342− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
346+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
343347
344348instance Hashable ContentRatingRcnofRating
345349
@@ -378,7 +382,7 @@ data VideoStatusPrivacyStatus
378382 -- ^ @public@
379383 | UnListed
380384 -- ^ @unlisted@
381− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
385+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
382386
383387instance Hashable VideoStatusPrivacyStatus
384388
@@ -426,7 +430,7 @@ data LiveBroadcastStatusLifeCycleStatus
426430 -- ^ @testStarting@
427431 | LBSLCSTesting
428432 -- ^ @testing@
429− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
433+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
430434
431435instance Hashable LiveBroadcastStatusLifeCycleStatus
432436
@@ -474,7 +478,7 @@ data CaptionSnippetFailureReason
474478 -- ^ @unknownFormat@
475479 | UnsupportedFormat
476480 -- ^ @unsupportedFormat@
477− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
481+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
478482
479483instance Hashable CaptionSnippetFailureReason
480484
@@ -497,6 +501,33 @@ instance FromJSON CaptionSnippetFailureReason where
497501instance ToJSON CaptionSnippetFailureReason where
498502 toJSON = toJSONText
499503
504+-- | The type of ban.
505+data LiveChatUserBannedMessageDetailsBanType
506+ = Permanent
507+ -- ^ @permanent@
508+ | Temporary
509+ -- ^ @temporary@
510+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
511+
512+instance Hashable LiveChatUserBannedMessageDetailsBanType
513+
514+instance FromHttpApiData LiveChatUserBannedMessageDetailsBanType where
515+ parseQueryParam = \case
516+ "permanent" -> Right Permanent
517+ "temporary" -> Right Temporary
518+ x -> Left ("Unable to parse LiveChatUserBannedMessageDetailsBanType from: " <> x)
519+
520+instance ToHttpApiData LiveChatUserBannedMessageDetailsBanType where
521+ toQueryParam = \case
522+ Permanent -> "permanent"
523+ Temporary -> "temporary"
524+
525+instance FromJSON LiveChatUserBannedMessageDetailsBanType where
526+ parseJSON = parseJSONText "LiveChatUserBannedMessageDetailsBanType"
527+
528+instance ToJSON LiveChatUserBannedMessageDetailsBanType where
529+ toJSON = toJSONText
530+
500531-- | The reason that YouTube failed to process the video. This property will
501532-- only have a value if the processingStatus property\'s value is failed.
502533data VideoProcessingDetailsProcessingFailureReason
@@ -508,7 +539,7 @@ data VideoProcessingDetailsProcessingFailureReason
508539 -- ^ @transcodeFailed@
509540 | UploadFailed
510541 -- ^ @uploadFailed@
511− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
542+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
512543
513544instance Hashable VideoProcessingDetailsProcessingFailureReason
514545
@@ -537,7 +568,7 @@ instance ToJSON VideoProcessingDetailsProcessingFailureReason where
537568data InvideoPositionType
538569 = Corner
539570 -- ^ @corner@
540− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
571+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
541572
542573instance Hashable InvideoPositionType
543574
@@ -571,7 +602,7 @@ data ContentRatingFskRating
571602 -- ^ @fsk6@
572603 | FskUnrated
573604 -- ^ @fskUnrated@
574− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
605+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
575606
576607instance Hashable ContentRatingFskRating
577608
@@ -615,7 +646,7 @@ data ContentRatingMekuRating
615646 -- ^ @mekuS@
616647 | MekuUnrated
617648 -- ^ @mekuUnrated@
618− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
649+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
619650
620651instance Hashable ContentRatingMekuRating
621652
@@ -651,7 +682,7 @@ data VideoContentDetailsDefinition
651682 -- ^ @hd@
652683 | SD
653684 -- ^ @sd@
654− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
685+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
655686
656687instance Hashable VideoContentDetailsDefinition
657688
@@ -692,7 +723,7 @@ data ContentRatingEefilmRating
692723 -- ^ @eefilmPere@
693724 | EefilmUnrated
694725 -- ^ @eefilmUnrated@
695− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
726+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
696727
697728instance Hashable ContentRatingEefilmRating
698729
@@ -739,7 +770,7 @@ data LiveBroadcastStatusPrivacyStatus
739770 -- ^ @public@
740771 | LBSPSUnListed
741772 -- ^ @unlisted@
742− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
773+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
743774
744775instance Hashable LiveBroadcastStatusPrivacyStatus
745776
@@ -781,7 +812,7 @@ data CaptionsDownloadTfmt
781812 | Vtt
782813 -- ^ @vtt@
783814 -- Web Video Text Tracks caption.
784− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
815+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
785816
786817instance Hashable CaptionsDownloadTfmt
787818
@@ -816,7 +847,7 @@ data PromotedItemIdType
816847 -- ^ @video@
817848 | PIITWebsite
818849 -- ^ @website@
819− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
850+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
820851
821852instance Hashable PromotedItemIdType
822853
@@ -851,7 +882,7 @@ data ContentRatingPefilmRating
851882 -- ^ @pefilmPt@
852883 | PefilmUnrated
853884 -- ^ @pefilmUnrated@
854− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
885+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
855886
856887instance Hashable ContentRatingPefilmRating
857888
@@ -878,6 +909,49 @@ instance FromJSON ContentRatingPefilmRating where
878909instance ToJSON ContentRatingPefilmRating where
879910 toJSON = toJSONText
880911
912+-- | The resolution of the inbound video data.
913+data CdnSettingsResolution
914+ = CSR1080p
915+ -- ^ @1080p@
916+ | CSR1440p
917+ -- ^ @1440p@
918+ | CSR240p
919+ -- ^ @240p@
920+ | CSR360p
921+ -- ^ @360p@
922+ | CSR480p
923+ -- ^ @480p@
924+ | CSR720p
925+ -- ^ @720p@
926+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
927+
928+instance Hashable CdnSettingsResolution
929+
930+instance FromHttpApiData CdnSettingsResolution where
931+ parseQueryParam = \case
932+ "1080p" -> Right CSR1080p
933+ "1440p" -> Right CSR1440p
934+ "240p" -> Right CSR240p
935+ "360p" -> Right CSR360p
936+ "480p" -> Right CSR480p
937+ "720p" -> Right CSR720p
938+ x -> Left ("Unable to parse CdnSettingsResolution from: " <> x)
939+
940+instance ToHttpApiData CdnSettingsResolution where
941+ toQueryParam = \case
942+ CSR1080p -> "1080p"
943+ CSR1440p -> "1440p"
944+ CSR240p -> "240p"
945+ CSR360p -> "360p"
946+ CSR480p -> "480p"
947+ CSR720p -> "720p"
948+
949+instance FromJSON CdnSettingsResolution where
950+ parseJSON = parseJSONText "CdnSettingsResolution"
951+
952+instance ToJSON CdnSettingsResolution where
953+ toJSON = toJSONText
954+
881955-- | It indicates if the resource (video or channel) has upcoming\/active
882956-- live broadcast content. Or it\'s \"none\" if there is not any
883957-- upcoming\/active live broadcasts.
@@ -888,7 +962,7 @@ data SearchResultSnippetLiveBroadcastContent
888962 -- ^ @none@
889963 | SRSLBCUpcoming
890964 -- ^ @upcoming@
891− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
965+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
892966
893967instance Hashable SearchResultSnippetLiveBroadcastContent
894968
@@ -930,7 +1004,7 @@ data ContentRatingAnatelRating
9301004 -- ^ @anatelR@
9311005 | AnatelUnrated
9321006 -- ^ @anatelUnrated@
933− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1007+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
9341008
9351009instance Hashable ContentRatingAnatelRating
9361010
@@ -987,7 +1061,7 @@ data SearchListOrder
9871061 | ViewCount
9881062 -- ^ @viewCount@
9891063 -- Resources are sorted from highest to lowest number of views.
990− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1064+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
9911065
9921066instance Hashable SearchListOrder
9931067
@@ -1032,7 +1106,7 @@ data ContentRatingCccRating
10321106 -- ^ @cccTe@
10331107 | CccUnrated
10341108 -- ^ @cccUnrated@
1035− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1109+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
10361110
10371111instance Hashable ContentRatingCccRating
10381112
@@ -1073,7 +1147,7 @@ data CaptionSnippetAudioTrackType
10731147 -- ^ @primary@
10741148 | Unknown
10751149 -- ^ @unknown@
1076− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1150+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
10771151
10781152instance Hashable CaptionSnippetAudioTrackType
10791153
@@ -1106,7 +1180,7 @@ data ChannelStatusPrivacyStatus
11061180 -- ^ @public@
11071181 | CSPSUnListed
11081182 -- ^ @unlisted@
1109− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1183+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
11101184
11111185instance Hashable ChannelStatusPrivacyStatus
11121186
@@ -1138,7 +1212,7 @@ data VideoSuggestionsEditorSuggestionsItem
11381212 -- ^ @videoCrop@
11391213 | VideoStabilize
11401214 -- ^ @videoStabilize@
1141− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1215+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
11421216
11431217instance Hashable VideoSuggestionsEditorSuggestionsItem
11441218
@@ -1180,7 +1254,7 @@ data ContentRatingCatvfrRating
11801254 -- ^ @catvfrG@
11811255 | CatvfrUnrated
11821256 -- ^ @catvfrUnrated@
1183− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1257+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
11841258
11851259instance Hashable ContentRatingCatvfrRating
11861260
@@ -1224,7 +1298,7 @@ data ContentRatingCnaRating
12241298 -- ^ @cnaAp@
12251299 | CnaUnrated
12261300 -- ^ @cnaUnrated@
1227− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1301+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
12281302
12291303instance Hashable ContentRatingCnaRating
12301304
@@ -1269,7 +1343,7 @@ data ContentRatingChvrsRating
12691343 -- ^ @chvrsR@
12701344 | ChvrsUnrated
12711345 -- ^ @chvrsUnrated@
1272− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1346+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
12731347
12741348instance Hashable ContentRatingChvrsRating
12751349
@@ -1315,7 +1389,7 @@ data ContentRatingIncaaRating
13151389 -- ^ @incaaSam18@
13161390 | IncaaUnrated
13171391 -- ^ @incaaUnrated@
1318− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1392+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
13191393
13201394instance Hashable ContentRatingIncaaRating
13211395
@@ -1357,7 +1431,7 @@ data ContentRatingSmsaRating
13571431 -- ^ @smsaA@
13581432 | SmsaUnrated
13591433 -- ^ @smsaUnrated@
1360− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1434+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
13611435
13621436instance Hashable ContentRatingSmsaRating
13631437
@@ -1396,7 +1470,7 @@ data ContentRatingCbfcRating
13961470 -- ^ @cbfcUA@
13971471 | CbfcUnrated
13981472 -- ^ @cbfcUnrated@
1399− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1473+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
14001474
14011475instance Hashable ContentRatingCbfcRating
14021476
@@ -1435,7 +1509,7 @@ data ContentRatingKfcbRating
14351509 -- ^ @kfcbR@
14361510 | KfcbUnrated
14371511 -- ^ @kfcbUnrated@
1438− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1512+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
14391513
14401514instance Hashable ContentRatingKfcbRating
14411515
@@ -1470,7 +1544,7 @@ data LiveStreamConfigurationIssueSeverity
14701544 -- ^ @info@
14711545 | Warning
14721546 -- ^ @warning@
1473− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1547+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
14741548
14751549instance Hashable LiveStreamConfigurationIssueSeverity
14761550
@@ -1509,7 +1583,7 @@ data SearchListVideoDefinition
15091583 | SLVDStandard
15101584 -- ^ @standard@
15111585 -- Only retrieve videos in standard definition.
1512− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1586+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
15131587
15141588instance Hashable SearchListVideoDefinition
15151589
@@ -1542,7 +1616,7 @@ data VideoAgeGatingVideoGameRating
15421616 -- ^ @m16Plus@
15431617 | M17Plus
15441618 -- ^ @m17Plus@
1545− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1619+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
15461620
15471621instance Hashable VideoAgeGatingVideoGameRating
15481622
@@ -1587,7 +1661,7 @@ data ContentRatingLsfRating
15871661 -- ^ @lsfSu@
15881662 | LsfUnrated
15891663 -- ^ @lsfUnrated@
1590− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1664+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
15911665
15921666instance Hashable ContentRatingLsfRating
15931667
@@ -1624,24 +1698,24 @@ instance ToJSON ContentRatingLsfRating where
16241698
16251699-- | The type of ban.
16261700data LiveChatBanSnippetType
1627− = Permanent
1701+ = LCBSTPermanent
16281702 -- ^ @permanent@
1629− | Temporary
1703+ | LCBSTTemporary
16301704 -- ^ @temporary@
1631− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1705+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
16321706
16331707instance Hashable LiveChatBanSnippetType
16341708
16351709instance FromHttpApiData LiveChatBanSnippetType where
16361710 parseQueryParam = \case
1637− "permanent" -> Right Permanent
1638− "temporary" -> Right Temporary
1711+ "permanent" -> Right LCBSTPermanent
1712+ "temporary" -> Right LCBSTTemporary
16391713 x -> Left ("Unable to parse LiveChatBanSnippetType from: " <> x)
16401714
16411715instance ToHttpApiData LiveChatBanSnippetType where
16421716 toQueryParam = \case
1643− Permanent -> "permanent"
1644− Temporary -> "temporary"
1717+ LCBSTPermanent -> "permanent"
1718+ LCBSTTemporary -> "temporary"
16451719
16461720instance FromJSON LiveChatBanSnippetType where
16471721 parseJSON = parseJSONText "LiveChatBanSnippetType"
@@ -1667,7 +1741,7 @@ data ContentRatingBfvcRating
16671741 -- ^ @bfvcG@
16681742 | BfvcUnrated
16691743 -- ^ @bfvcUnrated@
1670− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1744+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
16711745
16721746instance Hashable ContentRatingBfvcRating
16731747
@@ -1704,7 +1778,7 @@ instance ToJSON ContentRatingBfvcRating where
17041778data LiveBroadcastTopicType
17051779 = VideoGame
17061780 -- ^ @videoGame@
1707− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1781+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
17081782
17091783instance Hashable LiveBroadcastTopicType
17101784
@@ -1741,7 +1815,7 @@ data SearchListVideoDuration
17411815 | Short
17421816 -- ^ @short@
17431817 -- Only include videos that are less than four minutes long.
1744− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1818+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
17451819
17461820instance Hashable SearchListVideoDuration
17471821
@@ -1780,7 +1854,7 @@ data SearchListVideoCaption
17801854 | SLVCNone
17811855 -- ^ @none@
17821856 -- Only include videos that do not have captions.
1783− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1857+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
17841858
17851859instance Hashable SearchListVideoCaption
17861860
@@ -1812,7 +1886,7 @@ data VideosListMyRating
18121886 | Like
18131887 -- ^ @like@
18141888 -- Returns only video liked by the authenticated user.
1815− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1889+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
18161890
18171891instance Hashable VideosListMyRating
18181892
@@ -1845,7 +1919,7 @@ data CommentSnippetViewerRating
18451919 -- ^ @none@
18461920 | CSVRUnspecified
18471921 -- ^ @unspecified@
1848− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1922+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
18491923
18501924instance Hashable CommentSnippetViewerRating
18511925
@@ -1890,7 +1964,7 @@ data ContentRatingFcbmRating
18901964 -- ^ @fcbmU@
18911965 | FcbmUnrated
18921966 -- ^ @fcbmUnrated@
1893− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
1967+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
18941968
18951969instance Hashable ContentRatingFcbmRating
18961970
@@ -1940,7 +2014,7 @@ data LiveBroadcastsListBroadcastStatus
19402014 | LBLBSUpcoming
19412015 -- ^ @upcoming@
19422016 -- Return broadcasts that have not yet started.
1943− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2017+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
19442018
19452019instance Hashable LiveBroadcastsListBroadcastStatus
19462020
@@ -1975,9 +2049,13 @@ data ContentRatingMoctwRating
19752049 -- ^ @moctwPg@
19762050 | MoctwR
19772051 -- ^ @moctwR@
2052+ | MOCTWR12
2053+ -- ^ @moctwR12@
2054+ | MOCTWR15
2055+ -- ^ @moctwR15@
19782056 | MoctwUnrated
19792057 -- ^ @moctwUnrated@
1980− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2058+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
19812059
19822060instance Hashable ContentRatingMoctwRating
19832061
@@ -1987,6 +2065,8 @@ instance FromHttpApiData ContentRatingMoctwRating where
19872065 "moctwP" -> Right MoctwP
19882066 "moctwPg" -> Right MoctwPg
19892067 "moctwR" -> Right MoctwR
2068+ "moctwR12" -> Right MOCTWR12
2069+ "moctwR15" -> Right MOCTWR15
19902070 "moctwUnrated" -> Right MoctwUnrated
19912071 x -> Left ("Unable to parse ContentRatingMoctwRating from: " <> x)
19922072
@@ -1996,6 +2076,8 @@ instance ToHttpApiData ContentRatingMoctwRating where
19962076 MoctwP -> "moctwP"
19972077 MoctwPg -> "moctwPg"
19982078 MoctwR -> "moctwR"
2079+ MOCTWR12 -> "moctwR12"
2080+ MOCTWR15 -> "moctwR15"
19992081 MoctwUnrated -> "moctwUnrated"
20002082
20012083instance FromJSON ContentRatingMoctwRating where
@@ -2023,7 +2105,7 @@ data ContentRatingBmukkRating
20232105 -- ^ @bmukkAa@
20242106 | BmukkUnrated
20252107 -- ^ @bmukkUnrated@
2026− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2108+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
20272109
20282110instance Hashable ContentRatingBmukkRating
20292111
@@ -2075,7 +2157,7 @@ data ContentRatingIcaaRating
20752157 -- ^ @icaaUnrated@
20762158 | IcaaX
20772159 -- ^ @icaaX@
2078− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2160+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
20792161
20802162instance Hashable ContentRatingIcaaRating
20812163
@@ -2132,7 +2214,7 @@ data VideoStatusRejectionReason
21322214 -- ^ @uploaderAccountClosed@
21332215 | UploaderAccountSuspended
21342216 -- ^ @uploaderAccountSuspended@
2135− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2217+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
21362218
21372219instance Hashable VideoStatusRejectionReason
21382220
@@ -2181,7 +2263,7 @@ data ContentRatingCzfilmRating
21812263 -- ^ @czfilmU@
21822264 | CzfilmUnrated
21832265 -- ^ @czfilmUnrated@
2184− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2266+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
21852267
21862268instance Hashable ContentRatingCzfilmRating
21872269
@@ -2223,7 +2305,7 @@ data ContentRatingRussiaRating
22232305 -- ^ @russia6@
22242306 | RussiaUnrated
22252307 -- ^ @russiaUnrated@
2226− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2308+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
22272309
22282310instance Hashable ContentRatingRussiaRating
22292311
@@ -2262,7 +2344,7 @@ data ContentRatingCicfRating
22622344 -- ^ @cicfKtEa@
22632345 | CicfUnrated
22642346 -- ^ @cicfUnrated@
2265− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2347+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
22662348
22672349instance Hashable ContentRatingCicfRating
22682350
@@ -2304,7 +2386,7 @@ data ContentRatingFmocRating
23042386 -- ^ @fmocU@
23052387 | FmocUnrated
23062388 -- ^ @fmocUnrated@
2307− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2389+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
23082390
23092391instance Hashable ContentRatingFmocRating
23102392
@@ -2353,7 +2435,7 @@ data LiveBroadcastsTransitionBroadcastStatus
23532435 -- monitor stream. Note that you can only transition a broadcast to the
23542436 -- testing state if its contentDetails.monitorStream.enableMonitorStream
23552437 -- property is set to true.
2356− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2438+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
23572439
23582440instance Hashable LiveBroadcastsTransitionBroadcastStatus
23592441
@@ -2394,7 +2476,7 @@ data ContentRatingNbcRating
23942476 -- ^ @nbcPu@
23952477 | NbcUnrated
23962478 -- ^ @nbcUnrated@
2397− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2479+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
23982480
23992481instance Hashable ContentRatingNbcRating
24002482
@@ -2435,7 +2517,7 @@ data LiveBroadcastStatusLiveBroadcastPriority
24352517 -- ^ @low@
24362518 | Normal
24372519 -- ^ @normal@
2438− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2520+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
24392521
24402522instance Hashable LiveBroadcastStatusLiveBroadcastPriority
24412523
@@ -2470,7 +2552,7 @@ data LiveStreamHealthStatusStatus
24702552 -- ^ @ok@
24712553 | Revoked
24722554 -- ^ @revoked@
2473− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2555+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
24742556
24752557instance Hashable LiveStreamHealthStatusStatus
24762558
@@ -2506,7 +2588,7 @@ data VideoRatingRating
25062588 -- ^ @none@
25072589 | VRRUnspecified
25082590 -- ^ @unspecified@
2509− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2591+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
25102592
25112593instance Hashable VideoRatingRating
25122594
@@ -2546,7 +2628,7 @@ data VideoSuggestionsProcessingWarningsItem
25462628 -- ^ @unknownContainer@
25472629 | UnknownVideoCodec
25482630 -- ^ @unknownVideoCodec@
2549− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2631+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
25502632
25512633instance Hashable VideoSuggestionsProcessingWarningsItem
25522634
@@ -2587,7 +2669,7 @@ data InvideoPositionCornerPosition
25872669 -- ^ @topLeft@
25882670 | TopRight
25892671 -- ^ @topRight@
2590− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2672+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
25912673
25922674instance Hashable InvideoPositionCornerPosition
25932675
@@ -2622,7 +2704,7 @@ data ChannelStatusLongUploadsStatus
26222704 -- ^ @eligible@
26232705 | LongUploadsUnspecified
26242706 -- ^ @longUploadsUnspecified@
2625− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2707+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
26262708
26272709instance Hashable ChannelStatusLongUploadsStatus
26282710
@@ -2666,7 +2748,7 @@ data ContentRatingCscfRating
26662748 -- ^ @cscfAl@
26672749 | CscfUnrated
26682750 -- ^ @cscfUnrated@
2669− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2751+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
26702752
26712753instance Hashable ContentRatingCscfRating
26722754
@@ -2707,7 +2789,7 @@ data LiveBroadcastStatusRecordingStatus
27072789 -- ^ @recorded@
27082790 | Recording
27092791 -- ^ @recording@
2710− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2792+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
27112793
27122794instance Hashable LiveBroadcastStatusRecordingStatus
27132795
@@ -2743,7 +2825,7 @@ data VideoFileDetailsVideoStreamRotation
27432825 -- ^ @other@
27442826 | VFDVSRUpsideDown
27452827 -- ^ @upsideDown@
2746− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2828+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
27472829
27482830instance Hashable VideoFileDetailsVideoStreamRotation
27492831
@@ -2787,7 +2869,7 @@ data ContentRatingRtcRating
27872869 -- ^ @rtcD@
27882870 | RtcUnrated
27892871 -- ^ @rtcUnrated@
2790− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2872+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
27912873
27922874instance Hashable ContentRatingRtcRating
27932875
@@ -2838,7 +2920,7 @@ data CommentThreadsListModerationStatus
28382920 -- Retrieve threads of published comments. This is the default value. A
28392921 -- comment thread can be included in the response if its top-level comment
28402922 -- has been published.
2841− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2923+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
28422924
28432925instance Hashable CommentThreadsListModerationStatus
28442926
@@ -2877,7 +2959,7 @@ data ContentRatingSmaisRating
28772959 -- ^ @smaisL@
28782960 | SmaisUnrated
28792961 -- ^ @smaisUnrated@
2880− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2962+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
28812963
28822964instance Hashable ContentRatingSmaisRating
28832965
@@ -2912,7 +2994,7 @@ instance ToJSON ContentRatingSmaisRating where
29122994data ContentRatingYtRating
29132995 = YtAgeRestricted
29142996 -- ^ @ytAgeRestricted@
2915− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
2997+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
29162998
29172999instance Hashable ContentRatingYtRating
29183000
@@ -2937,7 +3019,7 @@ data VideoContentDetailsCaption
29373019 -- ^ @false@
29383020 | True'
29393021 -- ^ @true@
2940− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3022+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
29413023
29423024instance Hashable VideoContentDetailsCaption
29433025
@@ -2970,7 +3052,7 @@ data SubscriptionsListOrder
29703052 | SLOUnread
29713053 -- ^ @unread@
29723054 -- Sort by order of activity.
2973− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3055+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
29743056
29753057instance Hashable SubscriptionsListOrder
29763058
@@ -3011,7 +3093,7 @@ data ContentRatingBbfcRating
30113093 -- ^ @bbfcU@
30123094 | BbfcUnrated
30133095 -- ^ @bbfcUnrated@
3014− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3096+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
30153097
30163098instance Hashable ContentRatingBbfcRating
30173099
@@ -3062,7 +3144,7 @@ data ContentRatingTvpgRating
30623144 -- ^ @tvpgY7@
30633145 | TvpgY7Fv
30643146 -- ^ @tvpgY7Fv@
3065− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3147+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
30663148
30673149instance Hashable ContentRatingTvpgRating
30683150
@@ -3104,7 +3186,7 @@ data CommentsListTextFormat
31043186 | PlainText
31053187 -- ^ @plainText@
31063188 -- Returns the comments in plain text format.
3107− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3189+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
31083190
31093191instance Hashable CommentsListTextFormat
31103192
@@ -3137,7 +3219,7 @@ data VideosRateRating
31373219 -- ^ @none@
31383220 -- Removes any rating that the authenticated user had previously set for
31393221 -- the video.
3140− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3222+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
31413223
31423224instance Hashable VideosRateRating
31433225
@@ -3160,6 +3242,33 @@ instance FromJSON VideosRateRating where
31603242instance ToJSON VideosRateRating where
31613243 toJSON = toJSONText
31623244
3245+-- | The projection format of this broadcast. This defaults to rectangular.
3246+data LiveBroadcastContentDetailsProjection
3247+ = LBCDP360
3248+ -- ^ @360@
3249+ | LBCDPRectangular
3250+ -- ^ @rectangular@
3251+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
3252+
3253+instance Hashable LiveBroadcastContentDetailsProjection
3254+
3255+instance FromHttpApiData LiveBroadcastContentDetailsProjection where
3256+ parseQueryParam = \case
3257+ "360" -> Right LBCDP360
3258+ "rectangular" -> Right LBCDPRectangular
3259+ x -> Left ("Unable to parse LiveBroadcastContentDetailsProjection from: " <> x)
3260+
3261+instance ToHttpApiData LiveBroadcastContentDetailsProjection where
3262+ toQueryParam = \case
3263+ LBCDP360 -> "360"
3264+ LBCDPRectangular -> "rectangular"
3265+
3266+instance FromJSON LiveBroadcastContentDetailsProjection where
3267+ parseJSON = parseJSONText "LiveBroadcastContentDetailsProjection"
3268+
3269+instance ToJSON LiveBroadcastContentDetailsProjection where
3270+ toJSON = toJSONText
3271+
31633272-- | The caption track\'s status.
31643273data CaptionSnippetStatus
31653274 = Failed
@@ -3168,7 +3277,7 @@ data CaptionSnippetStatus
31683277 -- ^ @serving@
31693278 | Syncing
31703279 -- ^ @syncing@
3171− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3280+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
31723281
31733282instance Hashable CaptionSnippetStatus
31743283
@@ -3203,7 +3312,7 @@ data ContentRatingSkfilmRating
32033312 -- ^ @skfilmP8@
32043313 | SkfilmUnrated
32053314 -- ^ @skfilmUnrated@
3206− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3315+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
32073316
32083317instance Hashable ContentRatingSkfilmRating
32093318
@@ -3266,7 +3375,7 @@ data ChannelSectionSnippetType
32663375 -- ^ @subscriptions@
32673376 | UpcomingEvents
32683377 -- ^ @upcomingEvents@
3269− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3378+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
32703379
32713380instance Hashable ChannelSectionSnippetType
32723381
@@ -3330,7 +3439,7 @@ data LiveBroadcastsListBroadcastType
33303439 | Persistent
33313440 -- ^ @persistent@
33323441 -- Return only persistent broadcasts.
3333− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3442+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
33343443
33353444instance Hashable LiveBroadcastsListBroadcastType
33363445
@@ -3364,7 +3473,7 @@ data VideoProcessingDetailsProcessingStatus
33643473 -- ^ @succeeded@
33653474 | VPDPSTerminated
33663475 -- ^ @terminated@
3367− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3476+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
33683477
33693478instance Hashable VideoProcessingDetailsProcessingStatus
33703479
@@ -3396,7 +3505,7 @@ data ActivityContentDetailsPromotedItemCtaType
33963505 -- ^ @unspecified@
33973506 | VisitAdvertiserSite
33983507 -- ^ @visitAdvertiserSite@
3399− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3508+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
34003509
34013510instance Hashable ActivityContentDetailsPromotedItemCtaType
34023511
@@ -3426,7 +3535,7 @@ data SearchListChannelType
34263535 | SLCTShow
34273536 -- ^ @show@
34283537 -- Only retrieve shows.
3429− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3538+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
34303539
34313540instance Hashable SearchListChannelType
34323541
@@ -3462,7 +3571,7 @@ data ContentRatingKmrbRating
34623571 -- ^ @kmrbTeenr@
34633572 | KmrbUnrated
34643573 -- ^ @kmrbUnrated@
3465− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3574+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
34663575
34673576instance Hashable ContentRatingKmrbRating
34683577
@@ -3514,7 +3623,7 @@ data ContentRatingOflcRating
35143623 -- ^ @oflcRp16@
35153624 | OflcUnrated
35163625 -- ^ @oflcUnrated@
3517− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3626+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
35183627
35193628instance Hashable ContentRatingOflcRating
35203629
@@ -3567,7 +3676,7 @@ data ContentRatingCNCRating
35673676 -- ^ @cncT@
35683677 | CNCUnrated
35693678 -- ^ @cncUnrated@
3570− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3679+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
35713680
35723681instance Hashable ContentRatingCNCRating
35733682
@@ -3619,7 +3728,7 @@ data ContentRatingEcbmctRating
36193728 -- ^ @ecbmctG@
36203729 | EcbmctUnrated
36213730 -- ^ @ecbmctUnrated@
3622− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3731+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
36233732
36243733instance Hashable ContentRatingEcbmctRating
36253734
@@ -3654,6 +3763,33 @@ instance FromJSON ContentRatingEcbmctRating where
36543763instance ToJSON ContentRatingEcbmctRating where
36553764 toJSON = toJSONText
36563765
3766+-- | Specifies the projection format of the video.
3767+data VideoContentDetailsProjection
3768+ = VCDP360
3769+ -- ^ @360@
3770+ | VCDPRectangular
3771+ -- ^ @rectangular@
3772+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
3773+
3774+instance Hashable VideoContentDetailsProjection
3775+
3776+instance FromHttpApiData VideoContentDetailsProjection where
3777+ parseQueryParam = \case
3778+ "360" -> Right VCDP360
3779+ "rectangular" -> Right VCDPRectangular
3780+ x -> Left ("Unable to parse VideoContentDetailsProjection from: " <> x)
3781+
3782+instance ToHttpApiData VideoContentDetailsProjection where
3783+ toQueryParam = \case
3784+ VCDP360 -> "360"
3785+ VCDPRectangular -> "rectangular"
3786+
3787+instance FromJSON VideoContentDetailsProjection where
3788+ parseJSON = parseJSONText "VideoContentDetailsProjection"
3789+
3790+instance ToJSON VideoContentDetailsProjection where
3791+ toJSON = toJSONText
3792+
36573793-- | The video\'s rating in Greece.
36583794data ContentRatingGrfilmRating
36593795 = GrfilmE
@@ -3666,7 +3802,7 @@ data ContentRatingGrfilmRating
36663802 -- ^ @grfilmK17@
36673803 | GrfilmUnrated
36683804 -- ^ @grfilmUnrated@
3669− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3805+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
36703806
36713807instance Hashable ContentRatingGrfilmRating
36723808
@@ -3705,7 +3841,7 @@ data CommentThreadsListOrder
37053841 | CTLOTime
37063842 -- ^ @time@
37073843 -- Order by time.
3708− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3844+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
37093845
37103846instance Hashable CommentThreadsListOrder
37113847
@@ -3738,7 +3874,7 @@ data ContentRatingIlfilmRating
37383874 -- ^ @ilfilmAa@
37393875 | IlfilmUnrated
37403876 -- ^ @ilfilmUnrated@
3741− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3877+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
37423878
37433879instance Hashable ContentRatingIlfilmRating
37443880
@@ -3779,7 +3915,7 @@ data ContentRatingNbcplRating
37793915 -- ^ @nbcplIv@
37803916 | NbcplUnrated
37813917 -- ^ @nbcplUnrated@
3782− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3918+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
37833919
37843920instance Hashable ContentRatingNbcplRating
37853921
@@ -3820,7 +3956,7 @@ data VideoStatusUploadStatus
38203956 -- ^ @rejected@
38213957 | VSUSUploaded
38223958 -- ^ @uploaded@
3823− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3959+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
38243960
38253961instance Hashable VideoStatusUploadStatus
38263962
@@ -3859,7 +3995,7 @@ data ContentRatingRteRating
38593995 -- ^ @rtePs@
38603996 | RteUnrated
38613997 -- ^ @rteUnrated@
3862− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
3998+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
38633999
38644000instance Hashable ContentRatingRteRating
38654001
@@ -3895,7 +4031,7 @@ data CommentThreadsListTextFormat
38954031 | CTLTFPlainText
38964032 -- ^ @plainText@
38974033 -- Returns the comments in plain text format.
3898− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4034+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
38994035
39004036instance Hashable CommentThreadsListTextFormat
39014037
@@ -3937,7 +4073,7 @@ data ContentRatingIfcoRating
39374073 -- ^ @ifcoPg@
39384074 | IfcoUnrated
39394075 -- ^ @ifcoUnrated@
3940− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4076+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
39414077
39424078instance Hashable ContentRatingIfcoRating
39434079
@@ -3989,7 +4125,7 @@ data CommentsSetModerationStatusModerationStatus
39894125 -- comment if you still know its ID. If you were to change the moderation
39904126 -- status of a rejected comment, the comment replies would subsequently be
39914127 -- discoverable again as well.
3992− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4128+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
39934129
39944130instance Hashable CommentsSetModerationStatusModerationStatus
39954131
@@ -4022,7 +4158,7 @@ data ActivityContentDetailsSocialType
40224158 -- ^ @twitter@
40234159 | ACDSTUnspecified
40244160 -- ^ @unspecified@
4025− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4161+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
40264162
40274163instance Hashable ActivityContentDetailsSocialType
40284164
@@ -4067,7 +4203,7 @@ data ContentRatingMedietilsynetRating
40674203 -- ^ @medietilsynetA@
40684204 | MedietilsynetUnrated
40694205 -- ^ @medietilsynetUnrated@
4070− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4206+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
40714207
40724208instance Hashable ContentRatingMedietilsynetRating
40734209
@@ -4110,7 +4246,7 @@ data PlayListItemStatusPrivacyStatus
41104246 -- ^ @public@
41114247 | PLISPSUnListed
41124248 -- ^ @unlisted@
4113− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4249+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
41144250
41154251instance Hashable PlayListItemStatusPrivacyStatus
41164252
@@ -4140,7 +4276,7 @@ data SubscriptionContentDetailsActivityType
41404276 -- ^ @all@
41414277 | SCDATUploads
41424278 -- ^ @uploads@
4143− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4279+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
41444280
41454281instance Hashable SubscriptionContentDetailsActivityType
41464282
@@ -4185,7 +4321,7 @@ data ContentRatingFpbRating
41854321 -- ^ @fpbX18@
41864322 | FpbXx
41874323 -- ^ @fpbXx@
4188− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4324+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
41894325
41904326instance Hashable ContentRatingFpbRating
41914327
@@ -4231,7 +4367,7 @@ data LiveBroadcastContentDetailsClosedCaptionsType
42314367 -- ^ @closedCaptionsEmbedded@
42324368 | ClosedCaptionsHTTPPost
42334369 -- ^ @closedCaptionsHttpPost@
4234− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4370+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
42354371
42364372instance Hashable LiveBroadcastContentDetailsClosedCaptionsType
42374373
@@ -4268,7 +4404,7 @@ data SearchListVideoDimension
42684404 -- ^ @any@
42694405 -- Include both 3D and non-3D videos in returned results. This is the
42704406 -- default value.
4271− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4407+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
42724408
42734409instance Hashable SearchListVideoDimension
42744410
@@ -4304,7 +4440,7 @@ data ContentRatingNkclvRating
43044440 -- ^ @nkclvU@
43054441 | NkclvUnrated
43064442 -- ^ @nkclvUnrated@
4307− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4443+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
43084444
43094445instance Hashable ContentRatingNkclvRating
43104446
@@ -4339,7 +4475,7 @@ data SponsorsListFilter
43394475 | SLFNewest
43404476 -- ^ @newest@
43414477 -- Return the most recent sponsors, from newest to oldest.
4342− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4478+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
43434479
43444480instance Hashable SponsorsListFilter
43454481
@@ -4373,7 +4509,7 @@ data SearchListVideoType
43734509 | SLVTMovie
43744510 -- ^ @movie@
43754511 -- Only retrieve movies.
4376− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4512+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
43774513
43784514instance Hashable SearchListVideoType
43794515
@@ -4411,7 +4547,7 @@ data ContentRatingMibacRating
44114547 -- ^ @mibacVm14@
44124548 | MIBACVM18
44134549 -- ^ @mibacVm18@
4414− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4550+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
44154551
44164552instance Hashable ContentRatingMibacRating
44174553
@@ -4454,7 +4590,7 @@ data ContentRatingResorteviolenciaRating
44544590 -- ^ @resorteviolenciaE@
44554591 | ResorteviolenciaUnrated
44564592 -- ^ @resorteviolenciaUnrated@
4457− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4593+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
44584594
44594595instance Hashable ContentRatingResorteviolenciaRating
44604596
@@ -4493,7 +4629,7 @@ data ContentRatingEgfilmRating
44934629 -- ^ @egfilmGn@
44944630 | EgfilmUnrated
44954631 -- ^ @egfilmUnrated@
4496− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4632+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
44974633
44984634instance Hashable ContentRatingEgfilmRating
44994635
@@ -4531,7 +4667,7 @@ data ContentRatingMccypRating
45314667 -- ^ @mccypA@
45324668 | MccypUnrated
45334669 -- ^ @mccypUnrated@
4534− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4670+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
45354671
45364672instance Hashable ContentRatingMccypRating
45374673
@@ -4566,7 +4702,7 @@ data PlayListStatusPrivacyStatus
45664702 -- ^ @public@
45674703 | PLSPSUnListed
45684704 -- ^ @unlisted@
4569− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4705+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
45704706
45714707instance Hashable PlayListStatusPrivacyStatus
45724708
@@ -4606,7 +4742,7 @@ data ContentRatingCsaRating
46064742 -- ^ @csaT@
46074743 | CsaUnrated
46084744 -- ^ @csaUnrated@
4609− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4745+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
46104746
46114747instance Hashable ContentRatingCsaRating
46124748
@@ -4645,7 +4781,7 @@ data ChannelSectionSnippetStyle
46454781 -- ^ @horizontalRow@
46464782 | VerticalList
46474783 -- ^ @verticalList@
4648− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4784+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
46494785
46504786instance Hashable ChannelSectionSnippetStyle
46514787
@@ -4680,7 +4816,7 @@ data ContentRatingEirinRating
46804816 -- ^ @eirinR18plus@
46814817 | EirinUnrated
46824818 -- ^ @eirinUnrated@
4683− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4819+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
46844820
46854821instance Hashable ContentRatingEirinRating
46864822
@@ -4712,7 +4848,7 @@ data VideoSuggestionsProcessingHintsItem
47124848 -- ^ @nonStreamableMov@
47134849 | SendBestQualityVideo
47144850 -- ^ @sendBestQualityVideo@
4715− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4851+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
47164852
47174853instance Hashable VideoSuggestionsProcessingHintsItem
47184854
@@ -4747,7 +4883,7 @@ data ContentRatingNfrcRating
47474883 -- ^ @nfrcUnrated@
47484884 | NfrcX
47494885 -- ^ @nfrcX@
4750− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4886+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
47514887
47524888instance Hashable ContentRatingNfrcRating
47534889
@@ -4800,7 +4936,7 @@ data ActivitySnippetType
48004936 -- ^ @subscription@
48014937 | ASTUpload
48024938 -- ^ @upload@
4803− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4939+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
48044940
48054941instance Hashable ActivitySnippetType
48064942
@@ -4859,7 +4995,7 @@ data ContentRatingMocRating
48594995 -- ^ @mocUnrated@
48604996 | MocX
48614997 -- ^ @mocX@
4862− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
4998+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
48634999
48645000instance Hashable ContentRatingMocRating
48655001
@@ -4904,7 +5040,7 @@ data SearchListVideoEmbeddable
49045040 | SLVETrue'
49055041 -- ^ @true@
49065042 -- Only retrieve embeddable videos.
4907− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5043+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
49085044
49095045instance Hashable SearchListVideoEmbeddable
49105046
@@ -4938,7 +5074,7 @@ data SearchListEventType
49385074 | SLETUpcoming
49395075 -- ^ @upcoming@
49405076 -- Only include upcoming broadcasts.
4941− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5077+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
49425078
49435079instance Hashable SearchListEventType
49445080
@@ -4971,7 +5107,7 @@ data ActivityContentDetailsRecommendationReason
49715107 -- ^ @videoLiked@
49725108 | ACDRRVideoWatched
49735109 -- ^ @videoWatched@
4974− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5110+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
49755111
49765112instance Hashable ActivityContentDetailsRecommendationReason
49775113
@@ -5012,7 +5148,7 @@ data ContentRatingKijkwijzerRating
50125148 -- ^ @kijkwijzerAl@
50135149 | KijkwijzerUnrated
50145150 -- ^ @kijkwijzerUnrated@
5015− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5151+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
50165152
50175153instance Hashable ContentRatingKijkwijzerRating
50185154
@@ -5056,7 +5192,7 @@ data VideoSuggestionsProcessingErrorsItem
50565192 -- ^ @notAVideoFile@
50575193 | ProjectFile
50585194 -- ^ @projectFile@
5059− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5195+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
50605196
50615197instance Hashable VideoSuggestionsProcessingErrorsItem
50625198
@@ -5103,7 +5239,7 @@ data VideoFileDetailsFileType
51035239 -- ^ @project@
51045240 | VFDFTVideo
51055241 -- ^ @video@
5106− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5242+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
51075243
51085244instance Hashable VideoFileDetailsFileType
51095245
@@ -5151,7 +5287,7 @@ data ContentRatingMtrcbRating
51515287 -- ^ @mtrcbUnrated@
51525288 | MtrcbX
51535289 -- ^ @mtrcbX@
5154− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5290+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
51555291
51565292instance Hashable ContentRatingMtrcbRating
51575293
@@ -5197,7 +5333,7 @@ data ContentRatingFcoRating
51975333 -- ^ @fcoIii@
51985334 | FcoUnrated
51995335 -- ^ @fcoUnrated@
5200− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5336+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
52015337
52025338instance Hashable ContentRatingFcoRating
52035339
@@ -5226,6 +5362,33 @@ instance FromJSON ContentRatingFcoRating where
52265362instance ToJSON ContentRatingFcoRating where
52275363 toJSON = toJSONText
52285364
5365+-- | The frame rate of the inbound video data.
5366+data CdnSettingsFrameRate
5367+ = CSFR30fps
5368+ -- ^ @30fps@
5369+ | CSFR60fps
5370+ -- ^ @60fps@
5371+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
5372+
5373+instance Hashable CdnSettingsFrameRate
5374+
5375+instance FromHttpApiData CdnSettingsFrameRate where
5376+ parseQueryParam = \case
5377+ "30fps" -> Right CSFR30fps
5378+ "60fps" -> Right CSFR60fps
5379+ x -> Left ("Unable to parse CdnSettingsFrameRate from: " <> x)
5380+
5381+instance ToHttpApiData CdnSettingsFrameRate where
5382+ toQueryParam = \case
5383+ CSFR30fps -> "30fps"
5384+ CSFR60fps -> "60fps"
5385+
5386+instance FromJSON CdnSettingsFrameRate where
5387+ parseJSON = parseJSONText "CdnSettingsFrameRate"
5388+
5389+instance ToJSON CdnSettingsFrameRate where
5390+ toJSON = toJSONText
5391+
52295392-- | The kind of error happening.
52305393data LiveStreamConfigurationIssueType
52315394 = AudioBitrateHigh
@@ -5294,7 +5457,7 @@ data LiveStreamConfigurationIssueType
52945457 -- ^ @videoResolutionSuboptimal@
52955458 | VideoResolutionUnsupported
52965459 -- ^ @videoResolutionUnsupported@
5297− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5460+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
52985461
52995462instance Hashable LiveStreamConfigurationIssueType
53005463
@@ -5394,7 +5557,7 @@ data SearchListSafeSearch
53945557 -- YouTube will try to exclude all restricted content from the search
53955558 -- result set. Based on their content, search results could be removed from
53965559 -- search results or demoted in search results.
5397− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5560+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
53985561
53995562instance Hashable SearchListSafeSearch
54005563
@@ -5428,7 +5591,7 @@ data SearchListVideoSyndicated
54285591 | SLVSTrue'
54295592 -- ^ @true@
54305593 -- Only retrieve syndicated videos.
5431− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5594+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
54325595
54335596instance Hashable SearchListVideoSyndicated
54345597
@@ -5474,7 +5637,7 @@ data ContentRatingDjctqRatingReasonsItem
54745637 -- ^ @djctqSexualContent@
54755638 | DjctqViolence
54765639 -- ^ @djctqViolence@
5477− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5640+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
54785641
54795642instance Hashable ContentRatingDjctqRatingReasonsItem
54805643
@@ -5521,7 +5684,7 @@ data CdnSettingsIngestionType
55215684 -- ^ @dash@
55225685 | Rtmp
55235686 -- ^ @rtmp@
5524− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5687+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
55255688
55265689instance Hashable CdnSettingsIngestionType
55275690
@@ -5551,7 +5714,7 @@ data InvideoTimingType
55515714 -- ^ @offsetFromEnd@
55525715 | OffSetFromStart
55535716 -- ^ @offsetFromStart@
5554− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5717+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
55555718
55565719instance Hashable InvideoTimingType
55575720
@@ -5583,7 +5746,7 @@ data ContentRatingAgcomRating
55835746 -- ^ @agcomVm14@
55845747 | AGCOMVM18
55855748 -- ^ @agcomVm18@
5586− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5749+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
55875750
55885751instance Hashable ContentRatingAgcomRating
55895752
@@ -5619,7 +5782,7 @@ data CommentSnippetModerationStatus
56195782 -- ^ @published@
56205783 | CSMSRejected
56215784 -- ^ @rejected@
5622− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5785+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
56235786
56245787instance Hashable CommentSnippetModerationStatus
56255788
@@ -5661,7 +5824,7 @@ data SearchListVideoLicense
56615824 | SLVLYouTube
56625825 -- ^ @youtube@
56635826 -- Only return videos that have the standard YouTube license.
5664− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5827+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
56655828
56665829instance Hashable SearchListVideoLicense
56675830
@@ -5691,6 +5854,10 @@ data LiveChatMessageSnippetType
56915854 -- ^ @chatEndedEvent@
56925855 | LCMSTFanFundingEvent
56935856 -- ^ @fanFundingEvent@
5857+ | LCMSTMessageDeletedEvent
5858+ -- ^ @messageDeletedEvent@
5859+ | LCMSTMessageRetractedEvent
5860+ -- ^ @messageRetractedEvent@
56945861 | LCMSTNewSponsorEvent
56955862 -- ^ @newSponsorEvent@
56965863 | LCMSTSponsorOnlyModeEndedEvent
@@ -5701,7 +5868,9 @@ data LiveChatMessageSnippetType
57015868 -- ^ @textMessageEvent@
57025869 | LCMSTTombstone
57035870 -- ^ @tombstone@
5704− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5871+ | LCMSTUserBannedEvent
5872+ -- ^ @userBannedEvent@
5873+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
57055874
57065875instance Hashable LiveChatMessageSnippetType
57075876
@@ -5709,22 +5878,28 @@ instance FromHttpApiData LiveChatMessageSnippetType where
57095878 parseQueryParam = \case
57105879 "chatEndedEvent" -> Right LCMSTChatEndedEvent
57115880 "fanFundingEvent" -> Right LCMSTFanFundingEvent
5881+ "messageDeletedEvent" -> Right LCMSTMessageDeletedEvent
5882+ "messageRetractedEvent" -> Right LCMSTMessageRetractedEvent
57125883 "newSponsorEvent" -> Right LCMSTNewSponsorEvent
57135884 "sponsorOnlyModeEndedEvent" -> Right LCMSTSponsorOnlyModeEndedEvent
57145885 "sponsorOnlyModeStartedEvent" -> Right LCMSTSponsorOnlyModeStartedEvent
57155886 "textMessageEvent" -> Right LCMSTTextMessageEvent
57165887 "tombstone" -> Right LCMSTTombstone
5888+ "userBannedEvent" -> Right LCMSTUserBannedEvent
57175889 x -> Left ("Unable to parse LiveChatMessageSnippetType from: " <> x)
57185890
57195891instance ToHttpApiData LiveChatMessageSnippetType where
57205892 toQueryParam = \case
57215893 LCMSTChatEndedEvent -> "chatEndedEvent"
57225894 LCMSTFanFundingEvent -> "fanFundingEvent"
5895+ LCMSTMessageDeletedEvent -> "messageDeletedEvent"
5896+ LCMSTMessageRetractedEvent -> "messageRetractedEvent"
57235897 LCMSTNewSponsorEvent -> "newSponsorEvent"
57245898 LCMSTSponsorOnlyModeEndedEvent -> "sponsorOnlyModeEndedEvent"
57255899 LCMSTSponsorOnlyModeStartedEvent -> "sponsorOnlyModeStartedEvent"
57265900 LCMSTTextMessageEvent -> "textMessageEvent"
57275901 LCMSTTombstone -> "tombstone"
5902+ LCMSTUserBannedEvent -> "userBannedEvent"
57285903
57295904instance FromJSON LiveChatMessageSnippetType where
57305905 parseJSON = parseJSONText "LiveChatMessageSnippetType"
@@ -5743,7 +5918,7 @@ data LiveStreamStatusStreamStatus
57435918 -- ^ @inactive@
57445919 | LSSSSReady
57455920 -- ^ @ready@
5746− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5921+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
57475922
57485923instance Hashable LiveStreamStatusStreamStatus
57495924
@@ -5776,7 +5951,7 @@ data VideoStatusLicense
57765951 -- ^ @creativeCommon@
57775952 | YouTube
57785953 -- ^ @youtube@
5779− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5954+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
57805955
57815956instance Hashable VideoStatusLicense
57825957
@@ -5816,7 +5991,7 @@ data ContentRatingNfvcbRating
58165991 -- ^ @nfvcbRe@
58175992 | NfvcbUnrated
58185993 -- ^ @nfvcbUnrated@
5819− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
5994+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
58205995
58215996instance Hashable ContentRatingNfvcbRating
58225997
@@ -5866,7 +6041,7 @@ data ContentRatingMdaRating
58666041 -- ^ @mdaR21@
58676042 | MdaUnrated
58686043 -- ^ @mdaUnrated@
5869− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
6044+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
58706045
58716046instance Hashable ContentRatingMdaRating
58726047
@@ -5919,7 +6094,7 @@ data ContentRatingAcbRating
59196094 -- ^ @acbR18plus@
59206095 | AcbUnrated
59216096 -- ^ @acbUnrated@
5922− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
6097+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
59236098
59246099instance Hashable ContentRatingAcbRating
59256100
@@ -5971,7 +6146,7 @@ data ContentRatingDjctqRating
59716146 -- ^ @djctqL@
59726147 | DjctqUnrated
59736148 -- ^ @djctqUnrated@
5974− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
6149+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
59756150
59766151instance Hashable ContentRatingDjctqRating
59776152
@@ -6017,7 +6192,7 @@ data VideoStatusFailureReason
60176192 -- ^ @tooSmall@
60186193 | UploadAborted
60196194 -- ^ @uploadAborted@
6020− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
6195+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
60216196
60226197instance Hashable VideoStatusFailureReason
60236198
@@ -6066,7 +6241,7 @@ data ContentRatingCatvRating
60666241 -- ^ @catvPg@
60676242 | CatvUnrated
60686243 -- ^ @catvUnrated@
6069− deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
6244+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
60706245
60716246instance Hashable ContentRatingCatvRating
60726247