GoogleApi.YouTube.V3.Model.VideoAbuseReportReason (google_api_you_tube v0.54.0)

View Source

A __videoAbuseReportReason__ resource identifies a reason that a video could be reported as abusive. Video abuse report reasons are used with video.ReportAbuse.

Attributes

  • etag (type: String.t, default: nil) - Etag of this resource.
  • id (type: String.t, default: nil) - The ID of this abuse report reason.
  • kind (type: String.t, default: youtube#videoAbuseReportReason) - Identifies what kind of resource this is. Value: the fixed string "youtube#videoAbuseReportReason".
  • snippet (type: GoogleApi.YouTube.V3.Model.VideoAbuseReportReasonSnippet.t, default: nil) - The snippet object contains basic details about the abuse report reason.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.VideoAbuseReportReason{
  etag: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  snippet: GoogleApi.YouTube.V3.Model.VideoAbuseReportReasonSnippet.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.