target.apidocs.com.google.api.services.youtube.model.VideoAbuseReport.html Maven / Gradle / Ivy
VideoAbuseReport (YouTube Data API v3 v3-rev20240303-2.0.0)
com.google.api.services.youtube.model
Class VideoAbuseReport
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.VideoAbuseReport
-
public final class VideoAbuseReport
extends com.google.api.client.json.GenericJson
Model definition for VideoAbuseReport.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
VideoAbuseReport()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VideoAbuseReport
clone()
String
getComments()
Additional comments regarding the abuse report.
String
getLanguage()
The language that the content was viewed in.
String
getReasonId()
The high-level, or primary, reason that the content is abusive.
String
getSecondaryReasonId()
The specific, or secondary, reason that this content is abusive (if available).
String
getVideoId()
The ID that YouTube uses to uniquely identify the video.
VideoAbuseReport
set(String fieldName,
Object value)
VideoAbuseReport
setComments(String comments)
Additional comments regarding the abuse report.
VideoAbuseReport
setLanguage(String language)
The language that the content was viewed in.
VideoAbuseReport
setReasonId(String reasonId)
The high-level, or primary, reason that the content is abusive.
VideoAbuseReport
setSecondaryReasonId(String secondaryReasonId)
The specific, or secondary, reason that this content is abusive (if available).
VideoAbuseReport
setVideoId(String videoId)
The ID that YouTube uses to uniquely identify the video.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getComments
public String getComments()
Additional comments regarding the abuse report.
- Returns:
- value or
null
for none
-
setComments
public VideoAbuseReport setComments(String comments)
Additional comments regarding the abuse report.
- Parameters:
comments
- comments or null
for none
-
getLanguage
public String getLanguage()
The language that the content was viewed in.
- Returns:
- value or
null
for none
-
setLanguage
public VideoAbuseReport setLanguage(String language)
The language that the content was viewed in.
- Parameters:
language
- language or null
for none
-
getReasonId
public String getReasonId()
The high-level, or primary, reason that the content is abusive. The value is an abuse report
reason ID.
- Returns:
- value or
null
for none
-
setReasonId
public VideoAbuseReport setReasonId(String reasonId)
The high-level, or primary, reason that the content is abusive. The value is an abuse report
reason ID.
- Parameters:
reasonId
- reasonId or null
for none
-
getSecondaryReasonId
public String getSecondaryReasonId()
The specific, or secondary, reason that this content is abusive (if available). The value is an
abuse report reason ID that is a valid secondary reason for the primary reason.
- Returns:
- value or
null
for none
-
setSecondaryReasonId
public VideoAbuseReport setSecondaryReasonId(String secondaryReasonId)
The specific, or secondary, reason that this content is abusive (if available). The value is an
abuse report reason ID that is a valid secondary reason for the primary reason.
- Parameters:
secondaryReasonId
- secondaryReasonId or null
for none
-
getVideoId
public String getVideoId()
The ID that YouTube uses to uniquely identify the video.
- Returns:
- value or
null
for none
-
setVideoId
public VideoAbuseReport setVideoId(String videoId)
The ID that YouTube uses to uniquely identify the video.
- Parameters:
videoId
- videoId or null
for none
-
set
public VideoAbuseReport set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public VideoAbuseReport clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.