public final class VideoAbuseReportReasonSnippet
extends com.google.api.client.json.GenericJson
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. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VideoAbuseReportReasonSnippet() |
Modifier and Type | Method and Description |
---|---|
VideoAbuseReportReasonSnippet |
clone() |
java.lang.String |
getLabel()
The localized label belonging to this abuse report reason.
|
java.util.List<VideoAbuseReportSecondaryReason> |
getSecondaryReasons()
The secondary reasons associated with this reason, if any are available.
|
VideoAbuseReportReasonSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoAbuseReportReasonSnippet |
setLabel(java.lang.String label)
The localized label belonging to this abuse report reason.
|
VideoAbuseReportReasonSnippet |
setSecondaryReasons(java.util.List<VideoAbuseReportSecondaryReason> secondaryReasons)
The secondary reasons associated with this reason, if any are available.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getLabel()
null
for nonepublic VideoAbuseReportReasonSnippet setLabel(java.lang.String label)
label
- label or null
for nonepublic java.util.List<VideoAbuseReportSecondaryReason> getSecondaryReasons()
null
for nonepublic VideoAbuseReportReasonSnippet setSecondaryReasons(java.util.List<VideoAbuseReportSecondaryReason> secondaryReasons)
secondaryReasons
- secondaryReasons or null
for nonepublic VideoAbuseReportReasonSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoAbuseReportReasonSnippet clone()
clone
in class com.google.api.client.json.GenericJson