google_youtube_api_v3/youtube/abuse
Types
pub type AbuseReport {
AbuseReport(
abuse_types: option.Option(List(AbuseType)),
description: option.Option(String),
related_entities: option.Option(List(RelatedEntity)),
subject: option.Option(Entity),
)
}
Constructors
-
AbuseReport( abuse_types: option.Option(List(AbuseType)), description: option.Option(String), related_entities: option.Option(List(RelatedEntity)), subject: option.Option(Entity), )
pub type AbuseType {
AbuseType(id: option.Option(String))
}
Constructors
-
AbuseType(id: option.Option(String))
pub type Entity {
Entity(
id: option.Option(String),
type_id: option.Option(String),
url: option.Option(String),
)
}
Constructors
-
Entity( id: option.Option(String), type_id: option.Option(String), url: option.Option(String), )
pub type RelatedEntity {
RelatedEntity(entity: option.Option(Entity))
}
Constructors
-
RelatedEntity(entity: option.Option(Entity))
Values
pub fn abuse_report_decoder() -> decode.Decoder(AbuseReport)
pub fn abuse_report_to_json(value: AbuseReport) -> json.Json
pub fn abuse_type_decoder() -> decode.Decoder(AbuseType)
pub fn entity_decoder() -> decode.Decoder(Entity)
pub fn related_entity_decoder() -> decode.Decoder(RelatedEntity)
pub fn related_entity_to_json(value: RelatedEntity) -> json.Json