VideoAbuseReportReason
popyt / Library Exports / VideoAbuseReportReason
Class: VideoAbuseReportReason
Defined in: entities/video-abuse-report-reason.ts:7
A YouTube Video abuse report reason.
Constructors
Constructor
new VideoAbuseReportReason(
youtube,data,full?):VideoAbuseReportReason
Defined in: entities/video-abuse-report-reason.ts:53
Parameters
youtube
data
Schema$VideoAbuseReportReason
full?
boolean = true
Returns
VideoAbuseReportReason
Properties
data
data:
any
Defined in: entities/video-abuse-report-reason.ts:36
The raw data of this reason.
full
full:
boolean=true
Defined in: entities/video-abuse-report-reason.ts:31
Whether or not this is a full reason object.
id
id:
string
Defined in: entities/video-abuse-report-reason.ts:41
The ID of this reason.
label
label:
string
Defined in: entities/video-abuse-report-reason.ts:46
The label text of this reason.
secondaryReasons
secondaryReasons:
object[]
Defined in: entities/video-abuse-report-reason.ts:51
A list of secondary reasons associated with the reason, if any are available.
id?
optionalid?:string
label?
optionallabel?:string
youtube
youtube:
YouTube
Defined in: entities/video-abuse-report-reason.ts:26
The YouTube object that created this reason object.
endpoint
staticendpoint:string='videoAbuseReportReasons'
Defined in: entities/video-abuse-report-reason.ts:11
The name of the endpoint used for this entity.
fields
staticfields:string='items(kind,id,snippet(label,secondaryReasons))'
Defined in: entities/video-abuse-report-reason.ts:21
The fields to request for this entity.
part
staticpart:string='snippet'
Defined in: entities/video-abuse-report-reason.ts:16
The parts to request for this entity.