PlaylistPart enum

The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include.

string

If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, and timeCreated. As such, if you set part=snippet, the API response will contain all of those properties.

The following list contains the part names that you can include in the parameter value:

  • contentDetails
  • id
  • localizations
  • player
  • snippet
  • status
Inheritance
Available extensions

Values

contentDetails → const PlaylistPart
id → const PlaylistPart
localizations → const PlaylistPart
player → const PlaylistPart
snippet → const PlaylistPart
status → const PlaylistPart

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

implementedParts → const Set<PlaylistPart>
values → const List<PlaylistPart>
A constant List of the values in this enum, in order of their declaration.